Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.4.0

Version Description

  • New: Post Timeline
  • Fix: Section - Spacing values update issue.
  • Fix: Restaurant Menu - Seperator alignement issue.
  • Fix: Restaurant Menu - Content padding issue.
  • Fix: Testimonial - Set slick dots color same as arrow color.
  • Fix: Info Box - Spacing issue below Info Box Description.
  • Improvement: Updated Font Awesome CSS to v5.6.0.
  • Improvement: Advanced Heading - Added seperator style option.
  • Improvement: Post Grid - Added hover color options for CTA button.
  • Improvement: Info Box - Added hover color options for CTA button.
  • Improvement: Info Box - Added before/after icon CTA button.
  • Deprecated: Content Timeline - Connector Hover properties removed.
Download this release

Release Info

Developer Nikschavan
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.0 to 1.4.0

assets/js/isotope.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,n=void 0===o?function(){}:function(t){o.error(t)};function s(o,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[o]=function(t){if("string"==typeof t){var e=i.call(arguments,1);return h=e,d="$()."+o+'("'+(u=t)+'")',(r=this).each(function(t,e){var i=a.data(e,o);if(i){var s=i[u];if(s&&"_"!=u.charAt(0)){var r=s.apply(i,h);l=void 0===l?r:l}else n(d+" is not a valid method")}else n(o+" not initialized. Cannot call methods, i.e. "+d)}),void 0!==l?l:r}var r,u,h,l,d,f;return f=t,this.each(function(t,e){var i=a.data(e,o);i?(i.option(f),i._init()):(i=new s(e,f),a.data(e,o,i))}),this},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function n(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var s,r=!1;function a(e){if(function(){if(!r){r=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),a.isBoxSizeOuter=s,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var u=n(e);if("none"==u.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}();var h={};h.width=e.offsetWidth,h.height=e.offsetHeight;for(var l=h.isBorderBox="border-box"==u.boxSizing,d=0;d<o;d++){var f=i[d],c=u[f],m=parseFloat(c);h[f]=isNaN(m)?0:m}var p=h.paddingLeft+h.paddingRight,y=h.paddingTop+h.paddingBottom,g=h.marginLeft+h.marginRight,v=h.marginTop+h.marginBottom,_=h.borderLeftWidth+h.borderRightWidth,z=h.borderTopWidth+h.borderBottomWidth,I=l&&s,x=t(u.width);!1!==x&&(h.width=x+(I?0:p+_));var S=t(u.height);return!1!==S&&(h.height=S+(I?0:y+z)),h.innerWidth=h.width-(p+_),h.innerHeight=h.height-(y+z),h.outerWidth=h.width+g,h.outerHeight=h.height+v,h}}return a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}else n.push(t)}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";var s=t.console,r=t.jQuery,a=function(){},u=0,h={};function l(t,e){var i=o.getQueryElement(t);if(i){this.element=i,r&&(this.$element=r(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,h[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(i||t))}l.namespace="outlayer",l.Item=n,l.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=l.prototype;function f(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}o.extend(d,e.prototype),d.option=function(t){o.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},l.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},d._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},d._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=a,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(t,e){var i=this;function o(){i.dispatchEvent(t+"Complete",null,[e])}var n=e.length;if(e&&n){var s=0;e.forEach(function(e){e.once(t,r)})}else o();function r(){++s==n&&o()}},d.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),r)if(this.$element=this.$element||r(this.element),e){var n=r.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=a,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},d.handleEvent=o.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},o.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},l.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},l.create=function(t,e){var i=f(l);return i.defaults=o.extend({},l.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},l.compatOptions),i.namespace=t,i.data=l.data,i.Item=f(n),o.htmlInit(i,t),r&&r.bridget&&r.bridget(t,i),i};var c={ms:1,s:1e3};return l.Item=n,l}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=(r=o&&o[1],a=i,r?function(t){return t.getAttribute(r)}:function(t){var e=t.querySelector(a);return e&&e.textContent}),s=h.sortDataParsers[e[1]];var r,a;return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e,i,o=(e=this.sortHistory,i=this.options.sortAscending,function(t,o){for(var n=0;n<e.length;n++){var s=e[n],r=t.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==i[s]?i[s]:i,h=u?1:-1;return(r>a?1:-1)*h}}return 0});this.filteredItems.sort(o)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
assets/js/timeline.js CHANGED
@@ -12,126 +12,131 @@
12
  function uagbTimelineInit() {
13
 
14
  var timeline = $(".uagb-timeline")
15
-
16
- timeline.each(function() {
17
- var line_inner = $(this).find(".uagb-timeline__line__inner")
18
- var line_outer = $(this).find(".uagb-timeline__line")
19
- var $icon_class = $(this).find(".uagb-timeline__marker")
20
- var $card_last = $(this).find(".uagb-timeline__field:last-child")
21
- var $document = $(document)
22
- // Set top and bottom for line.
23
- var timeline_start_icon = $icon_class.first().position()
24
- var timeline_end_icon = $icon_class.last().position()
25
- line_outer.css("top", timeline_start_icon.top )
26
-
27
- var timeline_card_height = $card_last.height()
28
- var last_item_top = $card_last.offset().top - $(this).offset().top
29
- var $last_item, parent_top
30
-
31
- if( $(this).hasClass("uagb-timeline__arrow-center")) {
32
-
33
- line_outer.css("bottom", timeline_end_icon.top )
34
-
35
- parent_top = last_item_top - timeline_start_icon.top
36
- $last_item = parent_top + timeline_end_icon.top
37
-
38
- } else if( $(this).hasClass("uagb-timeline__arrow-top")) {
39
-
40
- var top_height = timeline_card_height - timeline_end_icon.top
41
- line_outer.css("bottom", top_height )
42
-
43
- $last_item = last_item_top
44
-
45
- } else if( $(this).hasClass("uagb-timeline__arrow-bottom")) {
46
-
47
- var bottom_height = timeline_card_height - timeline_end_icon.top
48
- line_outer.css("bottom", bottom_height )
49
-
50
- parent_top = last_item_top - timeline_start_icon.top
51
- $last_item = parent_top + timeline_end_icon.top
52
-
53
- }
54
-
55
- var num = 0
56
- var elementEnd = $last_item + 20
57
- var viewportHeight = document.documentElement.clientHeight
58
- var viewportHeightHalf = viewportHeight/2
59
- var elementPos = $(this).offset().top
60
- var new_elementPos = elementPos + timeline_start_icon.top
61
- var photoViewportOffsetTop = new_elementPos - $document.scrollTop()
62
-
63
- if (photoViewportOffsetTop < 0) {
64
- photoViewportOffsetTop = Math.abs(photoViewportOffsetTop)
65
- } else {
66
- photoViewportOffsetTop = -Math.abs(photoViewportOffsetTop)
67
- }
68
-
69
- if ( elementPos < (viewportHeightHalf) ) {
70
- if ( (viewportHeightHalf) + Math.abs(photoViewportOffsetTop) < (elementEnd) ) {
71
- line_inner.height((viewportHeightHalf) + photoViewportOffsetTop)
72
- }else{
73
- if ( (photoViewportOffsetTop + viewportHeightHalf) >= elementEnd ) {
74
- line_inner.height(elementEnd)
75
- }
76
  }
77
- } else {
78
- if ( (photoViewportOffsetTop + viewportHeightHalf) < elementEnd ) {
79
- if (0 > photoViewportOffsetTop) {
80
- line_inner.height((viewportHeightHalf) - Math.abs(photoViewportOffsetTop))
81
- ++num
82
- } else {
 
 
 
 
 
 
 
 
 
 
 
83
  line_inner.height((viewportHeightHalf) + photoViewportOffsetTop)
 
 
 
 
84
  }
85
- }else{
86
- if ( (photoViewportOffsetTop + viewportHeightHalf) >= elementEnd ) {
87
- line_inner.height(elementEnd)
 
 
 
 
 
 
 
 
 
88
  }
89
  }
90
- }
91
 
92
- //Icon bg color and icon color
93
- var timeline_icon_pos, timeline_card_pos
94
- var elementPos, elementCardPos
95
- var timeline_icon_top, timeline_card_top
96
- var timeline_icon = $(this).find(".uagb-timeline__marker"),
97
- animate_border = $(this).find(".uagb-timeline__animate-border")
98
 
99
- for (var i = 0; i < timeline_icon.length; i++) {
100
- timeline_icon_pos = $(timeline_icon[i]).offset().top
101
- timeline_card_pos = $(animate_border[i]).offset().top
102
- elementPos = $(this).offset().top
103
- elementCardPos = $(this).offset().top
104
 
105
- timeline_icon_top = timeline_icon_pos - $document.scrollTop()
106
- timeline_card_top = timeline_card_pos - $document.scrollTop()
 
 
 
107
 
108
- if ( ( timeline_card_top ) < ( ( viewportHeightHalf ) ) ) {
 
109
 
110
- animate_border[i].classList.remove("out-view")
111
- animate_border[i].classList.add("in-view")
112
 
113
- } else {
 
 
 
114
  // Remove classes if element is below than half of viewport.
115
- animate_border[i].classList.add("out-view")
116
- animate_border[i].classList.remove("in-view")
117
- }
118
 
119
- if ( ( timeline_icon_top ) < ( ( viewportHeightHalf ) ) ) {
120
 
121
- // Add classes if element is above than half of viewport.
122
- timeline_icon[i].classList.remove("uagb-timeline__out-view-icon")
123
- timeline_icon[i].classList.add("uagb-timeline__in-view-icon")
124
 
125
- } else {
126
 
127
- // Remove classes if element is below than half of viewport.
128
- timeline_icon[i].classList.add("uagb-timeline__out-view-icon")
129
- timeline_icon[i].classList.remove("uagb-timeline__in-view-icon")
130
 
 
131
  }
132
- }
133
 
134
- })
 
135
  }
136
 
137
  } )( jQuery )
12
  function uagbTimelineInit() {
13
 
14
  var timeline = $(".uagb-timeline")
15
+ if(timeline.parents(".wp-block").length == 0 ){
16
+ timeline.each(function() {
17
+ var line_inner = $(this).find(".uagb-timeline__line__inner")
18
+ var line_outer = $(this).find(".uagb-timeline__line")
19
+ var $icon_class = $(this).find(".uagb-timeline__marker")
20
+ var $card_last = $(this).find(".uagb-timeline__field:last-child")
21
+ var $document = $(document)
22
+ // Set top and bottom for line.
23
+ var timeline_start_icon = $icon_class.first().position()
24
+ var timeline_end_icon = $icon_class.last().position()
25
+ line_outer.css("top", timeline_start_icon.top )
26
+
27
+ var timeline_card_height = $card_last.height()
28
+ var last_item_top = $card_last.offset().top - $(this).offset().top
29
+ var $last_item, parent_top
30
+
31
+ if( $(this).hasClass("uagb-timeline__arrow-center")) {
32
+
33
+ line_outer.css("bottom", timeline_end_icon.top )
34
+
35
+ parent_top = last_item_top - timeline_start_icon.top
36
+ $last_item = parent_top + timeline_end_icon.top
37
+
38
+ } else if( $(this).hasClass("uagb-timeline__arrow-top")) {
39
+
40
+ var top_height = timeline_card_height - timeline_end_icon.top
41
+ line_outer.css("bottom", top_height )
42
+
43
+ $last_item = last_item_top
44
+
45
+ } else if( $(this).hasClass("uagb-timeline__arrow-bottom")) {
46
+
47
+ var bottom_height = timeline_card_height - timeline_end_icon.top
48
+ line_outer.css("bottom", bottom_height )
49
+
50
+ parent_top = last_item_top - timeline_start_icon.top
51
+ $last_item = parent_top + timeline_end_icon.top
52
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  }
54
+
55
+ var num = 0
56
+ var elementEnd = $last_item + 20
57
+ var viewportHeight = document.documentElement.clientHeight
58
+ var viewportHeightHalf = viewportHeight/2
59
+ var elementPos = $(this).offset().top
60
+ var new_elementPos = elementPos + timeline_start_icon.top
61
+ var photoViewportOffsetTop = new_elementPos - $document.scrollTop()
62
+
63
+ if (photoViewportOffsetTop < 0) {
64
+ photoViewportOffsetTop = Math.abs(photoViewportOffsetTop)
65
+ } else {
66
+ photoViewportOffsetTop = -Math.abs(photoViewportOffsetTop)
67
+ }
68
+
69
+ if ( elementPos < (viewportHeightHalf) ) {
70
+ if ( (viewportHeightHalf) + Math.abs(photoViewportOffsetTop) < (elementEnd) ) {
71
  line_inner.height((viewportHeightHalf) + photoViewportOffsetTop)
72
+ }else{
73
+ if ( (photoViewportOffsetTop + viewportHeightHalf) >= elementEnd ) {
74
+ line_inner.height(elementEnd)
75
+ }
76
  }
77
+ } else {
78
+ if ( (photoViewportOffsetTop + viewportHeightHalf) < elementEnd ) {
79
+ if (0 > photoViewportOffsetTop) {
80
+ line_inner.height((viewportHeightHalf) - Math.abs(photoViewportOffsetTop))
81
+ ++num
82
+ } else {
83
+ line_inner.height((viewportHeightHalf) + photoViewportOffsetTop)
84
+ }
85
+ }else{
86
+ if ( (photoViewportOffsetTop + viewportHeightHalf) >= elementEnd ) {
87
+ line_inner.height(elementEnd)
88
+ }
89
  }
90
  }
 
91
 
92
+ //Icon bg color and icon color
93
+ var timeline_icon_pos, timeline_card_pos
94
+ var elementPos, elementCardPos
95
+ var timeline_icon_top, timeline_card_top
96
+ var timeline_icon = $(this).find(".uagb-timeline__marker"),
97
+ animate_border = $(this).find(".uagb-timeline__field-wrap")
98
 
99
+ if( animate_border.length == 0 ){
100
+ animate_border = $(this).find(".uagb-timeline__animate-border")
101
+ }
 
 
102
 
103
+ for (var i = 0; i < timeline_icon.length; i++) {
104
+ timeline_icon_pos = $(timeline_icon[i]).offset().top
105
+ timeline_card_pos = $(animate_border[i]).offset().top
106
+ elementPos = $(this).offset().top
107
+ elementCardPos = $(this).offset().top
108
 
109
+ timeline_icon_top = timeline_icon_pos - $document.scrollTop()
110
+ timeline_card_top = timeline_card_pos - $document.scrollTop()
111
 
112
+ if ( ( timeline_card_top ) < ( ( viewportHeightHalf ) ) ) {
 
113
 
114
+ animate_border[i].classList.remove("out-view")
115
+ animate_border[i].classList.add("in-view")
116
+
117
+ } else {
118
  // Remove classes if element is below than half of viewport.
119
+ animate_border[i].classList.add("out-view")
120
+ animate_border[i].classList.remove("in-view")
121
+ }
122
 
123
+ if ( ( timeline_icon_top ) < ( ( viewportHeightHalf ) ) ) {
124
 
125
+ // Add classes if element is above than half of viewport.
126
+ timeline_icon[i].classList.remove("uagb-timeline__out-view-icon")
127
+ timeline_icon[i].classList.add("uagb-timeline__in-view-icon")
128
 
129
+ } else {
130
 
131
+ // Remove classes if element is below than half of viewport.
132
+ timeline_icon[i].classList.add("uagb-timeline__out-view-icon")
133
+ timeline_icon[i].classList.remove("uagb-timeline__in-view-icon")
134
 
135
+ }
136
  }
 
137
 
138
+ })
139
+ }
140
  }
141
 
142
  } )( jQuery )
classes/class-uagb-block-helper.php CHANGED
@@ -1,1273 +1,1792 @@
1
- <?php
2
- /**
3
- * UAGB Block Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Block_Helper.
12
- */
13
- class UAGB_Block_Helper {
14
-
15
- /**
16
- * Get Section Block CSS
17
- *
18
- * @since 0.0.1
19
- * @param array $attr The block attributes.
20
- * @param string $id The selector ID.
21
- * @return array The Widget List.
22
- */
23
- public static function get_section_css( $attr, $id ) {
24
-
25
- // @codingStandardsIgnoreStart
26
-
27
- $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
-
29
- $attr = array_merge( $defaults, $attr );
30
-
31
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
-
33
- $style = array(
34
- 'padding-top' => $attr['topPadding'] . 'px',
35
- 'padding-bottom' => $attr['bottomPadding'] . 'px',
36
- 'padding-left' => $attr['leftPadding'] . 'px',
37
- 'padding-right' => $attr['rightPadding'] . 'px',
38
- );
39
-
40
- if ( 'right' == $attr['align'] ) {
41
- $style['margin-right'] = $attr['rightMargin'] . 'px';
42
- $style['margin-left'] = 'auto';
43
- $style['margin-top'] = $attr['topMargin'] . 'px';
44
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
45
- } elseif ( 'left' == $attr['align'] ) {
46
- $style['margin-right'] = 'auto';
47
- $style['margin-left'] = $attr['leftMargin'] . 'px';
48
- $style['margin-top'] = $attr['topMargin'] . 'px';
49
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
50
- } elseif ( 'center' == $attr['align'] ) {
51
- $style['margin-right'] = 'auto';
52
- $style['margin-left'] = 'auto';
53
- $style['margin-top'] = $attr['topMargin'] . 'px';
54
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
55
- } else {
56
- $style['margin-right'] = $attr['rightMargin'] . 'px';
57
- $style['margin-left'] = $attr['leftMargin'] . 'px';
58
- $style['margin-top'] = $attr['topMargin'] . 'px';
59
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
60
- }
61
-
62
- if ( "none" != $attr['borderStyle'] ) {
63
- $style["border-style"] = $attr['borderStyle'];
64
- $style["border-width"] = $attr['borderWidth'] . "px";
65
- $style["border-radius"] = $attr['borderRadius'] . "px";
66
- $style["border-color"] = $attr['borderColor'];
67
- }
68
-
69
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
70
-
71
- $section_width = '100%';
72
-
73
- if ( isset( $attr['contentWidth'] ) ) {
74
-
75
- if ( 'boxed' == $attr['contentWidth'] ) {
76
- if ( isset( $attr['width'] ) ) {
77
- $section_width = $attr['width'] . 'px';
78
- }
79
- }
80
- }
81
-
82
- $style['max-width'] = $section_width;
83
-
84
- if ( 'color' === $bg_type ) {
85
-
86
- $style['background-color'] = $attr['backgroundColor'];
87
-
88
- } elseif ( 'image' === $bg_type ) {
89
-
90
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
91
- $style['background-position'] = $position;
92
- $style['background-attachment'] = $attr['backgroundAttachment'];
93
- $style['background-repeat'] = $attr['backgroundRepeat'];
94
- $style['background-size'] = $attr['backgroundSize'];
95
-
96
- } elseif ( 'gradient' === $bg_type ) {
97
- $style['background-color'] = 'transparent';
98
-
99
- if ( 'linear' === $attr['gradientType'] ) {
100
-
101
- $style['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
102
- } else {
103
-
104
- $style['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
105
- }
106
- }
107
-
108
- $inner_width = '100%';
109
-
110
- if ( isset( $attr['contentWidth'] ) ) {
111
- if ( 'boxed' != $attr['contentWidth'] ) {
112
- if ( isset( $attr['innerWidth'] ) ) {
113
- $inner_width = $attr['innerWidth'] . 'px';
114
- }
115
- }
116
- }
117
-
118
- $selectors = array(
119
- '.uagb-section__wrap' => $style,
120
- ' .uagb-section__video-wrap' => array(
121
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
122
- ),
123
- ' .uagb-section__inner-wrap' => array(
124
- 'max-width' => $inner_width,
125
- ),
126
- );
127
-
128
- if ( 'video' == $bg_type ) {
129
- $selectors[' > .uagb-section__overlay'] = array(
130
- 'opacity' => 1,
131
- 'background-color' => $attr['backgroundVideoColor'],
132
- );
133
- } else if ( 'image' == $bg_type ) {
134
- $selectors[' > .uagb-section__overlay'] = array(
135
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
136
- 'background-color' => $attr['backgroundImageColor'],
137
- );
138
- } else {
139
- $selectors[' > .uagb-section__overlay'] = array(
140
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
141
- );
142
- }
143
-
144
- // @codingStandardsIgnoreEnd
145
-
146
- return UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
147
- }
148
-
149
- /**
150
- * Get Advanced Heading Block CSS
151
- *
152
- * @since 0.0.1
153
- * @param array $attr The block attributes.
154
- * @param string $id The selector ID.
155
- * @return array The Widget List.
156
- */
157
- public static function get_adv_heading_css( $attr, $id ) {
158
-
159
- // @codingStandardsIgnoreStart
160
-
161
- $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
162
-
163
- $attr = array_merge( $defaults, (array) $attr );
164
-
165
- $selectors = array(
166
- ' .uagb-heading-text' => array(
167
- 'text-align' => $attr['headingAlign'],
168
- 'font-size' => $attr['headFontSize'] . "px",
169
- 'color' => $attr['headingColor'],
170
- 'margin-bottom' => $attr['headSpace'] . "px",
171
- ),
172
- ' .uagb-separator-wrap' => array(
173
- 'text-align' => $attr['headingAlign'],
174
- ),
175
- ' .uagb-separator' => array(
176
- 'border-top-width' => $attr['separatorHeight'] . "px",
177
- 'width' => $attr['separatorWidth'] . "%",
178
- 'border-color' => $attr['separatorColor'],
179
- 'margin-bottom' => $attr['separatorSpace'] . "px",
180
- ),
181
- ' .uagb-desc-text' => array(
182
- 'text-align' => $attr['headingAlign'],
183
- 'font-size' => $attr['subHeadFontSize'] . "px",
184
- 'color' => $attr['subHeadingColor'],
185
- 'margin-bottom' => $attr['subHeadSpace'] . "px",
186
- )
187
-
188
- );
189
-
190
- // @codingStandardsIgnoreEnd
191
-
192
- return UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
193
- }
194
-
195
- /**
196
- * Get Multi Buttons Block CSS
197
- *
198
- * @since 0.0.1
199
- * @param array $attr The block attributes.
200
- * @param string $id The selector ID.
201
- * @return array The Widget List.
202
- */
203
- public static function get_buttons_css( $attr, $id ) {
204
-
205
- // @codingStandardsIgnoreStart
206
-
207
- $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
208
-
209
- $attr = array_merge( $defaults, (array) $attr );
210
-
211
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
212
-
213
- $m_selectors = array();
214
- $t_selectors = array();
215
-
216
- $selectors = array(
217
- ' .uagb-button__wrapper' => array(
218
- 'margin-left' => ( $attr['gap']/2 ) . 'px',
219
- 'margin-right' => ( $attr['gap']/2 ) . 'px'
220
- ),
221
- ' .uagb-button__wrapper:first-child' => array (
222
- 'margin-left' => 0
223
- ),
224
- ' .uagb-button__wrapper:last-child' => array (
225
- 'margin-right' => 0
226
- ),
227
- ' .uagb-buttons__wrap' => array (
228
- 'justify-content' => $alignment,
229
- '-webkit-box-pack'=> $alignment,
230
- '-ms-flex-pack' => $alignment,
231
- 'justify-content' => $alignment,
232
- '-webkit-box-align' => $alignment,
233
- '-ms-flex-align' => $alignment,
234
- 'align-items' => $alignment,
235
- )
236
- );
237
-
238
- foreach ( $attr['buttons'] as $key => $button ) {
239
-
240
- $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
241
- $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
242
- $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
243
- $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
244
- $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
245
- $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
246
- $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
247
- $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
248
- $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
249
- $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
250
- $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
251
- $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
252
-
253
- if ( $attr['btn_count'] <= $key ) {
254
- break;
255
- }
256
-
257
- $selectors[' .uagb-buttons-repeater-' . $key] = array (
258
- 'font-size' => $button['size'] . 'px',
259
- 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderColor'],
260
- 'border-radius' => $button['borderRadius'] . 'px',
261
- 'background' => $button['background']
262
- );
263
-
264
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
265
- 'background' => $button['hBackground'],
266
- 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderHColor'],
267
- );
268
-
269
- $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
270
- 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
271
- 'color' => $button['color']
272
- );
273
-
274
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
275
- 'color' => $button['hColor']
276
- );
277
- }
278
-
279
- if ( "desktop" == $attr['stack'] ) {
280
-
281
- $selectors[" .uagb-button__wrapper"] = array (
282
- 'margin-left' => 0,
283
- 'margin-right' => 0,
284
- "margin-bottom" => $attr['gap'] . "px"
285
- );
286
-
287
- $selectors[" .uagb-buttons__wrap"] = array (
288
- "flex-direction" => "column"
289
- );
290
-
291
- $selectors[" .uagb-button__wrapper:last-child"] = array (
292
- "margin-bottom" => 0
293
- );
294
-
295
- } else if ( "tablet" == $attr['stack'] ) {
296
-
297
- $t_selectors[" .uagb-button__wrapper"] = array (
298
- 'margin-left' => 0,
299
- 'margin-right' => 0,
300
- "margin-bottom" => $attr['gap'] . "px"
301
- );
302
-
303
- $t_selectors[" .uagb-buttons__wrap"] = array (
304
- "flex-direction" => "column"
305
- );
306
-
307
- $t_selectors[" .uagb-button__wrapper:last-child"] = array (
308
- "margin-bottom" => 0
309
- );
310
-
311
- } else if ( "mobile" == $attr['stack'] ) {
312
-
313
- $m_selectors[" .uagb-button__wrapper"] = array (
314
- 'margin-left' => 0,
315
- 'margin-right' => 0,
316
- "margin-bottom" => $attr['gap'] . "px"
317
- );
318
-
319
- $m_selectors[" .uagb-buttons__wrap"] = array (
320
- "flex-direction" => "column"
321
- );
322
-
323
- $m_selectors[" .uagb-button__wrapper:last-child"] = array (
324
- "margin-bottom" => 0
325
- );
326
- }
327
-
328
- // @codingStandardsIgnoreEnd
329
-
330
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
331
-
332
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-buttons-' . $id );
333
-
334
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-buttons-' . $id );
335
-
336
- return $desktop . $tablet . $mobile;
337
- }
338
-
339
-
340
- /**
341
- * Get Info Box CSS
342
- *
343
- * @since 0.0.1
344
- * @param array $attr The block attributes.
345
- * @param string $id The selector ID.
346
- * @return array The Widget List.
347
- */
348
- public static function get_info_box_css( $attr, $id ) {
349
-
350
- // @codingStandardsIgnoreStart.
351
- $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
352
-
353
- $attr = (object) array_merge( $defaults, (array) $attr );
354
-
355
- $selectors = array(
356
- ' .uagb-ifb-icon' => array(
357
- 'height' => $attr->iconSize. "px",
358
- 'width' => $attr->iconSize. "px",
359
- 'line-height' => $attr->iconSize. "px",
360
- ),
361
- ' .uagb-ifb-icon > span' => array(
362
- 'font-size' => $attr->iconSize. "px",
363
- 'height' => $attr->iconSize. "px",
364
- 'width' => $attr->iconSize. "px",
365
- 'line-height' => $attr->iconSize. "px",
366
- 'color' => $attr->iconColor,
367
- ),
368
- ' .uagb-ifb-icon:hover > span' => array(
369
- 'color' => $attr->iconHover ,
370
- ),
371
- ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
372
- 'margin-left' => $attr->iconLeftMargin.'px',
373
- 'margin-right' => $attr->iconRightMargin.'px',
374
- 'margin-top' => $attr->iconTopMargin.'px',
375
- 'margin-bottom' => $attr->iconBottomMargin.'px',
376
- ),
377
-
378
- // Image.
379
- ' .uagb-ifb-image-content > img' => array(
380
- 'width'=> $attr->imageWidth.'px',
381
- 'max-width'=> $attr->imageWidth.'px',
382
- ),
383
-
384
- ' .uagb-infobox .uagb-ifb-image-content img' => array(
385
- 'border-radius' => $attr->iconimgBorderRadius.'px',
386
- ),
387
-
388
-
389
- // CTA style .
390
- ' .uagb-infobox-cta-link' => array(
391
- 'font-size' => $attr->ctaFontSize.'px',
392
- 'color' => $attr->ctaLinkColor,
393
- ),
394
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
395
- 'font-size' => $attr->ctaFontSize.'px',
396
- 'color' => $attr->ctaBtnLinkColor,
397
- 'background-color' => $attr->ctaBgColor,
398
- 'border-style' => $attr->ctaBorderStyle,
399
- 'border-color' => $attr->ctaBorderColor,
400
- 'border-radius' => $attr->ctaBorderRadius . "px",
401
- 'border-width' => $attr->ctaBorderWidth . "px",
402
- 'padding-top' => $attr->ctaBtnVertPadding . "px",
403
- 'padding-bottom' => $attr->ctaBtnVertPadding . "px",
404
- 'padding-left' => $attr->ctaBtnHrPadding . "px",
405
- 'padding-right' => $attr->ctaBtnHrPadding . "px",
406
-
407
- ),
408
-
409
- // Prefix Style.
410
- ' .uagb-ifb-title-prefix' => array(
411
- 'font-size' => $attr->prefixFontSize.'px',
412
- 'color' => $attr->prefixColor,
413
- 'margin-bottom' => $attr->prefixSpace.'px',
414
- ),
415
-
416
- // Title Style.
417
- ' .uagb-ifb-title' => array(
418
- 'font-size' => $attr->headFontSize.'px',
419
- 'color' => $attr->headingColor,
420
- 'margin-bottom' => $attr->headSpace.'px',
421
- ),
422
-
423
- // Description Style.
424
- ' .uagb-ifb-desc' => array(
425
- 'font-size' => $attr->subHeadFontSize.'px',
426
- 'color' => $attr->subHeadingColor,
427
- 'margin-bottom' => $attr->subHeadSpace.'px',
428
- ),
429
-
430
- // Seperator.
431
- ' .uagb-ifb-separator' => array(
432
- 'width' => $attr->seperatorWidth.'%',
433
- 'border-top-width' => $attr->seperatorThickness.'px',
434
- 'border-top-color' => $attr->seperatorColor,
435
- 'border-top-style' => $attr->seperatorStyle,
436
- ),
437
- ' .uagb-ifb-separator-parent' => array(
438
- 'margin-bottom' => $attr->seperatorSpace.'px',
439
- ),
440
-
441
- );
442
-
443
- if( 'above-title' === $attr->iconimgPosition || 'below-title' === $attr->iconimgPosition ){
444
- $selectors[' .uagb-infobox__content-wrap'] = array(
445
- 'text-align' => $attr->headingAlign,
446
- );
447
- }
448
-
449
- // @codingStandardsIgnoreEnd.
450
- return UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
451
- }
452
-
453
- /**
454
- * Get Testimonial CSS
455
- *
456
- * @since 0.0.1
457
- * @param array $attr The block attributes.
458
- * @param string $id The selector ID.
459
- * @return array The Widget List.
460
- */
461
- public static function get_testimonial_css( $attr, $id ) {
462
-
463
- // @codingStandardsIgnoreStart.
464
-
465
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
466
-
467
- $attr = (object) array_merge( $defaults, (array) $attr );
468
-
469
- $position = str_replace( '-', ' ', $attr->backgroundPosition );
470
- $selectors = array(
471
- ' .uagb-testimonial__wrap' => array(
472
- 'padding-left' => ( ($attr->columnGap) /2 ) . 'px',
473
- 'padding-right' => ( ($attr->columnGap) /2 ) . 'px',
474
- 'margin-bottom' => $attr->rowGap . 'px',
475
- ),
476
- ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
477
- 'padding-left' => $attr->imgHrPadding . 'px',
478
- 'padding-right' => $attr->imgHrPadding . 'px',
479
- 'padding-top' => $attr->imgVrPadding . 'px',
480
- 'padding-bottom' => $attr->imgVrPadding . 'px',
481
- ),
482
- ' .uagb-tm__image img' => array(
483
- 'width' => $attr->imageWidth . 'px',
484
- 'max-width' => $attr->imageWidth . 'px',
485
- ),
486
- ' .uagb-tm__content' => array(
487
- 'text-align' => $attr->headingAlign,
488
- 'padding' => $attr->contentPadding . 'px',
489
- ),
490
- ' .uagb-tm__author-name' => array(
491
- 'color' => $attr->authorColor,
492
- 'font-size' => $attr->nameFontSize . 'px',
493
- 'margin-bottom' => $attr->nameSpace . 'px',
494
- ),
495
- ' .uagb-tm__company' => array(
496
- 'color' => $attr->companyColor,
497
- 'font-size' => $attr->companyFontSize . 'px',
498
- ),
499
- ' .uagb-tm__desc' => array(
500
- 'color' => $attr->descColor,
501
- 'font-size' => $attr->descFontSize . 'px',
502
- 'margin-bottom' => $attr->descSpace . 'px',
503
- ),
504
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
505
- 'background-color' => $attr->backgroundColor,
506
- ),
507
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
508
- 'background-image' => ( isset( $attr->backgroundImage['url'] ) ) ? 'url("'.$attr->backgroundImage['url'].'")' : null,
509
- 'background-position'=> $position,
510
- 'background-repeat'=> $attr->backgroundRepeat,
511
- 'background-size'=> $attr->backgroundSize,
512
- ),
513
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
514
- 'background-color' => $attr->backgroundImageColor,
515
- 'opacity' => ( isset( $attr->backgroundOpacity ) && '' != $attr->backgroundOpacity ) ? ( ( 100 - $attr->backgroundOpacity ) / 100 ) : '0.5',
516
- ),
517
- ' .uagb-testimonial__wrap .uagb-tm__content' => array(
518
- 'border-color' => $attr->borderColor,
519
- 'border-style' => $attr->borderStyle,
520
- 'border-width' => $attr->borderWidth . 'px',
521
- 'border-radius' => $attr->borderRadius . 'px',
522
- ),
523
- );
524
-
525
- $r_selectors = array(
526
- ' .uagb-tm__content' => array(
527
- 'text-align' => 'center',
528
- ),
529
- );
530
-
531
- // @codingStandardsIgnoreEnd.
532
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
533
-
534
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $r_selectors, '#uagb-testimonial-' . $id );
535
-
536
- return $desktop . $mobile;
537
-
538
- }
539
-
540
- /**
541
- * Get Team Block CSS
542
- *
543
- * @since 0.0.1
544
- * @param array $attr The block attributes.
545
- * @param string $id The selector ID.
546
- * @return array The Widget List.
547
- */
548
- public static function get_team_css( $attr, $id ) {
549
-
550
- // @codingStandardsIgnoreStart
551
-
552
- $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
553
-
554
- $attr = array_merge( $defaults, (array) $attr );
555
-
556
- $selectors = array(
557
- " p.uagb-team__desc" => array(
558
- "font-size" => $attr['descFontSize'] . "px",
559
- "color" => $attr['descColor'],
560
- "margin-bottom" => $attr['descSpace'] . "px",
561
- ),
562
- " .uagb-team__prefix" => array(
563
- "font-size" => $attr['prefixFontSize'] . "px",
564
- "color" => $attr['prefixColor'],
565
- ),
566
- " .uagb-team__desc-wrap" => array(
567
- "margin-top" => $attr['prefixSpace'] . "px",
568
- ),
569
- " .uagb-team__social-icon a" => array(
570
- "color" => $attr['socialColor'],
571
- "font-size" => $attr['socialFontSize'] . "px",
572
- "width" => $attr['socialFontSize'] . "px",
573
- "height" => $attr['socialFontSize'] . "px",
574
- ),
575
- " .uagb-team__social-icon:hover a" => array(
576
- "color" => $attr['socialHoverColor'],
577
- ),
578
- ".uagb-team__image-position-left .uagb-team__social-icon" => array(
579
- "margin-right" => $attr['socialSpace'] . "px",
580
- "margin-left" => "0",
581
- ),
582
- ".uagb-team__image-position-right .uagb-team__social-icon" => array(
583
- "margin-left" => $attr['socialSpace'] . "px",
584
- "margin-right" => "0",
585
- ),
586
- ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
587
- "margin-right" => ( $attr['socialSpace'] / 2 ) . "px",
588
- "margin-left" => ( $attr['socialSpace'] / 2 ) . "px",
589
- ),
590
- ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
591
- "margin-right" => $attr['socialSpace'] . "px",
592
- "margin-left" => "0",
593
- ),
594
- ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
595
- "margin-left" => $attr['socialSpace'] . "px",
596
- "margin-right" => "0",
597
- ),
598
- " .uagb-team__image-wrap" => array(
599
- "margin-top" => $attr['imgTopMargin'] . "px",
600
- "margin-bottom" => $attr['imgBottomMargin'] . "px",
601
- "margin-left" => $attr['imgLeftMargin'] . "px",
602
- "margin-right" => $attr['imgRightMargin'] . "px",
603
- "width" => $attr['imgWidth'] . "px"
604
- ),
605
- );
606
-
607
- if( 'above' == $attr['imgPosition'] ) {
608
- if ( 'center' == $attr['align'] ) {
609
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
610
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
611
- } else if ( 'left' == $attr['align'] ) {
612
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
613
- } else if ( 'right' == $attr['align'] ) {
614
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
615
- }
616
- }
617
-
618
- if ( "above" != $attr['imgPosition'] ) {
619
- if ( "middle" == $attr['imgAlign'] ) {
620
- $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
621
- }
622
- }
623
-
624
- $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
625
- "font-size" => $attr['titleFontSize'] . "px",
626
- "color" => $attr['titleColor'],
627
- "margin-bottom" => $attr['titleSpace'] . "px",
628
- );
629
-
630
- // @codingStandardsIgnoreEnd
631
-
632
- return UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
633
- }
634
-
635
- /**
636
- * Get Social Share Block CSS
637
- *
638
- * @since 0.0.1
639
- * @param array $attr The block attributes.
640
- * @param string $id The selector ID.
641
- * @return array The Widget List.
642
- */
643
- public static function get_social_share_css( $attr, $id ) {
644
-
645
- // @codingStandardsIgnoreStart
646
-
647
- $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
648
-
649
- $attr = array_merge( $defaults, (array) $attr );
650
-
651
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
652
-
653
- $m_selectors = array();
654
- $t_selectors = array();
655
-
656
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
657
- "margin-left" => 0,
658
- "margin-right" => 0,
659
- "margin-bottom" => $attr['gap'] . "px"
660
- );
661
-
662
- $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
663
- "flex-direction" => "column"
664
- );
665
-
666
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
667
- "margin-bottom" => 0
668
- );
669
-
670
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
671
- "margin-left" => ( $attr['gap']/2 ) . "px",
672
- "margin-right" => ( $attr['gap']/2 ) . "px"
673
- );
674
-
675
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
676
- "margin-left" => 0
677
- );
678
-
679
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
680
- "margin-right" => 0
681
- );
682
-
683
- $selectors[" .uagb-ss__wrapper"] = array(
684
- "width" => $attr['size'] . "px"
685
- );
686
-
687
- $selectors[" .uagb-ss__source-image"] = array(
688
- "width" => $attr['size'] . "px"
689
- );
690
-
691
- $selectors[" .uagb-ss__source-icon"] = array(
692
- "width" => $attr['size'] . "px",
693
- "height" => $attr['size'] . "px",
694
- "font-size" => $attr['size'] . "px"
695
- );
696
-
697
- $selectors[" .uagb-ss__source-icon:before"] = array(
698
- "width" => $attr['size'] . "px",
699
- "height" => $attr['size'] . "px",
700
- "font-size" => $attr['size'] . "px"
701
- );
702
-
703
- foreach ( $attr['socials'] as $key => $social ) {
704
-
705
- $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
706
- $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
707
-
708
- if ( $attr['social_count'] <= $key ) {
709
- break;
710
- }
711
-
712
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
713
- "color" => $social['icon_color']
714
- );
715
-
716
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
717
- "color" => $social['icon_hover_color']
718
- );
719
- }
720
-
721
- $selectors[" .uagb-social-share__wrap"] = array(
722
- "justify-content" => $alignment,
723
- "-webkit-box-pack" => $alignment,
724
- "-ms-flex-pack" => $alignment,
725
- "justify-content" => $alignment,
726
- );
727
-
728
- if ( 'horizontal' == $attr['social_layout'] ) {
729
-
730
- if ( "desktop" == $attr['stack'] ) {
731
-
732
- $selectors[" .uagb-ss__wrapper"] = array (
733
- "margin-left" => 0,
734
- "margin-right" => 0,
735
- "margin-bottom" => $attr['gap'] . "px"
736
- );
737
-
738
- $selectors[" .uagb-social-share__wrap"] = array (
739
- "flex-direction" => "column"
740
- );
741
-
742
- $selectors[" .uagb-ss__wrapper:last-child"] = array (
743
- "margin-bottom" => 0
744
- );
745
-
746
- } else if ( "tablet" == $attr['stack'] ) {
747
-
748
- $t_selectors[" .uagb-ss__wrapper"] = array (
749
- "margin-left" => 0,
750
- "margin-right" => 0,
751
- "margin-bottom" => $attr['gap'] . "px"
752
- );
753
-
754
- $t_selectors[" .uagb-social-share__wrap"] = array (
755
- "flex-direction" => "column"
756
- );
757
-
758
- $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
759
- "margin-bottom" => 0
760
- );
761
-
762
- } else if ( "mobile" == $attr['stack'] ) {
763
-
764
- $m_selectors[" .uagb-ss__wrapper"] = array (
765
- "margin-left" => 0,
766
- "margin-right" => 0,
767
- "margin-bottom" => $attr['gap'] . "px"
768
- );
769
-
770
- $m_selectors[" .uagb-social-share__wrap"] = array (
771
- "flex-direction" => "column"
772
- );
773
-
774
- $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
775
- "margin-bottom" => 0
776
- );
777
- }
778
- }
779
-
780
- // @codingStandardsIgnoreEnd
781
-
782
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
783
-
784
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-social-share-' . $id );
785
-
786
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-social-share-' . $id );
787
-
788
- return $desktop . $tablet . $mobile;
789
- }
790
-
791
- /**
792
- * Get Icon List Block CSS
793
- *
794
- * @since 0.0.1
795
- * @param array $attr The block attributes.
796
- * @param string $id The selector ID.
797
- * @return array The Widget List.
798
- */
799
- public static function get_icon_list_css( $attr, $id ) {
800
-
801
- // @codingStandardsIgnoreStart
802
-
803
- $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
804
-
805
- $attr = array_merge( $defaults, (array) $attr );
806
-
807
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
808
-
809
- $m_selectors = array();
810
- $t_selectors = array();
811
-
812
- $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper"] = array(
813
- "margin-left" => 0,
814
- "margin-right" => 0,
815
- "margin-bottom" => $attr['gap'] . "px"
816
- );
817
-
818
- $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrap"] = array(
819
- "flex-direction" => "column"
820
- );
821
-
822
- $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child"] = array(
823
- "margin-bottom" => 0
824
- );
825
-
826
- $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper"] = array(
827
- "margin-left" => ( $attr['gap']/2 ) . "px",
828
- "margin-right" => ( $attr['gap']/2 ) . "px"
829
- );
830
-
831
- $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child"] = array(
832
- "margin-left" => 0
833
- );
834
-
835
- $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child"] = array(
836
- "margin-right" => 0
837
- );
838
-
839
- $selectors[" .uagb-icon-list__source-image"] = array(
840
- "width" => $attr['size'] . "px"
841
- );
842
-
843
- $selectors[" .uagb-icon-list__source-icon"] = array(
844
- "width" => $attr['size'] . "px",
845
- "height" => $attr['size'] . "px",
846
- "font-size" => $attr['size'] . "px"
847
- );
848
-
849
- $selectors[" .uagb-icon-list__source-icon:before"] = array(
850
- "width" => $attr['size'] . "px",
851
- "height" => $attr['size'] . "px",
852
- "font-size" => $attr['size'] . "px"
853
- );
854
-
855
- $selectors[" .uagb-icon-list__label-wrap"] = array(
856
- "text-align" => $attr['align']
857
- );
858
-
859
- if ( 'right' == $attr['align'] ) {
860
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
861
- "margin-left" => $attr['inner_gap'] . "px"
862
- );
863
- $selectors[" .uagb-icon-list__content-wrap"] = array(
864
- "flex-direction" => "row-reverse"
865
- );
866
- } else {
867
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
868
- "margin-right" => $attr['inner_gap'] . "px"
869
- );
870
- }
871
-
872
- foreach ( $attr['icons'] as $key => $icon ) {
873
-
874
- $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
875
- $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
876
- $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
877
- $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
878
-
879
- if ( $attr['icon_count'] <= $key ) {
880
- break;
881
- }
882
-
883
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
884
- "color" => $icon['icon_color']
885
- );
886
-
887
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
888
- "color" => $icon['icon_hover_color']
889
- );
890
-
891
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
892
- "color" => $icon['label_color'],
893
- "font-size" => $attr['fontSize'] . 'px'
894
- );
895
-
896
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
897
- "color" => $icon['label_hover_color']
898
- );
899
- }
900
-
901
- $selectors[" .uagb-icon-list__wrap"] = array(
902
- "justify-content" => $alignment,
903
- "-webkit-box-pack" => $alignment,
904
- "-ms-flex-pack" => $alignment,
905
- "justify-content" => $alignment,
906
- "-webkit-box-align" => $alignment,
907
- "-ms-flex-align" => $alignment,
908
- "align-items" => $alignment,
909
- );
910
-
911
- if ( 'horizontal' == $attr['icon_layout'] ) {
912
-
913
- if ( "tablet" == $attr['stack'] ) {
914
-
915
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
916
- "margin-left" => 0,
917
- "margin-right" => 0,
918
- "margin-bottom" => $attr['gap'] . "px"
919
- );
920
-
921
- $t_selectors[" .uagb-icon-list__wrap"] = array (
922
- "flex-direction" => "column"
923
- );
924
-
925
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
926
- "margin-bottom" => 0
927
- );
928
-
929
- } else if ( "mobile" == $attr['stack'] ) {
930
-
931
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
932
- "margin-left" => 0,
933
- "margin-right" => 0,
934
- "margin-bottom" => $attr['gap'] . "px"
935
- );
936
-
937
- $m_selectors[" .uagb-icon-list__wrap"] = array (
938
- "flex-direction" => "column"
939
- );
940
-
941
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
942
- "margin-bottom" => 0
943
- );
944
- }
945
- }
946
-
947
- // @codingStandardsIgnoreEnd
948
-
949
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
950
-
951
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-icon-list-' . $id );
952
-
953
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-icon-list-' . $id );
954
-
955
- return $desktop . $tablet . $mobile;
956
- }
957
-
958
- /**
959
- * Get Content Timeline Block CSS
960
- *
961
- * @since 0.0.1
962
- * @param array $attr The block attributes.
963
- * @param string $id The selector ID.
964
- * @return array The Widget List.
965
- */
966
- public static function get_content_timeline_css( $attr, $id ) {
967
-
968
- // @codingStandardsIgnoreStart
969
-
970
- $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
971
-
972
- $attr = array_merge( $defaults, (array) $attr );
973
-
974
- $t_selectors = array();
975
-
976
- $selectors[" .uagb-timeline__heading"] = array(
977
- "text-align" => $attr['align'],
978
- "color" => $attr['headingColor'],
979
- "font-size" => $attr['headFontSize'] . "px"
980
- );
981
-
982
- $selectors[" .uagb-timeline__heading-text"] = array(
983
- "margin-bottom" => $attr['headSpace'] . "px"
984
- );
985
-
986
- $selectors[" .uagb-timeline-desc-content"] = array(
987
- "text-align" => $attr['align'],
988
- "color" => $attr['subHeadingColor'],
989
- "font-size" => $attr['subHeadFontSize'] . "px",
990
- );
991
- $selectors[' .uagb-timeline__events-new'] = array(
992
- 'text-align' => $attr['align']
993
- );
994
- $selectors['.uagb-timeline__date-inner'] = array(
995
- 'text-align' => $attr['align']
996
- );
997
-
998
- $selectors[' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
999
- 'border-left-color' => $attr['backgroundColor']
1000
- );
1001
-
1002
- $selectors[' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1003
- 'border-left-color' => $attr['backgroundColor']
1004
- );
1005
-
1006
- $selectors[' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1007
- 'border-right-color' => $attr['backgroundColor']
1008
- );
1009
-
1010
- $selectors[' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1011
- 'border-right-color' => $attr['backgroundColor']
1012
- );
1013
-
1014
- $selectors[' .uagb-timeline__line__inner'] = array(
1015
- 'background-color' => $attr['separatorFillColor']
1016
- );
1017
-
1018
- $selectors[' .uagb-timeline__line'] = array(
1019
- 'background-color' => $attr['separatorColor'],
1020
- 'width' => $attr['separatorwidth'].'px'
1021
- );
1022
-
1023
- $selectors[' .uagb-timeline__right-block .uagb-timeline__line'] = array(
1024
- 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1025
- );
1026
-
1027
- $selectors[' .uagb-timeline__left-block .uagb-timeline__line'] = array(
1028
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1029
- );
1030
-
1031
- $selectors[' .uagb-timeline__center-block .uagb-timeline__line'] = array(
1032
- 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1033
- );
1034
-
1035
- $selectors[' .uagb-timeline__marker'] = array(
1036
- 'background-color' => $attr['separatorBg'],
1037
- 'min-height'=> $attr['connectorBgsize'].'px',
1038
- 'min-width' => $attr['connectorBgsize'].'px',
1039
- 'line-height' => $attr['connectorBgsize'].'px',
1040
- 'border'=> $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
1041
- );
1042
-
1043
- $selectors[' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1044
- 'height' => $attr['connectorBgsize'].'px',
1045
- );
1046
-
1047
- $selectors[' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1048
- 'height' => $attr['connectorBgsize'].'px',
1049
- );
1050
-
1051
- $selectors[' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1052
- 'height' => $attr['connectorBgsize'].'px',
1053
- );
1054
-
1055
- $selectors[' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1056
- 'height' => $attr['connectorBgsize'].'px',
1057
- );
1058
-
1059
- $selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1060
- 'margin-left' => $attr['horizontalSpace'].'px',
1061
- 'margin-right'=> $attr['horizontalSpace'].'px',
1062
- );
1063
-
1064
- $selectors[' .uagb-timeline__field:not(:last-child)'] = array(
1065
- 'margin-bottom' => $attr['verticalSpace'].'px',
1066
- );
1067
-
1068
- $selectors[' .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1069
- 'margin-bottom' => $attr['dateBottomspace'].'px',
1070
- 'color'=> $attr['dateColor'],
1071
- 'font-size' => $attr['dateFontsize'].'px',
1072
- 'text-align'=> $attr['align'],
1073
- );
1074
-
1075
- $selectors[' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1076
- 'margin-left' => $attr['horizontalSpace'].'px',
1077
- );
1078
-
1079
- $selectors[' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1080
- 'margin-right' => $attr['horizontalSpace'].'px',
1081
- );
1082
-
1083
- $selectors[' .uagb-timeline__date-new'] = array(
1084
- 'color'=> $attr['dateColor'],
1085
- 'font-size' => $attr['dateFontsize'].'px',
1086
- );
1087
-
1088
- $selectors[' .uagb-timeline__events-inner-new'] = array(
1089
- 'background-color' => $attr['backgroundColor'],
1090
- 'border-radius' => $attr['borderRadius'].'px',
1091
- 'padding'=> $attr['bgPadding'].'px',
1092
- );
1093
-
1094
- $selectors[' .uagb-timeline__main .uagb-timeline__icon-new'] = array(
1095
- 'color'=> $attr['iconColor'],
1096
- 'font-size' => $attr['iconSize'].'px',
1097
- );
1098
-
1099
- $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker'] = array(
1100
- 'background' => $attr['iconBgHover'],
1101
- 'border-color'=> $attr['borderHover'],
1102
- );
1103
-
1104
- $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon'] = array(
1105
- 'background' => $attr['iconBgFocus'],
1106
- 'border-color'=> $attr['borderFocus'],
1107
- );
1108
-
1109
-
1110
- $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new'] = array(
1111
- 'color'=> $attr['iconHover'],
1112
- );
1113
-
1114
- $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new'] = array(
1115
- 'color'=> $attr['iconFocus'],
1116
- );
1117
-
1118
- $t_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1119
- 'margin-left' => 0,
1120
- 'margin-right' => 0,
1121
- );
1122
-
1123
- $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading"] = array(
1124
- "text-align" => 'left',
1125
- );
1126
- $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content"] = array(
1127
- "text-align" => 'left',
1128
- );
1129
-
1130
- $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new'] = array(
1131
- 'text-align' => 'left'
1132
- );
1133
- $t_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner'] = array(
1134
- 'text-align' => 'left'
1135
- );
1136
- $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1137
- 'text-align'=> 'left',
1138
- );
1139
-
1140
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1141
- 'margin-left' => 0,
1142
- 'margin-right' => 0,
1143
- );
1144
-
1145
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1146
- 'margin-left' => $attr['horizontalSpace'].'px',
1147
- );
1148
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1149
- 'margin-left' => $attr['horizontalSpace'].'px',
1150
- );
1151
-
1152
- $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading"] = array(
1153
- "text-align" => 'left',
1154
- );
1155
- $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content"] = array(
1156
- "text-align" => 'left',
1157
- );
1158
-
1159
- $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new'] = array(
1160
- 'text-align' => 'left'
1161
- );
1162
- $m_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner'] = array(
1163
- 'text-align' => 'left'
1164
- );
1165
- $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1166
- 'text-align'=> 'left',
1167
- );
1168
- // @codingStandardsIgnoreEnd
1169
-
1170
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
1171
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 1024px)', $t_selectors, '#uagb-ctm-' . $id );
1172
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-ctm-' . $id );
1173
-
1174
- return $desktop . $tablet . $mobile;
1175
- }
1176
-
1177
- /**
1178
- * Get Restaurant Menu Block CSS
1179
- *
1180
- * @since 1.0.2
1181
- * @param array $attr The block attributes.
1182
- * @param string $id The selector ID.
1183
- * @return array The Widget List.
1184
- */
1185
- public static function get_restaurant_menu_css( $attr, $id ) {
1186
-
1187
- // @codingStandardsIgnoreStart
1188
-
1189
- $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
1190
-
1191
- $attr = array_merge( $defaults, (array) $attr );
1192
-
1193
- $m_selectors = array();
1194
- $t_selectors = array();
1195
-
1196
- $selectors[" .uagb-rest_menu__wrap"] = array(
1197
- 'padding-left' => ($attr['columnGap']/2) . "px",
1198
- 'padding-right' => ($attr['columnGap']/2). "px",
1199
- 'margin-bottom' => $attr['rowGap'] . "px"
1200
- );
1201
-
1202
- $selectors[' .uagb-rest_menu__wrap .uagb-rm__image-content'] = array(
1203
- 'padding-left' => $attr['imgHrPadding'] .'px',
1204
- 'padding-right' => $attr['imgHrPadding'] .'px',
1205
- 'padding-top' => $attr['imgVrPadding'] .'px',
1206
- 'padding-bottom' => $attr['imgVrPadding'] .'px',
1207
- );
1208
-
1209
- $selectors[' .uagb-rm__image img'] = array(
1210
- 'width'=> $attr['imageWidth'] .'px',
1211
- 'max-width'=> $attr['imageWidth'] .'px',
1212
- );
1213
-
1214
- $selectors[' .uagb-rm__content'] = array(
1215
- 'text-align' => $attr['headingAlign'] ,
1216
- 'padding-left' => $attr['contentHrPadding'] . 'px',
1217
- 'padding-right' => $attr['contentHrPadding'] . 'px',
1218
- 'padding-top' => $attr['contentVrPadding'] . 'px',
1219
- 'padding-top' => $attr['contentVrPadding'] . 'px',
1220
- );
1221
-
1222
- $selectors[' .uagb-rm__title'] = array(
1223
- 'font-size' => $attr['titleFontSize'] .'px',
1224
- 'color'=> $attr['titleColor'] ,
1225
- 'margin-bottom'=> $attr['titleSpace'] .'px',
1226
- );
1227
-
1228
- $selectors[' .uagb-rm__price'] = array(
1229
- 'font-size' => $attr['priceFontSize'].'px',
1230
- 'color'=> $attr['priceColor'],
1231
- );
1232
-
1233
- $selectors[' .uagb-rm__desc'] = array(
1234
- 'font-size' => $attr['descFontSize'].'px',
1235
- 'color'=> $attr['descColor'],
1236
- 'margin-bottom'=> $attr['descSpace'].'px',
1237
- );
1238
-
1239
- if ( $attr['seperatorStyle'] != "none" ) {
1240
- $selectors[' .uagb-rest_menu__wrap .uagb-rm__separator'] = array(
1241
- 'border-top-color'=> $attr['seperatorColor'],
1242
- 'border-top-style'=> $attr['seperatorStyle'],
1243
- 'border-top-width'=> $attr['seperatorThickness'] . "px",
1244
- 'width'=> $attr['seperatorWidth'] . "%",
1245
- );
1246
- }
1247
-
1248
- $r_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
1249
- 'margin-left'=> '0%',
1250
- 'clear'=> 'left',
1251
- );
1252
-
1253
- $t_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['tcolumns'].'n+1)'] = array(
1254
- 'margin-left'=> '0%',
1255
- 'clear'=> 'left',
1256
- );
1257
-
1258
- $m_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['mcolumns'].'n+1)'] = array(
1259
- 'margin-left'=> '0%',
1260
- 'clear'=> 'left',
1261
- );
1262
-
1263
- // @codingStandardsIgnoreEnd
1264
-
1265
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
1266
- $r_desktop = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 1024px)', $r_selectors, '#uagb-rm-' . $id );
1267
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 768px) and (max-width: 1023px)', $t_selectors, '#uagb-rm-' . $id );
1268
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-rm-' . $id );
1269
-
1270
- return $desktop . $r_desktop . $tablet . $mobile;
1271
- }
1272
- }
1273
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Block Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Block_Helper.
12
+ */
13
+ class UAGB_Block_Helper {
14
+
15
+ /**
16
+ * Get Section Block CSS
17
+ *
18
+ * @since 0.0.1
19
+ * @param array $attr The block attributes.
20
+ * @param string $id The selector ID.
21
+ * @return array The Widget List.
22
+ */
23
+ public static function get_section_css( $attr, $id ) {
24
+
25
+ // @codingStandardsIgnoreStart
26
+
27
+ $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
+
29
+ $attr = array_merge( $defaults, $attr );
30
+
31
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
+
33
+ $style = array(
34
+ 'padding-top' => $attr['topPadding'] . 'px',
35
+ 'padding-bottom' => $attr['bottomPadding'] . 'px',
36
+ 'padding-left' => $attr['leftPadding'] . 'px',
37
+ 'padding-right' => $attr['rightPadding'] . 'px',
38
+ );
39
+
40
+ if ( 'right' == $attr['align'] ) {
41
+ $style['margin-right'] = $attr['rightMargin'] . 'px';
42
+ $style['margin-left'] = 'auto';
43
+ $style['margin-top'] = $attr['topMargin'] . 'px';
44
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
45
+ } elseif ( 'left' == $attr['align'] ) {
46
+ $style['margin-right'] = 'auto';
47
+ $style['margin-left'] = $attr['leftMargin'] . 'px';
48
+ $style['margin-top'] = $attr['topMargin'] . 'px';
49
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
50
+ } elseif ( 'center' == $attr['align'] ) {
51
+ $style['margin-right'] = 'auto';
52
+ $style['margin-left'] = 'auto';
53
+ $style['margin-top'] = $attr['topMargin'] . 'px';
54
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
55
+ } else {
56
+ $style['margin-right'] = $attr['rightMargin'] . 'px';
57
+ $style['margin-left'] = $attr['leftMargin'] . 'px';
58
+ $style['margin-top'] = $attr['topMargin'] . 'px';
59
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
60
+ }
61
+
62
+ if ( "none" != $attr['borderStyle'] ) {
63
+ $style["border-style"] = $attr['borderStyle'];
64
+ $style["border-width"] = $attr['borderWidth'] . "px";
65
+ $style["border-radius"] = $attr['borderRadius'] . "px";
66
+ $style["border-color"] = $attr['borderColor'];
67
+ }
68
+
69
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
70
+
71
+ $section_width = '100%';
72
+
73
+ if ( isset( $attr['contentWidth'] ) ) {
74
+
75
+ if ( 'boxed' == $attr['contentWidth'] ) {
76
+ if ( isset( $attr['width'] ) ) {
77
+ $section_width = $attr['width'] . 'px';
78
+ }
79
+ }
80
+ }
81
+
82
+ $style['max-width'] = $section_width;
83
+
84
+ if ( 'color' === $bg_type ) {
85
+
86
+ $style['background-color'] = $attr['backgroundColor'];
87
+
88
+ } elseif ( 'image' === $bg_type ) {
89
+
90
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
91
+ $style['background-position'] = $position;
92
+ $style['background-attachment'] = $attr['backgroundAttachment'];
93
+ $style['background-repeat'] = $attr['backgroundRepeat'];
94
+ $style['background-size'] = $attr['backgroundSize'];
95
+
96
+ } elseif ( 'gradient' === $bg_type ) {
97
+ $style['background-color'] = 'transparent';
98
+
99
+ if ( 'linear' === $attr['gradientType'] ) {
100
+
101
+ $style['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
102
+ } else {
103
+
104
+ $style['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
105
+ }
106
+ }
107
+
108
+ $inner_width = '100%';
109
+
110
+ if ( isset( $attr['contentWidth'] ) ) {
111
+ if ( 'boxed' != $attr['contentWidth'] ) {
112
+ if ( isset( $attr['innerWidth'] ) ) {
113
+ $inner_width = $attr['innerWidth'] . 'px';
114
+ }
115
+ }
116
+ }
117
+
118
+ $selectors = array(
119
+ '.uagb-section__wrap' => $style,
120
+ ' .uagb-section__video-wrap' => array(
121
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
122
+ ),
123
+ ' .uagb-section__inner-wrap' => array(
124
+ 'max-width' => $inner_width,
125
+ ),
126
+ );
127
+
128
+ if ( 'video' == $bg_type ) {
129
+ $selectors[' > .uagb-section__overlay'] = array(
130
+ 'opacity' => 1,
131
+ 'background-color' => $attr['backgroundVideoColor'],
132
+ );
133
+ } else if ( 'image' == $bg_type ) {
134
+ $selectors[' > .uagb-section__overlay'] = array(
135
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
136
+ 'background-color' => $attr['backgroundImageColor'],
137
+ );
138
+ } else {
139
+ $selectors[' > .uagb-section__overlay'] = array(
140
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
141
+ );
142
+ }
143
+
144
+ // @codingStandardsIgnoreEnd
145
+
146
+ return UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
147
+ }
148
+
149
+ /**
150
+ * Get Advanced Heading Block CSS
151
+ *
152
+ * @since 0.0.1
153
+ * @param array $attr The block attributes.
154
+ * @param string $id The selector ID.
155
+ * @return array The Widget List.
156
+ */
157
+ public static function get_adv_heading_css( $attr, $id ) {
158
+
159
+ // @codingStandardsIgnoreStart
160
+
161
+ $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
162
+
163
+ $attr = array_merge( $defaults, (array) $attr );
164
+
165
+ $selectors = array(
166
+ ' .uagb-heading-text' => array(
167
+ 'text-align' => $attr['headingAlign'],
168
+ 'font-size' => $attr['headFontSize'] . "px",
169
+ 'color' => $attr['headingColor'],
170
+ 'margin-bottom' => $attr['headSpace'] . "px",
171
+ ),
172
+ ' .uagb-separator-wrap' => array(
173
+ 'text-align' => $attr['headingAlign'],
174
+ ),
175
+ ' .uagb-desc-text' => array(
176
+ 'text-align' => $attr['headingAlign'],
177
+ 'font-size' => $attr['subHeadFontSize'] . "px",
178
+ 'color' => $attr['subHeadingColor'],
179
+ 'margin-bottom' => $attr['subHeadSpace'] . "px",
180
+ )
181
+
182
+ );
183
+
184
+ $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
185
+ if( 'none' !== $seperatorStyle ){
186
+ $selectors[' .uagb-separator'] = array (
187
+ 'border-top-style' => $attr['seperatorStyle'] ,
188
+ 'border-top-width' => $attr['separatorHeight'] . "px",
189
+ 'width' => $attr['separatorWidth'] . "%",
190
+ 'border-color' => $attr['separatorColor'],
191
+ 'margin-bottom' => $attr['separatorSpace'] . "px",
192
+ );
193
+
194
+ }
195
+ // @codingStandardsIgnoreEnd
196
+
197
+ return UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
198
+ }
199
+
200
+ /**
201
+ * Get Multi Buttons Block CSS
202
+ *
203
+ * @since 0.0.1
204
+ * @param array $attr The block attributes.
205
+ * @param string $id The selector ID.
206
+ * @return array The Widget List.
207
+ */
208
+ public static function get_buttons_css( $attr, $id ) {
209
+
210
+ // @codingStandardsIgnoreStart
211
+
212
+ $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
213
+
214
+ $attr = array_merge( $defaults, (array) $attr );
215
+
216
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
217
+
218
+ $m_selectors = array();
219
+ $t_selectors = array();
220
+
221
+ $selectors = array(
222
+ ' .uagb-button__wrapper' => array(
223
+ 'margin-left' => ( $attr['gap']/2 ) . 'px',
224
+ 'margin-right' => ( $attr['gap']/2 ) . 'px'
225
+ ),
226
+ ' .uagb-button__wrapper:first-child' => array (
227
+ 'margin-left' => 0
228
+ ),
229
+ ' .uagb-button__wrapper:last-child' => array (
230
+ 'margin-right' => 0
231
+ ),
232
+ ' .uagb-buttons__wrap' => array (
233
+ 'justify-content' => $alignment,
234
+ '-webkit-box-pack'=> $alignment,
235
+ '-ms-flex-pack' => $alignment,
236
+ 'justify-content' => $alignment,
237
+ '-webkit-box-align' => $alignment,
238
+ '-ms-flex-align' => $alignment,
239
+ 'align-items' => $alignment,
240
+ )
241
+ );
242
+
243
+ foreach ( $attr['buttons'] as $key => $button ) {
244
+
245
+ $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
246
+ $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
247
+ $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
248
+ $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
249
+ $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
250
+ $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
251
+ $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
252
+ $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
253
+ $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
254
+ $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
255
+ $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
256
+ $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
257
+
258
+ if ( $attr['btn_count'] <= $key ) {
259
+ break;
260
+ }
261
+
262
+ $selectors[' .uagb-buttons-repeater-' . $key] = array (
263
+ 'font-size' => $button['size'] . 'px',
264
+ 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderColor'],
265
+ 'border-radius' => $button['borderRadius'] . 'px',
266
+ 'background' => $button['background']
267
+ );
268
+
269
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
270
+ 'background' => $button['hBackground'],
271
+ 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderHColor'],
272
+ );
273
+
274
+ $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
275
+ 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
276
+ 'color' => $button['color']
277
+ );
278
+
279
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
280
+ 'color' => $button['hColor']
281
+ );
282
+ }
283
+
284
+ if ( "desktop" == $attr['stack'] ) {
285
+
286
+ $selectors[" .uagb-button__wrapper"] = array (
287
+ 'margin-left' => 0,
288
+ 'margin-right' => 0,
289
+ "margin-bottom" => $attr['gap'] . "px"
290
+ );
291
+
292
+ $selectors[" .uagb-buttons__wrap"] = array (
293
+ "flex-direction" => "column"
294
+ );
295
+
296
+ $selectors[" .uagb-button__wrapper:last-child"] = array (
297
+ "margin-bottom" => 0
298
+ );
299
+
300
+ } else if ( "tablet" == $attr['stack'] ) {
301
+
302
+ $t_selectors[" .uagb-button__wrapper"] = array (
303
+ 'margin-left' => 0,
304
+ 'margin-right' => 0,
305
+ "margin-bottom" => $attr['gap'] . "px"
306
+ );
307
+
308
+ $t_selectors[" .uagb-buttons__wrap"] = array (
309
+ "flex-direction" => "column"
310
+ );
311
+
312
+ $t_selectors[" .uagb-button__wrapper:last-child"] = array (
313
+ "margin-bottom" => 0
314
+ );
315
+
316
+ } else if ( "mobile" == $attr['stack'] ) {
317
+
318
+ $m_selectors[" .uagb-button__wrapper"] = array (
319
+ 'margin-left' => 0,
320
+ 'margin-right' => 0,
321
+ "margin-bottom" => $attr['gap'] . "px"
322
+ );
323
+
324
+ $m_selectors[" .uagb-buttons__wrap"] = array (
325
+ "flex-direction" => "column"
326
+ );
327
+
328
+ $m_selectors[" .uagb-button__wrapper:last-child"] = array (
329
+ "margin-bottom" => 0
330
+ );
331
+ }
332
+
333
+ // @codingStandardsIgnoreEnd
334
+
335
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
336
+
337
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-buttons-' . $id );
338
+
339
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-buttons-' . $id );
340
+
341
+ return $desktop . $tablet . $mobile;
342
+ }
343
+
344
+
345
+ /**
346
+ * Get Info Box CSS
347
+ *
348
+ * @since 0.0.1
349
+ * @param array $attr The block attributes.
350
+ * @param string $id The selector ID.
351
+ * @return array The Widget List.
352
+ */
353
+ public static function get_info_box_css( $attr, $id ) {
354
+
355
+ // @codingStandardsIgnoreStart.
356
+ $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
357
+
358
+ $attr = (object) array_merge( $defaults, (array) $attr );
359
+
360
+ $selectors = array(
361
+ ' .uagb-ifb-icon' => array(
362
+ 'height' => $attr->iconSize. "px",
363
+ 'width' => $attr->iconSize. "px",
364
+ 'line-height' => $attr->iconSize. "px",
365
+ ),
366
+ ' .uagb-ifb-icon > span' => array(
367
+ 'font-size' => $attr->iconSize. "px",
368
+ 'height' => $attr->iconSize. "px",
369
+ 'width' => $attr->iconSize. "px",
370
+ 'line-height' => $attr->iconSize. "px",
371
+ 'color' => $attr->iconColor,
372
+ ),
373
+ ' .uagb-ifb-icon:hover > span' => array(
374
+ 'color' => $attr->iconHover ,
375
+ ),
376
+ ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
377
+ 'margin-left' => $attr->iconLeftMargin.'px',
378
+ 'margin-right' => $attr->iconRightMargin.'px',
379
+ 'margin-top' => $attr->iconTopMargin.'px',
380
+ 'margin-bottom' => $attr->iconBottomMargin.'px',
381
+ ),
382
+
383
+ // Image.
384
+ ' .uagb-ifb-image-content > img' => array(
385
+ 'width'=> $attr->imageWidth.'px',
386
+ 'max-width'=> $attr->imageWidth.'px',
387
+ ),
388
+
389
+ ' .uagb-infobox .uagb-ifb-image-content img' => array(
390
+ 'border-radius' => $attr->iconimgBorderRadius.'px',
391
+ ),
392
+
393
+
394
+ // CTA style .
395
+ ' .uagb-infobox-cta-link' => array(
396
+ 'font-size' => $attr->ctaFontSize.'px',
397
+ 'color' => $attr->ctaLinkColor,
398
+ ),
399
+ ' .uagb-infobox-cta-link:hover' => array(
400
+ 'color' => $attr->ctaLinkHoverColor,
401
+ ),
402
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
403
+ 'font-size' => $attr->ctaFontSize.'px',
404
+ 'color' => $attr->ctaBtnLinkColor,
405
+ 'background-color' => $attr->ctaBgColor,
406
+ 'border-style' => $attr->ctaBorderStyle,
407
+ 'border-color' => $attr->ctaBorderColor,
408
+ 'border-radius' => $attr->ctaBorderRadius . "px",
409
+ 'border-width' => $attr->ctaBorderWidth . "px",
410
+ 'padding-top' => $attr->ctaBtnVertPadding . "px",
411
+ 'padding-bottom' => $attr->ctaBtnVertPadding . "px",
412
+ 'padding-left' => $attr->ctaBtnHrPadding . "px",
413
+ 'padding-right' => $attr->ctaBtnHrPadding . "px",
414
+
415
+ ),
416
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
417
+ 'color' => $attr->ctaLinkHoverColor,
418
+ 'background-color' => $attr->ctaBgHoverColor,
419
+ 'border-color' => $attr->ctaBorderhoverColor,
420
+ ),
421
+
422
+ // Prefix Style.
423
+ ' .uagb-ifb-title-prefix' => array(
424
+ 'font-size' => $attr->prefixFontSize.'px',
425
+ 'color' => $attr->prefixColor,
426
+ 'margin-bottom' => $attr->prefixSpace.'px',
427
+ ),
428
+
429
+ // Title Style.
430
+ ' .uagb-ifb-title' => array(
431
+ 'font-size' => $attr->headFontSize.'px',
432
+ 'color' => $attr->headingColor,
433
+ 'margin-bottom' => $attr->headSpace.'px',
434
+ ),
435
+
436
+ // Description Style.
437
+ ' .uagb-ifb-desc' => array(
438
+ 'font-size' => $attr->subHeadFontSize.'px',
439
+ 'color' => $attr->subHeadingColor,
440
+ 'margin-bottom' => $attr->subHeadSpace.'px',
441
+ ),
442
+
443
+ // Seperator.
444
+ ' .uagb-ifb-separator' => array(
445
+ 'width' => $attr->seperatorWidth.'%',
446
+ 'border-top-width' => $attr->seperatorThickness.'px',
447
+ 'border-top-color' => $attr->seperatorColor,
448
+ 'border-top-style' => $attr->seperatorStyle,
449
+ ),
450
+ ' .uagb-ifb-separator-parent' => array(
451
+ 'margin-bottom' => $attr->seperatorSpace.'px',
452
+ ),
453
+
454
+ // CTA icon space.
455
+ ' .uagb-ifb-align-icon-after' => array(
456
+ 'margin-left' => $attr->ctaIconSpace.'px',
457
+ ),
458
+ ' .uagb-ifb-align-icon-before' => array(
459
+ 'margin-right' => $attr->ctaIconSpace.'px',
460
+ ),
461
+
462
+ );
463
+
464
+ if( 'above-title' === $attr->iconimgPosition || 'below-title' === $attr->iconimgPosition ){
465
+ $selectors[' .uagb-infobox__content-wrap'] = array(
466
+ 'text-align' => $attr->headingAlign,
467
+ );
468
+ }
469
+
470
+ // @codingStandardsIgnoreEnd.
471
+ return UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
472
+ }
473
+
474
+ /**
475
+ * Get Testimonial CSS
476
+ *
477
+ * @since 0.0.1
478
+ * @param array $attr The block attributes.
479
+ * @param string $id The selector ID.
480
+ * @return array The Widget List.
481
+ */
482
+ public static function get_testimonial_css( $attr, $id ) {
483
+
484
+ // @codingStandardsIgnoreStart.
485
+
486
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
487
+
488
+ $attr = (object) array_merge( $defaults, (array) $attr );
489
+
490
+ $position = str_replace( '-', ' ', $attr->backgroundPosition );
491
+ $selectors = array(
492
+ ' .uagb-testimonial__wrap' => array(
493
+ 'padding-left' => ( ($attr->columnGap) /2 ) . 'px',
494
+ 'padding-right' => ( ($attr->columnGap) /2 ) . 'px',
495
+ 'margin-bottom' => $attr->rowGap . 'px',
496
+ ),
497
+ ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
498
+ 'padding-left' => $attr->imgHrPadding . 'px',
499
+ 'padding-right' => $attr->imgHrPadding . 'px',
500
+ 'padding-top' => $attr->imgVrPadding . 'px',
501
+ 'padding-bottom' => $attr->imgVrPadding . 'px',
502
+ ),
503
+ ' .uagb-tm__image img' => array(
504
+ 'width' => $attr->imageWidth . 'px',
505
+ 'max-width' => $attr->imageWidth . 'px',
506
+ ),
507
+ ' .uagb-tm__content' => array(
508
+ 'text-align' => $attr->headingAlign,
509
+ 'padding' => $attr->contentPadding . 'px',
510
+ ),
511
+ ' .uagb-tm__author-name' => array(
512
+ 'color' => $attr->authorColor,
513
+ 'font-size' => $attr->nameFontSize . 'px',
514
+ 'margin-bottom' => $attr->nameSpace . 'px',
515
+ ),
516
+ ' .uagb-tm__company' => array(
517
+ 'color' => $attr->companyColor,
518
+ 'font-size' => $attr->companyFontSize . 'px',
519
+ ),
520
+ ' .uagb-tm__desc' => array(
521
+ 'color' => $attr->descColor,
522
+ 'font-size' => $attr->descFontSize . 'px',
523
+ 'margin-bottom' => $attr->descSpace . 'px',
524
+ ),
525
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
526
+ 'background-color' => $attr->backgroundColor,
527
+ ),
528
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
529
+ 'background-image' => ( isset( $attr->backgroundImage['url'] ) ) ? 'url("'.$attr->backgroundImage['url'].'")' : null,
530
+ 'background-position'=> $position,
531
+ 'background-repeat'=> $attr->backgroundRepeat,
532
+ 'background-size'=> $attr->backgroundSize,
533
+ ),
534
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
535
+ 'background-color' => $attr->backgroundImageColor,
536
+ 'opacity' => ( isset( $attr->backgroundOpacity ) && '' != $attr->backgroundOpacity ) ? ( ( 100 - $attr->backgroundOpacity ) / 100 ) : '0.5',
537
+ ),
538
+ ' .uagb-testimonial__wrap .uagb-tm__content' => array(
539
+ 'border-color' => $attr->borderColor,
540
+ 'border-style' => $attr->borderStyle,
541
+ 'border-width' => $attr->borderWidth . 'px',
542
+ 'border-radius' => $attr->borderRadius . 'px',
543
+ ),
544
+ ' ul.slick-dots li button:before' => array(
545
+ 'color' => $attr->arrowColor,
546
+ ),
547
+ ' ul.slick-dots li.slick-active button:before' => array(
548
+ 'color' => $attr->arrowColor,
549
+ ),
550
+ );
551
+
552
+ $r_selectors = array(
553
+ ' .uagb-tm__content' => array(
554
+ 'text-align' => 'center',
555
+ ),
556
+ );
557
+
558
+ // @codingStandardsIgnoreEnd.
559
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
560
+
561
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $r_selectors, '#uagb-testimonial-' . $id );
562
+
563
+ return $desktop . $mobile;
564
+
565
+ }
566
+
567
+ /**
568
+ * Get Team Block CSS
569
+ *
570
+ * @since 0.0.1
571
+ * @param array $attr The block attributes.
572
+ * @param string $id The selector ID.
573
+ * @return array The Widget List.
574
+ */
575
+ public static function get_team_css( $attr, $id ) {
576
+
577
+ // @codingStandardsIgnoreStart
578
+
579
+ $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
580
+
581
+ $attr = array_merge( $defaults, (array) $attr );
582
+
583
+ $selectors = array(
584
+ " p.uagb-team__desc" => array(
585
+ "font-size" => $attr['descFontSize'] . "px",
586
+ "color" => $attr['descColor'],
587
+ "margin-bottom" => $attr['descSpace'] . "px",
588
+ ),
589
+ " .uagb-team__prefix" => array(
590
+ "font-size" => $attr['prefixFontSize'] . "px",
591
+ "color" => $attr['prefixColor'],
592
+ ),
593
+ " .uagb-team__desc-wrap" => array(
594
+ "margin-top" => $attr['prefixSpace'] . "px",
595
+ ),
596
+ " .uagb-team__social-icon a" => array(
597
+ "color" => $attr['socialColor'],
598
+ "font-size" => $attr['socialFontSize'] . "px",
599
+ "width" => $attr['socialFontSize'] . "px",
600
+ "height" => $attr['socialFontSize'] . "px",
601
+ ),
602
+ " .uagb-team__social-icon:hover a" => array(
603
+ "color" => $attr['socialHoverColor'],
604
+ ),
605
+ ".uagb-team__image-position-left .uagb-team__social-icon" => array(
606
+ "margin-right" => $attr['socialSpace'] . "px",
607
+ "margin-left" => "0",
608
+ ),
609
+ ".uagb-team__image-position-right .uagb-team__social-icon" => array(
610
+ "margin-left" => $attr['socialSpace'] . "px",
611
+ "margin-right" => "0",
612
+ ),
613
+ ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
614
+ "margin-right" => ( $attr['socialSpace'] / 2 ) . "px",
615
+ "margin-left" => ( $attr['socialSpace'] / 2 ) . "px",
616
+ ),
617
+ ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
618
+ "margin-right" => $attr['socialSpace'] . "px",
619
+ "margin-left" => "0",
620
+ ),
621
+ ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
622
+ "margin-left" => $attr['socialSpace'] . "px",
623
+ "margin-right" => "0",
624
+ ),
625
+ " .uagb-team__image-wrap" => array(
626
+ "margin-top" => $attr['imgTopMargin'] . "px",
627
+ "margin-bottom" => $attr['imgBottomMargin'] . "px",
628
+ "margin-left" => $attr['imgLeftMargin'] . "px",
629
+ "margin-right" => $attr['imgRightMargin'] . "px",
630
+ "width" => $attr['imgWidth'] . "px"
631
+ ),
632
+ );
633
+
634
+ if( 'above' == $attr['imgPosition'] ) {
635
+ if ( 'center' == $attr['align'] ) {
636
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
637
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
638
+ } else if ( 'left' == $attr['align'] ) {
639
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
640
+ } else if ( 'right' == $attr['align'] ) {
641
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
642
+ }
643
+ }
644
+
645
+ if ( "above" != $attr['imgPosition'] ) {
646
+ if ( "middle" == $attr['imgAlign'] ) {
647
+ $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
648
+ }
649
+ }
650
+
651
+ $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
652
+ "font-size" => $attr['titleFontSize'] . "px",
653
+ "color" => $attr['titleColor'],
654
+ "margin-bottom" => $attr['titleSpace'] . "px",
655
+ );
656
+
657
+ // @codingStandardsIgnoreEnd
658
+
659
+ return UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
660
+ }
661
+
662
+ /**
663
+ * Get Social Share Block CSS
664
+ *
665
+ * @since 0.0.1
666
+ * @param array $attr The block attributes.
667
+ * @param string $id The selector ID.
668
+ * @return array The Widget List.
669
+ */
670
+ public static function get_social_share_css( $attr, $id ) {
671
+
672
+ // @codingStandardsIgnoreStart
673
+
674
+ $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
675
+
676
+ $attr = array_merge( $defaults, (array) $attr );
677
+
678
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
679
+
680
+ $m_selectors = array();
681
+ $t_selectors = array();
682
+
683
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
684
+ "margin-left" => 0,
685
+ "margin-right" => 0,
686
+ "margin-bottom" => $attr['gap'] . "px"
687
+ );
688
+
689
+ $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
690
+ "flex-direction" => "column"
691
+ );
692
+
693
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
694
+ "margin-bottom" => 0
695
+ );
696
+
697
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
698
+ "margin-left" => ( $attr['gap']/2 ) . "px",
699
+ "margin-right" => ( $attr['gap']/2 ) . "px"
700
+ );
701
+
702
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
703
+ "margin-left" => 0
704
+ );
705
+
706
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
707
+ "margin-right" => 0
708
+ );
709
+
710
+ $selectors[" .uagb-ss__wrapper"] = array(
711
+ "padding" => $attr['bgSize'] . "px",
712
+ "border-radius" => $attr['borderRadius'] . "px"
713
+ );
714
+
715
+ $selectors[" .uagb-ss__wrapper .uagb-ss__link"] = array(
716
+ "width" => $attr['size'] . "px"
717
+ );
718
+
719
+ $selectors[" .uagb-ss__source-image"] = array(
720
+ "width" => $attr['size'] . "px"
721
+ );
722
+
723
+ $selectors[" .uagb-ss__source-icon"] = array(
724
+ "width" => $attr['size'] . "px",
725
+ "height" => $attr['size'] . "px",
726
+ "font-size" => $attr['size'] . "px"
727
+ );
728
+
729
+ $selectors[" .uagb-ss__source-icon:before"] = array(
730
+ "width" => $attr['size'] . "px",
731
+ "height" => $attr['size'] . "px",
732
+ "font-size" => $attr['size'] . "px"
733
+ );
734
+
735
+ foreach ( $attr['socials'] as $key => $social ) {
736
+
737
+ $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
738
+ $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
739
+
740
+ if ( $attr['social_count'] <= $key ) {
741
+ break;
742
+ }
743
+
744
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
745
+ "color" => $social['icon_color']
746
+ );
747
+
748
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
749
+ "color" => $social['icon_hover_color']
750
+ );
751
+
752
+ $selectors[" .uagb-ss-repeater-" . $key] = array (
753
+ "background" => $social['icon_bg_color']
754
+ );
755
+
756
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
757
+ "background" => $social['icon_bg_hover_color']
758
+ );
759
+ }
760
+
761
+ $selectors[" .uagb-social-share__wrap"] = array(
762
+ "justify-content" => $alignment,
763
+ "-webkit-box-pack" => $alignment,
764
+ "-ms-flex-pack" => $alignment,
765
+ "justify-content" => $alignment,
766
+ );
767
+
768
+ if ( 'horizontal' == $attr['social_layout'] ) {
769
+
770
+ if ( "desktop" == $attr['stack'] ) {
771
+
772
+ $selectors[" .uagb-ss__wrapper"] = array (
773
+ "margin-left" => 0,
774
+ "margin-right" => 0,
775
+ "margin-bottom" => $attr['gap'] . "px"
776
+ );
777
+
778
+ $selectors[" .uagb-social-share__wrap"] = array (
779
+ "flex-direction" => "column"
780
+ );
781
+
782
+ $selectors[" .uagb-ss__wrapper:last-child"] = array (
783
+ "margin-bottom" => 0
784
+ );
785
+
786
+ } else if ( "tablet" == $attr['stack'] ) {
787
+
788
+ $t_selectors[" .uagb-ss__wrapper"] = array (
789
+ "margin-left" => 0,
790
+ "margin-right" => 0,
791
+ "margin-bottom" => $attr['gap'] . "px"
792
+ );
793
+
794
+ $t_selectors[" .uagb-social-share__wrap"] = array (
795
+ "flex-direction" => "column"
796
+ );
797
+
798
+ $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
799
+ "margin-bottom" => 0
800
+ );
801
+
802
+ } else if ( "mobile" == $attr['stack'] ) {
803
+
804
+ $m_selectors[" .uagb-ss__wrapper"] = array (
805
+ "margin-left" => 0,
806
+ "margin-right" => 0,
807
+ "margin-bottom" => $attr['gap'] . "px"
808
+ );
809
+
810
+ $m_selectors[" .uagb-social-share__wrap"] = array (
811
+ "flex-direction" => "column"
812
+ );
813
+
814
+ $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
815
+ "margin-bottom" => 0
816
+ );
817
+ }
818
+ }
819
+
820
+ // @codingStandardsIgnoreEnd
821
+
822
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
823
+
824
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-social-share-' . $id );
825
+
826
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-social-share-' . $id );
827
+
828
+ return $desktop . $tablet . $mobile;
829
+ }
830
+
831
+ /**
832
+ * Get Icon List Block CSS
833
+ *
834
+ * @since 0.0.1
835
+ * @param array $attr The block attributes.
836
+ * @param string $id The selector ID.
837
+ * @return array The Widget List.
838
+ */
839
+ public static function get_icon_list_css( $attr, $id ) {
840
+
841
+ // @codingStandardsIgnoreStart
842
+
843
+ $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
844
+
845
+ $attr = array_merge( $defaults, (array) $attr );
846
+
847
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
848
+
849
+ $m_selectors = array();
850
+ $t_selectors = array();
851
+
852
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper"] = array(
853
+ "margin-left" => 0,
854
+ "margin-right" => 0,
855
+ "margin-bottom" => $attr['gap'] . "px"
856
+ );
857
+
858
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrap"] = array(
859
+ "flex-direction" => "column"
860
+ );
861
+
862
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child"] = array(
863
+ "margin-bottom" => 0
864
+ );
865
+
866
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper"] = array(
867
+ "margin-left" => ( $attr['gap']/2 ) . "px",
868
+ "margin-right" => ( $attr['gap']/2 ) . "px"
869
+ );
870
+
871
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child"] = array(
872
+ "margin-left" => 0
873
+ );
874
+
875
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child"] = array(
876
+ "margin-right" => 0
877
+ );
878
+
879
+ $selectors[" .uagb-icon-list__source-image"] = array(
880
+ "width" => $attr['size'] . "px"
881
+ );
882
+
883
+ $selectors[" .uagb-icon-list__source-icon"] = array(
884
+ "width" => $attr['size'] . "px",
885
+ "height" => $attr['size'] . "px",
886
+ "font-size" => $attr['size'] . "px"
887
+ );
888
+
889
+ $selectors[" .uagb-icon-list__source-icon:before"] = array(
890
+ "width" => $attr['size'] . "px",
891
+ "height" => $attr['size'] . "px",
892
+ "font-size" => $attr['size'] . "px"
893
+ );
894
+
895
+ $selectors[" .uagb-icon-list__label-wrap"] = array(
896
+ "text-align" => $attr['align']
897
+ );
898
+
899
+ if ( 'right' == $attr['align'] ) {
900
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
901
+ "margin-left" => $attr['inner_gap'] . "px"
902
+ );
903
+ $selectors[" .uagb-icon-list__content-wrap"] = array(
904
+ "flex-direction" => "row-reverse"
905
+ );
906
+ } else {
907
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
908
+ "margin-right" => $attr['inner_gap'] . "px"
909
+ );
910
+ }
911
+
912
+ $selectors[" .uagb-icon-list__source-wrap"] = array(
913
+ "padding" => $attr['bgSize'] . "px",
914
+ "border-radius" => $attr['borderRadius'] . "px"
915
+ );
916
+
917
+ foreach ( $attr['icons'] as $key => $icon ) {
918
+
919
+ $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
920
+ $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
921
+ $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
922
+ $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
923
+ $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
924
+ $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
925
+
926
+ if ( $attr['icon_count'] <= $key ) {
927
+ break;
928
+ }
929
+
930
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
931
+ "color" => $icon['icon_color']
932
+ );
933
+
934
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
935
+ "color" => $icon['icon_hover_color']
936
+ );
937
+
938
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
939
+ "color" => $icon['label_color'],
940
+ "font-size" => $attr['fontSize'] . 'px'
941
+ );
942
+
943
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
944
+ "color" => $icon['label_hover_color']
945
+ );
946
+
947
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
948
+ "background" => $icon['icon_bg_color']
949
+ );
950
+
951
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
952
+ "background" => $icon['icon_bg_hover_color']
953
+ );
954
+ }
955
+
956
+ $selectors[" .uagb-icon-list__wrap"] = array(
957
+ "justify-content" => $alignment,
958
+ "-webkit-box-pack" => $alignment,
959
+ "-ms-flex-pack" => $alignment,
960
+ "justify-content" => $alignment,
961
+ "-webkit-box-align" => $alignment,
962
+ "-ms-flex-align" => $alignment,
963
+ "align-items" => $alignment,
964
+ );
965
+
966
+ if ( 'horizontal' == $attr['icon_layout'] ) {
967
+
968
+ if ( "tablet" == $attr['stack'] ) {
969
+
970
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
971
+ "margin-left" => 0,
972
+ "margin-right" => 0,
973
+ "margin-bottom" => $attr['gap'] . "px"
974
+ );
975
+
976
+ $t_selectors[" .uagb-icon-list__wrap"] = array (
977
+ "flex-direction" => "column"
978
+ );
979
+
980
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
981
+ "margin-bottom" => 0
982
+ );
983
+
984
+ } else if ( "mobile" == $attr['stack'] ) {
985
+
986
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
987
+ "margin-left" => 0,
988
+ "margin-right" => 0,
989
+ "margin-bottom" => $attr['gap'] . "px"
990
+ );
991
+
992
+ $m_selectors[" .uagb-icon-list__wrap"] = array (
993
+ "flex-direction" => "column"
994
+ );
995
+
996
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
997
+ "margin-bottom" => 0
998
+ );
999
+ }
1000
+ }
1001
+
1002
+ // @codingStandardsIgnoreEnd
1003
+
1004
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
1005
+
1006
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-icon-list-' . $id );
1007
+
1008
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-icon-list-' . $id );
1009
+
1010
+ return $desktop . $tablet . $mobile;
1011
+ }
1012
+
1013
+ /**
1014
+ * Get Content Timeline Block CSS
1015
+ *
1016
+ * @since 0.0.1
1017
+ * @param array $attr The block attributes.
1018
+ * @param string $id The selector ID.
1019
+ * @return array The Widget List.
1020
+ */
1021
+ public static function get_content_timeline_css( $attr, $id ) {
1022
+
1023
+ // @codingStandardsIgnoreStart
1024
+
1025
+ $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
1026
+
1027
+ $attr = array_merge( $defaults, (array) $attr );
1028
+
1029
+ $t_selectors = array();
1030
+
1031
+ $selectors[" .uagb-timeline__heading"] = array(
1032
+ "text-align" => $attr['align'],
1033
+ "color" => $attr['headingColor'],
1034
+ "font-size" => $attr['headFontSize'] . "px"
1035
+ );
1036
+
1037
+ $selectors[" .uagb-timeline__heading-text"] = array(
1038
+ "margin-bottom" => $attr['headSpace'] . "px"
1039
+ );
1040
+
1041
+ $selectors[" .uagb-timeline-desc-content"] = array(
1042
+ "text-align" => $attr['align'],
1043
+ "color" => $attr['subHeadingColor'],
1044
+ "font-size" => $attr['subHeadFontSize'] . "px",
1045
+ );
1046
+ $selectors[' .uagb-timeline__events-new'] = array(
1047
+ 'text-align' => $attr['align']
1048
+ );
1049
+ $selectors['.uagb-timeline__date-inner'] = array(
1050
+ 'text-align' => $attr['align']
1051
+ );
1052
+
1053
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1054
+ 'border-left-color' => $attr['backgroundColor']
1055
+ );
1056
+
1057
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1058
+ 'border-left-color' => $attr['backgroundColor']
1059
+ );
1060
+
1061
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1062
+ 'border-right-color' => $attr['backgroundColor']
1063
+ );
1064
+
1065
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1066
+ 'border-right-color' => $attr['backgroundColor']
1067
+ );
1068
+
1069
+ $selectors[' .uagb-timeline__line__inner'] = array(
1070
+ 'background-color' => $attr['separatorFillColor']
1071
+ );
1072
+
1073
+ $selectors[' .uagb-timeline__line'] = array(
1074
+ 'background-color' => $attr['separatorColor'],
1075
+ 'width' => $attr['separatorwidth'].'px'
1076
+ );
1077
+
1078
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__line'] = array(
1079
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1080
+ );
1081
+
1082
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__line'] = array(
1083
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1084
+ );
1085
+
1086
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__line'] = array(
1087
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1088
+ );
1089
+
1090
+ $selectors[' .uagb-timeline__marker'] = array(
1091
+ 'background-color' => $attr['separatorBg'],
1092
+ 'min-height'=> $attr['connectorBgsize'].'px',
1093
+ 'min-width' => $attr['connectorBgsize'].'px',
1094
+ 'line-height' => $attr['connectorBgsize'].'px',
1095
+ 'border'=> $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
1096
+ );
1097
+
1098
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1099
+ 'height' => $attr['connectorBgsize'].'px',
1100
+ );
1101
+
1102
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1103
+ 'height' => $attr['connectorBgsize'].'px',
1104
+ );
1105
+
1106
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1107
+ 'height' => $attr['connectorBgsize'].'px',
1108
+ );
1109
+
1110
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1111
+ 'height' => $attr['connectorBgsize'].'px',
1112
+ );
1113
+
1114
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1115
+ 'margin-left' => $attr['horizontalSpace'].'px',
1116
+ 'margin-right'=> $attr['horizontalSpace'].'px',
1117
+ );
1118
+
1119
+ $selectors[' .uagb-timeline__field:not(:last-child)'] = array(
1120
+ 'margin-bottom' => $attr['verticalSpace'].'px',
1121
+ );
1122
+
1123
+ $selectors[' .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1124
+ 'margin-bottom' => $attr['dateBottomspace'].'px',
1125
+ 'color'=> $attr['dateColor'],
1126
+ 'font-size' => $attr['dateFontsize'].'px',
1127
+ 'text-align'=> $attr['align'],
1128
+ );
1129
+
1130
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1131
+ 'margin-left' => $attr['horizontalSpace'].'px',
1132
+ );
1133
+
1134
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1135
+ 'margin-right' => $attr['horizontalSpace'].'px',
1136
+ );
1137
+
1138
+ $selectors[' .uagb-timeline__date-new'] = array(
1139
+ 'color'=> $attr['dateColor'],
1140
+ 'font-size' => $attr['dateFontsize'].'px',
1141
+ );
1142
+
1143
+ $selectors[' .uagb-timeline__events-inner-new'] = array(
1144
+ 'background-color' => $attr['backgroundColor'],
1145
+ 'border-radius' => $attr['borderRadius'].'px',
1146
+ 'padding'=> $attr['bgPadding'].'px',
1147
+ );
1148
+
1149
+ $selectors[' .uagb-timeline__main .uagb-timeline__icon-new'] = array(
1150
+ 'color'=> $attr['iconColor'],
1151
+ 'font-size' => $attr['iconSize'].'px',
1152
+ );
1153
+
1154
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon'] = array(
1155
+ 'background' => $attr['iconBgFocus'],
1156
+ 'border-color'=> $attr['borderFocus'],
1157
+ );
1158
+
1159
+
1160
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new'] = array(
1161
+ 'color'=> $attr['iconFocus'],
1162
+ );
1163
+
1164
+ $t_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1165
+ 'margin-left' => 0,
1166
+ 'margin-right' => 0,
1167
+ );
1168
+
1169
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading"] = array(
1170
+ "text-align" => 'left',
1171
+ );
1172
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content"] = array(
1173
+ "text-align" => 'left',
1174
+ );
1175
+
1176
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new'] = array(
1177
+ 'text-align' => 'left'
1178
+ );
1179
+ $t_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner'] = array(
1180
+ 'text-align' => 'left'
1181
+ );
1182
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1183
+ 'text-align'=> 'left',
1184
+ );
1185
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after"] = array(
1186
+ "border-right-color" => $attr['backgroundColor'],
1187
+ );
1188
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line"] = array(
1189
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1190
+ );
1191
+
1192
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1193
+ 'margin-left' => 0,
1194
+ 'margin-right' => 0,
1195
+ );
1196
+
1197
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1198
+ 'margin-left' => $attr['horizontalSpace'].'px',
1199
+ );
1200
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1201
+ 'margin-left' => $attr['horizontalSpace'].'px',
1202
+ );
1203
+
1204
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading"] = array(
1205
+ "text-align" => 'left',
1206
+ );
1207
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content"] = array(
1208
+ "text-align" => 'left',
1209
+ );
1210
+
1211
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new'] = array(
1212
+ 'text-align' => 'left'
1213
+ );
1214
+ $m_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner'] = array(
1215
+ 'text-align' => 'left'
1216
+ );
1217
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1218
+ 'text-align'=> 'left',
1219
+ );
1220
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after"] = array(
1221
+ "border-right-color" => $attr['backgroundColor'],
1222
+ );
1223
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line"] = array(
1224
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1225
+ );
1226
+ // @codingStandardsIgnoreEnd
1227
+
1228
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
1229
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 1024px)', $t_selectors, '#uagb-ctm-' . $id );
1230
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-ctm-' . $id );
1231
+
1232
+ return $desktop . $tablet . $mobile;
1233
+ }
1234
+
1235
+ /**
1236
+ * Get Content Timeline Block CSS
1237
+ *
1238
+ * @since 0.0.1
1239
+ * @param array $attr The block attributes.
1240
+ * @param string $id The selector ID.
1241
+ * @return array The Widget List.
1242
+ */
1243
+ public static function get_post_timeline_css( $attr, $id ) {
1244
+
1245
+ // @codingStandardsIgnoreStart
1246
+
1247
+ $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
1248
+
1249
+ $attr = array_merge( $defaults, (array) $attr );
1250
+
1251
+ $t_selectors = array();
1252
+
1253
+ $selectors[" .uagb-timeline__heading"] = array(
1254
+ "text-align" => $attr['align'],
1255
+ );
1256
+ $selectors[" .uagb-timeline__author"] = array(
1257
+ "text-align" => $attr['align'],
1258
+ "margin-bottom" => $attr['authorSpace'] . "px"
1259
+ );
1260
+ $selectors[" .uagb-timeline__link_parent"] = array(
1261
+ "text-align" => $attr['align'],
1262
+ );
1263
+ $selectors[" .uagb-timeline__image a"] = array(
1264
+ "text-align" => $attr['align'],
1265
+ );
1266
+ $selectors[" .uagb-timeline__author-link"] = array(
1267
+ "color" => $attr['authorColor'],
1268
+ "font-size" => $attr['authorFontSize'] . "px"
1269
+ );
1270
+
1271
+ $selectors[" .dashicons-admin-users"] = array(
1272
+ "color" => $attr['authorColor'],
1273
+ "font-size" => $attr['authorFontSize'] . "px"
1274
+ );
1275
+
1276
+ $selectors[" .uagb-timeline__link"] = array(
1277
+ "color" => $attr['ctaColor'],
1278
+ "font-size" => $attr['ctaFontSize'] . "px",
1279
+ "background-color" => $attr['ctaBackground'],
1280
+ );
1281
+
1282
+ $selectors[" .uagb-timeline__heading a"] = array(
1283
+ "text-align" => $attr['align'],
1284
+ "color" => $attr['headingColor'],
1285
+ "font-size" => $attr['headFontSize'] . "px"
1286
+ );
1287
+
1288
+ $selectors[" .uagb-timeline__heading-text"] = array(
1289
+ "margin-bottom" => $attr['headSpace'] . "px"
1290
+ );
1291
+
1292
+ $selectors[" .uagb-timeline-desc-content"] = array(
1293
+ "text-align" => $attr['align'],
1294
+ "color" => $attr['subHeadingColor'],
1295
+ "font-size" => $attr['subHeadFontSize'] . "px",
1296
+ );
1297
+ $selectors[" .uagb_timeline__cta-enable .uagb-timeline-desc-content"] = array(
1298
+ "margin-bottom" => $attr['contentSpace'] . "px",
1299
+ );
1300
+
1301
+ $selectors[' .uagb-timeline__events-new'] = array(
1302
+ 'text-align' => $attr['align']
1303
+ );
1304
+ $selectors['.uagb-timeline__date-inner'] = array(
1305
+ 'text-align' => $attr['align']
1306
+ );
1307
+
1308
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1309
+ 'border-left-color' => $attr['backgroundColor']
1310
+ );
1311
+
1312
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1313
+ 'border-left-color' => $attr['backgroundColor']
1314
+ );
1315
+
1316
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1317
+ 'border-right-color' => $attr['backgroundColor']
1318
+ );
1319
+
1320
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1321
+ 'border-right-color' => $attr['backgroundColor']
1322
+ );
1323
+
1324
+ $selectors[' .uagb-timeline__line__inner'] = array(
1325
+ 'background-color' => $attr['separatorFillColor']
1326
+ );
1327
+
1328
+ $selectors[' .uagb-timeline__line'] = array(
1329
+ 'background-color' => $attr['separatorColor'],
1330
+ 'width' => $attr['separatorwidth'].'px'
1331
+ );
1332
+
1333
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__line'] = array(
1334
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1335
+ );
1336
+
1337
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__line'] = array(
1338
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1339
+ );
1340
+
1341
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__line'] = array(
1342
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1343
+ );
1344
+
1345
+ $selectors[' .uagb-timeline__marker'] = array(
1346
+ 'background-color' => $attr['separatorBg'],
1347
+ 'min-height'=> $attr['connectorBgsize'].'px',
1348
+ 'min-width' => $attr['connectorBgsize'].'px',
1349
+ 'line-height' => $attr['connectorBgsize'].'px',
1350
+ 'border'=> $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
1351
+ );
1352
+
1353
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1354
+ 'height' => $attr['connectorBgsize'].'px',
1355
+ );
1356
+
1357
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1358
+ 'height' => $attr['connectorBgsize'].'px',
1359
+ );
1360
+
1361
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1362
+ 'height' => $attr['connectorBgsize'].'px',
1363
+ );
1364
+
1365
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1366
+ 'height' => $attr['connectorBgsize'].'px',
1367
+ );
1368
+
1369
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1370
+ 'margin-left' => $attr['horizontalSpace'].'px',
1371
+ 'margin-right'=> $attr['horizontalSpace'].'px',
1372
+ );
1373
+
1374
+ $selectors[' .uagb-timeline__field:not(:last-child)'] = array(
1375
+ 'margin-bottom' => $attr['verticalSpace'].'px',
1376
+ );
1377
+
1378
+ $selectors[' .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1379
+ 'margin-bottom' => $attr['dateBottomspace'].'px',
1380
+ 'color'=> $attr['dateColor'],
1381
+ 'font-size' => $attr['dateFontsize'].'px',
1382
+ 'text-align'=> $attr['align'],
1383
+ );
1384
+
1385
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1386
+ 'margin-left' => $attr['horizontalSpace'].'px',
1387
+ );
1388
+
1389
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1390
+ 'margin-right' => $attr['horizontalSpace'].'px',
1391
+ );
1392
+
1393
+ $selectors[' .uagb-timeline__date-new'] = array(
1394
+ 'color'=> $attr['dateColor'],
1395
+ 'font-size' => $attr['dateFontsize'].'px',
1396
+ );
1397
+
1398
+ $selectors[' .uagb-timeline__events-inner-new'] = array(
1399
+ 'background-color' => $attr['backgroundColor'],
1400
+ 'border-radius' => $attr['borderRadius'].'px',
1401
+ 'padding'=> $attr['bgPadding'].'px',
1402
+ );
1403
+
1404
+ $selectors[' .uagb-content'] = array(
1405
+ 'padding'=> $attr['contentPadding'].'px',
1406
+ );
1407
+
1408
+ $selectors[' .uagb-timeline__main .uagb-timeline__icon-new'] = array(
1409
+ 'color'=> $attr['iconColor'],
1410
+ 'font-size' => $attr['iconSize'].'px',
1411
+ );
1412
+
1413
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon'] = array(
1414
+ 'background' => $attr['iconBgFocus'],
1415
+ 'border-color'=> $attr['borderFocus'],
1416
+ );
1417
+
1418
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new'] = array(
1419
+ 'color'=> $attr['iconFocus'],
1420
+ );
1421
+
1422
+ $t_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1423
+ 'margin-left' => 0,
1424
+ 'margin-right' => 0,
1425
+ );
1426
+
1427
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading"] = array(
1428
+ "text-align" => 'left',
1429
+ );
1430
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content"] = array(
1431
+ "text-align" => 'left',
1432
+ );
1433
+
1434
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author"] = array(
1435
+ "text-align" => 'left',
1436
+ );
1437
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent"] = array(
1438
+ "text-align" => 'left',
1439
+ );
1440
+
1441
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new'] = array(
1442
+ 'text-align' => 'left'
1443
+ );
1444
+ $t_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner'] = array(
1445
+ 'text-align' => 'left'
1446
+ );
1447
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1448
+ 'text-align'=> 'left',
1449
+ );
1450
+
1451
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after"] = array(
1452
+ "border-right-color" => $attr['backgroundColor'],
1453
+ );
1454
+
1455
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line"] = array(
1456
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1457
+ );
1458
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a"] = array(
1459
+ 'text-align' => 'left',
1460
+ );
1461
+
1462
+ // Mobile responsive CSS.
1463
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1464
+ 'margin-left' => 0,
1465
+ 'margin-right' => 0,
1466
+ );
1467
+
1468
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1469
+ 'margin-left' => $attr['horizontalSpace'].'px',
1470
+ );
1471
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1472
+ 'margin-left' => $attr['horizontalSpace'].'px',
1473
+ );
1474
+
1475
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading"] = array(
1476
+ "text-align" => 'left',
1477
+ );
1478
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content"] = array(
1479
+ "text-align" => 'left',
1480
+ );
1481
+
1482
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new'] = array(
1483
+ 'text-align' => 'left'
1484
+ );
1485
+ $m_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner'] = array(
1486
+ 'text-align' => 'left'
1487
+ );
1488
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1489
+ 'text-align'=> 'left',
1490
+ );
1491
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author"] = array(
1492
+ "text-align" => 'left',
1493
+ );
1494
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent"] = array(
1495
+ "text-align" => 'left',
1496
+ );
1497
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after"] = array(
1498
+ "border-right-color" => $attr['backgroundColor'],
1499
+ );
1500
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line"] = array(
1501
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1502
+ );
1503
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a"] = array(
1504
+ 'text-align' => 'left',
1505
+ );
1506
+
1507
+ // @codingStandardsIgnoreEnd
1508
+
1509
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
1510
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 1024px)', $t_selectors, '#uagb-ctm-' . $id );
1511
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-ctm-' . $id );
1512
+
1513
+ return $desktop . $tablet . $mobile;
1514
+ }
1515
+
1516
+
1517
+ /**
1518
+ * Get Restaurant Menu Block CSS
1519
+ *
1520
+ * @since 1.0.2
1521
+ * @param array $attr The block attributes.
1522
+ * @param string $id The selector ID.
1523
+ * @return array The Widget List.
1524
+ */
1525
+ public static function get_restaurant_menu_css( $attr, $id ) {
1526
+
1527
+ // @codingStandardsIgnoreStart
1528
+
1529
+ $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
1530
+
1531
+ $attr = array_merge( $defaults, (array) $attr );
1532
+
1533
+ $m_selectors = array();
1534
+ $t_selectors = array();
1535
+
1536
+ $selectors[" .uagb-rest_menu__wrap"] = array(
1537
+ 'padding-left' => ($attr['columnGap']/2) . "px",
1538
+ 'padding-right' => ($attr['columnGap']/2). "px",
1539
+ 'margin-bottom' => $attr['rowGap'] . "px"
1540
+ );
1541
+
1542
+ $selectors[' .uagb-rest_menu__wrap .uagb-rm__image-content'] = array(
1543
+ 'padding-left' => $attr['imgHrPadding'] .'px',
1544
+ 'padding-right' => $attr['imgHrPadding'] .'px',
1545
+ 'padding-top' => $attr['imgVrPadding'] .'px',
1546
+ 'padding-bottom' => $attr['imgVrPadding'] .'px',
1547
+ );
1548
+
1549
+ $selectors[' .uagb-rm__image img'] = array(
1550
+ 'width'=> $attr['imageWidth'] .'px',
1551
+ 'max-width'=> $attr['imageWidth'] .'px',
1552
+ );
1553
+
1554
+ $align = $attr['headingAlign'];
1555
+ if( 'left' === $align ){
1556
+ $align = 'flex-start';
1557
+ }else if( 'right' === $align ){
1558
+ $align = 'flex-end';
1559
+ }
1560
+
1561
+ $selectors[' .uagb-rm__separator-parent'] = array(
1562
+ 'justify-content' => $align,
1563
+ );
1564
+
1565
+ $selectors[' .uagb-rm__content'] = array(
1566
+ 'text-align' => $attr['headingAlign'] ,
1567
+ 'padding-left' => $attr['contentHrPadding'] . 'px',
1568
+ 'padding-right' => $attr['contentHrPadding'] . 'px',
1569
+ 'padding-top' => $attr['contentVrPadding'] . 'px',
1570
+ 'padding-bottom' => $attr['contentVrPadding'] . 'px',
1571
+ );
1572
+
1573
+ $selectors[' .uagb-rm__title'] = array(
1574
+ 'font-size' => $attr['titleFontSize'] .'px',
1575
+ 'color'=> $attr['titleColor'] ,
1576
+ 'margin-bottom'=> $attr['titleSpace'] .'px',
1577
+ );
1578
+
1579
+ $selectors[' .uagb-rm__price'] = array(
1580
+ 'font-size' => $attr['priceFontSize'].'px',
1581
+ 'color'=> $attr['priceColor'],
1582
+ );
1583
+
1584
+ $selectors[' .uagb-rm__desc'] = array(
1585
+ 'font-size' => $attr['descFontSize'].'px',
1586
+ 'color'=> $attr['descColor'],
1587
+ 'margin-bottom'=> $attr['descSpace'].'px',
1588
+ );
1589
+
1590
+ if ( $attr['seperatorStyle'] != "none" ) {
1591
+ $selectors[' .uagb-rest_menu__wrap .uagb-rm__separator'] = array(
1592
+ 'border-top-color'=> $attr['seperatorColor'],
1593
+ 'border-top-style'=> $attr['seperatorStyle'],
1594
+ 'border-top-width'=> $attr['seperatorThickness'] . "px",
1595
+ 'width'=> $attr['seperatorWidth'] . "%",
1596
+ );
1597
+ }
1598
+
1599
+ $r_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
1600
+ 'margin-left'=> '0%',
1601
+ 'clear'=> 'left',
1602
+ );
1603
+
1604
+ $t_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['tcolumns'].'n+1)'] = array(
1605
+ 'margin-left'=> '0%',
1606
+ 'clear'=> 'left',
1607
+ );
1608
+
1609
+ $m_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['mcolumns'].'n+1)'] = array(
1610
+ 'margin-left'=> '0%',
1611
+ 'clear'=> 'left',
1612
+ );
1613
+
1614
+ // @codingStandardsIgnoreEnd
1615
+
1616
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
1617
+ $r_desktop = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 1024px)', $r_selectors, '#uagb-rm-' . $id );
1618
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 768px) and (max-width: 1023px)', $t_selectors, '#uagb-rm-' . $id );
1619
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-rm-' . $id );
1620
+
1621
+ return $desktop . $r_desktop . $tablet . $mobile;
1622
+ }
1623
+
1624
+ /**
1625
+ * Get Post Grid Block CSS
1626
+ *
1627
+ * @since 1.4.0
1628
+ * @param array $attr The block attributes.
1629
+ * @param string $id The selector ID.
1630
+ * @return array The Widget List.
1631
+ */
1632
+ public static function get_post_grid_css( $attr, $id ) {
1633
+
1634
+ // @codingStandardsIgnoreStart
1635
+
1636
+ $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
1637
+
1638
+ $attr = array_merge( $defaults, (array) $attr );
1639
+
1640
+ $selectors = self::get_post_selectors( $attr );
1641
+
1642
+ // @codingStandardsIgnoreEnd
1643
+
1644
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
1645
+
1646
+ return $desktop;
1647
+ }
1648
+
1649
+ /**
1650
+ * Get Post Carousel Block CSS
1651
+ *
1652
+ * @since 1.4.0
1653
+ * @param array $attr The block attributes.
1654
+ * @param string $id The selector ID.
1655
+ * @return array The Widget List.
1656
+ */
1657
+ public static function get_post_carousel_css( $attr, $id ) {
1658
+
1659
+ // @codingStandardsIgnoreStart
1660
+
1661
+ $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
1662
+
1663
+ $attr = array_merge( $defaults, (array) $attr );
1664
+
1665
+ $selectors = self::get_post_selectors( $attr );
1666
+
1667
+ $selectors[" .slick-arrow"] = array(
1668
+ "border-color" => $attr['arrowColor']
1669
+ );
1670
+
1671
+ $selectors[" .slick-arrow span"] = array(
1672
+ "color" => $attr['arrowColor'],
1673
+ "font-size" => $attr['arrowSize'] . "px"
1674
+ );
1675
+
1676
+ $selectors[" .slick-arrow"] = array(
1677
+ "border-color" => $attr['arrowColor']
1678
+ );
1679
+
1680
+ $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
1681
+ "color" => $attr['arrowColor']
1682
+ );
1683
+
1684
+ $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
1685
+ "color" => $attr['arrowColor']
1686
+ );
1687
+
1688
+ // @codingStandardsIgnoreEnd
1689
+
1690
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
1691
+
1692
+ return $desktop;
1693
+ }
1694
+
1695
+ /**
1696
+ * Get Post Masonry Block CSS
1697
+ *
1698
+ * @since 1.4.0
1699
+ * @param array $attr The block attributes.
1700
+ * @param string $id The selector ID.
1701
+ * @return array The Widget List.
1702
+ */
1703
+ public static function get_post_masonry_css( $attr, $id ) {
1704
+
1705
+ // @codingStandardsIgnoreStart
1706
+
1707
+ $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
1708
+
1709
+ $attr = array_merge( $defaults, (array) $attr );
1710
+
1711
+ $selectors = self::get_post_selectors( $attr );
1712
+
1713
+ // @codingStandardsIgnoreEnd
1714
+
1715
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
1716
+
1717
+ return $desktop;
1718
+ }
1719
+
1720
+ /**
1721
+ * Get Post Block Selectors CSS
1722
+ *
1723
+ * @param array $attr The block attributes.
1724
+ * @since 1.4.0
1725
+ */
1726
+ public static function get_post_selectors( $attr ) {
1727
+
1728
+ // @codingStandardsIgnoreStart
1729
+ return array(
1730
+ " .uagb-post__items" => array(
1731
+ "margin-right" => ( -$attr['rowGap']/2 ) . "px",
1732
+ "margin-left" => ( -$attr['rowGap']/2 ) . "px",
1733
+ ),
1734
+ " .uagb-post__items article" => array(
1735
+ "padding-right" => ( $attr['rowGap']/2 ) . "px",
1736
+ "padding-left" => ( $attr['rowGap']/2 ) . "px",
1737
+ "margin-bottom" => ( $attr['columnGap'] ) . "px"
1738
+ ),
1739
+ " .uagb-post__inner-wrap" => array(
1740
+ "background" => $attr['bgColor']
1741
+ ),
1742
+ " .uagb-post__text" => array(
1743
+ "padding" => ( $attr['contentPadding'] ) . "px"
1744
+ ),
1745
+ " .uagb-post__text .uagb-post__title" => array(
1746
+ "color"=> $attr['titleColor'],
1747
+ "font-size"=> $attr['titleFontSize'] . "px",
1748
+ "margin-bottom"=> $attr['titleBottomSpace'] . "px"
1749
+ ),
1750
+ " .uagb-post__text .uagb-post__title a" => array(
1751
+ "color"=> $attr['titleColor'],
1752
+ "font-size"=> $attr['titleFontSize'] . "px"
1753
+ ),
1754
+ " .uagb-post__text .uagb-post-grid-byline" => array(
1755
+ "color"=> $attr['metaColor'],
1756
+ "font-size"=> $attr['metaFontSize'] . "px",
1757
+ "margin-bottom"=> $attr['metaBottomSpace'] . "px"
1758
+ ),
1759
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
1760
+ "color"=> $attr['metaColor'],
1761
+ "font-size"=> $attr['metaFontSize'] . "px",
1762
+ ),
1763
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
1764
+ "color"=> $attr['metaColor'],
1765
+ "font-size"=> $attr['metaFontSize'] . "px",
1766
+ ),
1767
+ " .uagb-post__text .uagb-post__excerpt" => array(
1768
+ "color"=> $attr['excerptColor'],
1769
+ "font-size"=> $attr['excerptFontSize'] . "px",
1770
+ "margin-bottom"=> $attr['excerptBottomSpace'] . "px"
1771
+ ),
1772
+ " .uagb-post__text .uagb-post__cta" => array(
1773
+ "color"=> $attr['ctaColor'],
1774
+ "font-size"=> $attr['ctaFontSize'] . "px",
1775
+ "background"=> $attr['ctaBgColor']
1776
+ ),
1777
+ " .uagb-post__text .uagb-post__cta a" => array(
1778
+ "color"=> $attr['ctaColor'],
1779
+ "font-size"=> $attr['ctaFontSize'] . "px"
1780
+ ),
1781
+ " .uagb-post__text .uagb-post__cta:hover" => array(
1782
+ "color"=> $attr['ctaHColor'],
1783
+ "background"=> $attr['ctaBgHColor']
1784
+ ),
1785
+ " .uagb-post__text .uagb-post__cta:hover a" => array(
1786
+ "color"=> $attr['ctaHColor']
1787
+ )
1788
+ );
1789
+ // @codingStandardsIgnoreEnd
1790
+ }
1791
+ }
1792
+ }
classes/class-uagb-config.php CHANGED
@@ -1,383 +1,459 @@
1
- <?php
2
- /**
3
- * UAGB Config.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Config' ) ) {
9
-
10
- /**
11
- * Class UAGB_Config.
12
- */
13
- class UAGB_Config {
14
-
15
- /**
16
- * Block Attributes
17
- *
18
- * @var block_attributes
19
- */
20
- public static $block_attributes = null;
21
-
22
- /**
23
- * Get Widget List.
24
- *
25
- * @since 0.0.1
26
- *
27
- * @return array The Widget List.
28
- */
29
- public static function get_block_attributes() {
30
-
31
- if ( null === self::$block_attributes ) {
32
-
33
- self::$block_attributes = array(
34
- 'uagb/advanced-heading' => array(
35
- 'slug' => '',
36
- 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
37
- 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
38
- 'default' => true,
39
- 'attributes' => array(
40
- 'headingAlign' => 'center',
41
- 'headingColor' => '',
42
- 'subHeadingColor' => '',
43
- 'separatorColor' => '',
44
- 'separatorHeight' => '',
45
- 'separatorWidth' => '',
46
- 'headFontSize' => '',
47
- 'subHeadFontSize' => '',
48
- 'headSpace' => 15,
49
- 'separatorSpace' => 15,
50
- 'subHeadSpace' => '',
51
- ),
52
- ),
53
- 'uagb/content-timeline' => array(
54
- 'slug' => '',
55
- 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
56
- 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
57
- 'default' => true,
58
- 'attributes' => array(
59
- 'align' => 'center',
60
- 'headingColor' => '',
61
- 'subHeadingColor' => '',
62
- 'separatorBg' => '#eee',
63
- 'backgroundColor' => '#eee',
64
- 'separatorColor' => '#eee',
65
- 'separatorFillColor' => '#61ce70',
66
- 'separatorBorder' => '#eee',
67
- 'borderFocus' => '#5cb85c',
68
- 'horizontalSpace' => 10,
69
- 'verticalSpace' => 15,
70
- 'headFontSize' => '',
71
- 'timelinAlignment' => 'center',
72
- 'arrowlinAlignment' => 'center',
73
- 'subHeadFontSize' => '',
74
- 'headSpace' => 5,
75
- 'separatorwidth' => 3,
76
- 'borderwidth' => 0,
77
- 'iconColor' => '#333',
78
- 'iconFocus' => '#fff',
79
- 'iconBgFocus' => '#61ce70',
80
- 'dateColor' => '#333',
81
- 'dateFontsize' => 12,
82
- 'connectorBgsize' => 35,
83
- 'dateBottomspace' => 5,
84
- 'borderRadius' => 2,
85
- 'bgPadding' => 20,
86
- 'iconSize' => 12,
87
- 'iconHover' => '',
88
- 'iconBgHover' => '',
89
- 'borderHover' => '',
90
- 'stack' => 'tablet',
91
- ),
92
- ),
93
- 'uagb/google-map' => array(
94
- 'slug' => '',
95
- 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
96
- 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
97
- 'default' => true,
98
- 'attributes' => array(
99
- 'block_id' => '',
100
- 'height' => '300',
101
- ),
102
- ),
103
- 'uagb/icon-list' => array(
104
- 'slug' => '',
105
- 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
106
- 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
107
- 'default' => true,
108
- 'attributes' => array(
109
- 'align' => 'left',
110
- 'icon_count' => '1',
111
- 'icons' => array(
112
- array(
113
- 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
114
- 'image_icon' => 'icon',
115
- 'icon' => 'fab fa-facebook',
116
- 'image' => '',
117
- 'icon_color' => '#3a3a3a',
118
- 'icon_hover_color' => '#3a3a3a',
119
- 'label_color' => '',
120
- 'label_hover_color' => '',
121
- 'link' => '#',
122
- 'target' => false,
123
- ),
124
- ),
125
- 'gap' => '10',
126
- 'inner_gap' => '15',
127
- 'size' => '40',
128
- 'fontSize' => '',
129
- 'icon_layout' => 'vertical',
130
- 'stack' => 'none',
131
- ),
132
- ),
133
- 'uagb/info-box' => array(
134
- 'slug' => '',
135
- 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
136
- 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
137
- 'default' => true,
138
- 'attributes' => array(
139
- 'headingAlign' => 'center',
140
- 'headingColor' => '',
141
- 'subHeadingColor' => '',
142
- 'prefixColor' => '',
143
- 'prefixFontSize' => '',
144
- 'headFontSize' => '',
145
- 'subHeadFontSize' => '',
146
- 'separatorWidth' => '',
147
- 'separatorHeight' => '',
148
- 'headSpace' => '10',
149
- 'separatorSpace' => '10',
150
- 'subHeadSpace' => '10',
151
- 'icon' => '',
152
- 'iconColor' => '#333',
153
- 'iconSize' => '40',
154
- 'iconimgPosition' => 'above-title',
155
- 'block_id' => '',
156
- 'iconHover' => '',
157
- 'iconimgBorderRadius' => '0',
158
- 'seperatorStyle' => 'solid',
159
- 'seperatorWidth' => '30',
160
- 'seperatorColor' => '#333',
161
- 'seperatorThickness' => '2',
162
- 'ctaLinkColor' => '#333',
163
- 'ctaFontSize' => '',
164
- 'ctaBtnLinkColor' => '#333',
165
- 'ctaBgColor' => 'transparent',
166
- 'ctaBtnVertPadding' => '10',
167
- 'ctaBtnHrPadding' => '14',
168
- 'ctaBorderStyle' => 'solid',
169
- 'ctaBorderColor' => '#333',
170
- 'ctaBorderWidth' => '1',
171
- 'ctaBorderRadius' => '0',
172
- 'prefixSpace' => '5',
173
- 'iconLeftMargin' => '5',
174
- 'iconRightMargin' => '10',
175
- 'iconTopMargin' => '5',
176
- 'iconBottomMargin' => '5',
177
- 'imageSize' => 'thumbnail',
178
- 'imageWidth' => '120',
179
- 'seperatorSpace' => '15',
180
- ),
181
- ),
182
- 'uagb/buttons' => array(
183
- 'slug' => '',
184
- 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
185
- 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
186
- 'default' => true,
187
- 'attributes' => array(
188
- 'block_id' => '',
189
- 'align' => 'center',
190
- 'btn_count' => '2',
191
- 'buttons' => UAGB_Helper::get_button_defaults(),
192
- 'gap' => 10,
193
- 'stack' => 'none',
194
- ),
195
- ),
196
- 'uagb/post-grid' => array(
197
- 'slug' => '',
198
- 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
199
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
200
- 'default' => true,
201
- 'attributes' => array(),
202
- ),
203
- 'uagb/restaurant-menu' => array(
204
- 'slug' => '',
205
- 'title' => __( 'Restaurant Menu', 'ultimate-addons-for-gutenberg' ),
206
- 'description' => __( 'This block allows you to add attractive Restaurant Menu.', 'ultimate-addons-for-gutenberg' ),
207
- 'default' => true,
208
- 'attributes' => array(
209
- 'block_id' => '',
210
- 'headingAlign' => 'left',
211
- 'descColor' => '#333',
212
- 'priceColor' => '#888888',
213
- 'titleColor' => '#333',
214
- 'imagePosition' => 'top',
215
- 'imageAlignment' => 'top',
216
- 'titleFontSize' => '',
217
- 'priceFontSize' => '',
218
- 'descFontSize' => '',
219
- 'priceSpace' => 5,
220
- 'descSpace' => 15,
221
- 'titleSpace' => 10,
222
- 'imgVrPadding' => 0,
223
- 'imgHrPadding' => 0,
224
- 'imgTopPadding' => 0,
225
- 'imgBottomPadding' => 0,
226
- 'iconImage' => '',
227
- 'imageSize' => 'medium',
228
- 'imageWidth' => '',
229
- 'columns' => 2,
230
- 'tcolumns' => 2,
231
- 'mcolumns' => 1,
232
- 'rowGap' => 10,
233
- 'columnGap' => 10,
234
- 'contentHrPadding' => 5,
235
- 'contentVrPadding' => 5,
236
- 'seperatorStyle' => 'dashed',
237
- 'seperatorWidth' => '100',
238
- 'seperatorThickness' => '1',
239
- 'seperatorColor' => '#b2b4b5',
240
- ),
241
- ),
242
- 'uagb/section' => array(
243
- 'slug' => '',
244
- 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
245
- 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
246
- 'default' => true,
247
- 'attributes' => array(
248
- 'topPadding' => '20',
249
- 'bottomPadding' => '20',
250
- 'leftPadding' => '20',
251
- 'rightPadding' => '20',
252
- 'topMargin' => '0',
253
- 'bottomMargin' => '0',
254
- 'leftMargin' => '0',
255
- 'rightMargin' => '0',
256
- 'contentWidth' => 'boxed',
257
- 'width' => '900',
258
- 'innerWidth' => '1140',
259
- 'tag' => 'section',
260
- 'backgroundType' => 'none',
261
- 'gradientColor1' => '',
262
- 'gradientColor2' => '',
263
- 'backgroundVideoColor' => '',
264
- 'backgroundPosition' => 'center-center',
265
- 'backgroundSize' => 'cover',
266
- 'backgroundRepeat' => 'no-repeat',
267
- 'backgroundAttachment' => 'scroll',
268
- 'gradientType' => 'linear',
269
- 'gradientLocation1' => '0',
270
- 'gradientLocation2' => '100',
271
- 'gradientAngle' => '0',
272
- 'backgroundColor' => '',
273
- 'backgroundOpacity' => '0',
274
- 'backgroundVideoOpacity' => '50',
275
- 'backgroundImageColor' => '',
276
- 'align' => 'center',
277
- 'borderStyle' => 'none',
278
- 'borderWidth' => '1',
279
- 'borderRadius' => '',
280
- 'borderColor' => '',
281
- ),
282
- ),
283
- 'uagb/social-share' => array(
284
- 'slug' => '',
285
- 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
286
- 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
287
- 'default' => true,
288
- 'attributes' => array(
289
- 'align' => 'center',
290
- 'social_count' => '1',
291
- 'socials' => array(
292
- array(
293
- 'type' => 'facebook',
294
- 'image_icon' => 'icon',
295
- 'icon' => 'fab fa-facebook',
296
- 'image' => '',
297
- 'icon_color' => '#3a3a3a',
298
- 'icon_hover_color' => '#3a3a3a',
299
- ),
300
- ),
301
- 'gap' => '10',
302
- 'size' => '40',
303
- 'social_layout' => 'horizontal',
304
- 'stack' => 'none',
305
- ),
306
- ),
307
- 'uagb/team' => array(
308
- 'slug' => '',
309
- 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
310
- 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
311
- 'default' => true,
312
- 'attributes' => array(
313
- 'block_id' => '',
314
- 'align' => 'center',
315
- 'tag' => 'h3',
316
- 'titleColor' => '',
317
- 'prefixColor' => '#888888',
318
- 'descColor' => '',
319
- 'socialColor' => '#333',
320
- 'socialHoverColor' => '',
321
- 'titleFontSize' => '',
322
- 'prefixFontSize' => 15,
323
- 'descFontSize' => '',
324
- 'socialFontSize' => 20,
325
- 'image' => '',
326
- 'imgStyle' => 'normal',
327
- 'imgPosition' => 'above',
328
- 'imgAlign' => 'top',
329
- 'imgSiz' => 'thumbnail',
330
- 'imgWidth' => 120,
331
- 'titleSpace' => '',
332
- 'prefixSpace' => '',
333
- 'descSpace' => 10,
334
- 'imgLeftMargin' => 20,
335
- 'imgRightMargin' => 20,
336
- 'imgTopMargin' => 15,
337
- 'imgBottomMargin' => 15,
338
- 'socialSpace' => 20,
339
- 'headingTag' => 'h3',
340
- ),
341
- ),
342
- 'uagb/testimonial' => array(
343
- 'slug' => '',
344
- 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
345
- 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
346
- 'default' => true,
347
- 'attributes' => array(
348
- 'headingAlign' => 'center',
349
- 'companyColor' => '#888888',
350
- 'descColor' => '#333',
351
- 'authorColor' => '#333',
352
- 'nameFontSize' => '',
353
- 'companyFontSize' => 15,
354
- 'descFontSize' => '',
355
- 'descSpace' => 15,
356
- 'block_id' => '',
357
- 'nameSpace' => 5,
358
- 'imgVrPadding' => 10,
359
- 'imgHrPadding' => 10,
360
- 'imageWidth' => 60,
361
- 'rowGap' => 10,
362
- 'columnGap' => 10,
363
- 'contentPadding' => 5,
364
- 'backgroundColor' => '',
365
- 'backgroundImage' => '',
366
- 'backgroundPosition' => 'center-center',
367
- 'backgroundSize' => 'cover',
368
- 'backgroundRepeat' => 'no-repeat',
369
- 'backgroundImageColor' => '',
370
- 'backgroundOpacity' => 0,
371
- 'borderStyle' => 'none',
372
- 'borderWidth' => 1,
373
- 'borderRadius' => 0,
374
- 'borderColor' => '#333',
375
- 'arrowColor' => '#333',
376
- ),
377
- ),
378
- );
379
- }
380
- return self::$block_attributes;
381
- }
382
- }
383
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Config.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Config' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Config.
12
+ */
13
+ class UAGB_Config {
14
+
15
+ /**
16
+ * Block Attributes
17
+ *
18
+ * @var block_attributes
19
+ */
20
+ public static $block_attributes = null;
21
+
22
+ /**
23
+ * Get Widget List.
24
+ *
25
+ * @since 0.0.1
26
+ *
27
+ * @return array The Widget List.
28
+ */
29
+ public static function get_block_attributes() {
30
+
31
+ if ( null === self::$block_attributes ) {
32
+
33
+ self::$block_attributes = array(
34
+ 'uagb/advanced-heading' => array(
35
+ 'slug' => '',
36
+ 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
37
+ 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
38
+ 'default' => true,
39
+ 'attributes' => array(
40
+ 'headingAlign' => 'center',
41
+ 'headingColor' => '',
42
+ 'subHeadingColor' => '',
43
+ 'separatorColor' => '',
44
+ 'seperatorStyle' => 'solid',
45
+ 'separatorHeight' => '',
46
+ 'separatorWidth' => '',
47
+ 'headFontSize' => '',
48
+ 'subHeadFontSize' => '',
49
+ 'headSpace' => 15,
50
+ 'separatorSpace' => 15,
51
+ 'subHeadSpace' => '',
52
+ ),
53
+ ),
54
+ 'uagb/content-timeline' => array(
55
+ 'slug' => '',
56
+ 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
57
+ 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
58
+ 'default' => true,
59
+ 'attributes' => array(
60
+ 'align' => 'center',
61
+ 'headingColor' => '',
62
+ 'subHeadingColor' => '',
63
+ 'separatorBg' => '#eee',
64
+ 'backgroundColor' => '#eee',
65
+ 'separatorColor' => '#eee',
66
+ 'separatorFillColor' => '#61ce70',
67
+ 'separatorBorder' => '#eee',
68
+ 'borderFocus' => '#5cb85c',
69
+ 'horizontalSpace' => 10,
70
+ 'verticalSpace' => 15,
71
+ 'headFontSize' => '',
72
+ 'timelinAlignment' => 'center',
73
+ 'arrowlinAlignment' => 'center',
74
+ 'subHeadFontSize' => '',
75
+ 'headSpace' => 5,
76
+ 'separatorwidth' => 3,
77
+ 'borderwidth' => 0,
78
+ 'iconColor' => '#333',
79
+ 'iconFocus' => '#fff',
80
+ 'iconBgFocus' => '#61ce70',
81
+ 'dateColor' => '#333',
82
+ 'dateFontsize' => 12,
83
+ 'connectorBgsize' => 35,
84
+ 'dateBottomspace' => 5,
85
+ 'borderRadius' => 2,
86
+ 'bgPadding' => 20,
87
+ 'iconSize' => 12,
88
+ 'stack' => 'tablet',
89
+ ),
90
+ ),
91
+ 'uagb/google-map' => array(
92
+ 'slug' => '',
93
+ 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
94
+ 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
95
+ 'default' => true,
96
+ 'attributes' => array(
97
+ 'block_id' => '',
98
+ 'height' => '300',
99
+ ),
100
+ ),
101
+ 'uagb/icon-list' => array(
102
+ 'slug' => '',
103
+ 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
104
+ 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
105
+ 'default' => true,
106
+ 'attributes' => array(
107
+ 'align' => 'left',
108
+ 'icon_count' => '1',
109
+ 'icons' => array(
110
+ array(
111
+ 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
112
+ 'image_icon' => 'icon',
113
+ 'icon' => 'fab fa-facebook',
114
+ 'image' => '',
115
+ 'icon_color' => '#3a3a3a',
116
+ 'icon_hover_color' => '#3a3a3a',
117
+ 'icon_bg_color' => '',
118
+ 'icon_bg_hover_color' => '',
119
+ 'label_color' => '',
120
+ 'label_hover_color' => '',
121
+ 'link' => '#',
122
+ 'target' => false,
123
+ ),
124
+ ),
125
+ 'gap' => '10',
126
+ 'inner_gap' => '15',
127
+ 'size' => '40',
128
+ 'bgSize' => '0',
129
+ 'borderRadius' => '0',
130
+ 'fontSize' => '',
131
+ 'icon_layout' => 'vertical',
132
+ 'stack' => 'none',
133
+ ),
134
+ ),
135
+ 'uagb/info-box' => array(
136
+ 'slug' => '',
137
+ 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
138
+ 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
139
+ 'default' => true,
140
+ 'attributes' => array(
141
+ 'headingAlign' => 'center',
142
+ 'headingColor' => '',
143
+ 'subHeadingColor' => '',
144
+ 'prefixColor' => '',
145
+ 'prefixFontSize' => '',
146
+ 'headFontSize' => '',
147
+ 'subHeadFontSize' => '',
148
+ 'separatorWidth' => '',
149
+ 'separatorHeight' => '',
150
+ 'headSpace' => '10',
151
+ 'separatorSpace' => '10',
152
+ 'subHeadSpace' => '10',
153
+ 'icon' => '',
154
+ 'iconColor' => '#333',
155
+ 'iconSize' => '40',
156
+ 'iconimgPosition' => 'above-title',
157
+ 'block_id' => '',
158
+ 'iconHover' => '',
159
+ 'iconimgBorderRadius' => '0',
160
+ 'seperatorStyle' => 'solid',
161
+ 'seperatorWidth' => '30',
162
+ 'seperatorColor' => '#333',
163
+ 'seperatorThickness' => '2',
164
+ 'ctaLinkColor' => '#333',
165
+ 'ctaFontSize' => '',
166
+ 'ctaBtnLinkColor' => '#333',
167
+ 'ctaBgColor' => 'transparent',
168
+ 'ctaBtnVertPadding' => '10',
169
+ 'ctaBtnHrPadding' => '14',
170
+ 'ctaBorderStyle' => 'solid',
171
+ 'ctaBorderColor' => '#333',
172
+ 'ctaBorderWidth' => '1',
173
+ 'ctaBorderRadius' => '0',
174
+ 'prefixSpace' => '5',
175
+ 'iconLeftMargin' => '5',
176
+ 'iconRightMargin' => '10',
177
+ 'iconTopMargin' => '5',
178
+ 'iconBottomMargin' => '5',
179
+ 'imageSize' => 'thumbnail',
180
+ 'imageWidth' => '120',
181
+ 'seperatorSpace' => '15',
182
+ 'ctaLinkHoverColor' => '',
183
+ 'ctaBgHoverColor' => '',
184
+ 'ctaBorderhoverColor' => '',
185
+ 'ctaIconSpace' => '5',
186
+ ),
187
+ ),
188
+ 'uagb/buttons' => array(
189
+ 'slug' => '',
190
+ 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
191
+ 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
192
+ 'default' => true,
193
+ 'attributes' => array(
194
+ 'block_id' => '',
195
+ 'align' => 'center',
196
+ 'btn_count' => '2',
197
+ 'buttons' => UAGB_Helper::get_button_defaults(),
198
+ 'gap' => 10,
199
+ 'stack' => 'none',
200
+ ),
201
+ ),
202
+ 'uagb/post-grid' => array(
203
+ 'slug' => '',
204
+ 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
205
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
206
+ 'default' => true,
207
+ 'attributes' => array(
208
+ 'align' => 'center',
209
+ 'rowGap' => '20',
210
+ 'columnGap' => '20',
211
+ 'bgColor' => '#e4e4e4',
212
+ 'titleColor' => '#3b3b3b',
213
+ 'titleTag' => 'h3',
214
+ 'titleFontSize' => '',
215
+ 'metaFontSize' => '',
216
+ 'excerptFontSize' => '',
217
+ 'ctaFontSize' => '',
218
+ 'metaColor' => '#777777',
219
+ 'excerptColor' => '',
220
+ 'ctaColor' => '#ffffff',
221
+ 'ctaBgColor' => '#333333',
222
+ 'ctaHColor' => '',
223
+ 'ctaBgHColor' => '',
224
+ 'contentPadding' => '20',
225
+ 'titleBottomSpace' => '15',
226
+ 'metaBottomSpace' => '15',
227
+ 'excerptBottomSpace' => '25',
228
+ ),
229
+ ),
230
+ 'uagb/post-timeline' => array(
231
+ 'slug' => '',
232
+ 'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
233
+ 'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
234
+ 'default' => true,
235
+ 'attributes' => array(
236
+ 'align' => 'center',
237
+ 'headingColor' => '',
238
+ 'subHeadingColor' => '',
239
+ 'separatorBg' => '#eee',
240
+ 'backgroundColor' => '#eee',
241
+ 'separatorColor' => '#eee',
242
+ 'separatorFillColor' => '#61ce70',
243
+ 'separatorBorder' => '#eee',
244
+ 'borderFocus' => '#5cb85c',
245
+ 'horizontalSpace' => 10,
246
+ 'verticalSpace' => 15,
247
+ 'headFontSize' => '',
248
+ 'timelinAlignment' => 'center',
249
+ 'arrowlinAlignment' => 'center',
250
+ 'subHeadFontSize' => '',
251
+ 'headSpace' => 5,
252
+ 'contentSpace' => 5,
253
+ 'authorSpace' => 5,
254
+ 'separatorwidth' => 3,
255
+ 'borderwidth' => 0,
256
+ 'iconColor' => '#333',
257
+ 'iconFocus' => '#fff',
258
+ 'iconBgFocus' => '#61ce70',
259
+ 'dateColor' => '#333',
260
+ 'dateFontsize' => 12,
261
+ 'connectorBgsize' => 35,
262
+ 'dateBottomspace' => 5,
263
+ 'borderRadius' => 2,
264
+ 'bgPadding' => 20,
265
+ 'contentPadding' => 10,
266
+ 'iconSize' => 12,
267
+ 'stack' => 'tablet',
268
+ 'ctaColor' => '#fff',
269
+ 'authorColor' => '#333',
270
+ 'ctaFontSize' => '',
271
+ 'authorFontSize' => 11,
272
+ 'ctaBackground' => '#333',
273
+ ),
274
+ ),
275
+ 'uagb/restaurant-menu' => array(
276
+ 'slug' => '',
277
+ 'title' => __( 'Restaurant Menu', 'ultimate-addons-for-gutenberg' ),
278
+ 'description' => __( 'This block allows you to add attractive Restaurant Menu.', 'ultimate-addons-for-gutenberg' ),
279
+ 'default' => true,
280
+ 'attributes' => array(
281
+ 'block_id' => '',
282
+ 'headingAlign' => 'left',
283
+ 'descColor' => '#333',
284
+ 'priceColor' => '#888888',
285
+ 'titleColor' => '#333',
286
+ 'imagePosition' => 'top',
287
+ 'imageAlignment' => 'top',
288
+ 'titleFontSize' => '',
289
+ 'priceFontSize' => '',
290
+ 'descFontSize' => '',
291
+ 'priceSpace' => 5,
292
+ 'descSpace' => 15,
293
+ 'titleSpace' => 10,
294
+ 'imgVrPadding' => 0,
295
+ 'imgHrPadding' => 0,
296
+ 'imgTopPadding' => 0,
297
+ 'imgBottomPadding' => 0,
298
+ 'iconImage' => '',
299
+ 'imageSize' => 'medium',
300
+ 'imageWidth' => '',
301
+ 'columns' => 2,
302
+ 'tcolumns' => 2,
303
+ 'mcolumns' => 1,
304
+ 'rowGap' => 10,
305
+ 'columnGap' => 10,
306
+ 'contentHrPadding' => 5,
307
+ 'contentVrPadding' => 5,
308
+ 'seperatorStyle' => 'dashed',
309
+ 'seperatorWidth' => '100',
310
+ 'seperatorThickness' => '1',
311
+ 'seperatorColor' => '#b2b4b5',
312
+ ),
313
+ ),
314
+ 'uagb/section' => array(
315
+ 'slug' => '',
316
+ 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
317
+ 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
318
+ 'default' => true,
319
+ 'attributes' => array(
320
+ 'topPadding' => '20',
321
+ 'bottomPadding' => '20',
322
+ 'leftPadding' => '20',
323
+ 'rightPadding' => '20',
324
+ 'topMargin' => '0',
325
+ 'bottomMargin' => '0',
326
+ 'leftMargin' => '0',
327
+ 'rightMargin' => '0',
328
+ 'contentWidth' => 'boxed',
329
+ 'width' => '900',
330
+ 'innerWidth' => '1140',
331
+ 'tag' => 'section',
332
+ 'backgroundType' => 'none',
333
+ 'gradientColor1' => '',
334
+ 'gradientColor2' => '',
335
+ 'backgroundVideoColor' => '',
336
+ 'backgroundPosition' => 'center-center',
337
+ 'backgroundSize' => 'cover',
338
+ 'backgroundRepeat' => 'no-repeat',
339
+ 'backgroundAttachment' => 'scroll',
340
+ 'gradientType' => 'linear',
341
+ 'gradientLocation1' => '0',
342
+ 'gradientLocation2' => '100',
343
+ 'gradientAngle' => '0',
344
+ 'backgroundColor' => '',
345
+ 'backgroundOpacity' => '0',
346
+ 'backgroundVideoOpacity' => '50',
347
+ 'backgroundImageColor' => '',
348
+ 'align' => 'center',
349
+ 'borderStyle' => 'none',
350
+ 'borderWidth' => '1',
351
+ 'borderRadius' => '',
352
+ 'borderColor' => '',
353
+ ),
354
+ ),
355
+ 'uagb/social-share' => array(
356
+ 'slug' => '',
357
+ 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
358
+ 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
359
+ 'default' => true,
360
+ 'attributes' => array(
361
+ 'align' => 'center',
362
+ 'social_count' => '1',
363
+ 'socials' => array(
364
+ array(
365
+ 'type' => 'facebook',
366
+ 'image_icon' => 'icon',
367
+ 'icon' => 'fab fa-facebook',
368
+ 'image' => '',
369
+ 'icon_color' => '#3a3a3a',
370
+ 'icon_hover_color' => '#3a3a3a',
371
+ 'icon_bg_color' => '',
372
+ 'icon_bg_hover_color' => '',
373
+ ),
374
+ ),
375
+ 'gap' => '10',
376
+ 'size' => '40',
377
+ 'bgSize' => '0',
378
+ 'borderRadius' => '0',
379
+ 'social_layout' => 'horizontal',
380
+ 'stack' => 'none',
381
+ ),
382
+ ),
383
+ 'uagb/team' => array(
384
+ 'slug' => '',
385
+ 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
386
+ 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
387
+ 'default' => true,
388
+ 'attributes' => array(
389
+ 'block_id' => '',
390
+ 'align' => 'center',
391
+ 'tag' => 'h3',
392
+ 'titleColor' => '',
393
+ 'prefixColor' => '#888888',
394
+ 'descColor' => '',
395
+ 'socialColor' => '#333',
396
+ 'socialHoverColor' => '',
397
+ 'titleFontSize' => '',
398
+ 'prefixFontSize' => 15,
399
+ 'descFontSize' => '',
400
+ 'socialFontSize' => 20,
401
+ 'image' => '',
402
+ 'imgStyle' => 'normal',
403
+ 'imgPosition' => 'above',
404
+ 'imgAlign' => 'top',
405
+ 'imgSiz' => 'thumbnail',
406
+ 'imgWidth' => 120,
407
+ 'titleSpace' => '',
408
+ 'prefixSpace' => '',
409
+ 'descSpace' => 10,
410
+ 'imgLeftMargin' => 20,
411
+ 'imgRightMargin' => 20,
412
+ 'imgTopMargin' => 15,
413
+ 'imgBottomMargin' => 15,
414
+ 'socialSpace' => 20,
415
+ 'headingTag' => 'h3',
416
+ ),
417
+ ),
418
+ 'uagb/testimonial' => array(
419
+ 'slug' => '',
420
+ 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
421
+ 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
422
+ 'default' => true,
423
+ 'attributes' => array(
424
+ 'headingAlign' => 'center',
425
+ 'companyColor' => '#888888',
426
+ 'descColor' => '#333',
427
+ 'authorColor' => '#333',
428
+ 'nameFontSize' => '',
429
+ 'companyFontSize' => 15,
430
+ 'descFontSize' => '',
431
+ 'descSpace' => 15,
432
+ 'block_id' => '',
433
+ 'nameSpace' => 5,
434
+ 'imgVrPadding' => 10,
435
+ 'imgHrPadding' => 10,
436
+ 'imageWidth' => 60,
437
+ 'rowGap' => 10,
438
+ 'columnGap' => 10,
439
+ 'contentPadding' => 5,
440
+ 'backgroundColor' => '',
441
+ 'backgroundImage' => '',
442
+ 'backgroundPosition' => 'center-center',
443
+ 'backgroundSize' => 'cover',
444
+ 'backgroundRepeat' => 'no-repeat',
445
+ 'backgroundImageColor' => '',
446
+ 'backgroundOpacity' => 0,
447
+ 'borderStyle' => 'none',
448
+ 'borderWidth' => 1,
449
+ 'borderRadius' => 0,
450
+ 'borderColor' => '#333',
451
+ 'arrowColor' => '#333',
452
+ ),
453
+ ),
454
+ );
455
+ }
456
+ return self::$block_attributes;
457
+ }
458
+ }
459
+ }
classes/class-uagb-helper.php CHANGED
@@ -1,414 +1,430 @@
1
- <?php
2
- /**
3
- * UAGB Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Helper.
12
- */
13
- final class UAGB_Helper {
14
-
15
- /**
16
- * Member Variable
17
- *
18
- * @since 0.0.1
19
- * @var instance
20
- */
21
- private static $instance;
22
-
23
- /**
24
- * Member Variable
25
- *
26
- * @since 0.0.1
27
- * @var instance
28
- */
29
- public static $block_list;
30
-
31
- /**
32
- * Google Map Language List
33
- *
34
- * @var google_map_languages
35
- */
36
- private static $google_map_languages = null;
37
-
38
- /**
39
- * Initiator
40
- *
41
- * @since 0.0.1
42
- */
43
- public static function get_instance() {
44
- if ( ! isset( self::$instance ) ) {
45
- self::$instance = new self;
46
- }
47
- return self::$instance;
48
- }
49
-
50
- /**
51
- * Constructor
52
- */
53
- public function __construct() {
54
-
55
- require( UAGB_DIR . 'classes/class-uagb-config.php' );
56
- require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
57
-
58
- self::$block_list = UAGB_Config::get_block_attributes();
59
-
60
- add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
61
- }
62
-
63
- /**
64
- * Parse CSS into correct CSS syntax.
65
- *
66
- * @param array $selectors The block selectors.
67
- * @param string $id The selector ID.
68
- * @since 0.0.1
69
- */
70
- public static function generate_css( $selectors, $id ) {
71
-
72
- $styling_css = '';
73
-
74
- if ( empty( $selectors ) ) {
75
- return;
76
- }
77
-
78
- foreach ( $selectors as $key => $value ) {
79
-
80
- $styling_css .= $id;
81
-
82
- $styling_css .= $key . ' { ';
83
- $css = '';
84
-
85
- foreach ( $value as $j => $val ) {
86
-
87
- $css .= $j . ': ' . $val . ';';
88
- }
89
-
90
- $styling_css .= $css . ' } ';
91
- }
92
-
93
- return $styling_css;
94
- }
95
-
96
- /**
97
- * Parse CSS into correct CSS syntax.
98
- *
99
- * @param string $query Media Query string.
100
- * @param array $selectors The block selectors.
101
- * @param string $id The selector ID.
102
- * @since 0.0.1
103
- */
104
- public static function generate_responsive_css( $query, $selectors, $id ) {
105
-
106
- $css = $query . ' { ';
107
- $css .= self::generate_css( $selectors, $id );
108
- $css .= ' } ';
109
-
110
- return $css;
111
- }
112
-
113
- /**
114
- * Generates CSS recurrsively.
115
- *
116
- * @param object $block The block object.
117
- * @since 0.0.1
118
- */
119
- public function get_block_css( $block ) {
120
-
121
- // @codingStandardsIgnoreStart
122
-
123
- $block = ( array ) $block;
124
-
125
- $name = $block['blockName'];
126
- $css = '';
127
-
128
- if( ! isset( $name ) ) {
129
- return;
130
- }
131
-
132
- if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
133
- $blockattr = $block['attrs'];
134
- if ( isset( $blockattr['block_id'] ) ) {
135
- $block_id = $blockattr['block_id'];
136
- }
137
- }
138
-
139
- switch ( $name ) {
140
- case 'uagb/section':
141
- $css .= UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
142
- break;
143
-
144
- case 'uagb/advanced-heading':
145
- $css .= UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
146
- break;
147
-
148
- case 'uagb/info-box':
149
- $css .= UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
150
- break;
151
-
152
- case 'uagb/buttons':
153
- $css .= UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
154
- break;
155
-
156
- case 'uagb/testimonial':
157
- $css .= UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
158
- break;
159
-
160
- case 'uagb/team':
161
- $css .= UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
162
- break;
163
-
164
- case 'uagb/social-share':
165
- $css .= UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
166
- break;
167
-
168
- case 'uagb/content-timeline':
169
- $css .= UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
170
- break;
171
-
172
- case 'uagb/restaurant-menu':
173
- $css .= UAGB_Block_Helper::get_restaurant_menu_css( $blockattr, $block_id );
174
- break;
175
-
176
- case 'uagb/icon-list':
177
- $css .= UAGB_Block_Helper::get_icon_list_css( $blockattr, $block_id );
178
- break;
179
-
180
- default:
181
- // Nothing to do here.
182
- break;
183
- }
184
-
185
- if ( isset( $block['innerBlocks'] ) ) {
186
- foreach ( $block['innerBlocks'] as $j => $inner_block ) {
187
- $css .= $this->get_block_css( $inner_block );
188
- }
189
- }
190
-
191
- echo $css;
192
-
193
- // @codingStandardsIgnoreEnd
194
- }
195
-
196
- /**
197
- * Generates stylesheet and appends in head tag.
198
- *
199
- * @since 0.0.1
200
- */
201
- public function generate_stylesheet() {
202
-
203
- if ( has_blocks( get_the_ID() ) ) {
204
-
205
- global $post;
206
-
207
- if ( ! is_object( $post ) ) {
208
- return;
209
- }
210
-
211
- $blocks = $this->parse( $post->post_content );
212
-
213
- if ( ! is_array( $blocks ) || empty( $blocks ) ) {
214
- return;
215
- }
216
-
217
- ob_start();
218
- ?>
219
- <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
220
- <?php
221
- }
222
- }
223
-
224
- /**
225
- * Parse Guten Block.
226
- *
227
- * @param string $content the content string.
228
- * @since 1.1.0
229
- */
230
- public function parse( $content ) {
231
-
232
- global $wp_version;
233
-
234
- return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
235
- }
236
-
237
- /**
238
- * Generates stylesheet for reusable blocks.
239
- *
240
- * @param array $blocks Blocks array.
241
- * @since 1.1.0
242
- */
243
- public function get_stylesheet( $blocks ) {
244
-
245
- foreach ( $blocks as $i => $block ) {
246
-
247
- if ( is_array( $block ) ) {
248
-
249
- if ( 'core/block' == $block['blockName'] ) {
250
-
251
- $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
252
-
253
- if ( $id ) {
254
-
255
- $content = get_post_field( 'post_content', $id );
256
-
257
- $reusable_blocks = $this->parse( $content );
258
-
259
- $this->get_stylesheet( $reusable_blocks );
260
- }
261
- } else {
262
-
263
- // Get CSS for the Block.
264
- $this->get_block_css( $block );
265
- }
266
- }
267
- }
268
- }
269
-
270
- /**
271
- * Get Buttons default array.
272
- *
273
- * @since 0.0.1
274
- */
275
- public static function get_button_defaults() {
276
-
277
- $default = array();
278
-
279
- for ( $i = 1; $i <= 2; $i++ ) {
280
- array_push(
281
- $default,
282
- array(
283
- 'size' => '',
284
- 'vPadding' => 10,
285
- 'hPadding' => 14,
286
- 'borderWidth' => 1,
287
- 'borderRadius' => 2,
288
- 'borderStyle' => 'solid',
289
- 'borderColor' => '#333',
290
- 'borderHColor' => '#333',
291
- 'color' => '#333',
292
- 'background' => '',
293
- 'hColor' => '#333',
294
- 'hBackground' => '',
295
- )
296
- );
297
- }
298
-
299
- return $default;
300
- }
301
-
302
- /**
303
- * Returns an option from the database for
304
- * the admin settings page.
305
- *
306
- * @param string $key The option key.
307
- * @param mixed $default Option default value if option is not available.
308
- * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
309
- * @return string Return the option value
310
- */
311
- public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
312
-
313
- // Get the site-wide option if we're in the network admin.
314
- if ( $network_override && is_multisite() ) {
315
- $value = get_site_option( $key, $default );
316
- } else {
317
- $value = get_option( $key, $default );
318
- }
319
-
320
- return $value;
321
- }
322
-
323
- /**
324
- * Updates an option from the admin settings page.
325
- *
326
- * @param string $key The option key.
327
- * @param mixed $value The value to update.
328
- * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
329
- * @return mixed
330
- */
331
- static public function update_admin_settings_option( $key, $value, $network = false ) {
332
-
333
- // Update the site-wide option since we're in the network admin.
334
- if ( $network && is_multisite() ) {
335
- update_site_option( $key, $value );
336
- } else {
337
- update_option( $key, $value );
338
- }
339
-
340
- }
341
-
342
- /**
343
- * Is Knowledgebase.
344
- *
345
- * @return string
346
- * @since 0.0.1
347
- */
348
- static public function knowledgebase_data() {
349
-
350
- $knowledgebase = array(
351
- 'enable_knowledgebase' => true,
352
- 'knowledgebase_url' => 'http://uagb.sharkz.in/docs/',
353
- );
354
-
355
- return $knowledgebase;
356
- }
357
-
358
- /**
359
- * Is Knowledgebase.
360
- *
361
- * @return string
362
- * @since 0.0.1
363
- */
364
- static public function support_data() {
365
-
366
- $support = array(
367
- 'enable_support' => true,
368
- 'support_url' => 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg',
369
- );
370
-
371
- return $support;
372
- }
373
-
374
- /**
375
- * Provide Widget settings.
376
- *
377
- * @return array()
378
- * @since 0.0.1
379
- */
380
- static public function get_block_options() {
381
-
382
- $blocks = self::$block_list;
383
- $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
384
- if ( is_array( $blocks ) ) {
385
-
386
- foreach ( $blocks as $slug => $data ) {
387
-
388
- $_slug = str_replace( 'uagb/', '', $slug );
389
-
390
- if ( isset( $saved_blocks[ $_slug ] ) ) {
391
-
392
- if ( 'disabled' === $saved_blocks[ $_slug ] ) {
393
- $blocks[ $slug ]['is_activate'] = false;
394
- } else {
395
- $blocks[ $slug ]['is_activate'] = true;
396
- }
397
- } else {
398
- $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
399
- }
400
- }
401
- }
402
-
403
- self::$block_list = $blocks;
404
-
405
- return apply_filters( 'uagb_enabled_blocks', self::$block_list );
406
- }
407
- }
408
-
409
- /**
410
- * Prepare if class 'UAGB_Helper' exist.
411
- * Kicking this off by calling 'get_instance()' method
412
- */
413
- UAGB_Helper::get_instance();
414
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Helper.
12
+ */
13
+ final class UAGB_Helper {
14
+
15
+ /**
16
+ * Member Variable
17
+ *
18
+ * @since 0.0.1
19
+ * @var instance
20
+ */
21
+ private static $instance;
22
+
23
+ /**
24
+ * Member Variable
25
+ *
26
+ * @since 0.0.1
27
+ * @var instance
28
+ */
29
+ public static $block_list;
30
+
31
+ /**
32
+ * Google Map Language List
33
+ *
34
+ * @var google_map_languages
35
+ */
36
+ private static $google_map_languages = null;
37
+
38
+ /**
39
+ * Initiator
40
+ *
41
+ * @since 0.0.1
42
+ */
43
+ public static function get_instance() {
44
+ if ( ! isset( self::$instance ) ) {
45
+ self::$instance = new self;
46
+ }
47
+ return self::$instance;
48
+ }
49
+
50
+ /**
51
+ * Constructor
52
+ */
53
+ public function __construct() {
54
+
55
+ require( UAGB_DIR . 'classes/class-uagb-config.php' );
56
+ require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
57
+
58
+ self::$block_list = UAGB_Config::get_block_attributes();
59
+
60
+ add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
61
+ }
62
+
63
+ /**
64
+ * Parse CSS into correct CSS syntax.
65
+ *
66
+ * @param array $selectors The block selectors.
67
+ * @param string $id The selector ID.
68
+ * @since 0.0.1
69
+ */
70
+ public static function generate_css( $selectors, $id ) {
71
+
72
+ $styling_css = '';
73
+
74
+ if ( empty( $selectors ) ) {
75
+ return;
76
+ }
77
+
78
+ foreach ( $selectors as $key => $value ) {
79
+
80
+ $styling_css .= $id;
81
+
82
+ $styling_css .= $key . ' { ';
83
+ $css = '';
84
+
85
+ foreach ( $value as $j => $val ) {
86
+
87
+ $css .= $j . ': ' . $val . ';';
88
+ }
89
+
90
+ $styling_css .= $css . ' } ';
91
+ }
92
+
93
+ return $styling_css;
94
+ }
95
+
96
+ /**
97
+ * Parse CSS into correct CSS syntax.
98
+ *
99
+ * @param string $query Media Query string.
100
+ * @param array $selectors The block selectors.
101
+ * @param string $id The selector ID.
102
+ * @since 0.0.1
103
+ */
104
+ public static function generate_responsive_css( $query, $selectors, $id ) {
105
+
106
+ $css = $query . ' { ';
107
+ $css .= self::generate_css( $selectors, $id );
108
+ $css .= ' } ';
109
+
110
+ return $css;
111
+ }
112
+
113
+ /**
114
+ * Generates CSS recurrsively.
115
+ *
116
+ * @param object $block The block object.
117
+ * @since 0.0.1
118
+ */
119
+ public function get_block_css( $block ) {
120
+
121
+ // @codingStandardsIgnoreStart
122
+
123
+ $block = ( array ) $block;
124
+
125
+ $name = $block['blockName'];
126
+ $css = '';
127
+
128
+ if( ! isset( $name ) ) {
129
+ return;
130
+ }
131
+
132
+ if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
133
+ $blockattr = $block['attrs'];
134
+ if ( isset( $blockattr['block_id'] ) ) {
135
+ $block_id = $blockattr['block_id'];
136
+ }
137
+ }
138
+
139
+ switch ( $name ) {
140
+ case 'uagb/section':
141
+ $css .= UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
142
+ break;
143
+
144
+ case 'uagb/advanced-heading':
145
+ $css .= UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
146
+ break;
147
+
148
+ case 'uagb/info-box':
149
+ $css .= UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
150
+ break;
151
+
152
+ case 'uagb/buttons':
153
+ $css .= UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
154
+ break;
155
+
156
+ case 'uagb/testimonial':
157
+ $css .= UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
158
+ break;
159
+
160
+ case 'uagb/team':
161
+ $css .= UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
162
+ break;
163
+
164
+ case 'uagb/social-share':
165
+ $css .= UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
166
+ break;
167
+
168
+ case 'uagb/content-timeline':
169
+ $css .= UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
170
+ break;
171
+
172
+ case 'uagb/post-timeline':
173
+ $css .= UAGB_Block_Helper::get_post_timeline_css( $blockattr, $block_id );
174
+ break;
175
+
176
+ case 'uagb/restaurant-menu':
177
+ $css .= UAGB_Block_Helper::get_restaurant_menu_css( $blockattr, $block_id );
178
+ break;
179
+
180
+ case 'uagb/icon-list':
181
+ $css .= UAGB_Block_Helper::get_icon_list_css( $blockattr, $block_id );
182
+ break;
183
+
184
+ case 'uagb/post-grid':
185
+ $css .= UAGB_Block_Helper::get_post_grid_css( $blockattr, $block_id );
186
+ break;
187
+
188
+ case 'uagb/post-carousel':
189
+ $css .= UAGB_Block_Helper::get_post_carousel_css( $blockattr, $block_id );
190
+ break;
191
+
192
+ case 'uagb/post-masonry':
193
+ $css .= UAGB_Block_Helper::get_post_masonry_css( $blockattr, $block_id );
194
+ break;
195
+
196
+ default:
197
+ // Nothing to do here.
198
+ break;
199
+ }
200
+
201
+ if ( isset( $block['innerBlocks'] ) ) {
202
+ foreach ( $block['innerBlocks'] as $j => $inner_block ) {
203
+ $css .= $this->get_block_css( $inner_block );
204
+ }
205
+ }
206
+
207
+ echo $css;
208
+
209
+ // @codingStandardsIgnoreEnd
210
+ }
211
+
212
+ /**
213
+ * Generates stylesheet and appends in head tag.
214
+ *
215
+ * @since 0.0.1
216
+ */
217
+ public function generate_stylesheet() {
218
+
219
+ if ( has_blocks( get_the_ID() ) ) {
220
+
221
+ global $post;
222
+
223
+ if ( ! is_object( $post ) ) {
224
+ return;
225
+ }
226
+
227
+ $blocks = $this->parse( $post->post_content );
228
+
229
+ if ( ! is_array( $blocks ) || empty( $blocks ) ) {
230
+ return;
231
+ }
232
+
233
+ ob_start();
234
+ ?>
235
+ <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
236
+ <?php
237
+ }
238
+ }
239
+
240
+ /**
241
+ * Parse Guten Block.
242
+ *
243
+ * @param string $content the content string.
244
+ * @since 1.1.0
245
+ */
246
+ public function parse( $content ) {
247
+
248
+ global $wp_version;
249
+
250
+ return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
251
+ }
252
+
253
+ /**
254
+ * Generates stylesheet for reusable blocks.
255
+ *
256
+ * @param array $blocks Blocks array.
257
+ * @since 1.1.0
258
+ */
259
+ public function get_stylesheet( $blocks ) {
260
+
261
+ foreach ( $blocks as $i => $block ) {
262
+
263
+ if ( is_array( $block ) ) {
264
+
265
+ if ( 'core/block' == $block['blockName'] ) {
266
+
267
+ $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
268
+
269
+ if ( $id ) {
270
+
271
+ $content = get_post_field( 'post_content', $id );
272
+
273
+ $reusable_blocks = $this->parse( $content );
274
+
275
+ $this->get_stylesheet( $reusable_blocks );
276
+ }
277
+ } else {
278
+
279
+ // Get CSS for the Block.
280
+ $this->get_block_css( $block );
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ /**
287
+ * Get Buttons default array.
288
+ *
289
+ * @since 0.0.1
290
+ */
291
+ public static function get_button_defaults() {
292
+
293
+ $default = array();
294
+
295
+ for ( $i = 1; $i <= 2; $i++ ) {
296
+ array_push(
297
+ $default,
298
+ array(
299
+ 'size' => '',
300
+ 'vPadding' => 10,
301
+ 'hPadding' => 14,
302
+ 'borderWidth' => 1,
303
+ 'borderRadius' => 2,
304
+ 'borderStyle' => 'solid',
305
+ 'borderColor' => '#333',
306
+ 'borderHColor' => '#333',
307
+ 'color' => '#333',
308
+ 'background' => '',
309
+ 'hColor' => '#333',
310
+ 'hBackground' => '',
311
+ )
312
+ );
313
+ }
314
+
315
+ return $default;
316
+ }
317
+
318
+ /**
319
+ * Returns an option from the database for
320
+ * the admin settings page.
321
+ *
322
+ * @param string $key The option key.
323
+ * @param mixed $default Option default value if option is not available.
324
+ * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
325
+ * @return string Return the option value
326
+ */
327
+ public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
328
+
329
+ // Get the site-wide option if we're in the network admin.
330
+ if ( $network_override && is_multisite() ) {
331
+ $value = get_site_option( $key, $default );
332
+ } else {
333
+ $value = get_option( $key, $default );
334
+ }
335
+
336
+ return $value;
337
+ }
338
+
339
+ /**
340
+ * Updates an option from the admin settings page.
341
+ *
342
+ * @param string $key The option key.
343
+ * @param mixed $value The value to update.
344
+ * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
345
+ * @return mixed
346
+ */
347
+ static public function update_admin_settings_option( $key, $value, $network = false ) {
348
+
349
+ // Update the site-wide option since we're in the network admin.
350
+ if ( $network && is_multisite() ) {
351
+ update_site_option( $key, $value );
352
+ } else {
353
+ update_option( $key, $value );
354
+ }
355
+
356
+ }
357
+
358
+ /**
359
+ * Is Knowledgebase.
360
+ *
361
+ * @return string
362
+ * @since 0.0.1
363
+ */
364
+ static public function knowledgebase_data() {
365
+
366
+ $knowledgebase = array(
367
+ 'enable_knowledgebase' => true,
368
+ 'knowledgebase_url' => 'http://uagb.sharkz.in/docs/',
369
+ );
370
+
371
+ return $knowledgebase;
372
+ }
373
+
374
+ /**
375
+ * Is Knowledgebase.
376
+ *
377
+ * @return string
378
+ * @since 0.0.1
379
+ */
380
+ static public function support_data() {
381
+
382
+ $support = array(
383
+ 'enable_support' => true,
384
+ 'support_url' => 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg',
385
+ );
386
+
387
+ return $support;
388
+ }
389
+
390
+ /**
391
+ * Provide Widget settings.
392
+ *
393
+ * @return array()
394
+ * @since 0.0.1
395
+ */
396
+ static public function get_block_options() {
397
+
398
+ $blocks = self::$block_list;
399
+ $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
400
+ if ( is_array( $blocks ) ) {
401
+
402
+ foreach ( $blocks as $slug => $data ) {
403
+
404
+ $_slug = str_replace( 'uagb/', '', $slug );
405
+
406
+ if ( isset( $saved_blocks[ $_slug ] ) ) {
407
+
408
+ if ( 'disabled' === $saved_blocks[ $_slug ] ) {
409
+ $blocks[ $slug ]['is_activate'] = false;
410
+ } else {
411
+ $blocks[ $slug ]['is_activate'] = true;
412
+ }
413
+ } else {
414
+ $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
415
+ }
416
+ }
417
+ }
418
+
419
+ self::$block_list = $blocks;
420
+
421
+ return apply_filters( 'uagb_enabled_blocks', self::$block_list );
422
+ }
423
+ }
424
+
425
+ /**
426
+ * Prepare if class 'UAGB_Helper' exist.
427
+ * Kicking this off by calling 'get_instance()' method
428
+ */
429
+ UAGB_Helper::get_instance();
430
+ }
classes/class-uagb-init-blocks.php CHANGED
@@ -1,203 +1,211 @@
1
- <?php
2
- /**
3
- * UAGB Blocks Initializer
4
- *
5
- * Enqueue CSS/JS of all the blocks.
6
- *
7
- * @since 1.0.0
8
- * @package UAGB
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit; // Exit if accessed directly.
13
- }
14
-
15
- /**
16
- * UAGB_Init_Blocks.
17
- *
18
- * @package UAGB
19
- */
20
- class UAGB_Init_Blocks {
21
-
22
- /**
23
- * Member Variable
24
- *
25
- * @var instance
26
- */
27
- private static $instance;
28
-
29
- /**
30
- * Initiator
31
- */
32
- public static function get_instance() {
33
- if ( ! isset( self::$instance ) ) {
34
- self::$instance = new self;
35
- }
36
- return self::$instance;
37
- }
38
-
39
- /**
40
- * Constructor
41
- */
42
- public function __construct() {
43
-
44
- // Hook: Frontend assets.
45
- add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
-
47
- // Hook: Editor assets.
48
- add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
-
50
- add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
- }
52
-
53
- /**
54
- * Gutenberg block category for UAGB.
55
- *
56
- * @param array $categories Block categories.
57
- * @param object $post Post object.
58
- * @since 1.0.0
59
- */
60
- function register_block_category( $categories, $post ) {
61
- return array_merge(
62
- $categories,
63
- array(
64
- array(
65
- 'slug' => 'uagb',
66
- 'title' => __( 'UAGB Blocks', 'ultimate-addons-for-gutenberg' ),
67
- ),
68
- )
69
- );
70
- }
71
-
72
- /**
73
- * Enqueue Gutenberg block assets for both frontend + backend.
74
- *
75
- * @since 1.0.0
76
- */
77
- function block_assets() {
78
- // Styles.
79
- wp_enqueue_style(
80
- 'uagb-block-css', // Handle.
81
- UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
- UAGB_VER
83
- );
84
-
85
- // Font Awsome.
86
- wp_enqueue_style(
87
- 'uagb-fontawesome-css', // Handle.
88
- 'https://use.fontawesome.com/releases/v5.0.9/css/all.css', // Block style CSS.
89
- UAGB_VER
90
- );
91
-
92
- // Scripts.
93
- wp_enqueue_script(
94
- 'uagb-slick-js', // Handle.
95
- UAGB_URL . 'assets/js/slick.min.js',
96
- array( 'jquery' ), // Dependencies, defined above.
97
- UAGB_VER,
98
- false // Enqueue the script in the footer.
99
- );
100
-
101
- // Styles.
102
- wp_enqueue_style(
103
- 'uagb-slick-css', // Handle.
104
- UAGB_URL . 'assets/css/slick.min.css', // Block style CSS.
105
- UAGB_VER
106
- );
107
-
108
- // Testimonial Scripts.
109
- wp_enqueue_script(
110
- 'uabg-testimonial-js', // Handle.
111
- UAGB_URL . 'assets/js/testimonial.js',
112
- array( 'jquery' ),
113
- UAGB_VER,
114
- true // Enqueue the script in the footer.
115
- );
116
-
117
- // Timeline js.
118
- wp_enqueue_script(
119
- 'uabg-timeline-js', // Handle.
120
- UAGB_URL . 'assets/js/timeline.js',
121
- array( 'jquery' ),
122
- UAGB_VER,
123
- true // Enqueue the script in the footer.
124
- );
125
-
126
- } // End function editor_assets().
127
-
128
- /**
129
- * Enqueue Gutenberg block assets for backend editor.
130
- *
131
- * @since 1.0.0
132
- */
133
- function editor_assets() {
134
- // Scripts.
135
- wp_enqueue_script(
136
- 'uagb-block-editor-js', // Handle.
137
- UAGB_URL . 'dist/blocks.build.js',
138
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ), // Dependencies, defined above.
139
- UAGB_VER,
140
- true // Enqueue the script in the footer.
141
- );
142
-
143
- // Styles.
144
- wp_enqueue_style(
145
- 'uagb-block-editor-css', // Handle.
146
- UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
147
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
148
- UAGB_VER
149
- );
150
-
151
- // Common Editor style.
152
- wp_enqueue_style(
153
- 'uagb-block-common-editor-css', // Handle.
154
- UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
155
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
156
- UAGB_VER
157
- );
158
-
159
- wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
160
-
161
- $blocks = array();
162
- $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
163
- if ( is_array( $saved_blocks ) ) {
164
-
165
- foreach ( $saved_blocks as $slug => $data ) {
166
-
167
- $_slug = 'uagb/' . $slug;
168
-
169
- if ( isset( $saved_blocks[ $slug ] ) ) {
170
-
171
- if ( 'disabled' === $saved_blocks[ $slug ] ) {
172
- array_push( $blocks, $_slug );
173
- }
174
- }
175
- }
176
- }
177
-
178
- wp_localize_script(
179
- 'uagb-deactivate-block-js',
180
- 'uagb_deactivate_blocks',
181
- array(
182
- 'deactivated_blocks' => $blocks,
183
- )
184
- );
185
-
186
- wp_localize_script(
187
- 'uagb-block-editor-js',
188
- 'uagb_blocks_info',
189
- array(
190
- 'blocks' => UAGB_Config::get_block_attributes(),
191
- 'category' => 'uagb',
192
- )
193
- );
194
-
195
- } // End function editor_assets().
196
-
197
- }
198
-
199
- /**
200
- * Prepare if class 'UAGB_Init_Blocks' exist.
201
- * Kicking this off by calling 'get_instance()' method
202
- */
203
- UAGB_Init_Blocks::get_instance();
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Blocks Initializer
4
+ *
5
+ * Enqueue CSS/JS of all the blocks.
6
+ *
7
+ * @since 1.0.0
8
+ * @package UAGB
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit; // Exit if accessed directly.
13
+ }
14
+
15
+ /**
16
+ * UAGB_Init_Blocks.
17
+ *
18
+ * @package UAGB
19
+ */
20
+ class UAGB_Init_Blocks {
21
+
22
+ /**
23
+ * Member Variable
24
+ *
25
+ * @var instance
26
+ */
27
+ private static $instance;
28
+
29
+ /**
30
+ * Initiator
31
+ */
32
+ public static function get_instance() {
33
+ if ( ! isset( self::$instance ) ) {
34
+ self::$instance = new self;
35
+ }
36
+ return self::$instance;
37
+ }
38
+
39
+ /**
40
+ * Constructor
41
+ */
42
+ public function __construct() {
43
+
44
+ // Hook: Frontend assets.
45
+ add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
+
47
+ // Hook: Editor assets.
48
+ add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
+
50
+ add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
+ }
52
+
53
+ /**
54
+ * Gutenberg block category for UAGB.
55
+ *
56
+ * @param array $categories Block categories.
57
+ * @param object $post Post object.
58
+ * @since 1.0.0
59
+ */
60
+ function register_block_category( $categories, $post ) {
61
+ return array_merge(
62
+ $categories,
63
+ array(
64
+ array(
65
+ 'slug' => 'uagb',
66
+ 'title' => __( 'UAGB Blocks', 'ultimate-addons-for-gutenberg' ),
67
+ ),
68
+ )
69
+ );
70
+ }
71
+
72
+ /**
73
+ * Enqueue Gutenberg block assets for both frontend + backend.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ function block_assets() {
78
+ // Styles.
79
+ wp_enqueue_style(
80
+ 'uagb-block-css', // Handle.
81
+ UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
+ UAGB_VER
83
+ );
84
+
85
+ // Scripts.
86
+ wp_enqueue_script(
87
+ 'uagb-masonry', // Handle.
88
+ UAGB_URL . 'assets/js/isotope.min.js',
89
+ array( 'jquery' ), // Dependencies, defined above.
90
+ UAGB_VER,
91
+ false // Enqueue the script in the footer.
92
+ );
93
+
94
+ // Font Awsome.
95
+ wp_enqueue_style(
96
+ 'uagb-fontawesome-css', // Handle.
97
+ 'https://use.fontawesome.com/releases/v5.6.0/css/all.css', // Block style CSS.
98
+ UAGB_VER
99
+ );
100
+
101
+ // Scripts.
102
+ wp_enqueue_script(
103
+ 'uagb-slick-js', // Handle.
104
+ UAGB_URL . 'assets/js/slick.min.js',
105
+ array( 'jquery' ), // Dependencies, defined above.
106
+ UAGB_VER,
107
+ false // Enqueue the script in the footer.
108
+ );
109
+
110
+ // Styles.
111
+ wp_enqueue_style(
112
+ 'uagb-slick-css', // Handle.
113
+ UAGB_URL . 'assets/css/slick.min.css', // Block style CSS.
114
+ UAGB_VER
115
+ );
116
+
117
+ // Testimonial Scripts.
118
+ wp_enqueue_script(
119
+ 'uabg-testimonial-js', // Handle.
120
+ UAGB_URL . 'assets/js/testimonial.js',
121
+ array( 'jquery' ),
122
+ UAGB_VER,
123
+ true // Enqueue the script in the footer.
124
+ );
125
+
126
+ // Timeline js.
127
+ wp_enqueue_script(
128
+ 'uabg-timeline-js', // Handle.
129
+ UAGB_URL . 'assets/js/timeline.js',
130
+ array( 'jquery' ),
131
+ UAGB_VER,
132
+ true // Enqueue the script in the footer.
133
+ );
134
+ } // End function editor_assets().
135
+
136
+ /**
137
+ * Enqueue Gutenberg block assets for backend editor.
138
+ *
139
+ * @since 1.0.0
140
+ */
141
+ function editor_assets() {
142
+ // Scripts.
143
+ wp_enqueue_script(
144
+ 'uagb-block-editor-js', // Handle.
145
+ UAGB_URL . 'dist/blocks.build.js',
146
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ), // Dependencies, defined above.
147
+ UAGB_VER,
148
+ true // Enqueue the script in the footer.
149
+ );
150
+
151
+ // Styles.
152
+ wp_enqueue_style(
153
+ 'uagb-block-editor-css', // Handle.
154
+ UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
155
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
156
+ UAGB_VER
157
+ );
158
+
159
+ // Common Editor style.
160
+ wp_enqueue_style(
161
+ 'uagb-block-common-editor-css', // Handle.
162
+ UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
163
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
164
+ UAGB_VER
165
+ );
166
+
167
+ wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
168
+
169
+ $blocks = array();
170
+ $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
171
+ if ( is_array( $saved_blocks ) ) {
172
+
173
+ foreach ( $saved_blocks as $slug => $data ) {
174
+
175
+ $_slug = 'uagb/' . $slug;
176
+
177
+ if ( isset( $saved_blocks[ $slug ] ) ) {
178
+
179
+ if ( 'disabled' === $saved_blocks[ $slug ] ) {
180
+ array_push( $blocks, $_slug );
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ wp_localize_script(
187
+ 'uagb-deactivate-block-js',
188
+ 'uagb_deactivate_blocks',
189
+ array(
190
+ 'deactivated_blocks' => $blocks,
191
+ )
192
+ );
193
+
194
+ wp_localize_script(
195
+ 'uagb-block-editor-js',
196
+ 'uagb_blocks_info',
197
+ array(
198
+ 'blocks' => UAGB_Config::get_block_attributes(),
199
+ 'category' => 'uagb',
200
+ )
201
+ );
202
+
203
+ } // End function editor_assets().
204
+
205
+ }
206
+
207
+ /**
208
+ * Prepare if class 'UAGB_Init_Blocks' exist.
209
+ * Kicking this off by calling 'get_instance()' method
210
+ */
211
+ UAGB_Init_Blocks::get_instance();
classes/class-uagb-loader.php CHANGED
@@ -1,239 +1,240 @@
1
- <?php
2
- /**
3
- * UAGB Loader.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Loader' ) ) {
9
-
10
- /**
11
- * Class UAGB_Loader.
12
- */
13
- final class UAGB_Loader {
14
-
15
- /**
16
- * Member Variable
17
- *
18
- * @var instance
19
- */
20
- private static $instance;
21
-
22
- /**
23
- * Initiator
24
- */
25
- public static function get_instance() {
26
- if ( ! isset( self::$instance ) ) {
27
- self::$instance = new self;
28
- }
29
- return self::$instance;
30
- }
31
-
32
- /**
33
- * Constructor
34
- */
35
- public function __construct() {
36
-
37
- // Activation hook.
38
- register_activation_hook( UAGB_FILE, array( $this, 'activation_reset' ) );
39
-
40
- // deActivation hook.
41
- register_deactivation_hook( UAGB_FILE, array( $this, 'deactivation_reset' ) );
42
-
43
- if ( ! $this->is_gutenberg_active() ) {
44
- /* TO DO */
45
- add_action( 'admin_notices', array( $this, 'uagb_fails_to_load' ) );
46
- return;
47
- }
48
-
49
- $this->define_constants();
50
-
51
- $this->loader();
52
-
53
- add_action( 'plugins_loaded', array( $this, 'load_plugin' ) );
54
- }
55
-
56
- /**
57
- * Loads Other files.
58
- *
59
- * @since 1.0.0
60
- *
61
- * @return void
62
- */
63
- public function loader() {
64
- require( UAGB_DIR . 'classes/class-uagb-helper.php' );
65
- }
66
-
67
- /**
68
- * Defines all constants
69
- *
70
- * @since 1.0.0
71
- */
72
- public function define_constants() {
73
- define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
- define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
- define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
- define( 'UAGB_VER', '1.3.0' );
77
- define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
- define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
- define( 'UAGB_SLUG', 'uagb' );
80
- define( 'UAGB_CATEGORY', 'Ultimate Addons' );
81
- }
82
-
83
- /**
84
- * Loads plugin files.
85
- *
86
- * @since 1.0.0
87
- *
88
- * @return void
89
- */
90
- function load_plugin() {
91
-
92
- $this->load_textdomain();
93
-
94
- require( UAGB_DIR . 'classes/class-uagb-core-plugin.php' );
95
- require_once UAGB_DIR . 'dist/blocks/post/index.php';
96
-
97
- }
98
-
99
- /**
100
- * Check if Gutenberg is active
101
- *
102
- * @since 1.1.0
103
- *
104
- * @return boolean
105
- */
106
- public function is_gutenberg_active() {
107
- return function_exists( 'register_block_type' );
108
- }
109
-
110
- /**
111
- * Load Ultimate Gutenberg Text Domain.
112
- * This will load the translation textdomain depending on the file priorities.
113
- * 1. Global Languages /wp-content/languages/ultimate-addons-for-gutenberg/ folder
114
- * 2. Local dorectory /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder
115
- *
116
- * @since 1.0.0
117
- * @return void
118
- */
119
- public function load_textdomain() {
120
- // Default languages directory for "ultimate-addons-for-gutenberg".
121
- $lang_dir = UAGB_DIR . 'languages/';
122
-
123
- /**
124
- * Filters the languages directory path to use for AffiliateWP.
125
- *
126
- * @param string $lang_dir The languages directory path.
127
- */
128
- $lang_dir = apply_filters( 'uagb_languages_directory', $lang_dir );
129
-
130
- // Traditional WordPress plugin locale filter.
131
- global $wp_version;
132
-
133
- $get_locale = get_locale();
134
-
135
- if ( $wp_version >= 4.7 ) {
136
- $get_locale = get_user_locale();
137
- }
138
-
139
- /**
140
- * Language Locale for Ultimate Gutenberg
141
- *
142
- * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
143
- * otherwise uses `get_locale()`.
144
- */
145
- $locale = apply_filters( 'plugin_locale', $get_locale, 'ultimate-addons-for-gutenberg' );
146
- $mofile = sprintf( '%1$s-%2$s.mo', 'ultimate-addons-for-gutenberg', $locale );
147
-
148
- // Setup paths to current locale file.
149
- $mofile_local = $lang_dir . $mofile;
150
- $mofile_global = WP_LANG_DIR . '/ultimate-addons-for-gutenberg/' . $mofile;
151
-
152
- if ( file_exists( $mofile_global ) ) {
153
- // Look in global /wp-content/languages/ultimate-addons-for-gutenberg/ folder.
154
- load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_global );
155
- } elseif ( file_exists( $mofile_local ) ) {
156
- // Look in local /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder.
157
- load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_local );
158
- } else {
159
- // Load the default language files.
160
- load_plugin_textdomain( 'ultimate-addons-for-gutenberg', false, $lang_dir );
161
- }
162
- }
163
-
164
- /**
165
- * Fires admin notice when Gutenberg is not installed and activated.
166
- *
167
- * @since 1.0.0
168
- *
169
- * @return void
170
- */
171
- public function uagb_fails_to_load() {
172
- $class = 'notice notice-error';
173
- /* translators: %s: html tags */
174
- $message = sprintf( __( 'The %1$sUltimate Addon for Gutenberg%2$s plugin requires %1$sGutenberg%2$s plugin installed & activated.', 'ultimate-addons-for-gutenberg' ), '<strong>', '</strong>' );
175
-
176
- $plugin = 'gutenberg/gutenberg.php';
177
-
178
- if ( _is_gutenberg_installed( $plugin ) ) {
179
- if ( ! current_user_can( 'activate_plugins' ) ) {
180
- return;
181
- }
182
-
183
- $action_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $plugin . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $plugin );
184
- $button_label = __( 'Activate Gutenberg', 'ultimate-addons-for-gutenberg' );
185
-
186
- } else {
187
- if ( ! current_user_can( 'install_plugins' ) ) {
188
- return;
189
- }
190
-
191
- $action_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=gutenberg' ), 'install-plugin_gutenberg' );
192
- $button_label = __( 'Install Gutenberg', 'ultimate-addons-for-gutenberg' );
193
- }
194
-
195
- $button = '<p><a href="' . $action_url . '" class="button-primary">' . $button_label . '</a></p><p></p>';
196
-
197
- printf( '<div class="%1$s"><p>%2$s</p>%3$s</div>', esc_attr( $class ), $message, $button );
198
- }
199
-
200
- /**
201
- * Activation Reset
202
- */
203
- function activation_reset() {
204
- }
205
-
206
- /**
207
- * Deactivation Reset
208
- */
209
- function deactivation_reset() {
210
- }
211
- }
212
-
213
- /**
214
- * Prepare if class 'UAGB_Loader' exist.
215
- * Kicking this off by calling 'get_instance()' method
216
- */
217
- UAGB_Loader::get_instance();
218
- }
219
-
220
- /**
221
- * Is Gutenberg plugin installed.
222
- */
223
- if ( ! function_exists( '_is_gutenberg_installed' ) ) {
224
-
225
- /**
226
- * Check if Gutenberg Pro is installed
227
- *
228
- * @since 1.0.0
229
- *
230
- * @param string $plugin_path Plugin path.
231
- * @return boolean true | false
232
- * @access public
233
- */
234
- function _is_gutenberg_installed( $plugin_path ) {
235
- $plugins = get_plugins();
236
-
237
- return isset( $plugins[ $plugin_path ] );
238
- }
239
- }
 
1
+ <?php
2
+ /**
3
+ * UAGB Loader.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Loader' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Loader.
12
+ */
13
+ final class UAGB_Loader {
14
+
15
+ /**
16
+ * Member Variable
17
+ *
18
+ * @var instance
19
+ */
20
+ private static $instance;
21
+
22
+ /**
23
+ * Initiator
24
+ */
25
+ public static function get_instance() {
26
+ if ( ! isset( self::$instance ) ) {
27
+ self::$instance = new self;
28
+ }
29
+ return self::$instance;
30
+ }
31
+
32
+ /**
33
+ * Constructor
34
+ */
35
+ public function __construct() {
36
+
37
+ // Activation hook.
38
+ register_activation_hook( UAGB_FILE, array( $this, 'activation_reset' ) );
39
+
40
+ // deActivation hook.
41
+ register_deactivation_hook( UAGB_FILE, array( $this, 'deactivation_reset' ) );
42
+
43
+ if ( ! $this->is_gutenberg_active() ) {
44
+ /* TO DO */
45
+ add_action( 'admin_notices', array( $this, 'uagb_fails_to_load' ) );
46
+ return;
47
+ }
48
+
49
+ $this->define_constants();
50
+
51
+ $this->loader();
52
+
53
+ add_action( 'plugins_loaded', array( $this, 'load_plugin' ) );
54
+ }
55
+
56
+ /**
57
+ * Loads Other files.
58
+ *
59
+ * @since 1.0.0
60
+ *
61
+ * @return void
62
+ */
63
+ public function loader() {
64
+ require( UAGB_DIR . 'classes/class-uagb-helper.php' );
65
+ }
66
+
67
+ /**
68
+ * Defines all constants
69
+ *
70
+ * @since 1.0.0
71
+ */
72
+ public function define_constants() {
73
+ define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
+ define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
+ define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
+ define( 'UAGB_VER', '1.4.0' );
77
+ define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
+ define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
+ define( 'UAGB_SLUG', 'uagb' );
80
+ define( 'UAGB_CATEGORY', 'Ultimate Addons' );
81
+ }
82
+
83
+ /**
84
+ * Loads plugin files.
85
+ *
86
+ * @since 1.0.0
87
+ *
88
+ * @return void
89
+ */
90
+ function load_plugin() {
91
+
92
+ $this->load_textdomain();
93
+
94
+ require( UAGB_DIR . 'classes/class-uagb-core-plugin.php' );
95
+ require_once UAGB_DIR . 'dist/blocks/post/index.php';
96
+ require_once UAGB_DIR . 'dist/blocks/post-timeline/index.php';
97
+
98
+ }
99
+
100
+ /**
101
+ * Check if Gutenberg is active
102
+ *
103
+ * @since 1.1.0
104
+ *
105
+ * @return boolean
106
+ */
107
+ public function is_gutenberg_active() {
108
+ return function_exists( 'register_block_type' );
109
+ }
110
+
111
+ /**
112
+ * Load Ultimate Gutenberg Text Domain.
113
+ * This will load the translation textdomain depending on the file priorities.
114
+ * 1. Global Languages /wp-content/languages/ultimate-addons-for-gutenberg/ folder
115
+ * 2. Local dorectory /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder
116
+ *
117
+ * @since 1.0.0
118
+ * @return void
119
+ */
120
+ public function load_textdomain() {
121
+ // Default languages directory for "ultimate-addons-for-gutenberg".
122
+ $lang_dir = UAGB_DIR . 'languages/';
123
+
124
+ /**
125
+ * Filters the languages directory path to use for AffiliateWP.
126
+ *
127
+ * @param string $lang_dir The languages directory path.
128
+ */
129
+ $lang_dir = apply_filters( 'uagb_languages_directory', $lang_dir );
130
+
131
+ // Traditional WordPress plugin locale filter.
132
+ global $wp_version;
133
+
134
+ $get_locale = get_locale();
135
+
136
+ if ( $wp_version >= 4.7 ) {
137
+ $get_locale = get_user_locale();
138
+ }
139
+
140
+ /**
141
+ * Language Locale for Ultimate Gutenberg
142
+ *
143
+ * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
144
+ * otherwise uses `get_locale()`.
145
+ */
146
+ $locale = apply_filters( 'plugin_locale', $get_locale, 'ultimate-addons-for-gutenberg' );
147
+ $mofile = sprintf( '%1$s-%2$s.mo', 'ultimate-addons-for-gutenberg', $locale );
148
+
149
+ // Setup paths to current locale file.
150
+ $mofile_local = $lang_dir . $mofile;
151
+ $mofile_global = WP_LANG_DIR . '/ultimate-addons-for-gutenberg/' . $mofile;
152
+
153
+ if ( file_exists( $mofile_global ) ) {
154
+ // Look in global /wp-content/languages/ultimate-addons-for-gutenberg/ folder.
155
+ load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_global );
156
+ } elseif ( file_exists( $mofile_local ) ) {
157
+ // Look in local /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder.
158
+ load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_local );
159
+ } else {
160
+ // Load the default language files.
161
+ load_plugin_textdomain( 'ultimate-addons-for-gutenberg', false, $lang_dir );
162
+ }
163
+ }
164
+
165
+ /**
166
+ * Fires admin notice when Gutenberg is not installed and activated.
167
+ *
168
+ * @since 1.0.0
169
+ *
170
+ * @return void
171
+ */
172
+ public function uagb_fails_to_load() {
173
+ $class = 'notice notice-error';
174
+ /* translators: %s: html tags */
175
+ $message = sprintf( __( 'The %1$sUltimate Addon for Gutenberg%2$s plugin requires %1$sGutenberg%2$s plugin installed & activated.', 'ultimate-addons-for-gutenberg' ), '<strong>', '</strong>' );
176
+
177
+ $plugin = 'gutenberg/gutenberg.php';
178
+
179
+ if ( _is_gutenberg_installed( $plugin ) ) {
180
+ if ( ! current_user_can( 'activate_plugins' ) ) {
181
+ return;
182
+ }
183
+
184
+ $action_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $plugin . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $plugin );
185
+ $button_label = __( 'Activate Gutenberg', 'ultimate-addons-for-gutenberg' );
186
+
187
+ } else {
188
+ if ( ! current_user_can( 'install_plugins' ) ) {
189
+ return;
190
+ }
191
+
192
+ $action_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=gutenberg' ), 'install-plugin_gutenberg' );
193
+ $button_label = __( 'Install Gutenberg', 'ultimate-addons-for-gutenberg' );
194
+ }
195
+
196
+ $button = '<p><a href="' . $action_url . '" class="button-primary">' . $button_label . '</a></p><p></p>';
197
+
198
+ printf( '<div class="%1$s"><p>%2$s</p>%3$s</div>', esc_attr( $class ), $message, $button );
199
+ }
200
+
201
+ /**
202
+ * Activation Reset
203
+ */
204
+ function activation_reset() {
205
+ }
206
+
207
+ /**
208
+ * Deactivation Reset
209
+ */
210
+ function deactivation_reset() {
211
+ }
212
+ }
213
+
214
+ /**
215
+ * Prepare if class 'UAGB_Loader' exist.
216
+ * Kicking this off by calling 'get_instance()' method
217
+ */
218
+ UAGB_Loader::get_instance();
219
+ }
220
+
221
+ /**
222
+ * Is Gutenberg plugin installed.
223
+ */
224
+ if ( ! function_exists( '_is_gutenberg_installed' ) ) {
225
+
226
+ /**
227
+ * Check if Gutenberg Pro is installed
228
+ *
229
+ * @since 1.0.0
230
+ *
231
+ * @param string $plugin_path Plugin path.
232
+ * @return boolean true | false
233
+ * @access public
234
+ */
235
+ function _is_gutenberg_installed( $plugin_path ) {
236
+ $plugins = get_plugins();
237
+
238
+ return isset( $plugins[ $plugin_path ] );
239
+ }
240
+ }
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=97)}([function(e,t,n){var a,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var r=typeof a;if("string"===r||"number"===r)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===r)for(var l in a)o.call(a,l)&&a[l]&&e.push(l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(r=function(){return n}.apply(t,a))&&(e.exports=r))}()},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function r(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===a||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){g&&d&&(g=!1,d.length?m=d.concat(m):h=-1,m.length&&l())}function l(){if(!g){var e=r(i);g=!0;for(var t=m.length;t;){for(d=m,m=[];++h<t;)d&&d[h].run();h=-1,t=m.length}d=null,g=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,p=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"===typeof clearTimeout?clearTimeout:a}catch(e){f=a}}();var d,m=[],g=!1,h=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||g||r(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(215):e.exports=n(216)}).call(t,n(1))},function(e,t,n){"use strict";var a=wp.element.createElement,r={section:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{d:"M0 18h20v2h-20v-2z"}),a("path",{d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{d:"M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z"}),a("path",{d:"M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z"}),a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z"})),post_masonry:a("svg",{width:20,height:20},a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),post_grid:a("svg",{width:20,height:20},a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),testimonial:a("svg",{width:20,height:20},a("path",{d:"M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z"}),a("path",{d:"M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z"}),a("path",{d:"M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z"})),cf7_styler:a("svg",{width:20,height:20},a("path",{d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{d:"M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z"})),content_timeline:a("svg",{width:20,height:20},a("path",{d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),post_timeline:a("svg",{width:20,height:20},a("path",{d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"})),restaurant_menu:a("svg",{width:20,height:20},a("path",{d:"M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z"}),a("path",{d:"M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z"}),a("path",{d:"M13.050 4.661h3.275v1.172h-3.275v-1.172z"}),a("path",{d:"M12.109 9.414h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 11.79h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 14.167h5.156v1.172h-5.156v-1.172z"}))};t.a=r},function(e,t,n){var a=n(41),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function a(e,t){if((e=i(e))<1||e>l)return[];var n=u,a=s(e,u);t=o(t),e-=u;for(var c=r(a,t);++n<e;)t(n);return c}var r=n(51),o=n(202),i=n(203),l=9007199254740991,u=4294967295,s=Math.min;e.exports=a},function(e,t,n){function a(e,t){var n=o(e,t);return r(n)?n:void 0}var r=n(119),o=n(124);e.exports=a},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a};e.exports=n(213)(r,!0)}else e.exports=n(214)()}).call(t,n(1))},function(e,t,n){function a(e){return null==e?void 0===e?u:l:s&&s in Object(e)?o(e):i(e)}var r=n(20),o=n(120),i=n(121),l="[object Null]",u="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function a(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var r=n(24),o=1/0;e.exports=a},function(e,t,n){"use strict";var a=["fab fa-buromobelexperte","fas fa-burn","fas fa-bullseye","fas fa-bullhorn","fas fa-building","far fa-building","fas fa-bug","fab fa-btc","fas fa-briefcase-medical","fas fa-briefcase","fas fa-braille","fas fa-boxes","fas fa-box-open","fas fa-box","fas fa-bowling-ball","fas fa-bookmark","far fa-bookmark","fas fa-book","fas fa-bomb","fas fa-bolt","fas fa-bold","fab fa-bluetooth-b","fab fa-bluetooth","fab fa-blogger-b","fab fa-blogger","fas fa-blind","fab fa-blackberry","fab fa-black-tie","fab fa-bity","fab fa-bitcoin","fab fa-bitbucket","fas fa-birthday-cake","fas fa-binoculars","fab fa-bimobject","fas fa-bicycle","fas fa-bell-slash","far fa-bell-slash","fas fa-bell","far fa-bell","fab fa-behance-square","fab fa-behance","fas fa-beer","fas fa-bed","fas fa-battery-three-quarters","fas fa-battery-quarter","fas fa-battery-half","fas fa-battery-full","fas fa-battery-empty","fas fa-bath","fas fa-basketball-ball","fas fa-baseball-ball","fas fa-bars","fas fa-barcode","fab fa-bandcamp","fas fa-band-aid","fas fa-ban","fas fa-balance-scale","fas fa-backward","fab fa-aws","fab fa-aviato","fab fa-avianex","fab fa-autoprefixer","fas fa-audio-description","fab fa-audible","fas fa-at","fab fa-asymmetrik","fas fa-asterisk","fas fa-assistive-listening-systems","fas fa-arrows-alt-v","fas fa-arrows-alt-h","fas fa-arrows-alt","fas fa-arrow-up","fas fa-arrow-right","fas fa-arrow-left","fas fa-arrow-down","fas fa-arrow-circle-up","fas fa-arrow-circle-right","fas fa-arrow-circle-left","fas fa-arrow-circle-down","fas fa-arrow-alt-circle-up","far fa-arrow-alt-circle-up","fas fa-arrow-alt-circle-right","far fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-left","far fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-down","far fa-arrow-alt-circle-down","fas fa-archive","fab fa-apple-pay","fab fa-apple","fab fa-apper","fab fa-app-store-ios","fab fa-app-store","fab fa-angular","fab fa-angrycreative","fas fa-angle-up","fas fa-angle-right","fas fa-angle-left","fas fa-angle-down","fas fa-angle-double-up","fas fa-angle-double-right","fas fa-angle-double-left","fas fa-angle-double-down","fab fa-angellist","fab fa-android","fas fa-anchor","fab fa-amilia","fas fa-american-sign-language-interpreting","fas fa-ambulance","fab fa-amazon-pay","fab fa-amazon","fas fa-allergies","fas fa-align-right","fas fa-align-left","fas fa-align-justify","fas fa-align-center","fab fa-algolia","fab fa-affiliatetheme","fab fa-adversal","fab fa-adn","fas fa-adjust","fas fa-address-card","far fa-address-card","fas fa-address-book","far fa-address-book","fab fa-accusoft","fab fa-accessible-icon","fab fa-500px","fab fa-youtube-square","fab fa-youtube","fab fa-yoast","fas fa-yen-sign","fab fa-yelp","fab fa-yandex-international","fab fa-yandex","fab fa-yahoo","fab fa-y-combinator","fab fa-xing-square","fab fa-xing","fab fa-xbox","fas fa-x-ray","fas fa-wrench","fab fa-wpforms","fab fa-wpexplorer","fab fa-wpbeginner","fab fa-wordpress-simple","fab fa-wordpress","fas fa-won-sign","fab fa-wolf-pack-battalion","fas fa-wine-glass","fab fa-windows","fas fa-window-restore","far fa-window-restore","fas fa-window-minimize","far fa-window-minimize","fas fa-window-maximize","far fa-window-maximize","fas fa-window-close","far fa-window-close","fab fa-wikipedia-w","fas fa-wifi","fab fa-whmcs","fas fa-wheelchair","fab fa-whatsapp-square","fab fa-whatsapp","fab fa-weixin","fas fa-weight","fab fa-weibo","fas fa-warehouse","fab fa-vuejs","fas fa-volume-up","fas fa-volume-off","fas fa-volume-down","fas fa-volleyball-ball","fab fa-vnv","fab fa-vk","fab fa-vine","fab fa-vimeo-v","fab fa-vimeo-square","fab fa-vimeo","fas fa-video-slash","fas fa-video","fab fa-viber","fas fa-vials","fas fa-vial","fab fa-viadeo-square","fab fa-viadeo","fab fa-viacoin","fas fa-venus-mars","fas fa-venus-double","fas fa-venus","fab fa-vaadin","fas fa-utensils","fas fa-utensil-spoon","fab fa-ussunnah","fas fa-users-cog","fas fa-users","fas fa-user-times","fas fa-user-tie","fas fa-user-tag","fas fa-user-slash","fas fa-user-shield","fas fa-user-secret","fas fa-user-plus","fas fa-user-ninja","fas fa-user-minus","fas fa-user-md","fas fa-user-lock","fas fa-user-graduate","fas fa-user-friends","fas fa-user-edit","fas fa-user-cog","fas fa-user-clock","fas fa-user-circle","far fa-user-circle","fas fa-user-check","fas fa-user-astronaut","fas fa-user-alt-slash","fas fa-user-alt","fas fa-user","far fa-user","fab fa-usb","fas fa-upload","fab fa-untappd","fas fa-unlock-alt","fas fa-unlock","fas fa-unlink","fas fa-university","fas fa-universal-access","fab fa-uniregistry","fas fa-undo-alt","fas fa-undo","fas fa-underline","fas fa-umbrella","fab fa-uikit","fab fa-uber","fab fa-typo3","fab fa-twitter-square","fab fa-twitter","fab fa-twitch","fas fa-tv","fab fa-tumblr-square","fab fa-tumblr","fas fa-tty","fas fa-truck-moving","fas fa-truck-loading","fas fa-truck","fas fa-trophy","fab fa-tripadvisor","fab fa-trello","fas fa-tree","fas fa-trash-alt","far fa-trash-alt","fas fa-trash","fas fa-transgender-alt","fas fa-transgender","fas fa-train","fas fa-trademark","fab fa-trade-federation","fas fa-toggle-on","fas fa-toggle-off","fas fa-tint","fas fa-times-circle","far fa-times-circle","fas fa-times","fas fa-ticket-alt","fas fa-thumbtack","fas fa-thumbs-up","far fa-thumbs-up","fas fa-thumbs-down","far fa-thumbs-down","fas fa-thermometer-three-quarters","fas fa-thermometer-quarter","fas fa-thermometer-half","fas fa-thermometer-full","fas fa-thermometer-empty","fas fa-thermometer","fab fa-themeisle","fas fa-th-list","fas fa-th-large","fas fa-th","fas fa-text-width","fas fa-text-height","fas fa-terminal","fab fa-tencent-weibo","fab fa-telegram-plane","fab fa-telegram","fab fa-teamspeak","fas fa-taxi","fas fa-tasks","fas fa-tape","fas fa-tags","fas fa-tag","fas fa-tachometer-alt","fas fa-tablets","fas fa-tablet-alt","fas fa-tablet","fas fa-table-tennis","fas fa-table","fas fa-syringe","fas fa-sync-alt","fas fa-sync","fab fa-supple","fas fa-superscript","fab fa-superpowers","fas fa-sun","far fa-sun","fas fa-suitcase","fas fa-subway","fas fa-subscript","fab fa-stumbleupon-circle","fab fa-stumbleupon","fab fa-studiovinari","fab fa-stripe-s","fab fa-stripe","fas fa-strikethrough","fas fa-street-view","fab fa-strava","fas fa-stopwatch","fas fa-stop-circle","far fa-stop-circle","fas fa-stop","fas fa-sticky-note","far fa-sticky-note","fab fa-sticker-mule","fas fa-stethoscope","fas fa-step-forward","fas fa-step-backward","fab fa-steam-symbol","fab fa-steam-square","fab fa-steam","fab fa-staylinked","fas fa-star-half","far fa-star-half","fa fa-star","fas fa-star","far fa-star","fab fa-stack-overflow","fab fa-stack-exchange","fas fa-square-full","fas fa-square","far fa-square","fab fa-spotify","fas fa-spinner","fab fa-speakap","fas fa-space-shuttle","fab fa-soundcloud","fas fa-sort-up","fas fa-sort-numeric-up","fas fa-sort-numeric-down","fas fa-sort-down","fas fa-sort-amount-up","fas fa-sort-amount-down","fas fa-sort-alpha-up","fas fa-sort-alpha-down","fas fa-sort","fas fa-snowflake","far fa-snowflake","fab fa-snapchat-square","fab fa-snapchat-ghost","fab fa-snapchat","fas fa-smoking","fas fa-smile","far fa-smile","fab fa-slideshare","fas fa-sliders-h","fab fa-slack-hash","fab fa-slack","fab fa-skype","fab fa-skyatlas","fab fa-sith","fas fa-sitemap","fab fa-sistrix","fab fa-simplybuilt","fas fa-signal","fas fa-sign-out-alt","fas fa-sign-language","fas fa-sign-in-alt","fas fa-sign","fas fa-shower","fas fa-shopping-cart","fas fa-shopping-basket","fas fa-shopping-bag","fab fa-shirtsinbulk","fas fa-shipping-fast","fas fa-ship","fas fa-shield-alt","fas fa-shekel-sign","fas fa-share-square","far fa-share-square","fas fa-share-alt-square","fas fa-share-alt","fas fa-share","fab fa-servicestack","fas fa-server","fab fa-sellsy","fab fa-sellcast","fas fa-seedling","fab fa-searchengin","fas fa-search-plus","fas fa-search-minus","fas fa-search","fab fa-scribd","fab fa-schlix","fas fa-save","far fa-save","fab fa-sass","fab fa-safari","fas fa-rupee-sign","fas fa-ruble-sign","fas fa-rss-square","fas fa-rss","fab fa-rockrms","fab fa-rocketchat","fas fa-rocket","fas fa-road","fas fa-ribbon","fas fa-retweet","fab fa-resolving","fab fa-researchgate","fab fa-replyd","fas fa-reply-all","fas fa-reply","fab fa-renren","fab fa-rendact","fas fa-registered","far fa-registered","fas fa-redo-alt","fas fa-redo","fab fa-reddit-square","fab fa-reddit-alien","fab fa-reddit","fab fa-red-river","fas fa-recycle","fab fa-rebel","fab fa-readme","fab fa-react","fab fa-ravelry","fas fa-random","fab fa-r-project","fas fa-quote-right","fas fa-quote-left","fab fa-quora","fab fa-quinscape","fas fa-quidditch","fas fa-question-circle","far fa-question-circle","fas fa-question","fas fa-qrcode","fab fa-qq","fab fa-python","fas fa-puzzle-piece","fab fa-pushed","fab fa-product-hunt","fas fa-procedures","fas fa-print","fas fa-prescription-bottle-alt","fas fa-prescription-bottle","fas fa-power-off","fas fa-pound-sign","fas fa-portrait","fas fa-poo","fas fa-podcast","fas fa-plus-square","far fa-plus-square","fas fa-plus-circle","fas fa-plus","fas fa-plug","fab fa-playstation","fas fa-play-circle","far fa-play-circle","fas fa-play","fas fa-plane","fab fa-pinterest-square","fab fa-pinterest-p","fab fa-pinterest","fas fa-pills","fas fa-piggy-bank","fab fa-pied-piper-pp","fab fa-pied-piper-hat","fab fa-pied-piper-alt","fab fa-pied-piper","fab fa-php","fas fa-phone-volume","fas fa-phone-square","fas fa-phone-slash","fas fa-phone","fab fa-phoenix-squadron","fab fa-phoenix-framework","fab fa-phabricator","fab fa-periscope","fas fa-percent","fas fa-people-carry","fas fa-pencil-alt","fas fa-pen-square","fab fa-paypal","fas fa-paw","fas fa-pause-circle","far fa-pause-circle","fas fa-pause","fab fa-patreon","fas fa-paste","fas fa-paragraph","fas fa-parachute-box","fas fa-paperclip","fas fa-paper-plane","far fa-paper-plane","fas fa-pallet","fab fa-palfed","fas fa-paint-brush","fab fa-pagelines","fab fa-page4","fas fa-outdent","fab fa-osi","fab fa-optin-monster","fab fa-opera","fab fa-openid","fab fa-opencart","fab fa-old-republic","fab fa-odnoklassniki-square","fab fa-odnoklassniki","fas fa-object-ungroup","far fa-object-ungroup","fas fa-object-group","far fa-object-group","fab fa-nutritionix","fab fa-ns8","fab fa-npm","fas fa-notes-medical","fab fa-node-js","fab fa-node","fab fa-nintendo-switch","fas fa-newspaper","far fa-newspaper","fas fa-neuter","fab fa-napster","fas fa-music","fas fa-mouse-pointer","fas fa-motorcycle","fas fa-moon","far fa-moon","fas fa-money-bill-alt","far fa-money-bill-alt","fab fa-monero","fab fa-modx","fas fa-mobile-alt","fas fa-mobile","fab fa-mizuni","fab fa-mixcloud","fab fa-mix","fas fa-minus-square","far fa-minus-square","fas fa-minus-circle","fas fa-minus","fab fa-microsoft","fas fa-microphone-slash","fas fa-microphone","fas fa-microchip","fas fa-mercury","fas fa-meh","far fa-meh","fab fa-meetup","fab fa-medrt","fas fa-medkit","fab fa-medium-m","fab fa-medium","fab fa-medapps","fab fa-maxcdn","fab fa-mastodon","fas fa-mars-stroke-v","fas fa-mars-stroke-h","fas fa-mars-stroke","fas fa-mars-double","fas fa-mars","fas fa-map-signs","fas fa-map-pin","fas fa-map-marker-alt","fas fa-map-marker","fas fa-map","far fa-map","fab fa-mandalorian","fas fa-male","fas fa-magnet","fas fa-magic","fab fa-magento","fab fa-lyft","fas fa-low-vision","fas fa-long-arrow-alt-up","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-down","fas fa-lock-open","fas fa-lock","fas fa-location-arrow","fas fa-list-ul","fas fa-list-ol","fas fa-list-alt","far fa-list-alt","fas fa-list","fas fa-lira-sign","fab fa-linux","fab fa-linode","fab fa-linkedin-in","fab fa-linkedin","fas fa-link","fab fa-line","fas fa-lightbulb","far fa-lightbulb","fas fa-life-ring","far fa-life-ring","fas fa-level-up-alt","fas fa-level-down-alt","fab fa-less","fas fa-lemon","far fa-lemon","fab fa-leanpub","fas fa-leaf","fab fa-lastfm-square","fab fa-lastfm","fab fa-laravel","fas fa-laptop","fas fa-language","fab fa-korvue","fab fa-kickstarter-k","fab fa-kickstarter","fab fa-keycdn","fas fa-keyboard","far fa-keyboard","fab fa-keybase","fas fa-key","fab fa-jsfiddle","fab fa-js-square","fab fa-js","fab fa-joomla","fab fa-joget","fab fa-jenkins","fab fa-jedi-order","fab fa-java","fab fa-itunes-note","fab fa-itunes","fas fa-italic","fab fa-ioxhost","fab fa-internet-explorer","fab fa-instagram","fas fa-info-circle","fas fa-info","fas fa-industry","fas fa-indent","fas fa-inbox","fab fa-imdb","fas fa-images","far fa-images","fas fa-image","far fa-image","fas fa-id-card-alt","fas fa-id-card","far fa-id-card","fas fa-id-badge","far fa-id-badge","fas fa-i-cursor","fab fa-hubspot","fab fa-html5","fab fa-houzz","fas fa-hourglass-start","fas fa-hourglass-half","fas fa-hourglass-end","fas fa-hourglass","far fa-hourglass","fab fa-hotjar","fas fa-hospital-symbol","fas fa-hospital-alt","fas fa-hospital","far fa-hospital","fab fa-hooli","fas fa-home","fas fa-hockey-puck","fas fa-history","fab fa-hire-a-helper","fab fa-hips","fas fa-heartbeat","fas fa-heart","far fa-heart","fas fa-headphones","fas fa-heading","fas fa-hdd","far fa-hdd","fas fa-hashtag","fas fa-handshake","far fa-handshake","fas fa-hands-helping","fas fa-hands","fas fa-hand-spock","far fa-hand-spock","fas fa-hand-scissors","far fa-hand-scissors","fas fa-hand-rock","far fa-hand-rock","fas fa-hand-pointer","far fa-hand-pointer","fas fa-hand-point-up","far fa-hand-point-up","fas fa-hand-point-right","far fa-hand-point-right","fas fa-hand-point-left","far fa-hand-point-left","fas fa-hand-point-down","far fa-hand-point-down","fas fa-hand-peace","far fa-hand-peace","fas fa-hand-paper","far fa-hand-paper","fas fa-hand-lizard","far fa-hand-lizard","fas fa-hand-holding-usd","fas fa-hand-holding-heart","fas fa-hand-holding","fab fa-hacker-news-square","fab fa-hacker-news","fas fa-h-square","fab fa-gulp","fab fa-grunt","fab fa-gripfire","fab fa-grav","fab fa-gratipay","fas fa-graduation-cap","fab fa-google-wallet","fab fa-google-plus-square","fab fa-google-plus-g","fab fa-google-plus","fab fa-google-play","fab fa-google-drive","fab fa-google","fab fa-goodreads-g","fab fa-goodreads","fas fa-golf-ball","fab fa-gofore","fas fa-globe","fab fa-glide-g","fab fa-glide","fas fa-glass-martini","fab fa-gitter","fab fa-gitlab","fab fa-gitkraken","fab fa-github-square","fab fa-github-alt","fab fa-github","fab fa-git-square","fab fa-git","fas fa-gift","fab fa-gg-circle","fab fa-gg","fab fa-get-pocket","fas fa-genderless","fas fa-gem","far fa-gem","fas fa-gavel","fas fa-gamepad","fab fa-galactic-senate","fab fa-galactic-republic","fas fa-futbol","far fa-futbol","fab fa-fulcrum","fas fa-frown","far fa-frown","fab fa-freebsd","fab fa-free-code-camp","fab fa-foursquare","fas fa-forward","fab fa-forumbee","fab fa-fort-awesome-alt","fab fa-fort-awesome","fas fa-football-ball","fab fa-fonticons-fi","fab fa-fonticons","far fa-font-awesome-logo-full","fas fa-font-awesome-logo-full","fab fa-font-awesome-logo-full","fab fa-font-awesome-flag","fab fa-font-awesome-alt","fab fa-font-awesome","fas fa-font","fas fa-folder-open","far fa-folder-open","fas fa-folder","far fa-folder","fab fa-fly","fab fa-flipboard","fab fa-flickr","fas fa-flask","fas fa-flag-checkered","fas fa-flag","far fa-flag","fab fa-firstdraft","fab fa-first-order-alt","fab fa-first-order","fas fa-first-aid","fab fa-firefox","fas fa-fire-extinguisher","fas fa-fire","fas fa-filter","fas fa-film","fas fa-file-word","far fa-file-word","fas fa-file-video","far fa-file-video","fas fa-file-powerpoint","far fa-file-powerpoint","fas fa-file-pdf","far fa-file-pdf","fas fa-file-medical-alt","fas fa-file-medical","fas fa-file-image","far fa-file-image","fas fa-file-excel","far fa-file-excel","fas fa-file-code","far fa-file-code","fas fa-file-audio","far fa-file-audio","fas fa-file-archive","far fa-file-archive","fas fa-file-alt","far fa-file-alt","fas fa-file","far fa-file","fas fa-fighter-jet","fas fa-female","fas fa-fax","fas fa-fast-forward","fas fa-fast-backward","fab fa-facebook-square","fab fa-facebook-messenger","fab fa-facebook-f","fab fa-facebook","fas fa-eye-slash","far fa-eye-slash","fas fa-eye-dropper","fas fa-eye","far fa-eye","fas fa-external-link-square-alt","fas fa-external-link-alt","fab fa-expeditedssl","fas fa-expand-arrows-alt","fas fa-expand","fas fa-exclamation-triangle","fas fa-exclamation-circle","fas fa-exclamation","fas fa-exchange-alt","fas fa-euro-sign","fab fa-etsy","fab fa-ethereum","fab fa-erlang","fas fa-eraser","fab fa-envira","fas fa-envelope-square","fas fa-envelope-open","far fa-envelope-open","fas fa-envelope","far fa-envelope","fab fa-empire","fab fa-ember","fas fa-ellipsis-v","fas fa-ellipsis-h","fab fa-elementor","fas fa-eject","fas fa-edit","far fa-edit","fab fa-edge","fab fa-ebay","fab fa-earlybirds","fab fa-dyalog","fab fa-drupal","fab fa-dropbox","fab fa-dribbble-square","fab fa-dribbble","fab fa-draft2digital","fas fa-download","fas fa-dove","fas fa-dot-circle","far fa-dot-circle","fas fa-donate","fas fa-dolly-flatbed","fas fa-dolly","fas fa-dollar-sign","fab fa-docker","fab fa-dochub","fas fa-dna","fab fa-discourse","fab fa-discord","fab fa-digital-ocean","fab fa-digg","fas fa-diagnoses","fab fa-deviantart","fas fa-desktop","fab fa-deskpro","fab fa-deploydog","fab fa-delicious","fas fa-deaf","fas fa-database","fab fa-dashcube","fab fa-d-and-d","fab fa-cuttlefish","fas fa-cut","fas fa-cubes","fas fa-cube","fab fa-css3-alt","fab fa-css3","fas fa-crosshairs","fas fa-crop","fas fa-credit-card","far fa-credit-card","fab fa-creative-commons-share","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-sampling","fab fa-creative-commons-sa","fab fa-creative-commons-remix","fab fa-creative-commons-pd-alt","fab fa-creative-commons-pd","fab fa-creative-commons-nd","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc","fab fa-creative-commons-by","fab fa-creative-commons","fab fa-cpanel","fas fa-couch","fas fa-copyright","far fa-copyright","fas fa-copy","far fa-copy","fab fa-contao","fab fa-connectdevelop","fas fa-compress","fas fa-compass","far fa-compass","fas fa-comments","far fa-comments","fas fa-comment-slash","fas fa-comment-dots","far fa-comment-dots","fas fa-comment-alt","far fa-comment-alt","fas fa-comment","far fa-comment","fas fa-columns","fas fa-cogs","fas fa-cog","fas fa-coffee","fab fa-codiepie","fab fa-codepen","fas fa-code-branch","fas fa-code","fab fa-cloudversify","fab fa-cloudsmith","fab fa-cloudscale","fas fa-cloud-upload-alt","fas fa-cloud-download-alt","fas fa-cloud","fas fa-closed-captioning","far fa-closed-captioning","fas fa-clone","far fa-clone","fas fa-clock","far fa-clock","fas fa-clipboard-list","fas fa-clipboard-check","fas fa-clipboard","far fa-clipboard","fas fa-circle-notch","fas fa-circle","far fa-circle","fab fa-chrome","fas fa-child","fas fa-chevron-up","fas fa-chevron-right","fas fa-chevron-left","fas fa-chevron-down","fas fa-chevron-circle-up","fas fa-chevron-circle-right","fas fa-chevron-circle-left","fas fa-chevron-circle-down","fas fa-chess-rook","fas fa-chess-queen","fas fa-chess-pawn","fas fa-chess-knight","fas fa-chess-king","fas fa-chess-board","fas fa-chess-bishop","fas fa-chess","fas fa-check-square","far fa-check-square","fas fa-check-circle","far fa-check-circle","fas fa-check","fas fa-chart-pie","fas fa-chart-line","fas fa-chart-bar","far fa-chart-bar","fas fa-chart-area","fas fa-certificate","fab fa-centercode","fab fa-cc-visa","fab fa-cc-stripe","fab fa-cc-paypal","fab fa-cc-mastercard","fab fa-cc-jcb","fab fa-cc-discover","fab fa-cc-diners-club","fab fa-cc-apple-pay","fab fa-cc-amex","fab fa-cc-amazon-pay","fas fa-cart-plus","fas fa-cart-arrow-down","fas fa-caret-up","fas fa-caret-square-up","far fa-caret-square-up","fas fa-caret-square-right","far fa-caret-square-right","fas fa-caret-square-left","far fa-caret-square-left","fas fa-caret-square-down","far fa-caret-square-down","fas fa-caret-right","fas fa-caret-left","fas fa-caret-down","fas fa-car","fas fa-capsules","fas fa-camera-retro","fas fa-camera","fas fa-calendar-times","far fa-calendar-times","fas fa-calendar-plus","far fa-calendar-plus","fas fa-calendar-minus","far fa-calendar-minus","fas fa-calendar-check","far fa-calendar-check","fas fa-calendar-alt","far fa-calendar-alt","fas fa-calendar","far fa-calendar","fas fa-calculator","fab fa-buysellads","fas fa-bus","far fa-angry","far fa-dizzy","far fa-flushed","far fa-frown-open","far fa-grimace","far fa-grin-alt","far fa-grin-beam-sweat","far fa-grin-beam","far fa-grin-hearts","far fa-grin-squint-tears","far fa-grin-squint","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-tongue","far fa-grin-wink","far fa-grin","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-kiss","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-laugh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-sad-cry","far fa-sad-tear","far fa-smile-beam","far fa-smile-wink","far fa-surprise","far fa-tired","fab fa-acquisitions-incorporated","fab fa-alipay","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-d-and-d-beyond","fab fa-dev","fab fa-ello","fab fa-fantasy-flight-games","fab fa-hackerrank","fab fa-hornbill","fab fa-kaggle","fab fa-mailchimp","fab fa-markdown","fab fa-megaport","fab fa-neos","fab fa-nimblr","fab fa-penny-arcade","fab fa-r","fab fa-rev","fab fa-shopware","fab fa-squarespace","fab fa-the-red-yeti","fab fa-themeco","fab fa-think-peaks","fab fa-weebly","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wpressr","fab fa-zhihu","fas fa-abacus","fas fa-ad","fas fa-air-freshener","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archway","fas fa-atlas","fas fa-atom","fas fa-award","fas fa-backspace","fas fa-bezier-curve","fas fa-bible","fas fa-blender-phone","fas fa-blender","fas fa-bone","fas fa-bong","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-brain","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bus-alt","fas fa-business-time","fas fa-calculator-alt","fas fa-campground","fas fa-cannabis","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-cat","fas fa-chair","fas fa-chalkboard-teacher","fas fa-chalkboard","fas fa-charging-station","fas fa-check-double","fas fa-church","fas fa-city","fas fa-cloud-moon","fas fa-cloud-sun","fas fa-cocktail","fas fa-coins","fas fa-comment-dollar","fas fa-comments-dollar","fas fa-compact-disc","fas fa-concierge-bell","fas fa-cookie-bite","fas fa-cookie","fas fa-crop-alt","fas fa-cross","fas fa-crow","fas fa-crown","fas fa-dharmachakra","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-dice","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dog","fas fa-door-closed","fas fa-door-open","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum-steelpan","fas fa-drum","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dungeon","fas fa-empty-set","fas fa-envelope-open-text","fas fa-equals","fas fa-feather-alt","fas fa-feather","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-export","fas fa-file-import","fas fa-file-invoice-dollar","fas fa-file-invoice","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-fill-drip","fas fa-fill","fas fa-fingerprint","fas fa-fish","fas fa-fist-raised","fas fa-flushed","fas fa-folder-minus","fas fa-folder-plus","fas fa-frog","fas fa-frown-open","fas fa-function","fas fa-funnel-dollar","fas fa-gas-pump","fas fa-ghost","fas fa-glass-martini-alt","fas fa-glasses","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-gopuram","fas fa-greater-than-equal","fas fa-greater-than","fas fa-grimace","fas fa-grin-alt","fas fa-grin-beam-sweat","fas fa-grin-beam","fas fa-grin-hearts","fas fa-grin-squint-tears","fas fa-grin-squint","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-tongue","fas fa-grin-wink","fas fa-grin","fas fa-grip-horizontal","fas fa-grip-vertical","fas fa-hammer","fas fa-hamsa","fas fa-hanukiah","fas fa-hat-wizard","fas fa-haykal","fas fa-headphones-alt","fas fa-headset","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-horse","fas fa-hot-tub","fas fa-hotel","fas fa-house-damage","fas fa-hryvnia","fas fa-infinity","fas fa-integral","fas fa-intersection","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-khanda","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiss","fas fa-kiwi-bird","fas fa-lambda","fas fa-landmark","fas fa-laptop-code","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-laugh","fas fa-layer-group","fas fa-less-than-equal","fas fa-less-than","fas fa-luggage-cart","fas fa-mail-bulk","fas fa-map-marked-alt","fas fa-map-marked","fas fa-marker","fas fa-mask","fas fa-medal","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-microphone-alt-slash","fas fa-microphone-alt","fas fa-microscope","fas fa-money-bill-wave-alt","fas fa-money-bill-wave","fas fa-money-bill","fas fa-money-check-alt","fas fa-money-check","fas fa-monument","fas fa-mortar-pestle","fas fa-mosque","fas fa-mountain","fas fa-network-wired","fas fa-not-equal","fas fa-oil-can","fas fa-om","fas fa-omega","fas fa-otter","fas fa-paint-roller","fas fa-palette","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-peace","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen","fas fa-pencil-ruler","fas fa-percentage","fas fa-pi","fas fa-place-of-worship","fas fa-plane-arrival","fas fa-plane-departure","fas fa-poll-h","fas fa-poll","fas fa-poop","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-project-diagram","fas fa-quran","fas fa-receipt","fas fa-ring","fas fa-robot","fas fa-route","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-ruler","fas fa-running","fas fa-sad-cry","fas fa-sad-tear","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-search-dollar","fas fa-search-location","fas fa-shapes","fas fa-shoe-prints","fas fa-shuttle-van","fas fa-sigma","fas fa-signal-alt-slash","fas fa-signal-alt","fas fa-signal-slash","fas fa-signature","fas fa-skull-crossbones","fas fa-skull","fas fa-slash","fas fa-smile-beam","fas fa-smile-wink","fas fa-smoking-ban","fas fa-socks","fas fa-solar-panel","fas fa-spa","fas fa-spider","fas fa-splotch","fas fa-spray-can","fas fa-square-root-alt","fas fa-square-root","fas fa-stamp","fas fa-star-and-crescent","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-store-alt","fas fa-store","fas fa-stream","fas fa-stroopwafel","fas fa-suitcase-rolling","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-tally","fas fa-teeth-open","fas fa-teeth","fas fa-theater-masks","fas fa-theta","fas fa-tilde","fas fa-tint-slash","fas fa-tired","fas fa-toilet-paper","fas fa-toolbox","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-traffic-light","fas fa-truck-monster","fas fa-truck-pickup","fas fa-tshirt","fas fa-umbrella-beach","fas fa-union","fas fa-user-injured","fas fa-value-absolute","fas fa-vector-square","fas fa-vihara","fas fa-volume-mute","fas fa-volume-slash","fas fa-volume","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-weight-hanging","fas fa-wifi-slash","fas fa-wind","fas fa-wine-bottle","fas fa-wine-glass-alt","fas fa-yin-yang"];t.a=a},function(e,t,n){!function(t,a){e.exports=a(n(9),n(2),n(0),n(17),n(225))}(window,function(e,t,n,a,r){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var n=[],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},e);return Object.keys(a).forEach(function(e){n=o(n).concat(o(a[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=o(e);n.sort();var a=o(t);return a.sort(),JSON.stringify(n)===JSON.stringify(a)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==a(e)||Array.isArray(e)?Array.isArray(e)?"array":a(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,a=e.length;if(a>n)return!1;if(a===n)return e===t;e:for(var r=0,o=0;r<a;r++){for(var i=e.codePointAt(r);o<n;)if(t.codePointAt(o++)===i)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var a=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(a,r)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=n(6),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,a=window,r=a.innerWidth,o=a.pageYOffset,i=document.documentElement.clientHeight,l=(0,p.getOffset)(n.props.domRef.current),u=l.left,s=l.top,c="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,f=(0,p.getOffset)(c),d=n.props.btnRef.current,m=n.props.domRef.current,g=(0,p.getOffset)(d),h=getComputedStyle(d),b=(parseInt(h.borderTop,10)||0)+(parseInt(h.borderBottom,10)||0);if(u+e>r-20){var v=g.left+n.props.btnRef.current.offsetWidth-(e+f.left);v+f.left<0&&(v=10-f.left),m.style.left="".concat(v,"px")}t+s-o>i&&g.top-t>0&&("self"===n.state.appendRoot?m.style.top="-".concat(t-b,"px"):m.style.top="".concat(g.top+b-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,p.debounce)(n.syncPortalPosition,250),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,f.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),i(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,p.getOffset)(t),a=(0,p.getOffset)(this.state.appendRoot),r=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-a.left,"px"),this.props.domRef.current.style.top="".concat(n.top+r,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,f.default)(this.props.className,this.state.portalClasses),t=u.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:c.default.oneOfType([c.default.bool,c.default.string]),children:c.default.node.isRequired,domRef:c.default.object.isRequired,btnRef:c.default.object.isRequired,className:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?u(this):a,Object.defineProperty(u(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=n.props.currentPage,o=n.state.totalPage;null!==a?"next"===a?r+=1:r-=1:r=parseInt(e.target.value,10)-1,r<0&&(r=0),r>o-1&&(r=o-1),t=r+1,null===a&&Number.isNaN(r)&&(r=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(r)}}),Object.defineProperty(u(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(u(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(u(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),r=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(a,r,e.currentSearch),i=o.activeIcons,l=o.activeTitles,u=e.currentPage,s=e.iconsPerPage,c={iconView:t.getCurrentViewIcons(i,s,u),titleView:t.getCurrentViewIcons(l,s,u),totalPage:Math.ceil(i.length/s)};return""!==n.viewPage&&(c.viewPage=e.currentPage+1),c}},{key:"getActiveIcons",value:function(e,t,n){var a=o(e),r=o(t);if(""===n||null===n)return{activeIcons:a,activeTitles:r};var i=[],l=[];return a.forEach(function(e,a){(0,p.fuzzySearch)(n,t[a])&&(i.push(e),l.push(t[a]))}),{activeIcons:i,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var a=null,r=(0,p.getSourceType)(n);if(Array.isArray(t)){if("object"!==r)throw new p.InvalidSourceException(r,"object")}else if("array"!==r)throw new p.InvalidSourceException(r,"array");return 0!==e&&Array.isArray(t)&&(a=t[e]||null),(0,p.flattenPossiblyCategorizedSource)(n,a)}},{key:"getCurrentViewIcons",value:function(e,t,n){var a=n*t,r=(n+1)*t;return e.slice(a,r)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var a=(0,f.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:a,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:c.default.arrayOf(c.default.string),currentCategory:c.default.number,isMulti:c.default.bool.isRequired,icons:c.default.oneOfType([c.default.arrayOf(c.default.string),c.default.arrayOf(c.default.number),c.default.objectOf(c.default.oneOfType([c.default.arrayOf(c.default.number),c.default.arrayOf(c.default.string)]))]).isRequired,search:c.default.oneOfType([c.default.objectOf(c.default.arrayOf(c.default.string)),c.default.arrayOf(c.default.string)]),value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,currentSearch:c.default.string.isRequired,handleChangeValue:c.default.func.isRequired,currentPage:c.default.number.isRequired,iconsPerPage:c.default.number.isRequired,handleChangePage:c.default.func.isRequired,renderIcon:c.default.func.isRequired,noIconPlaceholder:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(1)),o=a(n(0)),i=function(e){return r.default.createElement("div",{className:"rfipsearch"},r.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};i.propTypes={handleSearch:o.default.func.isRequired,value:o.default.string.isRequired,placeholder:o.default.string.isRequired};var l=i;t.default=l},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(1)),l=a(n(0)),u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.PureComponent),n=t,(a=[{key:"render",value:function(){return i.default.createElement("div",{className:"rfipcategory"},i.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return i.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),i.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&o(n.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=u;t.default=s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=a(n(0)),c=a(n(10)),f=a(n(9)),p=a(n(8)),d=n(2),m=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,d.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),i(t,[{key:"render",value:function(){return u.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?u.default.createElement(f.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?u.default.createElement(c.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,u.default.createElement(p.default,{categories:this.state.categories,currentCategory:this.props.currentCategory,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,value:this.props.value,currentSearch:this.props.currentSearch,handleChangeValue:this.props.handleChangeValue,currentPage:this.props.currentPage,iconsPerPage:this.props.iconsPerPage,handleChangePage:this.props.handleChangePage,renderIcon:this.props.renderIcon,noIconPlaceholder:this.props.noIconPlaceholder}))}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var g=m;t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return l(a,(n=a=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),Object.defineProperty(u(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(u(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(u(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),n))}var n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),n=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"\xd7"))}},{key:"renderCurrentIcons",value:function(){var e=this;return this.props.isMulti?this.props.value.length?this.props.value.map(function(t){return e.renderIcon(t)}):this.renderEmptyIcon():this.renderIcon(this.props.value)}},{key:"render",value:function(){var e={onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:0},t=(0,f.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,f.default)(this.props.className);return s.default.createElement("div",o({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&i(n.prototype,a),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.default.string.isRequired,isOpen:c.default.bool.isRequired,onClick:c.default.func.isRequired,domRef:c.default.object.isRequired,isMulti:c.default.bool.isRequired,value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,renderIcon:c.default.func.isRequired,handleDeleteValue:c.default.func.isRequired,noSelectedPlaceholder:c.default.string.isRequired}});var d=p;t.default=d},function(e,t){e.exports=r},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=a(n(1)),f=a(n(0)),p=a(n(3)),d=n(13),m=a(n(12)),g=a(n(11)),h=a(n(7)),b=n(2),v=[],y="",w=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?s(this):a,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={isOpen:e};return r.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),r.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),r.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),a&&n.setState(r),r}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=o(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=v):t.push(e):t=e===n.state.value?y:e,n.setState({value:t}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a;a=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(a,n.props.isMulti),n.setState({value:a}),n.props.onChange(a)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t);n.fipPortalComputedStyle={height:a.height,paddingTop:a.paddingTop,paddingBottom:a.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t).height;t.style.maxHeight=a}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return c.default.createElement("i",{className:e});var t=i({},n.props.renderUsing,n.props.convertHex?(0,b.convertToHex)(e):e);return c.default.createElement("i",t)}}),n.fipButtonRef=c.default.createRef(),n.fipDropDownRef=c.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),u(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a={};return a.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),a.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),a.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),a.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(a.currentCategory=0,a.currentPage=0),e.showSearch||(a.currentSearch="",a.currentPage=0),a}},{key:"getDerivedClassName",value:function(e,t,n,a){return(0,p.default)(e,"".concat(e,"--").concat(t),i({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(a?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?o(e):v:"number"!=typeof e&&"string"!=typeof e&&(n=y),n}}]),u(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach(function(t){document.addEventListener(t,e.handleOuterClick,!1)}),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach(function(t){document.removeEventListener(t,e.handleOuterClick,!1)}),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return c.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},c.default.createElement(m.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),c.default.createElement(d.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},c.default.createElement(h.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},c.default.createElement(g.default,e))))}}]),t}();Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.objectOf(f.default.oneOfType([f.default.arrayOf(f.default.number),f.default.arrayOf(f.default.string)]))]).isRequired,search:f.default.oneOfType([f.default.objectOf(f.default.arrayOf(f.default.string)),f.default.arrayOf(f.default.string)]),iconsPerPage:f.default.number,theme:f.default.string,onChange:f.default.func.isRequired,showCategory:f.default.bool,showSearch:f.default.bool,value:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.number,f.default.string]),isMulti:f.default.bool,renderUsing:f.default.string,convertHex:f.default.bool,renderFunc:f.default.func,appendTo:f.default.oneOfType([f.default.bool,f.default.string]),allCatPlaceholder:f.default.string,searchPlaceholder:f.default.string,noIconPlaceholder:f.default.string,noSelectedPlaceholder:f.default.string}}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon"}}),Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=w;t.default=_},function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n(14))&&a.__esModule?a:{default:a}).default;t.default=r}]).default})},function(e,t,n){"use strict";function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";(function(t){function a(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==t.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(e){console.error(e)}}}"production"===t.env.NODE_ENV?(a(),e.exports=n(217)):e.exports=n(220)}).call(t,n(1))},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(109),o=n(110),i=n(111),l=n(112),u=n(113);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}var r=n(28);e.exports=a},function(e,t,n){var a=n(4),r=a.Symbol;e.exports=r},function(e,t,n){var a=n(7),r=a(Object,"create");e.exports=r},function(e,t,n){function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}var r=n(133);e.exports=a},function(e,t,n){function a(e,t){return r(e)?e:o(e,t)?[e]:i(l(e))}var r=n(5),o=n(35),i=n(165),l=n(168);e.exports=a},function(e,t,n){function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}var r=n(10),o=n(11),i="[object Symbol]";e.exports=a},function(e,t,n){"use strict";(function(t){function n(e,t,n,r,o,i,l,u){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,l,u],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};"production"!==t.env.NODE_ENV&&(a=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=n(2),i=a(o),l=n(17),u=a(l),s=t.getOnDemandLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},c=(t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)t.push(r);return t},t.lazyStartIndex=function(e){return e.currentSlide-p(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},p=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},d=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},m=t.getWidth=function(e){return e&&e.offsetWidth||0},g=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,a=Math.atan2(n,t),r=Math.round(180*a/Math.PI),r<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===o?r>=35&&r<=135?"up":"down":"vertical"},b=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},v=(t.extractObject=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(m(u.default.findDOMNode(e.listRef))),a=Math.ceil(m(u.default.findDOMNode(e.trackRef))),r=void 0;if(e.vertical)r=n;else{var o=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(o*=n/100),r=Math.ceil((n-o)/e.slidesToShow)}var l=u.default.findDOMNode(e.listRef)&&g(u.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),c=l*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=t-1-e.initialSlide);var p=e.lazyLoadedList||[],d=s({currentSlide:f,lazyLoadedList:p},e);p.concat(d);var h={slideCount:t,slideWidth:r,listWidth:n,trackWidth:a,currentSlide:f,slideHeight:l,listHeight:c,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,o=e.infinite,i=e.index,l=e.slideCount,u=e.lazyLoadedList,c=e.lazyLoad,f=e.currentSlide,p=e.centerMode,d=e.slidesToScroll,m=e.slidesToShow,g=e.useCSS;if(t&&n)return{};var h=i,v=void 0,y=void 0,w=void 0,_={},C={};if(a){if(!o&&(i<0||i>=l))return{};i<0?h=i+l:i>=l&&(h=i-l),c&&u.indexOf(h)<0&&u.push(h),_={animating:!0,currentSlide:h,lazyLoadedList:u},C={animating:!1}}else v=h,h<0?(v=h+l,o?l%d!==0&&(v=l-l%d):v=0):!b(e)&&h>f?h=v=f:p&&h>=l?(h=o?l:l-1,v=o?0:l-1):h>=l&&(v=h-l,o?l%d!==0&&(v=0):v=l-m),y=x(r({},e,{slideIndex:h})),w=x(r({},e,{slideIndex:v})),o||(y===w&&(h=v),y=w),c&&u.concat(s(r({},e,{currentSlide:h}))),g?(_={animating:!0,currentSlide:v,trackStyle:E(r({},e,{left:y})),lazyLoadedList:u},C={animating:!1,currentSlide:v,trackStyle:k(r({},e,{left:w})),swipeLeft:null}):_={currentSlide:v,trackStyle:k(r({},e,{left:w})),lazyLoadedList:u};return{state:_,nextState:C}},t.changeSlide=function(e,t){var n,a,o,i,l,u=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,f=e.currentSlide,p=e.lazyLoad,d=e.infinite;if(i=c%u!==0,n=i?0:(c-f)%u,"previous"===t.message)o=0===n?u:s-n,l=f-o,p&&!d&&(a=f-o,l=-1===a?c-1:a);else if("next"===t.message)o=0===n?u:n,l=f+o,p&&!d&&(l=(f+u)%c+n);else if("dots"===t.message){if((l=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((l=t.index)===t.currentSlide)return null;if(d){var m=P(r({},e,{targetSlide:l}));l>t.currentSlide&&"left"===m?l-=c:l<t.currentSlide&&"right"===m&&(l+=c)}}else if("index"===t.message&&(l=Number(t.index))===t.currentSlide)return null;return l},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,a=t.animating,o=t.vertical,i=t.swipeToSlide,l=t.verticalSwiping,u=t.rtl,s=t.currentSlide,c=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,d=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,y=t.infinite,w=t.touchObject,_=t.swipeEvent,E=t.listHeight,C=t.listWidth;if(!n){if(a)return e.preventDefault();o&&i&&l&&e.preventDefault();var S=void 0,T={},P=x(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var O=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!l&&!m&&O>10)return{scrolling:!0};l&&(w.swipeLength=O);var N=(u?-1:1)*(w.curX>w.startX?1:-1);l&&(N=w.curY>w.startY?1:-1);var R=Math.ceil(g/v),I=h(t.touchObject,l),M=w.swipeLength;return y||(0===s&&"right"===I||s+1>=R&&"left"===I||!b(t)&&"left"===I)&&(M=w.swipeLength*c,!1===f&&p&&(p(I),T.edgeDragged=!0)),(!d&&_&&(_(I),T.swiped=!0),S=o?P+M*(E/C)*N:u?P-M*N:P+M*N,l&&(S=P+M*N),T=r({},T,{touchObject:w,swipeLeft:S,trackStyle:k(r({},t,{left:S}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY))?T:(w.swipeLength>10&&(T.swiping=!0,e.preventDefault()),T)}},t.swipeEnd=function(e,t){var n=t.dragging,a=t.swipe,o=t.touchObject,i=t.listWidth,l=t.touchThreshold,u=t.verticalSwiping,s=t.listHeight,c=t.currentSlide,f=t.swipeToSlide,p=t.scrolling,d=t.onSwipe;if(!n)return a&&e.preventDefault(),{};var m=u?s/l:i/l,g=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return b;if(!o.swipeLength)return b;if(o.swipeLength>m){e.preventDefault(),d&&d(g);var v=void 0,_=void 0;switch(g){case"left":case"up":_=c+w(t),v=f?y(t,_):_,b.currentDirection=0;break;case"right":case"down":_=c-w(t),v=f?y(t,_):_,b.currentDirection=1;break;default:v=c}b.triggerSlideHandler=v}else{var k=x(t);b.trackStyle=E(r({},t,{left:k}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r}),y=t.checkNavigable=function(e,t){var n=v(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t},w=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,a=u.default.findDOMNode(e.listRef),r=a.querySelectorAll(".slick-slide");if(Array.from(r).every(function(a){if(e.vertical){if(a.offsetTop+g(a)/2>-1*e.swipeLeft)return n=a,!1}else if(a.offsetLeft-t+m(a)/2>-1*e.swipeLeft)return n=a,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},_=t.checkSpecKeys=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},k=t.getTrackCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=T(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:i,transform:l,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},E=t.getTrackAnimateCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},x=t.getTrackLeft=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,a=e.slideIndex,r=e.trackRef,o=e.infinite,i=e.centerMode,l=e.slideCount,s=e.slidesToShow,c=e.slidesToScroll,f=e.slideWidth,p=e.listWidth,d=e.variableWidth,m=e.slideHeight,g=e.fade,h=e.vertical,b=0,v=0;if(g||1===e.slideCount)return 0;var y=0;if(o?(y=-C(e),l%c!==0&&a+c>l&&(y=-(a>l?s-(a-l):l%c)),i&&(y+=parseInt(s/2))):(l%c!==0&&a+c>l&&(y=s-l%c),i&&(y=parseInt(s/2))),b=y*f,v=y*m,t=h?a*m*-1+v:a*f*-1+b,!0===d){var w,k=u.default.findDOMNode(r);if(w=a+C(e),n=k&&k.childNodes[w],t=n?-1*n.offsetLeft:0,!0===i){w=o?a+C(e):a,n=k&&k.children[w],t=0;for(var E=0;E<w;E++)t-=k&&k.children[E]&&k.children[E].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(p-n.offsetWidth)/2}}return t},C=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},S=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},T=t.getTotalSlides=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+S(e)},P=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-N(e)?"right":"left"},O=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2===0&&(o+=1),o}return a?0:t-1},N=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!==0||(o+=1),o}return a?t-1:0};t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Map");e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(125),o=n(132),i=n(134),l=n(135),u=n(136);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}var a=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}var a=9007199254740991;e.exports=n},function(e,t,n){function a(e,t){t=r(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}var r=n(23),o=n(12);e.exports=a},function(e,t,n){function a(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(l.test(e)||!i.test(e)||null!=t&&e in Object(t))}var r=n(5),o=n(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=a},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){function a(e,n,a,l,u){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var c;try{if("function"!==typeof e[s]){var f=Error((l||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.");throw f.name="Invariant Violation",f}c=e[s](n,s,l,a,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var p=u?u():"";r("Failed "+a+" type: "+c.message+(null!=p?p:""))}}}var r=function(){};if("production"!==t.env.NODE_ENV){var o=n(36),i={};r=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=a}).call(t,n(1))},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}e.exports=n},function(e,t,n){function a(e){var t=this.__data__=new r(e);this.size=t.size}var r=n(18),o=n(114),i=n(115),l=n(116),u=n(117),s=n(118);a.prototype.clear=o,a.prototype.delete=i,a.prototype.get=l,a.prototype.has=u,a.prototype.set=s,e.exports=a},function(e,t,n){function a(e){if(!o(e))return!1;var t=r(e);return t==l||t==u||t==i||t==s}var r=n(10),o=n(8),i="[object AsyncFunction]",l="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";e.exports=a},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(30))},function(e,t){function n(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var a=Function.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e,t,n,i,l){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:r(e,t,n,i,a,l))}var r=n(137),o=n(11);e.exports=a},function(e,t,n){function a(e,t,n,a,s,c){var f=n&l,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var m=c.get(e);if(m&&c.get(t))return m==t;var g=-1,h=!0,b=n&u?new r:void 0;for(c.set(e,t),c.set(t,e);++g<p;){var v=e[g],y=t[g];if(a)var w=f?a(y,v,g,t,e,c):a(v,y,g,e,t,c);if(void 0!==w){if(w)continue;h=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||s(v,e,n,a,c)))return b.push(t)})){h=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){h=!1;break}}return c.delete(e),c.delete(t),h}var r=n(138),o=n(141),i=n(142),l=1,u=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}var r=n(46),o=n(5);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}e.exports=n},function(e,t,n){var a=n(149),r=n(48),o=Object.prototype,i=o.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(e){return null==e?[]:(e=Object(e),a(l(e),function(t){return i.call(e,t)}))}:r;e.exports=u},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function a(e){return i(e)?r(e):o(e)}var r=n(50),o=n(155),i=n(58);e.exports=a},function(e,t,n){function a(e,t){var n=i(e),a=!n&&o(e),c=!n&&!a&&l(e),p=!n&&!a&&!c&&s(e),d=n||a||c||p,m=d?r(e.length,String):[],g=m.length;for(var h in e)!t&&!f.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||u(h,g))||m.push(h);return m}var r=n(51),o=n(52),i=n(5),l=n(53),u=n(32),s=n(55),c=Object.prototype,f=c.hasOwnProperty;e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}e.exports=n},function(e,t,n){var a=n(150),r=n(11),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var a=n(4),r=n(151),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===o,u=l?a.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||r;e.exports=c}).call(t,n(54)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var a=n(152),r=n(153),o=n(154),i=o&&o.isTypedArray,l=i?r(i):a;e.exports=l},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}var a=Object.prototype;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function a(e){return null!=e&&o(e.length)&&!r(e)}var r=n(40),o=n(33);e.exports=a},function(e,t,n){function a(e){return e===e&&!r(e)}var r=n(8);e.exports=a},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";function a(e,t){var n=e.attributes,a=n.align,r=n.contentWidth,o=n.leftPadding,i=n.rightPadding,l=n.topPadding,u=n.bottomPadding,s=n.leftMargin,c=n.rightMargin,f=n.topMargin,p=n.bottomMargin,d=n.width,m=n.backgroundPosition,g=n.backgroundSize,h=n.backgroundAttachment,b=n.backgroundImage,v=n.backgroundColor,y=n.backgroundRepeat,w=n.backgroundType,_=n.gradientColor1,k=n.gradientColor2,E=n.gradientLocation1,x=n.gradientLocation2,C=n.gradientType,S=n.gradientAngle,T=n.borderStyle,P=n.borderWidth,O=n.borderRadius,N=n.borderColor,R={"padding-top":l+"px","padding-bottom":u+"px","padding-left":o+"px","padding-right":i+"px"};"right"==a?(R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-right"]=c+"px"):"left"==a?(R["margin-right"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-left"]=s+"px"):"center"==a&&(R["margin-right"]="auto",R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px"),"none"!=T&&(R["border-style"]=T,R["border-width"]=P+"px",R["border-radius"]=O+"px",R["border-color"]=N);var I=m.replace("-"," "),M="100%";return"boxed"==r&&""!=d&&(M=d+"px"),R["max-width"]=M,"color"===w?R["background-color"]=v:"image"===w?(R["background-image"]=b?"url("+b.url+")":null,R["background-position"]=I,R["background-attachment"]=h,R["background-repeat"]=y,R["background-size"]=g):"gradient"===w&&(R["background-color"]="transparent",R["background-image"]="linear"===C?"linear-gradient("+S+"deg, "+_+" "+E+"%, "+k+" "+x+"%)":"radial-gradient( at center center, "+_+" "+E+"%, "+k+" "+x+"%)"),R}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix",onChange:function(e){return n({prefixTitle:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title",onChange:function(e){return n({infoBoxTitle:e})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc",onChange:function(e){return n({headingDesc:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap"},wp.element.createElement("div",{className:"uagb-ifb-icon-wrap"},wp.element.createElement("span",{className:"uagb-ifb-icon"},wp.element.createElement("span",{className:e.icon}))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t="uagb-infobox-has-image";"icon"==e.source_type&&(t="uagb-infobox-has-icon");var n="";return n+="uagb-infobox ",n+=t+" ",n+="uagb-infobox-icon-"+e.iconimgPosition+" ","left"!==e.iconimgPosition&&"left-title"!==e.iconimgPosition||(n+="uagb-infobox-left "),"right"!==e.iconimgPosition&&"right-title"!==e.iconimgPosition||(n+="uagb-infobox-right "),"left"!==e.iconimgPosition&&"right"!==e.iconimgPosition||"none"===e.stack||(n+="uagb-infobox-stacked-"+e.stack+" ","right"===e.iconimgPosition&&(n+="uagb-infobox-reverse-order-"+e.stack+" ")),"above-title"===e.iconimgPosition&&"below-title"===e.iconimgPosition||(n+="uagb-infobox-image-valign-"+e.sourceAlign+" "),e.enableBorder&&(n+="uagb-infobox-enable-border "),n+="uagb-infobox-enable-border-radius ",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-separator-parent"},wp.element.createElement("div",{className:"uagb-ifb-separator"}))}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="_self",n="noopener noreferrer";return e.ctaTarget&&(t="_blank"),wp.element.createElement("div",{className:"uagb-ifb-cta uagb-infobox-cta-link-style"},"text"===e.ctaType&&wp.element.createElement("a",{href:e.ctaLink,target:t,className:"uagb-infobox-cta-link",rel:n},wp.element.createElement("span",{className:"uagb-inline-editing"},e.ctaText)),"button"===e.ctaType&&wp.element.createElement("div",{className:"uagb-ifb-button-wrapper"},wp.element.createElement("a",{href:e.ctaLink,className:"uagb-infobox-cta-link uagb-ifb-cta-button",target:t,rel:n},wp.element.createElement("span",{className:"uagb-ifb-cta-content-wrapper"},wp.element.createElement("span",{className:"uagb-inline-editing "},e.ctaText)))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingColor,r=t.subHeadingColor,o=t.prefixColor,i=t.prefixFontSize,l=t.headFontSize,u=t.subHeadFontSize,s=(t.separatorWidth,t.separatorHeight,t.headSpace),c=(t.separatorSpace,t.subHeadSpace),f=(t.icon,t.iconColor),p=t.iconSize,d=t.iconimgPosition,m=t.block_id,g=t.iconHover,h=t.iconimgBorderRadius,b=t.seperatorStyle,v=t.seperatorWidth,y=t.seperatorColor,w=t.seperatorThickness,_=t.seperatorSpace,k=t.ctaLinkColor,E=t.ctaFontSize,x=(t.ctaBtnSize,t.ctaBtnLinkColor),C=t.ctaBgColor,S=t.ctaBtnVertPadding,T=t.ctaBtnHrPadding,P=t.ctaBorderStyle,O=t.ctaBorderColor,N=t.ctaBorderWidth,R=t.ctaBorderRadius,I=t.prefixSpace,M=t.iconLeftMargin,j=t.iconRightMargin,A=t.iconTopMargin,z=t.iconBottomMargin,D=(t.imageSize,t.imageWidth);if(e.clientId)var L="uagb-infobox-"+e.clientId;else var L="uagb-infobox-"+m;var F={};F[".uagb-ifb-icon"]={height:p+"px",width:p+"px","line-height":p+"px"},F[".uagb-ifb-icon > span"]={"font-size":p+"px",height:p+"px",color:f,width:p+"px","line-height":p+"px"},F[".uagb-ifb-icon:hover > span"]={color:g},F[".uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap"]={"margin-left":M+"px","margin-right":j+"px","margin-top":A+"px","margin-bottom":z+"px"},F[".uagb-ifb-image-content img"]={width:D+"px","max-width":D+"px"},F[".uagb-infobox .uagb-ifb-image-content img"]={"border-radius":h+"px"},"above-title"!=d&&"below-title"!=d||(F[".uagb-infobox__content-wrap"]={"text-align":n}),F[".uagb-infobox-cta-link a"]={"font-size":E+"px",color:k},F[".uagb-infobox-cta-link span"]={"font-size":E+"px",color:k},F[".uagb-ifb-button-wrapper .uagb-infobox-cta-link span"]={"font-size":E+"px",color:x},F[".uagb-ifb-button-wrapper .uagb-infobox-cta-link"]={"font-size":E+"px",color:x,"background-color":C,"border-style":P,"border-color":O,"border-radius":R+"px","border-width":N+"px","padding-top":S+"px","padding-bottom":S+"px","padding-left":T+"px","padding-right":T+"px"},F[".editor-rich-text .uagb-ifb-title-prefix"]={"font-size":i+"px",color:o,"margin-bottom":I+"px"},F[".editor-rich-text .uagb-ifb-title"]={"font-size":l+"px",color:a,"margin-bottom":s+"px"},F[".editor-rich-text .uagb-ifb-desc"]={"font-size":u+"px",color:r,"margin-bottom":c+"px"},F[".uagb-ifb-separator"]={width:v+"%","border-top-width":w+"px","border-top-color":y,"border-top-style":b},F[".uagb-ifb-separator-parent"]={"margin-bottom":_+"px"},F[".uagb-ifb-content"]={padding:"undefined"!=typeof blockPadding?blockPadding+"px":"inherit"};var B="";for(var U in F){B+=" .block-editor-page #wpwrap #"+L+" "+U+" { ";var W=F[U],H="";for(var V in W)H+=V+": "+W[V]+";";B+=H+" } "}return B}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="";"undefined"!==typeof e.iconImage&&null!==e.iconImage&&""!==e.iconImage&&(t=e.iconImage.url);var n="";if(""!==t){var a=e.iconImage.sizes,r=e.imageSize;return n="undefined"!==typeof a&&"undefined"!==typeof a[r]?a[r].url:t,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:"",src:n,alt:e.iconImage.alt}))))}return null}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";(function(t){var a=n(16),r=a;if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];o.apply(void 0,[t].concat(a))}}}e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=r},function(e,t,n){"use strict";function a(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=a},function(e,t,n){"use strict";function a(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(a(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!o.call(t,n[i])||!a(e[n[i]],t[n[i]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function a(e,t){return!(!e||!t)&&(e===t||!r(e)&&(r(t)?a(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var r=n(218);e.exports=a},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}(n(9)),u=a(n(2)),s=a(n(17)),c=n(78),f=n(79),p="unmounted";t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var h=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n.transitionGroup,i=o&&!o.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?i?(r=d,a.appearStatus=m):r=g:r=t.unmountOnExit||t.mountOnEnter?p:d,a.state={status:r},a.nextCallback=null,a}o(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,n=a.appear),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,a=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!a)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,r),this.safeSetState({status:m},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,r)})})})},n.performExit=function(e){var t=this,n=this.props.exit,a=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,a.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,a=r(t,["children"]);if(delete a.in,delete a.mountOnEnter,delete a.unmountOnExit,delete a.appear,delete a.enter,delete a.exit,delete a.timeout,delete a.addEndListener,delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,"function"===typeof n)return n(e,a);var o=u.default.Children.only(n);return u.default.cloneElement(o,a)},t}(u.default.Component);h.contextTypes={transitionGroup:l.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes="production"!==e.env.NODE_ENV?{children:l.oneOfType([l.func.isRequired,l.element.isRequired]).isRequired,in:l.bool,mountOnEnter:l.bool,unmountOnExit:l.bool,appear:l.bool,enter:l.bool,exit:l.bool,timeout:function(t){var n="production"!==e.env.NODE_ENV?f.timeoutsShape:{};t.addEndListener||(n=n.isRequired);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return n.apply(void 0,[t].concat(r))},addEndListener:l.func,onEnter:l.func,onEntering:l.func,onEntered:l.func,onExit:l.func,onExiting:l.func,onExited:l.func}:{},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:i,onEntering:i,onEntered:i,onExit:i,onExiting:i,onExited:i},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var b=(0,c.polyfill)(h);t.default=b}).call(t,n(1))},function(e,t,n){"use strict";function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function r(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,l=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?l="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==l){var u=e.displayName||e.name,s="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,a)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return i}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function a(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.transitionTimeout=a,t.classNamesShape=t.timeoutsShape=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),o=r.default.oneOfType([r.default.number,r.default.shape({enter:r.default.number,exit:r.default.number}).isRequired]);t.timeoutsShape=o;var i=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,exit:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterDone:r.default.string,enterActive:r.default.string,exit:r.default.string,exitDone:r.default.string,exitActive:r.default.string})]);t.classNamesShape=i},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var s=r(n(9)),c=r(n(2)),f=n(78),p=n(231),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m="production"!==a.env.NODE_ENV?{component:s.default.any,children:s.default.node,appear:s.default.bool,enter:s.default.bool,exit:s.default.bool,childFactory:s.default.func}:{},g={component:"div",childFactory:function(e){return e}},h=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r=a.handleExited.bind(u(u(a)));return a.state={handleExited:r,firstRender:!0},a}l(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,a=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,a):(0,p.getNextChildMapping)(e,n,a),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,a=o(e,["component","childFactory"]),r=d(this.state.children).map(n);return delete a.appear,delete a.enter,delete a.exit,null===t?r:c.default.createElement(t,a,r)},t}(c.default.Component);h.childContextTypes={transitionGroup:s.default.object.isRequired},h.propTypes="production"!==a.env.NODE_ENV?m:{},h.defaultProps=g;var b=(0,f.polyfill)(h);t.default=b,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.name),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-tm__author-name",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.name=e),t});n({test_block:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-tm__author-name"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.company),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-tm__company",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.company=e),t});n({test_block:a})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-tm__company"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.description),"not_set"!==n?wp.element.createElement(l,{tagName:"div",value:i,className:"uagb-tm__desc",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.description=e),t});n({test_block:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"div",value:i,className:"uagb-tm__desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e){var t="";return t+=" uagb-tm__imgicon-style-"+e.iconimgStyle+" ",t+="uagb-tm__image-position-"+e.imagePosition+" ","left"!=e.imagePosition&&"right"!=e.imagePosition||(t+="uagb-tm__image-aligned-"+e.imageAlignment+" ","none"!==e.stack&&(t+="uagb-tm-stacked-"+e.stack+" ","right"===e.imagePosition&&(t+="uagb-tm-reverse-order-"+e.stack+" "))),t+="uagb-tm__bg-type-"+e.backgroundType+" ",[t]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.index_value,a="",r=t.test_block[n];if(r&&"undefined"!==typeof r){var o=r.image,i="";if("undefined"!==typeof o&&null!==o&&""!==o&&(a=o.url),""!==a){var l=o.sizes,u=t.imageSize;return i="undefined"!==typeof l&&"undefined"!==typeof l[u]?l[u].url:a,wp.element.createElement("div",{className:"uagb-tm__image-content",key:"tm_img-wrap-"+n},wp.element.createElement("div",{className:"uagb-tm__image",key:"tm_img-"+n},wp.element.createElement("img",{className:"",src:i,alt:o.alt})))}return null}return null}}]),t}(React.Component));t.a=l},function(e,t){function n(e,t){var n=0,a=e.length;for(n;n<a&&!1!==t(e[n],n);n++);}function a(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(e){return"function"===typeof e}e.exports={isFunction:r,isArray:a,each:n}},function(e,t,n){"use strict";var a={facebook:"https://www.facebook.com/sharer.php?u=",twitter:"https://twitter.com/share?url=",google:"https://plus.google.com/share?url=",pinterest:"https://pinterest.com/pin/create/link/?url=",linkedin:"https://www.linkedin.com/shareArticle?url=",digg:"http://digg.com/submit?url=",blogger:"https://www.blogger.com/blog_this.pyra?t&amp;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="};t.a=a},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.dateBottomspace,a=t.backgroundColor,r=t.separatorColor,o=t.separatorFillColor,i=t.separatorBg,l=t.separatorBorder,u=t.borderFocus,s=t.verticalSpace,c=t.horizontalSpace,f=t.separatorwidth,p=t.borderwidth,d=t.connectorBgsize,m=t.borderRadius,g=t.bgPadding,h=(t.width,t.readMoreText,t.icon,t.iconColor),b=t.dateFontsize,v=t.dateColor,y=t.iconSize,w=t.iconFocus,_=t.iconBgFocus,k=t.block_id,E=t.iconHover,x=t.iconBgHover,C=t.borderHover,S=t.headFontSize,T=t.align,P=t.headingColor,O=t.headSpace,N=t.subHeadFontSize,R=t.subHeadingColor;if(e.clientId)var I=e.clientId;else var I=k;var M={};M[".uagb-timeline__heading"]={"font-size":S+"px","text-align":T,color:P},M[".uagb-timeline__heading-text"]={"margin-bottom":O+"px"},M[".uagb-timeline-desc-content"]={"font-size":N+"px","text-align":T,color:R},M[".uagb-timeline__events-new"]={"text-align":T},M[".uagb-timeline__date-inner"]={"text-align":T},M[".uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},M[".uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},M[".uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},M[".uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},M[".uagb-timeline__line__inner"]={"background-color":o},M[".uagb-timeline__line"]={"background-color":r,width:f+"px"},M[".uagb-timeline__right-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},M[".uagb-timeline__left-block .uagb-timeline__line"]={left:"calc( "+d+"px / 2 )"},M[".uagb-timeline__center-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},M[".uagb-timeline__marker"]={"background-color":i,"min-height":d+"px","min-width":d+"px","line-height":d+"px",border:p+"px solid"+l},M[".uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":c+"px","margin-right":c+"px"},M[".uagb-timeline__field:not(:last-child)"]={"margin-bottom":s+"px"},M[".uagb-timeline__date-hide.uagb-timeline__date-inner"]={"margin-bottom":n+"px",color:v,"font-size":b+"px","text-align":T},M[".uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},M[".uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-right":c+"px"},M[".uagb-timeline__date-new"]={color:v,"font-size":b+"px"},M[".uagb-timeline__events-inner-new"]={"background-color":a,"border-radius":m+"px",padding:g+"px"},M[".uagb-timeline__main .uagb-timeline__icon-new"]={color:h,"font-size":y+"px"},M[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker"]={background:x,"border-color":C},M[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon"]={background:_,"border-color":u},M[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new"]={color:E},M[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new"]={color:w};var j={};j[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":"0px","margin-right":"0px"},j[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},j[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-left":c+"px"};var A="";for(var z in M){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=M[z],L="";for(var F in D)L+=F+": "+D[F]+";";A+=L+" } "}A+="@media(max-width:768px){";for(var z in j){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=j[z],L="";for(var F in D)L+=F+": "+D[F]+";";A+=L+" } "}return A+="}"}t.a=a},function(e,t,n){"use strict";function a(e){var t="uagb-timeline__arrow-top ";"center"==e.arrowlinAlignment?t="uagb-timeline__arrow-center ":"bottom"==e.arrowlinAlignment&&(t="uagb-timeline__arrow-bottom ");var n="uagb-timeline__center-block ";return"left"==e.timelinAlignment?n="uagb-timeline__left-block ":"right"==e.timelinAlignment&&(n="uagb-timeline__right-block "),n+=t+"",n+="uagb-timeline__responsive-"+e.stack+" uagb-timeline",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__left":"right"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__widget uagb-timeline__right":"uagb-timeline__widget uagb-timeline__left"),[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-left":"right"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__day-new uagb-timeline__day-right":"uagb-timeline__day-new uagb-timeline__day-left"),[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.title),"not_set"!==n?wp.element.createElement(l,{tagName:t.headingTag,value:i,className:"uagb-rm__title",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.title=e),t});n({rest_menu_item_arr:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:t.headingTag,value:i,className:"uagb-rm__title"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.price),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-rm__price",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.price=e),t});n({rest_menu_item_arr:a})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-rm__price"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.description),"not_set"!==n?wp.element.createElement(l,{tagName:"div",value:i,className:"uagb-rm__desc",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.description=e),t});n({rest_menu_item_arr:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"div",value:i,className:"uagb-rm__desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e){var t="",n=0;return e.rest_menu_item_arr.map(function(t,a){var r=e.rest_menu_item_arr[a];if(r&&"undefined"!==typeof r){var o=r.image;"undefined"!==typeof o&&null!==o&&""!==o&&n++}}),n>0&&(t+="uagb-rm__image-position-"+e.imagePosition+" "),t+=" uagb-rm__align-"+e.headingAlign+" ","left"!=e.imagePosition&&"right"!=e.imagePosition||(t+="uagb-rm__image-aligned-"+e.imageAlignment+" ","none"!==e.stack&&(t+="uagb-rm-stacked-"+e.stack+" ","right"===e.imagePosition&&(t+="uagb-rm-reverse-order-"+e.stack+" "))),t+="uagb-rm__desk-column-"+e.columns+" ",t+="uagb-rm__tablet-column-"+e.tcolumns+" ",t+="uagb-rm__mobile-column-"+e.mcolumns+" ",[t]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.index_value,a="",r=t.rest_menu_item_arr[n];if(r&&"undefined"!==typeof r){var o=r.image,i="";if("undefined"!==typeof o&&null!==o&&""!==o&&(a=o.url),""!==a){var l=o.sizes,u=t.imageSize;return i="undefined"!==typeof l&&"undefined"!==typeof l[u]?l[u].url:a,wp.element.createElement("div",{className:"uagb-rm__image-content",key:"rm_img-wrap-"+n},wp.element.createElement("div",{className:"uagb-rm__image",key:"rm_img-"+n},wp.element.createElement("img",{className:"",src:i,alt:o.alt})))}return null}return null}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(98),n(101),n(195),n(201),n(211),n(235),n(257),n(263),n(269),n(271),n(275),n(281)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=(n.n(i),n(99)),u=n(3),s=n(100),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),f=wp.i18n.__,p=wp.blocks,d=p.registerBlockType,m=p.createBlock,g=wp.editor,h=g.AlignmentToolbar,b=g.BlockControls,v=g.InspectorControls,y=g.RichText,w=g.PanelColorSettings,_=wp.components,k=_.PanelBody,E=_.SelectControl,x=_.RangeControl,C=wp.element,S=C.Component,T=C.Fragment,P=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.splitBlock=e.splitBlock.bind(e),e}return o(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-adv-heading-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"splitBlock",value:function(e,t){for(var n=this.props,a=n.attributes,r=n.insertBlocksAfter,o=n.setAttributes,i=n.onReplace,l=arguments.length,u=Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];t&&u.push(m("core/paragraph",{content:t})),u.length&&r&&r(u);var c=a.content;e?c!==e&&o({content:e}):i([])}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,a=e.insertBlocksAfter,r=e.mergeBlocks,o=e.onReplace,i=e.attributes,u=i.headingTitle,s=i.headingDesc,c=i.headingAlign,p=i.headingColor,d=i.subHeadingColor,g=i.separatorColor,_=i.headingTag,C=i.headFontSize,S=i.subHeadFontSize,P=i.separatorWidth,O=i.separatorHeight,N=i.headSpace,R=i.separatorSpace,I=i.subHeadSpace,M=document.getElementById("uagb-adv-heading-style-"+this.props.clientId);return null!=M&&"undefined"!=typeof M&&(M.innerHTML=Object(l.a)(this.props)),wp.element.createElement(T,null,wp.element.createElement(b,{key:"controls"},wp.element.createElement(h,{value:c,onChange:function(e){return n({headingAlign:e})}})),wp.element.createElement(v,null,wp.element.createElement(k,{title:f("Typography")},wp.element.createElement(E,{label:f("Tag"),value:_,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:f("H1")},{value:"h2",label:f("H2")},{value:"h3",label:f("H3")},{value:"h4",label:f("H4")},{value:"h5",label:f("H5")},{value:"h6",label:f("H6")}]}),wp.element.createElement(x,{label:f("Heading Font Size"),value:C,onChange:function(e){return n({headFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:30}),wp.element.createElement(x,{label:f("Sub-Heading Font Size"),value:S,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:10})),wp.element.createElement(w,{title:f("Color Settings"),initialOpen:!0,colorSettings:[{value:p,onChange:function(e){return n({headingColor:e})},label:f("Heading Color")},{value:d,onChange:function(e){return n({subHeadingColor:e})},label:f("Sub-Heading Color")},{value:g,onChange:function(e){return n({separatorColor:e})},label:f("Separator Color")}]}),wp.element.createElement(k,{title:f("Additional Options"),initialOpen:!1},wp.element.createElement(x,{label:f("Separator Height"),value:O,onChange:function(e){return n({separatorHeight:e})},min:0,max:20,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:3}),wp.element.createElement(x,{label:f("Separator Width"),value:P,onChange:function(e){return n({separatorWidth:e})},min:0,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:20}),wp.element.createElement(x,{label:f("Heading Spacing"),value:N,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:f("Separator Spacing"),value:R,onChange:function(e){return n({separatorSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:f("Sub-Heading Spacing"),value:I,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}))),wp.element.createElement("div",{className:t,id:"uagb-adv-heading-"+this.props.clientId},wp.element.createElement(y,{tagName:_,placeholder:f("Write a Heading"),value:u,className:"uagb-heading-text",multiline:!1,onChange:function(e){return n({headingTitle:e})},onMerge:r,unstableOnSplit:a?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a([].concat(o,[m("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return o([])}}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y,{tagName:"p",placeholder:f("Write a Description"),value:s,className:"uagb-desc-text",onChange:function(e){return n({headingDesc:e})},onMerge:r,unstableOnSplit:this.splitBlock,onRemove:function(){return o([])}})))}}]),t}(S);d("uagb/advanced-heading",{title:uagb_blocks_info.blocks["uagb/advanced-heading"].title,description:uagb_blocks_info.blocks["uagb/advanced-heading"].description,icon:u.a.advanced_heading,keywords:[f("advanced heading"),f("uagb")],category:uagb_blocks_info.category,attributes:{block_id:{type:"string"},headingTitle:{source:"html",selector:"h1,h2,h3,h4,h5,h6"},headingDesc:{source:"html",selector:"p",default:""},headingAlign:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},separatorColor:{type:"string"},headingTag:{type:"string",default:"h2"},separatorHeight:{type:"number"},separatorWidth:{type:"number"},headFontSize:{type:"number"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:15},separatorSpace:{type:"number",default:15},subHeadSpace:{type:"number"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingDesc:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingTitle:t,headingTag:"h3"})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("core/heading",{content:t})}}]},edit:P,save:function(e){var t=e.attributes,n=t.block_id,a=t.headingTitle,r=t.headingDesc,o=t.headingTag;return wp.element.createElement("div",{className:e.className,id:"uagb-adv-heading-"+n},wp.element.createElement(y.Content,{tagName:o,value:a,className:"uagb-heading-text"}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y.Content,{tagName:"p",value:r,className:"uagb-desc-text"}))}})},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingTag,r=t.headFontSize,o=t.headingColor,i=t.headSpace,l=t.separatorHeight,u=t.separatorWidth,s=t.separatorColor,c=t.separatorSpace,f=t.subHeadFontSize,p=t.subHeadingColor,d=t.subHeadSpace,m={" .uagb-separator-wrap":{"text-align":n}," .uagb-separator":{"border-top-width":l+"px",width:u+"%","border-color":s,"margin-bottom":c+"px"}," .editor-rich-text .uagb-desc-text":{"text-align":n,"font-size":f+"px",color:p,"margin-bottom":d+"px"}};m[" .editor-rich-text "+a+".uagb-heading-text"]={"text-align":n,"font-size":r+"px",color:o,"margin-bottom":i+"px"};var g="";for(var h in m){g+=".block-editor-page #wpwrap #uagb-adv-heading-"+e.clientId,g+=h+" { ";var b=m[h],v="";for(var y in b)v+=y+": "+b[y]+";";g+=v+" } "}return g}t.a=a},function(e,t){},function(e,t,n){"use strict";n(102)},function(e,t,n){"use strict";var a=n(103),r=n(3),o=n(193),i=(n.n(o),n(194)),l=(n.n(i),wp.i18n.__);(0,wp.blocks.registerBlockType)("uagb/post-grid",{title:uagb_blocks_info.blocks["uagb/post-grid"].title,description:uagb_blocks_info.blocks["uagb/post-grid"].description,icon:r.a.post_grid,category:uagb_blocks_info.category,keywords:[l("post"),l("grid"),l("uagb")],edit:a.a,save:function(){return null}})},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(104),l=n.n(i),u=n(105),s=n.n(u),c=n(187),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=wp.element,m=d.Component,g=d.Fragment,h=wp.i18n.__,b=wp.components,v=b.PanelBody,y=b.Placeholder,w=b.QueryControls,_=b.RangeControl,k=b.SelectControl,E=b.Spinner,x=b.ToggleControl,C=wp.editor,S=C.InspectorControls,T=C.BlockAlignmentToolbar,P=C.BlockControls,O=C.ColorPalette,N=wp.data.withSelect,R=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.categoriesList,a=e.setAttributes,r=e.latestPosts,o=(t.block_id,t.displayPostDate),i=t.displayPostComment,l=t.displayPostExcerpt,u=t.displayPostAuthor,s=t.displayPostImage,p=t.imgSize,d=t.imgPosition,m=t.displayPostLink,b=t.align,C=t.columns,N=t.tcolumns,R=t.mcolumns,I=t.order,M=t.orderBy,j=t.categories,A=t.postsToShow,z=t.rowGap,D=t.columnGap,L=t.bgColor,F=t.contentPadding,B=t.titleColor,U=t.titleTag,W=(t.titleFontSize,t.metaColor),H=t.excerptColor,V=t.ctaColor,q=t.ctaBgColor,$=t.titleBottomSpace,G=t.metaBottomSpace,Y=t.excerptBottomSpace,K=t.equalHeight,Q=wp.element.createElement(S,null,wp.element.createElement(v,{title:h("General")},wp.element.createElement(w,f({order:I,orderBy:M},{numberOfItems:A,categoriesList:n,selectedCategoryId:j,onOrderChange:function(e){return a({order:e})},onOrderByChange:function(e){return a({orderBy:e})},onCategoryChange:function(e){return a({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return a({postsToShow:e})}})),wp.element.createElement(_,{label:h("Columns"),value:C,onChange:function(e){return a({columns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:h("Columns (Tablet)"),value:N,onChange:function(e){return a({tcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:h("Columns (Mobile)"),value:R,onChange:function(e){return a({mcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(x,{label:h("Equal Height"),checked:K,onChange:function(e){return a({equalHeight:!K})}})),wp.element.createElement(v,{title:h("Image"),initialOpen:!1},wp.element.createElement(x,{label:h("Show Featured Image"),checked:s,onChange:function(e){return a({displayPostImage:!s})}}),1==s&&wp.element.createElement(k,{label:h("Image Sizes"),value:p,onChange:function(e){return a({imgSize:e})},options:[{value:"thumbnail",label:h("Thumbnail")},{value:"medium",label:h("Medium")},{value:"medium_large",label:h("Medium Large")},{value:"large",label:h("Large")}]}),1==s&&wp.element.createElement(k,{label:h("Image Position"),value:d,onChange:function(e){return a({imgPosition:e})},options:[{value:"top",label:h("Top")},{value:"background",label:h("Background")}]})),wp.element.createElement(v,{title:h("Content"),initialOpen:!1},wp.element.createElement(k,{label:h("Title Tag"),value:U,onChange:function(e){return a({titleTag:e})},options:[{value:"h1",label:h("H1")},{value:"h2",label:h("H2")},{value:"h3",label:h("H3")},{value:"h4",label:h("H4")},{value:"h5",label:h("H5")},{value:"h6",label:h("H6")}]}),wp.element.createElement(x,{label:h("Show Author"),checked:u,onChange:function(e){return a({displayPostAuthor:!u})}}),wp.element.createElement(x,{label:h("Show Date"),checked:o,onChange:function(e){return a({displayPostDate:!o})}}),wp.element.createElement(x,{label:h("Show Comment"),checked:i,onChange:function(e){return a({displayPostComment:!i})}}),wp.element.createElement(x,{label:h("Show Excerpt"),checked:l,onChange:function(e){return a({displayPostExcerpt:!l})}}),wp.element.createElement(x,{label:h("Show Read More Link"),checked:m,onChange:function(e){return a({displayPostLink:!m})}})),wp.element.createElement(v,{title:h("Colors"),initialOpen:!1},"top"==d&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Blog Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:L}}))),wp.element.createElement(O,{value:L,onChange:function(e){return a({bgColor:e})},allowReset:!0})),wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Title Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:B}}))),wp.element.createElement(O,{value:B,onChange:function(e){return a({titleColor:e})},allowReset:!0})),wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Meta Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:W}}))),wp.element.createElement(O,{value:W,onChange:function(e){return a({metaColor:e})}})),1==l&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Excerpt Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:H}}))),wp.element.createElement(O,{value:H,onChange:function(e){return a({excerptColor:e})},allowReset:!0})),1==m&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:V}}))),wp.element.createElement(O,{value:V,onChange:function(e){return a({ctaColor:e})},allowReset:!0})),1==m&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:q}}))),wp.element.createElement(O,{value:q,onChange:function(e){return a({ctaBgColor:e})},allowReset:!0}))),wp.element.createElement(v,{title:h("Spacing"),initialOpen:!1},wp.element.createElement(_,{label:h("Row Gap"),value:z,onChange:function(e){return a({rowGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Column Gap"),value:D,onChange:function(e){return a({columnGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Content Padding"),value:F,onChange:function(e){return a({contentPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Title Bottom Spacing"),value:$,onChange:function(e){return a({titleBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Meta Bottom Spacing"),value:G,onChange:function(e){return a({metaBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Excerpt Bottom Spacing"),value:Y,onChange:function(e){return a({excerptBottomSpace:e})},min:0,max:50,allowReset:!0}))),X=Array.isArray(r)&&r.length;return X?wp.element.createElement(g,null,Q,wp.element.createElement(P,null,wp.element.createElement(T,{value:b,onChange:function(e){a({align:e})},controls:["center","wide"]})),wp.element.createElement(c.a,{attributes:t,className:this.props.className,latestPosts:r,block_id:this.props.clientId})):wp.element.createElement(g,null,Q,wp.element.createElement(y,{icon:"admin-post",label:h("UAGB - Post Grid")},Array.isArray(r)?h("No posts found."):wp.element.createElement(E,null)))}}]),t}(m);t.a=N(function(e,t){var n=t.attributes,a=n.categories,r=n.postsToShow,o=n.order,i=n.orderBy,u=e("core"),c=u.getEntityRecords,f=s()({categories:a,order:o,orderby:i,per_page:r},function(e){return!l()(e)}),p={per_page:100};return{latestPosts:c("postType","post",f),categoriesList:c("taxonomy","category",p)}})(R)},function(e,t){function n(e){return void 0===e}e.exports=n},function(e,t,n){function a(e,t){if(null==e)return{};var n=r(l(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}var r=n(38),o=n(106),i=n(176),l=n(181);e.exports=a},function(e,t,n){function a(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?l(e)?o(e[0],e[1]):r(e):u(e)}var r=n(107),o=n(163),i=n(61),l=n(5),u=n(173);e.exports=a},function(e,t,n){function a(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}var r=n(108),o=n(162),i=n(60);e.exports=a},function(e,t,n){function a(e,t,n,a){var u=n.length,s=u,c=!a;if(null==e)return!s;for(e=Object(e);u--;){var f=n[u];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<s;){f=n[u];var p=f[0],d=e[p],m=f[1];if(c&&f[2]){if(void 0===d&&!(p in e))return!1}else{var g=new r;if(a)var h=a(d,m,p,e,t,g);if(!(void 0===h?o(m,d,i|l,a,g):h))return!1}}return!0}var r=n(39),o=n(43),i=1,l=2;e.exports=a},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var r=n(19),o=Array.prototype,i=o.splice;e.exports=a},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}var r=n(19);e.exports=a},function(e,t,n){function a(e){return r(this.__data__,e)>-1}var r=n(19);e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}var r=n(19);e.exports=a},function(e,t,n){function a(){this.__data__=new r,this.size=0}var r=n(18);e.exports=a},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function a(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<l-1)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}var r=n(18),o=n(29),i=n(31),l=200;e.exports=a},function(e,t,n){function a(e){return!(!i(e)||o(e))&&(r(e)?m:s).test(l(e))}var r=n(40),o=n(122),i=n(8),l=n(42),u=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,f=Object.prototype,p=c.toString,d=f.hasOwnProperty,m=RegExp("^"+p.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=a},function(e,t,n){function a(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var a=!0}catch(e){}var r=l.call(e);return a&&(t?e[u]=n:delete e[u]),r}var r=n(20),o=Object.prototype,i=o.hasOwnProperty,l=o.toString,u=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return r.call(e)}var a=Object.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e){return!!o&&o in e}var r=n(123),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=a},function(e,t,n){var a=n(4),r=a["__core-js_shared__"];e.exports=r},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}var r=n(126),o=n(18),i=n(29);e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(127),o=n(128),i=n(129),l=n(130),u=n(131);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(){this.__data__=r?r(null):{},this.size=0}var r=n(21);e.exports=a},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function a(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return l.call(t,e)?t[e]:void 0}var r=n(21),o="__lodash_hash_undefined__",i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}var r=n(21),o=Object.prototype,i=o.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}var r=n(21),o="__lodash_hash_undefined__";e.exports=a},function(e,t,n){function a(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}var r=n(22);e.exports=a},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function a(e){return r(this,e).get(e)}var r=n(22);e.exports=a},function(e,t,n){function a(e){return r(this,e).has(e)}var r=n(22);e.exports=a},function(e,t,n){function a(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}var r=n(22);e.exports=a},function(e,t,n){function a(e,t,n,a,h,v){var y=s(e),w=s(t),_=y?m:u(e),k=w?m:u(t);_=_==d?g:_,k=k==d?g:k;var E=_==g,x=k==g,C=_==k;if(C&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(C&&!E)return v||(v=new r),y||f(e)?o(e,t,n,a,h,v):i(e,t,_,n,a,h,v);if(!(n&p)){var S=E&&b.call(e,"__wrapped__"),T=x&&b.call(t,"__wrapped__");if(S||T){var P=S?e.value():e,O=T?t.value():t;return v||(v=new r),h(P,O,n,a,v)}}return!!C&&(v||(v=new r),l(e,t,n,a,h,v))}var r=n(39),o=n(44),i=n(143),l=n(147),u=n(157),s=n(5),c=n(53),f=n(55),p=1,d="[object Arguments]",m="[object Array]",g="[object Object]",h=Object.prototype,b=h.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}var r=n(31),o=n(139),i=n(140);a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){function n(e){return this.__data__.set(e,a),this}var a="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function a(e,t,n,a,r,E,C){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new o(e),new o(t)));case p:case d:case h:return i(+e,+t);case m:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case g:var S=u;case v:var T=a&c;if(S||(S=s),e.size!=t.size&&!T)return!1;var P=C.get(e);if(P)return P==t;a|=f,C.set(e,t);var O=l(S(e),S(t),a,r,E,C);return C.delete(e),O;case w:if(x)return x.call(e)==x.call(t)}return!1}var r=n(20),o=n(144),i=n(28),l=n(44),u=n(145),s=n(146),c=1,f=2,p="[object Boolean]",d="[object Date]",m="[object Error]",g="[object Map]",h="[object Number]",b="[object RegExp]",v="[object Set]",y="[object String]",w="[object Symbol]",_="[object ArrayBuffer]",k="[object DataView]",E=r?r.prototype:void 0,x=E?E.valueOf:void 0;e.exports=a},function(e,t,n){var a=n(4),r=a.Uint8Array;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function a(e,t,n,a,i,u){var s=n&o,c=r(e),f=c.length;if(f!=r(t).length&&!s)return!1;for(var p=f;p--;){var d=c[p];if(!(s?d in t:l.call(t,d)))return!1}var m=u.get(e);if(m&&u.get(t))return m==t;var g=!0;u.set(e,t),u.set(t,e);for(var h=s;++p<f;){d=c[p];var b=e[d],v=t[d];if(a)var y=s?a(v,b,d,t,e,u):a(b,v,d,e,t,u);if(!(void 0===y?b===v||i(b,v,n,a,u):y)){g=!1;break}h||(h="constructor"==d)}if(g&&!h){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return u.delete(e),u.delete(t),g}var r=n(148),o=1,i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){return r(e,i,o)}var r=n(45),o=n(47),i=n(49);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function a(e){return o(e)&&r(e)==i}var r=n(10),o=n(11),i="[object Arguments]";e.exports=a},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function a(e){return i(e)&&o(e.length)&&!!l[r(e)]}var r=n(10),o=n(33),i=n(11),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=a},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var a=n(41),r="object"==typeof t&&t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r,l=i&&a.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=u}).call(t,n(54)(e))},function(e,t,n){function a(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}var r=n(56),o=n(156),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){var a=n(57),r=a(Object.keys,Object);e.exports=r},function(e,t,n){var a=n(158),r=n(29),o=n(159),i=n(160),l=n(161),u=n(10),s=n(42),c=s(a),f=s(r),p=s(o),d=s(i),m=s(l),g=u;(a&&"[object DataView]"!=g(new a(new ArrayBuffer(1)))||r&&"[object Map]"!=g(new r)||o&&"[object Promise]"!=g(o.resolve())||i&&"[object Set]"!=g(new i)||l&&"[object WeakMap]"!=g(new l))&&(g=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,a=n?s(n):"";if(a)switch(a){case c:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var a=n(7),r=n(4),o=a(r,"DataView");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Promise");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Set");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"WeakMap");e.exports=o},function(e,t,n){function a(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}var r=n(59),o=n(49);e.exports=a},function(e,t,n){function a(e,t){return l(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,f|p)}}var r=n(43),o=n(164),i=n(170),l=n(35),u=n(59),s=n(60),c=n(12),f=1,p=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}var r=n(34);e.exports=a},function(e,t,n){var a=n(166),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t,n){function a(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var r=n(167),o=500;e.exports=a},function(e,t,n){function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(a.Cache||r),n}var r=n(31),o="Expected a function";a.Cache=r,e.exports=a},function(e,t,n){function a(e){return null==e?"":r(e)}var r=n(169);e.exports=a},function(e,t,n){function a(e){if("string"==typeof e)return e;if(i(e))return o(e,a)+"";if(l(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var r=n(20),o=n(38),i=n(5),l=n(24),u=1/0,s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=a},function(e,t,n){function a(e,t){return null!=e&&o(e,t,r)}var r=n(171),o=n(172);e.exports=a},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function a(e,t,n){t=r(t,e);for(var a=-1,c=t.length,f=!1;++a<c;){var p=s(t[a]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++a!=c?f:!!(c=null==e?0:e.length)&&u(c)&&l(p,c)&&(i(e)||o(e))}var r=n(23),o=n(52),i=n(5),l=n(32),u=n(33),s=n(12);e.exports=a},function(e,t,n){function a(e){return i(e)?r(l(e)):o(e)}var r=n(174),o=n(175),i=n(35),l=n(12);e.exports=a},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function a(e){return function(t){return r(t,e)}}var r=n(34);e.exports=a},function(e,t,n){function a(e,t,n){for(var a=-1,l=t.length,u={};++a<l;){var s=t[a],c=r(e,s);n(c,s)&&o(u,i(s,e),c)}return u}var r=n(34),o=n(177),i=n(23);e.exports=a},function(e,t,n){function a(e,t,n,a){if(!l(e))return e;t=o(t,e);for(var s=-1,c=t.length,f=c-1,p=e;null!=p&&++s<c;){var d=u(t[s]),m=n;if(s!=f){var g=p[d];m=a?a(g,d,p):void 0,void 0===m&&(m=l(g)?g:i(t[s+1])?[]:{})}r(p,d,m),p=p[d]}return e}var r=n(178),o=n(23),i=n(32),l=n(8),u=n(12);e.exports=a},function(e,t,n){function a(e,t,n){var a=e[t];l.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}var r=n(179),o=n(28),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var r=n(180);e.exports=a},function(e,t,n){var a=n(7),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){function a(e){return r(e,i,o)}var r=n(45),o=n(182),i=n(184);e.exports=a},function(e,t,n){var a=n(46),r=n(183),o=n(47),i=n(48),l=Object.getOwnPropertySymbols,u=l?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=u},function(e,t,n){var a=n(57),r=a(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){function a(e){return i(e)?r(e,!0):o(e)}var r=n(50),o=n(185),i=n(58);e.exports=a},function(e,t,n){function a(e){if(!r(e))return i(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&u.call(e,a))&&n.push(a);return n}var r=n(8),o=n(56),i=n(186),l=Object.prototype,u=l.hasOwnProperty;e.exports=a},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(188),s=n(189),c=n(190),f=n(191),p=n(192),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=(wp.htmlEntities.decodeEntities,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),d(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,a=e.latestPosts,r=e.block_id,o=(t.displayPostImage,t.columns),i=t.tcolumns,d=t.mcolumns,m=t.imgPosition,g=t.postsToShow,h=t.rowGap,b=t.columnGap,v=t.bgColor,y=t.contentPadding,w=t.equalHeight,_=w?"uagb-post__equal-height":"",k=a.length>g?a.slice(0,g):a;return wp.element.createElement("div",{className:l()(n,"uagb-post-grid","uagb-post__image-position-"+m),id:"uagb-post__grid-"+r},wp.element.createElement("div",{className:l()("is-grid","uagb-post__columns-"+o,"uagb-post__columns-tablet-"+i,"uagb-post__columns-mobile-"+d,"uagb-post__items",""+_),style:{marginRight:-h/2,marginLeft:-h/2}},k.map(function(e,n){return wp.element.createElement("article",{key:n,style:{paddingRight:h/2,paddingLeft:h/2,marginBottom:b}},wp.element.createElement("div",{className:"uagb-post__inner-wrap",style:{background:v}},wp.element.createElement(u.a,{post:e,attributes:t}),wp.element.createElement("div",{className:"uagb-post__text",style:{padding:y}},wp.element.createElement(s.a,{post:e,attributes:t}),wp.element.createElement(c.a,{post:e,attributes:t}),wp.element.createElement(f.a,{post:e,attributes:t}),wp.element.createElement(p.a,{post:e,attributes:t}))))})))}}]),t}(React.Component));t.a=m},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;if(n.displayPostImage&&void 0!==t.featured_image_src&&n.imgSize&&t.featured_image_src[n.imgSize]){var a=t.featured_image_src[n.imgSize];return wp.element.createElement("div",{className:"uagb-post__image"},wp.element.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("img",{src:a[0],alt:l(t.title.rendered.trim())||__("(Untitled)")})))}return null}}]),t}(React.Component);t.a=u},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=wp.i18n.__,s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes.titleTag,t=this.props,n=t.post,a=t.attributes;return wp.element.createElement(e,{className:"uagb-post__title",style:{color:a.titleColor,fontSize:a.titleFontSize,marginBottom:a.titleBottomSpace}},wp.element.createElement("a",{style:{color:a.titleColor,fontSize:a.titleFontSize},href:n.link,target:"_blank",rel:"noopener noreferrer"},l(n.title.rendered.trim())||u("(Untitled)")))}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.date,u=l.dateI18n,s=l.format,c=l.__experimentalGetSettings,f=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes,a=c().formats.date;return wp.element.createElement("div",{className:"uagb-post-grid-byline",style:{color:n.metaColor,marginBottom:n.metaBottomSpace}},n.displayPostAuthor&&void 0!==t.author_info&&wp.element.createElement("div",{className:"uagb-post__author",style:{color:n.metaColor}},wp.element.createElement("span",{className:"dashicons-admin-users dashicons"}),wp.element.createElement("a",{style:{color:n.metaColor},target:"_blank",href:t.author_info.author_link,rel:"noopener noreferrer"},t.author_info.display_name)),n.displayPostDate&&t.date_gmt&&wp.element.createElement("time",{dateTime:s("c",t.date_gmt),className:"uagb-post__date"},wp.element.createElement("span",{className:"dashicons-calendar dashicons"}),u(a,t.date_gmt)),n.displayPostComment&&void 0!==t.comment_info&&wp.element.createElement("div",{className:"uagb-post__comment"},wp.element.createElement("span",{className:"dashicons-admin-comments dashicons"}),t.comment_info))}}]),t}(React.Component);t.a=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostExcerpt&&void 0!==t.excerpt?wp.element.createElement("div",{className:"uagb-post__excerpt",style:{color:n.excerptColor,marginBottom:n.excerptBottomSpace}},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t.excerpt}})):null}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.i18n.__,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostLink?wp.element.createElement("div",{className:"uagb-post__cta",style:{color:n.ctaColor,background:n.ctaBgColor}},wp.element.createElement("a",{style:{color:n.ctaColor},className:"uagb-post__link uagb-text-link",href:t.link,target:"_blank",rel:"noopener noreferrer"},l("Read More"))):null}}]),t}(React.Component);t.a=u},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(3),i=n(196),l=(n.n(i),n(197)),u=(n.n(l),n(198)),s=n(199),c=(n(62),wp.i18n.__),f=wp.blocks.registerBlockType,p=wp.editor.InnerBlocks;f("uagb/section",{title:uagb_blocks_info.blocks["uagb/section"].title,description:uagb_blocks_info.blocks["uagb/section"].description,icon:o.a.section,category:uagb_blocks_info.category,keywords:[c("section"),c("uagb")],attributes:u.a,getEditWrapperProps:function(e){var t=e.blockAlignment;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=n.tag,i=n.backgroundType,l=n.backgroundVideo,u=""+o;return wp.element.createElement(u,{className:r()(t,"uagb-section__wrap","uagb-section__background-"+i),id:"uagb-section-"+a},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==i&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},l&&wp.element.createElement("video",{src:l.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(p.Content,null)))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a={align:{type:"string",default:"center"},block_id:{type:"string"},topPadding:{type:"string",default:"20"},bottomPadding:{type:"string",default:"20"},leftPadding:{type:"string",default:"20"},rightPadding:{type:"string",default:"20"},topMargin:{type:"string",default:"0"},bottomMargin:{type:"string",default:"0"},leftMargin:{type:"string",default:"0"},rightMargin:{type:"string",default:"0"},contentWidth:{type:"string",default:"boxed"},width:{type:"number",default:900},innerWidth:{type:"number",default:1140},tag:{type:"string",default:"section"},backgroundType:{type:"string"},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"},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",default:"0"},backgroundVideoOpacity:{type:"number",default:"50"},backgroundVideoColor:{type:"string"},backgroundImageColor:{type:"string"},borderStyle:{type:"string",default:"none"},borderWidth:{type:"number",default:"1"},borderRadius:{type:"number"},borderColor:{type:"string"}};t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(200),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=wp.i18n.__,f=wp.element,p=f.Component,d=f.Fragment,m=wp.editor,g=(m.AlignmentToolbar,m.BlockControls),h=m.BlockAlignmentToolbar,b=m.ColorPalette,v=m.InspectorControls,y=m.InnerBlocks,w=m.MediaUpload,_=m.PanelColorSettings,k=wp.components,E=k.PanelBody,x=k.SelectControl,C=k.RangeControl,S=k.Button,T=(k.Dashicon,k.BaseControl),P=k.withNotices,O=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onRemoveVideo=e.onRemoveVideo.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSelectVideo=e.onSelectVideo.bind(e),e}return o(t,e),s(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"onRemoveImage",value:function(){this.props.attributes.backgroundImage;(0,this.props.setAttributes)({backgroundImage:null})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.backgroundImage,this.props.setAttributes);if(!e||!e.url)return void t({backgroundImage:null});e.type&&"image"==e.type&&t({backgroundImage:e})}},{key:"onRemoveVideo",value:function(){this.props.attributes.backgroundVideo;(0,this.props.setAttributes)({backgroundVideo:null})}},{key:"onSelectVideo",value:function(e){var t=(this.props.attributes.backgroundVideo,this.props.setAttributes);if(!e||!e.url)return void t({backgroundVideo:null});e.type&&"video"==e.type&&t({backgroundVideo:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=t.align,r=t.className,o=(t.padding,t.contentWidth),i=t.width,s=t.innerWidth,f=t.tag,p=t.leftPadding,m=t.rightPadding,k=t.topPadding,P=t.bottomPadding,O=t.leftMargin,N=t.rightMargin,R=t.topMargin,I=t.bottomMargin,M=t.backgroundType,j=t.backgroundImage,A=t.backgroundVideo,z=t.backgroundColor,D=t.backgroundPosition,L=t.backgroundAttachment,F=t.backgroundRepeat,B=t.backgroundSize,U=t.gradientColor1,W=t.gradientColor2,H=t.gradientLocation1,V=t.gradientLocation2,q=t.gradientType,$=t.gradientAngle,G=t.backgroundOpacity,Y=t.backgroundVideoColor,K=t.backgroundVideoOpacity,Q=t.backgroundImageColor,X=t.borderStyle,J=t.borderWidth,Z=t.borderRadius,ee=t.borderColor,te=""+f,ne=document.getElementById("uagb-style-"+this.props.clientId);null!=ne&&"undefined"!=typeof ne&&(ne.innerHTML=Object(u.a)(this.props));return wp.element.createElement(d,null,wp.element.createElement(g,null,wp.element.createElement(h,{value:a,onChange:function(e){n({align:e})},controls:["left","center","right"]})),wp.element.createElement(v,null,wp.element.createElement(E,{title:c("Layout")},wp.element.createElement(x,{label:c("Content Width"),value:o,onChange:function(e){return n({contentWidth:e})},options:[{value:"boxed",label:c("Boxed")},{value:"full_width",label:c("Full Width")}]}),"boxed"==o&&wp.element.createElement(C,{label:c("Width"),value:i,onChange:function(e){return n({width:e})}}),"boxed"!=o&&wp.element.createElement(C,{label:c("Inner Width"),value:s,onChange:function(e){return n({innerWidth:e})}}),wp.element.createElement(x,{label:c("HTML Tag"),value:f,onChange:function(e){return n({tag:e})},options:[{value:"div",label:c("div")},{value:"header",label:c("header")},{value:"footer",label:c("footer")},{value:"main",label:c("main")},{value:"article",label:c("article")},{value:"section",label:c("section")},{value:"aside",label:c("aside")},{value:"nav",label:c("nav")}]})),wp.element.createElement(E,{title:c("Spacing"),initialOpen:!1},wp.element.createElement(C,{label:c("Left Padding"),value:p,onChange:function(e){return n({leftPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Padding"),value:m,onChange:function(e){return n({rightPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Padding"),value:k,onChange:function(e){return n({topPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Padding"),value:P,onChange:function(e){return n({bottomPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Left Margin"),value:O,onChange:function(e){return n({leftMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Margin"),value:N,onChange:function(e){return n({rightMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Margin"),value:R,onChange:function(e){return n({topMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Margin"),value:I,onChange:function(e){return n({bottomMargin:e})},min:10,max:200,allowReset:!0})),wp.element.createElement(E,{title:c("Background"),initialOpen:!1},wp.element.createElement(x,{label:c("Background Type"),value:M,onChange:function(e){return n({backgroundType:e})},options:[{value:"none",label:c("None")},{value:"color",label:c("Color")},{value:"gradient",label:c("Gradient")},{value:"image",label:c("Image")},{value:"video",label:c("Video")}]}),"color"==M&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:z}}))),wp.element.createElement(b,{value:z,onChange:function(e){return n({backgroundColor:e})},allowReset:!0})),"image"==M&&wp.element.createElement(d,null,wp.element.createElement(T,{className:"editor-bg-image-control",label:c("Background Image")},wp.element.createElement(w,{title:c("Select Background Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:j,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(j?"Replace image":"Select Background Image"))}}),j&&wp.element.createElement(S,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},c("Remove Image"))),j&&wp.element.createElement(d,null,wp.element.createElement(x,{label:c("Image Position"),value:D,onChange:function(e){return n({backgroundPosition:e})},options:[{value:"top-left",label:c("Top Left")},{value:"top-center",label:c("Top Center")},{value:"top-right",label:c("Top Right")},{value:"center-left",label:c("Center Left")},{value:"center-center",label:c("Center Center")},{value:"center-right",label:c("Center Right")},{value:"bottom-left",label:c("Bottom Left")},{value:"bottom-center",label:c("Bottom Center")},{value:"bottom-right",label:c("Bottom Right")}]}),wp.element.createElement(x,{label:c("Attachment"),value:L,onChange:function(e){return n({backgroundAttachment:e})},options:[{value:"fixed",label:c("Fixed")},{value:"scroll",label:c("Scroll")}]}),wp.element.createElement(x,{label:c("Repeat"),value:F,onChange:function(e){return n({backgroundRepeat:e})},options:[{value:"no-repeat",label:c("No Repeat")},{value:"repeat",label:c("Repeat")},{value:"repeat-x",label:c("Repeat-x")},{value:"repeat-y",label:c("Repeat-y")}]}),wp.element.createElement(x,{label:c("Size"),value:B,onChange:function(e){return n({backgroundSize:e})},options:[{value:"auto",label:c("Auto")},{value:"cover",label:c("Cover")},{value:"contain",label:c("Contain")}]}),wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Image Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Q}}))),wp.element.createElement(b,{value:Q,onChange:function(e){return n({backgroundImageColor:e})},allowReset:!0})))),"gradient"==M&&wp.element.createElement(d,null,wp.element.createElement(_,{title:c("Color Settings"),colorSettings:[{value:U,onChange:function(e){return n({gradientColor1:e})},label:c("Color 1")},{value:W,onChange:function(e){return n({gradientColor2:e})},label:c("Color 2")}]}),wp.element.createElement(x,{label:c("Type"),value:q,onChange:function(e){return n({gradientType:e})},options:[{value:"linear",label:c("Linear")},{value:"radial",label:c("Radial")}]}),wp.element.createElement(C,{label:c("Location 1"),value:H,onChange:function(e){return n({gradientLocation1:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Location 2"),value:V,onChange:function(e){return n({gradientLocation2:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Angle"),value:$,onChange:function(e){return n({gradientAngle:e})},min:0,max:360,allowReset:!0})),"video"==M&&wp.element.createElement(T,{className:"editor-bg-video-control",label:c("Background Video")},wp.element.createElement(w,{title:c("Select Background Video"),onSelect:this.onSelectVideo,allowedTypes:["video"],value:A,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(A?"Replace Video":"Select Background Video"))}}),A&&wp.element.createElement(S,{onClick:this.onRemoveVideo,isLink:!0,isDestructive:!0},c("Remove Video"))),("color"==M||"image"==M&&j||"gradient"==M)&&wp.element.createElement(C,{label:c("Opacity"),value:G,onChange:function(e){return n({backgroundOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:0}),"video"==M&&A&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Video Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Y}}))),wp.element.createElement(b,{value:Y,onChange:function(e){return n({backgroundVideoColor:e})},allowReset:!0})),"video"==M&&A&&wp.element.createElement(C,{label:c("Opacity"),value:K,onChange:function(e){return n({backgroundVideoOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:50})),wp.element.createElement(E,{title:c("Border"),initialOpen:!1},wp.element.createElement(x,{label:c("Border Style"),value:X,onChange:function(e){return n({borderStyle:e})},options:[{value:"none",label:c("None")},{value:"solid",label:c("Solid")},{value:"dotted",label:c("Dotted")},{value:"dashed",label:c("Dashed")},{value:"double",label:c("Double")},{value:"groove",label:c("Groove")},{value:"inset",label:c("Inset")},{value:"outset",label:c("Outset")},{value:"ridge",label:c("Ridge")}]}),"none"!=X&&wp.element.createElement(C,{label:c("Border Width"),value:J,onChange:function(e){return n({borderWidth:e})},min:0,max:50,allowReset:!0}),"none"!=X&&wp.element.createElement(C,{label:c("Border Radius"),value:Z,onChange:function(e){return n({borderRadius:e})},min:0,max:1e3,allowReset:!0}),"none"!=X&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ee}}))),wp.element.createElement(b,{value:ee,onChange:function(e){return n({borderColor:e})},allowReset:!0})))),wp.element.createElement(te,{className:l()(r,"uagb-section__wrap","uagb-section__background-"+M),id:"uagb-section-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==M&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},A&&wp.element.createElement("video",{src:A.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(y,{templateLock:!1}))))}}]),t}(p);t.a=P(O)},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.backgroundType,a=t.backgroundVideoColor,o=t.backgroundImageColor,i=t.backgroundOpacity,l=t.backgroundVideoOpacity,u=(t.backgroundVideo,t.className,t.innerWidth),s=t.contentWidth,c="100%";"undefined"!=typeof s&&"boxed"!=s&&"undefined"!=typeof u&&(c=u+"px");var f={".uagb-section__wrap":Object(r.a)(e)," .uagb-section__video-wrap":{opacity:"undefined"!=typeof l?(100-l)/100:.5}," .uagb-section__inner-wrap":{"max-width":c}};f[" > .uagb-section__overlay"]="video"==n?{opacity:1,"background-color":a}:"image"==n?{opacity:"undefined"!=typeof i?i/100:0,"background-color":o}:{opacity:"undefined"!=typeof i?i/100:0};var p="";for(var d in f){p+="#uagb-section-"+e.clientId,p+=d+" { ";var m=f[d],g="";for(var h in m)g+=h+": "+m[h]+";";p+=g+" } "}return p}var r=n(62);t.a=a},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(6),i=n.n(o),l=n(3),u=n(206),s=(n.n(u),n(207)),c=(n.n(s),n(208)),f=n(209),p=wp.i18n.__,d=wp.blocks.registerBlockType,m=wp.editor.RichText;d("uagb/buttons",{title:uagb_blocks_info.blocks["uagb/buttons"].title,description:uagb_blocks_info.blocks["uagb/buttons"].description,icon:l.a.buttons,category:uagb_blocks_info.category,keywords:[p("buttons"),p("multi buttons"),p("uagb")],attributes:c.a,edit:f.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=(n.align,n.items,n.buttons),l=n.btn_count,u=function(e){if("undefined"!=typeof o[e])return wp.element.createElement("div",{className:r()("uagb-buttons-repeater-"+e,"uagb-button__wrapper"),key:e},wp.element.createElement(m.Content,{placeholder:p("Click Here"),value:o[e].label,tagName:"a",className:"uagb-button__link",href:o[e].link,rel:"noopener noreferrer",target:o[e].target}))};return wp.element.createElement("div",{className:r()(t,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+a},wp.element.createElement("div",{className:"uagb-buttons__wrap"},i()(l,function(e){return u(e)})))}})},function(e,t,n){function a(e){return"function"==typeof e?e:r}var r=n(61);e.exports=a},function(e,t,n){function a(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}var r=n(204);e.exports=a},function(e,t,n){function a(e){if(!e)return 0===e?e:0;if((e=r(e))===o||e===-o){return(e<0?-1:1)*i}return e===e?e:0}var r=n(205),o=1/0,i=1.7976931348623157e308;e.exports=a},function(e,t,n){function a(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=s.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):u.test(e)?i:+e}var r=n(8),o=n(24),i=NaN,l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=2;r++){var o="Click Here #"+r;a.push({label:o,link:"#",target:"_self",size:"",vPadding:10,hPadding:14,borderWidth:1,borderRadius:2,borderStyle:"solid",borderColor:"#333",borderHColor:"#333",color:"#333",background:"",hColor:"#333",hBackground:""})}var i={block_id:{type:"string"},align:{type:"string",default:"center"},btn_count:{type:"number",default:2},buttons:{type:"array",default:a},gap:{type:"number",default:10},stack:{type:"string",default:"none"}};t.a=i},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(6),c=n.n(s),f=n(210),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=wp.i18n.__,g=wp.element,h=g.Component,b=g.Fragment,v=wp.editor,y=(v.AlignmentToolbar,v.BlockControls),w=v.BlockAlignmentToolbar,_=v.InspectorControls,k=v.RichText,E=v.PanelColorSettings,x=v.URLInput,C=wp.components,S=C.PanelBody,T=C.SelectControl,P=C.RangeControl,O=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={isHovered:"false",isFocused:"false"},e}return i(t,e),d(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-buttons-"+this.props.clientId),document.head.appendChild(e)}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.state.isFocused&&this.setState({isFocused:"false"})}},{key:"saveButton",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({buttons:a.buttons.map(function(n,a){return t===a&&(n=p({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isSelected,i=n.align,l=n.className,s=n.btn_count,p=n.buttons,d=n.gap,g=n.stack,h=function(){"false"!==e.state.isHovered&&e.setState({isHovered:"false"})},v=function(t){e.setState({isFocused:t})},C=function(t){e.setState({isHovered:t})},O=function(t){return wp.element.createElement(S,{key:t,title:m("Button")+" "+(t+1)+" "+m("Settings"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},m("Link")),wp.element.createElement(x,{value:p[t].link,onChange:function(n){e.saveButton({link:n},t)}}),wp.element.createElement(T,{label:m("Link Target"),value:p[t].target,options:[{value:"_self",label:m("Same Window")},{value:"_blank",label:m("New Window")}],onChange:function(n){e.saveButton({target:n},t)}}),wp.element.createElement(P,{beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",label:m("Button Text Size"),value:p[t].size,onChange:function(n){e.saveButton({size:n},t)},min:10,max:100,initialPosition:16}),wp.element.createElement(P,{label:m("Top and Bottom Padding"),value:p[t].vPadding,onChange:function(n){e.saveButton({vPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Left and Right Padding"),value:p[t].hPadding,onChange:function(n){e.saveButton({hPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Border Thickness"),value:p[t].borderWidth,onChange:function(n){e.saveButton({borderWidth:n},t)},min:0,max:20}),wp.element.createElement(T,{label:m("Border Style"),value:p[t].borderStyle,options:[{value:"solid",label:m("Solid")},{value:"dotted",label:m("Dotted")},{value:"dashed",label:m("Dashed")},{value:"double",label:m("Double")}],onChange:function(n){e.saveButton({borderStyle:n},t)}}),wp.element.createElement(P,{label:m("Border Radius"),value:p[t].borderRadius,onChange:function(n){e.saveButton({borderRadius:n},t)},min:0,max:50}),wp.element.createElement(E,{title:m("Color Settings"),colorSettings:[{value:p[t].color,onChange:function(n){return e.saveButton({color:n},t)},label:m("Color")},{value:p[t].background,onChange:function(n){return e.saveButton({background:n},t)},label:m("Background Color")},{value:p[t].borderColor,onChange:function(n){return e.saveButton({borderColor:n},t)},label:m("Border Color")},{value:p[t].hColor,onChange:function(n){return e.saveButton({hColor:n},t)},label:m("Hover Color")},{value:p[t].hBackground,onChange:function(n){return e.saveButton({hBackground:n},t)},label:m("Background Hover Color")},{value:p[t].borderHColor,onChange:function(n){return e.saveButton({borderHColor:n},t)},label:m("Border Hover Color")}]}))},N=document.getElementById("uagb-style-buttons-"+this.props.clientId);return null!=N&&"undefined"!=typeof N&&(N.innerHTML=Object(f.a)(this.props)),wp.element.createElement(b,null,wp.element.createElement(y,null,wp.element.createElement(w,{value:i,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(_,null,wp.element.createElement(S,{title:m("Button Count"),initialOpen:!0},wp.element.createElement(P,{label:m("Number of Buttons"),value:s,onChange:function(e){var t=[].concat(a(p));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({label:"Click Here #"+(t.length+1),link:t[0].link,target:t[0].target,size:t[0].size,vPadding:t[0].vPadding,hPadding:t[0].hPadding,borderRadius:t[0].borderRadius,borderWidth:t[0].borderWidth,borderColor:t[0].borderColor,borderHColor:t[0].borderHColor,borderStyle:t[0].borderStyle,color:t[0].color,background:t[0].background,hColor:t[0].hColor,hBackground:t[0].hBackground})}),r({buttons:t})}r({btn_count:e})},min:1,max:5})),c()(s,function(e){return O(e)}),wp.element.createElement(S,{title:m("Spacing"),initialOpen:!1},wp.element.createElement(P,{label:m("Gap between Buttons"),value:d,onChange:function(e){return r({gap:e})},min:0,max:50}),wp.element.createElement(T,{label:m("Stack on"),value:g,options:[{value:"none",label:m("None")},{value:"desktop",label:m("Desktop")},{value:"tablet",label:m("Tablet")},{value:"mobile",label:m("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},m("Note: Choose on what breakpoint the buttons will stack.")))),wp.element.createElement("div",{className:u()(l,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-buttons__wrap"},p.map(function(t,n){if(!(s<=n))return wp.element.createElement("div",{className:u()("uagb-buttons-repeater-"+n,"uagb-button__wrapper",o&&!1!==e.state.isFocused&&n===e.state.isFocused?"uagb-button__active":""),key:n},wp.element.createElement(k,{placeholder:m("Click Here"),value:t.label,tagName:"a",onChange:function(t){e.saveButton({label:t},n)},onMouseOut:h,onMouseOver:function(){C(n)},formattingControls:["bold","italic","strikethrough"],className:"uagb-button__link",rel:"noopener noreferrer",unstableOnFocus:function(){v(n)}}))}))))}}]),t}(h);t.a=O},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=e.attributes,n=t.align,r=(t.className,t.btn_count),o=t.buttons,i=t.gap,l=t.stack,u={},s={},c={};o.map(function(e,t){r<=t||(u[" .uagb-buttons-repeater-"+t]={"font-size":e.size+"px",border:e.borderWidth+"px "+e.borderStyle+" "+e.borderColor,"border-radius":e.borderRadius+"px",background:e.background},u[" .uagb-buttons-repeater-"+t+":hover"]={background:e.hBackground,border:e.borderWidth+"px "+e.borderStyle+" "+e.borderHColor},u[" .uagb-buttons-repeater-"+t+" a.uagb-button__link"]={padding:e.vPadding+"px "+e.hPadding+"px",color:e.color},u[" .uagb-buttons-repeater-"+t+":hover a.uagb-button__link"]={color:e.hColor})}),u[" .uagb-button__wrapper"]={"margin-left":i/2+"px","margin-right":i/2+"px"},u[" .uagb-button__wrapper:first-child"]={"margin-left":0},u[" .uagb-button__wrapper:last-child"]={"margin-right":0};var f="left"==n?"flex-start":"right"==n?"flex-end":"center";u[" .uagb-buttons__wrap"]=a({"justify-content":f,"-webkit-box-pack":f,"-ms-flex-pack":f},"justify-content",f),"desktop"==l?(u[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},u[" .uagb-buttons__wrap"]={"flex-direction":"column"},u[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"tablet"==l?(s[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},s[" .uagb-buttons__wrap"]={"flex-direction":"column"},s[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"mobile"==l&&(c[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},c[" .uagb-buttons__wrap"]={"flex-direction":"column"},c[" .uagb-button__wrapper:last-child"]={"margin-bottom":0});var p="",d="#uagb-buttons-"+e.clientId;for(var m in u){p+=d,p+=m+" { ";var g=u[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}p+="@media only screen and (max-width: 976px) {";for(var m in s){p+=d,p+=m+" { ";var g=s[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}p+=" }",p+="@media only screen and (max-width: 767px) {";for(var m in c){p+=d,p+=m+" { ";var g=c[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}return p+=" }"}t.a=r},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(3),l=n(63),u=n(64),s=n(65),c=n(66),f=n(67),p=n(68),d=n(69),m=n(70),g=n(71),h=n(212),b=n(232),v=n(233),y=(n.n(v),n(234)),w=(n.n(y),wp.i18n.__),_=wp.blocks.registerBlockType,k=(wp.editor.RichText,wp.element.Fragment);_("uagb/info-box",{title:uagb_blocks_info.blocks["uagb/info-box"].title,description:uagb_blocks_info.blocks["uagb/info-box"].description,icon:i.a.info_box,keywords:[w("info-box"),w("uagb")],category:uagb_blocks_info.category,attributes:b.a,edit:h.a,save:function(e){var t=e.attributes,n=t.iconimgPosition,r=t.block_id,i=t.source_type,h=t.seperatorStyle,b=(t.backgroundType,t.ctaType),v=t.ctaLink,y=t.ctaTarget,w=t.className,_="uagb-infobox-"+r,E="undefined"!=typeof w?w:"";E=E+" "+_;var x=(Object(m.a)(e),"");x="icon"===i?wp.element.createElement(c.a,{attributes:e.attributes}):wp.element.createElement(g.a,{attributes:e.attributes});var C=wp.element.createElement(k,null,"none"!==h&&wp.element.createElement(p.a,{attributes:e.attributes}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(s.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(d.a,{attributes:e.attributes}))),S=wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(l.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(u.a,{attributes:e.attributes,setAttributes:"not_set"}))),T=wp.element.createElement(k,null,wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(f.a)(e.attributes))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==n&&x,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==n&&x,("above-title"==n||"below-title"==n)&&S,"below-title"==n&&x,("above-title"==n||"below-title"==n)&&C,"left-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},x,S),C),"right-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},S,x),C),("left"==n||"right"==n)&&wp.element.createElement(k,null,S,C)),"right"==n&&x))),P="";return y&&(P="_blank"),wp.element.createElement(k,null,wp.element.createElement("div",{className:o()(w,"uagb-infobox__outer-wrap"),id:_},"all"==b&&wp.element.createElement(k,null,wp.element.createElement("a",{href:v,className:"uagb-infobox-link-wrap",target:P,rel:"noopener noreferrer"}," ",T)),"all"!==b&&T))}})},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(13),c=n(14),f=n.n(c),p=n(63),d=n(64),m=n(65),g=n(66),h=n(67),b=n(68),v=n(69),y=n(70),w=n(71),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),k=wp.i18n.__,E=wp.editor,x=E.AlignmentToolbar,C=E.BlockControls,S=E.ColorPalette,T=E.InspectorControls,P=(E.RichText,E.PanelColorSettings),O=E.MediaUpload,N=wp.components,R=N.PanelBody,I=N.SelectControl,M=N.RangeControl,j=(N.TabPanel,N.ToggleControl),A=N.TextControl,z=N.BaseControl,D=N.Button,L=(N.withNotices,wp.compose.compose,wp.data.withSelect,wp.viewport.withViewportMatch,wp.element),F=L.Component,B=L.Fragment,U=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.getTimelineicon=e.getTimelineicon.bind(e),e.toggleTarget=e.toggleTarget.bind(e),e.toggleResponsive=e.toggleResponsive.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e}return i(t,e),_(t,[{key:"getTimelineicon",value:function(e){this.props.setAttributes({icon:e})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.iconImage,this.props.setAttributes);return e&&e.url&&e.type&&"image"===e.type?void t({iconImage:e}):void t({iconImage:null})}},{key:"onRemoveImage",value:function(){this.props.attributes.iconImage;(0,this.props.setAttributes)({iconImage:null})}},{key:"toggleTarget",value:function(){var e=this.props.attributes.ctaTarget;(0,this.props.setAttributes)({ctaTarget:!e})}},{key:"toggleResponsive",value:function(){var e=this.props.attributes.responsiveDesign;(0,this.props.setAttributes)({responsiveDesign:!e})}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,r=e.attributes,o=(e.mergeBlocks,e.insertBlocksAfter,e.onReplace,r.prefixTitle,r.infoBoxTitle,r.headingDesc,r.headingAlign),i=r.headingColor,l=r.subHeadingColor,c=r.prefixColor,_=(r.prefixTag,r.prefixFontSize),E=r.headingTag,N=r.headFontSize,L=r.subHeadFontSize,F=(r.separatorWidth,r.separatorHeight,r.seperatorSpace),U=r.headSpace,W=(r.separatorSpace,r.subHeadSpace),H=r.icon,V=r.iconColor,q=r.iconSize,$=r.iconimgPosition,G=(r.block_id,r.iconHover),Y=r.iconimgBorderRadius,K=r.source_type,Q=r.sourceAlign,X=r.seperatorStyle,J=r.seperatorWidth,Z=r.seperatorColor,ee=r.seperatorThickness,te=r.ctaType,ne=r.ctaText,ae=r.ctaLink,re=r.ctaTarget,oe=r.ctaLinkColor,ie=r.ctaFontSize,le=r.ctaBtnLinkColor,ue=r.ctaBgColor,se=r.ctaBtnVertPadding,ce=r.ctaBtnHrPadding,fe=r.ctaBorderStyle,pe=r.ctaBorderColor,de=r.ctaBorderWidth,me=r.ctaBorderRadius,ge=r.prefixSpace,he=r.iconLeftMargin,be=r.iconRightMargin,ve=r.iconTopMargin,ye=r.iconBottomMargin,we=r.iconImage,_e=r.imageSize,ke=r.imageWidth,Ee=r.stack,xe=document.getElementById("uagb-info-box-style-"+this.props.clientId);null!=xe&&"undefined"!=typeof xe&&(xe.innerHTML=Object(y.a)(this.props));var Ce={icons:s.a,renderUsing:"class",theme:"default",value:H,onChange:this.getTimelineicon,isMulti:!1},Se="uagb-infobox-"+this.props.clientId,Te=wp.element.createElement(B,null,wp.element.createElement(f.a,Ce),wp.element.createElement(M,{label:k("Icon Size"),value:q,onChange:function(e){return n({iconSize:e})},min:10,max:300,beforeIcon:"",allowReset:!0}),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!0,colorSettings:[{value:V,onChange:function(e){return n({iconColor:e})},label:k("Icon Color")},{value:G,onChange:function(e){return n({iconHover:e})},label:k("Icon Hover Color")}]})),Pe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Seperator"),initialOpen:!1},wp.element.createElement(I,{label:k("Style"),value:X,onChange:function(e){return n({seperatorStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==X&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Seperator Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Z}}))),wp.element.createElement(S,{value:Z,onChange:function(e){return n({seperatorColor:e})},allowReset:!0})),wp.element.createElement(M,{label:k("Thickness"),value:ee,onChange:function(e){return n({seperatorThickness:e})},min:0,max:10,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Width"),value:J,onChange:function(e){return n({seperatorWidth:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Oe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Call To Action"),initialOpen:!1},wp.element.createElement(I,{label:k("Type"),value:te,onChange:function(e){return n({ctaType:e})},options:[{value:"none",label:k("None")},{value:"text",label:k("Text")},{value:"button",label:k("Button")},{value:"all",label:k("Complete Box")}]}),("text"===te||"button"===te)&&wp.element.createElement(A,{label:k("Text"),value:ne,onChange:function(e){return n({ctaText:e})}}),"none"!==te&&wp.element.createElement(B,null,wp.element.createElement(A,{label:k("Link"),value:ae,onChange:function(e){return n({ctaLink:e})}}),wp.element.createElement(j,{label:k("Open in new Window"),checked:re,onChange:this.toggleTarget})),"button"==te&&wp.element.createElement(B,null,wp.element.createElement(M,{label:k("Vertical Padding"),value:se,onChange:function(e){return n({ctaBtnVertPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("HorizontalPadding"),value:ce,onChange:function(e){return n({ctaBtnHrPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(I,{label:k("Border Style"),value:fe,onChange:function(e){return n({ctaBorderStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==fe&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:pe}}))),wp.element.createElement(S,{value:pe,onChange:function(e){return n({ctaBorderColor:e})},allowReset:!0})),wp.element.createElement(M,{label:k("Border Width"),value:de,onChange:function(e){return n({ctaBorderWidth:e})},min:0,max:10,beforeIcon:"",allowReset:!0})),wp.element.createElement(M,{label:k("Rounded Corner"),value:me,onChange:function(e){return n({ctaBorderRadius:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Ne=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Typography"),initialOpen:!1},wp.element.createElement(M,{label:k("Prefix Font Size"),value:_,onChange:function(e){return n({prefixFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(I,{label:k("Title Tag"),value:E,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:k("H1")},{value:"h2",label:k("H2")},{value:"h3",label:k("H3")},{value:"h4",label:k("H4")},{value:"h5",label:k("H5")},{value:"h6",label:k("H6")}]}),wp.element.createElement(M,{label:k("Heading Font Size"),value:N,onChange:function(e){return n({headFontSize:e})},min:10,max:200,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(M,{label:k("Description Font Size"),value:L,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),("text"===te||"button"===te)&&wp.element.createElement(M,{label:k("CTA Font Size"),value:ie,onChange:function(e){return n({ctaFontSize:e})},min:0,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return n({prefixColor:e})},label:k("Prefix Title Color")},{value:i,onChange:function(e){return n({headingColor:e})},label:k("Title Color")},{value:l,onChange:function(e){return n({subHeadingColor:e})},label:k("Description Color")}]},"text"===te&&wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:oe}}))),wp.element.createElement(S,{value:oe,onChange:function(e){return n({ctaLinkColor:e})},allowReset:!0})),"button"===te&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:le}}))),wp.element.createElement(S,{value:le,onChange:function(e){return n({ctaBtnLinkColor:e})},allowReset:!0})),wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ue}}))),wp.element.createElement(S,{value:ue,onChange:function(e){return n({ctaBgColor:e})},allowReset:!0}))))),Re=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Spacing"),initialOpen:!1},wp.element.createElement(M,{label:k("Prefix Bottom Margin"),value:ge,onChange:function(e){return n({prefixSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Title Bottom Margin"),value:U,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Seperator Bottom Margin"),value:F,onChange:function(e){return n({seperatorSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Description Bottom Margin"),value:W,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(R,{title:k("Image/Icon Margins"),initialOpen:!0},wp.element.createElement(M,{label:k("Left Margin"),value:he,onChange:function(e){return n({iconLeftMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Right Margin"),value:be,onChange:function(e){return n({iconRightMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Top Margin"),value:ve,onChange:function(e){return n({iconTopMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Bottom Margin"),value:ye,onChange:function(e){return n({iconBottomMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0})))),Ie=[{value:"thumbnail",label:k("Thumbnail")},{value:"medium",label:k("Medium")},{value:"full",label:k("Large")}],Me="Select Image";we&&(Me=null==we.url||""==we.url?"Select Image":"Replace Image");var je=wp.element.createElement(B,null,wp.element.createElement(z,{className:"editor-bg-image-control",label:k("Image")},wp.element.createElement(O,{title:k("Select Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:we,render:function(e){var t=e.open;return wp.element.createElement(D,{isDefault:!0,onClick:t},Me)}}),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(D,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},k("Remove Image"))),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(B,null,wp.element.createElement(I,{label:k("Image Size"),options:Ie,value:_e,onChange:function(e){return n({imageSize:e})}}),wp.element.createElement(M,{label:k("Width"),value:ke,onChange:function(e){return n({imageWidth:e})},min:0,max:500,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Rounded Corners"),value:Y,onChange:function(e){return n({iconimgBorderRadius:e})},min:0,max:500,beforeIcon:"",allowReset:!0}))),Ae=wp.element.createElement(B,null,wp.element.createElement(T,null,wp.element.createElement(R,{title:k("Image/Icon")},wp.element.createElement(I,{label:k("Select Position"),value:$,onChange:function(e){return n({iconimgPosition:e})},options:[{value:"above-title",label:k("Above Heading")},{value:"below-title",label:k("Below Heading")},{value:"left-title",label:k("Left of Heading")},{value:"right-title",label:k("Right of Heading")},{value:"left",label:k("Left of Text and Heading")},{value:"right",label:k("Right of Text and Heading")}]}),("left"==$||"right"==$)&&wp.element.createElement(I,{label:k("Stack on"),value:Ee,options:[{value:"none",label:k("None")},{value:"tablet",label:k("Tablet")},{value:"mobile",label:k("Mobile")}],help:k("Note: Choose on what breakpoint the Info Box will stack."),onChange:function(e){return n({stack:e})}}),wp.element.createElement(I,{label:k("Select Source"),value:K,onChange:function(e){return n({source_type:e})},options:[{value:"icon",label:k("Icon")},{value:"image",label:k("Image")}]}),$&&"above-title"!==$&&"below-title"!==$&&wp.element.createElement(I,{label:k("Vertical ALignment"),value:Q,onChange:function(e){return n({sourceAlign:e})},options:[{value:"top",label:k("Top")},{value:"middle",label:k("Middle")}]}),K&&"icon"==K&&Te,K&&"image"==K&&je),Pe,Oe,Ne,Re)),ze="";ze="icon"===K?wp.element.createElement(g.a,{attributes:r}):wp.element.createElement(w.a,{attributes:r});var De=wp.element.createElement(B,null,"none"!==X&&wp.element.createElement(b.a,{attributes:r}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(m.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(v.a,{attributes:r}))),Le=wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(p.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(d.a,{attributes:r,setAttributes:n,props:this.props}))),Fe=wp.element.createElement(B,null,wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(h.a)(r))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==$&&ze,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==$&&ze,("above-title"==$||"below-title"==$)&&Le,"below-title"==$&&ze,("above-title"==$||"below-title"==$)&&De,"left-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},ze,Le),De),"right-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},Le,ze),De),("left"==$||"right"==$)&&wp.element.createElement(B,null,Le,De)),"right"==$&&ze)));return wp.element.createElement(B,null,("above-title"==$||"below-title"==$)&&wp.element.createElement(C,{key:"controls"},wp.element.createElement(x,{value:o,onChange:function(e){return n({headingAlign:e})}})),Ae,wp.element.createElement("div",{className:u()(t,"uagb-infobox__outer-wrap"),id:Se},"all"==te&&wp.element.createElement(B,null,wp.element.createElement("a",{href:ae,className:"uagb-infobox-link-wrap",rel:"noopener noreferrer"}," ",Fe)),"all"!==te&&Fe))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-info-box-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(F);t.a=U},function(e,t,n){"use strict";(function(t){function a(){return null}var r=n(15),o=n(36),i=n(37),l=function(){};"production"!==t.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[T]);if("function"===typeof t)return t}function s(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function c(e){this.message=e,this.stack=""}function f(e){function a(a,u,s,f,p,d,m){if(f=f||P,d=d||s,m!==o){if(n){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var h=f+":"+s;!r[h]&&i<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,i++)}}return null==u[s]?a?new c(null===u[s]?"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(u,s,f,p,d)}if("production"!==t.env.NODE_ENV)var r={},i=0;var u=a.bind(null,!1);return u.isRequired=a.bind(null,!0),u}function p(e){function t(t,n,a,r,o,i){var l=t[n];if(k(l)!==e)return new c("Invalid "+r+" `"+o+"` of type `"+E(l)+"` supplied to `"+a+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new c("Invalid "+r+" `"+i+"` of type `"+k(l)+"` supplied to `"+a+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,a,r,i+"["+u+"]",o);if(s instanceof Error)return s}return null}return f(t)}function m(e){function t(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||P;return new c("Invalid "+r+" `"+o+"` of type `"+C(t[n])+"` supplied to `"+a+"`, expected instance of `"+i+"`.")}return null}return f(t)}function g(e){function n(t,n,a,r,o){for(var i=t[n],l=0;l<e.length;l++)if(s(i,e[l]))return null;return new c("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+a+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOf, expected an instance of array."),a)}function h(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var s in l)if(l.hasOwnProperty(s)){var f=e(l,s,a,r,i+"."+s,o);if(f instanceof Error)return f}return null}return f(t)}function b(e){function n(t,n,a,r,i){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,a,r,i,o))return null}return new c("Invalid "+r+" `"+i+"` supplied to `"+a+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var r=0;r<e.length;r++){var i=e[r];if("function"!==typeof i)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+r+"."),a}return f(n)}function v(e){function t(t,n,a,r,i){var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");for(var s in e){var f=e[s];if(f){var p=f(l,s,a,r,i+"."+s,o);if(p)return p}}return null}return f(t)}function y(e){function t(t,n,a,i,l){var u=t[n],s=k(u);if("object"!==s)return new c("Invalid "+i+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=r({},t[n],e);for(var p in f){var d=e[p];if(!d)return new c("Invalid "+i+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=d(u,p,a,i,l+"."+p,o);if(m)return m}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var a,r=n.call(t);if(n!==t.entries){for(;!(a=r.next()).done;)if(!w(a.value))return!1}else for(;!(a=r.next()).done;){var o=a.value;if(o&&!w(o[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}function k(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function E(e){if("undefined"===typeof e||null===e)return""+e;var t=k(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=E(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:P}var S="function"===typeof Symbol&&Symbol.iterator,T="@@iterator",P="<<anonymous>>",O={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(a)}(),arrayOf:d,element:function(){function t(t,n,a,r,o){var i=t[n];if(!e(i)){return new c("Invalid "+r+" `"+o+"` of type `"+k(i)+"` supplied to `"+a+"`, expected a single ReactElement.")}return null}return f(t)}(),instanceOf:m,node:function(){function e(e,t,n,a,r){return w(e[t])?null:new c("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}(),objectOf:h,oneOf:g,oneOfType:b,shape:v,exact:y};return c.prototype=Error.prototype,O.checkPropTypes=i,O.PropTypes=O,O}}).call(t,n(1))},function(e,t,n){"use strict";function a(){}var r=n(36);e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=a,n.PropTypes=n,n}},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);v(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function l(e,t,n){var a=void 0,r={},o=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(o=""+t.key),t)A.call(t,a)&&!z.hasOwnProperty(a)&&(r[a]=t[a]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];r.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===r[a]&&(r[a]=l[a]);return{$$typeof:k,type:e,key:o,ref:i,props:r,_owner:j.current}}function u(e){return"object"===typeof e&&null!==e&&e.$$typeof===k}function s(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,a){if(L.length){var r=L.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function f(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>L.length&&L.push(e)}function p(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case k:case E:i=!0}}if(i)return n(r,e,""===t?"."+d(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var u=t+d(o,l);i+=p(o,u,n,r)}else if(null===e||"undefined"===typeof e?u=null:(u=R&&e[R]||e["@@iterator"],u="function"===typeof u?u:null),"function"===typeof u)for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=t+d(o,l++),i+=p(o,u,n,r);else"object"===o&&(n=""+e,a("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function d(e,t){return"object"===typeof e&&null!==e&&null!=e.key?s(e.key):t.toString(36)}function m(e,t){e.func.call(e.context,t,e.count++)}function g(e,t,n){var a=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?h(e,a,n,w.thatReturnsArgument):null!=e&&(u(e)&&(t=r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+n,e={$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),a.push(e))}function h(e,t,n,a,r){var o="";null!=n&&(o=(""+n).replace(D,"$&/")+"/"),t=c(t,o,a,r),null==e||p(e,"",g,t),f(t)}var b=n(15),v=n(25),y=n(26),w=n(16),_="function"===typeof Symbol&&Symbol.for,k=_?Symbol.for("react.element"):60103,E=_?Symbol.for("react.portal"):60106,x=_?Symbol.for("react.fragment"):60107,C=_?Symbol.for("react.strict_mode"):60108,S=_?Symbol.for("react.profiler"):60114,T=_?Symbol.for("react.provider"):60109,P=_?Symbol.for("react.context"):60110,O=_?Symbol.for("react.async_mode"):60111,N=_?Symbol.for("react.forward_ref"):60112;_&&Symbol.for("react.timeout");var R="function"===typeof Symbol&&Symbol.iterator,I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&a("85"),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype;var M=i.prototype=new o;M.constructor=i,b(M,r.prototype),M.isPureReactComponent=!0;var j={current:null},A=Object.prototype.hasOwnProperty,z={key:!0,ref:!0,__self:!0,__source:!0},D=/\/+/g,L=[],F={Children:{map:function(e,t,n){if(null==e)return e;var a=[];return h(e,a,null,t,n),a},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||p(e,"",m,t),f(t)},count:function(e){return null==e?0:p(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return h(e,t,null,w.thatReturnsArgument),t},only:function(e){return u(e)||a("143"),e}},createRef:function(){return{current:null}},Component:r,PureComponent:i,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:P,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:T,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:N,render:e}},Fragment:x,StrictMode:C,unstable_AsyncMode:O,unstable_Profiler:S,createElement:l,cloneElement:function(e,t,n){(null===e||void 0===e)&&a("267",e);var r=void 0,o=b({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,u=j.current),void 0!==t.key&&(i=""+t.key);var s=void 0;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(r in t)A.call(t,r)&&!z.hasOwnProperty(r)&&(o[r]=void 0===t[r]&&void 0!==s?s[r]:t[r])}if(1===(r=arguments.length-2))o.children=n;else if(1<r){s=Array(r);for(var c=0;c<r;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:k,type:e.type,key:i,ref:l,props:o,_owner:u}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:u,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:j,assign:b}},B={default:F},U=B&&F||B;e.exports=U.default?U.default:U},function(e,t,n){"use strict";(function(t){"production"!==t.env.NODE_ENV&&function(){function t(e){if(null===e||"undefined"===typeof e)return null;var t=ue&&e[ue]||e[se];return"function"===typeof t?t:null}function a(e,t){var n=e.constructor,a=n&&(n.displayName||n.name)||"ReactClass",r=a+"."+t;de[r]||(Y(!1,"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.",t,a),de[r]=!0)}function r(e,t,n){this.props=e,this.context=t,this.refs=G,this.updater=n||me}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=G,this.updater=n||me}function l(){var e={current:null};return Object.seal(e),e}function u(e){if(ye.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function s(e){if(ye.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function c(e,t){var n=function(){_e||(_e=!0,Y(!1,"%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function f(e,t){var n=function(){ke||(ke=!0,Y(!1,"%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function p(e,t,n){var a=void 0,r={},o=null,i=null,l=null,p=null;if(null!=t){u(t)&&(i=t.ref),s(t)&&(o=""+t.key),l=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),g=0;g<d;g++)m[g]=arguments[g+2];Object.freeze&&Object.freeze(m),r.children=m}if(e&&e.defaultProps){var h=e.defaultProps;for(a in h)void 0===r[a]&&(r[a]=h[a])}if((o||i)&&("undefined"===typeof r.$$typeof||r.$$typeof!==J)){var b="function"===typeof e?e.displayName||e.name||"Unknown":e;o&&c(r,b),i&&f(r,b)}return Ee(e,o,i,l,p,ve.current,r)}function d(e,t){return Ee(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function m(e,t,n){(null===e||void 0===e)&&$(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var a=void 0,r=q({},e.props),o=e.key,i=e.ref,l=e._self,c=e._source,f=e._owner;if(null!=t){u(t)&&(i=t.ref,f=ve.current),s(t)&&(o=""+t.key);var p=void 0;e.type&&e.type.defaultProps&&(p=e.type.defaultProps);for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(void 0===t[a]&&void 0!==p?r[a]=p[a]:r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),g=0;g<d;g++)m[g]=arguments[g+2];r.children=m}return Ee(e.type,o,i,l,c,f,r)}function g(e){return"object"===typeof e&&null!==e&&e.$$typeof===J}function h(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function b(e){return(""+e).replace(Pe,"$&/")}function v(e,t,n,a){if(Ne.length){var r=Ne.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function y(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Ne.length<Oe&&Ne.push(e)}function w(e,n,a,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case J:case Z:i=!0}}if(i)return a(r,e,""===n?Ce+k(e,0):n),1;var l=void 0,u=void 0,s=0,c=""===n?Ce:n+Se;if(Array.isArray(e))for(var f=0;f<e.length;f++)l=e[f],u=c+k(l,f),s+=w(l,u,a,r);else{var p=t(e);if("function"===typeof p){p===e.entries&&(Te||Y(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",xe.getStackAddendum()),Te=!0);for(var d=p.call(e),m=void 0,g=0;!(m=d.next()).done;)l=m.value,u=c+k(l,g++),s+=w(l,u,a,r)}else if("object"===o){var h="";h=" If you meant to render a collection of children, use an array instead."+xe.getStackAddendum();var b=""+e;$(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,h)}}return s}function _(e,t,n){return null==e?0:w(e,"",t,n)}function k(e,t){return"object"===typeof e&&null!==e&&null!=e.key?h(e.key):t.toString(36)}function E(e,t,n){var a=e.func,r=e.context;a.call(r,t,e.count++)}function x(e,t,n){if(null==e)return e;var a=v(null,null,t,n);_(e,E,a),y(a)}function C(e,t,n){var a=e.result,r=e.keyPrefix,o=e.func,i=e.context,l=o.call(i,t,e.count++);Array.isArray(l)?S(l,a,n,K.thatReturnsArgument):null!=l&&(g(l)&&(l=d(l,r+(!l.key||t&&t.key===l.key?"":b(l.key)+"/")+n)),a.push(l))}function S(e,t,n,a,r){var o="";null!=n&&(o=b(n)+"/");var i=v(t,o,a,r);_(e,C,i),y(i)}function T(e,t,n){if(null==e)return e;var a=[];return S(e,a,null,t,n),a}function P(e){return _(e,K.thatReturnsNull,null)}function O(e){var t=[];return S(e,t,null,K.thatReturnsArgument),t}function N(e){return g(e)||$(!1,"React.Children.only expected to receive a single React element child."),e}function R(e,t){void 0===t?t=null:null!==t&&"function"!==typeof t&&Y(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:re,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null};return n.Provider={$$typeof:ae,_context:n},n.Consumer=n,n._currentRenderer=null,n._currentRenderer2=null,n}function I(e){return"function"!==typeof e&&Y(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&Y(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:ie,render:e}}function M(e){return"string"===typeof e||"function"===typeof e||e===ee||e===oe||e===ne||e===te||e===le||"object"===typeof e&&null!==e&&(e.$$typeof===ae||e.$$typeof===re||e.$$typeof===ie)}function j(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case oe:return"AsyncMode";case re:return"Context.Consumer";case ee:return"ReactFragment";case Z:return"ReactPortal";case ne:return"Profiler("+e.pendingProps.id+")";case ae:return"Context.Provider";case te:return"StrictMode";case le:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case ie:var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return null}function A(){if(ve.current){var e=j(ve.current);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function z(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function D(e){var t=A();if(!t){var n="string"===typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}function L(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=D(t);if(!ze[n]){ze[n]=!0;var a="";e&&e._owner&&e._owner!==ve.current&&(a=" It was passed a child from "+j(e._owner)+"."),Ie=e,Y(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',n,a,Ae()),Ie=null}}}function F(e,n){if("object"===typeof e)if(Array.isArray(e))for(var a=0;a<e.length;a++){var r=e[a];g(r)&&L(r,n)}else if(g(e))e._store&&(e._store.validated=!0);else if(e){var o=t(e);if("function"===typeof o&&o!==e.entries)for(var i=o.call(e),l=void 0;!(l=i.next()).done;)g(l.value)&&L(l.value,n)}}function B(e){var t=e.type,n=void 0,a=void 0;if("function"===typeof t)n=t.displayName||t.name,a=t.propTypes;else{if("object"!==typeof t||null===t||t.$$typeof!==ie)return;var r=t.render.displayName||t.render.name||"";n=""!==r?"ForwardRef("+r+")":"ForwardRef",a=t.propTypes}a?(Ie=e,Q(a,e.props,"prop",n,Ae),Ie=null):void 0===t.PropTypes||Me||(Me=!0,Y(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")),"function"===typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||Y(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function U(e){Ie=e;for(var t=Object.keys(e.props),n=0;n<t.length;n++){var a=t[n];if("children"!==a&&"key"!==a){Y(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",a,Ae());break}}null!==e.ref&&Y(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",Ae()),Ie=null}function W(e,t,n){var a=M(e);if(!a){var r="";(void 0===e||"object"===typeof e&&null!==e&&0===Object.keys(e).length)&&(r+=" 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 o=z(t);r+=o||A(),r+=Ae()||"";var i=void 0;i=null===e?"null":Array.isArray(e)?"array":typeof e,Y(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",i,r)}var l=p.apply(this,arguments);if(null==l)return l;if(a)for(var u=2;u<arguments.length;u++)F(arguments[u],e);return e===ee?U(l):B(l),l}function H(e){var t=W.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return pe(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function V(e,t,n){for(var a=m.apply(this,arguments),r=2;r<arguments.length;r++)F(arguments[r],a.type);return B(a),a}var q=n(15),$=n(25),G=n(26),Y=n(72),K=n(16),Q=n(37),X="function"===typeof Symbol&&Symbol.for,J=X?Symbol.for("react.element"):60103,Z=X?Symbol.for("react.portal"):60106,ee=X?Symbol.for("react.fragment"):60107,te=X?Symbol.for("react.strict_mode"):60108,ne=X?Symbol.for("react.profiler"):60114,ae=X?Symbol.for("react.provider"):60109,re=X?Symbol.for("react.context"):60110,oe=X?Symbol.for("react.async_mode"):60111,ie=X?Symbol.for("react.forward_ref"):60112,le=X?Symbol.for("react.timeout"):60113,ue="function"===typeof Symbol&&Symbol.iterator,se="@@iterator",ce=function(){},fe=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.warn(o);try{throw new Error(o)}catch(e){}};ce=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];fe.apply(void 0,[t].concat(a))}};var pe=ce,de={},me={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){a(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){a(e,"replaceState")},enqueueSetState:function(e,t,n,r){a(e,"setState")}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&$(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var ge={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(var he in ge)ge.hasOwnProperty(he)&&function(e,t){Object.defineProperty(r.prototype,e,{get:function(){pe(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(he,ge[he]);o.prototype=r.prototype;var be=i.prototype=new o;be.constructor=i,q(be,r.prototype),be.isPureReactComponent=!0;var ve={current:null},ye=Object.prototype.hasOwnProperty,we={key:!0,ref:!0,__self:!0,__source:!0},_e=void 0,ke=void 0,Ee=function(e,t,n,a,r,o,i){var l={$$typeof:J,type:e,key:t,ref:n,props:i,_owner:o};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l},xe={};xe.getCurrentStack=null,xe.getStackAddendum=function(){var e=xe.getCurrentStack;return e?e():null};var Ce=".",Se=":",Te=!1,Pe=/\/+/g,Oe=10,Ne=[],Re=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Ie=void 0,Me=void 0,je=function(){},Ae=function(){};Ie=null,Me=!1,je=function(e){if(null==e)return"#empty";if("string"===typeof e||"number"===typeof e)return"#text";if("string"===typeof e.type)return e.type;var t=e.type;if(t===ee)return"React.Fragment";if("object"===typeof t&&null!==t&&t.$$typeof===ie){var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return t.displayName||t.name||"Unknown"},Ae=function(){var e="";if(Ie){var t=je(Ie),n=Ie._owner;e+=Re(t,Ie._source,n&&j(n))}return e+=xe.getStackAddendum()||""};var ze={},De={Children:{map:T,forEach:x,count:P,toArray:O,only:N},createRef:l,Component:r,PureComponent:i,createContext:R,forwardRef:I,Fragment:ee,StrictMode:te,unstable_AsyncMode:oe,unstable_Profiler:ne,createElement:W,cloneElement:V,createFactory:H,isValidElement:g,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ve,assign:q}};q(De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:xe,ReactComponentTreeHook:{}});var Le=Object.freeze({default:De}),Fe=Le&&De||Le,Be=Fe.default?Fe.default:Fe;e.exports=Be}()}).call(t,n(1))},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);ja(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n,a,r,o,i,l,u){this._hasCaughtError=!1,this._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Ha._hasRethrowError){var e=Ha._rethrowError;throw Ha._rethrowError=null,Ha._hasRethrowError=!1,e}}function i(){if(Va)for(var e in qa){var t=qa[e],n=Va.indexOf(e);if(-1<n||a("96",e),!$a[n]){t.extractEvents||a("97",e),$a[n]=t,n=t.eventTypes;for(var r in n){var o=void 0,i=n[r],u=t,s=r;Ga.hasOwnProperty(s)&&a("99",s),Ga[s]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&l(c[o],u,s);o=!0}else i.registrationName?(l(i.registrationName,u,s),o=!0):o=!1;o||a("98",r,e)}}}}function l(e,t,n){Ya[e]&&a("100",e),Ya[e]=t,Ka[e]=t.eventTypes[n].dependencies}function u(e){Va&&a("101"),Va=Array.prototype.slice.call(e),i()}function s(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];qa.hasOwnProperty(t)&&qa[t]===r||(qa[t]&&a("102",t),qa[t]=r,n=!0)}n&&i()}function c(e,t,n,a){t=e.type||"unknown-event",e.currentTarget=Za(a),Ha.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function f(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function p(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function d(e,t){if(e){var n=e._dispatchListeners,a=e._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)c(e,t,n[r],a[r]);else n&&c(e,t,n,a);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function m(e){return d(e,!0)}function g(e){return d(e,!1)}function h(e,t){var n=e.stateNode;if(!n)return null;var r=Xa(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&a("231",t,typeof n),n)}function b(e,t){null!==e&&(er=f(er,e)),e=er,er=null,e&&(t?p(e,m):p(e,g),er&&a("95"),Ha.rethrowCaughtError())}function v(e,t,n,a){for(var r=null,o=0;o<$a.length;o++){var i=$a[o];i&&(i=i.extractEvents(e,t,n,a))&&(r=f(r,i))}b(r,!1)}function y(e){if(e[rr])return e[rr];for(;!e[rr];){if(!e.parentNode)return null;e=e.parentNode}return e=e[rr],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function _(e){return e[or]||null}function k(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function E(e,t,n){for(var a=[];e;)a.push(e),e=k(e);for(e=a.length;0<e--;)t(a[e],"captured",n);for(e=0;e<a.length;e++)t(a[e],"bubbled",n)}function x(e,t,n){(t=h(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function C(e){e&&e.dispatchConfig.phasedRegistrationNames&&E(e._targetInst,x,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?k(t):null,E(t,x,e)}}function T(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=h(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function P(e){e&&e.dispatchConfig.registrationName&&T(e._targetInst,null,e)}function O(e){p(e,C)}function N(e,t,n,a){if(n&&a)e:{for(var r=n,o=a,i=0,l=r;l;l=k(l))i++;l=0;for(var u=o;u;u=k(u))l++;for(;0<i-l;)r=k(r),i--;for(;0<l-i;)o=k(o),l--;for(;i--;){if(r===o||r===o.alternate)break e;r=k(r),o=k(o)}r=null}else r=null;for(o=r,r=[];n&&n!==o&&(null===(i=n.alternate)||i!==o);)r.push(n),n=k(n);for(n=[];a&&a!==o&&(null===(i=a.alternate)||i!==o);)n.push(a),a=k(a);for(a=0;a<r.length;a++)T(r[a],"bubbled",e);for(e=n.length;0<e--;)T(n[e],"captured",t)}function R(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function I(e){if(sr[e])return sr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return sr[e]=n[t];return e}function M(){return!hr&&za.canUseDOM&&(hr="textContent"in document.documentElement?"textContent":"innerText"),hr}function j(){if(br._fallbackText)return br._fallbackText;var e,t,n=br._startText,a=n.length,r=A(),o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return br._fallbackText=r.slice(e,1<t?1-t:void 0),br._fallbackText}function A(){return"value"in br._root?br._root.value:br._root[M()]}function z(e,t,n,a){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var r in e)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=a:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?La.thatReturnsTrue:La.thatReturnsFalse,this.isPropagationStopped=La.thatReturnsFalse,this}function D(e,t,n,a){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)}function L(e){e instanceof this||a("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function F(e){e.eventPool=[],e.getPooled=D,e.release=L}function B(e,t){switch(e){case"keyup":return-1!==kr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function U(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function W(e,t){switch(e){case"compositionend":return U(t);case"keypress":return 32!==t.which?null:(Or=!0,Tr);case"textInput":return e=t.data,e===Tr&&Or?null:e;default:return null}}function H(e,t){if(Nr)return"compositionend"===e||!Er&&B(e,t)?(e=j(),br._root=null,br._startText=null,br._fallbackText=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sr?null:t.data;default:return null}}function V(e){if(e=Ja(e)){Ir&&"function"===typeof Ir.restoreControlledState||a("194");var t=Xa(e.stateNode);Ir.restoreControlledState(e.stateNode,e.type,t)}}function q(e){jr?Ar?Ar.push(e):Ar=[e]:jr=e}function $(){return null!==jr||null!==Ar}function G(){if(jr){var e=jr,t=Ar;if(Ar=jr=null,V(e),t)for(e=0;e<t.length;e++)V(t[e])}}function Y(e,t){return e(t)}function K(e,t,n){return e(t,n)}function Q(){}function X(e,t){if(Dr)return e(t);Dr=!0;try{return Y(e,t)}finally{Dr=!1,$()&&(Q(),G())}}function J(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Lr[e.type]:"textarea"===t}function Z(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!za.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ae(e){e._valueTracker||(e._valueTracker=ne(e))}function re(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=te(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Xr&&e[Xr]||e["@@iterator"],"function"===typeof e?e:null)}function ie(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Yr:return"AsyncMode";case Gr:return"Context.Consumer";case Hr:return"ReactFragment";case Wr:return"ReactPortal";case qr:return"Profiler("+e.pendingProps.id+")";case $r:return"Context.Provider";case Vr:return"StrictMode";case Qr:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Kr:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function le(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,a=e._debugSource,r=ie(e),o=null;n&&(o=ie(n)),n=a,r="\n in "+(r||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:r=""}t+=r,e=e.return}while(e);return t}function ue(e){return!!Zr.call(to,e)||!Zr.call(eo,e)&&(Jr.test(e)?to[e]=!0:(eo[e]=!0,!1))}function se(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,a){if(null===t||"undefined"===typeof t||se(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,a,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}function pe(e){return e[1].toUpperCase()}function de(e,t,n,a){var r=no.hasOwnProperty(t)?no[t]:null;(null!==r?0===r.type:!a&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,r,a)&&(n=null),a||null===r?ue(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(r=r.type,n=3===r||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}function me(e,t){var n=t.checked;return Da({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ge(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function he(e,t){null!=(t=t.checked)&&de(e,"checked",t,!1)}function be(e,t){he(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?ye(e,t.type,n):t.hasOwnProperty("defaultValue")&&ye(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ve(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var a=e.value;n||t===a||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function ye(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _e(e,t,n){return e=z.getPooled(ro.change,e,t,n),e.type="change",q(n),O(e),e}function ke(e){b(e,!1)}function Ee(e){if(re(w(e)))return e}function xe(e,t){if("change"===e)return t}function Ce(){oo&&(oo.detachEvent("onpropertychange",Se),io=oo=null)}function Se(e){"value"===e.propertyName&&Ee(io)&&(e=_e(io,e,Z(e)),X(ke,e))}function Te(e,t,n){"focus"===e?(Ce(),oo=t,io=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&Ce()}function Pe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ee(io)}function Oe(e,t){if("click"===e)return Ee(t)}function Ne(e,t){if("input"===e||"change"===e)return Ee(t)}function Re(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Ie(){return Re}function Me(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function je(e){2!==Me(e)&&a("188")}function Ae(e){var t=e.alternate;if(!t)return t=Me(e),3===t&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var l=o.child;l;){if(l===n)return je(o),e;if(l===r)return je(o),t;l=l.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{l=!1;for(var u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}l||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}function ze(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function De(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Le(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Fe(e,t){var n=e[0];e=e[1];var a="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[n],isInteractive:t},To[e]=t,Po[n]=t}function Be(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=y(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],v(e.topLevelType,t,e.nativeEvent,Z(e.nativeEvent))}function Ue(e){Io=!!e}function We(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ve(e,t){K(qe,e,t)}function qe(e,t){if(Io){var n=Z(t);if(n=y(n),null===n||"number"!==typeof n.tag||2===Me(n)||(n=null),Ro.length){var a=Ro.pop();a.topLevelType=e,a.nativeEvent=t,a.targetInst=n,e=a}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{X(Be,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Ro.length&&Ro.push(e)}}}function $e(e){return Object.prototype.hasOwnProperty.call(e,zo)||(e[zo]=Ao++,jo[e[zo]]={}),jo[e[zo]]}function Ge(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ye(e,t){var n=Ge(e);e=0;for(var a;n;){if(3===n.nodeType){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ge(n)}}function Ke(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(e,t){if(Wo||null==Fo||Fo!==Fa())return null;var n=Fo;return"selectionStart"in n&&Ke(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Uo&&Ba(Uo,n)?null:(Uo=n,e=z.getPooled(Lo.select,Bo,e,t),e.type="select",e.target=Fo,O(e),e)}function Xe(e){var t="";return Aa.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function Je(e,t){return e=Da({children:void 0},t),(t=Xe(t.children))&&(e.children=t),e}function Ze(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),Da({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function at(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function rt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){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 it(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function lt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ut(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=n,o=t[n];r=null==o||"boolean"===typeof o||""===o?"":a||"number"!==typeof o||0===o||gi.hasOwnProperty(r)&&gi[r]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}function st(e,t,n){t&&(bi[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!==typeof t.style&&a("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ft(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=$e(e);t=Ka[t];for(var a=0;a<t.length;a++){var r=t[a];if(!n.hasOwnProperty(r)||!n[r]){switch(r){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(r,!0)&&He(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===gr.indexOf(r)&&We(r,e)}n[r]=!0}}}function pt(e,t,n,a){return n=9===n.nodeType?n:n.ownerDocument,a===pi.html&&(a=ot(e)),a===pi.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(a,e),e}function dt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function mt(e,t,n,a){var r=ct(t,n);switch(t){case"iframe":case"object":We("load",e);var o=n;break;case"video":case"audio":for(o=0;o<gr.length;o++)We(gr[o],e);o=n;break;case"source":We("error",e),o=n;break;case"img":case"image":case"link":We("error",e),We("load",e),o=n;break;case"form":We("reset",e),We("submit",e),o=n;break;case"details":We("toggle",e),o=n;break;case"input":ge(e,n),o=me(e,n),We("invalid",e),ft(a,"onChange");break;case"option":o=Je(e,n);break;case"select":et(e,n),o=Da({},n,{value:void 0}),We("invalid",e),ft(a,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),We("invalid",e),ft(a,"onChange");break;default:o=n}st(t,o,vi);var i,l=o;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];"style"===i?ut(e,u,vi):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&mi(e,u):"children"===i?"string"===typeof u?("textarea"!==t||""!==u)&&lt(e,u):"number"===typeof u&&lt(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Ya.hasOwnProperty(i)?null!=u&&ft(a,i):null!=u&&de(e,i,u,r))}switch(t){case"input":ae(e),ve(e,n,!1);break;case"textarea":ae(e),rt(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Ze(e,!!n.multiple,t,!1):null!=n.defaultValue&&Ze(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=La)}}function gt(e,t,n,a,r){var o=null;switch(t){case"input":n=me(e,n),a=me(e,a),o=[];break;case"option":n=Je(e,n),a=Je(e,a),o=[];break;case"select":n=Da({},n,{value:void 0}),a=Da({},a,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),a=tt(e,a),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof a.onClick&&(e.onclick=La)}st(t,a,vi),t=e=void 0;var i=null;for(e in n)if(!a.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var l=n[e];for(t in l)l.hasOwnProperty(t)&&(i||(i={}),i[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Ya.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in a){var u=a[e];if(l=null!=n?n[e]:void 0,a.hasOwnProperty(e)&&u!==l&&(null!=u||null!=l))if("style"===e)if(l){for(t in l)!l.hasOwnProperty(t)||u&&u.hasOwnProperty(t)||(i||(i={}),i[t]="");for(t in u)u.hasOwnProperty(t)&&l[t]!==u[t]&&(i||(i={}),i[t]=u[t])}else i||(o||(o=[]),o.push(e,i)),i=u;else"dangerouslySetInnerHTML"===e?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(e,""+u)):"children"===e?l===u||"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(e,""+u):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Ya.hasOwnProperty(e)?(null!=u&&ft(r,e),o||l===u||(o=[])):(o=o||[]).push(e,u))}return i&&(o=o||[]).push("style",i),o}function ht(e,t,n,a,r){"input"===n&&"radio"===r.type&&null!=r.name&&he(e,r),ct(n,a),a=ct(n,r);for(var o=0;o<t.length;o+=2){var i=t[o],l=t[o+1];"style"===i?ut(e,l,vi):"dangerouslySetInnerHTML"===i?mi(e,l):"children"===i?lt(e,l):de(e,i,l,a)}switch(n){case"input":be(e,r);break;case"textarea":at(e,r);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,n=r.value,null!=n?Ze(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ze(e,!!r.multiple,r.defaultValue,!0):Ze(e,!!r.multiple,r.multiple?[]:"",!1))}}function bt(e,t,n,a,r){switch(t){case"iframe":case"object":We("load",e);break;case"video":case"audio":for(a=0;a<gr.length;a++)We(gr[a],e);break;case"source":We("error",e);break;case"img":case"image":case"link":We("error",e),We("load",e);break;case"form":We("reset",e),We("submit",e);break;case"details":We("toggle",e);break;case"input":ge(e,n),We("invalid",e),ft(r,"onChange");break;case"select":et(e,n),We("invalid",e),ft(r,"onChange");break;case"textarea":nt(e,n),We("invalid",e),ft(r,"onChange")}st(t,n,vi),a=null;for(var o in n)if(n.hasOwnProperty(o)){var i=n[o];"children"===o?"string"===typeof i?e.textContent!==i&&(a=["children",i]):"number"===typeof i&&e.textContent!==""+i&&(a=["children",""+i]):Ya.hasOwnProperty(o)&&null!=i&&ft(r,o)}switch(t){case"input":ae(e),ve(e,n,!0);break;case"textarea":ae(e),rt(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=La)}return a}function vt(e,t){return e.nodeValue!==t}function yt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function _t(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function kt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Et(e){return{current:e}}function xt(e){0>Si||(e.current=Ci[Si],Ci[Si]=null,Si--)}function Ct(e,t){Si++,Ci[Si]=e.current,e.current=t}function St(e){return Pt(e)?Oi:Ti.current}function Tt(e,t){var n=e.type.contextTypes;if(!n)return Wa;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pt(e){return 2===e.tag&&null!=e.type.childContextTypes}function Ot(e){Pt(e)&&(xt(Pi,e),xt(Ti,e))}function Nt(e){xt(Pi,e),xt(Ti,e)}function Rt(e,t,n){Ti.current!==Wa&&a("168"),Ct(Ti,t,e),Ct(Pi,n,e)}function It(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in r||a("108",ie(e)||"Unknown",o);return Da({},t,n)}function Mt(e){if(!Pt(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Wa,Oi=Ti.current,Ct(Ti,t,e),Ct(Pi,Pi.current,e),!0}function jt(e,t){var n=e.stateNode;if(n||a("169"),t){var r=It(e,Oi);n.__reactInternalMemoizedMergedChildContext=r,xt(Pi,e),xt(Ti,e),Ct(Ti,r,e)}else xt(Pi,e);Ct(Pi,t,e)}function At(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function zt(e,t,n){var a=e.alternate;return null===a?(a=new At(e.tag,t,e.key,e.mode),a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.effectTag=0,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null),a.expirationTime=n,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function Dt(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"===typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"===typeof r)i=5;else switch(r){case Hr:return Lt(e.children,t,n,o);case Yr:i=11,t|=3;break;case Vr:i=11,t|=2;break;case qr:return r=new At(15,e,o,4|t),r.type=qr,r.expirationTime=n,r;case Qr:i=16,t|=2;break;default:e:{switch("object"===typeof r&&null!==r?r.$$typeof:null){case $r:i=13;break e;case Gr:i=12;break e;case Kr:i=14;break e;default:a("130",null==r?r:typeof r,"")}i=void 0}}return t=new At(i,e,o,t),t.type=r,t.expirationTime=n,t}function Lt(e,t,n,a){return e=new At(10,e,a,t),e.expirationTime=n,e}function Ft(e,t,n){return e=new At(6,e,null,t),e.expirationTime=n,e}function Bt(e,t,n){return t=new At(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t,n){return t=new At(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Wt(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ni=Wt(function(e){return t.onCommitFiberRoot(n,e)}),Ri=Wt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Vt(e){"function"===typeof Ni&&Ni(e)}function qt(e){"function"===typeof Ri&&Ri(e)}function $t(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Gt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Kt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Qt(e,t,n){var a=e.alternate;if(null===a){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=$t(e.memoizedState))}else r=e.updateQueue,o=a.updateQueue,null===r?null===o?(r=e.updateQueue=$t(e.memoizedState),o=a.updateQueue=$t(a.memoizedState)):r=e.updateQueue=Gt(o):null===o&&(o=a.updateQueue=Gt(r));null===o||r===o?Kt(r,t,n):null===r.lastUpdate||null===o.lastUpdate?(Kt(r,t,n),Kt(o,t,n)):(Kt(r,t,n),o.lastUpdate=t)}function Xt(e,t,n){var a=e.updateQueue;a=null===a?e.updateQueue=$t(e.memoizedState):Jt(e,a),null===a.lastCapturedUpdate?a.firstCapturedUpdate=a.lastCapturedUpdate=t:(a.lastCapturedUpdate.next=t,a.lastCapturedUpdate=t),(0===a.expirationTime||a.expirationTime>n)&&(a.expirationTime=n)}function Jt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Gt(t)),t}function Zt(e,t,n,a,r,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,a,r):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(r="function"===typeof e?e.call(o,a,r):e)||void 0===r)break;return Da({},a,r);case 2:Ii=!0}return a}function en(e,t,n,a,r){if(Ii=!1,!(0===t.expirationTime||t.expirationTime>r)){t=Jt(e,t);for(var o=t.baseState,i=null,l=0,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;c>r?(null===i&&(i=u,o=s),(0===l||l>c)&&(l=c)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>r?(null===c&&(c=u,null===i&&(o=s)),(0===l||l>f)&&(l=f)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===i&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===i&&null===c&&(o=s),t.baseState=o,t.firstUpdate=i,t.firstCapturedUpdate=c,t.expirationTime=l,e.memoizedState=s}}function tn(e,t){"function"!==typeof e&&a("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var a=e.callback;null!==a&&(e.callback=null,tn(a,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function an(e,t){return{value:e,source:t,stack:le(t)}}function rn(e){var t=e.type._context;Ct(Ai,t._changedBits,e),Ct(ji,t._currentValue,e),Ct(Mi,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function on(e){var t=Ai.current,n=ji.current;xt(Mi,e),xt(ji,e),xt(Ai,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function ln(e){return e===zi&&a("174"),e}function un(e,t){Ct(Fi,t,e),Ct(Li,e,e),Ct(Di,zi,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:it(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=it(t,n)}xt(Di,e),Ct(Di,t,e)}function sn(e){xt(Di,e),xt(Li,e),xt(Fi,e)}function cn(e){Li.current===e&&(xt(Di,e),xt(Li,e))}function fn(e,t,n){var a=e.memoizedState;t=t(n,a),a=null===t||void 0===t?a:Da({},a,t),e.memoizedState=a,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=a)}function pn(e,t,n,a,r,o){var i=e.stateNode;return e=e.type,"function"===typeof i.shouldComponentUpdate?i.shouldComponentUpdate(n,r,o):!e.prototype||!e.prototype.isPureReactComponent||(!Ba(t,n)||!Ba(a,r))}function dn(e,t,n,a){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function mn(e,t){var n=e.type,a=e.stateNode,r=e.pendingProps,o=St(e);a.props=r,a.state=e.memoizedState,a.refs=Wa,a.context=Tt(e,o),o=e.updateQueue,null!==o&&(en(e,o,r,a,t),a.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(fn(e,o,r),a.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(n=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),n!==a.state&&Bi.enqueueReplaceState(a,a.state,null),null!==(o=e.updateQueue)&&(en(e,o,r,a,t),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=4)}function gn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(2!==n.tag&&a("110"),r=n.stateNode),r||a("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs===Wa?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&a("148"),n._owner||a("254",e)}return e}function hn(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bn(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=zt(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index,a<n?(t.effectTag=2,n):a):(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,a){return null===t||6!==t.tag?(t=Ft(n,e.mode,a),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function s(e,t,n,a){return null!==t&&t.type===n.type?(a=o(t,n.props,a),a.ref=gn(e,t,n),a.return=e,a):(a=Dt(n,e.mode,a),a.ref=gn(e,t,n),a.return=e,a)}function c(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Bt(n,e.mode,a),t.return=e,t):(t=o(t,n.children||[],a),t.return=e,t)}function f(e,t,n,a,r){return null===t||10!==t.tag?(t=Lt(n,e.mode,a,r),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function p(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Ft(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ur:return n=Dt(t,e.mode,n),n.ref=gn(e,null,t),n.return=e,n;case Wr:return t=Bt(t,e.mode,n),t.return=e,t}if(Ui(t)||oe(t))return t=Lt(t,e.mode,n,null),t.return=e,t;hn(e,t)}return null}function d(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==r?null:u(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ur:return n.key===r?n.type===Hr?f(e,t,n.props.children,a,r):s(e,t,n,a):null;case Wr:return n.key===r?c(e,t,n,a):null}if(Ui(n)||oe(n))return null!==r?null:f(e,t,n,a,null);hn(e,n)}return null}function m(e,t,n,a,r){if("string"===typeof a||"number"===typeof a)return e=e.get(n)||null,u(t,e,""+a,r);if("object"===typeof a&&null!==a){switch(a.$$typeof){case Ur:return e=e.get(null===a.key?n:a.key)||null,a.type===Hr?f(t,e,a.props.children,r,a.key):s(t,e,a,r);case Wr:return e=e.get(null===a.key?n:a.key)||null,c(t,e,a,r)}if(Ui(a)||oe(a))return e=e.get(n)||null,f(t,e,a,r,null);hn(t,a)}return null}function g(a,o,l,u){for(var s=null,c=null,f=o,g=o=0,h=null;null!==f&&g<l.length;g++){f.index>g?(h=f,f=null):h=f.sibling;var b=d(a,f,l[g],u);if(null===b){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(a,f),o=i(b,o,g),null===c?s=b:c.sibling=b,c=b,f=h}if(g===l.length)return n(a,f),s;if(null===f){for(;g<l.length;g++)(f=p(a,l[g],u))&&(o=i(f,o,g),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(a,f);g<l.length;g++)(h=m(f,a,g,l[g],u))&&(e&&null!==h.alternate&&f.delete(null===h.key?g:h.key),o=i(h,o,g),null===c?s=h:c.sibling=h,c=h);return e&&f.forEach(function(e){return t(a,e)}),s}function h(o,l,u,s){var c=oe(u);"function"!==typeof c&&a("150"),null==(u=c.call(u))&&a("151");for(var f=c=null,g=l,h=l=0,b=null,v=u.next();null!==g&&!v.done;h++,v=u.next()){g.index>h?(b=g,g=null):b=g.sibling;var y=d(o,g,v.value,s);if(null===y){g||(g=b);break}e&&g&&null===y.alternate&&t(o,g),l=i(y,l,h),null===f?c=y:f.sibling=y,f=y,g=b}if(v.done)return n(o,g),c;if(null===g){for(;!v.done;h++,v=u.next())null!==(v=p(o,v.value,s))&&(l=i(v,l,h),null===f?c=v:f.sibling=v,f=v);return c}for(g=r(o,g);!v.done;h++,v=u.next())null!==(v=m(g,o,h,v.value,s))&&(e&&null!==v.alternate&&g.delete(null===v.key?h:v.key),l=i(v,l,h),null===f?c=v:f.sibling=v,f=v);return e&&g.forEach(function(e){return t(o,e)}),c}return function(e,r,i,u){var s="object"===typeof i&&null!==i&&i.type===Hr&&null===i.key;s&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case Ur:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(10===s.tag?i.type===Hr:s.type===i.type){n(e,s.sibling),r=o(s,i.type===Hr?i.props.children:i.props,u),r.ref=gn(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===Hr?(r=Lt(i.props.children,e.mode,u,i.key),r.return=e,e=r):(u=Dt(i,e.mode,u),u.ref=gn(e,r,i),u.return=e,e=u)}return l(e);case Wr:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=o(r,i.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Bt(i,e.mode,u),r.return=e,e=r}return l(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,i,u),r.return=e,e=r):(n(e,r),r=Ft(i,e.mode,u),r.return=e,e=r),l(e);if(Ui(i))return g(e,r,i,u);if(oe(i))return h(e,r,i,u);if(c&&hn(e,i),"undefined"===typeof i&&!s)switch(e.tag){case 2:case 1:u=e.type,a("152",u.displayName||u.name||"Component")}return n(e,r)}}function vn(e,t){var n=new At(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function yn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function wn(e){if($i){var t=qi;if(t){var n=t;if(!yn(e,t)){if(!(t=_t(n))||!yn(e,t))return e.effectTag|=2,$i=!1,void(Vi=e);vn(Vi,n)}Vi=e,qi=kt(t)}else e.effectTag|=2,$i=!1,Vi=e}}function _n(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Vi=e}function kn(e){if(e!==Vi)return!1;if(!$i)return _n(e),$i=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qi;t;)vn(e,t),t=_t(t);return _n(e),qi=Vi?_t(e.stateNode):null,!0}function En(){qi=Vi=null,$i=!1}function xn(e,t,n){Cn(e,t,n,t.expirationTime)}function Cn(e,t,n,a){t.child=null===e?Hi(t,null,n,a):Wi(t,e.child,n,a)}function Sn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Tn(e,t,n,a,r){Sn(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return a&&jt(t,!1),Rn(e,t);n=t.stateNode,Fr.current=t;var i=o?null:n.render();return t.effectTag|=1,o&&(Cn(e,t,null,r),t.child=null),Cn(e,t,i,r),t.memoizedState=n.state,t.memoizedProps=n.props,a&&jt(t,!0),t.child}function Pn(e){var t=e.stateNode;t.pendingContext?Rt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Rt(e,t.context,!1),un(e,t.containerInfo)}function On(e,t,n,a){var r=e.child;for(null!==r&&(r.return=e);null!==r;){switch(r.tag){case 12:var o=0|r.stateNode;if(r.type===t&&0!==(o&n)){for(o=r;null!==o;){var i=o.alternate;if(0===o.expirationTime||o.expirationTime>a)o.expirationTime=a,null!==i&&(0===i.expirationTime||i.expirationTime>a)&&(i.expirationTime=a);else{if(null===i||!(0===i.expirationTime||i.expirationTime>a))break;i.expirationTime=a}o=o.return}o=null}else o=r.child;break;case 13:o=r.type===e.type?null:r.child;break;default:o=r.child}if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}if(null!==(r=o.sibling)){r.return=o.return,o=r;break}o=o.return}r=o}}function Nn(e,t,n){var a=t.type._context,r=t.pendingProps,o=t.memoizedProps,i=!0;if(Pi.current)i=!1;else if(o===r)return t.stateNode=0,rn(t),Rn(e,t);var l=r.value;if(t.memoizedProps=r,null===o)l=1073741823;else if(o.value===r.value){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t);l=0}else{var u=o.value;if(u===l&&(0!==u||1/u===1/l)||u!==u&&l!==l){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t);l=0}else if(l="function"===typeof a._calculateChangedBits?a._calculateChangedBits(u,l):1073741823,0===(l|=0)){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t)}else On(t,a,l,n)}return t.stateNode=l,rn(t),xn(e,t,r.children),t.child}function Rn(e,t){if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){e=t.child;var n=zt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=zt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function In(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Pn(t);break;case 2:Mt(t);break;case 4:un(t,t.stateNode.containerInfo);break;case 13:rn(t)}return null}switch(t.tag){case 0:null!==e&&a("155");var r=t.type,o=t.pendingProps,i=St(t);return i=Tt(t,i),r=r(o,i),t.effectTag|=1,"object"===typeof r&&null!==r&&"function"===typeof r.render&&void 0===r.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,i=i.getDerivedStateFromProps,"function"===typeof i&&fn(t,i,o),o=Mt(t),r.updater=Bi,t.stateNode=r,r._reactInternalFiber=t,mn(t,n),e=Tn(e,t,!0,o,n)):(t.tag=1,xn(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,Pi.current||t.memoizedProps!==n?(r=St(t),r=Tt(t,r),o=o(n,r),t.effectTag|=1,xn(e,t,o),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 2:if(o=Mt(t),null===e)if(null===t.stateNode){var l=t.pendingProps,u=t.type;r=St(t);var s=2===t.tag&&null!=t.type.contextTypes;i=s?Tt(t,r):Wa,l=new u(l,i),t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,l.updater=Bi,t.stateNode=l,l._reactInternalFiber=t,s&&(s=t.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=r,s.__reactInternalMemoizedMaskedChildContext=i),mn(t,n),r=!0}else{u=t.type,r=t.stateNode,s=t.memoizedProps,i=t.pendingProps,r.props=s;var c=r.context;l=St(t),l=Tt(t,l);var f=u.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof r.getSnapshotBeforeUpdate)||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||(s!==i||c!==l)&&dn(t,r,i,l),Ii=!1;var p=t.memoizedState;c=r.state=p;var d=t.updateQueue;null!==d&&(en(t,d,i,r,n),c=t.memoizedState),s!==i||p!==c||Pi.current||Ii?("function"===typeof f&&(fn(t,f,i),c=t.memoizedState),(s=Ii||pn(t,s,i,p,c,l))?(u||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||("function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"===typeof r.componentDidMount&&(t.effectTag|=4)):("function"===typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=c),r.props=i,r.state=c,r.context=l,r=s):("function"===typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else u=t.type,r=t.stateNode,i=t.memoizedProps,s=t.pendingProps,r.props=i,c=r.context,l=St(t),l=Tt(t,l),f=u.getDerivedStateFromProps,(u="function"===typeof f||"function"===typeof r.getSnapshotBeforeUpdate)||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||(i!==s||c!==l)&&dn(t,r,s,l),Ii=!1,c=t.memoizedState,p=r.state=c,d=t.updateQueue,null!==d&&(en(t,d,s,r,n),p=t.memoizedState),i!==s||c!==p||Pi.current||Ii?("function"===typeof f&&(fn(t,f,s),p=t.memoizedState),(f=Ii||pn(t,i,s,c,p,l))?(u||"function"!==typeof r.UNSAFE_componentWillUpdate&&"function"!==typeof r.componentWillUpdate||("function"===typeof r.componentWillUpdate&&r.componentWillUpdate(s,p,l),"function"===typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(s,p,l)),"function"===typeof r.componentDidUpdate&&(t.effectTag|=4),"function"===typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=s,t.memoizedState=p),r.props=s,r.state=p,r.context=l,r=f):("function"!==typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Tn(e,t,r,o,n);case 3:return Pn(t),o=t.updateQueue,null!==o?(r=t.memoizedState,r=null!==r?r.element:null,en(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(En(),e=Rn(e,t)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(qi=kt(t.stateNode.containerInfo),Vi=t,r=$i=!0),r?(t.effectTag|=2,t.child=Hi(t,null,o,n)):(En(),xn(e,t,o)),e=t.child)):(En(),e=Rn(e,t)),e;case 5:return ln(Fi.current),o=ln(Di.current),r=it(o,t.type),o!==r&&(Ct(Li,t,t),Ct(Di,r,t)),null===e&&wn(t),o=t.type,s=t.memoizedProps,r=t.pendingProps,i=null!==e?e.memoizedProps:null,Pi.current||s!==r||((s=1&t.mode&&!!r.hidden)&&(t.expirationTime=1073741823),s&&1073741823===n)?(s=r.children,wt(o,r)?s=null:i&&wt(o,i)&&(t.effectTag|=16),Sn(e,t),1073741823!==n&&1&t.mode&&r.hidden?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(xn(e,t,s),t.memoizedProps=r,e=t.child)):e=Rn(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return un(t,t.stateNode.containerInfo),o=t.pendingProps,Pi.current||t.memoizedProps!==o?(null===e?t.child=Wi(t,null,o,n):xn(e,t,o),t.memoizedProps=o,e=t.child):e=Rn(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,r=t.ref,Pi.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(o=o(n,r),xn(e,t,o),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 10:return n=t.pendingProps,Pi.current||t.memoizedProps!==n?(xn(e,t,n),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 11:return n=t.pendingProps.children,Pi.current||null!==n&&t.memoizedProps!==n?(xn(e,t,n),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Rn(e,t):(xn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Nn(e,t,n);case 12:e:if(r=t.type,i=t.pendingProps,s=t.memoizedProps,o=r._currentValue,l=r._changedBits,Pi.current||0!==l||s!==i){if(t.memoizedProps=i,u=i.unstable_observedBits,void 0!==u&&null!==u||(u=1073741823),t.stateNode=u,0!==(l&u))On(t,r,l,n);else if(s===i){e=Rn(e,t);break e}n=i.children,n=n(o),t.effectTag|=1,xn(e,t,n),e=t.child}else e=Rn(e,t);return e;default:a("156")}}function Mn(e){e.effectTag|=4}function jn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return Ot(t),null;case 3:sn(t),Nt(t);var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(kn(t),t.effectTag&=-3),Gi(t),null;case 5:cn(t),r=ln(Fi.current);var o=t.type;if(null!==e&&null!=t.stateNode){var i=e.memoizedProps,l=t.stateNode,u=ln(Di.current);l=gt(l,o,i,n,r),Yi(e,t,l,o,i,n,r,u),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&a("166"),null;if(e=ln(Di.current),kn(t))n=t.stateNode,o=t.type,i=t.memoizedProps,n[rr]=t,n[or]=i,r=bt(n,o,i,e,r),t.updateQueue=r,null!==r&&Mn(t);else{e=pt(o,n,r,e),e[rr]=t,e[or]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}mt(e,o,n,r),yt(o,n)&&Mn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ki(e,t,e.memoizedProps,n);else{if("string"!==typeof n)return null===t.stateNode&&a("166"),null;r=ln(Fi.current),ln(Di.current),kn(t)?(r=t.stateNode,n=t.memoizedProps,r[rr]=t,vt(r,n)&&Mn(t)):(r=dt(n,r),r[rr]=t,t.stateNode=r)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return sn(t),Gi(t),null;case 13:return on(t),null;case 12:return null;case 0:a("167");default:a("156")}}function An(e,t){var n=t.source;null===t.stack&&null!==n&&le(n),null!==n&&ie(n),t=t.value,null!==e&&2===e.tag&&ie(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function zn(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(t){Qn(e,t)}else t.current=null}function Dn(e){switch("function"===typeof qt&&qt(e),e.tag){case 2:zn(e);var t=e.stateNode;if("function"===typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Qn(e,t)}break;case 5:zn(e);break;case 4:Bn(e)}}function Ln(e){return 5===e.tag||3===e.tag||4===e.tag}function Fn(e){e:{for(var t=e.return;null!==t;){if(Ln(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a("161")}16&n.effectTag&&(lt(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ln(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,l=o.stateNode,u=n;8===i.nodeType?i.parentNode.insertBefore(l,u):i.insertBefore(l,u)}else t.insertBefore(o.stateNode,n);else r?(i=t,l=o.stateNode,8===i.nodeType?i.parentNode.insertBefore(l,i):i.appendChild(l)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Bn(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,l=i;;)if(Dn(l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===i)break;for(;null===l.sibling;){if(null===l.return||l.return===i)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=r,l=t.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.removeChild(l)):r.removeChild(t.stateNode)}else if(4===t.tag?r=t.stateNode.containerInfo:Dn(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Un(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&(n[or]=r,ht(n,i,o,e,r))}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:a("163")}}function Wn(e,t,n){n=Yt(n),n.tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){ma(a),An(e,t)},n}function Hn(e,t,n){n=Yt(n),n.tag=3;var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){null===cl?cl=new Set([this]):cl.add(this);var n=t.value,a=t.stack;An(e,t),this.componentDidCatch(n,{componentStack:null!==a?a:""})}),n}function Vn(e,t,n,a,r,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,a=an(a,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,a=Wn(e,a,o),void Xt(e,a,o);case 2:if(t=a,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===cl||!cl.has(n)))return e.effectTag|=1024,a=Hn(e,t,o),void Xt(e,a,o)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:Ot(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return sn(e),Nt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return sn(e),null;case 13:return on(e),null;default:return null}}function $n(){if(null!==nl)for(var e=nl.return;null!==e;){var t=e;switch(t.tag){case 2:Ot(t);break;case 3:sn(t),Nt(t);break;case 5:cn(t);break;case 4:sn(t);break;case 13:on(t)}e=e.return}al=null,rl=0,ol=-1,il=!1,nl=null,sl=!1}function Gn(e){for(;;){var t=e.alternate,n=e.return,a=e.sibling;if(0===(512&e.effectTag)){t=jn(t,e,rl);var r=e;if(1073741823===rl||1073741823!==r.expirationTime){var o=0;switch(r.tag){case 3:case 2:var i=r.updateQueue;null!==i&&(o=i.expirationTime)}for(i=r.child;null!==i;)0!==i.expirationTime&&(0===o||o>i.expirationTime)&&(o=i.expirationTime),i=i.sibling;r.expirationTime=o}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==a)return a;if(null===n){sl=!0;break}e=n}else{if(null!==(e=qn(e,il,rl)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==a)return a;if(null===n)break;e=n}}return null}function Yn(e){var t=In(e.alternate,e,rl);return null===t&&(t=Gn(e)),Fr.current=null,t}function Kn(e,t,n){tl&&a("243"),tl=!0,t===rl&&e===al&&null!==nl||($n(),al=e,rl=t,ol=-1,nl=zt(al.current,null,rl),e.pendingCommitExpirationTime=0);var r=!1;for(il=!n||rl<=Xi;;){try{if(n)for(;null!==nl&&!da();)nl=Yn(nl);else for(;null!==nl;)nl=Yn(nl)}catch(t){if(null===nl)r=!0,ma(t);else{null===nl&&a("271"),n=nl;var o=n.return;if(null===o){r=!0,ma(t);break}Vn(e,o,n,t,il,rl,Ji),nl=Gn(n)}}break}if(tl=!1,r)return null;if(null===nl){if(sl)return e.pendingCommitExpirationTime=t,e.current.alternate;il&&a("262"),0<=ol&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&ra(e,t)},ol),ga(e.current.expirationTime)}return null}function Qn(e,t){var n;e:{for(tl&&!ul&&a("263"),n=e.return;null!==n;){switch(n.tag){case 2:var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromCatch||"function"===typeof r.componentDidCatch&&(null===cl||!cl.has(r))){e=an(t,e),e=Hn(n,e,1),Qt(n,e,1),Zn(n,1),n=void 0;break e}break;case 3:e=an(t,e),e=Wn(n,e,1),Qt(n,e,1),Zn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=an(t,e),n=Wn(e,n,1),Qt(e,n,1),Zn(e,1)),n=void 0}return n}function Xn(){var e=2+25*(1+((ea()-2+500)/25|0));return e<=Zi&&(e=Zi+1),Zi=e}function Jn(e,t){return e=0!==el?el:tl?ul?1:rl:1&t.mode?Cl?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,Cl&&(0===vl||e>vl)&&(vl=e),e}function Zn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!tl&&0!==rl&&t<rl&&$n();var r=n.current.expirationTime;tl&&!ul&&al===n||ra(n,r),Pl>Tl&&a("185")}e=e.return}}function ea(){return Ji=ki()-Qi,Xi=2+(Ji/10|0)}function ta(e){var t=el;el=2+25*(1+((ea()-2+500)/25|0));try{return e()}finally{el=t}}function na(e,t,n,a,r){var o=el;el=1;try{return e(t,n,a,r)}finally{el=o}}function aa(e){if(0!==dl){if(e>dl)return;null!==ml&&xi(ml)}var t=ki()-Qi;dl=e,ml=Ei(ia,{timeout:10*(e-2)-t})}function ra(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===pl?(fl=pl=e,e.nextScheduledRoot=e):(pl=pl.nextScheduledRoot=e,pl.nextScheduledRoot=fl);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}gl||(El?xl&&(hl=e,bl=1,fa(e,1,!1)):1===t?la():aa(t))}function oa(){var e=0,t=null;if(null!==pl)for(var n=pl,r=fl;null!==r;){var o=r.remainingExpirationTime;if(0===o){if((null===n||null===pl)&&a("244"),r===r.nextScheduledRoot){fl=pl=r.nextScheduledRoot=null;break}if(r===fl)fl=o=r.nextScheduledRoot,pl.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===pl){pl=n,pl.nextScheduledRoot=fl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=r),r===pl)break;n=r,r=r.nextScheduledRoot}}n=hl,null!==n&&n===t&&1===e?Pl++:Pl=0,hl=t,bl=e}function ia(e){ua(0,!0,e)}function la(){ua(1,!1,null)}function ua(e,t,n){if(kl=n,oa(),t)for(;null!==hl&&0!==bl&&(0===e||e>=bl)&&(!yl||ea()>=bl);)ea(),fa(hl,bl,!yl),oa();else for(;null!==hl&&0!==bl&&(0===e||e>=bl);)fa(hl,bl,!1),oa();null!==kl&&(dl=0,ml=null),0!==bl&&aa(bl),kl=null,yl=!1,ca()}function sa(e,t){gl&&a("253"),hl=e,bl=t,fa(e,t,!1),la(),ca()}function ca(){if(Pl=0,null!==Sl){var e=Sl;Sl=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){wl||(wl=!0,_l=e)}}}if(wl)throw e=_l,_l=null,wl=!1,e}function fa(e,t,n){gl&&a("245"),gl=!0,n?(n=e.finishedWork,null!==n?pa(e,n,t):null!==(n=Kn(e,t,!0))&&(da()?e.finishedWork=n:pa(e,n,t))):(n=e.finishedWork,null!==n?pa(e,n,t):null!==(n=Kn(e,t,!1))&&pa(e,n,t)),gl=!1}function pa(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime<=n&&(null===Sl?Sl=[r]:Sl.push(r),r._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ul=tl=!0,n=t.stateNode,n.current===t&&a("177"),r=n.pendingCommitExpirationTime,0===r&&a("261"),n.pendingCommitExpirationTime=0,ea(),Fr.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;wi=Io;var i=Fa();if(Ke(i)){if("selectionStart"in i)var l={start:i.selectionStart,end:i.selectionEnd};else e:{var u=window.getSelection&&window.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var s=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var f=0,p=-1,d=-1,m=0,g=0,h=i,b=null;t:for(;;){for(var v;h!==l||0!==s&&3!==h.nodeType||(p=f+s),h!==c||0!==u&&3!==h.nodeType||(d=f+u),3===h.nodeType&&(f+=h.nodeValue.length),null!==(v=h.firstChild);)b=h,h=v;for(;;){if(h===i)break t;if(b===l&&++m===s&&(p=f),b===c&&++g===u&&(d=f),null!==(v=h.nextSibling))break;h=b,b=h.parentNode}h=v}l=-1===p||-1===d?null:{start:p,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;for(_i={focusedElem:i,selectionRange:l},Ue(!1),ll=o;null!==ll;){i=!1,l=void 0;try{for(;null!==ll;){if(256&ll.effectTag){var y=ll.alternate;switch(s=ll,s.tag){case 2:if(256&s.effectTag&&null!==y){var w=y.memoizedProps,_=y.memoizedState,k=s.stateNode;k.props=s.memoizedProps,k.state=s.memoizedState;var E=k.getSnapshotBeforeUpdate(w,_);k.__reactInternalSnapshotBeforeUpdate=E}break;case 3:case 5:case 6:case 4:break;default:a("163")}}ll=ll.nextEffect}}catch(e){i=!0,l=e}i&&(null===ll&&a("178"),Qn(ll,l),null!==ll&&(ll=ll.nextEffect))}for(ll=o;null!==ll;){y=!1,w=void 0;try{for(;null!==ll;){var x=ll.effectTag;if(16&x&&lt(ll.stateNode,""),128&x){var C=ll.alternate;if(null!==C){var S=C.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(14&x){case 2:Fn(ll),ll.effectTag&=-3;break;case 6:Fn(ll),ll.effectTag&=-3,Un(ll.alternate,ll);break;case 4:Un(ll.alternate,ll);break;case 8:_=ll,Bn(_),_.return=null,_.child=null,_.alternate&&(_.alternate.child=null,_.alternate.return=null)}ll=ll.nextEffect}}catch(e){y=!0,w=e}y&&(null===ll&&a("178"),Qn(ll,w),null!==ll&&(ll=ll.nextEffect))}if(S=_i,C=Fa(),x=S.focusedElem,y=S.selectionRange,C!==x&&Ua(document.documentElement,x)){null!==y&&Ke(x)&&(C=y.start,S=y.end,void 0===S&&(S=C),"selectionStart"in x?(x.selectionStart=C,x.selectionEnd=Math.min(S,x.value.length)):window.getSelection&&(C=window.getSelection(),w=x[M()].length,S=Math.min(y.start,w),y=void 0===y.end?S:Math.min(y.end,w),!C.extend&&S>y&&(w=y,y=S,S=w),w=Ye(x,S),_=Ye(x,y),w&&_&&(1!==C.rangeCount||C.anchorNode!==w.node||C.anchorOffset!==w.offset||C.focusNode!==_.node||C.focusOffset!==_.offset)&&(k=document.createRange(),k.setStart(w.node,w.offset),C.removeAllRanges(),S>y?(C.addRange(k),C.extend(_.node,_.offset)):(k.setEnd(_.node,_.offset),C.addRange(k))))),C=[];for(S=x;S=S.parentNode;)1===S.nodeType&&C.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<C.length;x++)S=C[x],S.element.scrollLeft=S.left,S.element.scrollTop=S.top}for(_i=null,Ue(wi),wi=null,n.current=t,ll=o;null!==ll;){o=!1,x=void 0;try{for(C=r;null!==ll;){var T=ll.effectTag;if(36&T){var P=ll.alternate;switch(S=ll,y=C,S.tag){case 2:var O=S.stateNode;if(4&S.effectTag)if(null===P)O.props=S.memoizedProps,O.state=S.memoizedState,O.componentDidMount();else{var N=P.memoizedProps,R=P.memoizedState;O.props=S.memoizedProps,O.state=S.memoizedState,O.componentDidUpdate(N,R,O.__reactInternalSnapshotBeforeUpdate)}var I=S.updateQueue;null!==I&&(O.props=S.memoizedProps,O.state=S.memoizedState,nn(S,I,O,y));break;case 3:var j=S.updateQueue;if(null!==j){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=S.child.stateNode;break;case 2:w=S.child.stateNode}nn(S,j,w,y)}break;case 5:var A=S.stateNode;null===P&&4&S.effectTag&&yt(S.type,S.memoizedProps)&&A.focus();break;case 6:case 4:case 15:case 16:break;default:a("163")}}if(128&T){S=void 0;var z=ll.ref;if(null!==z){var D=ll.stateNode;switch(ll.tag){case 5:S=D;break;default:S=D}"function"===typeof z?z(S):z.current=S}}var L=ll.nextEffect;ll.nextEffect=null,ll=L}}catch(e){o=!0,x=e}o&&(null===ll&&a("178"),Qn(ll,x),null!==ll&&(ll=ll.nextEffect))}tl=ul=!1,"function"===typeof Vt&&Vt(t.stateNode),t=n.current.expirationTime,0===t&&(cl=null),e.remainingExpirationTime=t}function da(){return!(null===kl||kl.timeRemaining()>Ol)&&(yl=!0)}function ma(e){null===hl&&a("246"),hl.remainingExpirationTime=0,wl||(wl=!0,_l=e)}function ga(e){null===hl&&a("246"),hl.remainingExpirationTime=e}function ha(e,t){var n=El;El=!0;try{return e(t)}finally{(El=n)||gl||la()}}function ba(e,t){if(El&&!xl){xl=!0;try{return e(t)}finally{xl=!1}}return e(t)}function va(e,t){gl&&a("187");var n=El;El=!0;try{return na(e,t)}finally{El=n,la()}}function ya(e,t,n){if(Cl)return e(t,n);El||gl||0===vl||(ua(vl,!1,null),vl=0);var a=Cl,r=El;El=Cl=!0;try{return e(t,n)}finally{Cl=a,(El=r)||gl||la()}}function wa(e){var t=El;El=!0;try{na(e)}finally{(El=t)||gl||ua(1,!1,null)}}function _a(e,t,n,r,o){var i=t.current;if(n){n=n._reactInternalFiber;var l;e:{for(2===Me(n)&&2===n.tag||a("170"),l=n;3!==l.tag;){if(Pt(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}(l=l.return)||a("171")}l=l.stateNode.context}n=Pt(n)?It(n,l):l}else n=Wa;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Yt(r),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),Qt(i,o,r),Zn(i,r),r}function ka(e){var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?a("188"):a("268",Object.keys(e))),e=ze(t),null===e?null:e.stateNode}function Ea(e,t,n,a){var r=t.current;return r=Jn(ea(),r),_a(e,t,n,r,a)}function xa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ca(e){var t=e.findFiberByHostInstance;return Ht(Da({},e,{findHostInstanceByFiber:function(e){return e=ze(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Sa(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Wr,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function Ta(e){this._expirationTime=Xn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Pa(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Oa(e,t,n){this._internalRoot=Ut(e,t,n)}function Na(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ra(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Oa(e,!1,t)}function Ia(e,t,n,r,o){Na(n)||a("200");var i=n._reactRootContainer;if(i){if("function"===typeof o){var l=o;o=function(){var e=xa(i._internalRoot);l.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=Ra(n,r),"function"===typeof o){var u=o;o=function(){var e=xa(i._internalRoot);u.call(e)}}ba(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return xa(i._internalRoot)}function Ma(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Na(t)||a("200"),Sa(e,t,null,n)}var ja=n(25),Aa=n(2),za=n(73),Da=n(15),La=n(16),Fa=n(74),Ba=n(75),Ua=n(76),Wa=n(26);Aa||a("227");var Ha={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,a,o,i,l,u,s){r.apply(Ha,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,a,r,o,i,l,u){if(Ha.invokeGuardedCallback.apply(this,arguments),Ha.hasCaughtError()){var s=Ha.clearCaughtError();Ha._hasRethrowError||(Ha._hasRethrowError=!0,Ha._rethrowError=s)}},rethrowCaughtError:function(){return o.apply(Ha,arguments)},hasCaughtError:function(){return Ha._hasCaughtError},clearCaughtError:function(){if(Ha._hasCaughtError){var e=Ha._caughtError;return Ha._caughtError=null,Ha._hasCaughtError=!1,e}a("198")}},Va=null,qa={},$a=[],Ga={},Ya={},Ka={},Qa={plugins:$a,eventNameDispatchConfigs:Ga,registrationNameModules:Ya,registrationNameDependencies:Ka,possibleRegistrationNames:null,injectEventPluginOrder:u,injectEventPluginsByName:s},Xa=null,Ja=null,Za=null,er=null,tr={injectEventPluginOrder:u,injectEventPluginsByName:s},nr={injection:tr,getListener:h,runEventsInBatch:b,runExtractedEventsInBatch:v},ar=Math.random().toString(36).slice(2),rr="__reactInternalInstance$"+ar,or="__reactEventHandlers$"+ar,ir={precacheFiberNode:function(e,t){t[rr]=e},getClosestInstanceFromNode:y,getInstanceFromNode:function(e){return e=e[rr],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:_,updateFiberProps:function(e,t){e[or]=t}},lr={accumulateTwoPhaseDispatches:O,accumulateTwoPhaseDispatchesSkipTarget:function(e){p(e,S)},accumulateEnterLeaveDispatches:N,accumulateDirectDispatches:function(e){p(e,P)}},ur={animationend:R("Animation","AnimationEnd"),animationiteration:R("Animation","AnimationIteration"),animationstart:R("Animation","AnimationStart"),transitionend:R("Transition","TransitionEnd")},sr={},cr={};za.canUseDOM&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var fr=I("animationend"),pr=I("animationiteration"),dr=I("animationstart"),mr=I("transitionend"),gr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),hr=null,br={_root:null,_startText:null,_fallbackText:null},vr="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),yr={type:null,target:null,currentTarget:La.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};Da(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=La.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=La.thatReturnsTrue)},persist:function(){this.isPersistent=La.thatReturnsTrue},isPersistent:La.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<vr.length;t++)this[vr[t]]=null}}),z.Interface=yr,z.extend=function(e){function t(){}function n(){return a.apply(this,arguments)}var a=this;t.prototype=a.prototype;var r=new t;return Da(r,n.prototype),n.prototype=r,n.prototype.constructor=n,n.Interface=Da({},a.Interface,e),n.extend=a.extend,F(n),n},F(z);var wr=z.extend({data:null}),_r=z.extend({data:null}),kr=[9,13,27,32],Er=za.canUseDOM&&"CompositionEvent"in window,xr=null;za.canUseDOM&&"documentMode"in document&&(xr=document.documentMode);var Cr=za.canUseDOM&&"TextEvent"in window&&!xr,Sr=za.canUseDOM&&(!Er||xr&&8<xr&&11>=xr),Tr=String.fromCharCode(32),Pr={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(" ")}},Or=!1,Nr=!1,Rr={eventTypes:Pr,extractEvents:function(e,t,n,a){var r=void 0,o=void 0;if(Er)e:{switch(e){case"compositionstart":r=Pr.compositionStart;break e;case"compositionend":r=Pr.compositionEnd;break e;case"compositionupdate":r=Pr.compositionUpdate;break e}r=void 0}else Nr?B(e,n)&&(r=Pr.compositionEnd):"keydown"===e&&229===n.keyCode&&(r=Pr.compositionStart);return r?(Sr&&(Nr||r!==Pr.compositionStart?r===Pr.compositionEnd&&Nr&&(o=j()):(br._root=a,br._startText=A(),Nr=!0)),r=wr.getPooled(r,t,n,a),o?r.data=o:null!==(o=U(n))&&(r.data=o),O(r),o=r):o=null,(e=Cr?W(e,n):H(e,n))?(t=_r.getPooled(Pr.beforeInput,t,n,a),t.data=e,O(t)):t=null,null===o?t:null===t?o:[o,t]}},Ir=null,Mr={injectFiberControlledHostComponent:function(e){Ir=e}},jr=null,Ar=null,zr={injection:Mr,enqueueStateRestore:q,needsStateRestore:$,restoreStateIfNeeded:G},Dr=!1,Lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Fr=Aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Br="function"===typeof Symbol&&Symbol.for,Ur=Br?Symbol.for("react.element"):60103,Wr=Br?Symbol.for("react.portal"):60106,Hr=Br?Symbol.for("react.fragment"):60107,Vr=Br?Symbol.for("react.strict_mode"):60108,qr=Br?Symbol.for("react.profiler"):60114,$r=Br?Symbol.for("react.provider"):60109,Gr=Br?Symbol.for("react.context"):60110,Yr=Br?Symbol.for("react.async_mode"):60111,Kr=Br?Symbol.for("react.forward_ref"):60112,Qr=Br?Symbol.for("react.timeout"):60113,Xr="function"===typeof Symbol&&Symbol.iterator,Jr=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Zr=Object.prototype.hasOwnProperty,eo={},to={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){no[e]=new fe(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];no[t]=new fe(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){no[e]=new fe(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){no[e]=new fe(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){no[e]=new fe(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){no[e]=new fe(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){no[e]=new fe(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){no[e]=new fe(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){no[e]=new fe(e,5,!1,e.toLowerCase(),null)});var ao=/[\-:]([a-z])/g;"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(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new fe("tabIndex",1,!1,"tabindex",null);var ro={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,io=null,lo=!1;za.canUseDOM&&(lo=ee("input")&&(!document.documentMode||9<document.documentMode));var uo={eventTypes:ro,_isInputEventSupported:lo,extractEvents:function(e,t,n,a){var r=t?w(t):window,o=void 0,i=void 0,l=r.nodeName&&r.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===r.type?o=xe:J(r)?lo?o=Ne:(o=Pe,i=Te):(l=r.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(o=Oe),o&&(o=o(e,t)))return _e(o,n,a);i&&i(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&ye(r,"number",r.value)}},so=z.extend({view:null,detail:null}),co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fo=so.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ie,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),po=fo.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),mo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},go={eventTypes:mo,extractEvents:function(e,t,n,a){var r="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(r&&(n.relatedTarget||n.fromElement)||!o&&!r)return null;if(r=a.window===a?a:(r=a.ownerDocument)?r.defaultView||r.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?y(t):null):o=null,o===t)return null;var i=void 0,l=void 0,u=void 0,s=void 0;return"mouseout"===e||"mouseover"===e?(i=fo,l=mo.mouseLeave,u=mo.mouseEnter,s="mouse"):"pointerout"!==e&&"pointerover"!==e||(i=po,l=mo.pointerLeave,u=mo.pointerEnter,s="pointer"),e=null==o?r:w(o),r=null==t?r:w(t),l=i.getPooled(l,o,n,a),l.type=s+"leave",l.target=e,l.relatedTarget=r,n=i.getPooled(u,t,n,a),n.type=s+"enter",n.target=r,n.relatedTarget=e,N(l,n,o,t),[l,n]}},ho=z.extend({animationName:null,elapsedTime:null,pseudoElement:null}),bo=z.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vo=so.extend({relatedTarget:null}),yo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wo={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"},_o=so.extend({key:function(e){if(e.key){var t=yo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Le(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ie,charCode:function(e){return"keypress"===e.type?Le(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Le(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ko=fo.extend({dataTransfer:null}),Eo=so.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ie}),xo=z.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Co=fo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),So=[["abort","abort"],[fr,"animationEnd"],[pr,"animationIteration"],[dr,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[mr,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],To={},Po={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Fe(e,!0)}),So.forEach(function(e){Fe(e,!1)});var Oo={eventTypes:To,isInteractiveTopLevelEventType:function(e){return void 0!==(e=Po[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,a){var r=Po[e];if(!r)return null;switch(e){case"keypress":if(0===Le(n))return null;case"keydown":case"keyup":e=_o;break;case"blur":case"focus":e=vo;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ko;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=Eo;break;case fr:case pr:case dr:e=ho;break;case mr:e=xo;break;case"scroll":e=so;break;case"wheel":e=Co;break;case"copy":case"cut":case"paste":e=bo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=po;break;default:e=z}return t=e.getPooled(r,t,n,a),O(t),t}},No=Oo.isInteractiveTopLevelEventType,Ro=[],Io=!0,Mo={get _enabled(){return Io},setEnabled:Ue,isEnabled:function(){return Io},trapBubbledEvent:We,trapCapturedEvent:He,dispatchEvent:qe},jo={},Ao=0,zo="_reactListenersID"+(""+Math.random()).slice(2),Do=za.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Lo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Fo=null,Bo=null,Uo=null,Wo=!1,Ho={eventTypes:Lo,extractEvents:function(e,t,n,a){var r,o=a.window===a?a.document:9===a.nodeType?a:a.ownerDocument;if(!(r=!o)){e:{o=$e(o),r=Ka.onSelect;for(var i=0;i<r.length;i++){var l=r[i];if(!o.hasOwnProperty(l)||!o[l]){o=!1;break e}}o=!0}r=!o}if(r)return null;switch(o=t?w(t):window,e){case"focus":(J(o)||"true"===o.contentEditable)&&(Fo=o,Bo=t,Uo=null);break;case"blur":Uo=Bo=Fo=null;break;case"mousedown":Wo=!0;break;case"contextmenu":case"mouseup":return Wo=!1,Qe(n,a);case"selectionchange":if(Do)break;case"keydown":case"keyup":return Qe(n,a)}return null}};tr.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Xa=ir.getFiberCurrentPropsFromNode,Ja=ir.getInstanceFromNode,Za=ir.getNodeFromInstance,tr.injectEventPluginsByName({SimpleEventPlugin:Oo,EnterLeaveEventPlugin:go,ChangeEventPlugin:uo,SelectEventPlugin:Ho,BeforeInputEventPlugin:Rr});var Vo="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qo=Date,$o=setTimeout,Go=clearTimeout,Yo=void 0;if("object"===typeof performance&&"function"===typeof performance.now){var Ko=performance;Yo=function(){return Ko.now()}}else Yo=function(){return qo.now()};var Qo=void 0,Xo=void 0;if(za.canUseDOM){var Jo="function"===typeof Vo?Vo:function(){a("276")},Zo=null,ei=null,ti=-1,ni=!1,ai=!1,ri=0,oi=33,ii=33,li={didTimeout:!1,timeRemaining:function(){var e=ri-Yo();return 0<e?e:0}},ui=function(e,t){var n=e.scheduledCallback,a=!1;try{n(t),a=!0}finally{Xo(e),a||(ni=!0,window.postMessage(si,"*"))}},si="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===si&&(ni=!1,null!==Zo)){if(null!==Zo){var t=Yo();if(!(-1===ti||ti>t)){e=-1;for(var n=[],a=Zo;null!==a;){var r=a.timeoutTime;-1!==r&&r<=t?n.push(a):-1!==r&&(-1===e||r<e)&&(e=r),a=a.next}if(0<n.length)for(li.didTimeout=!0,t=0,a=n.length;t<a;t++)ui(n[t],li);ti=e}}for(e=Yo();0<ri-e&&null!==Zo;)e=Zo,li.didTimeout=!1,ui(e,li),e=Yo();null===Zo||ai||(ai=!0,Jo(ci))}},!1);var ci=function(e){ai=!1;var t=e-ri+ii;t<ii&&oi<ii?(8>t&&(t=8),ii=t<oi?oi:t):oi=t,ri=e+ii,ni||(ni=!0,window.postMessage(si,"*"))};Qo=function(e,t){var n=-1;return null!=t&&"number"===typeof t.timeout&&(n=Yo()+t.timeout),(-1===ti||-1!==n&&n<ti)&&(ti=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Zo?Zo=e:null!==(t=e.prev=ei)&&(t.next=e),ei=e,ai||(ai=!0,Jo(ci)),e},Xo=function(e){if(null!==e.prev||Zo===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Zo=t):null!==n?(n.next=null,ei=n):ei=Zo=null}}}else{var fi=new Map;Qo=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=$o(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return fi.set(e,n),t},Xo=function(e){var t=fi.get(e.scheduledCallback);fi.delete(e),Go(t)}}var pi={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},di=void 0,mi=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==pi.svg||"innerHTML"in e)e.innerHTML=t;else{for(di=di||document.createElement("div"),di.innerHTML="<svg>"+t+"</svg>",t=di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),gi={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},hi=["Webkit","ms","Moz","O"];Object.keys(gi).forEach(function(e){hi.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gi[t]=gi[e]})});var bi=Da({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),vi=La.thatReturns(""),yi={createElement:pt,createTextNode:dt,setInitialProperties:mt,diffProperties:gt,updateProperties:ht,diffHydratedProperties:bt,diffHydratedText:vt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(be(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_(r);o||a("90"),re(r),be(r,o)}}}break;case"textarea":at(e,n);break;case"select":null!=(t=n.value)&&Ze(e,!!n.multiple,t,!1)}}},wi=null,_i=null,ki=Yo,Ei=Qo,xi=Xo;new Set;var Ci=[],Si=-1,Ti=Et(Wa),Pi=Et(!1),Oi=Wa,Ni=null,Ri=null,Ii=!1,Mi=Et(null),ji=Et(null),Ai=Et(0),zi={},Di=Et(zi),Li=Et(zi),Fi=Et(zi),Bi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Me(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var a=ea();a=Jn(a,e);var r=Yt(a);r.payload=t,void 0!==n&&null!==n&&(r.callback=n),Qt(e,r,a),Zn(e,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var a=ea();a=Jn(a,e);var r=Yt(a);r.tag=1,r.payload=t,void 0!==n&&null!==n&&(r.callback=n),Qt(e,r,a),Zn(e,a)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ea();n=Jn(n,e);var a=Yt(n);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),Qt(e,a,n),Zn(e,n)}},Ui=Array.isArray,Wi=bn(!0),Hi=bn(!1),Vi=null,qi=null,$i=!1,Gi=void 0,Yi=void 0,Ki=void 0;Gi=function(){},Yi=function(e,t,n){(t.updateQueue=n)&&Mn(t)},Ki=function(e,t,n,a){n!==a&&Mn(t)};var Qi=ki(),Xi=2,Ji=Qi,Zi=0,el=0,tl=!1,nl=null,al=null,rl=0,ol=-1,il=!1,ll=null,ul=!1,sl=!1,cl=null,fl=null,pl=null,dl=0,ml=void 0,gl=!1,hl=null,bl=0,vl=0,yl=!1,wl=!1,_l=null,kl=null,El=!1,xl=!1,Cl=!1,Sl=null,Tl=1e3,Pl=0,Ol=1,Nl={updateContainerAtExpirationTime:_a,createContainer:function(e,t,n){return Ut(e,t,n)},updateContainer:Ea,flushRoot:sa,requestWork:ra,computeUniqueAsyncExpiration:Xn,batchedUpdates:ha,unbatchedUpdates:ba,deferredUpdates:ta,syncUpdates:na,interactiveUpdates:ya,flushInteractiveUpdates:function(){gl||0===vl||(ua(vl,!1,null),vl=0)},flushControlled:wa,flushSync:va,getPublicRootInstance:xa,findHostInstance:ka,findHostInstanceWithNoPortals:function(e){return e=De(e),null===e?null:e.stateNode},injectIntoDevTools:Ca};Mr.injectFiberControlledHostComponent(yi),Ta.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Pa;return _a(e,t,null,n,r._onCommit),r},Ta.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ta.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&a("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,sa(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ta.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Pa.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Pa.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&a("191",n),n()}}},Oa.prototype.render=function(e,t){var n=this._internalRoot,a=new Pa;return t=void 0===t?null:t,null!==t&&a.then(t),Ea(e,n,null,a._onCommit),a},Oa.prototype.unmount=function(e){var t=this._internalRoot,n=new Pa;return e=void 0===e?null:e,null!==e&&n.then(e),Ea(null,t,null,n._onCommit),n},Oa.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var a=this._internalRoot,r=new Pa;return n=void 0===n?null:n,null!==n&&r.then(n),Ea(t,a,e,r._onCommit),r},Oa.prototype.createBatch=function(){var e=new Ta(this),t=e._expirationTime,n=this._internalRoot,a=n.firstBatch;if(null===a)n.firstBatch=e,e._next=null;else{for(n=null;null!==a&&a._expirationTime<=t;)n=a,a=a._next;e._next=a,null!==n&&(n._next=e)}return e},Y=Nl.batchedUpdates,K=Nl.interactiveUpdates,Q=Nl.flushInteractiveUpdates;var Rl={createPortal:Ma,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:ka(e)},hydrate:function(e,t,n){return Ia(null,e,t,!0,n)},render:function(e,t,n){return Ia(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&a("38"),Ia(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Na(e)||a("40"),!!e._reactRootContainer&&(ba(function(){Ia(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Ma.apply(void 0,arguments)},unstable_batchedUpdates:ha,unstable_deferredUpdates:ta,unstable_interactiveUpdates:ya,flushSync:va,unstable_flushControlled:wa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:nr,EventPluginRegistry:Qa,EventPropagators:lr,ReactControlledComponent:zr,ReactDOMComponentTree:ir,ReactDOMEventListener:Mo},unstable_createRoot:function(e,t){return new Oa(e,!0,null!=t&&!0===t.hydrate)}};Ca({findFiberByHostInstance:y,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Il={default:Rl},Ml=Il&&Rl||Il;e.exports=Ml.default?Ml.default:Ml},function(e,t,n){"use strict";function a(e){return r(e)&&3==e.nodeType}var r=n(219);e.exports=a},function(e,t,n){"use strict";function a(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=a},function(e,t,n){"use strict";(function(t){"production"!==t.env.NODE_ENV&&function(){function t(){if(Au)for(var e in zu){var t=zu[e],n=Au.indexOf(e);if(n>-1||bu(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!Du[n]){t.extractEvents||bu(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),Du[n]=t;var r=t.eventTypes;for(var o in r)a(r[o],t,o)||bu(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function a(e,t,n){Lu.hasOwnProperty(n)&&bu(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),Lu[n]=e;var a=e.phasedRegistrationNames;if(a){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];r(i,t,n)}return!0}return!!e.registrationName&&(r(e.registrationName,t,n),!0)}function r(e,t,n){Fu[e]&&bu(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),Fu[e]=t,Bu[e]=t.eventTypes[n].dependencies;var a=e.toLowerCase();Uu[a]=e,"onDoubleClick"===e&&(Uu.ondblclick=e)}function o(e){Au&&bu(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),Au=Array.prototype.slice.call(e),t()}function i(e){var n=!1;for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];zu.hasOwnProperty(a)&&zu[a]===r||(zu[a]&&bu(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",a),zu[a]=r,n=!0)}n&&t()}function l(e,t,n,a){var r=e.type||"unknown-event";e.currentTarget=qu(a),Mu.invokeGuardedCallbackAndCatchFirstError(r,n,void 0,e),e.currentTarget=null}function u(e,t){var n=e._dispatchListeners,a=e._dispatchInstances;if(Gu(e),Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)l(e,t,n[r],a[r]);else n&&l(e,t,n,a);e._dispatchListeners=null,e._dispatchInstances=null}function s(e,t){return null==t&&bu(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function c(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function f(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function p(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!f(t));default:return!1}}function d(e,t){var n=void 0,a=e.stateNode;if(!a)return null;var r=Hu(a);return r?(n=r[t],p(t,e.type,r)?null:(n&&"function"!==typeof n&&bu(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n),n)):null}function m(e,t,n,a){for(var r=null,o=0;o<Du.length;o++){var i=Du[o];if(i){var l=i.extractEvents(e,t,n,a);l&&(r=s(r,l))}}return r}function g(e,t){null!==e&&(Yu=s(Yu,e));var n=Yu;Yu=null,n&&(t?c(n,Qu):c(n,Xu),Yu&&bu(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),Mu.rethrowCaughtError())}function h(e,t,n,a){g(m(e,t,n,a),!1)}function b(e,t){t[gs]=e}function v(e){if(e[gs])return e[gs];for(;!e[gs];){if(!e.parentNode)return null;e=e.parentNode}var t=e[gs];return t.tag===os||t.tag===is?t:null}function y(e){var t=e[gs];return t&&(t.tag===os||t.tag===is)?t:null}function w(e){if(e.tag===os||e.tag===is)return e.stateNode;bu(!1,"getNodeFromInstance: Invalid argument.")}function _(e){return e[hs]||null}function k(e,t){e[hs]=t}function E(e){do{e=e.return}while(e&&e.tag!==os);return e||null}function x(e,t){for(var n=0,a=e;a;a=E(a))n++;for(var r=0,o=t;o;o=E(o))r++;for(;n-r>0;)e=E(e),n--;for(;r-n>0;)t=E(t),r--;for(var i=n;i--;){if(e===t||e===t.alternate)return e;e=E(e),t=E(t)}return null}function C(e){return E(e)}function S(e,t,n){for(var a=[];e;)a.push(e),e=E(e);var r=void 0;for(r=a.length;r-- >0;)t(a[r],"captured",n);for(r=0;r<a.length;r++)t(a[r],"bubbled",n)}function T(e,t,n,a,r){for(var o=e&&t?x(e,t):null,i=[];;){if(!e)break;if(e===o)break;var l=e.alternate;if(null!==l&&l===o)break;i.push(e),e=E(e)}for(var u=[];;){if(!t)break;if(t===o)break;var s=t.alternate;if(null!==s&&s===o)break;u.push(t),t=E(t)}for(var c=0;c<i.length;c++)n(i[c],"bubbled",a);for(var f=u.length;f-- >0;)n(u[f],"captured",r)}function P(e,t,n){return d(e,t.dispatchConfig.phasedRegistrationNames[n])}function O(e,t,n){e||yu(!1,"Dispatching inst must not be null");var a=P(e,n,t);a&&(n._dispatchListeners=s(n._dispatchListeners,a),n._dispatchInstances=s(n._dispatchInstances,e))}function N(e){e&&e.dispatchConfig.phasedRegistrationNames&&S(e._targetInst,O,e)}function R(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;S(t?C(t):null,O,e)}}function I(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var a=n.dispatchConfig.registrationName,r=d(e,a);r&&(n._dispatchListeners=s(n._dispatchListeners,r),n._dispatchInstances=s(n._dispatchInstances,e))}}function M(e){e&&e.dispatchConfig.registrationName&&I(e._targetInst,null,e)}function j(e){c(e,N)}function A(e){c(e,R)}function z(e,t,n,a){T(n,a,I,e,t)}function D(e){c(e,M)}function L(e){return e}function F(e){return e}function B(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function U(e){if(ws[e])return ws[e];if(!ys[e])return e;var t=ys[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _s)return ws[e]=t[n];return e}function W(e){return F(e)}function H(){return!Yc&&wu.canUseDOM&&(Yc="textContent"in document.documentElement?"textContent":"innerText"),Yc}function V(e){return Kc._root=e,Kc._startText=G(),!0}function q(){Kc._root=null,Kc._startText=null,Kc._fallbackText=null}function $(){if(Kc._fallbackText)return Kc._fallbackText;var e=void 0,t=Kc._startText,n=t.length,a=void 0,r=G(),o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var i=n-e;for(a=1;a<=i&&t[n-a]===r[o-a];a++);var l=a>1?1-a:void 0;return Kc._fallbackText=r.slice(e,l),Kc._fallbackText}function G(){return"value"in Kc._root?Kc._root.value:Kc._root[H()]}function Y(e,t,n,a){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){delete this[o];var i=r[o];i?this[o]=i(n):"target"===o?this.target=a:this[o]=n[o]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?ku.thatReturnsTrue:ku.thatReturnsFalse,this.isPropagationStopped=ku.thatReturnsFalse,this}function K(e,t){function n(e){return r(o?"setting the method":"setting the property","This is effectively a no-op"),e}function a(){return r(o?"accessing the method":"accessing the property",o?"This is a no-op function":"This is set to null"),t}function r(t,n){yu(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}var o="function"===typeof t;return{configurable:!0,set:n,get:a}}function Q(e,t,n,a){var r=this;if(r.eventPool.length){var o=r.eventPool.pop();return r.call(o,e,t,n,a),o}return new r(e,t,n,a)}function X(e){var t=this;e instanceof t||bu(!1,"Trying to release an event instance into a pool of a different type."),e.destructor(),t.eventPool.length<Xc&&t.eventPool.push(e)}function J(e){e.eventPool=[],e.getPooled=Q,e.release=X}function Z(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ee(e){switch(e){case js:return pf.compositionStart;case Ms:return pf.compositionEnd;case As:return pf.compositionUpdate}}function te(e,t){return e===ac&&t.keyCode===rf}function ne(e,t){switch(e){case oc:return-1!==af.indexOf(t.keyCode);case ac:return t.keyCode!==rf;case rc:case fc:case Ss:return!0;default:return!1}}function ae(e){var t=e.detail;return"object"===typeof t&&"data"in t?t.data:null}function re(e,t,n,a){var r=void 0,o=void 0;if(of?r=ee(e):mf?ne(e,n)&&(r=pf.compositionEnd):te(e,n)&&(r=pf.compositionStart),!r)return null;sf&&(mf||r!==pf.compositionStart?r===pf.compositionEnd&&mf&&(o=$()):mf=V(a));var i=tf.getPooled(r,t,n,a);if(o)i.data=o;else{var l=ae(n);null!==l&&(i.data=l)}return j(i),i}function oe(e,t){switch(e){case Ms:return ae(t);case rc:return t.which!==cf?null:(df=!0,ff);case zc:var n=t.data;return n===ff&&df?null:n;default:return null}}function ie(e,t){if(mf){if(e===Ms||!of&&ne(e,t)){var n=$();return q(),mf=!1,n}return null}switch(e){case hc:return null;case rc:if(!Z(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case Ms:return sf?null:t.data;default:return null}}function le(e,t,n,a){var r=void 0;if(!(r=uf?oe(e,n):ie(e,n)))return null;var o=nf.getPooled(pf.beforeInput,t,n,a);return o.data=r,j(o),o}function ue(e){var t=Vu(e);if(t){hf&&"function"===typeof hf.restoreControlledState||bu(!1,"Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=Hu(t.stateNode);hf.restoreControlledState(t.stateNode,t.type,n)}}function se(e){vf?yf?yf.push(e):yf=[e]:vf=e}function ce(){return null!==vf||null!==yf}function fe(){if(vf){var e=vf,t=yf;if(vf=null,yf=null,ue(e),t)for(var n=0;n<t.length;n++)ue(t[n])}}function pe(e,t){if(Cf)return e(t);Cf=!0;try{return kf(e,t)}finally{Cf=!1;ce()&&(xf(),fe())}}function de(e,t,n){return Ef(e,t,n)}function me(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tf[e.type]:"textarea"===t}function ge(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Of?t.parentNode:t}function he(e,t){if(!wu.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var r=document.createElement("div");r.setAttribute(n,"return;"),a="function"===typeof r[n]}return a}function be(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function ve(e){return e._valueTracker}function ye(e){e._valueTracker=null}function we(e){var t="";return e?t=be(e)?e.checked?"true":"false":e.value:t}function _e(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});return{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){ye(e),delete e[t]}}}}function ke(e){ve(e)||(e._valueTracker=_e(e))}function Ee(e){if(!e)return!1;var t=ve(e);if(!t)return!0;var n=t.getValue(),a=we(e);return a!==n&&(t.setValue(a),!0)}function xe(e){if(null===e||"undefined"===typeof e)return null;var t=Yf&&e[Yf]||e[Kf];return"function"===typeof t?t:null}function Ce(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case qf:return"AsyncMode";case Vf:return"Context.Consumer";case Bf:return"ReactFragment";case Ff:return"ReactPortal";case Wf:return"Profiler("+e.pendingProps.id+")";case Hf:return"Context.Provider";case Uf:return"StrictMode";case Gf:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case $f:var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return null}function Se(e){switch(e.tag){case es:case ts:case ns:case os:var t=e._debugOwner,n=e._debugSource,a=Ce(e),r=null;return t&&(r=Ce(t)),zf(a,n,r);default:return""}}function Te(e){var t="",n=e;do{t+=Se(n),n=n.return}while(n);return t}function Pe(){var e=Qf.current;if(null===e)return null;var t=e._debugOwner;return null!==t&&"undefined"!==typeof t?Ce(t):null}function Oe(){var e=Qf.current;return null===e?null:Te(e)}function Ne(){Af.getCurrentStack=null,Qf.current=null,Qf.phase=null}function Re(e){Af.getCurrentStack=Oe,Qf.current=e,Qf.phase=null}function Ie(e){Qf.phase=e}function Me(e){return!!lp.call(sp,e)||!lp.call(up,e)&&(ip.test(e)?(sp[e]=!0,!0):(up[e]=!0,yu(!1,"Invalid attribute name: `%s`",e),!1))}function je(e,t,n){return null!==t?t.type===Xf:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function Ae(e,t,n,a){if(null!==n&&n.type===Xf)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(a)return!1;if(null!==n)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return"data-"!==r&&"aria-"!==r;default:return!1}}function ze(e,t,n,a){if(null===t||"undefined"===typeof t)return!0;if(Ae(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case Zf:return!t;case ep:return!1===t;case tp:return isNaN(t);case np:return isNaN(t)||t<1}return!1}function De(e){return cp.hasOwnProperty(e)?cp[e]:null}function Le(e,t,n,a,r){this.acceptsBooleans=t===Jf||t===Zf||t===ep,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}function Fe(e,t,n,a){if(a.mustUseProperty){return e[a.propertyName]}var r=a.attributeName,o=null;if(a.type===ep){if(e.hasAttribute(r)){var i=e.getAttribute(r);return""===i||(ze(t,n,a,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(r)){if(ze(t,n,a,!1))return e.getAttribute(r);if(a.type===Zf)return n;o=e.getAttribute(r)}return ze(t,n,a,!1)?null===o?n:o:o===""+n?n:o}function Be(e,t,n){if(Me(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var a=e.getAttribute(t);return a===""+n?n:a}}function Ue(e,t,n,a){var r=De(t);if(!je(t,r,a))if(ze(t,n,r,a)&&(n=null),a||null===r){if(Me(t)){var o=t;null===n?e.removeAttribute(o):e.setAttribute(o,""+n)}}else{var i=r.mustUseProperty;if(i){var l=r.propertyName;if(null===n){var u=r.type;e[l]=u!==Zf&&""}else e[l]=n}else{var s=r.attributeName,c=r.attributeNamespace;if(null===n)e.removeAttribute(s);else{var f=r.type,p=void 0;p=f===Zf||f===ep&&!0===n?"":""+n,c?e.setAttributeNS(c,s,p):e.setAttribute(s,p)}}}}function We(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function He(e,t){var n=e,a=t.checked;return _u({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=a?a:n._wrapperState.initialChecked})}function Ve(e,t){dp.checkPropTypes("input",t,bp),void 0===t.checked||void 0===t.defaultChecked||yp||(yu(!1,"%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",hp()||"A component",t.type),yp=!0),void 0===t.value||void 0===t.defaultValue||vp||(yu(!1,"%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",hp()||"A component",t.type),vp=!0);var n=e,a=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Xe(null!=t.value?t.value:a),controlled:We(t)}}function qe(e,t){var n=e,a=t.checked;null!=a&&Ue(n,"checked",a,!1)}function $e(e,t){var n=e,a=We(t);n._wrapperState.controlled||!a||_p||(yu(!1,"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%s",t.type,bp()),_p=!0),!n._wrapperState.controlled||a||wp||(yu(!1,"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%s",t.type,bp()),wp=!0),qe(e,t);var r=Xe(t.value);null!=r&&("number"===t.type?(0===r&&""===n.value||n.value!=r)&&(n.value=""+r):n.value!==""+r&&(n.value=""+r)),t.hasOwnProperty("value")?Qe(n,t.type,r):t.hasOwnProperty("defaultValue")&&Qe(n,t.type,Xe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function Ge(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=""+a._wrapperState.initialValue,o=a.value;n||r!==o&&(a.value=r),a.defaultValue=r}var i=a.name;""!==i&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!a.defaultChecked,""!==i&&(a.name=i)}function Ye(e,t){var n=e;$e(n,t),Ke(n,t)}function Ke(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var a=e;a.parentNode;)a=a.parentNode;for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<r.length;o++){var i=r[o];if(i!==e&&i.form===e.form){var l=_(i);l||bu(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),Ee(i),$e(i,l)}}}}function Qe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Xe(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Je(e,t,n){var a=ef.getPooled(kp.change,e,t,n);return a.type="change",se(n),j(a),a}function Ze(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function et(e){pe(tt,Je(xp,e,ge(e)))}function tt(e){g(e,!1)}function nt(e){if(Ee(w(e)))return e}function at(e,t){if(e===Ns)return t}function rt(e,t){Ep=e,xp=t,Ep.attachEvent("onpropertychange",it)}function ot(){Ep&&(Ep.detachEvent("onpropertychange",it),Ep=null,xp=null)}function it(e){"value"===e.propertyName&&nt(xp)&&et(e)}function lt(e,t,n){e===Zs?(ot(),rt(t,n)):e===Ss&&ot()}function ut(e,t){if(e===Ic||e===oc||e===ac)return nt(xp)}function st(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function ct(e,t){if(e===Rs)return nt(t)}function ft(e,t){if(e===tc||e===Ns)return nt(t)}function pt(e){var t=e._wrapperState;t&&t.controlled&&"number"===e.type&&Qe(e,"number",e.value)}function dt(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=Op[e];return!!a&&!!n[a]}function mt(e){return dt}function gt(e){return e._reactInternalFiber}function ht(e){return void 0!==e._reactInternalFiber}function bt(e,t){e._reactInternalFiber=t}function vt(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if((t.effectTag&zp)!==jp)return Yp;for(;t.return;)if(t=t.return,(t.effectTag&zp)!==jp)return Yp}return t.tag===as?Kp:Qp}function yt(e){return vt(e)===Kp}function wt(e){var t=jf.current;if(null!==t&&t.tag===ns){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||yu(!1,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ce(n)||"A component"),a._warnedAboutRefsInRender=!0}var r=gt(e);return!!r&&vt(r)===Kp}function _t(e){vt(e)!==Kp&&bu(!1,"Unable to find node on an unmounted component.")}function kt(e){var t=e.alternate;if(!t){var n=vt(e);return n===Qp&&bu(!1,"Unable to find node on an unmounted component."),n===Yp?null:e}for(var a=e,r=t;;){var o=a.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var l=o.child;l;){if(l===a)return _t(o),e;if(l===r)return _t(o),t;l=l.sibling}bu(!1,"Unable to find node on an unmounted component.")}if(a.return!==r.return)a=o,r=i;else{for(var u=!1,s=o.child;s;){if(s===a){u=!0,a=o,r=i;break}if(s===r){u=!0,r=o,a=i;break}s=s.sibling}if(!u){for(s=i.child;s;){if(s===a){u=!0,a=i,r=o;break}if(s===r){u=!0,r=i,a=o;break}s=s.sibling}u||bu(!1,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a.alternate!==r&&bu(!1,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return a.tag!==as&&bu(!1,"Unable to find node on an unmounted component."),a.stateNode.current===a?e:t}function Et(e){var t=kt(e);if(!t)return null;for(var n=t;;){if(n.tag===os||n.tag===is)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function xt(e){var t=kt(e);if(!t)return null;for(var n=t;;){if(n.tag===os||n.tag===is)return n;if(n.child&&n.tag!==rs)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function Ct(e,t,n){e.addEventListener(t,n,!1)}function St(e,t,n){e.addEventListener(t,n,!0)}function Tt(e){var t=void 0,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function Pt(e){if(e.key){var t=ed[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Tt(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?td[e.keyCode]||"Unidentified":""}function Ot(e,t){var n=e[0],a=e[1],r=a[0].toUpperCase()+a.slice(1),o="on"+r,i={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],isInteractive:t};sd[a]=i,cd[n]=i}function Nt(e){for(;e.return;)e=e.return;return e.tag!==as?null:e.stateNode.containerInfo}function Rt(e,t,n){if(gd.length){var a=gd.pop();return a.topLevelType=e,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]}}function It(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,gd.length<md&&gd.push(e)}function Mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var a=Nt(n);if(!a)break;e.ancestors.push(n),n=v(a)}while(n);for(var r=0;r<e.ancestors.length;r++)t=e.ancestors[r],h(e.topLevelType,t,e.nativeEvent,ge(e.nativeEvent))}function jt(e){hd=!!e}function At(){return hd}function zt(e,t){if(!t)return null;var n=dd(e)?Lt:Ft;Ct(t,W(e),n.bind(null,e))}function Dt(e,t){if(!t)return null;var n=dd(e)?Lt:Ft;St(t,W(e),n.bind(null,e))}function Lt(e,t){de(Ft,e,t)}function Ft(e,t){if(hd){var n=ge(t),a=v(n);null===a||"number"!==typeof a.tag||yt(a)||(a=null);var r=Rt(e,t,a);try{pe(Mt,r)}finally{It(r)}}}function Bt(e){return Object.prototype.hasOwnProperty.call(e,wd)||(e[wd]=yd++,vd[e[wd]]={}),vd[e[wd]]}function Ut(e,t){for(var n=Bt(t),a=Bu[e],r=0;r<a.length;r++){var o=a[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case Oc:Dt(Oc,t);break;case Zs:case Ss:Dt(Zs,t),Dt(Ss,t),n[Ss]=!0,n[Zs]=!0;break;case Os:case Is:he(W(o),!0)&&Dt(o,t);break;case nc:case jc:case Pc:break;default:-1!==Gc.indexOf(o)||zt(o,t)}n[o]=!0}}}function Wt(e,t){for(var n=Bt(t),a=Bu[e],r=0;r<a.length;r++){var o=a[r];if(!n.hasOwnProperty(o)||!n[o])return!1}return!0}function Ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function qt(e,t){for(var n=Ht(e),a=0,r=0;n;){if(n.nodeType===Of){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Ht(Vt(n))}}function $t(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,a=t.anchorOffset,r=t.focusNode,o=t.focusOffset;try{n.nodeType,r.nodeType}catch(e){return null}return Gt(e,n,a,r,o)}function Gt(e,t,n,a,r){var o=0,i=-1,l=-1,u=0,s=0,c=e,f=null;e:for(;;){for(var p=null;;){if(c!==t||0!==n&&c.nodeType!==Of||(i=o+n),c!==a||0!==r&&c.nodeType!==Of||(l=o+r),c.nodeType===Of&&(o+=c.nodeValue.length),null===(p=c.firstChild))break;f=c,c=p}for(;;){if(c===e)break e;if(f===t&&++u===n&&(i=o),f===a&&++s===r&&(l=o),null!==(p=c.nextSibling))break;c=f,f=c.parentNode}c=p}return-1===i||-1===l?null:{start:i,end:l}}function Yt(e,t){if(window.getSelection){var n=window.getSelection(),a=e[H()].length,r=Math.min(t.start,a),o=void 0===t.end?r:Math.min(t.end,a);if(!n.extend&&r>o){var i=o;o=r,r=i}var l=qt(e,r),u=qt(e,o);if(l&&u){if(1===n.rangeCount&&n.anchorNode===l.node&&n.anchorOffset===l.offset&&n.focusNode===u.node&&n.focusOffset===u.offset)return;var s=document.createRange();s.setStart(l.node,l.offset),n.removeAllRanges(),r>o?(n.addRange(s),n.extend(u.node,u.offset)):(s.setEnd(u.node,u.offset),n.addRange(s))}}}function Kt(e){return Su(document.documentElement,e)}function Qt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xt(){var e=xu();return{focusedElem:e,selectionRange:Qt(e)?Zt(e):null}}function Jt(e){var t=xu(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&Kt(n)){null!==a&&Qt(n)&&en(n,a);for(var r=[],o=n;o=o.parentNode;)o.nodeType===Pf&&r.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"===typeof n.focus&&n.focus();for(var i=0;i<r.length;i++){var l=r[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Zt(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:$t(e))||{start:0,end:0}}function en(e,t){var n=t.start,a=t.end;void 0===a&&(a=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):Yt(e,t)}function tn(e){if("selectionStart"in e&&Qt(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}}function nn(e,t){if(Sd||null==Ed||Ed!==xu())return null;var n=tn(Ed);if(!Cd||!Cu(Cd,n)){Cd=n;var a=ef.getPooled(kd.select,xd,e,t);return a.type="select",a.target=Ed,j(a),a}return null}function an(e){var t="";return vu.Children.forEach(e,function(e){null!=e&&("string"!==typeof e&&"number"!==typeof e||(t+=e))}),t}function rn(e,t){null==t.selected||Zd||(yu(!1,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zd=!0)}function on(e,t){null!=t.value&&e.setAttribute("value",t.value)}function ln(e,t){var n=_u({children:void 0},t),a=an(t.children);return a&&(n.children=a),n}function un(){var e=em();return e?"\n\nCheck the render method of `"+e+"`.":""}function sn(e){dp.checkPropTypes("select",e,tm);for(var t=0;t<am.length;t++){var n=am[t];if(null!=e[n]){var a=Array.isArray(e[n]);e.multiple&&!a?yu(!1,"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,un()):!e.multiple&&a&&yu(!1,"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,un())}}}function cn(e,t,n,a){var r=e.options;if(t){for(var o=n,i={},l=0;l<o.length;l++)i["$"+o[l]]=!0;for(var u=0;u<r.length;u++){var s=i.hasOwnProperty("$"+r[u].value);r[u].selected!==s&&(r[u].selected=s),s&&a&&(r[u].defaultSelected=!0)}}else{for(var c=""+n,f=null,p=0;p<r.length;p++){if(r[p].value===c)return r[p].selected=!0,void(a&&(r[p].defaultSelected=!0));null!==f||r[p].disabled||(f=r[p])}null!==f&&(f.selected=!0)}}function fn(e,t){return _u({},t,{value:void 0})}function pn(e,t){var n=e;sn(t);var a=t.value;n._wrapperState={initialValue:null!=a?a:t.defaultValue,wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||nm||(yu(!1,"Select 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 select element and remove one of these props. More info: https://fb.me/react-controlled-components"),nm=!0)}function dn(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;null!=a?cn(n,!!t.multiple,a,!1):null!=t.defaultValue&&cn(n,!!t.multiple,t.defaultValue,!0)}function mn(e,t){var n=e;n._wrapperState.initialValue=void 0;var a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;null!=r?cn(n,!!t.multiple,r,!1):a!==!!t.multiple&&(null!=t.defaultValue?cn(n,!!t.multiple,t.defaultValue,!0):cn(n,!!t.multiple,t.multiple?[]:"",!1))}function gn(e,t){var n=e,a=t.value;null!=a&&cn(n,!!t.multiple,a,!1)}function hn(e,t){var n=e;return null!=t.dangerouslySetInnerHTML&&bu(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),_u({},t,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function bn(e,t){var n=e;dp.checkPropTypes("textarea",t,rm),void 0===t.value||void 0===t.defaultValue||om||(yu(!1,"Textarea 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 textarea and remove one of these props. More info: https://fb.me/react-controlled-components"),om=!0);var a=t.value;if(null==a){var r=t.defaultValue,o=t.children;null!=o&&(yu(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=r&&bu(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(o)&&(o.length<=1||bu(!1,"<textarea> can only have at most one child."),o=o[0]),r=""+o),null==r&&(r=""),a=r}n._wrapperState={initialValue:""+a}}function vn(e,t){var n=e,a=t.value;if(null!=a){var r=""+a;r!==n.value&&(n.value=r),null==t.defaultValue&&(n.defaultValue=r)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)}function yn(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&(n.value=a)}function wn(e,t){vn(e,t)}function _n(e){switch(e){case"svg":return um;case"math":return lm;default:return im}}function kn(e,t){return null==e||e===im?_n(t):e===um&&"foreignObject"===t?im:e}function En(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function xn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||dm.hasOwnProperty(e)&&dm[e]?(""+t).trim():t+"px"}function Cn(e){var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(null!=r){var o=0===a.indexOf("--");t+=n+Pu(a)+":",t+=xn(a,r,o),n=";"}}return t||null}function Sn(e,t,n){var a=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||Tm(r,t[r],n);var i=xn(r,t[r],o);"float"===r&&(r="cssFloat"),o?a.setProperty(r,i):a[r]=i}}function Tn(e,t,n){t&&(Om[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&bu(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&bu(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"===typeof t.dangerouslySetInnerHTML&&Nm in t.dangerouslySetInnerHTML||bu(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&yu(!1,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.%s",n()),null!=t.style&&"object"!==typeof t.style&&bu(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",n()))}function Pn(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function On(){var e=Af.getStackAddendum();return null!=e?e:""}function Nn(e,t){if(zm.call(Mm,t)&&Mm[t])return!0;if(Am.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Im.hasOwnProperty(n)?n:null;if(null==a)return yu(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.%s",t,On()),Mm[t]=!0,!0;if(t!==a)return yu(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?%s",t,a,On()),Mm[t]=!0,!0}if(jm.test(t)){var r=t.toLowerCase(),o=Im.hasOwnProperty(r)?r:null;if(null==o)return Mm[t]=!0,!1;if(t!==o)return yu(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?%s",t,o,On()),Mm[t]=!0,!0}return!0}function Rn(e,t){var n=[];for(var a in t){Nn(e,a)||n.push(a)}var r=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?yu(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",r,e,On()):n.length>1&&yu(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",r,e,On())}function In(e,t){Pn(e,t)||Rn(e,t)}function Mn(){var e=Af.getStackAddendum();return null!=e?e:""}function jn(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Dm||(Dm=!0,"select"===e&&t.multiple?yu(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.%s",e,Mn()):yu(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.%s",e,Mn()))}function An(){var e=Af.getStackAddendum();return null!=e?e:""}function zn(e,t,n){Pn(e,t)||qm(e,t,n)}function Dn(e,t){Ut(t,e.nodeType===Rf||e.nodeType===If?e:e.ownerDocument)}function Ln(e){return e.nodeType===Rf?e:e.ownerDocument}function Fn(e){e.onclick=ku}function Bn(e,t,n,a,r){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];if(o===tg)i&&Object.freeze(i),Sn(t,i,rg);else if(o===Qm){var l=i?i[ng]:void 0;null!=l&&fm(t,l)}else if(o===eg)if("string"===typeof i){var u="textarea"!==e||""!==i;u&&pm(t,i)}else"number"===typeof i&&pm(t,""+i);else o===Xm||o===Jm||o===Zm||(Fu.hasOwnProperty(o)?null!=i&&("function"!==typeof i&&fg(o,i),Dn(n,o)):null!=i&&Ue(t,o,i,r))}}function Un(e,t,n,a){for(var r=0;r<t.length;r+=2){var o=t[r],i=t[r+1];o===tg?Sn(e,i,rg):o===Qm?fm(e,i):o===eg?pm(e,i):Ue(e,o,i,a)}}function Wn(e,t,n,a){var r=void 0,o=Ln(n),i=void 0,l=a;if(l===ag&&(l=_n(e)),l===ag)if((r=Pn(e,t))||e===e.toLowerCase()||yu(!1,"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=o.createElement("div");u.innerHTML="<script><\/script>";var s=u.firstChild;i=u.removeChild(s)}else i="string"===typeof t.is?o.createElement(e,{is:t.is}):o.createElement(e);else i=o.createElementNS(l,e);return l===ag&&(r||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||Object.prototype.hasOwnProperty.call(og,e)||(og[e]=!0,yu(!1,"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}function Hn(e,t){return Ln(t).createTextNode(e)}function Vn(e,t,n,a){var r=Pn(t,n);lg(t,n),r&&!Km&&e.shadyRoot&&(yu(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",$m()||"A component"),Km=!0);var o=void 0;switch(t){case"iframe":case"object":zt(ic,e),o=n;break;case"video":case"audio":for(var i=0;i<Gc.length;i++)zt(Gc[i],e);o=n;break;case"source":zt(Js,e),o=n;break;case"img":case"image":case"link":zt(Js,e),zt(ic,e),o=n;break;case"form":zt(Pc,e),zt(jc,e),o=n;break;case"details":zt(Lc,e),o=n;break;case"input":Ve(e,n),o=He(e,n),zt(nc,e),Dn(a,"onChange");break;case"option":rn(e,n),o=ln(e,n);break;case"select":pn(e,n),o=fn(e,n),zt(nc,e),Dn(a,"onChange");break;case"textarea":bn(e,n),o=hn(e,n),zt(nc,e),Dn(a,"onChange");break;default:o=n}switch(Tn(t,o,rg),Bn(t,e,a,o,r),t){case"input":ke(e),Ge(e,n,!1);break;case"textarea":ke(e),yn(e,n);break;case"option":on(e,n);break;case"select":dn(e,n);break;default:"function"===typeof o.onClick&&Fn(e)}}function qn(e,t,n,a,r){lg(t,a);var o=null,i=void 0,l=void 0;switch(t){case"input":i=He(e,n),l=He(e,a),o=[];break;case"option":i=ln(e,n),l=ln(e,a),o=[];break;case"select":i=fn(e,n),l=fn(e,a),o=[];break;case"textarea":i=hn(e,n),l=hn(e,a),o=[];break;default:i=n,l=a,"function"!==typeof i.onClick&&"function"===typeof l.onClick&&Fn(e)}Tn(t,l,rg);var u=void 0,s=void 0,c=null;for(u in i)if(!l.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if(u===tg){var f=i[u];for(s in f)f.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else u===Qm||u===eg||u===Xm||u===Jm||u===Zm||(Fu.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in l){var p=l[u],d=null!=i?i[u]:void 0;if(l.hasOwnProperty(u)&&p!==d&&(null!=p||null!=d))if(u===tg)if(p&&Object.freeze(p),d){for(s in d)!d.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in p)p.hasOwnProperty(s)&&d[s]!==p[s]&&(c||(c={}),c[s]=p[s])}else c||(o||(o=[]),o.push(u,c)),c=p;else if(u===Qm){var m=p?p[ng]:void 0,g=d?d[ng]:void 0;null!=m&&g!==m&&(o=o||[]).push(u,""+m)}else u===eg?d===p||"string"!==typeof p&&"number"!==typeof p||(o=o||[]).push(u,""+p):u===Xm||u===Jm||(Fu.hasOwnProperty(u)?(null!=p&&("function"!==typeof p&&fg(u,p),Dn(r,u)),o||d===p||(o=[])):(o=o||[]).push(u,p))}return c&&(o=o||[]).push(tg,c),o}function $n(e,t,n,a,r){switch("input"===n&&"radio"===r.type&&null!=r.name&&qe(e,r),Un(e,t,Pn(n,a),Pn(n,r)),n){case"input":$e(e,r);break;case"textarea":vn(e,r);break;case"select":mn(e,r)}}function Gn(e){var t=e.toLowerCase();return Rm.hasOwnProperty(t)?Rm[t]||null:null}function Yn(e,t,n,a,r){var o=void 0,i=void 0;switch(ig=!0===n[Jm],o=Pn(t,n),lg(t,n),o&&!Km&&e.shadyRoot&&(yu(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",$m()||"A component"),Km=!0),t){case"iframe":case"object":zt(ic,e);break;case"video":case"audio":for(var l=0;l<Gc.length;l++)zt(Gc[l],e);break;case"source":zt(Js,e);break;case"img":case"image":case"link":zt(Js,e),zt(ic,e);break;case"form":zt(Pc,e),zt(jc,e);break;case"details":zt(Lc,e);break;case"input":Ve(e,n),zt(nc,e),Dn(r,"onChange");break;case"option":rn(e,n);break;case"select":pn(e,n),zt(nc,e),Dn(r,"onChange");break;case"textarea":bn(e,n),zt(nc,e),Dn(r,"onChange")}Tn(t,n,rg),i=new Set;for(var u=e.attributes,s=0;s<u.length;s++){switch(u[s].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:i.add(u[s].name)}}var c=null;for(var f in n)if(n.hasOwnProperty(f)){var p=n[f];if(f===eg)"string"===typeof p?e.textContent!==p&&(ig||ug(e.textContent,p),c=[eg,p]):"number"===typeof p&&e.textContent!==""+p&&(ig||ug(e.textContent,p),c=[eg,""+p]);else if(Fu.hasOwnProperty(f))null!=p&&("function"!==typeof p&&fg(f,p),Dn(r,f));else if("boolean"===typeof o){var d=void 0,m=De(f);if(ig);else if(f===Xm||f===Jm||"value"===f||"checked"===f||"selected"===f);else if(f===Qm){var g=p?p[ng]||"":"",h=e.innerHTML,b=dg(e,g);b!==h&&sg(f,h,b)}else if(f===tg){i.delete(f);var v=Cn(p);d=e.getAttribute("style"),v!==d&&sg(f,d,v)}else if(o)i.delete(f.toLowerCase()),d=Be(e,f,p),p!==d&&sg(f,d,p);else if(!je(f,m,o)&&!ze(f,p,m,o)){var y=!1;if(null!==m)i.delete(m.attributeName),d=Fe(e,f,p,m);else{var w=a;if(w===ag&&(w=_n(t)),w===ag)i.delete(f.toLowerCase());else{var _=Gn(f);null!==_&&_!==f&&(y=!0,i.delete(_)),i.delete(f)}d=Be(e,f,p)}p===d||y||sg(f,d,p)}}}switch(i.size>0&&!ig&&cg(i),t){case"input":ke(e),Ge(e,n,!0);break;case"textarea":ke(e),yn(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&Fn(e)}return c}function Kn(e,t){return e.nodeValue!==t}function Qn(e,t){ug(e.nodeValue,t)}function Xn(e,t){Ym||(Ym=!0,yu(!1,"Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Jn(e,t){Ym||(Ym=!0,yu(!1,'Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Zn(e,t,n){Ym||(Ym=!0,yu(!1,"Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function ea(e,t){""!==t&&(Ym||(Ym=!0,yu(!1,'Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function ta(e,t,n){switch(t){case"input":return void Ye(e,n);case"textarea":return void wn(e,n);case"select":return void gn(e,n)}}function na(){bu(!1,"The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue.")}function aa(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function ra(e){var t=void 0,n=void 0,a=e.nodeType;switch(a){case Rf:case If:t=a===Rf?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:kn(null,"");break;default:var o=a===Nf?e.parentNode:e,i=o.namespaceURI||null;t=o.tagName,n=kn(i,t)}var l=t.toLowerCase();return{namespace:n,ancestorInfo:Gg(null,l,null)}}function oa(e,t,n){var a=e;return{namespace:kn(a.namespace,t),ancestorInfo:Gg(a.ancestorInfo,t,null)}}function ia(e){return e}function la(e){Xg=At(),Jg=Xt(),jt(!1)}function ua(e){Jt(Jg),Jg=null,jt(Xg),Xg=null}function sa(e,t,n,a,r){var o=void 0,i=a;if(Pg(e,null,i.ancestorInfo),"string"===typeof t.children||"number"===typeof t.children){var l=""+t.children,u=Gg(i.ancestorInfo,e,null);Pg(null,l,u)}o=i.namespace;var s=Ag(e,t,n,o);return Yg(r,s),Kg(s,t),s}function ca(e,t){e.appendChild(t)}function fa(e,t,n,a,r){return Dg(e,t,n,a),aa(t,n)}function pa(e,t,n,a,r,o){var i=o;if(typeof a.children!==typeof n.children&&("string"===typeof a.children||"number"===typeof a.children)){var l=""+a.children,u=Gg(i.ancestorInfo,t,null);Pg(null,l,u)}return Lg(e,t,n,a,r)}function da(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function ma(e,t){return!!t.hidden}function ga(e,t,n,a){Pg(null,e,n.ancestorInfo);var r=zg(e,t);return Yg(a,r),r}function ha(e,t,n,a){aa(t,n)&&e.focus()}function ba(e,t,n,a,r,o){Kg(e,r),Fg(e,t,n,a,r)}function va(e){pm(e,"")}function ya(e,t,n){e.nodeValue=n}function wa(e,t){e.appendChild(t)}function _a(e,t){e.nodeType===Nf?e.parentNode.insertBefore(t,e):e.appendChild(t)}function ka(e,t,n){e.insertBefore(t,n)}function Ea(e,t,n){e.nodeType===Nf?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function xa(e,t){e.removeChild(t)}function Ca(e,t){e.nodeType===Nf?e.parentNode.removeChild(t):e.removeChild(t)}function Sa(e,t,n){return e.nodeType!==Pf||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Ta(e,t){return""===t||e.nodeType!==Of?null:e}function Pa(e){for(var t=e.nextSibling;t&&t.nodeType!==Pf&&t.nodeType!==Of;)t=t.nextSibling;return t}function Oa(e){for(var t=e.firstChild;t&&t.nodeType!==Pf&&t.nodeType!==Of;)t=t.nextSibling;return t}function Na(e,t,n,a,r,o){Yg(o,e),Kg(e,n);var i=void 0;return i=r.namespace,Bg(e,t,n,i,a)}function Ra(e,t,n){return Yg(n,e),Ug(e,t)}function Ia(e,t,n){Wg(t,n)}function Ma(e,t,n,a,r){!0!==t[Qg]&&Wg(a,r)}function ja(e,t){1===t.nodeType?Hg(e,t):Vg(e,t)}function Aa(e,t,n,a){!0!==t[Qg]&&(1===a.nodeType?Hg(n,a):Vg(n,a))}function za(e,t,n){qg(e,t,n)}function Da(e,t){$g(e,t)}function La(e,t,n,a,r){!0!==t[Qg]&&qg(n,a,r)}function Fa(e,t,n,a){!0!==t[Qg]&&$g(n,a)}function Ba(){oh&&kh++}function Ua(){oh&&(vh&&(yh=!0),null!==hh&&"componentWillMount"!==hh&&"componentWillReceiveProps"!==hh&&(wh=!0))}function Wa(){oh&&mh&&!Eh&&(Eh=!0,Th("(Waiting for async callback...)"))}function Ha(e,t){if(oh&&mh){Eh=!1;Oh("(Waiting for async callback... will force flush in "+t+" ms)","(Waiting for async callback...)",e?"React was blocked by main thread":null)}}function Va(e){if(oh){if(!mh||Ah(e))return;if(gh=e,!Ih(e,null))return;e._debugIsCurrentlyTiming=!0}}function qa(e){if(oh){if(!mh||Ah(e))return;e._debugIsCurrentlyTiming=!1,Mh(e,null)}}function $a(e){if(oh){if(!mh||Ah(e))return;if(gh=e.return,!e._debugIsCurrentlyTiming)return;e._debugIsCurrentlyTiming=!1,jh(e,null,null)}}function Ga(e){if(oh){if(!mh||Ah(e))return;if(gh=e.return,!e._debugIsCurrentlyTiming)return;e._debugIsCurrentlyTiming=!1;jh(e,null,"An error was thrown inside this error boundary")}}function Ya(e,t){if(oh){if(!mh)return;if(zh(),!Ih(e,t))return;bh=e,hh=t}}function Ka(){if(oh){if(!mh)return;if(null!==hh&&null!==bh){jh(bh,hh,wh?"Scheduled a cascading update":null)}hh=null,bh=null}}function Qa(e){if(oh){if(gh=e,!mh)return;_h=0,Th("(React Tree Reconciliation)"),Fh()}}function Xa(e,t){if(oh){if(!mh)return;var n=null;if(null!==e)if(e.tag===as)n="A top-level update interrupted the previous render";else{var a=Ce(e)||"Unknown";n="An update to "+a+" interrupted the previous render"}else _h>1&&(n="There were cascading updates");_h=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Dh(),Oh(r,"(React Tree Reconciliation)",n)}}function Ja(){if(oh){if(!mh)return;vh=!0,yh=!1,xh.clear(),Th("(Committing Changes)")}}function Za(){if(oh){if(!mh)return;var e=null;yh?e="Lifecycle hook scheduled a cascading update":_h>0&&(e="Caused by a cascading update in earlier commit"),yh=!1,_h++,vh=!1,xh.clear(),Oh("(Committing Changes)","(Committing Changes)",e)}}function er(){if(oh){if(!mh)return;kh=0,Th("(Committing Snapshot Effects)")}}function tr(){if(oh){if(!mh)return;var e=kh;kh=0,Oh("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function nr(){if(oh){if(!mh)return;kh=0,Th("(Committing Host Effects)")}}function ar(){if(oh){if(!mh)return;var e=kh;kh=0,Oh("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function rr(){if(oh){if(!mh)return;kh=0,Th("(Calling Lifecycle Methods)")}}function or(){if(oh){if(!mh)return;var e=kh;kh=0,Oh("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}function ir(e){return{current:e}}function lr(e,t){if(Wh<0)return void yu(!1,"Unexpected pop.");t!==Uh[Wh]&&yu(!1,"Unexpected Fiber popped."),e.current=Bh[Wh],Bh[Wh]=null,Uh[Wh]=null,Wh--}function ur(e,t,n){Wh++,Bh[Wh]=e.current,Uh[Wh]=n,e.current=t}function sr(){-1!==Wh&&yu(!1,"Expected an empty stack. Something was not reset properly.")}function cr(){Wh=-1,Bh.length=0,Uh.length=0}function fr(e){return hr(e)?$h:Vh.current}function pr(e,t,n){var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}function dr(e,t){var n=e.type,a=n.contextTypes;if(!a)return Tu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var i in a)o[i]=t[i];var l=Ce(e)||"Unknown";return Eu(a,o,"context",l,Qf.getCurrentFiberStackAddendum),r&&pr(e,t,o),o}function mr(){return qh.current}function gr(e){return e.tag===ns&&null!=e.type.contextTypes}function hr(e){return e.tag===ns&&null!=e.type.childContextTypes}function br(e){hr(e)&&(lr(qh,e),lr(Vh,e))}function vr(e){lr(qh,e),lr(Vh,e)}function yr(e,t,n){Vh.current!==Tu&&bu(!1,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),ur(Vh,t,e),ur(qh,n,e)}function wr(e,t){var n=e.stateNode,a=e.type.childContextTypes;if("function"!==typeof n.getChildContext){var r=Ce(e)||"Unknown";return Hh[r]||(Hh[r]=!0,yu(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",r,r)),t}var o=void 0;Qf.setCurrentPhase("getChildContext"),Ya(e,"getChildContext"),o=n.getChildContext(),Ka(),Qf.setCurrentPhase(null);for(var i in o)i in a||bu(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',Ce(e)||"Unknown",i);var l=Ce(e)||"Unknown";return Eu(a,o,"child context",l,Qf.getCurrentFiberStackAddendum),_u({},t,o)}function _r(e){if(!hr(e))return!1;var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Tu;return $h=Vh.current,ur(Vh,n,e),ur(qh,qh.current,e),!0}function kr(e,t){var n=e.stateNode;if(n||bu(!1,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),t){var a=wr(e,$h);n.__reactInternalMemoizedMergedChildContext=a,lr(qh,e),lr(Vh,e),ur(Vh,a,e),ur(qh,t,e)}else lr(qh,e),ur(qh,t,e)}function Er(e){yt(e)&&e.tag===ns||bu(!1,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");for(var t=e;t.tag!==as;){if(hr(t))return t.stateNode.__reactInternalMemoizedMergedChildContext;var n=t.return;n||bu(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue."),t=n}return t.stateNode.context}function xr(e){return(e/Xh|0)+Jh}function Cr(e){return(e-Jh)*Xh}function Sr(e,t){return(1+(e/t|0))*t}function Tr(e,t,n){return Jh+Sr(e-Jh+t/Xh,n/Xh)}function Pr(e,t,n,a){this.tag=e,this.key=n,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.mode=a,this.effectTag=jp,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=Yh,this.alternate=null,dh&&(this.actualDuration=0,this.actualStartTime=0,this.selfBaseTime=0,this.treeBaseTime=0),this._debugID=lb++,this._debugSource=null,this._debugOwner=null,this._debugIsCurrentlyTiming=!1,ab||"function"!==typeof Object.preventExtensions||Object.preventExtensions(this)}function Or(e){return!(!e.prototype||!e.prototype.isReactComponent)}function Nr(e,t,n){var a=e.alternate;return null===a?(a=ub(e.tag,t,e.key,e.mode),a.type=e.type,a.stateNode=e.stateNode,a._debugID=e._debugID,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.effectTag=jp,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,dh&&(a.actualDuration=0,a.actualStartTime=0)),a.expirationTime=n,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,dh&&(a.selfBaseTime=e.selfBaseTime,a.treeBaseTime=e.treeBaseTime),a}function Rr(e){return ub(as,null,null,e?eb|tb:Zh)}function Ir(e,t,n){var a=null;a=e._owner;var r=void 0,o=e.type,i=e.key,l=e.props,u=void 0;if("function"===typeof o)u=Or(o)?ns:es;else if("string"===typeof o)u=os;else switch(o){case Bf:return jr(l.children,t,n,i);case qf:u=us,t|=eb|tb;break;case Uf:u=us,t|=tb;break;case Wf:return Ar(l,t,n,i);case Gf:u=ds,t|=tb;break;default:u=Mr(o,a)}return r=ub(u,l,i,t),r.type=o,r.expirationTime=n,r._debugSource=e._source,r._debugOwner=e._owner,r}function Mr(e,t){switch("object"===typeof e&&null!==e?e.$$typeof:null){case Hf:return cs;case Vf:return ss;case $f:return fs;default:var n="";(void 0===e||"object"===typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" 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 a=t?Ce(t):null;a&&(n+="\n\nCheck the render method of `"+a+"`."),bu(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==e?e:typeof e,n)}}function jr(e,t,n,a){var r=ub(ls,e,a,t);return r.expirationTime=n,r}function Ar(e,t,n,a){"string"===typeof e.id&&"function"===typeof e.onRender||bu(!1,'Profiler must specify an "id" string and "onRender" function as props');var r=ub(ps,e,a,t|nb);return r.type=Wf,r.expirationTime=n,r}function zr(e,t,n){var a=ub(is,e,null,t);return a.expirationTime=n,a}function Dr(){var e=ub(os,null,null,Zh);return e.type="DELETED",e}function Lr(e,t,n){var a=null!==e.children?e.children:[],r=ub(rs,a,e.key,t);return r.expirationTime=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function Fr(e,t){return null===e&&(e=ub(es,null,null,Zh)),e.tag=t.tag,e.key=t.key,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.alternate=t.alternate,dh&&(e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseTime=t.selfBaseTime,e.treeBaseTime=t.treeBaseTime),e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e}function Br(e,t,n){var a=Rr(t),r={current:a,containerInfo:e,pendingChildren:null,earliestPendingTime:Yh,latestPendingTime:Yh,earliestSuspendedTime:Yh,latestSuspendedTime:Yh,latestPingedTime:Yh,pendingCommitExpirationTime:Yh,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:Yh,firstBatch:null,nextScheduledRoot:null};return a.stateNode=r,r}function Ur(e){return function(t){try{return e(t)}catch(e){fb||(fb=!0,yu(!1,"React DevTools encountered an error: %s",e))}}}function Wr(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return yu(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);sb=Ur(function(e){return t.onCommitFiberRoot(n,e)}),cb=Ur(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){yu(!1,"React DevTools encountered an error: %s.",e)}return!0}function Hr(e){"function"===typeof sb&&sb(e)}function Vr(e){"function"===typeof cb&&cb(e)}function qr(e,t){if(lh){var n=e.earliestPendingTime;if(n===Yh)e.earliestPendingTime=e.latestPendingTime=t;else if(n>t)e.earliestPendingTime=t;else{var a=e.latestPendingTime;a<t&&(e.latestPendingTime=t)}}}function $r(e,t,n){if(lh){if(n===Yh)return e.earliestPendingTime=Yh,e.latestPendingTime=Yh,e.earliestSuspendedTime=Yh,e.latestSuspendedTime=Yh,void(e.latestPingedTime=Yh);var a=e.latestPendingTime;if(a!==Yh)if(a<n)e.earliestPendingTime=e.latestPendingTime=Yh;else{var r=e.earliestPendingTime;r<n&&(e.earliestPendingTime=e.latestPendingTime)}var o=e.earliestSuspendedTime;if(o===Yh)return void qr(e,n);if(n>e.latestSuspendedTime)return e.earliestSuspendedTime=Yh,e.latestSuspendedTime=Yh,e.latestPingedTime=Yh,void qr(e,n);if(n<o)return void qr(e,n)}}function Gr(e,t){if(lh){var n=e.earliestPendingTime,a=e.latestPendingTime;n===t?e.earliestPendingTime=a===t?e.latestPendingTime=Yh:a:a===t&&(e.latestPendingTime=n);var r=e.latestSuspendedTime;r===t&&(e.latestPingedTime=Yh);var o=e.earliestSuspendedTime;o===Yh?e.earliestSuspendedTime=e.latestSuspendedTime=t:o>t?e.earliestSuspendedTime=t:r<t&&(e.latestSuspendedTime=t)}}function Yr(e,t){if(lh){var n=e.latestSuspendedTime;if(n!==Yh&&n<=t){var a=e.latestPingedTime;(a===Yh||a<t)&&(e.latestPingedTime=t)}}}function Kr(e){if(lh){var t=e.earliestSuspendedTime,n=e.earliestPendingTime;return t===Yh?n:n!==Yh?n:e.latestPingedTime}return e.current.expirationTime}function Qr(e){return{expirationTime:Yh,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xr(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Jr(e){return{expirationTime:e,tag:Ob,payload:null,callback:null,next:null,nextEffect:null}}function Zr(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(e.expirationTime===Yh||e.expirationTime>n)&&(e.expirationTime=n)}function eo(e,t,n){var a=e.alternate,r=void 0,o=void 0;null===a?(r=e.updateQueue,o=null,null===r&&(r=e.updateQueue=Qr(e.memoizedState))):(r=e.updateQueue,o=a.updateQueue,null===r?null===o?(r=e.updateQueue=Qr(e.memoizedState),o=a.updateQueue=Qr(a.memoizedState)):r=e.updateQueue=Xr(o):null===o&&(o=a.updateQueue=Xr(r))),null===o||r===o?Zr(r,t,n):null===r.lastUpdate||null===o.lastUpdate?(Zr(r,t,n),Zr(o,t,n)):(Zr(r,t,n),o.lastUpdate=t),e.tag!==ns||Ab!==r&&(null===o||Ab!==o)||jb||(yu(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),jb=!0)}function to(e,t,n){var a=e.updateQueue;a=null===a?e.updateQueue=Qr(e.memoizedState):no(e,a),null===a.lastCapturedUpdate?a.firstCapturedUpdate=a.lastCapturedUpdate=t:(a.lastCapturedUpdate.next=t,a.lastCapturedUpdate=t),(a.expirationTime===Yh||a.expirationTime>n)&&(a.expirationTime=n)}function no(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Xr(t)),t}function ao(e,t,n,a,r,o){switch(n.tag){case Nb:var i=n.payload;return"function"===typeof i?((uh||sh&&e.mode&tb)&&i.call(o,a,r),i.call(o,a,r)):i;case Ib:e.effectTag=e.effectTag&~Gp|Wp;case Ob:var l=n.payload,u=void 0;return"function"===typeof l?((uh||sh&&e.mode&tb)&&l.call(o,a,r),u=l.call(o,a,r)):u=l,null===u||void 0===u?a:_u({},a,u);case Rb:return Mb=!0,a}return a}function ro(e,t,n,a,r){if(Mb=!1,!(t.expirationTime===Yh||t.expirationTime>r)){t=no(e,t),Ab=t;for(var o=t.baseState,i=null,l=Yh,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;if(c>r)null===i&&(i=u,o=s),(l===Yh||l>c)&&(l=c);else{s=ao(e,t,u,s,n,a);null!==u.callback&&(e.effectTag|=Up,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))}u=u.next}var f=null;for(u=t.firstCapturedUpdate;null!==u;){var p=u.expirationTime;if(p>r)null===f&&(f=u,null===i&&(o=s)),(l===Yh||l>p)&&(l=p);else{s=ao(e,t,u,s,n,a);null!==u.callback&&(e.effectTag|=Up,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))}u=u.next}null===i&&(t.lastUpdate=null),null===f?t.lastCapturedUpdate=null:e.effectTag|=Up,null===i&&null===f&&(o=s),t.baseState=o,t.firstUpdate=i,t.firstCapturedUpdate=f,t.expirationTime=l,e.memoizedState=s,Ab=null}}function oo(e,t){"function"!==typeof e&&bu(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",e),e.call(t)}function io(){Mb=!1}function lo(){return Mb}function uo(e,t,n,a){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null);var r=t.firstEffect;for(t.firstEffect=t.lastEffect=null;null!==r;){var o=r.callback;null!==o&&(r.callback=null,oo(o,n)),r=r.nextEffect}for(r=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==r;){var i=r.callback;null!==i&&(r.callback=null,oo(i,n)),r=r.nextEffect}}function so(e,t){return{value:e,source:t,stack:Te(t)}}function co(e){var t=e.type._context;eh?(ur(Fb,t._changedBits,e),ur(Lb,t._currentValue,e),ur(Db,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Bb&&yu(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Bb):(ur(Fb,t._changedBits2,e),ur(Lb,t._currentValue2,e),ur(Db,e,e),t._currentValue2=e.pendingProps.value,t._changedBits2=e.stateNode,void 0!==t._currentRenderer2&&null!==t._currentRenderer2&&t._currentRenderer2!==Bb&&yu(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=Bb)}function fo(e){var t=Fb.current,n=Lb.current;lr(Db,e),lr(Lb,e),lr(Fb,e);var a=e.type._context;eh?(a._currentValue=n,a._changedBits=t):(a._currentValue2=n,a._changedBits2=t)}function po(e){return eh?e._currentValue:e._currentValue2}function mo(e){return eh?e._changedBits:e._changedBits2}function go(e){return e===Ub&&bu(!1,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ho(){return go(Vb.current)}function bo(e,t){ur(Vb,t,e),ur(Hb,e,e),ur(Wb,Ub,e);var n=ra(t);lr(Wb,e),ur(Wb,n,e)}function vo(e){lr(Wb,e),lr(Hb,e),lr(Vb,e)}function yo(){return go(Wb.current)}function wo(e){var t=go(Vb.current),n=go(Wb.current),a=oa(n,e.type,t);n!==a&&(ur(Hb,e,e),ur(Wb,a,e))}function _o(e){Hb.current===e&&(lr(Wb,e),lr(Hb,e))}function ko(){return qb}function Eo(){dh&&(qb=Zg())}function xo(){dh&&0!==$b.length&&yu(!1,"Expected an empty stack. Something was not reset properly.")}function Co(e){dh&&($b.push(e),e.actualDuration=Zg()-e.actualDuration-Yb,e.actualStartTime=Zg())}function So(){dh&&0===Gb&&(Gb=Zg())}function To(e){dh&&(e!==$b.pop()&&yu(!1,"Unexpected Fiber (%s) popped.",Ce(e)),e.actualDuration=Zg()-Yb-e.actualDuration)}function Po(){dh&&(Yb=0)}function Oo(){dh&&Gb>0&&(Yb+=Zg()-Gb,Gb=0)}function No(e){dh&&-1!==Kb&&(e.selfBaseTime=Zg()-Kb)}function Ro(){dh&&(-1!==Kb&&yu(!1,"Cannot start base timer that is already running. This error is likely caused by a bug in React. Please file an issue."),Kb=Zg())}function Io(){dh&&(Kb=-1)}function Mo(e,t,n){var a=e.memoizedState;(uh||sh&&e.mode&tb)&&t(n,a);var r=t(n,a);av(e,r);var o=null===r||void 0===r?a:_u({},a,r);e.memoizedState=o;var i=e.updateQueue;null!==i&&i.expirationTime===Yh&&(i.baseState=o)}function jo(e,t,n,a,r,o){var i=e.stateNode,l=e.type;if("function"===typeof i.shouldComponentUpdate){Ya(e,"shouldComponentUpdate");var u=i.shouldComponentUpdate(n,r,o);return Ka(),void 0===u&&yu(!1,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ce(e)||"Component"),u}return!l.prototype||!l.prototype.isPureReactComponent||(!Cu(t,n)||!Cu(a,r))}function Ao(e){var t=e.stateNode,n=e.type,a=Ce(e)||"Component";t.render||(n.prototype&&"function"===typeof n.prototype.render?yu(!1,"%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):yu(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),!t.getInitialState||t.getInitialState.isReactClassApproved||t.state||yu(!1,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),!t.getDefaultProps||t.getDefaultProps.isReactClassApproved||yu(!1,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),!t.propTypes||yu(!1,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),!t.contextTypes||yu(!1,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),"function"!==typeof t.componentShouldUpdate||yu(!1,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),n.prototype&&n.prototype.isPureReactComponent&&"undefined"!==typeof t.shouldComponentUpdate&&yu(!1,"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ce(e)||"A pure component"),"function"!==typeof t.componentDidUnmount||yu(!1,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"!==typeof t.componentDidReceiveProps||yu(!1,"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),"function"!==typeof t.componentWillRecieveProps||yu(!1,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"!==typeof t.UNSAFE_componentWillRecieveProps||yu(!1,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var r=t.props!==e.pendingProps;void 0!==t.props&&r&&yu(!1,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),!t.defaultProps||yu(!1,"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),"function"!==typeof t.getSnapshotBeforeUpdate||"function"===typeof t.componentDidUpdate||ev.has(n)||(ev.add(n),yu(!1,"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ce(e))),"function"!==typeof t.getDerivedStateFromProps||yu(!1,"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"!==typeof t.getDerivedStateFromCatch||yu(!1,"%s: getDerivedStateFromCatch() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"!==typeof n.getSnapshotBeforeUpdate||yu(!1,"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var o=t.state;o&&("object"!==typeof o||Xb(o))&&yu(!1,"%s.state: must be set to an object or null",a),"function"===typeof t.getChildContext&&"object"!==typeof n.childContextTypes&&yu(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}function zo(e,t){t.updater=iv,e.stateNode=t,bt(t,e),t._reactInternalInstance=Qb}function Do(e,t,n){var a=e.type,r=fr(e),o=gr(e),i=o?dr(e,r):Tu;(uh||sh&&e.mode&tb)&&new a(t,i);var l=new a(t,i),u=e.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;if(zo(e,l),"function"===typeof a.getDerivedStateFromProps&&null===u){var s=Ce(e)||"Component";Zb.has(s)||(Zb.add(s),yu(!1,"%s: Did not properly initialize state during construction. Expected state to be an object, but it was %s.",s,null===l.state?"null":"undefined"))}if("function"===typeof a.getDerivedStateFromProps||"function"===typeof l.getSnapshotBeforeUpdate){var c=null,f=null,p=null;if("function"===typeof l.componentWillMount&&!0!==l.componentWillMount.__suppressDeprecationWarning?c="componentWillMount":"function"===typeof l.UNSAFE_componentWillMount&&(c="UNSAFE_componentWillMount"),"function"===typeof l.componentWillReceiveProps&&!0!==l.componentWillReceiveProps.__suppressDeprecationWarning?f="componentWillReceiveProps":"function"===typeof l.UNSAFE_componentWillReceiveProps&&(f="UNSAFE_componentWillReceiveProps"),"function"===typeof l.componentWillUpdate&&!0!==l.componentWillUpdate.__suppressDeprecationWarning?p="componentWillUpdate":"function"===typeof l.UNSAFE_componentWillUpdate&&(p="UNSAFE_componentWillUpdate"),null!==c||null!==f||null!==p){var d=Ce(e)||"Component",m="function"===typeof a.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";tv.has(d)||(tv.add(d),yu(!1,"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",d,m,null!==c?"\n "+c:"",null!==f?"\n "+f:"",null!==p?"\n "+p:""))}}return o&&pr(e,r,i),l}function Lo(e,t){Ya(e,"componentWillMount");var n=t.state;"function"===typeof t.componentWillMount&&t.componentWillMount(),"function"===typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Ka(),n!==t.state&&(yu(!1,"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ce(e)||"Component"),iv.enqueueReplaceState(t,t.state,null))}function Fo(e,t,n,a){var r=t.state;if(Ya(e,"componentWillReceiveProps"),"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),Ka(),t.state!==r){var o=Ce(e)||"Component";Jb.has(o)||(Jb.add(o),yu(!1,"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o)),iv.enqueueReplaceState(t,t.state,null)}}function Bo(e,t){var n=e.type;Ao(e);var a=e.stateNode,r=e.pendingProps,o=fr(e);a.props=r,a.state=e.memoizedState,a.refs=Tu,a.context=dr(e,o),e.mode&tb&&(gb.recordUnsafeLifecycleWarnings(e,a),gb.recordLegacyContextWarning(e,a)),fh&&gb.recordDeprecationWarnings(e,a);var i=e.updateQueue;null!==i&&(ro(e,i,r,a,t),a.state=e.memoizedState);var l=e.type.getDerivedStateFromProps;"function"===typeof l&&(Mo(e,l,r),a.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(Lo(e,a),null!==(i=e.updateQueue)&&(ro(e,i,r,a,t),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=Dp)}function Uo(e,t){var n=e.type,a=e.stateNode,r=e.memoizedProps,o=e.pendingProps;a.props=r;var i=a.context,l=fr(e),u=dr(e,l),s=n.getDerivedStateFromProps,c="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;c||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||r===o&&i===u||Fo(e,a,o,u),io();var f=e.memoizedState,p=a.state=f,d=e.updateQueue;if(null!==d&&(ro(e,d,o,a,t),p=e.memoizedState),r===o&&f===p&&!mr()&&!lo())return"function"===typeof a.componentDidMount&&(e.effectTag|=Dp),!1;"function"===typeof s&&(Mo(e,s,o),p=e.memoizedState);var m=lo()||jo(e,r,o,f,p,u);return m?(c||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(Ya(e,"componentWillMount"),"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),Ka()),"function"===typeof a.componentDidMount&&(e.effectTag|=Dp)):("function"===typeof a.componentDidMount&&(e.effectTag|=Dp),e.memoizedProps=o,e.memoizedState=p),a.props=o,a.state=p,a.context=u,m}function Wo(e,t,n){var a=t.type,r=t.stateNode,o=t.memoizedProps,i=t.pendingProps;r.props=o;var l=r.context,u=fr(t),s=dr(t,u),c=a.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof r.getSnapshotBeforeUpdate;f||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||o===i&&l===s||Fo(t,r,i,s),io();var p=t.memoizedState,d=r.state=p,m=t.updateQueue;if(null!==m&&(ro(t,m,i,r,n),d=t.memoizedState),o===i&&p===d&&!mr()&&!lo())return"function"===typeof r.componentDidUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Dp)),"function"===typeof r.getSnapshotBeforeUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Vp)),!1;"function"===typeof c&&(Mo(t,c,i),d=t.memoizedState);var g=lo()||jo(t,o,i,p,d,s);return g?(f||"function"!==typeof r.UNSAFE_componentWillUpdate&&"function"!==typeof r.componentWillUpdate||(Ya(t,"componentWillUpdate"),"function"===typeof r.componentWillUpdate&&r.componentWillUpdate(i,d,s),"function"===typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(i,d,s),Ka()),"function"===typeof r.componentDidUpdate&&(t.effectTag|=Dp),"function"===typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=Vp)):("function"===typeof r.componentDidUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Dp)),"function"===typeof r.getSnapshotBeforeUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Vp)),t.memoizedProps=i,t.memoizedState=d),r.props=i,r.state=d,r.context=s,g}function Ho(e,t,n){var a=n.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(e.mode&tb){var r=Ce(e)||"Component";sv[r]||(yu(!1,'A string ref, "%s",\xa0has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using createRef() instead.\n%s\n\nLearn more about using refs safely here:\nhttps://fb.me/react-strict-mode-string-ref',a,Te(e)),sv[r]=!0)}if(n._owner){var o=n._owner,i=void 0;if(o){var l=o;l.tag!==ns&&bu(!1,"Stateless function components cannot have refs."),i=l.stateNode}i||bu(!1,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",a);var u=""+a;if(null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===u)return t.ref;var s=function(e){var t=i.refs===Tu?i.refs={}:i.refs;null===e?delete t[u]:t[u]=e};return s._stringRef=u,s}"string"!==typeof a&&bu(!1,"Expected ref to be a function or a string."),n._owner||bu(!1,"Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a functional component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.",a)}return a}function Vo(e,t){if("textarea"!==e.type){var n="";n=" If you meant to render a collection of children, use an array instead."+(lv()||""),bu(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,n)}}function qo(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+(lv()||"");fv[e]||(fv[e]=!0,yu(!1,"Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.%s",lv()||""))}function $o(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=Fp}}function n(n,a){if(!e)return null;for(var r=a;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(var n=new Map,a=t;null!==a;)null!==a.key?n.set(a.key,a):n.set(a.index,a),a=a.sibling;return n}function r(e,t,n){var a=Nr(e,t,n);return a.index=0,a.sibling=null,a}function o(t,n,a){if(t.index=a,!e)return n;var r=t.alternate;if(null!==r){var o=r.index;return o<n?(t.effectTag=zp,n):o}return t.effectTag=zp,n}function i(t){return e&&null===t.alternate&&(t.effectTag=zp),t}function l(e,t,n,a){if(null===t||t.tag!==is){var o=zr(n,e.mode,a);return o.return=e,o}var i=r(t,n,a);return i.return=e,i}function u(e,t,n,a){if(null!==t&&t.type===n.type){var o=r(t,n.props,a);return o.ref=Ho(e,t,n),o.return=e,o._debugSource=n._source,o._debugOwner=n._owner,o}var i=Ir(n,e.mode,a);return i.ref=Ho(e,t,n),i.return=e,i}function s(e,t,n,a){if(null===t||t.tag!==rs||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=Lr(n,e.mode,a);return o.return=e,o}var i=r(t,n.children||[],a);return i.return=e,i}function c(e,t,n,a,o){if(null===t||t.tag!==ls){var i=jr(n,e.mode,a,o);return i.return=e,i}var l=r(t,n,a);return l.return=e,l}function f(e,t,n){if("string"===typeof t||"number"===typeof t){var a=zr(""+t,e.mode,n);return a.return=e,a}if("object"===typeof t&&null!==t){switch(t.$$typeof){case Lf:var r=Ir(t,e.mode,n);return r.ref=Ho(e,null,t),r.return=e,r;case Ff:var o=Lr(t,e.mode,n);return o.return=e,o}if(dv(t)||xe(t)){var i=jr(t,e.mode,n,null);return i.return=e,i}Vo(e,t)}return"function"===typeof t&&qo(),null}function p(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==r?null:l(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Lf:return n.key===r?n.type===Bf?c(e,t,n.props.children,a,r):u(e,t,n,a):null;case Ff:return n.key===r?s(e,t,n,a):null}if(dv(n)||xe(n))return null!==r?null:c(e,t,n,a,null);Vo(e,n)}return"function"===typeof n&&qo(),null}function d(e,t,n,a,r){if("string"===typeof a||"number"===typeof a){return l(t,e.get(n)||null,""+a,r)}if("object"===typeof a&&null!==a){switch(a.$$typeof){case Lf:var o=e.get(null===a.key?n:a.key)||null;return a.type===Bf?c(t,o,a.props.children,r,a.key):u(t,o,a,r);case Ff:return s(t,e.get(null===a.key?n:a.key)||null,a,r)}if(dv(a)||xe(a)){return c(t,e.get(n)||null,a,r,null)}Vo(t,a)}return"function"===typeof a&&qo(),null}function m(e,t){if("object"!==typeof e||null===e)return t;switch(e.$$typeof){case Lf:case Ff:pv(e);var n=e.key;if("string"!==typeof n)break;if(null===t){t=new Set,t.add(n);break}if(!t.has(n)){t.add(n);break}yu(!1,"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.%s",n,lv())}return t}function g(r,i,l,u){for(var s=null,c=0;c<l.length;c++){s=m(l[c],s)}for(var g=null,h=null,b=i,v=0,y=0,w=null;null!==b&&y<l.length;y++){b.index>y?(w=b,b=null):w=b.sibling;var _=p(r,b,l[y],u);if(null===_){null===b&&(b=w);break}e&&b&&null===_.alternate&&t(r,b),v=o(_,v,y),null===h?g=_:h.sibling=_,h=_,b=w}if(y===l.length)return n(r,b),g;if(null===b){for(;y<l.length;y++){var k=f(r,l[y],u);k&&(v=o(k,v,y),null===h?g=k:h.sibling=k,h=k)}return g}for(var E=a(r,b);y<l.length;y++){var x=d(E,r,y,l[y],u);x&&(e&&null!==x.alternate&&E.delete(null===x.key?y:x.key),v=o(x,v,y),null===h?g=x:h.sibling=x,h=x)}return e&&E.forEach(function(e){return t(r,e)}),g}function h(r,i,l,u){var s=xe(l);"function"!==typeof s&&bu(!1,"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."),l.entries===s&&(uv||yu(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",lv()),uv=!0);var c=s.call(l);if(c)for(var g=null,h=c.next();!h.done;h=c.next()){var b=h.value;g=m(b,g)}var v=s.call(l);null==v&&bu(!1,"An iterable object provided no iterator.");for(var y=null,w=null,_=i,k=0,E=0,x=null,C=v.next();null!==_&&!C.done;E++,C=v.next()){_.index>E?(x=_,_=null):x=_.sibling;var S=p(r,_,C.value,u);if(null===S){_||(_=x);break}e&&_&&null===S.alternate&&t(r,_),k=o(S,k,E),null===w?y=S:w.sibling=S,w=S,_=x}if(C.done)return n(r,_),y;if(null===_){for(;!C.done;E++,C=v.next()){var T=f(r,C.value,u);null!==T&&(k=o(T,k,E),null===w?y=T:w.sibling=T,w=T)}return y}for(var P=a(r,_);!C.done;E++,C=v.next()){var O=d(P,r,E,C.value,u);null!==O&&(e&&null!==O.alternate&&P.delete(null===O.key?E:O.key),k=o(O,k,E),null===w?y=O:w.sibling=O,w=O)}return e&&P.forEach(function(e){return t(r,e)}),y}function b(e,t,a,o){if(null!==t&&t.tag===is){n(e,t.sibling);var i=r(t,a,o);return i.return=e,i}n(e,t);var l=zr(a,e.mode,o);return l.return=e,l}function v(e,a,o,i){for(var l=o.key,u=a;null!==u;){if(u.key===l){if(u.tag===ls?o.type===Bf:u.type===o.type){n(e,u.sibling);var s=r(u,o.type===Bf?o.props.children:o.props,i);return s.ref=Ho(e,u,o),s.return=e,s._debugSource=o._source,s._debugOwner=o._owner,s}n(e,u);break}t(e,u),u=u.sibling}if(o.type===Bf){var c=jr(o.props.children,e.mode,i,o.key);return c.return=e,c}var f=Ir(o,e.mode,i);return f.ref=Ho(e,a,o),f.return=e,f}function y(e,a,o,i){for(var l=o.key,u=a;null!==u;){if(u.key===l){if(u.tag===rs&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){n(e,u.sibling);var s=r(u,o.children||[],i);return s.return=e,s}n(e,u);break}t(e,u),u=u.sibling}var c=Lr(o,e.mode,i);return c.return=e,c}function w(e,t,a,r){var o="object"===typeof a&&null!==a&&a.type===Bf&&null===a.key;o&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case Lf:return i(v(e,t,a,r));case Ff:return i(y(e,t,a,r))}if("string"===typeof a||"number"===typeof a)return i(b(e,t,""+a,r));if(dv(a))return g(e,t,a,r);if(xe(a))return h(e,t,a,r);if(l&&Vo(e,a),"function"===typeof a&&qo(),"undefined"===typeof a&&!o)switch(e.tag){case ns:if(e.stateNode.render._isMockFunction)break;case ts:var u=e.type;bu(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",u.displayName||u.name||"Component")}return n(e,t)}return w}function Go(e,t){if(null!==e&&t.child!==e.child&&bu(!1,"Resuming work not yet implemented."),null!==t.child){var n=t.child,a=Nr(n,n.pendingProps,n.expirationTime);for(t.child=a,a.return=t;null!==n.sibling;)n=n.sibling,a=a.sibling=Nr(n,n.pendingProps,n.expirationTime),a.return=t;a.sibling=null}}function Yo(e){if(!rh)return!1;var t=e.stateNode.containerInfo;return bv=Oa(t),hv=e,vv=!0,!0}function Ko(e,t){switch(e.tag){case as:ja(e.stateNode.containerInfo,t);break;case os:Aa(e.type,e.memoizedProps,e.stateNode,t)}var n=Dr();n.stateNode=t,n.return=e,n.effectTag=Fp,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Qo(e,t){switch(t.effectTag|=zp,e.tag){case as:var n=e.stateNode.containerInfo;switch(t.tag){case os:za(n,t.type,t.pendingProps);break;case is:Da(n,t.pendingProps)}break;case os:var a=e.type,r=e.memoizedProps,o=e.stateNode;switch(t.tag){case os:La(a,r,o,t.type,t.pendingProps);break;case is:Fa(a,r,o,t.pendingProps)}break;default:return}}function Xo(e,t){switch(e.tag){case os:var n=e.type,a=e.pendingProps,r=Sa(t,n,a);return null!==r&&(e.stateNode=r,!0);case is:var o=e.pendingProps,i=Ta(t,o);return null!==i&&(e.stateNode=i,!0);default:return!1}}function Jo(e){if(vv){var t=bv;if(!t)return Qo(hv,e),vv=!1,void(hv=e);var n=t;if(!Xo(e,t)){if(!(t=Pa(n))||!Xo(e,t))return Qo(hv,e),vv=!1,void(hv=e);Ko(hv,n)}hv=e,bv=Oa(t)}}function Zo(e,t,n){rh||bu(!1,"Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var a=e.stateNode,r=Na(a,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r}function ei(e){rh||bu(!1,"Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var t=e.stateNode,n=e.memoizedProps,a=Ra(t,n,e);if(a){var r=hv;if(null!==r)switch(r.tag){case as:Ia(r.stateNode.containerInfo,t,n);break;case os:Ma(r.type,r.memoizedProps,r.stateNode,t,n)}}return a}function ti(e){for(var t=e.return;null!==t&&t.tag!==os&&t.tag!==as;)t=t.return;hv=t}function ni(e){if(!rh)return!1;if(e!==hv)return!1;if(!vv)return ti(e),vv=!0,!1;var t=e.type;if(e.tag!==os||"head"!==t&&"body"!==t&&!da(t,e.memoizedProps))for(var n=bv;n;)Ko(e,n),n=Pa(n);return ti(e),bv=hv?Pa(e.stateNode):null,!0}function ai(){rh&&(hv=null,bv=null,vv=!1)}function ri(e,t,n){oi(e,t,n,t.expirationTime)}function oi(e,t,n,a){t.child=null===e?gv(t,null,n,a):mv(t,e.child,n,a)}function ii(e,t){var n=t.type.render,a=t.pendingProps,r=t.ref;if(mr());else if(t.memoizedProps===a){var o=null!==e?e.ref:null;if(r===o)return xi(e,t)}var i=void 0;return jf.current=t,Qf.setCurrentPhase("render"),i=n(a,r),Qf.setCurrentPhase(null),ri(e,t,i),Si(t,a),t.child}function li(e,t){var n=t.pendingProps;if(mr());else if(t.memoizedProps===n)return xi(e,t);return ri(e,t,n),Si(t,n),t.child}function ui(e,t){var n=t.pendingProps.children;if(mr());else if(null===n||t.memoizedProps===n)return xi(e,t);return ri(e,t,n),Si(t,n),t.child}function si(e,t){var n=t.pendingProps;return dh&&(t.effectTag|=Dp),t.memoizedProps===n?xi(e,t):(ri(e,t,n.children),Si(t,n),t.child)}function ci(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=Hp)}function fi(e,t){var n=t.type,a=t.pendingProps;if(mr());else if(t.memoizedProps===a)return xi(e,t);var r=fr(t),o=dr(t,r),i=void 0;return jf.current=t,Qf.setCurrentPhase("render"),i=n(a,o),Qf.setCurrentPhase(null),t.effectTag|=Ap,ri(e,t,i),Si(t,a),t.child}function pi(e,t,n){var a=_r(t),r=void 0;return null===e?null===t.stateNode?(Do(t,t.pendingProps,n),Bo(t,n),r=!0):r=Uo(t,n):r=Wo(e,t,n),di(e,t,r,a,n)}function di(e,t,n,a,r){ci(e,t);var o=(t.effectTag&Wp)!==jp;if(!n&&!o)return a&&kr(t,!1),xi(e,t);var i=t.type,l=t.stateNode;jf.current=t;var u=void 0;return!o||ih&&"function"===typeof i.getDerivedStateFromCatch?(Qf.setCurrentPhase("render"),u=l.render(),(uh||sh&&t.mode&tb)&&l.render(),Qf.setCurrentPhase(null)):(u=null,dh&&Io()),t.effectTag|=Ap,o&&(oi(e,t,null,r),t.child=null),oi(e,t,u,r),Ti(t,l.state),Si(t,l.props),a&&kr(t,!0),t.child}function mi(e){var t=e.stateNode;t.pendingContext?yr(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yr(e,t.context,!1),bo(e,t.containerInfo)}function gi(e,t,n){mi(t);var a=t.updateQueue;if(null!==a){var r=t.pendingProps,o=t.memoizedState,i=null!==o?o.element:null;ro(t,a,r,null,n);var l=t.memoizedState,u=l.element;if(u===i)return ai(),xi(e,t);var s=t.stateNode;return(null===e||null===e.child)&&s.hydrate&&Yo(t)?(t.effectTag|=zp,t.child=gv(t,null,u,n)):(ai(),ri(e,t,u)),t.child}return ai(),xi(e,t)}function hi(e,t,n){wo(t),null===e&&Jo(t);var a=t.type,r=t.memoizedProps,o=t.pendingProps,i=null!==e?e.memoizedProps:null;if(mr());else if(r===o){var l=t.mode&eb&&ma(a,o);if(l&&(t.expirationTime=Qh),!l||n!==Qh)return xi(e,t)}var u=o.children;return da(a,o)?u=null:i&&da(a,i)&&(t.effectTag|=Bp),ci(e,t),n!==Qh&&t.mode&eb&&ma(a,o)?(t.expirationTime=Qh,t.memoizedProps=o,null):(ri(e,t,u),Si(t,o),t.child)}function bi(e,t){return null===e&&Jo(t),Si(t,t.pendingProps),null}function vi(e,t,n){null!==e&&bu(!1,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var a=t.type,r=t.pendingProps,o=fr(t),i=dr(t,o),l=void 0;if(a.prototype&&"function"===typeof a.prototype.render){var u=Ce(t)||"Unknown";wv[u]||(yu(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),wv[u]=!0)}if(t.mode&tb&&gb.recordLegacyContextWarning(t,null),jf.current=t,l=a(r,i),t.effectTag|=Ap,"object"===typeof l&&null!==l&&"function"===typeof l.render&&void 0===l.$$typeof){var s=t.type;t.tag=ns,t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;var c=s.getDerivedStateFromProps;"function"===typeof c&&Mo(t,c,r);var f=_r(t);return zo(t,l),Bo(t,n),di(e,t,!0,f,n)}t.tag=ts;var p=t.type;if(p&&p.childContextTypes&&yu(!1,"%s(...): childContextTypes cannot be defined on a functional component.",p.displayName||p.name||"Component"),null!==t.ref){var d="",m=Qf.getCurrentFiberOwnerName();m&&(d+="\n\nCheck the render method of `"+m+"`.");var g=m||t._debugID||"",h=t._debugSource;h&&(g=h.fileName+":"+h.lineNumber),kv[g]||(kv[g]=!0,yu(!1,"Stateless function components cannot be given refs. Attempts to access this ref will fail.%s%s",d,Qf.getCurrentFiberStackAddendum()))}if("function"===typeof a.getDerivedStateFromProps){var b=Ce(t)||"Unknown";_v[b]||(yu(!1,"%s: Stateless functional components do not support getDerivedStateFromProps.",b),_v[b]=!0)}return ri(e,t,l),Si(t,r),t.child}function yi(e,t,n){if(lh){var a=t.pendingProps,r=t.memoizedProps,o=t.memoizedState,i=(t.effectTag&Wp)===jp,l=!i;if(mr());else if(a===r&&l===o)return xi(e,t);var u=a.children,s=u(l);return t.memoizedProps=a,t.memoizedState=l,ri(e,t,s),t.child}return null}function wi(e,t,n){bo(t,t.stateNode.containerInfo);var a=t.pendingProps;if(mr());else if(t.memoizedProps===a)return xi(e,t);return null===e?(t.child=mv(t,null,a,n),Si(t,a)):(ri(e,t,a),Si(t,a)),t.child}function _i(e,t,n,a){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var o=void 0;switch(r.tag){case ss:var i=0|r.stateNode;if(r.type===t&&0!==(i&n)){for(var l=r;null!==l;){var u=l.alternate;if(l.expirationTime===Yh||l.expirationTime>a)l.expirationTime=a,null!==u&&(u.expirationTime===Yh||u.expirationTime>a)&&(u.expirationTime=a);else{if(null===u||!(u.expirationTime===Yh||u.expirationTime>a))break;u.expirationTime=a}l=l.return}o=null}else o=r.child;break;case cs:o=r.type===e.type?null:r.child;break;default:o=r.child}if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var s=o.sibling;if(null!==s){s.return=o.return,o=s;break}o=o.return}r=o}}function ki(e,t,n){var a=t.type,r=a._context,o=t.pendingProps,i=t.memoizedProps,l=!0;if(mr())l=!1;else if(i===o)return t.stateNode=0,co(t),xi(e,t);var u=o.value;t.memoizedProps=o;var s=t.type.propTypes;s&&Eu(s,o,"prop","Context.Provider",yv);var c=void 0;if(null===i)c=Gh;else if(i.value===o.value){if(i.children===o.children&&l)return t.stateNode=0,co(t),xi(e,t);c=0}else{var f=i.value;if(f===u&&(0!==f||1/f===1/u)||f!==f&&u!==u){if(i.children===o.children&&l)return t.stateNode=0,co(t),xi(e,t);c=0}else if(c="function"===typeof r._calculateChangedBits?r._calculateChangedBits(f,u):Gh,(c&Gh)!==c&&yu(!1,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",c),0===(c|=0)){if(i.children===o.children&&l)return t.stateNode=0,co(t),xi(e,t)}else _i(t,r,c,n)}return t.stateNode=c,co(t),ri(e,t,o.children),t.child}function Ei(e,t,n){var a=t.type,r=t.pendingProps,o=t.memoizedProps,i=po(a),l=mo(a);if(mr());else if(0===l&&o===r)return xi(e,t);t.memoizedProps=r;var u=r.unstable_observedBits;if(void 0!==u&&null!==u||(u=Gh),t.stateNode=u,0!==(l&u))_i(t,a,l,n);else if(o===r)return xi(e,t);var s=r.children;"function"!==typeof s&&yu(!1,"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var c=void 0;return jf.current=t,Qf.setCurrentPhase("render"),c=s(i),Qf.setCurrentPhase(null),t.effectTag|=Ap,ri(e,t,c),t.child}function xi(e,t){return qa(t),dh&&Io(),Go(e,t),t.child}function Ci(e,t){switch(qa(t),dh&&Io(),t.tag){case as:mi(t);break;case ns:_r(t);break;case rs:bo(t,t.stateNode.containerInfo);break;case cs:co(t)}return null}function Si(e,t){e.memoizedProps=t}function Ti(e,t){e.memoizedState=t}function Pi(e,t,n){if(dh&&t.mode&nb&&Co(t),t.expirationTime===Yh||t.expirationTime>n)return Ci(e,t);switch(t.tag){case es:return vi(e,t,n);case ts:return fi(e,t);case ns:return pi(e,t,n);case as:return gi(e,t,n);case os:return hi(e,t,n);case is:return bi(e,t);case ds:return yi(e,t,n);case rs:return wi(e,t,n);case fs:return ii(e,t);case ls:return li(e,t);case us:return ui(e,t);case ps:return si(e,t);case cs:return ki(e,t,n);case ss:return Ei(e,t,n);default:bu(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function Oi(e){e.effectTag|=Dp}function Ni(e){e.effectTag|=Hp}function Ri(e,t){for(var n=t.child;null!==n;){if(n.tag===os||n.tag===is)ca(e,n.stateNode);else if(n.tag===rs);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)return;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ii(e,t,n){var a=t.pendingProps;switch(dh&&t.mode&nb&&To(t),t.tag){case ts:return null;case ns:return br(t),null;case as:vo(t),vr(t);var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ni(t),t.effectTag&=~zp),Ev(t),null;case os:_o(t);var o=ho(),i=t.type;if(null!==e&&null!=t.stateNode){var l=e.memoizedProps,u=t.stateNode,s=yo(),c=pa(u,i,l,a,o,s);xv(e,t,c,i,l,a,o,s),e.ref!==t.ref&&Ni(t)}else{if(!a)return null===t.stateNode&&bu(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var f=yo();if(ni(t))Zo(t,o,f)&&Oi(t);else{var p=sa(i,a,o,f,t);Ri(p,t),fa(p,i,a,o,f)&&Oi(t),t.stateNode=p}null!==t.ref&&Ni(t)}return null;case is:var d=a;if(e&&null!=t.stateNode){var m=e.memoizedProps;Cv(e,t,m,d)}else{if("string"!==typeof d)return null===t.stateNode&&bu(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var g=ho(),h=yo();ni(t)?ei(t)&&Oi(t):t.stateNode=ga(d,g,h,t)}return null;case fs:case ds:case ls:case us:case ps:return null;case rs:return vo(t),Ev(t),null;case cs:return fo(t),null;case ss:return null;case es:bu(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:bu(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function Mi(e){return!0}function ji(e){if(!1!==Mi(e)){var t=e.error;if(!t||!t.suppressReactErrorLogging){var n=e.componentName,a=e.componentStack,r=e.errorBoundaryName,o=e.errorBoundaryFound,i=e.willRetry,l=n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:",u=void 0;u=o&&r?i?"React will try to recreate this component tree from scratch using the error boundary you provided, "+r+".":"This error was initially handled by the error boundary "+r+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.";var s=""+l+a+"\n\n"+u;console.error(s)}}}function Ai(e,t){var n=t.source,a=t.stack;null===a&&null!==n&&(a=Te(n));var r={componentName:null!==n?Ce(n):null,componentStack:null!==a?a:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===ns&&(r.errorBoundary=e.stateNode,r.errorBoundaryName=Ce(e),r.errorBoundaryFound=!0,r.willRetry=!0);try{ji(r)}catch(e){var o=e&&e.suppressReactErrorLogging;o||console.error(e)}}function zi(e,t){if(Tv(null,Rv,null,e,t),Pv()){wl(e,Ov())}}function Di(e){var t=e.ref;if(null!==t)if("function"===typeof t){if(Tv(null,t,null,null),Pv()){var n=Ov();wl(e,n)}}else t.current=null}function Li(e,t){switch(t.tag){case ns:if(t.effectTag&Vp&&null!==e){var n=e.memoizedProps,a=e.memoizedState;Ya(t,"getSnapshotBeforeUpdate");var r=t.stateNode;r.props=t.memoizedProps,r.state=t.memoizedState;var o=r.getSnapshotBeforeUpdate(n,a),i=Nv;void 0!==o||i.has(t.type)||(i.add(t.type),yu(!1,"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ce(t))),r.__reactInternalSnapshotBeforeUpdate=o,Ka()}return;case as:case os:case is:case rs:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Fi(e,t,n,a,r){switch(n.tag){case ns:var o=n.stateNode;if(n.effectTag&Dp)if(null===t)Ya(n,"componentDidMount"),o.props=n.memoizedProps,o.state=n.memoizedState,o.componentDidMount(),Ka();else{var i=t.memoizedProps,l=t.memoizedState;Ya(n,"componentDidUpdate"),o.props=n.memoizedProps,o.state=n.memoizedState,o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate),Ka()}var u=n.updateQueue;return void(null!==u&&(o.props=n.memoizedProps,o.state=n.memoizedState,uo(n,u,o,r)));case as:var s=n.updateQueue;if(null!==s){var c=null;if(null!==n.child)switch(n.child.tag){case os:c=ia(n.child.stateNode);break;case ns:c=n.child.stateNode}uo(n,s,c,r)}return;case os:var f=n.stateNode;if(null===t&&n.effectTag&Dp){ha(f,n.type,n.memoizedProps,n)}return;case is:case rs:case ps:case ds:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Bi(e){var t=e.ref;if(null!==t){var n=e.stateNode,a=void 0;switch(e.tag){case os:a=ia(n);break;default:a=n}"function"===typeof t?t(a):(t.hasOwnProperty("current")||yu(!1,"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Ce(e),Te(e)),t.current=a)}}function Ui(e){var t=e.ref;null!==t&&("function"===typeof t?t(null):t.current=null)}function Wi(e){switch("function"===typeof Vr&&Vr(e),e.tag){case ns:Di(e);var t=e.stateNode;return void("function"===typeof t.componentWillUnmount&&zi(e,t));case os:return void Di(e);case rs:return void(ah?Xi(e):Og&&qi(e))}}function Hi(e){for(var t=e;;)if(Wi(t),null===t.child||ah&&t.tag===rs){if(t===e)return;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function Vi(e){e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)}function qi(e){if(Og){var t=e.stateNode,n=t.containerInfo,a=Rg(n);jg(n,a)}}function $i(e){if(Og)switch(e.tag){case ns:case os:case is:return;case as:case rs:var t=e.stateNode,n=t.containerInfo,a=t.pendingChildren;return void jg(n,a);default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Gi(e){for(var t=e.return;null!==t;){if(Yi(t))return t;t=t.return}bu(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Yi(e){return e.tag===os||e.tag===as||e.tag===rs}function Ki(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Yi(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==os&&t.tag!==is;){if(t.effectTag&zp)continue e;if(null===t.child||t.tag===rs)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&zp))return t.stateNode}}function Qi(e){if(ah){var t=Gi(e),n=void 0,a=void 0;switch(t.tag){case os:n=t.stateNode,a=!1;break;case as:case rs:n=t.stateNode.containerInfo,a=!0;break;default:bu(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}t.effectTag&Bp&&(va(n),t.effectTag&=~Bp);for(var r=Ki(e),o=e;;){if(o.tag===os||o.tag===is)r?a?Ea(n,o.stateNode,r):ka(n,o.stateNode,r):a?_a(n,o.stateNode):wa(n,o.stateNode);else if(o.tag===rs);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)return;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}}function Xi(e){for(var t=e,n=!1,a=void 0,r=void 0;;){if(!n){var o=t.return;e:for(;;){switch(null===o&&bu(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),o.tag){case os:a=o.stateNode,r=!1;break e;case as:case rs:a=o.stateNode.containerInfo,r=!0;break e}o=o.return}n=!0}if(t.tag===os||t.tag===is)Hi(t),r?Ca(a,t.stateNode):xa(a,t.stateNode);else if(t.tag===rs){if(a=t.stateNode.containerInfo,null!==t.child){t.child.return=t,t=t.child;continue}}else if(Wi(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,t.tag===rs&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Ji(e){ah?Xi(e):Hi(e),Vi(e)}function Zi(e,t){if(!ah)return void $i(t);switch(t.tag){case ns:return;case os:var n=t.stateNode;if(null!=n){var a=t.memoizedProps,r=null!==e?e.memoizedProps:a,o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&ba(n,i,o,r,a,t)}return;case is:null===t.stateNode&&bu(!1,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,u=t.memoizedProps;return void ya(l,null!==e?e.memoizedProps:u,u);case as:return;case ps:if(dh){(0,t.memoizedProps.onRender)(t.memoizedProps.id,null===e?"mount":"update",t.actualDuration,t.treeBaseTime,t.actualStartTime,ko())}return;case ds:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function el(e){ah&&va(e.stateNode)}function tl(e,t,n){var a=Jr(n);a.tag=Ib,a.payload={element:null};var r=t.value;return a.callback=function(){Vl(r),Ai(e,t)},a}function nl(e,t,n){var a=Jr(n);a.tag=Ib;var r=e.type.getDerivedStateFromCatch;if(ih&&"function"===typeof r){var o=t.value;a.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(a.callback=function(){ih&&"function"===r||pl(this);var n=t.value,a=t.stack;Ai(e,t),this.componentDidCatch(n,{componentStack:null!==a?a:""})}),a}function al(e){var t=Pl(),n=xl(t,e);eo(e,Jr(n),n),Tl(e,n)}function rl(e,t,n,a,r,o,i){if(n.effectTag|=$p,n.firstEffect=n.lastEffect=null,lh&&null!==a&&"object"===typeof a&&"function"===typeof a.then){var l=a,u=Cr(o),s=u-5e3,c=i-s;c<0&&(c=0);var f=u-i,p=t,d=-1;e:do{if(p.tag===ds){var m=p.alternate;if(null!==m&&!0===m.memoizedState){d=0;break e}var g=p.pendingProps.ms;if("number"===typeof g){if(g<=0){d=0;break e}(-1===d||g<d)&&(d=g)}else-1===d&&(d=f)}p=p.return}while(null!==p);var h=d-c;if(o===Qh||h>0){Cl(e,l,h,o);var b=function(){Sl(e,o)};return void l.then(b,b)}p=t;do{switch(p.tag){case as:var v=o===Kh?"A synchronous update was suspended, but no fallback UI was provided.":"An update was suspended for longer than the timeout, but no fallback UI was provided.";a=new Error(v);break;case ds:if((p.effectTag&Wp)===jp){p.effectTag|=Gp;var y=al.bind(null,p);return void l.then(y,y)}}p=p.return}while(null!==p)}a=so(a,n);var w=t;do{switch(w.tag){case as:var _=a;w.effectTag|=Gp;return void to(w,tl(w,_,o),o);case ns:var k=a,E=w.type,x=w.stateNode;if((w.effectTag&Wp)===jp&&("function"===typeof E.getDerivedStateFromCatch&&ih||null!==x&&"function"===typeof x.componentDidCatch&&!fl(x))){w.effectTag|=Gp;return void to(w,nl(w,k,o),o)}}w=w.return}while(null!==w)}function ol(e,t,n){switch(dh&&e.mode&nb&&To(e),e.tag){case ns:br(e);var a=e.effectTag;return a&Gp?(e.effectTag=a&~Gp|Wp,e):null;case as:vo(e),vr(e);var r=e.effectTag;return r&Gp?(e.effectTag=r&~Gp|Wp,e):null;case os:return _o(e),null;case ds:var o=e.effectTag;return o&Gp?(e.effectTag=o&~Gp|Wp,e):null;case rs:return vo(e),null;case cs:return fo(e),null;default:return null}}function il(e){switch(dh&&e.mode&nb&&(Oo(),To(e)),e.tag){case ns:br(e);break;case as:vo(e),vr(e);break;case os:_o(e);break;case rs:vo(e);break;case cs:fo(e)}}function ll(){if(null!==$v)for(var e=$v.return;null!==e;)il(e),e=e.return;gb.discardPendingWarnings(),sr(),Gv=null,Yv=Yh,Kv=-1,Qv=!1,$v=null,Zv=!1}function ul(){for(;null!==Xv;){Qf.setCurrentFiber(Xv),Ba();var e=Xv.effectTag;if(e&Bp&&el(Xv),e&Hp){var t=Xv.alternate;null!==t&&Ui(t)}switch(e&(zp|Dp|Fp)){case zp:Qi(Xv),Xv.effectTag&=~zp;break;case Lp:Qi(Xv),Xv.effectTag&=~zp;Zi(Xv.alternate,Xv);break;case Dp:Zi(Xv.alternate,Xv);break;case Fp:Ji(Xv)}Xv=Xv.nextEffect}Qf.resetCurrentFiber()}function sl(){for(;null!==Xv;){if(Xv.effectTag&Vp){Ba();Li(Xv.alternate,Xv)}Xv=Xv.nextEffect}}function cl(e,t,n){for(gb.flushPendingUnsafeLifecycleWarnings(),fh&&gb.flushPendingDeprecationWarnings(),ph&&gb.flushLegacyContextWarning();null!==Xv;){var a=Xv.effectTag;if(a&(Dp|Up)){Ba();Fi(e,Xv.alternate,Xv,t,n)}a&Hp&&(Ba(),Bi(Xv));var r=Xv.nextEffect;Xv.nextEffect=null,Xv=r}}function fl(e){return null!==ey&&ey.has(e)}function pl(e){null===ey?ey=new Set([e]):ey.add(e)}function dl(e){qv=!0,Jv=!0,Ja();var t=e.stateNode;t.current===e&&bu(!1,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.");var n=t.pendingCommitExpirationTime;n===Yh&&bu(!1,"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue."),t.pendingCommitExpirationTime=Yh;var a=Pl();jf.current=null;var r=void 0;for(e.effectTag>Ap?null!==e.lastEffect?(e.lastEffect.nextEffect=e,r=e.firstEffect):r=e:r=e.firstEffect,la(t.containerInfo),Xv=r,er();null!==Xv;){var o=!1,i=void 0;Iv(null,sl,null),Mv()&&(o=!0,i=jv()),o&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,i),null!==Xv&&(Xv=Xv.nextEffect))}for(tr(),dh&&Eo(),Xv=r,nr();null!==Xv;){var l=!1,u=void 0;Iv(null,ul,null),Mv()&&(l=!0,u=jv()),l&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,u),null!==Xv&&(Xv=Xv.nextEffect))}for(ar(),ua(t.containerInfo),t.current=e,Xv=r,rr();null!==Xv;){var s=!1,c=void 0;Iv(null,cl,null,t,a,n),Mv()&&(s=!0,c=jv()),s&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,c),null!==Xv&&(Xv=Xv.nextEffect))}dh&&(xo(),Po()),Jv=!1,qv=!1,or(),Za(),"function"===typeof Hr&&Hr(e.stateNode),Pb.debugTool&&Pb.debugTool.onCommitWork(e),$r(t,a,t.current.expirationTime);var f=Kr(t);return f===Yh&&(ey=null),f}function ml(e,t){if(t===Qh||e.expirationTime!==Qh){var n=Yh;switch(e.tag){case as:case ns:var a=e.updateQueue;null!==a&&(n=a.expirationTime)}if(dh&&e.mode&nb){for(var r=e.selfBaseTime,o=e.child;null!==o;)r+=o.treeBaseTime,o.expirationTime!==Yh&&(n===Yh||n>o.expirationTime)&&(n=o.expirationTime),o=o.sibling;e.treeBaseTime=r}else for(var i=e.child;null!==i;)i.expirationTime!==Yh&&(n===Yh||n>i.expirationTime)&&(n=i.expirationTime),i=i.sibling;e.expirationTime=n}}function gl(e){for(;;){var t=e.alternate;Qf.setCurrentFiber(e);var n=e.return,a=e.sibling;if((e.effectTag&$p)===jp){var r=Ii(t,e,Yv);if($a(e),ml(e,Yv),Qf.resetCurrentFiber(),null!==r)return $a(e),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),r;if(null!==n&&(n.effectTag&$p)===jp){null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect);e.effectTag>Ap&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)}if(Pb.debugTool&&Pb.debugTool.onCompleteWork(e),null!==a)return a;if(null!==n){e=n;continue}return Zv=!0,null}var o=ol(e,Qv,Yv);if(e.effectTag&Wp?Ga(e):$a(e),Qf.resetCurrentFiber(),null!==o)return $a(e),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),o.effectTag&=qp,o;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=$p),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),null!==a)return a;if(null===n)return null;e=n}return null}function hl(e){var t=e.alternate;Va(e),Qf.setCurrentFiber(e),ch&&(ny=Fr(ny,e));var n=void 0;return dh?(e.mode&nb&&Ro(),n=Pi(t,e,Yv),e.mode&nb&&(No(e),Io())):n=Pi(t,e,Yv),Qf.resetCurrentFiber(),ry&&iy(),Pb.debugTool&&Pb.debugTool.onBeginWork(e),null===n&&(n=gl(e)),jf.current=null,n}function bl(e){if(e){for(;null!==$v&&!Hl();)$v=hl($v);dh&&So()}else for(;null!==$v;)$v=hl($v)}function vl(e,t,n){qv&&bu(!1,"renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),qv=!0,t===Yv&&e===Gv&&null!==$v||(ll(),Gv=e,Yv=t,Kv=-1,$v=Nr(Gv.current,null,Yv),e.pendingCommitExpirationTime=Yh);var a=!1;for(Qv=!n||Yv<=Uv,Qa($v);;){try{bl(n)}catch(t){if(dh&&Io(),null===$v)a=!0,Vl(t);else{zb();var r=$v;ch&&ay(r,t,n),null===$v&&bu(!1,"Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help us find it.");var o=$v,i=o.return;if(null===i){a=!0,Vl(t);break}rl(e,i,o,t,Qv,Yv,Wv),$v=gl(o)}}break}var l=!1;if(qv=!1,a)return Xa(ty,l),ty=null,cr(),null;if(null===$v){if(Zv){l=!0,Xa(ty,l),ty=null,e.pendingCommitExpirationTime=t;return e.current.alternate}Xa(ty,l),ty=null,Qv&&bu(!1,"Expired work should have completed. This error is likely caused by a bug in React. Please file an issue."),Gr(e,t),Kv>=0&&setTimeout(function(){Sl(e,t)},Kv);return ql(Kr(e)),null}return Xa(ty,l),ty=null,null}function yl(e,t,n){qv&&!Jv&&bu(!1,"dispatch: Cannot dispatch during the render phase.");for(var a=e.return;null!==a;){switch(a.tag){case ns:var r=a.type,o=a.stateNode;if("function"===typeof r.getDerivedStateFromCatch||"function"===typeof o.componentDidCatch&&!fl(o)){return eo(a,nl(a,so(t,e),n),n),void Tl(a,n)}break;case as:return eo(a,tl(a,so(t,e),n),n),void Tl(a,n)}a=a.return}if(e.tag===as){var i=e;eo(i,tl(i,so(t,i),n),n),Tl(i,n)}}function wl(e,t){return yl(e,t,Kh)}function _l(e){return Tr(e,5e3,250)}function kl(e){var t=void 0;t=500;return Tr(e,t,100)}function El(){var e=Pl(),t=_l(e);return t<=Hv&&(t=Hv+1),Hv=t}function xl(e,t){var n=void 0;return n=Vv!==Yh?Vv:qv?Jv?Kh:Yv:t.mode&eb?_y?kl(e):_l(e):Kh,_y&&(my===Yh||n>my)&&(my=n),n}function Cl(e,t,n,a){n>=0&&Kv<n&&(Kv=n)}function Sl(e,t){Yr(e,t);var n=Kr(e);n!==Yh&&Il(e,n)}function Tl(e,t){if(Ua(),e.tag===ns){var n=e.stateNode;Lv(n)}for(var a=e;null!==a;){if((a.expirationTime===Yh||a.expirationTime>t)&&(a.expirationTime=t),null!==a.alternate&&(a.alternate.expirationTime===Yh||a.alternate.expirationTime>t)&&(a.alternate.expirationTime=t),null===a.return){if(a.tag!==as)return void(e.tag===ns&&Dv(e));var r=a.stateNode;!qv&&Yv!==Yh&&t<Yv&&(ty=e,ll()),qr(r,t);var o=Kr(r);qv&&!Jv&&Gv===r||Ml(r,o),xy>Ey&&bu(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.")}a=a.return}}function Pl(){return Wv=Zg()-Bv,Uv=xr(Wv)}function Ol(e){var t=Vv,n=Pl();Vv=_l(n);try{return e()}finally{Vv=t}}function Nl(e,t,n,a,r){var o=Vv;Vv=Kh;try{return e(t,n,a,r)}finally{Vv=o}}function Rl(e){if(sy!==Yh){if(e>sy)return;null!==cy&&nh(cy)}else Wa();var t=Zg()-Bv,n=Cr(e),a=n-t;sy=e,cy=th(zl,{timeout:a})}function Il(e,t){(e.remainingExpirationTime===Yh||e.remainingExpirationTime<t)&&Ml(e,t)}function Ml(e,t){if(jl(e,t),!fy)return yy?void(wy&&(py=e,dy=Kh,Ul(e,Kh,!1))):void(t===Kh?Dl():Rl(t))}function jl(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===uy?(ly=uy=e,e.nextScheduledRoot=e):(uy.nextScheduledRoot=e,uy=e,uy.nextScheduledRoot=ly);else{var n=e.remainingExpirationTime;(n===Yh||t<n)&&(e.remainingExpirationTime=t)}}function Al(){var e=Yh,t=null;if(null!==uy)for(var n=uy,a=ly;null!==a;){var r=a.remainingExpirationTime;if(r===Yh){if((null===n||null===uy)&&bu(!1,"Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue."),a===a.nextScheduledRoot){a.nextScheduledRoot=null,ly=uy=null;break}if(a===ly){var o=a.nextScheduledRoot;ly=o,uy.nextScheduledRoot=o,a.nextScheduledRoot=null}else{if(a===uy){uy=n,uy.nextScheduledRoot=ly,a.nextScheduledRoot=null;break}n.nextScheduledRoot=a.nextScheduledRoot,a.nextScheduledRoot=null}a=n.nextScheduledRoot}else{if((e===Yh||r<e)&&(e=r,t=a),a===uy)break;n=a,a=a.nextScheduledRoot}}var i=py;null!==i&&i===t&&e===Kh?xy++:xy=0,py=t,dy=e}function zl(e){Ll(Yh,!0,e)}function Dl(){Ll(Kh,!1,null)}function Ll(e,t,n){if(vy=n,Al(),dh&&Oo(),oh&&null!==vy){Ha(dy<Pl(),Cr(dy))}if(t)for(;null!==py&&dy!==Yh&&(e===Yh||e>=dy)&&(!gy||Pl()>=dy);)Pl(),Ul(py,dy,!gy),Al();else for(;null!==py&&dy!==Yh&&(e===Yh||e>=dy);)Ul(py,dy,!1),Al();null!==vy&&(sy=Yh,cy=null),dy!==Yh&&Rl(dy),vy=null,gy=!1,Bl()}function Fl(e,t){fy&&bu(!1,"work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method."),py=e,dy=t,Ul(e,t,!1),Dl(),Bl()}function Bl(){if(xy=0,null!==ky){var e=ky;ky=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(a){hy||(hy=!0,by=a)}}}if(hy){var a=by;throw by=null,hy=!1,a}}function Ul(e,t,n){if(fy&&bu(!1,"performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),fy=!0,n){var a=e.finishedWork;null!==a?Wl(e,a,t):null!==(a=vl(e,t,!0))&&(Hl()?(e.finishedWork=a,dh&&So()):Wl(e,a,t))}else{var r=e.finishedWork;null!==r?Wl(e,r,t):null!==(r=vl(e,t,!1))&&Wl(e,r,t)}fy=!1}function Wl(e,t,n){var a=e.firstBatch;if(null!==a&&a._expirationTime<=n&&(null===ky?ky=[a]:ky.push(a),a._defer))return e.finishedWork=t,void(e.remainingExpirationTime=Yh);e.finishedWork=null,e.remainingExpirationTime=dl(t)}function Hl(){return null!==vy&&(!(vy.timeRemaining()>Cy)&&(gy=!0,!0))}function Vl(e){null===py&&bu(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),py.remainingExpirationTime=Yh,hy||(hy=!0,by=e)}function ql(e){null===py&&bu(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),py.remainingExpirationTime=e}function $l(e,t){var n=yy;yy=!0;try{return e(t)}finally{yy=n,yy||fy||Dl()}}function Gl(e,t){if(yy&&!wy){wy=!0;try{return e(t)}finally{wy=!1}}return e(t)}function Yl(e,t){fy&&bu(!1,"flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=yy;yy=!0;try{return Nl(e,t)}finally{yy=n,Dl()}}function Kl(e,t,n){if(_y)return e(t,n);yy||fy||my===Yh||(Ll(my,!1,null),my=Yh);var a=_y,r=yy;_y=!0,yy=!0;try{return e(t,n)}finally{_y=a,yy=r,yy||fy||Dl()}}function Ql(){fy||my===Yh||(Ll(my,!1,null),my=Yh)}function Xl(e){var t=yy;yy=!0;try{Nl(e)}finally{yy=t,yy||fy||Ll(Kh,!1,null)}}function Jl(e){if(!e)return Tu;var t=gt(e),n=Er(t);return hr(t)?wr(t,n):n}function Zl(e,t,n,a){"render"!==Qf.phase||null===Qf.current||Sy||(Sy=!0,yu(!1,"Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Ce(Qf.current)||"Unknown"));var r=Jr(n);return r.payload={element:t},a=void 0===a?null:a,null!==a&&("function"!==typeof a&&yu(!1,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),eo(e,r,n),Tl(e,n),n}function eu(e,t,n,a,r){var o=t.current;Pb.debugTool&&(null===o.alternate?Pb.debugTool.onMountContainer(t):null===e?Pb.debugTool.onUnmountContainer(t):Pb.debugTool.onUpdateContainer(t));var i=Jl(n);return null===t.context?t.context=i:t.pendingContext=i,Zl(o,e,a,r)}function tu(e){var t=gt(e);void 0===t&&("function"===typeof e.render?bu(!1,"Unable to find node on an unmounted component."):bu(!1,"Argument appears to not be a ReactComponent. Keys: %s",Object.keys(e)));var n=Et(t);return null===n?null:n.stateNode}function nu(e,t,n){return Br(e,t,n)}function au(e,t,n,a){var r=t.current;return eu(e,t,n,xl(Pl(),r),a)}function ru(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case os:return ia(t.child.stateNode);default:return t.child.stateNode}}function ou(e){var t=xt(e);return null===t?null:t.stateNode}function iu(e){var t=e.findFiberByHostInstance;return Wr(_u({},e,{findHostInstanceByFiber:function(e){var t=Et(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function lu(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ff,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function uu(e){var t=El();this._expirationTime=t,this._root=e,this._next=null,this._callbacks=null,this._didComplete=!1,this._hasChildren=!1,this._children=null,this._defer=!0}function su(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function cu(e,t,n){var a=nu(e,t,n);this._internalRoot=a}function fu(e){return!(!e||e.nodeType!==Pf&&e.nodeType!==Rf&&e.nodeType!==If&&(e.nodeType!==Nf||" react-mount-point-unstable "!==e.nodeValue))}function pu(e){return e?e.nodeType===Rf?e.documentElement:e.firstChild:null}function du(e){var t=pu(e);return!(!t||t.nodeType!==Pf||!t.hasAttribute(op))}function mu(e,t){var n=t||du(e);if(!n)for(var a=!1,r=void 0;r=e.lastChild;)!a&&r.nodeType===Pf&&r.hasAttribute(op)&&(a=!0,yu(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);!n||t||Ry||(Ry=!0,mb(!1,"render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML."));return new cu(e,!1,n)}function gu(e,t,n,a,r){fu(n)||bu(!1,"Target container is not a DOM element."),Py(n);var o=n._reactRootContainer;if(o){if("function"===typeof r){var i=r;r=function(){var e=ru(o._internalRoot);i.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,t,r):o.render(t,r)}else{if(o=n._reactRootContainer=mu(n,a),"function"===typeof r){var l=r;r=function(){var e=ru(o._internalRoot);l.call(e)}}Gl(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,t,r):o.render(t,r)})}return ru(o._internalRoot)}function hu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return fu(t)||bu(!1,"Target container is not a DOM element."),lu(e,t,null,n)}var bu=n(25),vu=n(2),yu=n(72),wu=n(73),_u=n(15),ku=n(16),Eu=n(37),xu=n(74),Cu=n(75),Su=n(76),Tu=n(26),Pu=n(221),Ou=n(223);vu||bu(!1,"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var Nu=function(e,t,n,a,r,o,i,l,u){this._hasCaughtError=!1,this._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this._caughtError=e,this._hasCaughtError=!0}};if("undefined"!==typeof window&&"function"===typeof window.dispatchEvent&&"undefined"!==typeof document&&"function"===typeof document.createEvent){var Ru=document.createElement("react");Nu=function(e,t,n,a,r,o,i,l,u){function s(){Ru.removeEventListener(b,s,!1),t.apply(n,d),p=!1}function c(e){m=e.error,g=!0,null===m&&0===e.colno&&0===e.lineno&&(h=!0)}"undefined"===typeof document&&bu(!1,"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.");var f=document.createEvent("Event"),p=!0,d=Array.prototype.slice.call(arguments,3),m=void 0,g=!1,h=!1,b="react-"+(e||"invokeguardedcallback");window.addEventListener("error",c),Ru.addEventListener(b,s,!1),f.initEvent(b,!1,!1),Ru.dispatchEvent(f),p?(g?h&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this._hasCaughtError=!0,this._caughtError=m):(this._hasCaughtError=!1,this._caughtError=null),window.removeEventListener("error",c)}}var Iu=Nu,Mu={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,a,r,o,i,l,u){Iu.apply(Mu,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,a,r,o,i,l,u){if(Mu.invokeGuardedCallback.apply(this,arguments),Mu.hasCaughtError()){var s=Mu.clearCaughtError();Mu._hasRethrowError||(Mu._hasRethrowError=!0,Mu._rethrowError=s)}},rethrowCaughtError:function(){return ju.apply(Mu,arguments)},hasCaughtError:function(){return Mu._hasCaughtError},clearCaughtError:function(){if(Mu._hasCaughtError){var e=Mu._caughtError;return Mu._caughtError=null,Mu._hasCaughtError=!1,e}bu(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}},ju=function(){if(Mu._hasRethrowError){var e=Mu._rethrowError;throw Mu._rethrowError=null,Mu._hasRethrowError=!1,e}},Au=null,zu={},Du=[],Lu={},Fu={},Bu={},Uu={},Wu=Object.freeze({plugins:Du,eventNameDispatchConfigs:Lu,registrationNameModules:Fu,registrationNameDependencies:Bu,possibleRegistrationNames:Uu,injectEventPluginOrder:o,injectEventPluginsByName:i}),Hu=null,Vu=null,qu=null,$u={injectComponentTree:function(e){Hu=e.getFiberCurrentPropsFromNode,Vu=e.getInstanceFromNode,(qu=e.getNodeFromInstance)&&Vu||yu(!1,"EventPluginUtils.injection.injectComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}},Gu=void 0;Gu=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,a=Array.isArray(t),r=a?t.length:t?1:0,o=Array.isArray(n),i=o?n.length:n?1:0;(o!==a||i!==r)&&yu(!1,"EventPluginUtils: Invalid `event`.")};var Yu=null,Ku=function(e,t){e&&(u(e,t),e.isPersistent()||e.constructor.release(e))},Qu=function(e){return Ku(e,!0)},Xu=function(e){return Ku(e,!1)},Ju={injectEventPluginOrder:o,injectEventPluginsByName:i},Zu=Object.freeze({injection:Ju,getListener:d,runEventsInBatch:g,runExtractedEventsInBatch:h}),es=0,ts=1,ns=2,as=3,rs=4,os=5,is=6,ls=10,us=11,ss=12,cs=13,fs=14,ps=15,ds=16,ms=Math.random().toString(36).slice(2),gs="__reactInternalInstance$"+ms,hs="__reactEventHandlers$"+ms,bs=Object.freeze({precacheFiberNode:b,getClosestInstanceFromNode:v,getInstanceFromNode:y,getNodeFromInstance:w,getFiberCurrentPropsFromNode:_,updateFiberProps:k}),vs=Object.freeze({accumulateTwoPhaseDispatches:j,accumulateTwoPhaseDispatchesSkipTarget:A,accumulateEnterLeaveDispatches:z,accumulateDirectDispatches:D}),ys={animationend:B("Animation","AnimationEnd"),animationiteration:B("Animation","AnimationIteration"),animationstart:B("Animation","AnimationStart"),transitionend:B("Transition","TransitionEnd")},ws={},_s={};wu.canUseDOM&&(_s=document.createElement("div").style,"AnimationEvent"in window||(delete ys.animationend.animation,delete ys.animationiteration.animation,delete ys.animationstart.animation),"TransitionEvent"in window||delete ys.transitionend.transition);var ks=L("abort"),Es=L(U("animationend")),xs=L(U("animationiteration")),Cs=L(U("animationstart")),Ss=L("blur"),Ts=L("canplay"),Ps=L("canplaythrough"),Os=L("cancel"),Ns=L("change"),Rs=L("click"),Is=L("close"),Ms=L("compositionend"),js=L("compositionstart"),As=L("compositionupdate"),zs=L("contextmenu"),Ds=L("copy"),Ls=L("cut"),Fs=L("dblclick"),Bs=L("drag"),Us=L("dragend"),Ws=L("dragenter"),Hs=L("dragexit"),Vs=L("dragleave"),qs=L("dragover"),$s=L("dragstart"),Gs=L("drop"),Ys=L("durationchange"),Ks=L("emptied"),Qs=L("encrypted"),Xs=L("ended"),Js=L("error"),Zs=L("focus"),ec=L("gotpointercapture"),tc=L("input"),nc=L("invalid"),ac=L("keydown"),rc=L("keypress"),oc=L("keyup"),ic=L("load"),lc=L("loadstart"),uc=L("loadeddata"),sc=L("loadedmetadata"),cc=L("lostpointercapture"),fc=L("mousedown"),pc=L("mousemove"),dc=L("mouseout"),mc=L("mouseover"),gc=L("mouseup"),hc=L("paste"),bc=L("pause"),vc=L("play"),yc=L("playing"),wc=L("pointercancel"),_c=L("pointerdown"),kc=L("pointermove"),Ec=L("pointerout"),xc=L("pointerover"),Cc=L("pointerup"),Sc=L("progress"),Tc=L("ratechange"),Pc=L("reset"),Oc=L("scroll"),Nc=L("seeked"),Rc=L("seeking"),Ic=L("selectionchange"),Mc=L("stalled"),jc=L("submit"),Ac=L("suspend"),zc=L("textInput"),Dc=L("timeupdate"),Lc=L("toggle"),Fc=L("touchcancel"),Bc=L("touchend"),Uc=L("touchmove"),Wc=L("touchstart"),Hc=L(U("transitionend")),Vc=L("volumechange"),qc=L("waiting"),$c=L("wheel"),Gc=[ks,Ts,Ps,Ys,Ks,Qs,Xs,Js,uc,sc,lc,bc,vc,yc,Sc,Tc,Nc,Rc,Mc,Ac,Dc,Vc,qc],Yc=null,Kc={_root:null,_startText:null,_fallbackText:null},Qc=!1,Xc=10,Jc=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],Zc={type:null,target:null,currentTarget:ku.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};_u(Y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ku.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ku.thatReturnsTrue)},persist:function(){this.isPersistent=ku.thatReturnsTrue},isPersistent:ku.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,K(t,e[t]));for(var n=0;n<Jc.length;n++)this[Jc[n]]=null;Object.defineProperty(this,"nativeEvent",K("nativeEvent",null)),Object.defineProperty(this,"preventDefault",K("preventDefault",ku)),Object.defineProperty(this,"stopPropagation",K("stopPropagation",ku))}}),Y.Interface=Zc,Y.extend=function(e){function t(){return n.apply(this,arguments)}var n=this,a=function(){};a.prototype=n.prototype;var r=new a;return _u(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=_u({},n.Interface,e),t.extend=n.extend,J(t),t},"function"===typeof Proxy&&!Object.isSealed(new Proxy({},{}))&&(Y=new Proxy(Y,{construct:function(e,t){return this.apply(e,Object.create(e.prototype),t)},apply:function(e,t,n){return new Proxy(e.apply(t,n),{set:function(e,t,n){return"isPersistent"===t||e.constructor.Interface.hasOwnProperty(t)||-1!==Jc.indexOf(t)||(Qc||e.isPersistent()||yu(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information."),Qc=!0),e[t]=n,!0}})}})),J(Y);var ef=Y,tf=ef.extend({data:null}),nf=ef.extend({data:null}),af=[9,13,27,32],rf=229,of=wu.canUseDOM&&"CompositionEvent"in window,lf=null;wu.canUseDOM&&"documentMode"in document&&(lf=document.documentMode);var uf=wu.canUseDOM&&"TextEvent"in window&&!lf,sf=wu.canUseDOM&&(!of||lf&&lf>8&&lf<=11),cf=32,ff=String.fromCharCode(cf),pf={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[Ms,rc,zc,hc]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[Ss,Ms,ac,rc,oc,fc]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[Ss,js,ac,rc,oc,fc]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[Ss,As,ac,rc,oc,fc]}},df=!1,mf=!1,gf={eventTypes:pf,extractEvents:function(e,t,n,a){var r=re(e,t,n,a),o=le(e,t,n,a);return null===r?o:null===o?r:[r,o]}},hf=null,bf={injectFiberControlledHostComponent:function(e){hf=e}},vf=null,yf=null,wf=bf,_f=Object.freeze({injection:wf,enqueueStateRestore:se,needsStateRestore:ce,restoreStateIfNeeded:fe}),kf=function(e,t){return e(t)},Ef=function(e,t,n){return e(t,n)},xf=function(){},Cf=!1,Sf={injectRenderer:function(e){kf=e.batchedUpdates,Ef=e.interactiveUpdates,xf=e.flushInteractiveUpdates}},Tf={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Pf=1,Of=3,Nf=8,Rf=9,If=11,Mf=vu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,jf=Mf.ReactCurrentOwner,Af=Mf.ReactDebugCurrentFrame,zf=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Df="function"===typeof Symbol&&Symbol.for,Lf=Df?Symbol.for("react.element"):60103,Ff=Df?Symbol.for("react.portal"):60106,Bf=Df?Symbol.for("react.fragment"):60107,Uf=Df?Symbol.for("react.strict_mode"):60108,Wf=Df?Symbol.for("react.profiler"):60114,Hf=Df?Symbol.for("react.provider"):60109,Vf=Df?Symbol.for("react.context"):60110,qf=Df?Symbol.for("react.async_mode"):60111,$f=Df?Symbol.for("react.forward_ref"):60112,Gf=Df?Symbol.for("react.timeout"):60113,Yf="function"===typeof Symbol&&Symbol.iterator,Kf="@@iterator",Qf={current:null,phase:null,resetCurrentFiber:Ne,setCurrentFiber:Re,setCurrentPhase:Ie,getCurrentFiberOwnerName:Pe,getCurrentFiberStackAddendum:Oe},Xf=0,Jf=2,Zf=3,ep=4,tp=5,np=6,ap=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",rp=ap+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",op="data-reactroot",ip=new RegExp("^["+ap+"]["+rp+"]*$"),lp=Object.prototype.hasOwnProperty,up={},sp={},cp={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){cp[e]=new Le(e,Xf,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];cp[t]=new Le(t,1,!1,n,null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){cp[e]=new Le(e,Jf,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){cp[e]=new Le(e,Jf,!1,e,null)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){cp[e]=new Le(e,Zf,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){cp[e]=new Le(e,Zf,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){cp[e]=new Le(e,ep,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){cp[e]=new Le(e,np,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){cp[e]=new Le(e,tp,!1,e.toLowerCase(),null)});var fp=/[\-\:]([a-z])/g,pp=function(e){return e[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"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Le(t,1,!1,e,null)}),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Le(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),cp.tabIndex=new Le("tabIndex",1,!1,"tabindex",null);var dp={checkPropTypes:null},mp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gp={value:function(e,t,n){return!e[t]||mp[e.type]||e.onChange||e.readOnly||e.disabled?null: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(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null: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`.")}};dp.checkPropTypes=function(e,t,n){Eu(gp,t,"prop",e,n)};var hp=Qf.getCurrentFiberOwnerName,bp=Qf.getCurrentFiberStackAddendum,vp=!1,yp=!1,wp=!1,_p=!1,kp={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[Ss,Ns,Rs,Zs,tc,ac,oc,Ic]}},Ep=null,xp=null,Cp=!1;wu.canUseDOM&&(Cp=he("input")&&(!document.documentMode||document.documentMode>9));var Sp={eventTypes:kp,_isInputEventSupported:Cp,extractEvents:function(e,t,n,a){var r=t?w(t):window,o=void 0,i=void 0;if(Ze(r)?o=at:me(r)?Cp?o=ft:(o=ut,i=lt):st(r)&&(o=ct),o){var l=o(e,t);if(l){return Je(l,n,a)}}i&&i(e,r,t),e===Ss&&pt(r)}},Tp=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"],Pp=ef.extend({view:null,detail:null}),Op={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Np=Pp.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:mt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),Rp=Np.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),Ip={mouseEnter:{registrationName:"onMouseEnter",dependencies:[dc,mc]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[dc,mc]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Ec,xc]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Ec,xc]}},Mp={eventTypes:Ip,extractEvents:function(e,t,n,a){var r=e===mc||e===xc,o=e===dc||e===Ec;if(r&&(n.relatedTarget||n.fromElement))return null;if(!o&&!r)return null;var i=void 0;if(a.window===a)i=a;else{var l=a.ownerDocument;i=l?l.defaultView||l.parentWindow:window}var u=void 0,s=void 0;if(o){u=t;var c=n.relatedTarget||n.toElement;s=c?v(c):null}else u=null,s=t;if(u===s)return null;var f=void 0,p=void 0,d=void 0,m=void 0;e===dc||e===mc?(f=Np,p=Ip.mouseLeave,d=Ip.mouseEnter,m="mouse"):e!==Ec&&e!==xc||(f=Rp,p=Ip.pointerLeave,d=Ip.pointerEnter,m="pointer");var g=null==u?i:w(u),h=null==s?i:w(s),b=f.getPooled(p,u,n,a);b.type=m+"leave",b.target=g,b.relatedTarget=h;var y=f.getPooled(d,s,n,a);return y.type=m+"enter",y.target=h,y.relatedTarget=g,z(b,y,u,s),[b,y]}},jp=0,Ap=1,zp=2,Dp=4,Lp=6,Fp=8,Bp=16,Up=32,Wp=64,Hp=128,Vp=256,qp=511,$p=512,Gp=1024,Yp=1,Kp=2,Qp=3,Xp=ef.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jp=ef.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zp=Pp.extend({relatedTarget:null}),ed={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},td={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"},nd=Pp.extend({key:Pt,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:mt,charCode:function(e){return"keypress"===e.type?Tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ad=Np.extend({dataTransfer:null}),rd=Pp.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:mt}),od=ef.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),id=Np.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ld=[[Ss,"blur"],[Os,"cancel"],[Rs,"click"],[Is,"close"],[zs,"contextMenu"],[Ds,"copy"],[Ls,"cut"],[Fs,"doubleClick"],[Us,"dragEnd"],[$s,"dragStart"],[Gs,"drop"],[Zs,"focus"],[tc,"input"],[nc,"invalid"],[ac,"keyDown"],[rc,"keyPress"],[oc,"keyUp"],[fc,"mouseDown"],[gc,"mouseUp"],[hc,"paste"],[bc,"pause"],[vc,"play"],[wc,"pointerCancel"],[_c,"pointerDown"],[Cc,"pointerUp"],[Tc,"rateChange"],[Pc,"reset"],[Nc,"seeked"],[jc,"submit"],[Fc,"touchCancel"],[Bc,"touchEnd"],[Wc,"touchStart"],[Vc,"volumeChange"]],ud=[[ks,"abort"],[Es,"animationEnd"],[xs,"animationIteration"],[Cs,"animationStart"],[Ts,"canPlay"],[Ps,"canPlayThrough"],[Bs,"drag"],[Ws,"dragEnter"],[Hs,"dragExit"],[Vs,"dragLeave"],[qs,"dragOver"],[Ys,"durationChange"],[Ks,"emptied"],[Qs,"encrypted"],[Xs,"ended"],[Js,"error"],[ec,"gotPointerCapture"],[ic,"load"],[uc,"loadedData"],[sc,"loadedMetadata"],[lc,"loadStart"],[cc,"lostPointerCapture"],[pc,"mouseMove"],[dc,"mouseOut"],[mc,"mouseOver"],[yc,"playing"],[kc,"pointerMove"],[Ec,"pointerOut"],[xc,"pointerOver"],[Sc,"progress"],[Oc,"scroll"],[Rc,"seeking"],[Mc,"stalled"],[Ac,"suspend"],[Dc,"timeUpdate"],[Lc,"toggle"],[Uc,"touchMove"],[Hc,"transitionEnd"],[qc,"waiting"],[$c,"wheel"]],sd={},cd={};ld.forEach(function(e){Ot(e,!0)}),ud.forEach(function(e){Ot(e,!1)});var fd=[ks,Os,Ts,Ps,Is,Ys,Ks,Qs,Xs,Js,tc,nc,ic,uc,sc,lc,bc,vc,yc,Sc,Tc,Pc,Nc,Rc,Mc,jc,Ac,Dc,Lc,Vc,qc],pd={eventTypes:sd,isInteractiveTopLevelEventType:function(e){var t=cd[e];return void 0!==t&&!0===t.isInteractive},extractEvents:function(e,t,n,a){var r=cd[e];if(!r)return null;var o=void 0;switch(e){case rc:if(0===Tt(n))return null;case ac:case oc:o=nd;break;case Ss:case Zs:o=Zp;break;case Rs:if(2===n.button)return null;case Fs:case fc:case pc:case gc:case dc:case mc:case zs:o=Np;break;case Bs:case Us:case Ws:case Hs:case Vs:case qs:case $s:case Gs:o=ad;break;case Fc:case Bc:case Uc:case Wc:o=rd;break;case Es:case xs:case Cs:o=Xp;break;case Hc:o=od;break;case Oc:o=Pp;break;case $c:o=id;break;case Ds:case Ls:case hc:o=Jp;break;case ec:case cc:case wc:case _c:case kc:case Ec:case xc:case Cc:o=Rp;break;default:-1===fd.indexOf(e)&&yu(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),o=ef}var i=o.getPooled(r,t,n,a);return j(i),i}},dd=pd.isInteractiveTopLevelEventType,md=10,gd=[],hd=!0,bd=Object.freeze({get _enabled(){return hd},setEnabled:jt,isEnabled:At,trapBubbledEvent:zt,trapCapturedEvent:Dt,dispatchEvent:Ft}),vd={},yd=0,wd="_reactListenersID"+(""+Math.random()).slice(2),_d=wu.canUseDOM&&"documentMode"in document&&document.documentMode<=11,kd={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[Ss,zs,Zs,ac,oc,fc,gc,Ic]}},Ed=null,xd=null,Cd=null,Sd=!1,Td={eventTypes:kd,extractEvents:function(e,t,n,a){var r=a.window===a?a.document:a.nodeType===Rf?a:a.ownerDocument;if(!r||!Wt("onSelect",r))return null;var o=t?w(t):window;switch(e){case Zs:(me(o)||"true"===o.contentEditable)&&(Ed=o,xd=t,Cd=null);break;case Ss:Ed=null,xd=null,Cd=null;break;case fc:Sd=!0;break;case zs:case gc:return Sd=!1,nn(n,a);case Ic:if(_d)break;case ac:case oc:return nn(n,a)}return null}};Ju.injectEventPluginOrder(Tp),$u.injectComponentTree(bs),Ju.injectEventPluginsByName({SimpleEventPlugin:pd,EnterLeaveEventPlugin:Mp,ChangeEventPlugin:Sp,SelectEventPlugin:Td,BeforeInputEventPlugin:gf});var Pd="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,Od=Date,Nd=setTimeout,Rd=clearTimeout,Id="object"===typeof performance&&"function"===typeof performance.now,Md=void 0;if(Id){var jd=performance;Md=function(){return jd.now()}}else Md=function(){return Od.now()};var Ad=void 0,zd=void 0;if(wu.canUseDOM){"function"!==typeof Pd&&yu(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");var Dd="function"===typeof Pd?Pd:function(e){bu(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")},Ld=null,Fd=null,Bd=-1,Ud=!1,Wd=!1,Hd=0,Vd=33,qd=33,$d={didTimeout:!1,timeRemaining:function(){var e=Hd-Md();return e>0?e:0}},Gd=function(e,t){var n=e.scheduledCallback,a=!1;try{n(t),a=!0}finally{zd(e),a||(Ud=!0,window.postMessage(Kd,"*"))}},Yd=function(){if(null!==Ld){var e=Md();if(!(-1===Bd||Bd>e)){for(var t=-1,n=[],a=Ld;null!==a;){var r=a.timeoutTime;-1!==r&&r<=e?n.push(a):-1!==r&&(-1===t||r<t)&&(t=r),a=a.next}if(n.length>0){$d.didTimeout=!0;for(var o=0,i=n.length;o<i;o++)Gd(n[o],$d)}Bd=t}}},Kd="__reactIdleCallback$"+Math.random().toString(36).slice(2),Qd=function(e){if(e.source===window&&e.data===Kd&&(Ud=!1,null!==Ld)){Yd();for(var t=Md();Hd-t>0&&null!==Ld;){var n=Ld;$d.didTimeout=!1,Gd(n,$d),t=Md()}null!==Ld&&(Wd||(Wd=!0,Dd(Xd)))}};window.addEventListener("message",Qd,!1);var Xd=function(e){Wd=!1;var t=e-Hd+qd;t<qd&&Vd<qd?(t<8&&(t=8),qd=t<Vd?Vd:t):Vd=t,Hd=e+qd,Ud||(Ud=!0,window.postMessage(Kd,"*"))};Ad=function(e,t){var n=-1;null!=t&&"number"===typeof t.timeout&&(n=Md()+t.timeout),(-1===Bd||-1!==n&&n<Bd)&&(Bd=n);var a={scheduledCallback:e,timeoutTime:n,prev:null,next:null};if(null===Ld)Ld=a,Fd=a;else{a.prev=Fd;var r=Fd;null!==r&&(r.next=a),Fd=a}return Wd||(Wd=!0,Dd(Xd)),a},zd=function(e){if(null!==e.prev||Ld===e){var t=e.next,n=e.prev;return e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,void(t.prev=n)):(t.prev=null,void(Ld=t)):null!==n?(n.next=null,void(Fd=n)):(Ld=null,void(Fd=null))}}}else{var Jd=new Map;Ad=function(e,t){var n={scheduledCallback:e,timeoutTime:0,next:null,prev:null},a=Nd(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return Jd.set(e,a),n},zd=function(e){var t=e.scheduledCallback,n=Jd.get(t);Jd.delete(e),Rd(n)}}var Zd=!1,em=Qf.getCurrentFiberOwnerName,tm=Qf.getCurrentFiberStackAddendum,nm=void 0;nm=!1;var am=["value","defaultValue"],rm=Qf.getCurrentFiberStackAddendum,om=!1,im="http://www.w3.org/1999/xhtml",lm="http://www.w3.org/1998/Math/MathML",um="http://www.w3.org/2000/svg",sm={html:im,mathml:lm,svg:um},cm=void 0,fm=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e}(function(e,t){if(e.namespaceURI!==sm.svg||"innerHTML"in e)e.innerHTML=t;else{cm=cm||document.createElement("div"),cm.innerHTML="<svg>"+t+"</svg>";for(var n=cm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}}),pm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Of)return void(n.nodeValue=t)}e.textContent=t},dm={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mm=["Webkit","ms","Moz","O"];Object.keys(dm).forEach(function(e){mm.forEach(function(t){dm[En(t,e)]=dm[e]})});var gm=ku,hm=/^(?:webkit|moz|o)[A-Z]/,bm=/;\s*$/,vm={},ym={},wm=!1,_m=!1,km=function(e,t){vm.hasOwnProperty(e)&&vm[e]||(vm[e]=!0,yu(!1,"Unsupported style property %s. Did you mean %s?%s",e,Ou(e),t()))},Em=function(e,t){vm.hasOwnProperty(e)&&vm[e]||(vm[e]=!0,yu(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",e,e.charAt(0).toUpperCase()+e.slice(1),t()))},xm=function(e,t,n){ym.hasOwnProperty(t)&&ym[t]||(ym[t]=!0,yu(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.%s',e,t.replace(bm,""),n()))},Cm=function(e,t,n){wm||(wm=!0,yu(!1,"`NaN` is an invalid value for the `%s` css style property.%s",e,n()))},Sm=function(e,t,n){_m||(_m=!0,yu(!1,"`Infinity` is an invalid value for the `%s` css style property.%s",e,n()))};gm=function(e,t,n){e.indexOf("-")>-1?km(e,n):hm.test(e)?Em(e,n):bm.test(t)&&xm(e,t,n),"number"===typeof t&&(isNaN(t)?Cm(e,0,n):isFinite(t)||Sm(e,0,n))};var Tm=gm,Pm={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Om=_u({menuitem:!0},Pm),Nm="__html",Rm={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Im={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Mm={},jm=new RegExp("^(aria)-["+rp+"]*$"),Am=new RegExp("^(aria)[A-Z]["+rp+"]*$"),zm=Object.prototype.hasOwnProperty,Dm=!1,Lm=function(){},Fm={},Bm=Object.prototype.hasOwnProperty,Um=/^on./,Wm=/^on[^A-Z]/,Hm=new RegExp("^(aria)-["+rp+"]*$"),Vm=new RegExp("^(aria)[A-Z]["+rp+"]*$");Lm=function(e,t,n,a){if(Bm.call(Fm,t)&&Fm[t])return!0;var r=t.toLowerCase();if("onfocusin"===r||"onfocusout"===r)return yu(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Fm[t]=!0,!0;if(a){if(Fu.hasOwnProperty(t))return!0;var o=Uu.hasOwnProperty(r)?Uu[r]:null;if(null!=o)return yu(!1,"Invalid event handler property `%s`. Did you mean `%s`?%s",t,o,An()),Fm[t]=!0,!0;if(Um.test(t))return yu(!1,"Unknown event handler property `%s`. It will be ignored.%s",t,An()),Fm[t]=!0,!0}else if(Um.test(t))return Wm.test(t)&&yu(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.%s",t,An()),Fm[t]=!0,!0;if(Hm.test(t)||Vm.test(t))return!0;if("innerhtml"===r)return yu(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Fm[t]=!0,!0;if("aria"===r)return yu(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Fm[t]=!0,!0;if("is"===r&&null!==n&&void 0!==n&&"string"!==typeof n)return yu(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.%s",typeof n,An()),Fm[t]=!0,!0;if("number"===typeof n&&isNaN(n))return yu(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.%s",t,An()),Fm[t]=!0,!0;var i=De(t),l=null!==i&&i.type===Xf;if(Rm.hasOwnProperty(r)){var u=Rm[r];if(u!==t)return yu(!1,"Invalid DOM property `%s`. Did you mean `%s`?%s",t,u,An()),Fm[t]=!0,!0}else if(!l&&t!==r)return yu(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",t,r,An()),Fm[t]=!0,!0;return"boolean"===typeof n&&Ae(t,n,i,!1)?(n?yu(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.%s',n,t,t,n,t,An()):yu(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s',n,t,t,n,t,t,t,An()),Fm[t]=!0,!0):!!l||(!Ae(t,n,i,!1)||(Fm[t]=!0,!1))};var qm=function(e,t,n){var a=[];for(var r in t){Lm(e,r,t[r],n)||a.push(r)}var o=a.map(function(e){return"`"+e+"`"}).join(", ");1===a.length?yu(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior%s",o,e,An()):a.length>1&&yu(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior%s",o,e,An())},$m=Qf.getCurrentFiberOwnerName,Gm=Qf.getCurrentFiberStackAddendum,Ym=!1,Km=!1,Qm="dangerouslySetInnerHTML",Xm="suppressContentEditableWarning",Jm="suppressHydrationWarning",Zm="autoFocus",eg="children",tg="style",ng="__html",ag=sm.html,rg=ku.thatReturns(""),og=void 0,ig=void 0,lg=void 0,ug=void 0,sg=void 0,cg=void 0,fg=void 0,pg=void 0,dg=void 0;rg=Gm,og={time:!0,dialog:!0},lg=function(e,t){In(e,t),jn(e,t),zn(e,t,!0)};var mg=/\r\n?/g,gg=/\u0000|\uFFFD/g;pg=function(e){return("string"===typeof e?e:""+e).replace(mg,"\n").replace(gg,"")},ug=function(e,t){if(!Ym){var n=pg(t),a=pg(e);a!==n&&(Ym=!0,yu(!1,'Text content did not match. Server: "%s" Client: "%s"',a,n))}},sg=function(e,t,n){if(!Ym){var a=pg(n),r=pg(t);r!==a&&(Ym=!0,yu(!1,"Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},cg=function(e){if(!Ym){Ym=!0;var t=[];e.forEach(function(e){t.push(e)}),yu(!1,"Extra attributes from the server: %s",t)}},fg=function(e,t){!1===t?yu(!1,"Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",e,e,e,Gm()):yu(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.%s",e,typeof t,Gm())},dg=function(e,t){var n=e.namespaceURI===ag?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var hg=Object.freeze({createElement:Wn,createTextNode:Hn,setInitialProperties:Vn,diffProperties:qn,updateProperties:$n,diffHydratedProperties:Yn,diffHydratedText:Kn,warnForUnmatchedText:Qn,warnForDeletedHydratableElement:Xn,warnForDeletedHydratableText:Jn,warnForInsertedHydratedElement:Zn,warnForInsertedHydratedText:ea,restoreControlledState:ta}),bg=Qf.getCurrentFiberStackAddendum,vg=ku,yg=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],wg=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],_g=wg.concat(["button"]),kg=["dd","dt","li","option","optgroup","p","rp","rt"],Eg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},xg=function(e,t,n){var a=_u({},e||Eg),r={tag:t,instance:n};return-1!==wg.indexOf(t)&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),-1!==_g.indexOf(t)&&(a.pTagInButtonScope=null),-1!==yg.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=r,"form"===t&&(a.formTag=r),"a"===t&&(a.aTagInScope=r),"button"===t&&(a.buttonTagInScope=r),"nobr"===t&&(a.nobrTagInScope=r),"p"===t&&(a.pTagInButtonScope=r),"li"===t&&(a.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(a.dlItemTagAutoclosing=r),a},Cg=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===kg.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},Sg=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Tg={};vg=function(e,t,n){n=n||Eg;var a=n.current,r=a&&a.tag;null!=t&&(null!=e&&yu(!1,"validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var o=Cg(e,r)?null:a,i=o?null:Sg(e,n),l=o||i;if(l){var u=l.tag,s=bg(),c=!!o+"|"+e+"|"+u+"|"+s;if(!Tg[c]){Tg[c]=!0;var f=e,p="";if("#text"===e?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",p=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",o){var d="";"table"===u&&"tr"===e&&(d+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),yu(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s",f,u,p,d,s)}else yu(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s",f,u,s)}}},vg.updatedAncestorInfo=xg;var Pg=vg,Og=!1,Ng=na,Rg=na,Ig=na,Mg=na,jg=na,Ag=Wn,zg=Hn,Dg=Vn,Lg=qn,Fg=$n,Bg=Yn,Ug=Kn,Wg=Qn,Hg=Xn,Vg=Jn,qg=Zn,$g=ea,Gg=Pg.updatedAncestorInfo,Yg=b,Kg=k,Qg=void 0;Qg="suppressHydrationWarning";var Xg=null,Jg=null,Zg=Md,eh=!0,th=Ad,nh=zd,ah=!0,rh=!0,oh=!0,ih=!1,lh=!1,uh=!1,sh=!0,ch=!0,fh=!1,ph=!1,dh=!0,mh="undefined"!==typeof performance&&"function"===typeof performance.mark&&"function"===typeof performance.clearMarks&&"function"===typeof performance.measure&&"function"===typeof performance.clearMeasures,gh=null,hh=null,bh=null,vh=!1,yh=!1,wh=!1,_h=0,kh=0,Eh=!1,xh=new Set,Ch=function(e){return"\u269b "+e},Sh=function(e,t){return(t?"\u26d4 ":"\u269b ")+e+(t?" Warning: "+t:"")},Th=function(e){performance.mark(Ch(e))},Ph=function(e){performance.clearMarks(Ch(e))},Oh=function(e,t,n){var a=Ch(t),r=Sh(e,n);try{performance.measure(r,a)}catch(e){}performance.clearMarks(a),performance.clearMeasures(r)},Nh=function(e,t){return e+" (#"+t+")"},Rh=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},Ih=function(e,t){var n=Ce(e)||"Unknown",a=e._debugID,r=null!==e.alternate,o=Rh(n,r,t);if(vh&&xh.has(o))return!1;xh.add(o);var i=Nh(o,a);return Th(i),!0},Mh=function(e,t){var n=Ce(e)||"Unknown",a=e._debugID,r=null!==e.alternate,o=Rh(n,r,t),i=Nh(o,a);Ph(i)},jh=function(e,t,n){var a=Ce(e)||"Unknown",r=e._debugID,o=null!==e.alternate,i=Rh(a,o,t),l=Nh(i,r);Oh(i,l,n)},Ah=function(e){switch(e.tag){case as:case os:case is:case rs:case ls:case cs:case ss:case us:return!0;default:return!1}},zh=function(){null!==hh&&null!==bh&&Mh(bh,hh),bh=null,hh=null,wh=!1},Dh=function(){for(var e=gh;e;)e._debugIsCurrentlyTiming&&jh(e,null,null),e=e.return},Lh=function(e){null!==e.return&&Lh(e.return),e._debugIsCurrentlyTiming&&Ih(e,null)},Fh=function(){null!==gh&&Lh(gh)},Bh=[],Uh=void 0;Uh=[];var Wh=-1,Hh=void 0;Hh={};var Vh=ir(Tu),qh=ir(!1),$h=Tu,Gh=1073741823,Yh=0,Kh=1,Qh=Gh,Xh=10,Jh=2,Zh=0,eb=1,tb=2,nb=4,ab=void 0;ab=!1;try{var rb=Object.preventExtensions({}),ob=new Map([[rb,null]]),ib=new Set([rb]);ob.set(0,0),ib.add(0)}catch(e){ab=!0}var lb=void 0;lb=1;var ub=function(e,t,n,a){return new Pr(e,t,n,a)},sb=null,cb=null,fb=!1,pb=function(){},db=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.warn(o);try{throw new Error(o)}catch(e){}};pb=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];db.apply(void 0,[t].concat(a))}};var mb=pb,gb={discardPendingWarnings:function(){},flushPendingDeprecationWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordDeprecationWarnings:function(e,t){},recordUnsafeLifecycleWarnings:function(e,t){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){}},hb={UNSAFE_componentWillMount:"componentDidMount",UNSAFE_componentWillReceiveProps:"static getDerivedStateFromProps",UNSAFE_componentWillUpdate:"componentDidUpdate"},bb=[],vb=[],yb=[],wb=new Map,_b=new Map,kb=new Set,Eb=new Set,xb=new Set,Cb=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")};gb.discardPendingWarnings=function(){bb=[],vb=[],yb=[],wb=new Map,_b=new Map},gb.flushPendingUnsafeLifecycleWarnings=function(){wb.forEach(function(e,t){var n=[];if(Object.keys(e).forEach(function(t){var a=e[t];if(a.length>0){var r=new Set;a.forEach(function(e){r.add(Ce(e)||"Component"),Eb.add(e.type)});var o=t.replace("UNSAFE_",""),i=hb[t],l=Cb(r);n.push(o+": Please update the following components to use "+i+" instead: "+l)}}),n.length>0){var a=Te(t);yu(!1,"Unsafe lifecycle methods were found within a strict-mode tree:%s\n\n%s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",a,n.join("\n\n"))}}),wb=new Map};var Sb=function(e){for(var t=null,n=e;null!==n;)n.mode&tb&&(t=n),n=n.return;return t};gb.flushPendingDeprecationWarnings=function(){if(bb.length>0){var e=new Set;bb.forEach(function(t){e.add(Ce(t)||"Component"),kb.add(t.type)});var t=Cb(e);mb(!1,"componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",t),bb=[]}if(vb.length>0){var n=new Set;vb.forEach(function(e){n.add(Ce(e)||"Component"),kb.add(e.type)});var a=Cb(n);mb(!1,"componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",a),vb=[]}if(yb.length>0){var r=new Set;yb.forEach(function(e){r.add(Ce(e)||"Component"),kb.add(e.type)});var o=Cb(r);mb(!1,"componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",o),yb=[]}},gb.recordDeprecationWarnings=function(e,t){kb.has(e.type)||("function"===typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&bb.push(e),"function"===typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&vb.push(e),"function"===typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&yb.push(e))},gb.recordUnsafeLifecycleWarnings=function(e,t){var n=Sb(e);if(null===n)return void yu(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");if(!Eb.has(e.type)){var a=void 0;wb.has(n)?a=wb.get(n):(a={UNSAFE_componentWillMount:[],UNSAFE_componentWillReceiveProps:[],UNSAFE_componentWillUpdate:[]},wb.set(n,a));var r=[];("function"===typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillMount)&&r.push("UNSAFE_componentWillMount"),("function"===typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillReceiveProps)&&r.push("UNSAFE_componentWillReceiveProps"),("function"===typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillUpdate)&&r.push("UNSAFE_componentWillUpdate"),r.length>0&&r.forEach(function(t){a[t].push(e)})}},gb.recordLegacyContextWarning=function(e,t){var n=Sb(e);if(null===n)return void yu(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");if(!xb.has(e.type)){var a=_b.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"===typeof t.getChildContext)&&(void 0===a&&(a=[],_b.set(n,a)),a.push(e))}},gb.flushLegacyContextWarning=function(){_b.forEach(function(e,t){var n=new Set;e.forEach(function(e){n.add(Ce(e)||"Component"),xb.add(e.type)});var a=Cb(n),r=Te(t);yu(!1,"Legacy context API has been detected within a strict-mode tree: %s\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",r,a)})};var Tb={debugTool:null},Pb=Tb,Ob=0,Nb=1,Rb=2,Ib=3,Mb=!1,jb=void 0,Ab=void 0,zb=void 0;jb=!1,Ab=null,zb=function(){Ab=null};var Db=ir(null),Lb=ir(null),Fb=ir(0),Bb=void 0;Bb={};var Ub={},Wb=ir(Ub),Hb=ir(Ub),Vb=ir(Ub),qb=0,$b=void 0;$b=[];var Gb=0,Yb=0,Kb=-1,Qb={},Xb=Array.isArray,Jb=void 0,Zb=void 0,ev=void 0,tv=void 0,nv=void 0,av=void 0,rv=void 0;Jb=new Set,Zb=new Set,ev=new Set,tv=new Set,nv=new Set;var ov=new Set;rv=function(e,t){if(null!==e&&"function"!==typeof e){var n=t+"_"+e;ov.has(n)||(ov.add(n),yu(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},av=function(e,t){if(void 0===t){var n=Ce(e)||"Component";nv.has(n)||(nv.add(n),yu(!1,"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Qb,"_processChildContext",{enumerable:!1,value:function(){bu(!1,"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Qb);var iv={isMounted:wt,enqueueSetState:function(e,t,n){var a=gt(e),r=Pl(),o=xl(r,a),i=Jr(o);i.payload=t,void 0!==n&&null!==n&&(rv(n,"setState"),i.callback=n),eo(a,i,o),Tl(a,o)},enqueueReplaceState:function(e,t,n){var a=gt(e),r=Pl(),o=xl(r,a),i=Jr(o);i.tag=Nb,i.payload=t,void 0!==n&&null!==n&&(rv(n,"replaceState"),i.callback=n),eo(a,i,o),Tl(a,o)},enqueueForceUpdate:function(e,t){var n=gt(e),a=Pl(),r=xl(a,n),o=Jr(r);o.tag=Rb,void 0!==t&&null!==t&&(rv(t,"forceUpdate"),o.callback=t),eo(n,o,r),Tl(n,r)}},lv=Qf.getCurrentFiberStackAddendum,uv=void 0,sv=void 0,cv=void 0,fv=void 0,pv=function(e){};uv=!1,sv={},cv={},fv={},pv=function(e){if(null!==e&&"object"===typeof e&&e._store&&!e._store.validated&&null==e.key){"object"!==typeof e._store&&bu(!1,"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."),e._store.validated=!0;var t='Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+(lv()||"");cv[t]||(cv[t]=!0,yu(!1,'Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.%s',lv()))}};var dv=Array.isArray,mv=$o(!0),gv=$o(!1),hv=null,bv=null,vv=!1,yv=Qf.getCurrentFiberStackAddendum,wv=void 0,_v=void 0,kv=void 0;wv={},_v={},kv={};var Ev=void 0,xv=void 0,Cv=void 0;if(ah)Ev=function(e){},xv=function(e,t,n,a,r,o,i,l){t.updateQueue=n,n&&Oi(t)},Cv=function(e,t,n,a){n!==a&&Oi(t)};else if(Og){var Sv=function(e,t){for(var n=t.child;null!==n;){if(n.tag===os||n.tag===is)Ig(e,n.stateNode);else if(n.tag===rs);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)return;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ev=function(e){var t=e.stateNode;if(null===e.firstEffect);else{var n=t.containerInfo,a=Rg(n);Sv(a,e),t.pendingChildren=a,Oi(e),Mg(n,a)}},xv=function(e,t,n,a,r,o,i,l){var u=null===t.firstEffect,s=e.stateNode;if(u&&null===n)t.stateNode=s;else{var c=t.stateNode,f=Ng(s,n,a,r,o,t,u,c);fa(f,a,o,i,l)&&Oi(t),t.stateNode=f,u?Oi(t):Ri(f,t)}},Cv=function(e,t,n,a){if(n!==a){var r=ho(),o=yo();t.stateNode=ga(a,r,o,t),Oi(t)}}}else Ev=function(e){},xv=function(e,t,n,a,r,o,i,l){},Cv=function(e,t,n,a){};var Tv=Mu.invokeGuardedCallback,Pv=Mu.hasCaughtError,Ov=Mu.clearCaughtError,Nv=null;Nv=new Set;var Rv=function(e,t){Ya(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Ka()},Iv=Mu.invokeGuardedCallback,Mv=Mu.hasCaughtError,jv=Mu.clearCaughtError,Av=void 0,zv=void 0,Dv=void 0,Lv=void 0;Av=!1,zv=!1;var Fv={};Dv=function(e){var t=Ce(e)||"ReactClass";Fv[t]||(yu(!1,"Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.%s",Te(e)),Fv[t]=!0)},Lv=function(e){switch(Qf.phase){case"getChildContext":if(zv)return;yu(!1,"setState(...): Cannot call setState() inside getChildContext()"),zv=!0;break;case"render":if(Av)return;yu(!1,"Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`."),Av=!0}};var Bv=Zg(),Uv=xr(0),Wv=Bv,Hv=0,Vv=Yh,qv=!1,$v=null,Gv=null,Yv=Yh,Kv=-1,Qv=!1,Xv=null,Jv=!1,Zv=!1,ey=null,ty=null,ny=void 0,ay=void 0,ry=void 0,oy=void 0,iy=void 0;ch&&(ny=null,ry=!1,oy=null,ay=function(e,t,n){if(null===t||"object"!==typeof t||"function"!==typeof t.then){if(null===ny)return void yu(!1,"Could not replay rendering after an error. This is likely a bug in React. Please file an issue.");switch(Fr(e,ny),e.tag){case as:vo(e),vr(e);break;case os:_o(e);break;case ns:br(e);break;case rs:vo(e);break;case cs:fo(e)}ry=!0,oy=t,Iv(null,bl,null,n),ry=!1,oy=null,Mv()?(jv(),dh&&(e.mode&nb&&To(e),Io())):$v=e}},iy=function(){throw oy});var ly=null,uy=null,sy=Yh,cy=void 0,fy=!1,py=null,dy=Yh,my=Yh,gy=!1,hy=!1,by=null,vy=null,yy=!1,wy=!1,_y=!1,ky=null,Ey=1e3,xy=0,Cy=1,Sy=void 0;Sy=!1;var Ty=Object.freeze({updateContainerAtExpirationTime:eu,createContainer:nu,updateContainer:au,flushRoot:Fl,requestWork:Ml,computeUniqueAsyncExpiration:El,batchedUpdates:$l,unbatchedUpdates:Gl,deferredUpdates:Ol,syncUpdates:Nl,interactiveUpdates:Kl,flushInteractiveUpdates:Ql,flushControlled:Xl,flushSync:Yl,getPublicRootInstance:ru,findHostInstance:tu,findHostInstanceWithNoPortals:ou,injectIntoDevTools:iu}),Py=void 0,Oy=void 0,Ny=!1;"function"===typeof Map&&null!=Map.prototype&&"function"===typeof Map.prototype.forEach&&"function"===typeof Set&&null!=Set.prototype&&"function"===typeof Set.prototype.clear&&"function"===typeof Set.prototype.forEach||yu(!1,"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),Py=function(e){if(e._reactRootContainer&&e.nodeType!==Nf){var t=ou(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&yu(!1,"render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=pu(e);!(!a||!y(a))&&!n&&yu(!1,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Pf&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&yu(!1,"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},Oy=function(e,t){null!==e&&"function"!==typeof e&&yu(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)},wf.injectFiberControlledHostComponent(hg),uu.prototype.render=function(e){this._defer||bu(!1,"batch.render: Cannot render a batch that already committed."),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,a=new su;return eu(e,t,null,n,a._onCommit),a},uu.prototype.then=function(e){if(this._didComplete)return void e();var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)},uu.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||bu(!1,"batch.commit: Cannot commit a batch multiple times."),!this._hasChildren)return this._next=null,void(this._defer=!1);var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var a=null,r=t;r!==this;)a=r,r=r._next;null===a&&bu(!1,"batch.commit: Cannot commit a batch multiple times."),a._next=r._next,this._next=t,t=e.firstBatch=this}this._defer=!1,Fl(e,n);var o=this._next;this._next=null,null!==(t=e.firstBatch=o)&&t._hasChildren&&t.render(t._children)},uu.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];n()}}},su.prototype.then=function(e){if(this._didCommit)return void e();var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)},su.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&bu(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",n),n()}}},cu.prototype.render=function(e,t){var n=this._internalRoot,a=new su;return t=void 0===t?null:t,Oy(t,"render"),null!==t&&a.then(t),au(e,n,null,a._onCommit),a},cu.prototype.unmount=function(e){var t=this._internalRoot,n=new su;return e=void 0===e?null:e,Oy(e,"render"),null!==e&&n.then(e),au(null,t,null,n._onCommit),n},cu.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var a=this._internalRoot,r=new su;return n=void 0===n?null:n,Oy(n,"render"),null!==n&&r.then(n),au(t,a,e,r._onCommit),r},cu.prototype.createBatch=function(){var e=new uu(this),t=e._expirationTime,n=this._internalRoot,a=n.firstBatch;if(null===a)n.firstBatch=e,e._next=null;else{for(var r=null,o=a;null!==o&&o._expirationTime<=t;)r=o,o=o._next;e._next=o,null!==r&&(r._next=e)}return e},Sf.injectRenderer(Ty);var Ry=!1,Iy={createPortal:hu,findDOMNode:function(e){var t=jf.current;if(null!==t&&null!==t.stateNode){t.stateNode._warnedAboutRefsInRender||yu(!1,"%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ce(t)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}return null==e?null:e.nodeType===Pf?e:tu(e)},hydrate:function(e,t,n){return gu(null,e,t,!0,n)},render:function(e,t,n){return gu(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,a){return null!=e&&ht(e)||bu(!1,"parentComponent must be a valid React Component"),gu(e,t,n,!1,a)},unmountComponentAtNode:function(e){if(fu(e)||bu(!1,"unmountComponentAtNode(...): Target container is not a DOM element."),e._reactRootContainer){var t=pu(e);return t&&!y(t)&&yu(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Gl(function(){gu(null,null,e,!1,function(){e._reactRootContainer=null})}),!0}var n=pu(e),a=!(!n||!y(n)),r=1===e.nodeType&&fu(e.parentNode)&&!!e.parentNode._reactRootContainer;return a&&yu(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",r?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},unstable_createPortal:function(){return Ny||(Ny=!0,mb(!1,'The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),hu.apply(void 0,arguments)},unstable_batchedUpdates:$l,unstable_deferredUpdates:Ol,unstable_interactiveUpdates:Kl,flushSync:Yl,unstable_flushControlled:Xl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:Zu,EventPluginRegistry:Wu,EventPropagators:vs,ReactControlledComponent:_f,ReactDOMComponentTree:bs,ReactDOMEventListener:bd}};if(Iy.unstable_createRoot=function(e,t){return new cu(e,!0,null!=t&&!0===t.hydrate)},!iu({findFiberByHostInstance:v,bundleType:1,version:"16.4.2",rendererPackageName:"react-dom"})&&wu.canUseDOM&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var My=window.location.protocol;/^(https?|file):$/.test(My)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===My?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}var jy=Object.freeze({default:Iy}),Ay=jy&&Iy||jy,zy=Ay.default?Ay.default:Ay;e.exports=zy}()}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return r(e).replace(o,"-ms-")}var r=n(222),o=/^ms-/;e.exports=a},function(e,t,n){"use strict";function a(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=a},function(e,t,n){"use strict";function a(e){return r(e.replace(o,"ms-"))}var r=n(224),o=/^-ms-/;e.exports=a},function(e,t,n){"use strict";function a(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var r=a(n(226)),o=a(n(230)),i=a(n(80)),l=a(n(77));e.exports={Transition:l.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}t.__esModule=!0,t.default=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}(n(9)),u=r(n(227)),s=r(n(229)),c=r(n(2)),f=r(n(77)),p=n(79),d=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,u.default)(e,t)})},m=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,s.default)(e,t)})},g="production"!==a.env.NODE_ENV?i({},f.default.propTypes,{classNames:p.classNamesShape,onEnter:l.func,onEntering:l.func,onEntered:l.func,onExit:l.func,onExiting:l.func,onExited:l.func}):{},h=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,t.onEnter=function(e,n){var a=t.getClassNames(n?"appear":"enter"),r=a.className;t.removeClasses(e,"exit"),d(e,r),t.props.onEnter&&t.props.onEnter(e)},t.onEntering=function(e,n){var a=t.getClassNames(n?"appear":"enter"),r=a.activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e)},t.onEntered=function(e,n){var a=t.getClassNames("enter"),r=a.doneClassName;t.removeClasses(e,n?"appear":"enter"),d(e,r),t.props.onEntered&&t.props.onEntered(e)},t.onExit=function(e){var n=t.getClassNames("exit"),a=n.className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),d(e,a),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit"),a=n.activeClassName;t.reflowAndAddClass(e,a),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit"),a=n.doneClassName;t.removeClasses(e,"exit"),d(e,a),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,a="string"!==typeof n?n[e]:n+"-"+e;return{className:a,activeClassName:"string"!==typeof n?n[e+"Active"]:a+"-active",doneClassName:"string"!==typeof n?n[e+"Done"]:a+"-done"}},t}o(t,e);var n=t.prototype;return n.removeClasses=function(e,t){var n=this.getClassNames(t),a=n.className,r=n.activeClassName,o=n.doneClassName;a&&m(e,a),r&&m(e,r),o&&m(e,o)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,d(e,t))},n.render=function(){var e=i({},this.props);return delete e.classNames,c.default.createElement(f.default,i({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.default.Component);h.propTypes="production"!==a.env.NODE_ENV?g:{};var b=h;t.default=b,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(228),o=function(e){return e&&e.__esModule?e:{default:e}}(r);e.exports=t.default},function(e,t,n){"use strict";function a(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=a(e.className,t):e.setAttribute("class",a(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var l=r(n(9)),u=r(n(2)),s=n(17),c=r(n(80)),f="production"!==a.env.NODE_ENV?{in:l.default.bool.isRequired,children:function(e,t){return 2!==u.default.Children.count(e[t])?new Error('"'+t+'" must be exactly two transition components.'):null}}:{},p=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,t.handleEnter=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExited",1,n)},t}i(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var a,r=this.props.children,o=u.default.Children.toArray(r)[t];o.props[e]&&(a=o.props)[e].apply(a,n),this.props[e]&&this.props[e]((0,s.findDOMNode)(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,a=o(e,["children","in"]),r=u.default.Children.toArray(t),i=r[0],l=r[1];return delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,u.default.createElement(c.default,a,n?u.default.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):u.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(u.default.Component);p.propTypes="production"!==a.env.NODE_ENV?f:{};var d=p;t.default=d,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){var n=function(e){return t&&(0,u.isValidElement)(e)?t(e):e},a=Object.create(null);return e&&u.Children.map(e,function(e){return e}).forEach(function(e){a[e.key]=n(e)}),a}function r(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a=Object.create(null),r=[];for(var o in e)o in t?r.length&&(a[o]=r,r=[]):r.push(o);var i,l={};for(var u in t){if(a[u])for(i=0;i<a[u].length;i++){var s=a[u][i];l[a[u][i]]=n(s)}l[u]=n(u)}for(i=0;i<r.length;i++)l[r[i]]=n(r[i]);return l}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function i(e,t){return a(e.children,function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})})}function l(e,t,n){var i=a(e.children),l=r(t,i);return Object.keys(l).forEach(function(a){var r=l[a];if((0,u.isValidElement)(r)){var s=a in t,c=a in i,f=t[a],p=(0,u.isValidElement)(f)&&!f.props.in;!c||s&&!p?c||!s||p?c&&s&&(0,u.isValidElement)(f)&&(l[a]=(0,u.cloneElement)(r,{onExited:n.bind(null,r),in:f.props.in,exit:o(r,"exit",e),enter:o(r,"enter",e)})):l[a]=(0,u.cloneElement)(r,{in:!1}):l[a]=(0,u.cloneElement)(r,{onExited:n.bind(null,r),in:!0,exit:o(r,"exit",e),enter:o(r,"enter",e)})}}),l}t.__esModule=!0,t.getChildMapping=a,t.mergeChildMappings=r,t.getInitialChildMapping=i,t.getNextChildMapping=l;var u=n(2)},function(e,t,n){"use strict";var a={prefixTitle:{selector:"span.uagb-ifb-title-prefix",default:"Prefix"},infoBoxTitle:{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:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},prefixColor:{type:"string"},icon:{type:"string",default:"fa fa-star"},iconimgPosition:{type:"string",default:"above-title"},iconSize:{type:"number",default:40},iconHover:{type:"string",default:""},iconBgHover:{type:"string",default:""},iconColor:{type:"string",default:"#333"},prefixTag:{type:"string",default:"h3"},prefixFontSize:{type:"number"},headingTag:{type:"string",default:"h3"},separatorHeight:{type:"number"},separatorWidth:{type:"number"},headFontSize:{type:"number"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:10},subHeadSpace:{type:"number",default:10},seperatorSpace:{type:"number",default:10},iconimgBorderRadius:{type:"number",default:0},source_type:{type:"string",default:"icon"},block_id:{type:"string",default:"not_set"},sourceAlign:{type:"string",default:"top"},ctaTarget:{type:"boolean",default:!1},seperatorStyle:{type:"string",default:"solid"},seperatorColor:{type:"string",default:"#333"},seperatorWidth:{type:"number",default:30},seperatorThickness:{type:"number",default:2},ctaType:{type:"string",default:"none"},ctaText:{type:"string",default:"Read More"},ctaLink:{type:"string",default:"#"},ctaLinkColor:{type:"string",default:"#333"},ctaFontSize:{type:"number"},ctaBtnLinkColor:{type:"string",default:"#333"},ctaBgColor:{type:"string",default:"transparent"},ctaBorderColor:{type:"string",default:"#333"},ctaBorderStyle:{type:"string",default:"solid"},ctaBtnVertPadding:{type:"number",default:10},ctaBtnHrPadding:{type:"number",default:14},ctaBorderWidth:{type:"number",default:1},ctaBorderRadius:{type:"number",default:0},prefixSpace:{type:"number",default:5},iconLeftMargin:{type:"number",default:10},iconRightMargin:{type:"number",default:10},iconTopMargin:{type:"number",default:5},iconBottomMargin:{type:"number",default:5},iconImage:{type:"object",default:{url:"",alt:"InfoBox placeholder img"}},imageSize:{type:"string",default:"thumbnail"},imageWidth:{type:"number",default:120},stack:{type:"string",default:"tablet"}};t.a=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(3),l=n(81),u=n(82),s=n(83),c=n(84),f=n(85),p=n(236),d=n(254),m=n(255),g=(n.n(m),n(256)),h=(n.n(g),wp.i18n.__),b=wp.blocks.registerBlockType,v=(wp.editor.RichText,wp.element.Fragment);b("uagb/testimonial",{title:uagb_blocks_info.blocks["uagb/testimonial"].title,description:uagb_blocks_info.blocks["uagb/testimonial"].description,icon:i.a.testimonial,keywords:[h("testimonial"),h("uagb")],category:uagb_blocks_info.category,attributes:d.a,edit:p.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.className,i=t.columns,p=t.autoplaySpeed,d=t.autoplay,m=t.infiniteLoop,g=t.pauseOnHover,h=t.transitionSpeed,b=t.tcolumns,y=t.arrowSize,w=t.mcolumns,_=t.test_block,k=t.imagePosition,E=t.arrowColor,x="uagb-testimonial-"+n,C=[];return C.push({block_id:n,columns:i,autoplaySpeed:p,autoplay:d,infiniteLoop:m,pauseOnHover:g,transitionSpeed:h,tcolumns:b,arrowSize:y,mcolumns:w,arrowColor:E}),wp.element.createElement(v,null,wp.element.createElement("div",{className:o()(r,"uagb-testomonial__outer-wrap uagb-slick-carousel uagb-tm__arrow-outside"),id:x,"data-slider":JSON.stringify(C)},wp.element.createElement("div",{className:o()("is-carousel","uagb-tm__columns-"+i,"uagb-tm__items")},_.map(function(t,n){return wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-testimonial__wrap"].concat(a(Object(c.a)(e.attributes)))),key:"wrap-"+n},wp.element.createElement("div",{className:"uagb-tm__content",key:"tm_content-"+n},wp.element.createElement("div",{className:"uagb-tm__overlay"}),("top"==k||"left"==k)&&wp.element.createElement(f.a,{attributes:e.attributes,index_value:n}),wp.element.createElement("div",{className:"uagb-tm__text-wrap"},wp.element.createElement(v,null,wp.element.createElement("div",{className:"uagb-testinomial-text-wrap",key:"text-wrap-"+n},wp.element.createElement(s.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n}))),wp.element.createElement("div",{className:"uagb-tm__meta"},wp.element.createElement("div",{className:"uagb-tm__meta-inner"},"bottom"==k&&wp.element.createElement(f.a,{attributes:e.attributes,index_value:n}),wp.element.createElement(v,null,wp.element.createElement("div",{className:"uagb-testimonial-details",key:"tm_wraps-"+n},wp.element.createElement(l.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n}),wp.element.createElement(u.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n})))))),"right"==k&&wp.element.createElement(f.a,{attributes:e.attributes,index_value:n})))}))))}})},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(81),c=n(82),f=n(83),p=n(84),d=n(237),m=n(85),g=n(6),h=n.n(g),b=n(238),v=n.n(b),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),_=wp.i18n.__,k=wp.editor,E=k.AlignmentToolbar,x=k.BlockControls,C=k.ColorPalette,S=k.InspectorControls,T=(k.RichText,k.PanelColorSettings),P=k.MediaUpload,O=wp.components,N=O.PanelBody,R=O.SelectControl,I=O.RangeControl,M=O.ToggleControl,j=O.BaseControl,A=O.Button,z=wp.element,D=z.Component,L=z.Fragment,F=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectTestImage=e.onSelectTestImage.bind(e),e.onRemoveTestImage=e.onRemoveTestImage.bind(e),e.getImageName=e.getImageName.bind(e),e.togglePauseOnHover=e.togglePauseOnHover.bind(e),e.toggleInfiniteLoop=e.toggleInfiniteLoop.bind(e),e.toggleAutoplay=e.toggleAutoplay.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e}return i(t,e),w(t,[{key:"onSelectTestImage",value:function(e,t){var n=this.props.attributes.test_block,a=this.props.setAttributes,r=null;r=e&&e.url?e:null,e.type&&"image"===e.type||(r=null),a({test_block:n.map(function(e,n){return t===n&&(e.image=r),e})})}},{key:"onRemoveTestImage",value:function(e){var t=this.props.attributes.test_block;(0,this.props.setAttributes)({test_block:t.map(function(t,n){return e===n&&(t.image=null),t})})}},{key:"getImageName",value:function(e){var t=(this.props.attributes.test_block,"Select Image");return e&&(t=null==e.url||""==e.url?"Select Image":"Replace Image"),t}},{key:"togglePauseOnHover",value:function(){var e=this.props.attributes.pauseOnHover;(0,this.props.setAttributes)({pauseOnHover:!e})}},{key:"toggleInfiniteLoop",value:function(){var e=this.props.attributes.infiniteLoop;(0,this.props.setAttributes)({infiniteLoop:!e})}},{key:"toggleAutoplay",value:function(){var e=this.props.attributes.autoplay;(0,this.props.setAttributes)({autoplay:!e})}},{key:"onRemoveImage",value:function(){this.props.attributes.backgroundImage;(0,this.props.setAttributes)({backgroundImage:null})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.backgroundImage,this.props.setAttributes);return e&&e.url&&e.type&&"image"===e.type?void t({backgroundImage:e}):void t({backgroundImage:null})}},{key:"render",value:function(){function e(e){return wp.element.createElement("button",{type:"button","data-role":"none",className:"slick-next slick-arrow","aria-label":"Next",tabIndex:"0",role:"button",style:{borderColor:oe}},wp.element.createElement("span",{className:"fas fa-angle-right",style:{fontSize:e.arrowSize,color:oe}}))}function t(e){return wp.element.createElement("button",{type:"button","data-role":"none",className:"slick-prev slick-arrow","aria-label":"Previous",tabIndex:"0",role:"button",style:{borderColor:oe}},wp.element.createElement("span",{className:"fas fa-angle-left",style:{fontSize:e.arrowSize,color:oe}}))}var n=this,r=this.props,o=(r.isSelected,r.className),i=r.setAttributes,l=r.attributes,g=(r.mergeBlocks,r.insertBlocksAfter,r.onReplace,l.test_item_count),b=l.test_block,w=l.headingAlign,k=l.companyColor,O=l.descColor,z=l.authorColor,D=(l.prefixTag,l.nameFontSize),F=l.companyFontSize,B=l.descFontSize,U=(l.separatorWidth,l.separatorSpace,l.descSpace),W=l.iconimgStyle,H=l.imagePosition,V=l.imageAlignment,q=(l.block_id,l.source_type,l.nameSpace),$=l.imgHrPadding,G=l.imgVrPadding,Y=(l.iconImage,l.imageSize),K=l.imageWidth,Q=l.columns,X=l.tcolumns,J=l.mcolumns,Z=l.pauseOnHover,ee=l.infiniteLoop,te=l.transitionSpeed,ne=l.autoplay,ae=l.autoplaySpeed,re=l.arrowSize,oe=l.arrowColor,ie=l.rowGap,le=l.columnGap,ue=l.contentPadding,se=l.backgroundType,ce=l.backgroundColor,fe=l.backgroundImage,pe=l.backgroundPosition,de=l.backgroundSize,me=l.backgroundRepeat,ge=l.backgroundImageColor,he=l.backgroundOpacity,be=l.borderStyle,ve=l.borderWidth,ye=l.borderRadius,we=l.borderColor,_e=l.stack,ke=document.getElementById("uagb-testinomial-style-"+this.props.clientId);null!=ke&&"undefined"!=typeof ke&&(ke.innerHTML=Object(d.a)(this.props));var Ee="uagb-testimonial-"+this.props.clientId,xe=wp.element.createElement(L,null,wp.element.createElement(N,{title:_("Typography"),initialOpen:!1},wp.element.createElement(I,{label:_("Testimonial Font Size"),value:B,onChange:function(e){return i({descFontSize:e})},min:10,max:100,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(I,{label:_("Name Font Size"),value:D,onChange:function(e){return i({nameFontSize:e})},min:10,max:100,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(I,{label:_("Company Font Size"),value:F,onChange:function(e){return i({companyFontSize:e})},min:10,max:100,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(T,{title:_("Color Settings"),initialOpen:!1,colorSettings:[{value:O,onChange:function(e){return i({descColor:e})},label:_("Testimonial Color")},{value:z,onChange:function(e){return i({authorColor:e})},label:_("Name Color")},{value:k,onChange:function(e){return i({companyColor:e})},label:_("Company Color")},{value:oe,onChange:function(e){return i({arrowColor:e})},label:_("Arrow Color")}]})),Ce=wp.element.createElement(L,null,wp.element.createElement(N,{title:_("Spacing"),initialOpen:!1},wp.element.createElement(I,{label:_("Row Gap"),value:ie,onChange:function(e){return i({rowGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Column Gap"),value:le,onChange:function(e){return i({columnGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Content Padding"),value:ue,onChange:function(e){return i({contentPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Testimonial Bottom Margin"),value:U,onChange:function(e){return i({descSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Name Bottom Margin"),value:q,onChange:function(e){return i({nameSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Image Horizontal Padding"),value:$,onChange:function(e){return i({imgHrPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Image Vertical Padding"),value:G,onChange:function(e){return i({imgVrPadding:e})},min:0,max:50,allowReset:!0}))),Se=wp.element.createElement(L,null,wp.element.createElement(N,{title:_("Background"),initialOpen:!1},wp.element.createElement(R,{label:_("Background Type"),value:se,onChange:function(e){return i({backgroundType:e})},options:[{value:"none",label:_("None")},{value:"color",label:_("Color")},{value:"image",label:_("Image")}]}),"color"==se&&wp.element.createElement(L,null,wp.element.createElement("p",{className:"uagb-setting-label"},_("Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ce}}))),wp.element.createElement(C,{value:ce,onChange:function(e){return i({backgroundColor:e})},allowReset:!0})),"image"==se&&wp.element.createElement(L,null,wp.element.createElement(j,{className:"editor-bg-image-control",label:_("Background Image")},wp.element.createElement(P,{title:_("Select Background Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:fe,render:function(e){var t=e.open;return wp.element.createElement(A,{isDefault:!0,onClick:t},_(fe?"Replace image":"Select Background Image"))}}),fe&&wp.element.createElement(A,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},_("Remove Image"))),fe&&wp.element.createElement(L,null,wp.element.createElement(R,{label:_("Image Position"),value:pe,onChange:function(e){return i({backgroundPosition:e})},options:[{value:"top-left",label:_("Top Left")},{value:"top-center",label:_("Top Center")},{value:"top-right",label:_("Top Right")},{value:"center-left",label:_("Center Left")},{value:"center-center",label:_("Center Center")},{value:"center-right",label:_("Center Right")},{value:"bottom-left",label:_("Bottom Left")},{value:"bottom-center",label:_("Bottom Center")},{value:"bottom-right",label:_("Bottom Right")}]}),wp.element.createElement(R,{label:_("Repeat"),value:me,onChange:function(e){return i({backgroundRepeat:e})},options:[{value:"no-repeat",label:_("No Repeat")},{value:"repeat",label:_("Repeat")},{value:"repeat-x",label:_("Repeat-x")},{value:"repeat-y",label:_("Repeat-y")}]}),wp.element.createElement(R,{label:_("Size"),value:de,onChange:function(e){return i({backgroundSize:e})},options:[{value:"auto",label:_("Auto")},{value:"cover",label:_("Cover")},{value:"contain",label:_("Contain")}]}),wp.element.createElement(L,null,wp.element.createElement("p",{className:"uagb-setting-label"},_("Image Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ge}}))),wp.element.createElement(C,{value:ge,onChange:function(e){return i({backgroundImageColor:e})},allowReset:!0})))),"image"==se&&fe&&wp.element.createElement(I,{label:_("Opacity"),value:he,onChange:function(e){return i({backgroundOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:0})),wp.element.createElement(N,{title:_("Border"),initialOpen:!1},wp.element.createElement(R,{label:_("Border Style"),value:be,onChange:function(e){return i({borderStyle:e})},options:[{value:"none",label:_("None")},{value:"solid",label:_("Solid")},{value:"dotted",label:_("Dotted")},{value:"dashed",label:_("Dashed")},{value:"double",label:_("Double")},{value:"groove",label:_("Groove")},{value:"inset",label:_("Inset")},{value:"outset",label:_("Outset")},{value:"ridge",label:_("Ridge")}]}),"none"!=be&&wp.element.createElement(L,null,wp.element.createElement(I,{label:_("Border Width"),value:ve,onChange:function(e){return i({borderWidth:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(I,{label:_("Border Radius"),value:ye,onChange:function(e){return i({borderRadius:e})},min:0,max:1e3,allowReset:!0}),wp.element.createElement(L,null,wp.element.createElement("p",{className:"uagb-setting-label"},_("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:we}}))),wp.element.createElement(C,{value:we,onChange:function(e){return i({borderColor:e})},allowReset:!0}))))),Te=[{value:"thumbnail",label:_("Thumbnail")},{value:"medium",label:_("Medium")},{value:"full",label:_("Large")}],Pe={slidesToShow:Q,slidesToScroll:1,autoplaySpeed:ae,autoplay:ne,infinite:ee,pauseOnHover:Z,speed:te,arrows:!0,dots:!0,rtl:!1,nextArrow:wp.element.createElement(e,{arrowSize:re}),prevArrow:wp.element.createElement(t,{arrowSize:re}),responsive:[{breakpoint:1024,settings:{slidesToShow:X,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:J,slidesToScroll:1}}]},Oe=function(e){var t=null;return b[e]&&"undefined"!==typeof b[e]&&(t=b[e].image),wp.element.createElement(N,{key:e,title:_("Image")+" "+(e+1)+" "+_("Settings"),initialOpen:!0},wp.element.createElement(j,{className:"editor-bg-image-control",label:_("")},wp.element.createElement(P,{title:_("Select Image"+(e+1)),onSelect:function(t){n.onSelectTestImage(t,e)},allowedTypes:["image"],value:t,render:function(t){var a=t.open;return wp.element.createElement(A,{isDefault:!0,onClick:a},n.getImageName(b[e].image))}}),t&&null!==b[e].image.url&&""!==b[e].image.url&&wp.element.createElement(A,{className:"uagb-rm-btn",key:e,onClick:function(t){n.onRemoveTestImage(e)},isLink:!0,isDestructive:!0},_("Remove Image"))))},Ne=wp.element.createElement(L,null,wp.element.createElement(N,{title:_("Carousel"),initialOpen:!1},wp.element.createElement(M,{label:_("Pause On Hover"),checked:Z,onChange:this.togglePauseOnHover}),wp.element.createElement(M,{label:_("Autoplay"),checked:ne,onChange:this.toggleAutoplay}),1==ne&&wp.element.createElement(I,{label:_("Autoplay Speed (ms)"),value:ae,onChange:function(e){return i({autoplaySpeed:e})},min:100,max:1e4}),wp.element.createElement(M,{label:_("Infinite Loop"),checked:ee,onChange:this.toggleInfiniteLoop}),wp.element.createElement(I,{label:_("Transition Speed (ms)"),value:te,onChange:function(e){return i({transitionSpeed:e})},min:100,max:5e3}),wp.element.createElement(I,{label:_("Arrow Size"),value:re,onChange:function(e){return i({arrowSize:e})},min:10,max:50}))),Re=0;b.map(function(e,t){var n=b[t];if(n&&"undefined"!==typeof n){var a=n.image;"undefined"!==typeof a&&null!==a&&""!==a&&Re++}});var Ie=wp.element.createElement(L,null,wp.element.createElement(S,null,wp.element.createElement(N,{title:_("General"),initialOpen:!0},wp.element.createElement(I,{label:_("Number of Testimonials"),value:g,onChange:function(e){var t=[].concat(a(b));if(t.length<e){var n=Math.abs(e-t.length);h()(n,function(e){t.push({description:"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!",name:"John Doe",company:"Company"+(t.length+1),image:""})}),i({test_block:t})}else{for(var r=Math.abs(e-t.length),o=t,l=0;l<r;l++)o.pop();i({test_block:o})}i({test_item_count:e})},min:0,max:10,allowReset:!0}),wp.element.createElement(I,{label:_("Columns"),value:Q,onChange:function(e){return i({columns:e})},min:1,max:g}),wp.element.createElement(I,{label:_("Columns (Tablet)"),value:X,onChange:function(e){return i({tcolumns:e})},min:1,max:g}),wp.element.createElement(I,{label:_("Columns (Mobile)"),value:J,onChange:function(e){return i({mcolumns:e})},min:1,max:g})),Ne,wp.element.createElement(N,{title:_("Image"),initialOpen:!1},h()(g,function(e){return Oe(e)}),Re>0&&wp.element.createElement(L,null,wp.element.createElement(R,{label:_("Image Position"),value:H,onChange:function(e){return i({imagePosition:e})},options:[{value:"top",label:_("Top")},{value:"bottom",label:_("Bottom")},{value:"left",label:_("Left")},{value:"right",label:_("Right")}]}),("left"==H||"right"==H)&&wp.element.createElement(L,null,wp.element.createElement(R,{label:_("Vertical ALignment"),value:V,onChange:function(e){return i({imageAlignment:e})},options:[{value:"top",label:_("Top")},{value:"middle",label:_("Middle")}]}),wp.element.createElement(R,{label:_("Stack on"),value:_e,options:[{value:"none",label:_("None")},{value:"tablet",label:_("Tablet")},{value:"mobile",label:_("Mobile")}],help:_("Note: Choose on what breakpoint the Info Box will stack."),onChange:function(e){return i({stack:e})}})),wp.element.createElement(R,{label:_("Image Style"),value:W,onChange:function(e){return i({iconimgStyle:e})},options:[{value:"normal",label:_("Normal")},{value:"circle",label:_("Circle")},{value:"square",label:_("Square")}]}),wp.element.createElement(R,{label:_("Image Size"),options:Te,value:Y,onChange:function(e){return i({imageSize:e})}}),wp.element.createElement(I,{label:_("Width"),value:K,onChange:function(e){return i({imageWidth:e})},min:0,max:500,allowReset:!0}))),xe,Ce,Se));return wp.element.createElement(L,null,wp.element.createElement(x,{key:"controls"},wp.element.createElement(E,{value:w,onChange:function(e){return i({headingAlign:e})}})),Ie,wp.element.createElement("div",{className:u()(o,"uagb-testomonial__outer-wrap uagb-slick-carousel uagb-tm__arrow-outside"),id:Ee},wp.element.createElement(v.a,y({className:u()("is-carousel","uagb-tm__columns-"+Q,"uagb-tm__items")},Pe),b.map(function(e,t){return wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-testimonial__wrap"].concat(a(Object(p.a)(l)))),key:"wrap-"+t},wp.element.createElement("div",{className:"uagb-tm__content",key:"tm_content-"+t},wp.element.createElement("div",{className:"uagb-tm__overlay"}),("top"==H||"left"==H)&&wp.element.createElement(m.a,{attributes:l,index_value:t}),wp.element.createElement("div",{className:"uagb-tm__text-wrap"},wp.element.createElement(L,null,wp.element.createElement("div",{className:"uagb-testinomial-text-wrap",key:"text-wrap-"+t},wp.element.createElement(f.a,{attributes:l,setAttributes:i,props:n.props,index_value:t}))),wp.element.createElement("div",{className:"uagb-tm__meta"},wp.element.createElement("div",{className:"uagb-tm__meta-inner"},"bottom"==H&&wp.element.createElement(m.a,{attributes:l,index_value:t}),wp.element.createElement(L,null,wp.element.createElement("div",{className:"uagb-testimonial-details",key:"tm_wraps-"+t},wp.element.createElement(s.a,{attributes:l,setAttributes:i,props:n.props,index_value:t}),wp.element.createElement(c.a,{attributes:l,setAttributes:i,props:n.props,index_value:t})))))),"right"==H&&wp.element.createElement(m.a,{attributes:l,index_value:t})))}))))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-testinomial-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(D);t.a=F},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.companyColor,r=t.descColor,o=t.authorColor,i=t.nameFontSize,l=t.companyFontSize,u=t.descFontSize,s=t.descSpace,c=t.block_id,f=t.nameSpace,p=t.imgVrPadding,d=t.imgHrPadding,m=t.imageWidth,g=t.rowGap,h=t.columnGap,b=t.contentPadding,v=t.backgroundColor,y=t.backgroundImage,w=t.backgroundPosition,_=t.backgroundSize,k=t.backgroundRepeat,E=t.backgroundImageColor,x=t.backgroundOpacity,C=t.borderStyle,S=t.borderWidth,T=t.borderRadius,P=t.borderColor;if(e.clientId)var O="uagb-testimonial-"+e.clientId;else var O="uagb-testimonial-"+c;var N={};N[".uagb-testimonial__wrap"]={"padding-left":h/2+"px","padding-right":h/2+"px","margin-bottom":g+"px"},N[".uagb-testimonial__wrap .uagb-tm__image-content"]={"padding-left":d+"px","padding-right":d+"px","padding-top":p+"px","padding-bottom":p+"px"},N[".uagb-tm__image img"]={width:m+"px","max-width":m+"px"},N[".uagb-tm__content"]={"text-align":n,padding:b+"px"},N[".uagb-tm__author-name"]={"font-size":i+"px",color:o,"margin-bottom":f+"px"},N[".uagb-tm__company"]={"font-size":l+"px",color:a},N[".uagb-tm__desc"]={"font-size":u+"px",color:r,"margin-bottom":s+"px"},N[".uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content"]={"background-color":v};var R=w.replace("-"," ");N[".uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content"]={"background-image":y?"url("+y.url+")":null,"background-position":R,"background-repeat":k,"background-size":_},N[".uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay"]={"background-color":E,opacity:"undefined"!=typeof x?(100-x)/100:.5},"none"!=C&&(N[".uagb-testimonial__wrap .uagb-tm__content"]={"border-color":P,"border-style":C,"border-width":S+"px","border-radius":T+"px"});var I="";for(var M in N){I+="#wpwrap #"+O+" "+M+" { ";var j=N[M],A="";for(var z in j)A+=z+": "+j[z]+";";I+=A+" } "}return I}t.a=a},function(e,t,n){"use strict";t.__esModule=!0;var a=n(239),r=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=r.default},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),s=a(u),c=n(240),f=n(247),p=a(f),d=n(249),m=a(d),g=n(27),h=(0,g.canUseDOM)()&&n(250),b=function(t){function n(e){r(this,n);var a=o(this,t.call(this,e));return a.innerSliderRefHandler=function(e){return a.innerSlider=e},a.slickPrev=function(){return a.innerSlider.slickPrev()},a.slickNext=function(){return a.innerSlider.slickNext()},a.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.innerSlider.slickGoTo(e,t)},a.slickPause=function(){return a.innerSlider.pause("paused")},a.slickPlay=function(){return a.innerSlider.autoPlay("play")},a.state={breakpoint:null},a._responsiveMediaHandlers=[],a}return i(n,t),n.prototype.media=function(e,t){h.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})},n.prototype.componentWillMount=function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,a){var r=void 0;r=0===a?(0,p.default)({minWidth:0,maxWidth:n}):(0,p.default)({minWidth:t[a-1]+1,maxWidth:n}),(0,g.canUseDOM)()&&e.media(r,function(){e.setState({breakpoint:n})})});var n=(0,p.default)({minWidth:t.slice(-1)[0]});(0,g.canUseDOM)()&&this.media(n,function(){e.setState({breakpoint:null})})}},n.prototype.componentWillUnmount=function(){this._responsiveMediaHandlers.forEach(function(e){h.unregister(e.query,e.handler)})},n.prototype.render=function(){var t,n,a=this;this.state.breakpoint?(n=this.props.responsive.filter(function(e){return e.breakpoint===a.state.breakpoint}),t="unslick"===n[0].settings?"unslick":l({},m.default,this.props,n[0].settings)):t=l({},m.default,this.props),t.centerMode&&(t.slidesToScroll>1&&"production"!==e.env.NODE_ENV&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using "+t.slidesToScroll),t.slidesToScroll=1),t.fade&&(t.slidesToShow>1&&"production"!==e.env.NODE_ENV&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using "+t.slidesToShow),t.slidesToScroll>1&&"production"!==e.env.NODE_ENV&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using "+t.slidesToScroll),t.slidesToShow=1,t.slidesToScroll=1);var r=s.default.Children.toArray(this.props.children);r=r.filter(function(e){return"string"===typeof e?!!e.trim():!!e}),t.variableWidth&&(t.rows>1||t.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var o=[],i=null,u=0;u<r.length;u+=t.rows*t.slidesPerRow){for(var f=[],p=u;p<u+t.rows*t.slidesPerRow;p+=t.slidesPerRow){for(var d=[],g=p;g<p+t.slidesPerRow&&(t.variableWidth&&r[g].props.style&&(i=r[g].props.style.width),!(g>=r.length));g+=1)d.push(s.default.cloneElement(r[g],{key:100*u+10*p+g,tabIndex:-1,style:{width:100/t.slidesPerRow+"%",display:"inline-block"}}));f.push(s.default.createElement("div",{key:10*u+p},d))}t.variableWidth?o.push(s.default.createElement("div",{key:u,style:{width:i}},f)):o.push(s.default.createElement("div",{key:u},f))}if("unslick"===t){var h="regular slider "+(this.props.className||"");return s.default.createElement("div",{className:h},o)}return o.length<=t.slidesToShow&&(t.unslick=!0),s.default.createElement(c.InnerSlider,l({ref:this.innerSliderRefHandler},t),o)},n}(s.default.Component);t.default=b}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.InnerSlider=void 0;var u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(2),f=a(c),p=n(17),d=a(p),m=n(241),g=a(m),h=n(242),b=a(h),v=n(0),y=a(v),w=n(27),_=n(243),k=n(244),E=n(245),x=n(246),C=a(x);t.InnerSlider=function(e){function t(n){o(this,t);var a=i(this,e.call(this,n));return a.listRefHandler=function(e){return a.list=e},a.trackRefHandler=function(e){return a.track=e},a.adaptHeight=function(){if(a.props.adaptiveHeight&&a.list){var e=a.list.querySelector('[data-index="'+a.state.currentSlide+'"]');a.list.style.height=(0,w.getHeight)(e)+"px"}},a.componentWillMount=function(){if(a.ssrInit(),a.props.onInit&&a.props.onInit(),a.props.lazyLoad){var e=(0,w.getOnDemandLazySlides)(s({},a.props,a.state));e.length>0&&(a.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),a.props.onLazyLoad&&a.props.onLazyLoad(e))}},a.componentDidMount=function(){var e=s({listRef:a.list,trackRef:a.track},a.props);a.updateState(e,!0,function(){a.adaptHeight(),a.props.autoplay&&a.autoPlay("update")}),"progressive"===a.props.lazyLoad&&(a.lazyLoadTimer=setInterval(a.progressiveLazyLoad,1e3)),a.ro=new C.default(function(){a.state.animating?(a.onWindowResized(!1),a.callbackTimers.push(setTimeout(function(){return a.onWindowResized()},a.props.speed))):a.onWindowResized()}),a.ro.observe(a.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=a.props.pauseOnFocus?a.onSlideFocus:null,e.onblur=a.props.pauseOnFocus?a.onSlideBlur:null}),window&&(window.addEventListener?window.addEventListener("resize",a.onWindowResized):window.attachEvent("onresize",a.onWindowResized))},a.componentWillUnmount=function(){a.animationEndCallback&&clearTimeout(a.animationEndCallback),a.lazyLoadTimer&&clearInterval(a.lazyLoadTimer),a.callbackTimers.length&&(a.callbackTimers.forEach(function(e){return clearTimeout(e)}),a.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",a.onWindowResized):window.detachEvent("onresize",a.onWindowResized),a.autoplayTimer&&clearInterval(a.autoplayTimer)},a.componentWillReceiveProps=function(e){for(var t=s({listRef:a.list,trackRef:a.track},e,a.state),n=!1,r=Object.keys(a.props),o=Array.isArray(r),i=0,r=o?r:r[Symbol.iterator]();;){var l;if(o){if(i>=r.length)break;l=r[i++]}else{if(i=r.next(),i.done)break;l=i.value}var c=l;if(!e.hasOwnProperty(c)){n=!0;break}if("object"!==u(e[c])&&"function"!==typeof e[c]&&e[c]!==a.props[c]){n=!0;break}}a.updateState(t,n,function(){a.state.currentSlide>=f.default.Children.count(e.children)&&a.changeSlide({message:"index",index:f.default.Children.count(e.children)-e.slidesToShow,currentSlide:a.state.currentSlide}),e.autoplay?a.autoPlay("update"):a.pause("paused")})},a.componentDidUpdate=function(){if(a.checkImagesLoad(),a.props.onReInit&&a.props.onReInit(),a.props.lazyLoad){var e=(0,w.getOnDemandLazySlides)(s({},a.props,a.state));e.length>0&&(a.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),a.props.onLazyLoad&&a.props.onLazyLoad(e))}a.adaptHeight()},a.onWindowResized=function(e){a.debouncedResize&&a.debouncedResize.cancel(),a.debouncedResize=(0,b.default)(function(){return a.resizeWindow(e)},50),a.debouncedResize()},a.resizeWindow=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(d.default.findDOMNode(a.track)){var t=s({listRef:a.list,trackRef:a.track},a.props,a.state);a.updateState(t,e,function(){a.props.autoplay?a.autoPlay("update"):a.pause("paused")}),a.setState({animating:!1}),clearTimeout(a.animationEndCallback),delete a.animationEndCallback}},a.updateState=function(e,t,n){var r=(0,w.initializedState)(e);e=s({},e,r,{slideIndex:r.currentSlide});var o=(0,w.getTrackLeft)(e);e=s({},e,{left:o});var i=(0,w.getTrackCSS)(e);(t||f.default.Children.count(a.props.children)!==f.default.Children.count(e.children))&&(r.trackStyle=i),a.setState(r,n)},a.ssrInit=function(){if(a.props.variableWidth){var e=0,t=0,n=[],r=(0,w.getPreClones)(s({},a.props,a.state,{slideCount:a.props.children.length})),o=(0,w.getPostClones)(s({},a.props,a.state,{slideCount:a.props.children.length}));a.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var i=0;i<r;i++)t+=n[n.length-1-i],e+=n[n.length-1-i];for(var l=0;l<o;l++)e+=n[l];for(var u=0;u<a.state.currentSlide;u++)t+=n[u];var c={width:e+"px",left:-t+"px"};if(a.props.centerMode){var p=n[a.state.currentSlide]+"px";c.left="calc("+c.left+" + (100% - "+p+") / 2 ) "}return void a.setState({trackStyle:c})}var d=f.default.Children.count(a.props.children),m=s({},a.props,a.state,{slideCount:d}),g=(0,w.getPreClones)(m)+(0,w.getPostClones)(m)+d,h=100/a.props.slidesToShow*g,b=100/g,v=-b*((0,w.getPreClones)(m)+a.state.currentSlide)*h/100;a.props.centerMode&&(v+=(100-b*h/100)/2);var y={width:h+"%",left:v+"%"};a.setState({slideWidth:b+"%",trackStyle:y})},a.checkImagesLoad=function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&a.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(a.props.lazyLoad?e.onload=function(){a.adaptHeight(),a.callbackTimers.push(setTimeout(a.onWindowResized,a.props.speed))}:(e.onload=r,e.onerror=function(){r(),a.props.onLazyLoadError&&a.props.onLazyLoadError()}))})},a.progressiveLazyLoad=function(){for(var e=[],t=s({},a.props,a.state),n=a.state.currentSlide;n<a.state.slideCount+(0,w.getPostClones)(t);n++)if(a.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=a.state.currentSlide-1;r>=-(0,w.getPreClones)(t);r--)if(a.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(a.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),a.props.onLazyLoad&&a.props.onLazyLoad(e)):a.lazyLoadTimer&&(clearInterval(a.lazyLoadTimer),delete a.lazyLoadTimer)},a.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=a.props,o=n.asNavFor,i=n.currentSlide,l=n.beforeChange,u=n.onLazyLoad,c=n.speed,f=n.afterChange,p=(0,w.slideHandler)(s({index:e},a.props,a.state,{trackRef:a.track,useCSS:a.props.useCSS&&!t})),d=p.state,m=p.nextState;if(d){l&&l(i,d.currentSlide);var g=d.lazyLoadedList.filter(function(e){return a.state.lazyLoadedList.indexOf(e)<0});u&&g.length>0&&u(g),a.setState(d,function(){o&&o.innerSlider.state.currentSlide!==i&&o.innerSlider.slideHandler(e),m&&(a.animationEndCallback=setTimeout(function(){var e=m.animating,t=r(m,["animating"]);a.setState(t,function(){a.callbackTimers.push(setTimeout(function(){return a.setState({animating:e})},10)),f&&f(d.currentSlide),delete a.animationEndCallback})},c))})}},a.changeSlide=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=s({},a.props,a.state),r=(0,w.changeSlide)(n,e);(0===r||r)&&(!0===t?a.slideHandler(r,t):a.slideHandler(r))},a.clickHandler=function(e){!1===a.clickable&&(e.stopPropagation(),e.preventDefault()),a.clickable=!0},a.keyHandler=function(e){var t=(0,w.keyHandler)(e,a.props.accessibility,a.props.rtl);""!==t&&a.changeSlide({message:t})},a.selectHandler=function(e){a.changeSlide(e)},a.disableBodyScroll=function(){var e=function(e){e=e||window.event,e.preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e},a.enableBodyScroll=function(){window.ontouchmove=null},a.swipeStart=function(e){a.props.verticalSwiping&&a.disableBodyScroll();var t=(0,w.swipeStart)(e,a.props.swipe,a.props.draggable);""!==t&&a.setState(t)},a.swipeMove=function(e){var t=(0,w.swipeMove)(e,s({},a.props,a.state,{trackRef:a.track,listRef:a.list,slideIndex:a.state.currentSlide}));t&&(t.swiping&&(a.clickable=!1),a.setState(t))},a.swipeEnd=function(e){var t=(0,w.swipeEnd)(e,s({},a.props,a.state,{trackRef:a.track,listRef:a.list,slideIndex:a.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,a.setState(t),void 0!==n&&(a.slideHandler(n),a.props.verticalSwiping&&a.enableBodyScroll())}},a.slickPrev=function(){a.callbackTimers.push(setTimeout(function(){return a.changeSlide({message:"previous"})},0))},a.slickNext=function(){a.callbackTimers.push(setTimeout(function(){return a.changeSlide({message:"next"})},0))},a.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";a.callbackTimers.push(setTimeout(function(){return a.changeSlide({message:"index",index:e,currentSlide:a.state.currentSlide},t)},0))},a.play=function(){var e;if(a.props.rtl)e=a.state.currentSlide-a.props.slidesToScroll;else{if(!(0,w.canGoNext)(s({},a.props,a.state)))return!1;e=a.state.currentSlide+a.props.slidesToScroll}a.slideHandler(e)},a.autoPlay=function(e){a.autoplayTimer&&clearInterval(a.autoplayTimer);var t=a.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;a.autoplayTimer=setInterval(a.play,a.props.autoplaySpeed+50),a.setState({autoplaying:"playing"})},a.pause=function(e){a.autoplayTimer&&(clearInterval(a.autoplayTimer),a.autoplayTimer=null);var t=a.state.autoplaying;"paused"===e?a.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||a.setState({autoplaying:"focused"}):"playing"===t&&a.setState({autoplaying:"hovered"})},a.onDotsOver=function(){return a.props.autoplay&&a.pause("hovered")},a.onDotsLeave=function(){return a.props.autoplay&&"hovered"===a.state.autoplaying&&a.autoPlay("leave")},a.onTrackOver=function(){return a.props.autoplay&&a.pause("hovered")},a.onTrackLeave=function(){return a.props.autoplay&&"hovered"===a.state.autoplaying&&a.autoPlay("leave")},a.onSlideFocus=function(){return a.props.autoplay&&a.pause("focused")},a.onSlideBlur=function(){return a.props.autoplay&&"focused"===a.state.autoplaying&&a.autoPlay("blur")},a.render=function(){var e=(0,y.default)("slick-slider",a.props.className,{"slick-vertical":a.props.vertical,"slick-initialized":!0}),t=s({},a.props,a.state),n=(0,w.extractObject)(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),r=a.props.pauseOnHover;n=s({},n,{onMouseEnter:r?a.onTrackOver:null,onMouseLeave:r?a.onTrackLeave:null,onMouseOver:r?a.onTrackOver:null,focusOnSelect:a.props.focusOnSelect?a.selectHandler:null});var o;if(!0===a.props.dots&&a.state.slideCount>=a.props.slidesToShow){var i=(0,w.extractObject)(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),l=a.props.pauseOnDotsHover;i=s({},i,{clickHandler:a.changeSlide,onMouseEnter:l?a.onDotsLeave:null,onMouseOver:l?a.onDotsOver:null,onMouseLeave:l?a.onDotsLeave:null}),o=f.default.createElement(k.Dots,i)}var u,c,p=(0,w.extractObject)(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=a.changeSlide,a.props.arrows&&(u=f.default.createElement(E.PrevArrow,p),c=f.default.createElement(E.NextArrow,p));var d=null;a.props.vertical&&(d={height:a.state.listHeight});var m=null;!1===a.props.vertical?!0===a.props.centerMode&&(m={padding:"0px "+a.props.centerPadding}):!0===a.props.centerMode&&(m={padding:a.props.centerPadding+" 0px"});var g=s({},d,m),h=a.props.touchMove,b={className:"slick-list",style:g,onClick:a.clickHandler,onMouseDown:h?a.swipeStart:null,onMouseMove:a.state.dragging&&h?a.swipeMove:null,onMouseUp:h?a.swipeEnd:null,onMouseLeave:a.state.dragging&&h?a.swipeEnd:null,onTouchStart:h?a.swipeStart:null,onTouchMove:a.state.dragging&&h?a.swipeMove:null,onTouchEnd:h?a.swipeEnd:null,onTouchCancel:a.state.dragging&&h?a.swipeEnd:null,onKeyDown:a.props.accessibility?a.keyHandler:null},v={className:e,dir:"ltr"};return a.props.unslick&&(b={className:"slick-list"},v={className:e}),f.default.createElement("div",v,a.props.unslick?"":u,f.default.createElement("div",s({ref:a.listRefHandler},b),f.default.createElement(_.Track,s({ref:a.trackRefHandler},n),a.props.children)),a.props.unslick?"":c,a.props.unslick?"":o)},a.list=null,a.track=null,a.state=s({},g.default,{currentSlide:a.props.initialSlide,slideCount:f.default.Children.count(a.props.children)}),a.callbackTimers=[],a.clickable=!0,a.debouncedResize=null,a}return l(t,e),t}(f.default.Component)},function(e,t,n){"use strict";t.__esModule=!0;var a={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0};t.default=a},function(e,t,n){(function(t){function n(e,t,n){function r(t){var n=g,a=h;return g=h=void 0,x=t,v=e.apply(a,n)}function o(e){return x=e,y=setTimeout(c,t),C?r(e):v}function u(e){var n=e-E,a=e-x,r=t-n;return S?_(r,b-a):r}function s(e){var n=e-E,a=e-x;return void 0===E||n>=t||n<0||S&&a>=b}function c(){var e=k();if(s(e))return f(e);y=setTimeout(c,u(e))}function f(e){return y=void 0,T&&g?r(e):(g=h=void 0,v)}function p(){void 0!==y&&clearTimeout(y),x=0,g=E=h=y=void 0}function d(){return void 0===y?v:f(k())}function m(){var e=k(),n=s(e);if(g=arguments,h=this,E=e,n){if(void 0===y)return o(E);if(S)return y=setTimeout(c,t),r(E)}return void 0===y&&(y=setTimeout(c,t)),v}var g,h,b,v,y,E,x=0,C=!1,S=!1,T=!0;if("function"!=typeof e)throw new TypeError(l);return t=i(t)||0,a(n)&&(C=!!n.leading,S="maxWait"in n,b=S?w(i(n.maxWait)||0,t):b,T="trailing"in n?!!n.trailing:T),m.cancel=p,m.flush=d,m}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==typeof e}function o(e){return"symbol"==typeof e||r(e)&&y.call(e)==s}function i(e){if("number"==typeof e)return e;if(o(e))return u;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=p.test(e);return n||d.test(e)?m(e.slice(2),n?2:8):f.test(e)?u:+e}var l="Expected a function",u=NaN,s="[object Symbol]",c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,m=parseInt,g="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,b=g||h||Function("return this")(),v=Object.prototype,y=v.toString,w=Math.max,_=Math.min,k=function(){return b.Date.now()};e.exports=n}).call(t,n(30))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Track=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),s=a(u),c=n(0),f=a(c),p=n(27),d=function(e){var t,n,a,r,o;return o=e.rtl?e.slideCount-1-e.index:e.index,a=o<0||o>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":a,"slick-current":o===e.currentSlide}},m=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t},g=function(e,t){return e.key||t},h=function(e){var t,n=[],a=[],r=[],o=s.default.Children.count(e.children),i=(0,p.lazyStartIndex)(e),u=(0,p.lazyEndIndex)(e);return s.default.Children.forEach(e.children,function(c,h){var b=void 0,v={message:"children",index:h,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};b=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(h)>=0?c:s.default.createElement("div",null);var y=m(l({},e,{index:h})),w=b.props.className||"",_=d(l({},e,{index:h}));if(n.push(s.default.cloneElement(b,{key:"original"+g(b,h),"data-index":h,className:(0,f.default)(_,w),tabIndex:"-1","aria-hidden":!_["slick-active"],style:l({outline:"none"},b.props.style||{},y),onClick:function(t){b.props&&b.props.onClick&&b.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}})),e.infinite&&!1===e.fade){var k=o-h;k<=(0,p.getPreClones)(e)&&o!==e.slidesToShow&&(t=-k,t>=i&&(b=c),_=d(l({},e,{index:t})),a.push(s.default.cloneElement(b,{key:"precloned"+g(b,t),"data-index":t,tabIndex:"-1",className:(0,f.default)(_,w),"aria-hidden":!_["slick-active"],style:l({},b.props.style||{},y),onClick:function(t){b.props&&b.props.onClick&&b.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}}))),o!==e.slidesToShow&&(t=o+h,t<u&&(b=c),_=d(l({},e,{index:t})),r.push(s.default.cloneElement(b,{key:"postcloned"+g(b,t),"data-index":t,tabIndex:"-1",className:(0,f.default)(_,w),"aria-hidden":!_["slick-active"],style:l({},b.props.style||{},y),onClick:function(t){b.props&&b.props.onClick&&b.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}})))}}),e.rtl?a.concat(n,r).reverse():a.concat(n,r)};t.Track=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=h(this.props),t=this.props,n=t.onMouseEnter,a=t.onMouseOver,r=t.onMouseLeave,o={onMouseEnter:n,onMouseOver:a,onMouseLeave:r};return s.default.createElement("div",l({className:"slick-track",style:this.props.trackStyle},o),e)},t}(s.default.PureComponent)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Dots=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),s=a(u),c=n(0),f=a(c),p=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1};t.Dots=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.clickHandler=function(e,t){t.preventDefault(),this.props.clickHandler(e)},t.prototype.render=function(){var e=this,t=p({slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}),n=this.props,a=n.onMouseEnter,r=n.onMouseOver,o=n.onMouseLeave,i={onMouseEnter:a,onMouseOver:r,onMouseLeave:o},u=Array.apply(null,Array(t+1).join("0").split("")).map(function(t,n){var a=n*e.props.slidesToScroll,r=n*e.props.slidesToScroll+(e.props.slidesToScroll-1),o=(0,f.default)({"slick-active":e.props.currentSlide>=a&&e.props.currentSlide<=r}),i={message:"dots",index:n,slidesToScroll:e.props.slidesToScroll,currentSlide:e.props.currentSlide},l=e.clickHandler.bind(e,i);return s.default.createElement("li",{key:n,className:o},s.default.cloneElement(e.props.customPaging(n),{onClick:l}))});return s.default.cloneElement(this.props.appendDots(u),l({className:this.props.dotsClass},i))},t}(s.default.PureComponent)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.NextArrow=t.PrevArrow=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),s=a(u),c=n(0),f=a(c),p=n(27);t.PrevArrow=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,f.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?s.default.cloneElement(this.props.prevArrow,l({},n,a)):s.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")},t}(s.default.PureComponent),t.NextArrow=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,p.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,f.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?s.default.cloneElement(this.props.nextArrow,l({},n,a)):s.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")},t}(s.default.PureComponent)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function n(e){return parseFloat(e)||0}function a(e){for(var t=[],a=arguments.length-1;a-- >0;)t[a]=arguments[a+1];return t.reduce(function(t,a){return t+n(e["border-"+a+"-width"])},0)}function r(e){for(var t=["top","right","bottom","left"],a={},r=0,o=t;r<o.length;r+=1){var i=o[r],l=e["padding-"+i];a[i]=n(l)}return a}function o(e){var t=e.getBBox();return c(0,0,t.width,t.height)}function i(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return k;var i=_(e).getComputedStyle(e),u=r(i),s=u.left+u.right,f=u.top+u.bottom,p=n(i.width),d=n(i.height);if("border-box"===i.boxSizing&&(Math.round(p+s)!==t&&(p-=a(i,"left","right")+s),Math.round(d+f)!==o&&(d-=a(i,"top","bottom")+f)),!l(e)){var m=Math.round(p+s)-t,g=Math.round(d+f)-o;1!==Math.abs(m)&&(p-=m),1!==Math.abs(g)&&(d-=g)}return c(u.left,u.top,p,d)}function l(e){return e===_(e).document.documentElement}function u(e){return p?E(e)?o(e):i(e):k}function s(e){var t=e.x,n=e.y,a=e.width,r=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(o.prototype);return w(i,{x:t,y:n,width:a,height:r,top:n,right:t+a,bottom:r+n,left:t}),i}function c(e,t,n,a){return{x:e,y:t,width:n,height:a}}var f=function(){function e(e,t){var n=-1;return e.some(function(e,a){return e[0]===t&&(n=a,!0)}),n}return"undefined"!==typeof Map?Map:function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),a=this.__entries__[n];return a&&a[1]},t.prototype.set=function(t,n){var a=e(this.__entries__,t);~a?this.__entries__[a][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,a=e(n,t);~a&&n.splice(a,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=null);for(var a=0,r=n.__entries__;a<r.length;a+=1){var o=r[a];e.call(t,o[1],o[0])}},Object.defineProperties(t.prototype,n),t}()}(),p="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,d=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),m=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(d):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),g=2,h=function(e,t){function n(){o&&(o=!1,e()),i&&r()}function a(){m(n)}function r(){var e=Date.now();if(o){if(e-l<g)return;i=!0}else o=!0,i=!1,setTimeout(a,t);l=e}var o=!1,i=!1,l=0;return r},b=["top","right","bottom","left","width","height","size","weight"],v="undefined"!==typeof MutationObserver,y=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=h(this.refresh.bind(this),20)};y.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},y.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},y.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},y.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},y.prototype.connect_=function(){p&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),v?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},y.prototype.disconnect_=function(){p&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},y.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),b.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},y.getInstance=function(){return this.instance_||(this.instance_=new y),this.instance_},y.instance_=null;var w=function(e,t){for(var n=0,a=Object.keys(t);n<a.length;n+=1){var r=a[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},_=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||d},k=c(0,0,0,0),E=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof _(e).SVGGraphicsElement}:function(e){return e instanceof _(e).SVGElement&&"function"===typeof e.getBBox}}(),x=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=c(0,0,0,0),this.target=e};x.prototype.isActive=function(){var e=u(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},x.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var C=function(e,t){var n=s(t);w(this,{target:e,contentRect:n})},S=function(e,t,n){if(this.activeObservations_=[],this.observations_=new f,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n};S.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof _(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new x(e)),this.controller_.addObserver(this),this.controller_.refresh())}},S.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof _(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},S.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},S.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},S.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new C(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},S.prototype.clearActive=function(){this.activeObservations_.splice(0)},S.prototype.hasActive=function(){return this.activeObservations_.length>0};var T="undefined"!==typeof WeakMap?new WeakMap:new f,P=function(e){if(!(this instanceof P))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=y.getInstance(),n=new S(e,t,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){P.prototype[e]=function(){return(t=T.get(this))[e].apply(t,arguments);var t}});var O=function(){return"undefined"!==typeof d.ResizeObserver?d.ResizeObserver:P}();t.default=O}.call(t,n(30))},function(e,t,n){var a=n(248),r=function(e){return/[height|width]$/.test(e)},o=function(e){var t="",n=Object.keys(e);return n.forEach(function(o,i){var l=e[o];o=a(o),r(o)&&"number"===typeof l&&(l+="px"),t+=!0===l?o:!1===l?"not "+o:"("+o+": "+l+")",i<n.length-1&&(t+=" and ")}),t},i=function(e){var t="";return"string"===typeof e?e:e instanceof Array?(e.forEach(function(n,a){t+=o(n),a<e.length-1&&(t+=", ")}),t):o(e)};e.exports=i},function(e,t){var n=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()};e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var a=n(2),r=function(e){return e&&e.__esModule?e:{default:e}}(a),o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},function(e,t,n){var a=n(251);e.exports=new a},function(e,t,n){function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var r=n(252),o=n(86),i=o.each,l=o.isFunction,u=o.isArray;a.prototype={constructor:a,register:function(e,t,n){var a=this.queries,o=n&&this.browserIsIncapable;return a[e]||(a[e]=new r(e,o)),l(t)&&(t={match:t}),u(t)||(t=[t]),i(t,function(t){l(t)&&(t={match:t}),a[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=a},function(e,t,n){function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var r=n(253),o=n(86).each;a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,function(n,a){if(n.equals(e))return n.destroy(),!t.splice(a,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},e.exports=a},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}for(var r,o=[],i=1;i<=3;i++){var l="Company"+i;o.push({description:"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!",name:"John Doe ",company:l,image:""})}var u=(r={test_item_count:{type:"number",default:3},test_block:{type:"array",default:o},headingAlign:{type:"string",default:"center"},descColor:{type:"string",default:"#333"},companyColor:{type:"string",default:"#888888"},authorColor:{type:"string",default:"#333"},iconimgStyle:{type:"string",default:"circle"},imagePosition:{type:"string",default:"bottom"},imageAlignment:{type:"string",default:"top"},authorFontSize:{type:"number"},nameFontSize:{type:"number"},companyFontSize:{type:"number",default:15},descFontSize:{type:"number"},nameSpace:{type:"number",default:5},descSpace:{type:"number",default:15},block_id:{type:"string",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:60},columns:{type:"number",default:1},tcolumns:{type:"number",default:1},mcolumns:{type:"number",default:1},pauseOnHover:{type:"boolean",default:!0},infiniteLoop:{type:"boolean",default:!0},transitionSpeed:{type:"number",default:500},autoplay:{type:"boolean",default:!0},autoplaySpeed:{type:"number",default:2e3},arrowSize:{type:"number",default:20},arrowColor:{type:"string",default:"#aaaaaa"},rowGap:{type:"number",default:10},columnGap:{type:"number",default:10},contentPadding:{type:"number",default:5},backgroundType:{type:"string"},backgroundImage:{type:"object"},backgroundPosition:{type:"string",default:"center-center"},backgroundSize:{type:"string",default:"cover"},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundColor:{type:"string"},backgroundImageColor:{type:"string"},borderStyle:{type:"string",default:"none"},borderWidth:{type:"number",default:"1"},borderRadius:{type:"number"},borderColor:{type:"string"},backgroundOpacity:{type:"number",default:50}},a(r,"arrowColor",{type:"string",default:"#333"}),a(r,"stack",{type:"string",default:"tablet"}),r);t.a=u},function(e,t){},function(e,t){},function(e,t,n){"use strict";function a(e,t,n){var a=n?"_blank":"_self";return wp.element.createElement("li",{className:"uagb-team__social-icon"},wp.element.createElement("a",{href:t,target:a,title:"",rel:"noopener noreferrer"},wp.element.createElement("span",{className:e})))}var r=n(0),o=n.n(r),i=n(3),l=n(258),u=n(260),s=n(261),c=(n.n(s),n(262)),f=(n.n(c),wp.i18n.__),p=wp.blocks.registerBlockType,d=wp.editor.RichText;wp.element.Fragment;p("uagb/team",{title:uagb_blocks_info.blocks["uagb/team"].title,description:uagb_blocks_info.blocks["uagb/team"].description,icon:i.a.team,keywords:[f("team"),f("members"),f("uagb")],category:uagb_blocks_info.category,attributes:u.a,edit:l.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.align,i=t.tag,l=t.title,u=t.prefix,s=t.description_text,c=t.image,f=t.imgSize,p=t.imgStyle,m=t.imgPosition,g=t.twitterIcon,h=t.fbIcon,b=t.linkedinIcon,v=t.pinIcon,y=t.twitterLink,w=t.fbLink,_=t.linkedinLink,k=t.pinLink,E=t.socialTarget,x=t.socialEnable,C=t.stack,S="",T="";c&&(S=c.sizes,T=c.sizes&&S[f]?S[f].url:c.url);var P="";return""!=T&&(P=wp.element.createElement("div",{className:o()("uagb-team__image-wrap","uagb-team__image-crop-"+p)},wp.element.createElement("img",{className:"",src:T,alt:c.alt?c.alt:""}))),wp.element.createElement("div",{className:o()(e.className,"uagb-team","uagb-team__outer-wrap","uagb-team__image-position-"+m,"uagb-team__align-"+r,"uagb-team__stack-"+C),id:"uagb-team-"+n},wp.element.createElement("div",{className:"uagb-team__wrap"},"left"==m&&P,wp.element.createElement("div",{className:"uagb-team__content"},"above"==m&&P,wp.element.createElement("div",{className:"uagb-team__title-wrap"},wp.element.createElement(d.Content,{tagName:i,value:l,className:"uagb-team__title"}),wp.element.createElement(d.Content,{tagName:"span",value:u,className:"uagb-team__prefix"})),wp.element.createElement("div",{className:"uagb-team__desc-wrap"},wp.element.createElement(d.Content,{tagName:"p",value:s,className:"uagb-team__desc"})),x&&wp.element.createElement("div",{className:"uagb-team__social-icon-wrap"},wp.element.createElement("ul",{className:"uagb-team__social-list"},""!=g&&a(g,y,E),""!=h&&a(h,w,E),""!=b&&a(b,_,E),""!=v&&a(v,k,E)))),"right"==m&&P))}})},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(13),s=n(14),c=n.n(s),f=n(259),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=wp.i18n.__,m=wp.editor,g=m.AlignmentToolbar,h=m.BlockControls,b=m.InspectorControls,v=m.RichText,y=m.PanelColorSettings,w=m.MediaUpload,_=wp.components,k=_.PanelBody,E=_.SelectControl,x=_.RangeControl,C=_.Button,S=_.TextControl,T=_.BaseControl,P=_.ToggleControl,O=wp.element,N=O.Component,R=O.Fragment,I=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"social_html",value:function(e,t,n){var a=n?"_blank":"_self";return wp.element.createElement("li",{className:"uagb-team__social-icon"},wp.element.createElement("a",{href:t,target:a,title:"",rel:"noopener noreferrer"},wp.element.createElement("span",{className:e})))}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,a=e.attributes,r=e.mergeBlocks,o=e.insertBlocksAfter,i=e.onReplace,s=(a.block_id,a.align),p=a.tag,m=a.title,_=a.prefix,O=a.description_text,N=a.titleColor,I=a.prefixColor,M=a.descColor,j=a.titleFontSize,A=a.prefixFontSize,z=a.descFontSize,D=a.socialFontSize,L=a.image,F=a.imgStyle,B=a.imgAlign,U=a.imgSize,W=a.imgWidth,H=a.imgPosition,V=a.titleSpace,q=a.descSpace,$=a.prefixSpace,G=a.imgLeftMargin,Y=a.imgRightMargin,K=a.imgTopMargin,Q=a.imgBottomMargin,X=a.twitterIcon,J=a.fbIcon,Z=a.linkedinIcon,ee=a.pinIcon,te=a.twitterLink,ne=a.fbLink,ae=a.linkedinLink,re=a.pinLink,oe=a.socialColor,ie=a.socialHoverColor,le=a.socialSpace,ue=a.socialTarget,se=a.socialEnable,ce=a.stack,fe=document.getElementById("uagb-team-style-"+this.props.clientId);null!=fe&&"undefined"!=typeof fe&&(fe.innerHTML=Object(f.a)(this.props));var pe=function(e){if(!e||!e.url)return void n({image:null});e.type&&"image"==e.type&&n({image:e})},de=function(e){n({image:null})},me="",ge="";L&&(me=L.sizes,ge=L.sizes&&me[U]?me[U].url:L.url);var he="";""!=ge&&(he=wp.element.createElement("div",{className:l()("uagb-team__image-wrap","uagb-team__image-crop-"+F)},wp.element.createElement("img",{className:"",src:ge,alt:L.alt?L.alt:""})));var be=wp.element.createElement("div",{className:"uagb-team__desc-wrap"},wp.element.createElement(v,{tagName:"p",value:O,className:"uagb-team__desc",onChange:function(e){return n({description_text:e})},onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}})),ve=wp.element.createElement("div",{className:"uagb-team__social-icon-wrap"},wp.element.createElement("ul",{className:"uagb-team__social-list"},""!=X&&this.social_html(X,te,ue),""!=J&&this.social_html(J,ne,ue),""!=Z&&this.social_html(Z,ae,ue),""!=ee&&this.social_html(ee,re,ue))),ye=wp.element.createElement("div",{className:"uagb-team__title-wrap"},wp.element.createElement(v,{tagName:p,value:m,className:"uagb-team__title",onChange:function(e){return n({title:e})},multiline:!1,placeholder:d("Write a Title"),onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}}),wp.element.createElement(v,{tagName:"span",value:_,className:"uagb-team__prefix",onChange:function(e){return n({prefix:e})},onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}}));return wp.element.createElement(R,null,"above"==H&&wp.element.createElement(h,{key:"controls"},wp.element.createElement(g,{value:s,onChange:function(e){return n({align:e})}})),wp.element.createElement(b,null,wp.element.createElement(k,{title:d("Image")},wp.element.createElement(T,{className:"editor-bg-image-control",label:d("Team Member Image")},wp.element.createElement(w,{title:d("Select Image"),onSelect:pe,allowedTypes:["image"],value:L,render:function(e){var t=e.open;return wp.element.createElement(C,{isDefault:!0,onClick:t},d(L?"Replace image":"Select Image"))}}),L&&wp.element.createElement(C,{className:"uagb-rm-btn",onClick:de,isLink:!0,isDestructive:!0},d("Remove Image"))),wp.element.createElement(E,{label:d("Position"),value:H,onChange:function(e){return n({imgPosition:e})},options:[{value:"above",label:d("Above")},{value:"left",label:d("Left")},{value:"right",label:d("Right")}]}),"above"!=H&&wp.element.createElement(E,{label:d("Stack on"),value:ce,options:[{value:"none",label:d("None")},{value:"tablet",label:d("Tablet")},{value:"mobile",label:d("Mobile")}],help:d("Note: Choose on what breakpoint the Team will stack."),onChange:function(e){return n({stack:e})}}),wp.element.createElement(E,{label:d("Image Style"),value:F,onChange:function(e){return n({imgStyle:e})},options:[{value:"normal",label:d("Normal")},{value:"circle",label:d("Circle")},{value:"square",label:d("Square")}]}),H&&"above"!==H&&wp.element.createElement(E,{label:d("Vertical Alignment"),value:B,onChange:function(e){return n({imgAlign:e})},options:[{value:"top",label:d("Top")},{value:"middle",label:d("Middle")}]}),wp.element.createElement(E,{label:d("Size"),options:[{value:"thumbnail",label:d("Thumbnail")},{value:"medium",label:d("Medium")},{value:"full",label:d("Large")}],value:U,onChange:function(e){return n({imgSize:e})}}),wp.element.createElement(x,{label:d("Width"),value:W,onChange:function(e){return n({imgWidth:e})},min:0,max:500,allowReset:!0})),wp.element.createElement(k,{title:d("Social Links"),initialOpen:!1},wp.element.createElement(P,{label:d("Enable Social Links"),checked:se,onChange:function(e){return n({socialEnable:!se})}}),se&&wp.element.createElement(R,null,wp.element.createElement(P,{label:d("Open Links in New Window"),checked:ue,onChange:function(e){return n({socialTarget:!ue})}}),wp.element.createElement(k,{title:d("Twitter"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:X,onChange:function(e){return n({twitterIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:te,onChange:function(e){return n({twitterLink:e})},placeholder:d("Enter Twitter URL")})),wp.element.createElement(k,{title:d("FaceBook"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:J,onChange:function(e){return n({fbIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:ne,onChange:function(e){return n({fbLink:e})},placeholder:d("Enter FaceBook URL")})),wp.element.createElement(k,{title:d("LinkedIn"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:Z,onChange:function(e){return n({linkedinIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:ae,onChange:function(e){return n({linkedinLink:e})},placeholder:d("Enter LinkedIn URL")})),wp.element.createElement(k,{title:d("Pinterest"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:ee,onChange:function(e){return n({pinIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:re,onChange:function(e){return n({pinLink:e})},placeholder:d("Enter Pinterest URL")})))),wp.element.createElement(k,{title:d("Typography"),initialOpen:!1},wp.element.createElement(E,{label:d("Title Tag"),value:p,onChange:function(e){return n({tag:e})},options:[{value:"h1",label:d("H1")},{value:"h2",label:d("H2")},{value:"h3",label:d("H3")},{value:"h4",label:d("H4")},{value:"h5",label:d("H5")},{value:"h6",label:d("H6")}]}),wp.element.createElement(x,{label:d("Title Font Size"),value:j,onChange:function(e){return n({titleFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:30}),wp.element.createElement(x,{label:d("Designation Font Size"),value:A,onChange:function(e){return n({prefixFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:16}),wp.element.createElement(x,{label:d("Description Font Size"),value:z,onChange:function(e){return n({descFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:16}),wp.element.createElement(x,{label:d("Social Icon Font Size"),value:D,onChange:function(e){return n({socialFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(y,{title:d("Color Settings"),initialOpen:!1,colorSettings:[{value:N,onChange:function(e){return n({titleColor:e})},label:d("Title Color")},{value:I,onChange:function(e){return n({prefixColor:e})},label:d("Designation")},{value:M,onChange:function(e){return n({descColor:e})},label:d("Description")},{value:oe,onChange:function(e){return n({socialColor:e})},label:d("Social Icon")},{value:ie,onChange:function(e){return n({socialHoverColor:e})},label:d("Social Icon Hover")}]}),wp.element.createElement(k,{title:d("Spacing"),initialOpen:!1},wp.element.createElement(x,{label:d("Title Bottom Spacing"),value:V,onChange:function(e){return n({titleSpace:e})},min:0,max:50,allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:d("Designation Bottom Spacing"),value:$,onChange:function(e){return n({prefixSpace:e})},min:0,max:50,allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:d("Description Bottom Spacing"),value:q,onChange:function(e){return n({descSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(x,{label:d("Inter Social Icon Spacing"),value:le,onChange:function(e){return n({socialSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(k,{title:d("Image Margins"),initialOpen:!0},"above"!=H&&wp.element.createElement(x,{label:d("Left Margin"),value:G,onChange:function(e){return n({imgLeftMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),"above"!=H&&wp.element.createElement(x,{label:d("Right Margin"),value:Y,onChange:function(e){return n({imgRightMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(x,{label:d("Top Margin"),value:K,onChange:function(e){return n({imgTopMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(x,{label:d("Bottom Margin"),value:Q,onChange:function(e){return n({imgBottomMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0})))),wp.element.createElement("div",{className:l()(t,"uagb-team","uagb-team__outer-wrap","uagb-team__image-position-"+H,"uagb-team__align-"+s,"uagb-team__stack-"+ce),id:"uagb-team-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-team__wrap"},"left"==H&&he,wp.element.createElement("div",{className:"uagb-team__content"},"above"==H&&he,ye,be,se&&ve),"right"==H&&he)))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-team-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(N);t.a=I},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.tag,a=t.align,r=t.titleColor,o=t.prefixColor,i=t.descColor,l=t.titleFontSize,u=t.prefixFontSize,s=t.descFontSize,c=(t.imgStyle,t.imgAlign),f=(t.imgSize,t.imgWidth),p=t.imgPosition,d=t.titleSpace,m=t.descSpace,g=t.prefixSpace,h=t.imgLeftMargin,b=t.imgRightMargin,v=t.imgTopMargin,y=t.imgBottomMargin,w=t.socialColor,_=t.socialHoverColor,k=t.socialSpace,E=t.socialFontSize,x={" .editor-rich-text p.uagb-team__desc.editor-rich-text__tinymce":{"font-size":s+"px",color:i,"margin-bottom":m+"px"}," .uagb-team__prefix":{"font-size":u+"px",color:o}," .uagb-team__desc-wrap":{"margin-top":g+"px"}," .uagb-team__social-icon a":{color:w+" !important","font-size":E+"px !important",width:E+"px !important",height:E+"px !important"}," .uagb-team__social-icon:hover a":{color:_+" !important"},".uagb-team__image-position-left .uagb-team__social-icon":{"margin-right":k+"px !important","margin-left":"0"},".uagb-team__image-position-right .uagb-team__social-icon":{"margin-left":k+"px !important","margin-right":"0"},".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon":{"margin-right":k/2+"px !important","margin-left":k/2+"px !important"},".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon":{"margin-right":k+"px !important","margin-left":"0"},".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon":{"margin-left":k+"px !important","margin-right":"0"}," .uagb-team__image-wrap":{"margin-top":v+"px","margin-bottom":y+"px","margin-left":h+"px","margin-right":b+"px",width:f+"px"}};"above"==p&&("center"==a?(x[" .uagb-team__image-wrap"]["margin-left"]="auto",x[" .uagb-team__image-wrap"]["margin-right"]="auto"):"left"==a?x[" .uagb-team__image-wrap"]["margin-right"]="auto":"right"==a&&(x[" .uagb-team__image-wrap"]["margin-left"]="auto")),"above"!=p&&"middle"==c&&(x[" .uagb-team__image-wrap"]["align-self"]="center"),x[" .editor-rich-text "+n+".uagb-team__title"]={"font-size":l+"px",color:r,"margin-bottom":d+"px"};var C="";for(var S in x){C+="#uagb-team-"+e.clientId,C+=S+" { ";var T=x[S],P="";for(var O in T)P+=O+": "+T[O]+";";C+=P+" } "}return C}t.a=a},function(e,t,n){"use strict";var a={block_id:{type:"string"},align:{type:"string",default:"center"},tag:{type:"string",default:"h3"},title:{selector:"h1,h2,h3,h4,h5,h6",default:"John Doe"},prefix:{selector:"span.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"},titleFontSize:{type:"number"},prefixFontSize:{type:"number",default:15},descFontSize:{type:"number"},socialFontSize:{type:"number",default:20},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:!0},socialSpace:{type:"number",default:20},socialTarget:{type:"boolean",default:!1},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"}};t.a=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(3),i=n(264),l=(n.n(i),n(265)),u=(n.n(l),n(266)),s=n(267),c=n(87),f=wp.i18n.__;(0,wp.blocks.registerBlockType)("uagb/social-share",{title:uagb_blocks_info.blocks["uagb/social-share"].title,description:uagb_blocks_info.blocks["uagb/social-share"].description,icon:o.a.social_share,category:uagb_blocks_info.category,keywords:[f("social share"),f("icon"),f("uagb")],attributes:u.a,edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=(n.align,n.items,n.socials),i=n.social_count,l=n.social_layout,u=n.current_url;return wp.element.createElement("div",{className:r()(t,"uagb-social-share__outer-wrap","uagb-social-share__layout-"+l),id:"uagb-social-share-"+a},wp.element.createElement("div",{className:"uagb-social-share__wrap"},o.map(function(e,t){if(!(i<=t)){var n="";null!=u&&(n=c.a[e.type]+encodeURI(u));var a="";return"icon"==e.image_icon?e.icon&&(a=wp.element.createElement("span",{className:r()(e.icon,"uagb-ss__source-icon")})):e.image&&(a=wp.element.createElement("img",{className:"uagb-ss__source-image",src:e.image.url})),wp.element.createElement("div",{className:r()("uagb-ss-repeater-"+t,"uagb-ss__wrapper"),key:t},wp.element.createElement("a",{className:"uagb-ss__link",href:n,rel:"noopener noreferrer"},wp.element.createElement("span",{className:"uagb-ss__source-wrap"},a)))}})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=1;r++)a.push({type:"facebook",image_icon:"icon",icon:"fab fa-facebook",image:"",icon_color:"#3a3a3a",icon_hover_color:""});var o={block_id:{type:"string"},current_url:{type:"string"},align:{type:"string",default:"center"},social_count:{type:"number",default:1},socials:{type:"array",default:a},gap:{type:"number",default:10},size:{type:"number",default:40},social_layout:{type:"string",default:"horizontal"},stack:{type:"string",default:"none"}};t.a=o},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(6),c=n.n(s),f=n(13),p=n(14),d=n.n(p),m=n(268),g=n(87),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),v=wp.i18n.__,y=wp.element,w=y.Component,_=y.Fragment,k=wp.editor,E=k.BlockControls,x=k.BlockAlignmentToolbar,C=k.InspectorControls,S=k.PanelColorSettings,T=k.MediaUpload,P=wp.components,O=P.PanelBody,N=P.SelectControl,R=P.RangeControl,I=P.Button,M=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),b(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId}),this.props.setAttributes({current_url:wp.data.select("core/editor").getPermalink()});var e=document.createElement("style");e.setAttribute("id","uagb-style-social-share-"+this.props.clientId),document.head.appendChild(e)}},{key:"saveSocials",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({socials:a.socials.map(function(n,a){return t===a&&(n=h({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=(t.isSelected,n.align),i=n.className,l=n.social_count,s=n.socials,p=n.gap,h=n.stack,b=n.current_url,y=n.social_layout,w=n.size,k=function(t){return wp.element.createElement(O,{key:t,title:v("Social Share")+" "+(t+1)+" "+v("Settings"),initialOpen:!1},wp.element.createElement(N,{label:v("Type"),value:s[t].type,options:[{value:"facebook",label:v("Facebook")},{value:"twitter",label:v("Twitter")},{value:"google",label:v("Google Plus")},{value:"pinterest",label:v("Pinterest")},{value:"linkedin",label:v("LinkedIn")},{value:"digg",label:v("Digg")},{value:"blogger",label:v("Blogger")},{value:"reddit",label:v("Reddit")},{value:"stumbleupon",label:v("StumbleUpon")},{value:"tumblr",label:v("Tumblr")},{value:"myspace",label:v("Myspace")},{value:"email",label:v("Email")}],onChange:function(n){e.saveSocials({type:n},t)}}),wp.element.createElement(N,{label:v("Image / Icon"),value:s[t].image_icon,options:[{value:"icon",label:v("Icon")},{value:"image",label:v("Image")}],onChange:function(n){e.saveSocials({image_icon:n},t)}}),"icon"==s[t].image_icon&&wp.element.createElement(_,null,wp.element.createElement("p",{className:"components-base-control__label"},v("Icon")),wp.element.createElement(d.a,{icons:f.a,renderUsing:"class",theme:"default",value:s[t].icon,onChange:function(n){e.saveSocials({icon:n},t)},isMulti:!1})),"image"==s[t].image_icon&&wp.element.createElement(_,null,wp.element.createElement(T,{title:v("Select Image"),onSelect:function(n){e.saveSocials({image:n},t)},allowedTypes:["image"],value:s[t].image,render:function(e){var n=e.open;return wp.element.createElement(I,{isDefault:!0,onClick:n},v(s[t].image?"Replace image":"Select Image"))}}),s[t].image&&wp.element.createElement(I,{className:"uagb-rm-btn",onClick:function(n){e.saveSocials({image:null},t)},isLink:!0,isDestructive:!0},v("Remove Image"))),"icon"==s[t].image_icon&&wp.element.createElement(S,{title:v("Color Settings"),colorSettings:[{value:s[t].icon_color,onChange:function(n){return e.saveSocials({icon_color:n},t)},label:v("Color")},{value:s[t].icon_hover_color,onChange:function(n){return e.saveSocials({icon_hover_color:n},t)},label:v("Hover Color")}]}))},P=document.getElementById("uagb-style-social-share-"+this.props.clientId);return null!=P&&"undefined"!=typeof P&&(P.innerHTML=Object(m.a)(this.props)),wp.element.createElement(_,null,wp.element.createElement(E,null,wp.element.createElement(x,{value:o,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(C,null,wp.element.createElement(O,{title:v("Social Icon Count"),initialOpen:!0},wp.element.createElement(R,{label:v("Number of Social Icons"),value:l,onChange:function(e){var t=[].concat(a(s));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({type:t[0].type,image_icon:t[0].image_icon,icon:t[0].icon,image:t[0].image,icon_color:t[0].icon_color,icon_hover_color:t[0].icon_hover_color})}),r({socials:t})}r({social_count:e})},min:1,max:12})),c()(l,function(e){return k(e)}),wp.element.createElement(O,{title:v("General"),initialOpen:!1},wp.element.createElement(N,{label:v("Layout"),value:y,options:[{value:"horizontal",label:v("Horizontal")},{value:"vertical",label:v("Vertical")}],onChange:function(e){return r({social_layout:e})}}),"horizontal"==y&&wp.element.createElement(_,null,wp.element.createElement(N,{label:v("Stack on"),value:h,options:[{value:"none",label:v("None")},{value:"desktop",label:v("Desktop")},{value:"tablet",label:v("Tablet")},{value:"mobile",label:v("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},v("Note: Choose on what breakpoint the Icons will stack."))),wp.element.createElement(R,{label:v("Size"),value:w,onChange:function(e){return r({size:e})},min:0,max:500,initialPosition:40}),wp.element.createElement(R,{label:v("Gap between Icon / Image"),value:p,onChange:function(e){return r({gap:e})},min:0,max:100}))),wp.element.createElement("div",{className:u()(i,"uagb-social-share__outer-wrap","uagb-social-share__layout-"+y),id:"uagb-social-share-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-social-share__wrap"},s.map(function(e,t){if(!(l<=t)){var n="";null!=b&&(n=g.a[e.type]+encodeURI(b));var a="";return"icon"==e.image_icon?e.icon&&(a=wp.element.createElement("span",{className:u()(e.icon,"uagb-ss__source-icon")})):e.image&&(a=wp.element.createElement("img",{className:"uagb-ss__source-image",src:e.image.url})),wp.element.createElement("div",{className:u()("uagb-ss-repeater-"+t,"uagb-ss__wrapper"),key:t},wp.element.createElement("a",{className:"uagb-ss__link",href:n,rel:"noopener noreferrer"},wp.element.createElement("span",{className:"uagb-ss__source-wrap"},a)))}}))))}}]),t}(w);t.a=M},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t,n=e.attributes,r=n.align,o=(n.className,n.social_count),i=n.socials,l=n.gap,u=n.social_layout,s=n.size,c=n.stack,f={},p={},d={};i.map(function(e,t){o<=t||(f[" .uagb-ss-repeater-"+t+" a.uagb-ss__link"]={color:e.icon_color},f[" .uagb-ss-repeater-"+t+":hover a.uagb-ss__link"]={color:e.icon_hover_color})}),f[".uagb-social-share__layout-vertical .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},f[".uagb-social-share__layout-vertical .uagb-social-share__wrap"]={"flex-direction":"column"},f[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"]={"margin-bottom":0},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"]={"margin-left":l/2+"px","margin-right":l/2+"px"},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"]={"margin-left":0},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"]={"margin-right":0},f[" .uagb-ss__wrapper"]={width:s+"px"},f[" .uagb-ss__source-image"]={width:s+"px"},f[" .uagb-ss__source-icon"]={width:s+"px",height:s+"px","font-size":s+"px"},f[" .uagb-ss__source-icon:before"]={width:s+"px",height:s+"px","font-size":s+"px"};var m="left"==r?"flex-start":"right"==r?"flex-end":"center";f[" .uagb-social-share__wrap"]=(t={"justify-content":m,"-webkit-box-pack":m,"-ms-flex-pack":m},a(t,"justify-content",m),a(t,"-webkit-box-align",m),a(t,"-ms-flex-align",m),a(t,"align-items",m),t),"horizontal"==u&&("desktop"==c?(f[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},f[" .uagb-social-share__wrap"]={"flex-direction":"column"},f[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}):"tablet"==c?(p[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},p[" .uagb-social-share__wrap"]={"flex-direction":"column"},p[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}):"mobile"==c&&(d[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},d[" .uagb-social-share__wrap"]={"flex-direction":"column"},d[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}));var g="",h="#uagb-social-share-"+e.clientId;for(var b in f){g+=h,g+=b+" { ";var v=f[b],y="";for(var w in v)y+=w+": "+v[w]+";";g+=y+" } "}g+="@media only screen and (max-width: 976px) {";for(var b in p){g+=h,g+=b+" { ";var v=p[b],y="";for(var w in v)y+=w+": "+v[w]+";";g+=y+" } "}g+=" }",g+="@media only screen and (max-width: 767px) {";for(var b in d){g+=h,g+=b+" { ";var v=d[b],y="";for(var w in v)y+=w+": "+v[w]+";";g+=y+" } "}return g+=" }"}t.a=r},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(3),s=n(270),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),f=wp.i18n.__,p=wp.blocks.registerBlockType,d=wp.editor.InspectorControls,m=wp.components,g=m.PanelBody,h=m.RangeControl,b=m.TextControl,v=wp.element,y=v.Component,w=v.Fragment,_="AIzaSyAsd_d46higiozY-zNqtr7zdA81Soswje4",k=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.setAttributes,a=e.attributes,r=(a.block_id,a.height),o=a.zoom,i=a.address,u=encodeURI(i),s="https://www.google.com/maps/embed/v1/place?key="+_+"&q="+u+"&zoom="+o;return wp.element.createElement(w,null,wp.element.createElement(d,null,wp.element.createElement(g,{title:f("General")},wp.element.createElement("p",{className:"uagb-google-map-notice"},f("This block uses UAGB's API key to display the map. You don't need to create your own API key or worry about renewing it.")),wp.element.createElement("p",{className:"components-base-control__label"},f("Address")),wp.element.createElement(b,{value:i,onChange:function(e){return n({address:e})},placeholder:f("Type the address")}),wp.element.createElement(h,{label:f("Zoom"),value:o,onChange:function(e){return n({zoom:e})},min:1,max:22,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(h,{label:f("Height"),value:r,onChange:function(e){return n({height:e})},min:0,max:1e3,allowReset:!0}))),wp.element.createElement("div",{className:l()(t,"uagb-google-map__wrap"),id:"uagb-google-map-"+this.props.clientId},wp.element.createElement("iframe",{className:"uagb-google-map__iframe",src:s,style:{height:r}})))}}]),t}(y);p("uagb/google-map",{title:uagb_blocks_info.blocks["uagb/google-map"].title,description:uagb_blocks_info.blocks["uagb/google-map"].description,icon:u.a.google_map,keywords:[f("google map"),f("uagb")],category:uagb_blocks_info.category,attributes:{block_id:{type:"string"},address:{type:"string",default:"Brainstorm Force"},height:{type:"number",default:300},zoom:{type:"number",default:12}},edit:k,save:function(e){var t=e.attributes,n=t.block_id,a=t.height,r=t.zoom,o=t.address,i=encodeURI(o),u="https://www.google.com/maps/embed/v1/place?key="+_+"&q="+i+"&zoom="+r;return wp.element.createElement("div",{className:l()(e.className,"uagb-google-map__wrap"),id:"uagb-google-map-"+n},wp.element.createElement("iframe",{className:"uagb-google-map__iframe",src:u,style:{height:a}}))}})},function(e,t){},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(6),l=(n.n(i),n(3)),u=n(272),s=(n.n(u),n(273)),c=n(274),f=n(88),p=n(89),d=n(90),m=n(91),g=wp.date,h=g.dateI18n,b=g.__experimentalGetSettings,v=wp.i18n.__,y=wp.blocks.registerBlockType,w=wp.editor.RichText;y("uagb/content-timeline",{title:uagb_blocks_info.blocks["uagb/content-timeline"].title,description:uagb_blocks_info.blocks["uagb/content-timeline"].description,icon:l.a.content_timeline,category:uagb_blocks_info.category,keywords:[v("Content Timeline"),v("Timeline"),v("uagb")],attributes:s.a,edit:c.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.headingTag,i=t.timelinAlignment,l=t.displayPostDate,u=t.icon,s=t.tm_content,c=t.t_date,g=(t.stack,t.className),v="uagb-ctm-"+n,y=(Object(f.a)(e),Array.isArray(s)&&s.length,b().formats.date),_=Object(d.a)(e.attributes,0),k=Object(m.a)(e.attributes,0),E=([].concat(a(s)),!1);return wp.element.createElement("div",{className:o()(g,"uagb-timeline__outer-wrap"),id:v},wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-timeline__content-wrap"].concat(a(Object(p.a)(e.attributes))))},wp.element.createElement("div",{className:"uagb-timeline-wrapper"},wp.element.createElement("div",{className:"uagb-timeline__main"},wp.element.createElement("div",{className:"uagb-timeline__days uagb-timeline-infinite-load"},s.map(function(t,n){"center"==i&&(E=!0,_=Object(d.a)(e.attributes,n),k=Object(m.a)(e.attributes,n));var s="uagb-timeline__icon-new out-view-uagb-timeline__icon "+u;return wp.element.createElement("article",{className:"uagb-timeline__field uagb-timeline__animate-border",key:n},wp.element.createElement("div",{className:o.a.apply(void 0,a(_))},wp.element.createElement("div",{className:"uagb-timeline__marker out-view-uagb-timeline__icon"},wp.element.createElement("span",{className:s})),wp.element.createElement("div",{className:o.a.apply(void 0,a(k))},wp.element.createElement("div",{className:"uagb-events-new"},wp.element.createElement("div",{className:"uagb-timeline__events-inner-new"},wp.element.createElement("div",{className:"uagb-timeline__date-hide uagb-timeline__date-inner"},l&&c[n].title&&wp.element.createElement("div",{className:"uagb-timeline__inner-date-new"},h(y,c[n].title))),wp.element.createElement("div",{className:"uagb-timeline-content"},wp.element.createElement("div",{className:"uagb-timeline__heading-text"},wp.element.createElement(w.Content,{tagName:r,value:t.time_heading,className:"uagb-timeline__heading"})),wp.element.createElement(w.Content,{tagName:"p",value:t.time_desc,className:"uagb-timeline-desc-content"}),wp.element.createElement("div",{className:"uagb-timeline__arrow"}))))),E&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},l&&c[n].title&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},h(y,c[n].title)))))})),wp.element.createElement("div",{className:"uagb-timeline__line"},wp.element.createElement("div",{className:"uagb-timeline__line__inner"}))))))}})},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=[],o=1;o<=5;o++){var i="Timeline Heading "+o,l={time_heading:i,time_desc:"This is Timeline description, you can change me anytime click here "};a.push(l);var u=o-1,s=new Date,c=s.getDate(),f=s.getMonth()+1,p=s.getFullYear()-u;c<10&&(c="0"+c),f<10&&(f="0"+f),s=f+"/"+c+"/"+p;var l={title:s};r.push(l)}var d={tm_content:{type:"array",default:a},headingTitle:{type:"string"},headingDesc:{type:"string"},align:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},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"},timelinAlignment:{type:"string",default:"center"},arrowlinAlignment:{type:"string",default:"center"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:5},separatorwidth:{type:"number",default:3},borderwidth:{type:"number",default:0},iconColor:{type:"string",default:"#333"},iconFocus:{type:"string",default:"#fff"},iconBgFocus:{type:"string",default:"#61ce70"},authorFontsize:{type:"number",default:12},dateColor:{type:"string",default:"#333"},dateFontsize:{type:"number",default:12},connectorBgsize:{type:"number",default:35},subHeadSpace:{type:"number",default:5},dateBottomspace:{type:"number",default:5},block_id:{type:"string",default:"0"},timelineItem:{type:"number",default:5},tm_client_id:{type:"string",default:"not_set"},borderRadius:{type:"number",default:2},bgPadding:{type:"number",default:20},iconSize:{type:"number",default:12},icon:{type:"string",default:"fab fa fa-calendar-alt"},iconHover:{type:"string",default:""},iconBgHover:{type:"string",default:""},borderHover:{type:"string",default:""},t_date:{type:"array",default:r},displayPostDate:{type:"boolean",default:!0},stack:{type:"string",default:"tablet"}};t.a=d},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(6),c=n.n(s),f=n(13),p=n(14),d=n.n(p),m=n(88),g=n(89),h=n(90),b=n(91),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),w=wp.date,_=w.dateI18n,k=w.__experimentalGetSettings,E=wp.element,x=E.Component,C=E.Fragment,S=wp.i18n.__,T=(wp.htmlEntities.decodeEntities,wp.blocks),P=(T.registerBlockType,T.createBlock),O=wp.editor,N=O.BlockControls,R=O.ColorPalette,I=O.InspectorControls,M=O.RichText,j=O.BlockAlignmentToolbar,A=O.PanelColorSettings,z=wp.components,D=z.PanelBody,L=z.SelectControl,F=z.Placeholder,B=z.RangeControl,U=z.Spinner,W=z.TextControl,H=z.ToggleControl,V=(z.Toolbar,z.TabPanel),q=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.splitBlock=e.splitBlock.bind(e),e.getTimelinecontent=e.getTimelinecontent.bind(e),e.getDatecontent=e.getDatecontent.bind(e),e.getTimelineicon=e.getTimelineicon.bind(e),e.savedateArray=e.savedateArray.bind(e),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return i(t,e),y(t,[{key:"splitBlock",value:function(e,t){for(var n=this.props,a=n.attributes,r=n.insertBlocksAfter,o=n.setAttributes,i=n.onReplace,l=arguments.length,u=Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];t&&u.push(P("core/paragraph",{content:t})),u.length&&r&&r(u);var c=a.content;e?c!==e&&o({content:e}):i([])}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"getTimelineicon",value:function(e){this.props.setAttributes({icon:e})}},{key:"getTimelinecontent",value:function(e){var t=this.props.attributes,n=t.tm_content,r=(t.timelineItem,this.props.setAttributes),o=e,i=[].concat(a(n)),l=i.length;if(o<l){for(var u=l-o,s=i,c=0;c<u;c++)s.pop();r({tm_content:s})}if(o>l){for(var u=o-l,c=0;c<u;c++){var f=l+c,p="My Heading "+o;i[f]={time_heading:p,time_desc:"I am timeline card content. You can change me anytime. Click here to edit this text."}}r({tm_content:i})}return this.props.attributes.tm_content}},{key:"getDatecontent",value:function(e){var t=this.props.attributes,n=(t.timelineItem,t.t_date),r=this.props.setAttributes,o=e,i=[].concat(a(n)),l=i.length;if(o<l){for(var u=l-o,s=i,c=0;c<u;c++)s.pop();r({t_date:s})}if(o>l){var u=o-l,f=new Date,p=f.getDate(),d=f.getMonth()+1;p<10&&(p="0"+p),d<10&&(d="0"+d);for(var c=0;c<u;c++){var m=l+c;f=d+"/"+p+"/"+(f.getFullYear()-m),i[m]={title:f}}r({t_date:i})}return this.props.attributes.t_date}},{key:"savedateArray",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({t_date:a.t_date.map(function(n,a){return t===a&&(n=v({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=(t.isSelected,t.className),r=t.setAttributes,o=(t.insertBlocksAfter,t.mergeBlocks,t.onReplace,t.attributes),i=(o.tm_content,o.headingTitle,o.headingDesc,o.headingAlign,o.separatorHeight,o.headSpace),l=(o.separatorSpace,o.headingColor),s=o.subHeadingColor,p=o.backgroundColor,m=o.separatorColor,h=o.separatorFillColor,b=o.separatorBg,v=o.separatorBorder,y=o.borderFocus,w=o.headingTag,_=o.headFontSize,k=o.timelineItem,E=o.timelinAlignment,x=o.arrowlinAlignment,T=o.subHeadFontSize,P=o.verticalSpace,O=o.horizontalSpace,M=o.separatorwidth,z=o.borderwidth,F=o.connectorBgsize,U=o.dateBottomspace,q=o.align,$=o.icon,G=o.iconColor,Y=o.dateColor,K=o.dateFontsize,Q=(o.authorFontsize,o.iconSize),X=o.borderRadius,J=o.bgPadding,Z=(o.block_id,o.iconFocus),ee=o.iconBgFocus,te=o.iconHover,ne=o.iconBgHover,ae=o.borderHover,re=o.t_date,oe=o.displayPostDate,ie=o.stack,le={icons:f.a,renderUsing:"class",theme:"default",value:$,onChange:this.getTimelineicon,isMulti:!1},ue=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return r({separatorColor:e})},label:S("Line Color")},{value:G,onChange:function(e){return r({iconColor:e})},label:S("Icon Color")},{value:b,onChange:function(e){return r({separatorBg:e})},label:S("Background Color")},{value:v,onChange:function(e){return r({separatorBorder:e})},label:S("Border Color")}]})),se=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:h,onChange:function(e){return r({separatorFillColor:e})},label:S("Line Color")},{value:Z,onChange:function(e){return r({iconFocus:e})},label:S("Icon Color")},{value:ee,onChange:function(e){return r({iconBgFocus:e})},label:S("Background Color")},{value:y,onChange:function(e){return r({borderFocus:e})},label:S("Border Color")}]})),ce=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:te,onChange:function(e){return r({iconHover:e})},label:S("Icon Color")},{value:ne,onChange:function(e){return r({iconBgHover:e})},label:S("Background Color")},{value:ae,onChange:function(e){return r({borderHover:e})},label:S("Border Color")}]})),fe=wp.element.createElement(C,null,wp.element.createElement(D,{title:S("Connector Color Settings"),initialOpen:!0},wp.element.createElement(V,{className:"uagb-inspect-tabs uagb-inspect-tabs-col-3",activeClass:"active-tab",tabs:[{name:"normal",title:S("Normal"),className:"uagb-normal-tab"},{name:"focus",title:S("Focus"),className:"uagb-focus-tab"},{name:"hover",title:S("Hover"),className:"uagb-hover-tab"}]},function(e){var t=void 0;return t="focus"===e.name?se:"hover"===e.name?ce:ue,wp.element.createElement("div",null,t)}))),pe=function(t){return wp.element.createElement(C,{key:t},wp.element.createElement(W,{label:S("Date")+" "+(t+1)+" "+S("Settings"),value:re[t].title,onChange:function(n){e.savedateArray({title:n},t)}}))},de=wp.element.createElement(C,null,wp.element.createElement(D,{title:S("Date Settings"),initialOpen:!1},wp.element.createElement(H,{label:S("Display Post Date"),checked:oe,onChange:this.toggleDisplayPostDate}),oe&&c()(k,function(e){return pe(e)}),oe&&"center"!==E&&wp.element.createElement(B,{label:S("Date Bottom Spacing"),value:U,onChange:function(e){return r({dateBottomspace:e})},min:0,max:50,allowReset:!0}),oe&&wp.element.createElement(C,null,wp.element.createElement(C,null,wp.element.createElement("p",{className:"uagb-setting-label"},S("Date Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Y}}))),wp.element.createElement(R,{value:Y,onChange:function(e){return r({dateColor:e})},allowReset:!0})),wp.element.createElement(B,{label:S("Date Font Size"),value:K,onChange:function(e){return r({dateFontsize:e})},min:1,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})))),me=wp.element.createElement(I,null,wp.element.createElement(D,{title:S("General"),initialOpen:!1},wp.element.createElement(B,{label:S("Number of Items"),value:k,onChange:function(t){r({timelineItem:t}),e.getTimelinecontent(t),e.getDatecontent(t)},min:1,max:20,allowReset:!0})),de,wp.element.createElement(D,{title:S("Layout"),initialOpen:!1},wp.element.createElement(L,{label:S("Orientation"),value:E,onChange:function(e){return r({timelinAlignment:e})},options:[{value:"left",label:S("Left")},{value:"right",label:S("Right")},{value:"center",label:S("Center")}]}),wp.element.createElement(L,{label:S("Arrow Alignment"),value:x,onChange:function(e){return r({arrowlinAlignment:e})},options:[{value:"top",label:S("Top")},{value:"bottom",label:S("Bottom")},{value:"center",label:S("Center")}]}),wp.element.createElement(L,{label:S("Stack on"),value:ie,options:[{value:"none",label:S("None")},{value:"tablet",label:S("Tablet")},{value:"mobile",label:S("Mobile")}],help:S("Note: Choose on what breakpoint the Content Timeline will stack."),onChange:function(e){return r({stack:e})}})),wp.element.createElement(D,{title:S("Spacing"),initialOpen:!1},wp.element.createElement(B,{label:S("Horizontal Space"),value:O,onChange:function(e){return r({horizontalSpace:e})},min:1,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Vertical Space"),value:P,onChange:function(e){return r({verticalSpace:e})},min:1,max:100,allowReset:!0}),wp.element.createElement(B,{label:S("Heading Bottom Spacing"),value:i,onChange:function(e){return r({headSpace:e})},min:0,max:50,allowReset:!0})),wp.element.createElement(D,{title:S("Timeline Item"),initialOpen:!1},wp.element.createElement(L,{label:S("Heading Tag"),value:w,onChange:function(e){return r({headingTag:e})},options:[{value:"h1",label:S("H1")},{value:"h2",label:S("H2")},{value:"h3",label:S("H3")},{value:"h4",label:S("H4")},{value:"h5",label:S("H5")},{value:"h6",label:S("H6")}]}),wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:l,onChange:function(e){return r({headingColor:e})},label:S("Heading Color")},{value:s,onChange:function(e){return r({subHeadingColor:e})},label:S("Content Color")},{value:p,onChange:function(e){return r({backgroundColor:e})},label:S("Background Color")}]}),wp.element.createElement(B,{label:S("Rounded Corners"),value:X,onChange:function(e){return r({borderRadius:e})},min:0,initialPosition:10,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Padding"),value:J,onChange:function(e){return r({bgPadding:e})},min:1,initialPosition:10,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Heading Font Size"),value:_,onChange:function(e){return r({headFontSize:e})},min:10,max:50,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(B,{label:S("Content Font Size"),value:T,onChange:function(e){return r({subHeadFontSize:e})},min:10,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(D,{title:S("Connector"),initialOpen:!1},wp.element.createElement(d.a,le),wp.element.createElement(B,{label:S("Icon Size"),value:Q,onChange:function(e){return r({iconSize:e})},min:0,max:30,allowReset:!0}),wp.element.createElement(B,{label:S("Border Width"),value:z,onChange:function(e){return r({borderwidth:e})},min:1,max:10,allowReset:!0}),wp.element.createElement(B,{label:S("Connector Width"),value:M,onChange:function(e){return r({separatorwidth:e})},min:1,max:10,allowReset:!0}),wp.element.createElement(B,{label:S("Icon Background Size"),value:F,onChange:function(e){return r({connectorBgsize:e})},min:25,max:90,allowReset:!0}),fe)),ge="uagb-ctm-"+this.props.clientId;return wp.element.createElement(C,null,me,wp.element.createElement(N,null,wp.element.createElement(j,{value:q,onChange:function(e){r({align:e})},controls:["center","left","right"]})),wp.element.createElement("div",{className:u()(n,"uagb-timeline__outer-wrap"),id:ge},wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-timeline__content-wrap"].concat(a(Object(g.a)(this.props.attributes))))},wp.element.createElement("div",{className:"uagb-timeline-wrapper"},wp.element.createElement("div",{className:"uagb-timeline__main"},this.get_content(),wp.element.createElement("div",{className:"uagb-timeline__line"},wp.element.createElement("div",{className:"uagb-timeline__line__inner"})))))))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=this.props.clientId;window.addEventListener("load",this.timelineContent_back(e)),window.addEventListener("resize",this.timelineContent_back(e));var t=this;$(".edit-post-layout__content").scroll(function(n){t.timelineContent_back(e)})}},{key:"componentDidUpdate",value:function(){var e=this.props.clientId;window.addEventListener("load",this.timelineContent_back(e)),window.addEventListener("resize",this.timelineContent_back(e));var t=this;$(".edit-post-layout__content").scroll(function(n){t.timelineContent_back(e)})}},{key:"get_content",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.mergeBlocks,i=t.insertBlocksAfter,l=t.onReplace,u=k().formats.date,s=n.headingTag,c=n.timelinAlignment,f=n.displayPostDate,p=n.icon,d=n.tm_content,g=n.t_date,v=Object(m.a)(this.props),y=Array.isArray(d)&&d.length;Array.isArray(g)&&g.length;if(y){var w=Object(h.a)(this.props.attributes,0),E=Object(b.a)(this.props.attributes,0),x=[].concat(a(d)),T=!1;return wp.element.createElement("div",{className:"uagb-timeline__days uagb-timeline-infinite-load"},wp.element.createElement("style",{dangerouslySetInnerHTML:{__html:v}}),d.map(function(t,n){"center"==c&&(T=!0,w=Object(h.a)(e.props.attributes,n),E=Object(b.a)(e.props.attributes,n));var a=(e.props.attributes.headingTag,"uagb-timeline__icon-new uagb-timeline__out-view-icon "+p);return wp.element.createElement("article",{className:"uagb-timeline__field uagb-timeline__animate-border",key:n},wp.element.createElement("div",{className:w},wp.element.createElement("div",{className:"uagb-timeline__marker uagb-timeline__out-view-icon"},wp.element.createElement("span",{className:a})),wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"uagb-timeline__events-new"},wp.element.createElement("div",{className:"uagb-timeline__events-inner-new"},wp.element.createElement("div",{className:"uagb-timeline__date-hide uagb-timeline__date-inner"},f&&g[n].title&&wp.element.createElement("div",{className:"uagb-timeline__inner-date-new"},_(u,g[n].title))),wp.element.createElement("div",{className:"uagb-content"},wp.element.createElement("div",{className:"uagb-timeline__heading-text"},wp.element.createElement(M,{tagName:s,value:t.time_heading,className:"uagb-timeline__heading",onChange:function(e){var t={time_heading:e,time_desc:x[n].time_desc};x[n]=t,r({tm_content:x})},onMerge:o,unstableOnSplit:i?function(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];r({content:e}),i([].concat(a,[P("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return l([])}})),wp.element.createElement(M,{tagName:"p",value:t.time_desc,className:"uagb-timeline-desc-content",onChange:function(e){var t={time_heading:x[n].time_heading,time_desc:e};x[n]=t,r({tm_content:x})},onMerge:o,unstableOnSplit:e.splitBlock,onRemove:function(){return l([])}}),wp.element.createElement("div",{className:"uagb-timeline__arrow"}))))),T&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},f&&g[n].title&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},_(u,g[n].title)))))}))}return wp.element.createElement(C,null,wp.element.createElement(F,{icon:"admin-post",label:S("UAGB Content Timeline")},Array.isArray(d)?S("No content found."):wp.element.createElement(U,null)))}},{key:"timelineContent_back",value:function(e){var t=$(".uagb-timeline").parents("#block-"+e),n=t.find(".uagb-timeline"),a=t.find(".uagb-timeline__line__inner"),r=t.find(".uagb-timeline__line"),o=t.find(".uagb-timeline__marker");if(o.length>0){var i=t.find(".uagb-timeline__field:last-child"),l=o.first().position(),u=o.last().position();r.css("top",l.top);var s,c,f=i.height(),p=i.offset().top-n.offset().top,d=$(document);if(n.hasClass("uagb-timeline__arrow-center"))r.css("bottom",u.top),c=p-l.top,s=c+u.top;else if(n.hasClass("uagb-timeline__arrow-top")){var m=f-u.top;r.css("bottom",m),s=p}else if(n.hasClass("uagb-timeline__arrow-bottom")){var g=f-u.top;r.css("bottom",g),c=p-l.top,s=c+u.top}var h=0,b=s+20,v=document.documentElement.clientHeight,y=v/2,w=n.offset().top,_=w+l.top,k=_-d.scrollTop();k=k<0?Math.abs(k):-Math.abs(k),w<y?y+Math.abs(k)<b?a.height(y+k):k+y>=b&&a.height(b):k+y<b?0>k?(a.height(y-Math.abs(k)),++h):a.height(y+k):k+y>=b&&a.height(b);for(var E,x,w,C,S,T=t.find(".uagb-timeline__marker"),P=t.find(".uagb-timeline__animate-border"),O=0;O<T.length;O++)E=$(T[O]).offset().top,x=$(P[O]).offset().top,w=t.offset().top,t.offset().top,C=E-d.scrollTop(),S=x-d.scrollTop(),S<y?(P[O].classList.remove("out-view"),P[O].classList.add("in-view")):(P[O].classList.add("out-view"),P[O].classList.remove("in-view")),C<y?(T[O].classList.remove("uagb-timeline__out-view-icon"),T[O].classList.add("uagb-timeline__in-view-icon")):(T[O].classList.add("uagb-timeline__out-view-icon"),T[O].classList.remove("uagb-timeline__in-view-icon"))}}}]),t}(x);t.a=q},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(3),l=n(92),u=n(93),s=n(94),c=n(95),f=n(96),p=n(276),d=n(278),m=n(279),g=(n.n(m),n(280)),h=(n.n(g),wp.i18n.__),b=wp.blocks.registerBlockType,v=(wp.editor.RichText,wp.element.Fragment);b("uagb/restaurant-menu",{title:uagb_blocks_info.blocks["uagb/restaurant-menu"].title,description:uagb_blocks_info.blocks["uagb/restaurant-menu"].description,icon:i.a.restaurant_menu,keywords:[h("restaurant"),h("menu"),h("uagb")],category:uagb_blocks_info.category,attributes:d.a,edit:p.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.className,i=t.rest_menu_item_arr,p=t.imagePosition,d="uagb-rm-"+n;return wp.element.createElement(v,null,wp.element.createElement("div",{className:o()(r,"uagb-rest_menu__outer-wrap"),id:d},i.map(function(t,n){return wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-rest_menu__wrap"].concat(a(Object(c.a)(e.attributes)))),key:"wrap-"+n},wp.element.createElement("div",{className:"uagb-rm__content",key:"tm_content-"+n},("top"==p||"left"==p)&&wp.element.createElement(f.a,{attributes:e.attributes,index_value:n}),wp.element.createElement("div",{className:"uagb-rm__text-wrap"},wp.element.createElement(v,null,wp.element.createElement("div",{className:"uagb-rm-details",key:"tm_wraps-"+n},wp.element.createElement("div",{className:"uagb-rm__title-wrap",key:"rm_title__wraps-"+n},wp.element.createElement(l.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n}),wp.element.createElement("div",{className:"uagb-rest-menu-text-wrap",key:"text-wrap-"+n},wp.element.createElement(s.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n}))),wp.element.createElement("div",{className:"uagb-rm__price-wrap",key:"rm_price__wraps-"+n},wp.element.createElement(u.a,{attributes:e.attributes,setAttributes:"not_set",props:e,index_value:n}))))),"right"==p&&wp.element.createElement(f.a,{attributes:e.attributes,index_value:n})),wp.element.createElement("div",{className:"uagb-rm__separator-parent"},wp.element.createElement("div",{className:"uagb-rm__separator"})))})))}})},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(92),c=n(93),f=n(94),p=n(95),d=n(277),m=n(96),g=n(6),h=n.n(g),b=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),v=wp.i18n.__,y=wp.editor,w=y.AlignmentToolbar,_=y.BlockControls,k=y.ColorPalette,E=y.InspectorControls,x=(y.RichText,y.PanelColorSettings),C=y.MediaUpload,S=wp.components,T=S.PanelBody,P=S.SelectControl,O=S.RangeControl,N=S.BaseControl,R=S.Button,I=wp.element,M=I.Component,j=I.Fragment,A=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectRestImage=e.onSelectRestImage.bind(e),e.onRemoveRestImage=e.onRemoveRestImage.bind(e),e.getImageName=e.getImageName.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e}return i(t,e),b(t,[{key:"onSelectRestImage",value:function(e,t){var n=this.props.attributes.rest_menu_item_arr,a=this.props.setAttributes,r=null;r=e&&e.url?e:null,e.type&&"image"===e.type||(r=null),a({rest_menu_item_arr:n.map(function(e,n){return t===n&&(e.image=r),e})})}},{key:"onRemoveRestImage",value:function(e){var t=this.props.attributes.rest_menu_item_arr;(0,this.props.setAttributes)({rest_menu_item_arr:t.map(function(t,n){return e===n&&(t.image=null),t})})}},{key:"getImageName",value:function(e){var t=(this.props.attributes.rest_menu_item_arr,"Select Image");return e&&(t=null==e.url||""==e.url?"Select Image":"Replace Image"),t}},{key:"onRemoveImage",value:function(){this.props.attributes.backgroundImage;(0,this.props.setAttributes)({backgroundImage:null})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.backgroundImage,this.props.setAttributes);return e&&e.url&&e.type&&"image"===e.type?void t({backgroundImage:e}):void t({backgroundImage:null})}},{key:"render",value:function(){var e=this,t=this.props,n=(t.isSelected,t.className),r=t.setAttributes,o=t.attributes,i=(t.mergeBlocks,t.insertBlocksAfter,t.onReplace,o.menu_item_count),l=o.rest_menu_item_arr,g=o.headingAlign,b=o.priceColor,y=o.descColor,S=o.titleColor,I=(o.prefixTag,o.headingTag),M=o.titleFontSize,A=o.priceFontSize,z=o.descFontSize,D=(o.separatorWidth,o.separatorSpace,o.descSpace,o.imagePosition),L=o.imageAlignment,F=(o.block_id,o.source_type,o.titleSpace),B=o.imgHrPadding,U=o.imgVrPadding,W=(o.iconImage,o.imageSize),H=o.imageWidth,V=o.columns,q=o.tcolumns,$=o.mcolumns,G=o.rowGap,Y=o.columnGap,K=o.contentHrPadding,Q=o.contentVrPadding,X=o.seperatorStyle,J=o.seperatorWidth,Z=o.seperatorThickness,ee=o.seperatorColor,te=o.stack,ne=document.getElementById("uagb-testinomial-style-"+this.props.clientId);null!=ne&&"undefined"!=typeof ne&&(ne.innerHTML=Object(d.a)(this.props));var ae="uagb-rm-"+this.props.clientId,re=wp.element.createElement(j,null,wp.element.createElement(T,{title:v("Typography"),initialOpen:!1},wp.element.createElement(P,{label:v("Title Tag"),value:I,onChange:function(e){return r({headingTag:e})},options:[{value:"h1",label:v("H1")},{value:"h2",label:v("H2")},{value:"h3",label:v("H3")},{value:"h4",label:v("H4")},{value:"h5",label:v("H5")},{value:"h6",label:v("H6")}]}),wp.element.createElement(O,{label:v("Title Font Size"),value:M,onChange:function(e){return r({titleFontSize:e})},min:10,max:100,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(O,{label:v("Content Font Size"),value:z,onChange:function(e){return r({descFontSize:e})},min:10,max:100,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(O,{label:v("Price Font Size"),value:A,onChange:function(e){return r({priceFontSize:e})},min:10,max:100,initialPosition:16,beforeIcon:"editor-textcolor",llowReset:!0})),wp.element.createElement(x,{title:v("Color Settings"),initialOpen:!1,colorSettings:[{value:S,onChange:function(e){return r({titleColor:e})},label:v("Title Color")},{value:y,onChange:function(e){return r({descColor:e})},label:v("Content Color")},{value:b,onChange:function(e){return r({priceColor:e})},label:v("Price Color")}]})),oe=wp.element.createElement(j,null,wp.element.createElement(T,{title:v("Seperator"),initialOpen:!1},wp.element.createElement(P,{label:v("Seperator Style"),value:X,onChange:function(e){return r({seperatorStyle:e})},options:[{value:"none",label:v("None")},{value:"solid",label:v("Solid")},{value:"dotted",label:v("Dotted")},{value:"dashed",label:v("Dashed")},{value:"double",label:v("Double")},{value:"groove",label:v("Groove")},{value:"inset",label:v("Inset")},{value:"outset",label:v("Outset")},{value:"ridge",label:v("Ridge")}]}),"none"!=X&&wp.element.createElement(j,null,wp.element.createElement(O,{label:v("Seperator Width"),value:J,onChange:function(e){return r({seperatorWidth:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(O,{label:v("Seperator Thickness"),value:Z,onChange:function(e){return r({seperatorThickness:e})},min:0,max:20,allowReset:!0}),wp.element.createElement(j,null,wp.element.createElement("p",{className:"uagb-setting-label"},v("Seperator Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ee}}))),wp.element.createElement(k,{value:ee,onChange:function(e){return r({seperatorColor:e})},allowReset:!0}))))),ie=[{value:"thumbnail",label:v("Thumbnail")},{value:"medium",label:v("Medium")},{value:"full",label:v("Large")}],le=function(t){var n=null;return l[t]&&"undefined"!==typeof l[t]&&(n=l[t].image),wp.element.createElement(T,{key:t,title:v("Image")+" "+(t+1)+" "+v("Settings"),initialOpen:!0},wp.element.createElement(N,{className:"editor-bg-image-control",label:v("")},wp.element.createElement(C,{title:v("Select Image"+(t+1)),onSelect:function(n){e.onSelectRestImage(n,t)},allowedTypes:["image"],value:n,render:function(n){var a=n.open;return wp.element.createElement(R,{isDefault:!0,onClick:a},e.getImageName(l[t].image))}}),n&&null!==l[t].image.url&&""!==l[t].image.url&&wp.element.createElement(R,{className:"uagb-rm-btn",key:t,onClick:function(n){e.onRemoveRestImage(t)},isLink:!0,isDestructive:!0},v("Remove Image"))))},ue=0;l.map(function(e,t){var n=l[t];if(n&&"undefined"!==typeof n){var a=n.image;"undefined"!==typeof a&&null!==a&&""!==a&&ue++}});var se=wp.element.createElement(j,null,wp.element.createElement(T,{title:v("Spacing"),initialOpen:!1},wp.element.createElement(O,{label:v("Row Gap"),value:G,onChange:function(e){return r({rowGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(O,{label:v("Column Gap"),value:Y,onChange:function(e){return r({columnGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(O,{label:v("Item Horizontal Padding"),value:K,onChange:function(e){return r({contentHrPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(O,{label:v("Item Vertical Padding"),value:Q,onChange:function(e){return r({contentVrPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(O,{label:v("Title Bottom Margin"),value:F,onChange:function(e){return r({titleSpace:e})},min:0,max:50,allowReset:!0}),ue>0&&wp.element.createElement(j,null,wp.element.createElement(O,{label:v("Image Horizontal Padding"),value:B,onChange:function(e){return r({imgHrPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(O,{label:v("Image Vertical Padding"),value:U,onChange:function(e){return r({imgVrPadding:e})},min:0,max:50,allowReset:!0})))),ce=wp.element.createElement(j,null,wp.element.createElement(E,null,wp.element.createElement(T,{title:v("General"),initialOpen:!0},wp.element.createElement(O,{label:v("Number of Menu Items"),value:i,onChange:function(e){var t=[].concat(a(l));if(t.length<e){var n=Math.abs(e-t.length);h()(n,function(e){t.push({description:v("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),title:v(" Menu Item"+(t.length+1)),price:v("$19"),image:""})}),r({rest_menu_item_arr:t})}else{for(var o=Math.abs(e-t.length),i=t,u=0;u<o;u++)i.pop();r({rest_menu_item_arr:i})}r({menu_item_count:e})},min:0,max:10,allowReset:!0}),wp.element.createElement(O,{label:v("Columns"),value:V,onChange:function(e){return r({columns:e})},min:1,max:Math.min(3,i)}),wp.element.createElement(O,{label:v("Columns (Tablet)"),value:q,onChange:function(e){return r({tcolumns:e})},min:1,max:Math.min(3,i)}),wp.element.createElement(O,{label:v("Columns (Mobile)"),value:$,onChange:function(e){return r({mcolumns:e})},min:1,max:Math.min(3,i)})),wp.element.createElement(T,{title:v("Image"),initialOpen:!1},h()(i,function(e){return le(e)}),ue>0&&wp.element.createElement(j,null,wp.element.createElement(P,{label:v("Image Position"),value:D,onChange:function(e){return r({imagePosition:e})},options:[{value:"top",label:v("Top")},{value:"left",label:v("Left")},{value:"right",label:v("Right")}]}),("left"==D||"right"==D)&&wp.element.createElement(j,null,wp.element.createElement(P,{label:v("Vertical Alignment"),value:L,onChange:function(e){return r({imageAlignment:e})},options:[{value:"top",label:v("Top")},{value:"middle",label:v("Middle")}]}),wp.element.createElement(P,{label:v("Stack on"),value:te,options:[{value:"none",label:v("None")},{value:"tablet",label:v("Tablet")},{value:"mobile",label:v("Mobile")}],help:v("Note: Choose on what breakpoint the Images will stack."),onChange:function(e){return r({stack:e})}})),wp.element.createElement(P,{label:v("Image Size"),options:ie,value:W,onChange:function(e){return r({imageSize:e})}}),wp.element.createElement(O,{label:v("Width"),value:H,onChange:function(e){return r({imageWidth:e})},min:0,max:500,allowReset:!0}))),oe,re,se));return wp.element.createElement(j,null,(0==ue||ue>0&&"top"==D)&&wp.element.createElement(_,{key:"controls"},wp.element.createElement(w,{value:g,onChange:function(e){return r({headingAlign:e})}})),ce,wp.element.createElement("div",{className:u()(n,"uagb-rest_menu__outer-wrap"),id:ae},l.map(function(t,n){return wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-rest_menu__wrap"].concat(a(Object(p.a)(o)))),key:"wrap-"+n},wp.element.createElement("div",{className:"uagb-rm__content",key:"tm_content-"+n},("top"==D||"left"==D)&&wp.element.createElement(m.a,{attributes:o,index_value:n}),wp.element.createElement("div",{className:"uagb-rm__text-wrap"},wp.element.createElement(j,null,wp.element.createElement("div",{className:"uagb-rm-details",key:"tm_wraps-"+n},wp.element.createElement("div",{className:"uagb-rm__title-wrap",key:"rm_title__wraps-"+n},wp.element.createElement(s.a,{attributes:o,setAttributes:r,props:e.props,index_value:n}),wp.element.createElement("div",{className:"uagb-rest-menu-text-wrap",key:"text-wrap-"+n},wp.element.createElement(f.a,{attributes:o,setAttributes:r,props:e.props,index_value:n}))),wp.element.createElement("div",{className:"uagb-rm__price-wrap",key:"rm_price__wraps-"+n},wp.element.createElement(c.a,{attributes:o,setAttributes:r,props:e.props,index_value:n}))))),"right"==D&&wp.element.createElement(m.a,{attributes:o,index_value:n})),wp.element.createElement("div",{className:"uagb-rm__separator-parent"},wp.element.createElement("div",{className:"uagb-rm__separator"})))})))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-testinomial-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(M);t.a=A},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.priceColor,r=t.descColor,o=t.titleColor,i=t.titleFontSize,l=t.priceFontSize,u=t.descFontSize,s=t.descSpace,c=t.block_id,f=t.titleSpace,p=t.imgVrPadding,d=t.imgHrPadding,m=t.imageWidth,g=t.rowGap,h=t.columnGap,b=t.columns,v=(t.tcolumns,t.mcolumns,t.contentVrPadding),y=t.contentHrPadding,w=t.seperatorStyle,_=t.seperatorWidth,k=t.seperatorThickness,E=t.seperatorColor;if(e.clientId)var x="uagb-rm-"+e.clientId;else var x="uagb-rm-"+c;var C={};C[".uagb-rest_menu__wrap"]={"padding-left":h/2+"px","padding-right":h/2+"px","margin-bottom":g+"px"},C[".uagb-rest_menu__wrap .uagb-rm__image-content"]={"padding-left":d+"px","padding-right":d+"px","padding-top":p+"px","padding-bottom":p+"px"},C[".uagb-rm__image img"]={width:m+"px","max-width":m+"px"},C[".uagb-rm__content"]={"text-align":n,"padding-left":y+"px","padding-right":y+"px","padding-top":v+"px","padding-bottom":v+"px"},C[".uagb-rm__title"]={"font-size":i+"px",color:o,"margin-bottom":f+"px"},C[".uagb-rm__price"]={"font-size":l+"px",color:a},C[".uagb-rm__desc"]={"font-size":u+"px",color:r,"margin-bottom":s+"px"},"none"!=w&&(C[".uagb-rest_menu__wrap .uagb-rm__separator"]={"border-top-color":E,"border-top-style":w,"border-top-width":k+"px",width:_+"%"}),C[".uagb-rest_menu__wrap.uagb-rm__desk-column-"+b+":nth-child("+b+"n+1)"]={"margin-left":"0%",clear:"left"};var S="";for(var T in C){S+="#wpwrap #"+x+" "+T+" { ";var P=C[T],O="";for(var N in P)O+=N+": "+P[N]+";";S+=O+" } "}return S}t.a=a},function(e,t,n){"use strict";for(var a=wp.i18n.__,r=[],o=1;o<=4;o++){var i=a("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),l=a("Menu Item "+o),u=a("$9");r.push({description:i,title:l,price:u,image:""})}var s={menu_item_count:{type:"number",default:4},rest_menu_item_arr:{type:"array",default:r},headingAlign:{type:"string",default:"left"},descColor:{type:"string",default:"#333"},priceColor:{type:"string",default:"#888888"},titleColor:{type:"string",default:"#333"},imagePosition:{type:"string",default:"top"},imageAlignment:{type:"string",default:"top"},headingTag:{type:"string",default:"h4"},titleFontSize:{type:"number"},priceFontSize:{type:"number"},descFontSize:{type:"number"},priceSpace:{type:"number",default:5},descSpace:{type:"number",default:15},titleSpace:{type:"number",default:10},block_id:{type:"string",default:"not_set"},imgVrPadding:{type:"number",default:0},imgHrPadding:{type:"number",default:0},imgTopPadding:{type:"number",default:0},imgBottomPadding:{type:"number",default:0},iconImage:{type:"object",default:{url:"",alt:"Menu placeholder img"}},imageSize:{type:"string",default:"medium"},imageWidth:{type:"number",default:""},columns:{type:"number",default:2},tcolumns:{type:"number",default:2},mcolumns:{type:"number",default:1},rowGap:{type:"number",default:10},columnGap:{type:"number",default:10},contentVrPadding:{type:"number",default:5},contentHrPadding:{type:"number",default:5},seperatorStyle:{type:"string",default:"dashed"},seperatorWidth:{type:"number",default:"100"},seperatorThickness:{type:"number",default:"1"},seperatorColor:{type:"string",default:"#b2b4b5"},stack:{type:"string",default:"tablet"}};t.a=s},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(3),i=n(282),l=(n.n(i),n(283)),u=(n.n(l),n(284)),s=n(285),c=wp.i18n.__,f=wp.blocks.registerBlockType,p=wp.editor.RichText;f("uagb/icon-list",{title:uagb_blocks_info.blocks["uagb/icon-list"].title,description:uagb_blocks_info.blocks["uagb/icon-list"].description,icon:o.a.icon_list,category:uagb_blocks_info.category,keywords:[c("icon list"),c("image list"),c("uagb")],attributes:u.a,edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=n.icons,i=n.icon_count,l=n.icon_layout,u=n.hideLabel,s=u?"uagb-icon-list__no-label":"";return wp.element.createElement("div",{className:r()(t,"uagb-icon-list__outer-wrap","uagb-icon-list__layout-"+l,s),id:"uagb-icon-list-"+a},wp.element.createElement("div",{className:"uagb-icon-list__wrap"},o.map(function(e,t){if(!(i<=t)){var n="";"icon"==e.image_icon?e.icon&&(n=wp.element.createElement("span",{className:r()(e.icon,"uagb-icon-list__source-icon")})):e.image&&(n=wp.element.createElement("img",{className:"uagb-icon-list__source-image",src:e.image.url}));var a=e.target?"_blank":"_self";return wp.element.createElement("a",{className:r()("uagb-icon-list-repeater-"+t,"uagb-icon-list__wrapper"),key:t,target:a,rel:"noopener noreferrer",href:e.link},wp.element.createElement("div",{className:"uagb-icon-list__content-wrap"},wp.element.createElement("span",{className:"uagb-icon-list__source-wrap"},n),!u&&""!=o[t].label&&wp.element.createElement("div",{className:"uagb-icon-list__label-wrap"},wp.element.createElement(p.Content,{tagName:"span",value:o[t].label,className:"uagb-icon-list__label"}))))}})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=1;r++)a.push({label:"Label #"+r,image_icon:"icon",icon:"fab fa-facebook",image:"",icon_color:"#3a3a3a",label_color:"",icon_hover_color:"",label_hover_color:"",link:"#",target:!1});var o={block_id:{type:"string"},align:{type:"string",default:"left"},icon_count:{type:"number",default:1},icons:{type:"array",default:a},gap:{type:"number",default:10},inner_gap:{type:"number",default:15},size:{type:"number",default:40},hideLabel:{type:"boolean",default:!1},fontSize:{type:"number"},icon_layout:{type:"string",default:"vertical"},stack:{type:"string",default:"none"}};t.a=o},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(6),c=n.n(s),f=n(13),p=n(14),d=n.n(p),m=n(286),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),b=wp.i18n.__,v=wp.element,y=v.Component,w=v.Fragment,_=wp.editor,k=_.BlockControls,E=_.BlockAlignmentToolbar,x=_.InspectorControls,C=_.PanelColorSettings,S=_.MediaUpload,T=_.RichText,P=wp.components,O=P.PanelBody,N=P.SelectControl,R=P.RangeControl,I=P.Button,M=P.TextControl,j=P.ToggleControl,A=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),h(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-icon-list-"+this.props.clientId),document.head.appendChild(e)}},{key:"saveIcons",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({icons:a.icons.map(function(n,a){return t===a&&(n=g({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=(t.isSelected,n.align),i=n.className,l=n.icon_count,s=n.icons,p=n.gap,g=n.inner_gap,h=n.stack,v=n.icon_layout,y=n.size,_=n.hideLabel,P=n.fontSize,A=function(t){var n="";return n="image"==s[t].image_icon?[{value:s[t].label_color,onChange:function(n){return e.saveIcons({label_color:n},t)},label:b("Label Color")},{value:s[t].label_hover_color,onChange:function(n){return e.saveIcons({label_hover_color:n},t)},label:b("Label Hover Color")}]:[{value:s[t].icon_color,onChange:function(n){return e.saveIcons({icon_color:n},t)},label:b("Icon Color")},{value:s[t].icon_hover_color,onChange:function(n){return e.saveIcons({icon_hover_color:n},t)},label:b("Hover Color")},{value:s[t].label_color,onChange:function(n){return e.saveIcons({label_color:n},t)},label:b("Label Color")},{value:s[t].label_hover_color,onChange:function(n){return e.saveIcons({label_hover_color:n},t)},label:b("Label Hover Color")}],wp.element.createElement(O,{key:t,title:b("Icon")+" "+(t+1)+" "+b("Settings"),initialOpen:!1},wp.element.createElement(N,{label:b("Image / Icon"),value:s[t].image_icon,options:[{value:"icon",label:b("Icon")},{value:"image",label:b("Image")}],onChange:function(n){e.saveIcons({image_icon:n},t)}}),"icon"==s[t].image_icon&&wp.element.createElement(w,null,wp.element.createElement("p",{className:"components-base-control__label"},b("Icon")),wp.element.createElement(d.a,{icons:f.a,renderUsing:"class",theme:"default",value:s[t].icon,onChange:function(n){e.saveIcons({icon:n},t)},isMulti:!1})),"image"==s[t].image_icon&&wp.element.createElement(w,null,wp.element.createElement(S,{title:b("Select Image"),onSelect:function(n){e.saveIcons({image:n},t)},allowedTypes:["image"],value:s[t].image,render:function(e){var n=e.open;return wp.element.createElement(I,{isDefault:!0,onClick:n},b(s[t].image?"Replace image":"Select Image"))}}),s[t].image&&wp.element.createElement(I,{className:"uagb-rm-btn",onClick:function(n){e.saveIcons({image:null},t)},isLink:!0,isDestructive:!0},b("Remove Image"))),wp.element.createElement("p",{className:"components-base-control__label"},b("URL")),wp.element.createElement(M,{value:s[t].link,onChange:function(n){e.saveIcons({link:n},t)},placeholder:b("Enter URL")}),wp.element.createElement(j,{label:b("Open in New Tab"),checked:s[t].target,onChange:function(n){e.saveIcons({target:n},t)}}),wp.element.createElement(C,{title:b("Color Settings"),colorSettings:n}))},z=document.getElementById("uagb-style-icon-list-"+this.props.clientId);null!=z&&"undefined"!=typeof z&&(z.innerHTML=Object(m.a)(this.props));var D=_?"uagb-icon-list__no-label":"";return wp.element.createElement(w,null,wp.element.createElement(k,null,wp.element.createElement(E,{value:o,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(x,null,wp.element.createElement(O,{title:b("Icon Count"),initialOpen:!0},wp.element.createElement(R,{label:b("Number of Icons"),value:l,onChange:function(e){var t=[].concat(a(s));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({label:"Label #"+(t.length+1),image_icon:t[0].image_icon,icon:t[0].icon,image:t[0].image,icon_color:t[0].icon_color,icon_hover_color:t[0].icon_hover_color,link:t[0].link,target:t[0].target})}),r({icons:t})}r({icon_count:e})},min:1,max:12})),c()(l,function(e){return A(e)}),wp.element.createElement(O,{title:b("General"),initialOpen:!1},wp.element.createElement(N,{label:b("Layout"),value:v,options:[{value:"horizontal",label:b("Horizontal")},{value:"vertical",label:b("Vertical")}],onChange:function(e){return r({icon_layout:e})}}),"horizontal"==v&&wp.element.createElement(w,null,wp.element.createElement(N,{label:b("Stack on"),value:h,options:[{value:"none",label:b("None")},{value:"tablet",label:b("Tablet")},{value:"mobile",label:b("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},b("Note: Choose on what breakpoint the Icons will stack."))),wp.element.createElement(j,{label:b("Hide Labels"),checked:_,onChange:function(e){return r({hideLabel:!_})}}),wp.element.createElement(R,{label:b("Size"),value:y,onChange:function(e){return r({size:e})},min:0,max:500,initialPosition:40}),wp.element.createElement(R,{label:b("Lable Font Size"),value:P,onChange:function(e){return r({fontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:15}),wp.element.createElement(R,{label:b("Gap between Items"),value:p,onChange:function(e){return r({gap:e})},min:0,max:100}),!_&&wp.element.createElement(R,{label:b("Gap between Icon and Label"),value:g,onChange:function(e){return r({inner_gap:e})},min:0,max:100}))),wp.element.createElement("div",{className:u()(i,"uagb-icon-list__outer-wrap","uagb-icon-list__layout-"+v,D),id:"uagb-icon-list-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-icon-list__wrap"},s.map(function(t,n){if(!(l<=n)){var a="";"icon"==t.image_icon?t.icon&&(a=wp.element.createElement("span",{className:u()(t.icon,"uagb-icon-list__source-icon")})):t.image&&(a=wp.element.createElement("img",{className:"uagb-icon-list__source-image",src:t.image.url}));var r=t.target?"_blank":"_self";return wp.element.createElement("a",{className:u()("uagb-icon-list-repeater-"+n,"uagb-icon-list__wrapper"),key:n,href:t.link,target:r,rel:"noopener noreferrer"},wp.element.createElement("div",{className:"uagb-icon-list__content-wrap"},wp.element.createElement("span",{className:"uagb-icon-list__source-wrap"},a),!_&&wp.element.createElement("div",{className:"uagb-icon-list__label-wrap"},wp.element.createElement(T,{tagName:"span",value:s[n].label,className:"uagb-icon-list__label",onChange:function(t){e.saveIcons({label:t},n)},placeholder:b("Description"),multiline:!1}))))}}))))}}]),t}(y);t.a=A},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t,n=e.attributes,r=n.align,o=n.icon_count,i=n.icons,l=n.gap,u=n.inner_gap,s=n.icon_layout,c=n.size,f=n.fontSize,p=n.stack,d={},m={},g={};i.map(function(e,t){o<=t||(d[" .uagb-icon-list-repeater-"+t+" .uagb-icon-list__source-icon"]={color:e.icon_color},d[" .uagb-icon-list-repeater-"+t+":hover .uagb-icon-list__source-icon"]={color:e.icon_hover_color},d[" .uagb-icon-list-repeater-"+t+" .uagb-icon-list__label"]={color:e.label_color,"font-size":f+"px"},d[" .uagb-icon-list-repeater-"+t+":hover .uagb-icon-list__label"]={color:e.label_hover_color})}),"right"==r?(d[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"]={"margin-left":u+"px"},d[" .uagb-icon-list__content-wrap"]={"flex-direction":"row-reverse"}):d[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"]={"margin-right":u+"px"},d[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},d[".uagb-icon-list__layout-vertical .uagb-icon-list__wrap"]={"flex-direction":"column"},d[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child"]={"margin-bottom":0},d[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper"]={"margin-left":l/2+"px","margin-right":l/2+"px"},d[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child"]={"margin-left":0},d[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child"]={"margin-right":0},d[" .uagb-icon-list__source-image"]={width:c+"px"},d[" .uagb-icon-list__source-icon"]={width:c+"px",height:c+"px","font-size":c+"px"},d[" .uagb-icon-list__source-icon:before"]={width:c+"px",height:c+"px","font-size":c+"px"},d[" .uagb-icon-list__label-wrap"]={"text-align":r};var h="left"==r?"flex-start":"right"==r?"flex-end":"center";d[" .uagb-icon-list__wrap"]=(t={"justify-content":h,"-webkit-box-pack":h,"-ms-flex-pack":h},a(t,"justify-content",h),a(t,"-webkit-box-align",h),a(t,"-ms-flex-align",h),a(t,"align-items",h),t),"horizontal"==s&&("tablet"==p?(m[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},m[" .uagb-icon-list__wrap"]={"flex-direction":"column"},m[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"]={"margin-bottom":0}):"mobile"==p&&(g[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},g[" .uagb-icon-list__wrap"]={"flex-direction":"column"},g[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"]={"margin-bottom":0}));var b="",v="#uagb-icon-list-"+e.clientId;for(var y in d){b+=v,b+=y+" { ";var w=d[y],_="";for(var k in w)_+=k+": "+w[k]+";";b+=_+" } "}b+="@media only screen and (max-width: 976px) {";for(var y in m){b+=v,b+=y+" { ";var w=m[y],_="";for(var k in w)_+=k+": "+w[k]+";";b+=_+" } "}b+=" }",b+="@media only screen and (max-width: 767px) {";for(var y in g){b+=v,b+=y+" { ";var w=g[y],_="";for(var k in w)_+=k+": "+w[k]+";";b+=_+" } "}return b+=" }"}t.a=r}]);
1
+ !function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=107)}([function(e,t,n){var a,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var r=typeof a;if("string"===r||"number"===r)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===r)for(var l in a)o.call(a,l)&&a[l]&&e.push(l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(r=function(){return n}.apply(t,a))&&(e.exports=r))}()},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function r(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===a||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){g&&d&&(g=!1,d.length?m=d.concat(m):h=-1,m.length&&l())}function l(){if(!g){var e=r(i);g=!0;for(var t=m.length;t;){for(d=m,m=[];++h<t;)d&&d[h].run();h=-1,t=m.length}d=null,g=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,p=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"===typeof clearTimeout?clearTimeout:a}catch(e){f=a}}();var d,m=[],g=!1,h=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||g||r(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(229):e.exports=n(230)}).call(t,n(1))},function(e,t,n){"use strict";var a=wp.element.createElement,r={section:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{d:"M0 18h20v2h-20v-2z"}),a("path",{d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{d:"M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z"}),a("path",{d:"M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z"}),a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z"})),post_masonry:a("svg",{width:20,height:20},a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),post_grid:a("svg",{width:20,height:20},a("path",{d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),testimonial:a("svg",{width:20,height:20},a("path",{d:"M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z"}),a("path",{d:"M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z"}),a("path",{d:"M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z"})),cf7_styler:a("svg",{width:20,height:20},a("path",{d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{d:"M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z"})),content_timeline:a("svg",{width:20,height:20},a("path",{d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),post_timeline:a("svg",{width:20,height:20},a("path",{d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"})),restaurant_menu:a("svg",{width:20,height:20},a("path",{d:"M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z"}),a("path",{d:"M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z"}),a("path",{d:"M13.050 4.661h3.275v1.172h-3.275v-1.172z"}),a("path",{d:"M12.109 9.414h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 11.79h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 14.167h5.156v1.172h-5.156v-1.172z"}))};t.a=r},function(e,t,n){var a=n(48),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function a(e,t){if((e=i(e))<1||e>l)return[];var n=u,a=s(e,u);t=o(t),e-=u;for(var c=r(a,t);++n<e;)t(n);return c}var r=n(58),o=n(219),i=n(74),l=9007199254740991,u=4294967295,s=Math.min;e.exports=a},function(e,t,n){function a(e,t){var n=o(e,t);return r(n)?n:void 0}var r=n(127),o=n(132);e.exports=a},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){function a(e){return null==e?void 0===e?u:l:s&&s in Object(e)?o(e):i(e)}var r=n(20),o=n(128),i=n(129),l="[object Null]",u="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";var a=["fab fa-buromobelexperte","fas fa-burn","fas fa-bullseye","fas fa-bullhorn","fas fa-building","far fa-building","fas fa-bug","fab fa-btc","fas fa-briefcase-medical","fas fa-briefcase","fas fa-braille","fas fa-boxes","fas fa-box-open","fas fa-box","fas fa-bowling-ball","fas fa-bookmark","far fa-bookmark","fas fa-book","fas fa-bomb","fas fa-bolt","fas fa-bold","fab fa-bluetooth-b","fab fa-bluetooth","fab fa-blogger-b","fab fa-blogger","fas fa-blind","fab fa-blackberry","fab fa-black-tie","fab fa-bity","fab fa-bitcoin","fab fa-bitbucket","fas fa-birthday-cake","fas fa-binoculars","fab fa-bimobject","fas fa-bicycle","fas fa-bell-slash","far fa-bell-slash","fas fa-bell","far fa-bell","fab fa-behance-square","fab fa-behance","fas fa-beer","fas fa-bed","fas fa-battery-three-quarters","fas fa-battery-quarter","fas fa-battery-half","fas fa-battery-full","fas fa-battery-empty","fas fa-bath","fas fa-basketball-ball","fas fa-baseball-ball","fas fa-bars","fas fa-barcode","fab fa-bandcamp","fas fa-band-aid","fas fa-ban","fas fa-balance-scale","fas fa-backward","fab fa-aws","fab fa-aviato","fab fa-avianex","fab fa-autoprefixer","fas fa-audio-description","fab fa-audible","fas fa-at","fab fa-asymmetrik","fas fa-asterisk","fas fa-assistive-listening-systems","fas fa-arrows-alt-v","fas fa-arrows-alt-h","fas fa-arrows-alt","fas fa-arrow-up","fas fa-arrow-right","fas fa-arrow-left","fas fa-arrow-down","fas fa-arrow-circle-up","fas fa-arrow-circle-right","fas fa-arrow-circle-left","fas fa-arrow-circle-down","fas fa-arrow-alt-circle-up","far fa-arrow-alt-circle-up","fas fa-arrow-alt-circle-right","far fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-left","far fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-down","far fa-arrow-alt-circle-down","fas fa-archive","fab fa-apple-pay","fab fa-apple","fab fa-apper","fab fa-app-store-ios","fab fa-app-store","fab fa-angular","fab fa-angrycreative","fas fa-angle-up","fas fa-angle-right","fas fa-angle-left","fas fa-angle-down","fas fa-angle-double-up","fas fa-angle-double-right","fas fa-angle-double-left","fas fa-angle-double-down","fab fa-angellist","fab fa-android","fas fa-anchor","fab fa-amilia","fas fa-american-sign-language-interpreting","fas fa-ambulance","fab fa-amazon-pay","fab fa-amazon","fas fa-allergies","fas fa-align-right","fas fa-align-left","fas fa-align-justify","fas fa-align-center","fab fa-algolia","fab fa-affiliatetheme","fab fa-adversal","fab fa-adn","fas fa-adjust","fas fa-address-card","far fa-address-card","fas fa-address-book","far fa-address-book","fab fa-accusoft","fab fa-accessible-icon","fab fa-500px","fab fa-youtube-square","fab fa-youtube","fab fa-yoast","fas fa-yen-sign","fab fa-yelp","fab fa-yandex-international","fab fa-yandex","fab fa-yahoo","fab fa-y-combinator","fab fa-xing-square","fab fa-xing","fab fa-xbox","fas fa-x-ray","fas fa-wrench","fab fa-wpforms","fab fa-wpexplorer","fab fa-wpbeginner","fab fa-wordpress-simple","fab fa-wordpress","fas fa-won-sign","fab fa-wolf-pack-battalion","fas fa-wine-glass","fab fa-windows","fas fa-window-restore","far fa-window-restore","fas fa-window-minimize","far fa-window-minimize","fas fa-window-maximize","far fa-window-maximize","fas fa-window-close","far fa-window-close","fab fa-wikipedia-w","fas fa-wifi","fab fa-whmcs","fas fa-wheelchair","fab fa-whatsapp-square","fab fa-whatsapp","fab fa-weixin","fas fa-weight","fab fa-weibo","fas fa-warehouse","fab fa-vuejs","fas fa-volume-up","fas fa-volume-off","fas fa-volume-down","fas fa-volleyball-ball","fab fa-vnv","fab fa-vk","fab fa-vine","fab fa-vimeo-v","fab fa-vimeo-square","fab fa-vimeo","fas fa-video-slash","fas fa-video","fab fa-viber","fas fa-vials","fas fa-vial","fab fa-viadeo-square","fab fa-viadeo","fab fa-viacoin","fas fa-venus-mars","fas fa-venus-double","fas fa-venus","fab fa-vaadin","fas fa-utensils","fas fa-utensil-spoon","fab fa-ussunnah","fas fa-users-cog","fas fa-users","fas fa-user-times","fas fa-user-tie","fas fa-user-tag","fas fa-user-slash","fas fa-user-shield","fas fa-user-secret","fas fa-user-plus","fas fa-user-ninja","fas fa-user-minus","fas fa-user-md","fas fa-user-lock","fas fa-user-graduate","fas fa-user-friends","fas fa-user-edit","fas fa-user-cog","fas fa-user-clock","fas fa-user-circle","far fa-user-circle","fas fa-user-check","fas fa-user-astronaut","fas fa-user-alt-slash","fas fa-user-alt","fas fa-user","far fa-user","fab fa-usb","fas fa-upload","fab fa-untappd","fas fa-unlock-alt","fas fa-unlock","fas fa-unlink","fas fa-university","fas fa-universal-access","fab fa-uniregistry","fas fa-undo-alt","fas fa-undo","fas fa-underline","fas fa-umbrella","fab fa-uikit","fab fa-uber","fab fa-typo3","fab fa-twitter-square","fab fa-twitter","fab fa-twitch","fas fa-tv","fab fa-tumblr-square","fab fa-tumblr","fas fa-tty","fas fa-truck-moving","fas fa-truck-loading","fas fa-truck","fas fa-trophy","fab fa-tripadvisor","fab fa-trello","fas fa-tree","fas fa-trash-alt","far fa-trash-alt","fas fa-trash","fas fa-transgender-alt","fas fa-transgender","fas fa-train","fas fa-trademark","fab fa-trade-federation","fas fa-toggle-on","fas fa-toggle-off","fas fa-tint","fas fa-times-circle","far fa-times-circle","fas fa-times","fas fa-ticket-alt","fas fa-thumbtack","fas fa-thumbs-up","far fa-thumbs-up","fas fa-thumbs-down","far fa-thumbs-down","fas fa-thermometer-three-quarters","fas fa-thermometer-quarter","fas fa-thermometer-half","fas fa-thermometer-full","fas fa-thermometer-empty","fas fa-thermometer","fab fa-themeisle","fas fa-th-list","fas fa-th-large","fas fa-th","fas fa-text-width","fas fa-text-height","fas fa-terminal","fab fa-tencent-weibo","fab fa-telegram-plane","fab fa-telegram","fab fa-teamspeak","fas fa-taxi","fas fa-tasks","fas fa-tape","fas fa-tags","fas fa-tag","fas fa-tachometer-alt","fas fa-tablets","fas fa-tablet-alt","fas fa-tablet","fas fa-table-tennis","fas fa-table","fas fa-syringe","fas fa-sync-alt","fas fa-sync","fab fa-supple","fas fa-superscript","fab fa-superpowers","fas fa-sun","far fa-sun","fas fa-suitcase","fas fa-subway","fas fa-subscript","fab fa-stumbleupon-circle","fab fa-stumbleupon","fab fa-studiovinari","fab fa-stripe-s","fab fa-stripe","fas fa-strikethrough","fas fa-street-view","fab fa-strava","fas fa-stopwatch","fas fa-stop-circle","far fa-stop-circle","fas fa-stop","fas fa-sticky-note","far fa-sticky-note","fab fa-sticker-mule","fas fa-stethoscope","fas fa-step-forward","fas fa-step-backward","fab fa-steam-symbol","fab fa-steam-square","fab fa-steam","fab fa-staylinked","fas fa-star-half","far fa-star-half","fa fa-star","fas fa-star","far fa-star","fab fa-stack-overflow","fab fa-stack-exchange","fas fa-square-full","fas fa-square","far fa-square","fab fa-spotify","fas fa-spinner","fab fa-speakap","fas fa-space-shuttle","fab fa-soundcloud","fas fa-sort-up","fas fa-sort-numeric-up","fas fa-sort-numeric-down","fas fa-sort-down","fas fa-sort-amount-up","fas fa-sort-amount-down","fas fa-sort-alpha-up","fas fa-sort-alpha-down","fas fa-sort","fas fa-snowflake","far fa-snowflake","fab fa-snapchat-square","fab fa-snapchat-ghost","fab fa-snapchat","fas fa-smoking","fas fa-smile","far fa-smile","fab fa-slideshare","fas fa-sliders-h","fab fa-slack-hash","fab fa-slack","fab fa-skype","fab fa-skyatlas","fab fa-sith","fas fa-sitemap","fab fa-sistrix","fab fa-simplybuilt","fas fa-signal","fas fa-sign-out-alt","fas fa-sign-language","fas fa-sign-in-alt","fas fa-sign","fas fa-shower","fas fa-shopping-cart","fas fa-shopping-basket","fas fa-shopping-bag","fab fa-shirtsinbulk","fas fa-shipping-fast","fas fa-ship","fas fa-shield-alt","fas fa-shekel-sign","fas fa-share-square","far fa-share-square","fas fa-share-alt-square","fas fa-share-alt","fas fa-share","fab fa-servicestack","fas fa-server","fab fa-sellsy","fab fa-sellcast","fas fa-seedling","fab fa-searchengin","fas fa-search-plus","fas fa-search-minus","fas fa-search","fab fa-scribd","fab fa-schlix","fas fa-save","far fa-save","fab fa-sass","fab fa-safari","fas fa-rupee-sign","fas fa-ruble-sign","fas fa-rss-square","fas fa-rss","fab fa-rockrms","fab fa-rocketchat","fas fa-rocket","fas fa-road","fas fa-ribbon","fas fa-retweet","fab fa-resolving","fab fa-researchgate","fab fa-replyd","fas fa-reply-all","fas fa-reply","fab fa-renren","fas fa-registered","far fa-registered","fas fa-redo-alt","fas fa-redo","fab fa-reddit-square","fab fa-reddit-alien","fab fa-reddit","fab fa-red-river","fas fa-recycle","fab fa-rebel","fab fa-readme","fab fa-react","fab fa-ravelry","fas fa-random","fab fa-r-project","fas fa-quote-right","fas fa-quote-left","fab fa-quora","fab fa-quinscape","fas fa-quidditch","fas fa-question-circle","far fa-question-circle","fas fa-question","fas fa-qrcode","fab fa-qq","fab fa-python","fas fa-puzzle-piece","fab fa-pushed","fab fa-product-hunt","fas fa-procedures","fas fa-print","fas fa-prescription-bottle-alt","fas fa-prescription-bottle","fas fa-power-off","fas fa-pound-sign","fas fa-portrait","fas fa-poo","fas fa-podcast","fas fa-plus-square","far fa-plus-square","fas fa-plus-circle","fas fa-plus","fas fa-plug","fab fa-playstation","fas fa-play-circle","far fa-play-circle","fas fa-play","fas fa-plane","fab fa-pinterest-square","fab fa-pinterest-p","fab fa-pinterest","fas fa-pills","fas fa-piggy-bank","fab fa-pied-piper-pp","fab fa-pied-piper-hat","fab fa-pied-piper-alt","fab fa-pied-piper","fab fa-php","fas fa-phone-volume","fas fa-phone-square","fas fa-phone-slash","fas fa-phone","fab fa-phoenix-squadron","fab fa-phoenix-framework","fab fa-phabricator","fab fa-periscope","fas fa-percent","fas fa-people-carry","fas fa-pencil-alt","fas fa-pen-square","fab fa-paypal","fas fa-paw","fas fa-pause-circle","far fa-pause-circle","fas fa-pause","fab fa-patreon","fas fa-paste","fas fa-paragraph","fas fa-parachute-box","fas fa-paperclip","fas fa-paper-plane","far fa-paper-plane","fas fa-pallet","fab fa-palfed","fas fa-paint-brush","fab fa-pagelines","fab fa-page4","fas fa-outdent","fab fa-osi","fab fa-optin-monster","fab fa-opera","fab fa-openid","fab fa-opencart","fab fa-old-republic","fab fa-odnoklassniki-square","fab fa-odnoklassniki","fas fa-object-ungroup","far fa-object-ungroup","fas fa-object-group","far fa-object-group","fab fa-nutritionix","fab fa-ns8","fab fa-npm","fas fa-notes-medical","fab fa-node-js","fab fa-node","fab fa-nintendo-switch","fas fa-newspaper","far fa-newspaper","fas fa-neuter","fab fa-napster","fas fa-music","fas fa-mouse-pointer","fas fa-motorcycle","fas fa-moon","far fa-moon","fas fa-money-bill-alt","far fa-money-bill-alt","fab fa-monero","fab fa-modx","fas fa-mobile-alt","fas fa-mobile","fab fa-mizuni","fab fa-mixcloud","fab fa-mix","fas fa-minus-square","far fa-minus-square","fas fa-minus-circle","fas fa-minus","fab fa-microsoft","fas fa-microphone-slash","fas fa-microphone","fas fa-microchip","fas fa-mercury","fas fa-meh","far fa-meh","fab fa-meetup","fab fa-medrt","fas fa-medkit","fab fa-medium-m","fab fa-medium","fab fa-medapps","fab fa-maxcdn","fab fa-mastodon","fas fa-mars-stroke-v","fas fa-mars-stroke-h","fas fa-mars-stroke","fas fa-mars-double","fas fa-mars","fas fa-map-signs","fas fa-map-pin","fas fa-map-marker-alt","fas fa-map-marker","fas fa-map","far fa-map","fab fa-mandalorian","fas fa-male","fas fa-magnet","fas fa-magic","fab fa-magento","fab fa-lyft","fas fa-low-vision","fas fa-long-arrow-alt-up","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-down","fas fa-lock-open","fas fa-lock","fas fa-location-arrow","fas fa-list-ul","fas fa-list-ol","fas fa-list-alt","far fa-list-alt","fas fa-list","fas fa-lira-sign","fab fa-linux","fab fa-linode","fab fa-linkedin-in","fab fa-linkedin","fas fa-link","fab fa-line","fas fa-lightbulb","far fa-lightbulb","fas fa-life-ring","far fa-life-ring","fas fa-level-up-alt","fas fa-level-down-alt","fab fa-less","fas fa-lemon","far fa-lemon","fab fa-leanpub","fas fa-leaf","fab fa-lastfm-square","fab fa-lastfm","fab fa-laravel","fas fa-laptop","fas fa-language","fab fa-korvue","fab fa-kickstarter-k","fab fa-kickstarter","fab fa-keycdn","fas fa-keyboard","far fa-keyboard","fab fa-keybase","fas fa-key","fab fa-jsfiddle","fab fa-js-square","fab fa-js","fab fa-joomla","fab fa-joget","fab fa-jenkins","fab fa-jedi-order","fab fa-java","fab fa-itunes-note","fab fa-itunes","fas fa-italic","fab fa-ioxhost","fab fa-internet-explorer","fab fa-instagram","fas fa-info-circle","fas fa-info","fas fa-industry","fas fa-indent","fas fa-inbox","fab fa-imdb","fas fa-images","far fa-images","fas fa-image","far fa-image","fas fa-id-card-alt","fas fa-id-card","far fa-id-card","fas fa-id-badge","far fa-id-badge","fas fa-i-cursor","fab fa-hubspot","fab fa-html5","fab fa-houzz","fas fa-hourglass-start","fas fa-hourglass-half","fas fa-hourglass-end","fas fa-hourglass","far fa-hourglass","fab fa-hotjar","fas fa-hospital-symbol","fas fa-hospital-alt","fas fa-hospital","far fa-hospital","fab fa-hooli","fas fa-home","fas fa-hockey-puck","fas fa-history","fab fa-hire-a-helper","fab fa-hips","fas fa-heartbeat","fas fa-heart","far fa-heart","fas fa-headphones","fas fa-heading","fas fa-hdd","far fa-hdd","fas fa-hashtag","fas fa-handshake","far fa-handshake","fas fa-hands-helping","fas fa-hands","fas fa-hand-spock","far fa-hand-spock","fas fa-hand-scissors","far fa-hand-scissors","fas fa-hand-rock","far fa-hand-rock","fas fa-hand-pointer","far fa-hand-pointer","fas fa-hand-point-up","far fa-hand-point-up","fas fa-hand-point-right","far fa-hand-point-right","fas fa-hand-point-left","far fa-hand-point-left","fas fa-hand-point-down","far fa-hand-point-down","fas fa-hand-peace","far fa-hand-peace","fas fa-hand-paper","far fa-hand-paper","fas fa-hand-lizard","far fa-hand-lizard","fas fa-hand-holding-usd","fas fa-hand-holding-heart","fas fa-hand-holding","fab fa-hacker-news-square","fab fa-hacker-news","fas fa-h-square","fab fa-gulp","fab fa-grunt","fab fa-gripfire","fab fa-grav","fab fa-gratipay","fas fa-graduation-cap","fab fa-google-wallet","fab fa-google-plus-square","fab fa-google-plus-g","fab fa-google-plus","fab fa-google-play","fab fa-google-drive","fab fa-google","fab fa-goodreads-g","fab fa-goodreads","fas fa-golf-ball","fab fa-gofore","fas fa-globe","fab fa-glide-g","fab fa-glide","fas fa-glass-martini","fab fa-gitter","fab fa-gitlab","fab fa-gitkraken","fab fa-github-square","fab fa-github-alt","fab fa-github","fab fa-git-square","fab fa-git","fas fa-gift","fab fa-gg-circle","fab fa-gg","fab fa-get-pocket","fas fa-genderless","fas fa-gem","far fa-gem","fas fa-gavel","fas fa-gamepad","fab fa-galactic-senate","fab fa-galactic-republic","fas fa-futbol","far fa-futbol","fab fa-fulcrum","fas fa-frown","far fa-frown","fab fa-freebsd","fab fa-free-code-camp","fab fa-foursquare","fas fa-forward","fab fa-forumbee","fab fa-fort-awesome-alt","fab fa-fort-awesome","fas fa-football-ball","fab fa-fonticons-fi","fab fa-fonticons","far fa-font-awesome-logo-full","fas fa-font-awesome-logo-full","fab fa-font-awesome-logo-full","fab fa-font-awesome-flag","fab fa-font-awesome-alt","fab fa-font-awesome","fas fa-font","fas fa-folder-open","far fa-folder-open","fas fa-folder","far fa-folder","fab fa-fly","fab fa-flipboard","fab fa-flickr","fas fa-flask","fas fa-flag-checkered","fas fa-flag","far fa-flag","fab fa-firstdraft","fab fa-first-order-alt","fab fa-first-order","fas fa-first-aid","fab fa-firefox","fas fa-fire-extinguisher","fas fa-fire","fas fa-filter","fas fa-film","fas fa-file-word","far fa-file-word","fas fa-file-video","far fa-file-video","fas fa-file-powerpoint","far fa-file-powerpoint","fas fa-file-pdf","far fa-file-pdf","fas fa-file-medical-alt","fas fa-file-medical","fas fa-file-image","far fa-file-image","fas fa-file-excel","far fa-file-excel","fas fa-file-code","far fa-file-code","fas fa-file-audio","far fa-file-audio","fas fa-file-archive","far fa-file-archive","fas fa-file-alt","far fa-file-alt","fas fa-file","far fa-file","fas fa-fighter-jet","fas fa-female","fas fa-fax","fas fa-fast-forward","fas fa-fast-backward","fab fa-facebook-square","fab fa-facebook-messenger","fab fa-facebook-f","fab fa-facebook","fas fa-eye-slash","far fa-eye-slash","fas fa-eye-dropper","fas fa-eye","far fa-eye","fas fa-external-link-square-alt","fas fa-external-link-alt","fab fa-expeditedssl","fas fa-expand-arrows-alt","fas fa-expand","fas fa-exclamation-triangle","fas fa-exclamation-circle","fas fa-exclamation","fas fa-exchange-alt","fas fa-euro-sign","fab fa-etsy","fab fa-ethereum","fab fa-erlang","fas fa-eraser","fab fa-envira","fas fa-envelope-square","fas fa-envelope-open","far fa-envelope-open","fas fa-envelope","far fa-envelope","fab fa-empire","fab fa-ember","fas fa-ellipsis-v","fas fa-ellipsis-h","fab fa-elementor","fas fa-eject","fas fa-edit","far fa-edit","fab fa-edge","fab fa-ebay","fab fa-earlybirds","fab fa-dyalog","fab fa-drupal","fab fa-dropbox","fab fa-dribbble-square","fab fa-dribbble","fab fa-draft2digital","fas fa-download","fas fa-dove","fas fa-dot-circle","far fa-dot-circle","fas fa-donate","fas fa-dolly-flatbed","fas fa-dolly","fas fa-dollar-sign","fab fa-docker","fab fa-dochub","fas fa-dna","fab fa-discourse","fab fa-discord","fab fa-digital-ocean","fab fa-digg","fas fa-diagnoses","fab fa-deviantart","fas fa-desktop","fab fa-deskpro","fab fa-deploydog","fab fa-delicious","fas fa-deaf","fas fa-database","fab fa-dashcube","fab fa-d-and-d","fab fa-cuttlefish","fas fa-cut","fas fa-cubes","fas fa-cube","fab fa-css3-alt","fab fa-css3","fas fa-crosshairs","fas fa-crop","fas fa-credit-card","far fa-credit-card","fab fa-creative-commons-share","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-sampling","fab fa-creative-commons-sa","fab fa-creative-commons-remix","fab fa-creative-commons-pd-alt","fab fa-creative-commons-pd","fab fa-creative-commons-nd","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc","fab fa-creative-commons-by","fab fa-creative-commons","fab fa-cpanel","fas fa-couch","fas fa-copyright","far fa-copyright","fas fa-copy","far fa-copy","fab fa-contao","fab fa-connectdevelop","fas fa-compress","fas fa-compass","far fa-compass","fas fa-comments","far fa-comments","fas fa-comment-slash","fas fa-comment-dots","far fa-comment-dots","fas fa-comment-alt","far fa-comment-alt","fas fa-comment","far fa-comment","fas fa-columns","fas fa-cogs","fas fa-cog","fas fa-coffee","fab fa-codiepie","fab fa-codepen","fas fa-code-branch","fas fa-code","fab fa-cloudversify","fab fa-cloudsmith","fab fa-cloudscale","fas fa-cloud-upload-alt","fas fa-cloud-download-alt","fas fa-cloud","fas fa-closed-captioning","far fa-closed-captioning","fas fa-clone","far fa-clone","fas fa-clock","far fa-clock","fas fa-clipboard-list","fas fa-clipboard-check","fas fa-clipboard","far fa-clipboard","fas fa-circle-notch","fas fa-circle","far fa-circle","fab fa-chrome","fas fa-child","fas fa-chevron-up","fas fa-chevron-right","fas fa-chevron-left","fas fa-chevron-down","fas fa-chevron-circle-up","fas fa-chevron-circle-right","fas fa-chevron-circle-left","fas fa-chevron-circle-down","fas fa-chess-rook","fas fa-chess-queen","fas fa-chess-pawn","fas fa-chess-knight","fas fa-chess-king","fas fa-chess-board","fas fa-chess-bishop","fas fa-chess","fas fa-check-square","far fa-check-square","fas fa-check-circle","far fa-check-circle","fas fa-check","fas fa-chart-pie","fas fa-chart-line","fas fa-chart-bar","far fa-chart-bar","fas fa-chart-area","fas fa-certificate","fab fa-centercode","fab fa-cc-visa","fab fa-cc-stripe","fab fa-cc-paypal","fab fa-cc-mastercard","fab fa-cc-jcb","fab fa-cc-discover","fab fa-cc-diners-club","fab fa-cc-apple-pay","fab fa-cc-amex","fab fa-cc-amazon-pay","fas fa-cart-plus","fas fa-cart-arrow-down","fas fa-caret-up","fas fa-caret-square-up","far fa-caret-square-up","fas fa-caret-square-right","far fa-caret-square-right","fas fa-caret-square-left","far fa-caret-square-left","fas fa-caret-square-down","far fa-caret-square-down","fas fa-caret-right","fas fa-caret-left","fas fa-caret-down","fas fa-car","fas fa-capsules","fas fa-camera-retro","fas fa-camera","fas fa-calendar-times","far fa-calendar-times","fas fa-calendar-plus","far fa-calendar-plus","fas fa-calendar-minus","far fa-calendar-minus","fas fa-calendar-check","far fa-calendar-check","fas fa-calendar-alt","far fa-calendar-alt","fas fa-calendar","far fa-calendar","fas fa-calculator","fab fa-buysellads","fas fa-bus","far fa-angry","far fa-dizzy","far fa-flushed","far fa-frown-open","far fa-grimace","far fa-grin-alt","far fa-grin-beam-sweat","far fa-grin-beam","far fa-grin-hearts","far fa-grin-squint-tears","far fa-grin-squint","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-tongue","far fa-grin-wink","far fa-grin","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-kiss","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-laugh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-sad-cry","far fa-sad-tear","far fa-smile-beam","far fa-smile-wink","far fa-surprise","far fa-tired","fab fa-acquisitions-incorporated","fab fa-alipay","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-d-and-d-beyond","fab fa-dev","fab fa-ello","fab fa-fantasy-flight-games","fab fa-hackerrank","fab fa-hornbill","fab fa-kaggle","fab fa-mailchimp","fab fa-markdown","fab fa-megaport","fab fa-neos","fab fa-nimblr","fab fa-penny-arcade","fab fa-rev","fab fa-shopware","fab fa-squarespace","fab fa-the-red-yeti","fab fa-themeco","fab fa-think-peaks","fab fa-weebly","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wpressr","fab fa-zhihu","fas fa-ad","fas fa-air-freshener","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archway","fas fa-atlas","fas fa-atom","fas fa-award","fas fa-backspace","fas fa-bezier-curve","fas fa-bible","fas fa-blender-phone","fas fa-blender","fas fa-bone","fas fa-bong","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-brain","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bus-alt","fas fa-business-time","fas fa-campground","fas fa-cannabis","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-cat","fas fa-chair","fas fa-chalkboard-teacher","fas fa-chalkboard","fas fa-charging-station","fas fa-check-double","fas fa-church","fas fa-city","fas fa-cloud-moon","fas fa-cloud-sun","fas fa-cocktail","fas fa-coins","fas fa-comment-dollar","fas fa-comments-dollar","fas fa-compact-disc","fas fa-concierge-bell","fas fa-cookie-bite","fas fa-cookie","fas fa-crop-alt","fas fa-cross","fas fa-crow","fas fa-crown","fas fa-dharmachakra","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-dice","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dog","fas fa-door-closed","fas fa-door-open","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum-steelpan","fas fa-drum","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dungeon","fas fa-envelope-open-text","fas fa-equals","fas fa-feather-alt","fas fa-feather","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-export","fas fa-file-import","fas fa-file-invoice-dollar","fas fa-file-invoice","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-fill-drip","fas fa-fill","fas fa-fingerprint","fas fa-fish","fas fa-fist-raised","fas fa-flushed","fas fa-folder-minus","fas fa-folder-plus","fas fa-frog","fas fa-frown-open","fas fa-funnel-dollar","fas fa-gas-pump","fas fa-ghost","fas fa-glass-martini-alt","fas fa-glasses","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-gopuram","fas fa-greater-than-equal","fas fa-greater-than","fas fa-grimace","fas fa-grin-alt","fas fa-grin-beam-sweat","fas fa-grin-beam","fas fa-grin-hearts","fas fa-grin-squint-tears","fas fa-grin-squint","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-tongue","fas fa-grin-wink","fas fa-grin","fas fa-grip-horizontal","fas fa-grip-vertical","fas fa-hammer","fas fa-hamsa","fas fa-hanukiah","fas fa-hat-wizard","fas fa-haykal","fas fa-headphones-alt","fas fa-headset","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-horse","fas fa-hot-tub","fas fa-hotel","fas fa-house-damage","fas fa-hryvnia","fas fa-infinity","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-khanda","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiss","fas fa-kiwi-bird","fas fa-landmark","fas fa-laptop-code","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-laugh","fas fa-layer-group","fas fa-less-than-equal","fas fa-less-than","fas fa-luggage-cart","fas fa-mail-bulk","fas fa-map-marked-alt","fas fa-map-marked","fas fa-marker","fas fa-mask","fas fa-medal","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-microphone-alt-slash","fas fa-microphone-alt","fas fa-microscope","fas fa-money-bill-wave-alt","fas fa-money-bill-wave","fas fa-money-bill","fas fa-money-check-alt","fas fa-money-check","fas fa-monument","fas fa-mortar-pestle","fas fa-mosque","fas fa-mountain","fas fa-network-wired","fas fa-not-equal","fas fa-oil-can","fas fa-om","fas fa-otter","fas fa-paint-roller","fas fa-palette","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-peace","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen","fas fa-pencil-ruler","fas fa-percentage","fas fa-place-of-worship","fas fa-plane-arrival","fas fa-plane-departure","fas fa-poll-h","fas fa-poll","fas fa-poop","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-project-diagram","fas fa-quran","fas fa-receipt","fas fa-ring","fas fa-robot","fas fa-route","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-ruler","fas fa-running","fas fa-sad-cry","fas fa-sad-tear","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-search-dollar","fas fa-search-location","fas fa-shapes","fas fa-shoe-prints","fas fa-shuttle-van","fas fa-signature","fas fa-skull-crossbones","fas fa-skull","fas fa-slash","fas fa-smile-beam","fas fa-smile-wink","fas fa-smoking-ban","fas fa-socks","fas fa-solar-panel","fas fa-spa","fas fa-spider","fas fa-splotch","fas fa-spray-can","fas fa-square-root-alt","fas fa-stamp","fas fa-star-and-crescent","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-store-alt","fas fa-store","fas fa-stream","fas fa-stroopwafel","fas fa-suitcase-rolling","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-teeth-open","fas fa-teeth","fas fa-theater-masks","fas fa-tint-slash","fas fa-tired","fas fa-toilet-paper","fas fa-toolbox","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-traffic-light","fas fa-truck-monster","fas fa-truck-pickup","fas fa-tshirt","fas fa-umbrella-beach","fas fa-user-injured","fas fa-vector-square","fas fa-vihara","fas fa-volume-mute","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-weight-hanging","fas fa-wind","fas fa-wine-bottle","fas fa-wine-glass-alt","fas fa-yin-yang"];t.a=a},function(e,t,n){!function(t,a){e.exports=a(n(13),n(2),n(0),n(17),n(239))}(window,function(e,t,n,a,r){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var n=[],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},e);return Object.keys(a).forEach(function(e){n=o(n).concat(o(a[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=o(e);n.sort();var a=o(t);return a.sort(),JSON.stringify(n)===JSON.stringify(a)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==a(e)||Array.isArray(e)?Array.isArray(e)?"array":a(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,a=e.length;if(a>n)return!1;if(a===n)return e===t;e:for(var r=0,o=0;r<a;r++){for(var i=e.codePointAt(r);o<n;)if(t.codePointAt(o++)===i)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var a=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(a,r)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=n(6),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,a=window,r=a.innerWidth,o=a.pageYOffset,i=document.documentElement.clientHeight,l=(0,p.getOffset)(n.props.domRef.current),u=l.left,s=l.top,c="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,f=(0,p.getOffset)(c),d=n.props.btnRef.current,m=n.props.domRef.current,g=(0,p.getOffset)(d),h=getComputedStyle(d),b=(parseInt(h.borderTop,10)||0)+(parseInt(h.borderBottom,10)||0);if(u+e>r-20){var v=g.left+n.props.btnRef.current.offsetWidth-(e+f.left);v+f.left<0&&(v=10-f.left),m.style.left="".concat(v,"px")}t+s-o>i&&g.top-t>0&&("self"===n.state.appendRoot?m.style.top="-".concat(t-b,"px"):m.style.top="".concat(g.top+b-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,p.debounce)(n.syncPortalPosition,250),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,f.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),i(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,p.getOffset)(t),a=(0,p.getOffset)(this.state.appendRoot),r=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-a.left,"px"),this.props.domRef.current.style.top="".concat(n.top+r,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,f.default)(this.props.className,this.state.portalClasses),t=u.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:c.default.oneOfType([c.default.bool,c.default.string]),children:c.default.node.isRequired,domRef:c.default.object.isRequired,btnRef:c.default.object.isRequired,className:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?u(this):a,Object.defineProperty(u(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=n.props.currentPage,o=n.state.totalPage;null!==a?"next"===a?r+=1:r-=1:r=parseInt(e.target.value,10)-1,r<0&&(r=0),r>o-1&&(r=o-1),t=r+1,null===a&&Number.isNaN(r)&&(r=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(r)}}),Object.defineProperty(u(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(u(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(u(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),r=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(a,r,e.currentSearch),i=o.activeIcons,l=o.activeTitles,u=e.currentPage,s=e.iconsPerPage,c={iconView:t.getCurrentViewIcons(i,s,u),titleView:t.getCurrentViewIcons(l,s,u),totalPage:Math.ceil(i.length/s)};return""!==n.viewPage&&(c.viewPage=e.currentPage+1),c}},{key:"getActiveIcons",value:function(e,t,n){var a=o(e),r=o(t);if(""===n||null===n)return{activeIcons:a,activeTitles:r};var i=[],l=[];return a.forEach(function(e,a){(0,p.fuzzySearch)(n,t[a])&&(i.push(e),l.push(t[a]))}),{activeIcons:i,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var a=null,r=(0,p.getSourceType)(n);if(Array.isArray(t)){if("object"!==r)throw new p.InvalidSourceException(r,"object")}else if("array"!==r)throw new p.InvalidSourceException(r,"array");return 0!==e&&Array.isArray(t)&&(a=t[e]||null),(0,p.flattenPossiblyCategorizedSource)(n,a)}},{key:"getCurrentViewIcons",value:function(e,t,n){var a=n*t,r=(n+1)*t;return e.slice(a,r)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var a=(0,f.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:a,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:c.default.arrayOf(c.default.string),currentCategory:c.default.number,isMulti:c.default.bool.isRequired,icons:c.default.oneOfType([c.default.arrayOf(c.default.string),c.default.arrayOf(c.default.number),c.default.objectOf(c.default.oneOfType([c.default.arrayOf(c.default.number),c.default.arrayOf(c.default.string)]))]).isRequired,search:c.default.oneOfType([c.default.objectOf(c.default.arrayOf(c.default.string)),c.default.arrayOf(c.default.string)]),value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,currentSearch:c.default.string.isRequired,handleChangeValue:c.default.func.isRequired,currentPage:c.default.number.isRequired,iconsPerPage:c.default.number.isRequired,handleChangePage:c.default.func.isRequired,renderIcon:c.default.func.isRequired,noIconPlaceholder:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(1)),o=a(n(0)),i=function(e){return r.default.createElement("div",{className:"rfipsearch"},r.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};i.propTypes={handleSearch:o.default.func.isRequired,value:o.default.string.isRequired,placeholder:o.default.string.isRequired};var l=i;t.default=l},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(1)),l=a(n(0)),u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.PureComponent),n=t,(a=[{key:"render",value:function(){return i.default.createElement("div",{className:"rfipcategory"},i.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return i.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),i.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&o(n.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=u;t.default=s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=a(n(0)),c=a(n(10)),f=a(n(9)),p=a(n(8)),d=n(2),m=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,d.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),i(t,[{key:"render",value:function(){return u.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?u.default.createElement(f.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?u.default.createElement(c.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,u.default.createElement(p.default,{categories:this.state.categories,currentCategory:this.props.currentCategory,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,value:this.props.value,currentSearch:this.props.currentSearch,handleChangeValue:this.props.handleChangeValue,currentPage:this.props.currentPage,iconsPerPage:this.props.iconsPerPage,handleChangePage:this.props.handleChangePage,renderIcon:this.props.renderIcon,noIconPlaceholder:this.props.noIconPlaceholder}))}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var g=m;t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return l(a,(n=a=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),Object.defineProperty(u(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(u(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(u(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),n))}var n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),n=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"\xd7"))}},{key:"renderCurrentIcons",value:function(){var e=this;return this.props.isMulti?this.props.value.length?this.props.value.map(function(t){return e.renderIcon(t)}):this.renderEmptyIcon():this.renderIcon(this.props.value)}},{key:"render",value:function(){var e={onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:0},t=(0,f.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,f.default)(this.props.className);return s.default.createElement("div",o({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&i(n.prototype,a),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.default.string.isRequired,isOpen:c.default.bool.isRequired,onClick:c.default.func.isRequired,domRef:c.default.object.isRequired,isMulti:c.default.bool.isRequired,value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,renderIcon:c.default.func.isRequired,handleDeleteValue:c.default.func.isRequired,noSelectedPlaceholder:c.default.string.isRequired}});var d=p;t.default=d},function(e,t){e.exports=r},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=a(n(1)),f=a(n(0)),p=a(n(3)),d=n(13),m=a(n(12)),g=a(n(11)),h=a(n(7)),b=n(2),v=[],y="",w=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?s(this):a,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={isOpen:e};return r.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),r.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),r.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),a&&n.setState(r),r}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=o(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=v):t.push(e):t=e===n.state.value?y:e,n.setState({value:t}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a;a=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(a,n.props.isMulti),n.setState({value:a}),n.props.onChange(a)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t);n.fipPortalComputedStyle={height:a.height,paddingTop:a.paddingTop,paddingBottom:a.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t).height;t.style.maxHeight=a}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return c.default.createElement("i",{className:e});var t=i({},n.props.renderUsing,n.props.convertHex?(0,b.convertToHex)(e):e);return c.default.createElement("i",t)}}),n.fipButtonRef=c.default.createRef(),n.fipDropDownRef=c.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),u(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a={};return a.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),a.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),a.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),a.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(a.currentCategory=0,a.currentPage=0),e.showSearch||(a.currentSearch="",a.currentPage=0),a}},{key:"getDerivedClassName",value:function(e,t,n,a){return(0,p.default)(e,"".concat(e,"--").concat(t),i({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(a?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?o(e):v:"number"!=typeof e&&"string"!=typeof e&&(n=y),n}}]),u(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach(function(t){document.addEventListener(t,e.handleOuterClick,!1)}),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach(function(t){document.removeEventListener(t,e.handleOuterClick,!1)}),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return c.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},c.default.createElement(m.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),c.default.createElement(d.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},c.default.createElement(h.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},c.default.createElement(g.default,e))))}}]),t}();Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.objectOf(f.default.oneOfType([f.default.arrayOf(f.default.number),f.default.arrayOf(f.default.string)]))]).isRequired,search:f.default.oneOfType([f.default.objectOf(f.default.arrayOf(f.default.string)),f.default.arrayOf(f.default.string)]),iconsPerPage:f.default.number,theme:f.default.string,onChange:f.default.func.isRequired,showCategory:f.default.bool,showSearch:f.default.bool,value:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.number,f.default.string]),isMulti:f.default.bool,renderUsing:f.default.string,convertHex:f.default.bool,renderFunc:f.default.func,appendTo:f.default.oneOfType([f.default.bool,f.default.string]),allCatPlaceholder:f.default.string,searchPlaceholder:f.default.string,noIconPlaceholder:f.default.string,noSelectedPlaceholder:f.default.string}}),Object.defineProperty(w,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon"}}),Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=w;t.default=_},function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n(14))&&a.__esModule?a:{default:a}).default;t.default=r}]).default})},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a};e.exports=n(227)(r,!0)}else e.exports=n(228)()}).call(t,n(1))},function(e,t,n){function a(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var r=n(24),o=1/0;e.exports=a},function(e,t,n){"use strict";function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";(function(t){function a(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==t.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(e){console.error(e)}}}"production"===t.env.NODE_ENV?(a(),e.exports=n(231)):e.exports=n(234)}).call(t,n(1))},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(117),o=n(118),i=n(119),l=n(120),u=n(121);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}var r=n(28);e.exports=a},function(e,t,n){var a=n(4),r=a.Symbol;e.exports=r},function(e,t,n){var a=n(7),r=a(Object,"create");e.exports=r},function(e,t,n){function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}var r=n(141);e.exports=a},function(e,t,n){function a(e,t){return r(e)?e:o(e,t)?[e]:i(l(e))}var r=n(5),o=n(35),i=n(171),l=n(70);e.exports=a},function(e,t,n){function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}var r=n(9),o=n(10),i="[object Symbol]";e.exports=a},function(e,t,n){"use strict";(function(t){function n(e,t,n,r,o,i,l,u){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,l,u],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};"production"!==t.env.NODE_ENV&&(a=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=n(2),i=a(o),l=n(17),u=a(l),s=t.getOnDemandLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},c=(t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)t.push(r);return t},t.lazyStartIndex=function(e){return e.currentSlide-p(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},p=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},d=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},m=t.getWidth=function(e){return e&&e.offsetWidth||0},g=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,a=Math.atan2(n,t),r=Math.round(180*a/Math.PI),r<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===o?r>=35&&r<=135?"up":"down":"vertical"},b=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},v=(t.extractObject=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(m(u.default.findDOMNode(e.listRef))),a=Math.ceil(m(u.default.findDOMNode(e.trackRef))),r=void 0;if(e.vertical)r=n;else{var o=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(o*=n/100),r=Math.ceil((n-o)/e.slidesToShow)}var l=u.default.findDOMNode(e.listRef)&&g(u.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),c=l*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=t-1-e.initialSlide);var p=e.lazyLoadedList||[],d=s({currentSlide:f,lazyLoadedList:p},e);p.concat(d);var h={slideCount:t,slideWidth:r,listWidth:n,trackWidth:a,currentSlide:f,slideHeight:l,listHeight:c,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,o=e.infinite,i=e.index,l=e.slideCount,u=e.lazyLoadedList,c=e.lazyLoad,f=e.currentSlide,p=e.centerMode,d=e.slidesToScroll,m=e.slidesToShow,g=e.useCSS;if(t&&n)return{};var h=i,v=void 0,y=void 0,w=void 0,_={},x={};if(a){if(!o&&(i<0||i>=l))return{};i<0?h=i+l:i>=l&&(h=i-l),c&&u.indexOf(h)<0&&u.push(h),_={animating:!0,currentSlide:h,lazyLoadedList:u},x={animating:!1}}else v=h,h<0?(v=h+l,o?l%d!==0&&(v=l-l%d):v=0):!b(e)&&h>f?h=v=f:p&&h>=l?(h=o?l:l-1,v=o?0:l-1):h>=l&&(v=h-l,o?l%d!==0&&(v=0):v=l-m),y=C(r({},e,{slideIndex:h})),w=C(r({},e,{slideIndex:v})),o||(y===w&&(h=v),y=w),c&&u.concat(s(r({},e,{currentSlide:h}))),g?(_={animating:!0,currentSlide:v,trackStyle:E(r({},e,{left:y})),lazyLoadedList:u},x={animating:!1,currentSlide:v,trackStyle:k(r({},e,{left:w})),swipeLeft:null}):_={currentSlide:v,trackStyle:k(r({},e,{left:w})),lazyLoadedList:u};return{state:_,nextState:x}},t.changeSlide=function(e,t){var n,a,o,i,l,u=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,f=e.currentSlide,p=e.lazyLoad,d=e.infinite;if(i=c%u!==0,n=i?0:(c-f)%u,"previous"===t.message)o=0===n?u:s-n,l=f-o,p&&!d&&(a=f-o,l=-1===a?c-1:a);else if("next"===t.message)o=0===n?u:n,l=f+o,p&&!d&&(l=(f+u)%c+n);else if("dots"===t.message){if((l=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((l=t.index)===t.currentSlide)return null;if(d){var m=P(r({},e,{targetSlide:l}));l>t.currentSlide&&"left"===m?l-=c:l<t.currentSlide&&"right"===m&&(l+=c)}}else if("index"===t.message&&(l=Number(t.index))===t.currentSlide)return null;return l},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,a=t.animating,o=t.vertical,i=t.swipeToSlide,l=t.verticalSwiping,u=t.rtl,s=t.currentSlide,c=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,d=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,y=t.infinite,w=t.touchObject,_=t.swipeEvent,E=t.listHeight,x=t.listWidth;if(!n){if(a)return e.preventDefault();o&&i&&l&&e.preventDefault();var S=void 0,T={},P=C(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var O=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!l&&!m&&O>10)return{scrolling:!0};l&&(w.swipeLength=O);var N=(u?-1:1)*(w.curX>w.startX?1:-1);l&&(N=w.curY>w.startY?1:-1);var R=Math.ceil(g/v),I=h(t.touchObject,l),j=w.swipeLength;return y||(0===s&&"right"===I||s+1>=R&&"left"===I||!b(t)&&"left"===I)&&(j=w.swipeLength*c,!1===f&&p&&(p(I),T.edgeDragged=!0)),(!d&&_&&(_(I),T.swiped=!0),S=o?P+j*(E/x)*N:u?P-j*N:P+j*N,l&&(S=P+j*N),T=r({},T,{touchObject:w,swipeLeft:S,trackStyle:k(r({},t,{left:S}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY))?T:(w.swipeLength>10&&(T.swiping=!0,e.preventDefault()),T)}},t.swipeEnd=function(e,t){var n=t.dragging,a=t.swipe,o=t.touchObject,i=t.listWidth,l=t.touchThreshold,u=t.verticalSwiping,s=t.listHeight,c=t.currentSlide,f=t.swipeToSlide,p=t.scrolling,d=t.onSwipe;if(!n)return a&&e.preventDefault(),{};var m=u?s/l:i/l,g=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return b;if(!o.swipeLength)return b;if(o.swipeLength>m){e.preventDefault(),d&&d(g);var v=void 0,_=void 0;switch(g){case"left":case"up":_=c+w(t),v=f?y(t,_):_,b.currentDirection=0;break;case"right":case"down":_=c-w(t),v=f?y(t,_):_,b.currentDirection=1;break;default:v=c}b.triggerSlideHandler=v}else{var k=C(t);b.trackStyle=E(r({},t,{left:k}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r}),y=t.checkNavigable=function(e,t){var n=v(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t},w=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,a=u.default.findDOMNode(e.listRef),r=a.querySelectorAll(".slick-slide");if(Array.from(r).every(function(a){if(e.vertical){if(a.offsetTop+g(a)/2>-1*e.swipeLeft)return n=a,!1}else if(a.offsetLeft-t+m(a)/2>-1*e.swipeLeft)return n=a,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},_=t.checkSpecKeys=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},k=t.getTrackCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=T(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:i,transform:l,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},E=t.getTrackAnimateCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},C=t.getTrackLeft=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,a=e.slideIndex,r=e.trackRef,o=e.infinite,i=e.centerMode,l=e.slideCount,s=e.slidesToShow,c=e.slidesToScroll,f=e.slideWidth,p=e.listWidth,d=e.variableWidth,m=e.slideHeight,g=e.fade,h=e.vertical,b=0,v=0;if(g||1===e.slideCount)return 0;var y=0;if(o?(y=-x(e),l%c!==0&&a+c>l&&(y=-(a>l?s-(a-l):l%c)),i&&(y+=parseInt(s/2))):(l%c!==0&&a+c>l&&(y=s-l%c),i&&(y=parseInt(s/2))),b=y*f,v=y*m,t=h?a*m*-1+v:a*f*-1+b,!0===d){var w,k=u.default.findDOMNode(r);if(w=a+x(e),n=k&&k.childNodes[w],t=n?-1*n.offsetLeft:0,!0===i){w=o?a+x(e):a,n=k&&k.children[w],t=0;for(var E=0;E<w;E++)t-=k&&k.children[E]&&k.children[E].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(p-n.offsetWidth)/2}}return t},x=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},S=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},T=t.getTotalSlides=function(e){return 1===e.slideCount?1:x(e)+e.slideCount+S(e)},P=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-N(e)?"right":"left"},O=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2===0&&(o+=1),o}return a?0:t-1},N=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!==0||(o+=1),o}return a?t-1:0};t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Map");e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(133),o=n(140),i=n(142),l=n(143),u=n(144);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}var a=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}var a=9007199254740991;e.exports=n},function(e,t,n){function a(e,t){t=r(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}var r=n(23),o=n(14);e.exports=a},function(e,t,n){function a(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(l.test(e)||!i.test(e)||null!=t&&e in Object(t))}var r=n(5),o=n(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=a},function(e,t){function n(e){return a.test(e)}var a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){function a(e,n,a,l,u){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var c;try{if("function"!==typeof e[s]){var f=Error((l||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.");throw f.name="Invariant Violation",f}c=e[s](n,s,l,a,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var p=u?u():"";r("Failed "+a+" type: "+c.message+(null!=p?p:""))}}}var r=function(){};if("production"!==t.env.NODE_ENV){var o=n(37),i={};r=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=a}).call(t,n(1))},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.dateBottomspace,a=t.backgroundColor,r=t.separatorColor,o=t.separatorFillColor,i=t.separatorBg,l=t.separatorBorder,u=t.borderFocus,s=t.verticalSpace,c=t.horizontalSpace,f=t.separatorwidth,p=t.borderwidth,d=t.connectorBgsize,m=t.borderRadius,g=t.bgPadding,h=(t.width,t.readMoreText,t.icon,t.iconColor),b=t.dateFontsize,v=t.dateColor,y=t.iconSize,w=t.iconFocus,_=t.iconBgFocus,k=t.block_id,E=t.headFontSize,C=t.align,x=t.headingColor,S=t.headSpace,T=t.subHeadFontSize,P=t.subHeadingColor;if(e.clientId)var O=e.clientId;else var O=k;var N={};N[".uagb-timeline__heading"]={"font-size":E+"px","text-align":C,color:x},N[".uagb-timeline__heading a"]={"font-size":E+"px","text-align":C,color:x},N[".uagb-timeline__heading-text"]={"margin-bottom":S+"px"},N[".uagb-timeline-desc-content"]={"font-size":T+"px","text-align":C,color:P},N[".uagb-timeline__events-new"]={"text-align":C},N[".uagb-timeline__date-inner"]={"text-align":C},N[".uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},N[".uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},N[".uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},N[".uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},N[".uagb-timeline__line__inner"]={"background-color":o},N[".uagb-timeline__line"]={"background-color":r,width:f+"px"},N[".uagb-timeline__right-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},N[".uagb-timeline__left-block .uagb-timeline__line"]={left:"calc( "+d+"px / 2 )"},N[".uagb-timeline__center-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},N[".uagb-timeline__marker"]={"background-color":i,"min-height":d+"px","min-width":d+"px","line-height":d+"px",border:p+"px solid"+l},N[".uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},N[".uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},N[".uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},N[".uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},N[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":c+"px","margin-right":c+"px"},N[".uagb-timeline__field:not(:last-child)"]={"margin-bottom":s+"px"},N[".uagb-timeline__date-hide.uagb-timeline__date-inner"]={"margin-bottom":n+"px",color:v,"font-size":b+"px","text-align":C},N[".uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},N[".uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-right":c+"px"},N[".uagb-timeline__date-new"]={color:v,"font-size":b+"px"},N[".uagb-timeline__events-inner-new"]={"background-color":a,"border-radius":m+"px",padding:g+"px"},N[".uagb-timeline__main .uagb-timeline__icon-new"]={color:h,"font-size":y+"px"},N[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon"]={background:_,"border-color":u},N[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new"]={color:w};var R={};R[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":"0px","margin-right":"0px"},R[".uag