Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | Gutenberg Blocks and Template Library by Otter |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- CHANGELOG.md +14 -2
- build/build.js +12 -12
- class-otter-blocks.php +44 -25
- otter-blocks.php +9 -4
- readme.md +18 -1
- readme.txt +18 -1
- vendor/autoload.php +2 -2
- vendor/codeinwp/gutenberg-animation/CHANGELOG.md +8 -0
- vendor/codeinwp/gutenberg-animation/README.md +16 -1
- vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php +24 -14
- vendor/codeinwp/gutenberg-animation/load.php +10 -9
- vendor/codeinwp/gutenberg-blocks/CHANGELOG.md +20 -0
- vendor/codeinwp/gutenberg-blocks/autoloader.php +27 -22
- vendor/codeinwp/gutenberg-blocks/build/blocks.js +1 -1
- vendor/codeinwp/gutenberg-blocks/build/chunk-1.js +0 -1
CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
|
|
1 |
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
**Changes:**
|
4 |
* - Added Slider Block
|
5 |
* - Fixed issue with extensions failing with ServerSideRenderer
|
@@ -140,4 +153,3 @@
|
|
140 |
**Changes:**
|
141 |
* Adds docker env.
|
142 |
* Adds hash back.
|
143 |
-
|
1 |
+
##### [Version 1.3.2](https://github.com/Codeinwp/otter-blocks/compare/v1.3.1...v1.3.2) (2020-01-10)
|
2 |
|
3 |
+
- Add Slider Transforms [#142](https://github.com/Codeinwp/otter-blocks/issues/142)
|
4 |
+
- Improve Onboarding Experience & New Icons: [#144](https://github.com/Codeinwp/otter-blocks/issues/144)
|
5 |
+
- Remove deprecated blocks: [#103](https://github.com/Codeinwp/otter-blocks/issues/103)
|
6 |
+
- React Hooks: [#145](https://github.com/Codeinwp/otter-blocks/issues/145)
|
7 |
+
- Remove background from Posts Block: [#149](https://github.com/Codeinwp/otter-blocks/issues/149)
|
8 |
+
- Allow changing Title tag in Posts Block: [#147](https://github.com/Codeinwp/otter-blocks/issues/147)
|
9 |
+
- Change Category from H6 to Span: [#148](https://github.com/Codeinwp/otter-blocks/issues/148)
|
10 |
+
- Option to remove the image's box-shadow: [#146](https://github.com/Codeinwp/otter-blocks/issues/146)
|
11 |
+
- Fix domino effect in Sizing Component: [#151](https://github.com/Codeinwp/otter-blocks/issues/151)
|
12 |
+
- Add tracking toggle to Option Page
|
13 |
+
- Use React Hooks for Option Panel
|
14 |
+
|
15 |
+
### v1.3.1 - 2019-12-03
|
16 |
**Changes:**
|
17 |
* - Added Slider Block
|
18 |
* - Fixed issue with extensions failing with ServerSideRenderer
|
153 |
**Changes:**
|
154 |
* Adds docker env.
|
155 |
* Adds hash back.
|
|
build/build.js
CHANGED
@@ -1,11 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
2 |
-
/**
|
3 |
-
* @license nested-property https://github.com/cosmosio/nested-property
|
4 |
-
*
|
5 |
-
* The MIT License (MIT)
|
6 |
-
*
|
7 |
-
* Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
|
8 |
-
*/e.exports={set:function(e,t,n){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o=t.split(".");return o.reduce((function(e,t,r){return e[t]=e[t]||{},o.length==r+1&&(e[t]=n),e[t]}),e)}return"number"==typeof t?(e[t]=n,e[t]):e}return e},get:function(e,t){return e&&"object"==typeof e?"string"==typeof t&&""!==t?t.split(".").reduce((function(e,t){return e&&e[t]}),e):"number"==typeof t?e[t]:e:e},has:function(e,t,n){return n=n||{},!(!e||"object"!=typeof e)&&("string"==typeof t&&""!==t?t.split(".").reduce((function(e,t,o,r){return o==r.length-1?n.own?!(!e||!e.hasOwnProperty(t)):!!(null!==e&&"object"==typeof e&&t in e):e&&e[t]}),e):"number"==typeof t&&t in e)},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,t,n,o){if(o=o||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var r,i=t.split("."),a=!1;return r=!!i.reduce((function(e,t){return a=a||e===n||!!e&&e[t]===n,e&&e[t]}),e),o.validPath?a&&r:a}return!1}return!1}}},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):o[r]=i(t[r],n))})),o}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||o,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var p=u;e.exports=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var o=n(14),r=n.n(o),i=n(3),a=n.n(i);function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return"number"==typeof e}))}t.a=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var o=a.a.get(e,n),i=a.a.get(t,n);return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return Array.isArray(e)}))}(o,i)||function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(o,i)?!!r.a.diff(o,i):o!==i},changedFrom:function(n,o,r){if(!n)throw new Error("Key parameter is required");var i=void 0!==o&&void 0!==r,s=a.a.get(e,n),l=a.a.get(t,n),c=Array.isArray(o)?o.includes(s):s===o,u=Array.isArray(r)?r.includes(l):l===r;return c&&(i?u:!i)},changedTo:function(n,o){if(!n)throw new Error("Key parameter is required");var r=a.a.get(e,n),i=a.a.get(t,n),s=Array.isArray(o)?!o.includes(r):r!==o,l=Array.isArray(o)?o.includes(i):i===o;return s&&l},increased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)<a.a.get(t,n)},decreased:function(n){if(!n)throw new Error("Key parameter is required");return s(a.a.get(e,n),a.a.get(t,n))&&a.a.get(e,n)>a.a.get(t,n)}}}},function(e,t){var n="undefined"!=typeof window?window:{},o="undefined"!=typeof document?document:{documentElement:{}},r=void 0===n.pageYOffset?o.documentElement:null;e.exports=function(){return r||(e=window.pageYOffset,document.documentElement.scrollTop=e+1,r=window.pageYOffset>e?(document.documentElement.scrollTop=e,document.documentElement):document.scrollingElement||document.body);var e}},function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){var o;
|
9 |
/*!
|
10 |
Copyright (c) 2015 Jed Watson.
|
11 |
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
@@ -35,17 +28,24 @@
|
|
35 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
36 |
* SOFTWARE.
|
37 |
*/
|
38 |
-
var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function b(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function g(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:g("Height",t,n,o),width:g("Width",t,n,o)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),O=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function T(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function k(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),o=y(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?v(e.ownerDocument):{},s=i.width||e.clientWidth||r.width,l=i.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var p=a(e);c-=b(p,"x"),u-=b(p,"y"),r.width-=c,r.height-=u}return T(r)}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=k(e),s=k(t),c=l(e),u=a(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=T({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(u.marginTop,10),b=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-b,h.right-=d-b,h.marginTop=m,h.marginLeft=b}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(h,t)),h}function P(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},u=r?P(e):m(e,c(t));if("viewport"===o)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=N(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left");return T({top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i})}(u,r);else{var p=void 0;"scrollParent"===o?"BODY"===(p=l(s(t))).nodeName&&(p=e.ownerDocument.documentElement):p="window"===o?e.ownerDocument.documentElement:o;var f=N(p,u,r);if("HTML"!==p.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(t,"position"))return!0;var o=s(t);return!!o&&e(o)}(u))i=f;else{var d=v(e.ownerDocument),h=d.height,b=d.width;i.top+=f.top-f.marginTop,i.bottom=h+f.top,i.left+=f.left-f.marginLeft,i.right=b+f.left}}var g="number"==typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function I(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=C(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return S({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function R(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return N(n,o?P(t):m(t,c(n)),o)}function x(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function _(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function j(e,t,n){n=n.split("-")[0];var o=x(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[_(s)],r}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=M(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=T(t.offsets.popper),t.offsets.reference=T(t.offsets.reference),t=n(t,e))})),t}function L(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function D(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function B(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function F(){return this.state.isDestroyed=!0,D(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[B("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,o){n.updateBound=o,q(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(l(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function H(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function G(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&H(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var V=n&&/Firefox/i.test(navigator.userAgent);function Y(e,t,n){var o=M(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var K=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$=K.slice(3);function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=$.indexOf(e),o=$.slice(n+1).concat($.slice(0,n));return t?o.reverse():o}var J={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Q(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(M(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return T(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){H(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var Z={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:O({},l,i[l]),end:O({},l,i[l]+i[c]-a[c])};e.offsets.popper=S({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=H(+n)?[+n,0]:Q(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=B("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=C(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),O({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),O({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=x(o)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=T(e.offsets.popper);var y=l[f]+l[u]/2-m/2,b=a(e.instance.popper),g=parseFloat(b["margin"+p],10),v=parseFloat(b["border"+p+"Width"],10),w=y-e.offsets.popper[f]-g-v;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(O(n={},f,Math.round(w)),O(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(D(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=C(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=_(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case J.FLIP:a=[o,r];break;case J.CLOCKWISE:a=X(o);break;case J.COUNTERCLOCKWISE:a=X(o,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=_(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),b="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,g=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&y),w=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&d||!g&&"start"===i&&y||!g&&"end"===i&&m),E=v||w;(f||b||E)&&(e.flipped=!0,(f||b)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=A(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=_(t),e.offsets.popper=T(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=M(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),l=k(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!V),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=B("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var b="bottom"===p?-1:1,g="right"===f?-1:1;c[p]=y*b,c[f]=m*g,c.willChange=p+", "+f}var v={"x-placement":e.placement};return e.attributes=S({},v,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return G(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&G(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=R(r,t,e,n.positionFixed),a=I(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),G(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ee=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return E(e,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),e}();ee.Utils=("undefined"!=typeof window?window:e).PopperUtils,ee.placements=K,ee.Defaults=Z,t.a=ee}).call(this,n(13))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function p(e){var t=0,n=c(e);if("array"===n)return e.forEach((function(e){t+=p(e)})),t+u("[type: array, hash: "+t+"]");if("object"===n){for(var o in e)if(e.hasOwnProperty(o)){var r="[ type: object, key: "+o+", value hash: "+p(e[o])+"]";t+=u(r)}return t}return t+u("[ type: "+n+" ; value: "+e+"]")}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var b,g,v,w,E=typeof e,O=typeof t,S="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),T="undefined"!==O||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!S&&T)n.push(new i(m,t));else if(!T&&S)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(b=d.length-1;b>-1;--b)if(d[b].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return p(e)-p(t)})),t.sort((function(e,t){return p(e)-p(t)}))),b=t.length-1,g=e.length-1;b>g;)n.push(new s(m,b,new i(void 0,t[b--])));for(;g>b;)n.push(new s(m,g,new a(void 0,e[g--])));for(;b>=0;--b)f(e[b],t[b],n,o,m,b,d,h)}else{var k=Object.keys(e),N=Object.keys(t);for(b=0;b<k.length;++b)v=k[b],(w=N.indexOf(v))>=0?(f(e[v],t[v],n,o,m,v,d,h),N[w]=null):f(e[v],void 0,n,o,m,v,d,h);for(b=0;b<N.length;++b)(v=N[b])&&f(void 0,t[v],n,o,m,v,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=d(e,t,o?function(e){e&&o.push(e)}:void 0,n);return o||(r.length?r:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}return n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,(function(o){n&&!n(e,t,o)||m(e,t,o)}))},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame((function n(s){if(m)return u(o,t[e]);var l=i();var c=r(1,(l-p)/h);var y=d(c);t[e]=y*(a-f)+f;c<1?requestAnimationFrame(n):requestAnimationFrame((function(){u(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(11),l=n.n(s),c=n(12),u=n(4),p=n.n(u),f=n(2),d=n.n(f),h=n(6),m=n(5),y=n.n(m),b=n(9);function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function E(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,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(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,writable:!0,configurable:!0}}),t&&N(e,t)}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?C(e):t}var R={flip:{padding:20},preventOverflow:{padding:10}},x={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},_=n.n(b).a.canUseDOM,j=void 0!==y.a.createPortal;function M(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function A(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function L(){}var D=function(e){function t(e){var n;return g(this,t),n=I(this,k(t).call(this,e)),_?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):I(n)}return T(t,e),w(t,[{key:"componentDidMount",value:function(){_&&(j||this.renderPortal())}},{key:"componentDidUpdate",value:function(){_&&(j||this.renderPortal())}},{key:"componentWillUnmount",value:function(){_&&this.node&&(j||y.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!_)return null;var e=this.props,t=e.children,n=e.setRef;return j?y.a.createPortal(t,this.node):(n(y.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return j?this.renderReact16():null}}]),t}(r.a.Component);E(D,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var B=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={position:"absolute"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}(r.a.Component);E(B,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var F=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=P(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};F.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var q=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||d.a.boolean(i)||(u.close=r.a.createElement(F,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};q.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var U=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(q,this.props),a===x.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(B,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.isPositioned,a=e.status,s=e.styles,l=s.arrow.length,c=s.floater,u=s.floaterCentered,p=s.floaterClosing,f=s.floaterOpening,d=s.floaterWithAnimation,h=s.floaterWithComponent,m={};return r||(o.startsWith("top")?m.padding="0 0 ".concat(l,"px"):o.startsWith("bottom")?m.padding="".concat(l,"px 0 0"):o.startsWith("left")?m.padding="0 ".concat(l,"px 0 0"):o.startsWith("right")&&(m.padding="0 0 0 ".concat(l,"px"))),[x.OPENING,x.OPEN].includes(a)&&(m=S({},m,{},f)),a===x.CLOSING&&(m=S({},m,{},p)),a!==x.OPEN||t||i||(m=S({},m,{},d)),"center"===o&&(m=S({},m,{},u)),n&&(m=S({},m,{},h)),S({},c,{},m)}}]),t}(r.a.Component);E(U,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,isPositioned:a.a.bool,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var W=function(e){function t(){return g(this,t),I(this,k(t).apply(this,arguments))}return T(t,e),w(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=d.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),E({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:S({},u,{},c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}(r.a.Component);E(W,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var z={zIndex:100};var H=["position","top","right","bottom","left"],G=function(t){function n(e){var t;return g(this,n),E(C(t=I(this,k(n).call(this,e))),"setArrowRef",(function(e){t.arrowRef=e})),E(C(t),"setChildRef",(function(e){t.childRef=e})),E(C(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),E(C(t),"setWrapperRef",(function(e){t.wrapperRef=e})),E(C(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===x.OPENING?x.OPEN:x.IDLE},(function(){var e=t.state.status;n(e===x.OPEN?"open":"close",t.props)}))})),E(C(t),"handleClick",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(A({title:"click",data:[{event:n,status:a===x.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),E(C(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)&&!M()){var r=t.state.status;"hover"===t.event&&r===x.IDLE&&(A({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),E(C(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!d.a.boolean(r)&&!M()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(A({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?![x.OPENING,x.OPEN].includes(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*o)):t.toggle(x.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:x.INIT,statusWrapper:x.INIT},t._isMounted=!1,_&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return T(n,t),w(n,[{key:"componentDidMount",value:function(){if(_){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,A({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:d.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&d.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(_){var n,o=this.props,r=o.autoOpen,i=o.open,a=o.target,s=o.wrapperOptions,l=Object(h.a)(t,this.state),c=l.changedFrom,u=l.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?x.OPENING:x.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),u("status",x.IDLE)&&i?this.toggle(x.OPEN):c("status",x.INIT,x.IDLE)&&r&&this.toggle(x.OPEN),this.popper&&u("status",x.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",x.OPENING)||u("status",x.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];o=function(r){n(r),function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}(e,t,o)},function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}(e,t,o,r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){_&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l?this.setState({status:x.IDLE}):t&&this.floaterRef&&new c.a(t,this.floaterRef,{placement:l,modifiers:{arrow:S({enabled:!a,element:this.arrowRef},this.options.arrow),computeStyle:this.options.computeStyle,flip:S({enabled:!r,behavior:p},this.options.flip),keepTogether:this.options.keepTogether,hide:this.options.hide,inner:this.options.inner,offset:S({offset:"0, ".concat(s,"px")},this.options.offset),preventOverflow:this.options.preventOverflow,shift:this.options.shift},onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:x.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}}),n){var f=d.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(f,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:x.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===x.OPEN?x.CLOSING:x.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.isPositioned,h=i.open,m=i.showCloseButton,y=i.style,b=i.target,g=i.title,v=r.a.createElement(W,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:y,styles:this.styles.wrapper},a),w={};return n?w.wrapperInPortal=v:w.wrapperAsChildren=v,r.a.createElement("span",null,r.a.createElement(D,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:b,zIndex:this.styles.options.zIndex},r.a.createElement(U,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,isPositioned:d,open:h,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:m,status:o,styles:this.styles,title:g}),w.wrapperInPortal),w.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&M()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(R,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(z,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative"},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=[x.IDLE].includes(o)&&[x.IDLE].includes(i)?this.wrapperPopper.styles:s.wrapperPosition,s.wrapper=S({},s.wrapper,{},e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=S({},s.wrapper,{},this.wrapperStyles):["relative","static"].includes(l.position)||(this.wrapperStyles={},r||(H.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=S({},s.wrapper,{},this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!_)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}(r.a.Component);E(G,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:l()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),isPositioned:a.a.bool,offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),E(G,"defaultProps",{autoOpen:!1,callback:L,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:L,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=G}).call(this,n(13))},function(e,t,n){var o;
|
39 |
/*!
|
40 |
Copyright (c) 2017 Jed Watson.
|
41 |
Licensed under the MIT License (MIT), see
|
42 |
http://jedwatson.github.io/classnames
|
43 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=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=r,n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i="notification-item",a={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center",TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center"},s={TOP:"top",BOTTOM:"bottom"},l={SUCCESS:"success",DANGER:"danger",INFO:"info",DEFAULT:"default",WARNING:"warning"},c="SLIDING_ANIMATION_EXIT",u="TOUCH_SLIDING_ANIMATION_EXIT",p="REMOVAL",f={TIMEOUT:1,CLICK:2,TOUCH:3,MANUAL:4},d={DISMISS_ICON_CLASS:"className property of dismissIcon option is required",DISMISS_ICON_CONTENT:"content property of dismissIcon option is required",DISMISS_ICON_STRING:"className property of dismissIcon option must be a String",DISMISS_ICON_INVALID:"content property of dismissIcon option must be a valid React element",ANIMATION_IN:"animationIn option must be an array",ANIMATION_OUT:"animationOut option must be an array",DISMISS_REQUIRED:"duration property of dismiss option is required",DISMISS_NUMBER:"duration property of dismiss option must be a Number",DISMISS_POSITIVE:"duration property of dismiss option must be a positive Number",TITLE_STRING:"title option must be a String.",MESSAGE_REQUIRED:"message option is required",MESSAGE_STRING:"message option must be a String",TYPE_REQUIRED:"type option is required",TYPE_STRING:"type option must be a String",TYPE_NOT_EXISTENT:"type option not found",CONTAINER_REQUIRED:"container option is required",CONTAINER_STRING:"container option must be a String",DISMISSABLE_CLICK_BOOL:"click property of dismissable option must be a Boolean",DISMISSABLE_TOUCH_BOOL:"touch property of dismissable option must be a Boolean",WIDTH_NUMBER:"width option must be a Number",INSERT_STRING:"insert option must be a String",TRANSITION_DURATION_NUMBER:"duration property of transition option must be a Number",TRANSITION_CUBICBEZIER_NUMBER:"cubicBezier property of transition option must be a String",TRANSITION_DELAY_NUMBER:"delay property of transition option must be a Number",TYPE_NOT_FOUND:"custom type not found"};function h(e){return e?"".concat(e,"px"):void 0}function m(e){return null==e}function y(e){return"string"==typeof e}function b(e){return"number"==typeof e}function g(e){return"boolean"==typeof e}function v(e){return!m(e)&&e.constructor===Array}function w(e,t){var n=t.duration,o=t.cubicBezier,r=t.delay,i=e||{};if(m(i.duration)&&(i.duration=n),m(i.cubicBezier)&&(i.cubicBezier=o),m(i.delay)&&(i.delay=r),!b(i.duration))throw new Error(d.TRANSITION_DURATION_NUMBER);if(!y(i.cubicBezier))throw new Error(d.TRANSITION_CUBICBEZIER_NUMBER);if(!b(i.delay))throw new Error(d.TRANSITION_DELAY_NUMBER);return i}function E(e){return e===a.BOTTOM_LEFT||e===a.BOTTOM_RIGHT||e===a.BOTTOM_CENTER}function O(e){return e===a.TOP_LEFT||e===a.TOP_RIGHT||e===a.TOP_CENTER}function S(e){var t=e.type,n=e.userDefinedTypes;if(e.content)return[i];if(!n)return function(e){switch(e.toLowerCase()){case l.DEFAULT:return[i,"notification-default"];case l.SUCCESS:return[i,"notification-success"];case l.DANGER:return[i,"notification-danger"];case l.WARNING:return[i,"notification-warning"];case l.INFO:return[i,"notification-info"];default:return[i]}}(t);var o=n.find((function(e){return e.name===t}));if(!o)throw new Error(d.TYPE_NOT_FOUND);return[i].concat(o.htmlClasses)}function T(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:500,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"height";return"".concat(e,"ms ").concat(o," ").concat(t," ").concat(n,"ms")}function k(e){return T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay,"all")}function N(e,t,n){var o,r,i=2*window.innerWidth,a=T((o=e.touchSlidingExit.swipe).duration,o.cubicBezier,o.delay,"left"),s=T((r=e.touchSlidingExit.fade).duration,r.cubicBezier,r.delay,"opacity");return{opacity:0,position:"relative",transition:"".concat(a,", ").concat(s),left:"".concat(0<=n-t?i:-i,"px")}}function P(e,t){return{height:"".concat(t,"px"),width:h(e.width),transition:T(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay)}}function C(e){return(C="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 I(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var j=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=R(t).call(this,e))||"object"!==C(o)&&"function"!=typeof o?x(this):o).endOfSmartSliding=!1,n.onTransitionEnd=n.onTransitionEnd.bind(x(n)),n.onNotificationClick=n.onNotificationClick.bind(x(n)),n.setDismissTimeout=n.setDismissTimeout.bind(x(n)),n.onSmartSlidingEnd=n.onSmartSlidingEnd.bind(x(n)),n.onTouchSmartSlidingEnd=n.onTouchSmartSlidingEnd.bind(x(n)),n.onTouchStart=n.onTouchStart.bind(x(n)),n.onTouchMove=n.onTouchMove.bind(x(n)),n.onTouchEnd=n.onTouchEnd.bind(x(n)),n.rootDOM=r.a.createRef(),n.state=function(e){var t,n=e.notification,o=e.isFirstNotification,r=((t=n).insert===s.TOP&&O(t.container)||t.insert===s.BOTTOM&&E(t.container))&&!o,i={};return i.animatedElementClasses=S(n),i.rootElementStyle={height:"0",marginBottom:0,overflow:"hidden",width:h(n.width)},r?i.animatedElementClasses.push("notification-invisible"):n.animationIn&&0<n.animationIn.length&&n.animationIn.forEach((function(e){return i.animatedElementClasses.push(e)})),i.hasSliding=r,i}(e),n}var n,o;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,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){this.smartSliding(),this.setRemovalTimeout(this.props.notification.dismiss)}},{key:"componentWillUnmount",value:function(){this.timeoutId&&(this.timeoutId=clearTimeout(this.timeoutId))}},{key:"setDismissTimeout",value:function(e){var t=this;this.timeoutId=setTimeout((function(){var e=t.props,n=e.notification,o=e.toggleTimeoutRemoval;n.stage!==p&&n.stage!==u&&t.setState({rootElementStyle:P(n,t.rootDOM.current.scrollHeight)},(function(){return requestAnimationFrame((function(){return o(n)}))}))}),e)}},{key:"setRemovalTimeout",value:function(e){e&&0<e.duration&&this.setDismissTimeout(e.duration)}},{key:"onTransitionEnd",value:function(){var e=this.props.notification,t=e.animationIn,n=S(e);n.push("notification-visible"),n=n.concat(t||[]),this.setState({animatedElementClasses:n,rootElementStyle:{height:"auto",width:h(e.width)}})}},{key:"onTouchSmartSlidingEnd",value:function(e){e.stopPropagation(),e.target.isSameNode(this.rootDOM.current)&&(this.endOfSmartSliding&&this.props.toggleRemoval(this.props.notification),this.endOfSmartSliding=!0)}},{key:"onSmartSlidingEnd",value:function(){var e=this.props.notification;e.animationOut&&e.animationOut.length&&!this.endOfSmartSliding||this.props.toggleRemoval(e),this.endOfSmartSliding=!0}},{key:"smartSliding",value:function(){var e=this.props.notification,t=e.slidingEnter,n=S(e),o={transition:e.resized?void 0:T(t.duration,t.cubicBezier,t.delay),width:h(e.width),height:"".concat(this.rootDOM.current.scrollHeight,"px")};!e.resized&&e.animationIn&&0<e.animationIn.length&&e.animationIn.forEach((function(e){return n.push(e)})),this.setState({rootElementStyle:o,animatedElementClasses:n})}},{key:"onNotificationClick",value:function(){var e=this,t=this.props.notification,n=P(t,this.rootDOM.current.scrollHeight);this.setState({rootElementStyle:n},(function(){return requestAnimationFrame((function(){e.props.onClickHandler(t)}))}))}},{key:"onTouchStart",value:function(e){this.setState({startX:e.touches[0].pageX,currentX:e.touches[0].pageX})}},{key:"onTouchMove",value:function(e){var t,n,o=this.props,r=o.notification,i=o.toggleTouchEnd,a=e.touches[0].pageX-this.state.startX;t=a,n=Math.abs(t),.4*window.innerWidth<=n?this.setState({animatedElementClasses:S(r),rootElementStyle:P(r,this.rootDOM.current.scrollHeight)},(function(){requestAnimationFrame((function(){return i(r)}))})):this.setState({currentX:e.touches[0].pageX,childElementStyle:{position:"relative",left:"".concat(0+a,"px")}})}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchSlidingBack;this.setState({childElementStyle:{left:"0",position:"relative",transition:T(e.duration,e.cubicBezier,e.delay,"left")}})}},{key:"render",value:function(){var e=this.props.notification,t=this.state.childElementStyle,n=this.onAnimationEnd,o=null,i=!1,a=this.state.hasSliding?this.onTransitionEnd:null,s=function(e,t){var n,o,r,i,a,s,l,p,f,d=u,m=c,y=t.animatedElementClasses,b=t.rootElementStyle,g=t.currentX,v=t.startX;return e.stage===d?(i=g,a=v,s=S(r=e),{childElementStyle:N(r,a,i),animatedElementClasses:s,rootElementStyle:{height:0,marginBottom:0,transition:k(r),width:h(r.width)}}):e.stage===m?(p=(l=e).animationOut,f=S(l),p&&p.forEach((function(e){return f.push(e)})),{rootElementStyle:{height:0,marginBottom:0,transition:k(l),width:h(l.width)},animatedElementClasses:f}):(n=e.resized?(o=b,S(e)):(o=b,y),{rootElementStyle:o,animatedElementClasses:n})}(e,this.state),l=(s.animatedElementClasses||[]).join(" "),f=s.rootElementStyle;if(e.dismissable.click&&(o=this.onNotificationClick),e.stage===p?(n=null,f=P(e,this.rootDOM.current.scrollHeight)):e.stage===c?(n=this.onSmartSlidingEnd,a=this.onSmartSlidingEnd):e.stage===u&&(n=this.onTouchSmartSlidingEnd,a=this.onTouchSmartSlidingEnd,o=null,t=s.childElementStyle,i=!0),e.content)return r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},e.content));var d,m,y,b=r.a.createElement("div",{className:"notification-close",onClick:this.onNotificationClick},r.a.createElement("span",null,"×")),g=e.dismissIcon?(d=e,m=this.onNotificationClick,d.dismissIcon?r.a.createElement("div",{className:d.dismissIcon.className,onClick:m},d.dismissIcon.content):r.a.createElement("div",{className:"notification-close",onClick:m},r.a.createElement("span",null,"×"))):b;return e.title&&(y=r.a.createElement("h4",{className:"notification-title"},e.title)),r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:f},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},r.a.createElement("div",{className:"notification-content"},g,y,r.a.createElement("p",{className:"notification-message"},this.props.notification.message))))}}])&&I(n.prototype,o),t}(),M=n(1),A=n.n(M);function L(e){return(L="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 D(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 B(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(4);var W=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=F(t).call(this,e))||"object"!==L(o)&&"function"!=typeof o?q(this):o).state={isMobile:e.isMobile,breakpoint:e.breakpoint,notifications:[]},v(e.types)&&(n.state.userDefinedTypes=e.types),n.addNotification=n.addNotification.bind(q(n)),n.onNotificationClick=n.onNotificationClick.bind(q(n)),n.toggleRemoval=n.toggleRemoval.bind(q(n)),n.toggleTimeoutRemoval=n.toggleTimeoutRemoval.bind(q(n)),n.handleResize=n.handleResize.bind(q(n)),n.renderReactNotifications=n.renderReactNotifications.bind(q(n)),n.toggleTouchEnd=n.toggleTouchEnd.bind(q(n)),n}var n,o;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,writable:!0,configurable:!0}}),t&&U(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;this.setState({width:window.innerWidth},(function(){window.addEventListener("resize",e.handleResize)}))}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth,notifications:this.state.notifications.map((function(e){return e.resized=!0,e}))})}},{key:"toggleTimeoutRemoval",value:function(e){var t=c,n=f.TIMEOUT;this.setState({notifications:this.state.notifications.map((function(o){return o.id===e.id&&(o.stage=t,o.removedBy=n),o}))})}},{key:"addNotification",value:function(e){var t=function(e,t){var n=e,o=n.insert,i=n.container,a=n.dismissIcon,s=n.animationIn,c=n.animationOut,u=n.slidingEnter,p=n.slidingExit,f=n.touchSlidingBack,h=n.touchSlidingExit,E=n.dismissable,O=n.dismiss,S=n.width,T=n.id;return n.id=T||Math.random().toString(36).substr(2,9),function(e){var t=e.content,n=e.title;if(!t&&!m(n)&&!y(n))throw new Error(d.TITLE_STRING)}(n),function(e){var t=e.content,n=e.message;if(!t){if(!n)throw new Error(d.MESSAGE_REQUIRED);if(!y(n))throw new Error(d.MESSAGE_STRING)}}(n),n.type=function(e,t){var n=e.content,o=e.type;if(!n){if(!o)throw new Error(d.TYPE_REQUIRED);if(!y(o))throw new Error(d.TYPE_STRING);if(!t&&o!==l.SUCCESS&&o!==l.DANGER&&o!==l.INFO&&o!==l.DEFAULT&&o!==l.WARNING)throw new Error(d.TYPE_NOT_EXISTENT);return o.toLowerCase()}}(n,t),t&&!n.content&&(n.userDefinedTypes=function(e,t){var n=e.type;if(!e.content&&n!==l.SUCCESS&&n!==l.DANGER&&n!==l.INFO&&n!==l.DEFAULT&&n!==l.WARNING&&t){if(!t.find((function(e){return e.name===n})))throw new Error(d.TYPE_NOT_FOUND);return t}}(n,t)),n.container=function(e){if(!e)throw new Error(d.CONTAINER_REQUIRED);if(!y(e))throw new Error(d.CONTAINER_STRING);return e.toLowerCase()}(i),n.insert=function(e){if(!e)return"top";if(!y(e))throw new Error(d.INSERT_STRING);return e.toLowerCase()}(o),n.dismissable=function(e){var t=e;if(!t)return{click:!0,touch:!0};if(m(t.click)&&(t.click=!0),m(t.touch)&&(t.touch=!0),!g(t.click))throw new Error(d.DISMISSABLE_CLICK_BOOL);if(!g(t.touch))throw new Error(d.DISMISSABLE_TOUCH_BOOL);return t}(E),function(e){if(!m(e)){var t=e.className,n=e.content;if(!t)throw new Error(d.DISMISS_ICON_CLASS);if(!y(t))throw new Error(d.DISMISS_ICON_STRING);if(!n)throw new Error(d.DISMISS_ICON_CONTENT);if(!r.a.isValidElement(n))throw new Error(d.DISMISS_ICON_INVALID)}}(a),n.animationIn=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_IN);return e}(s),n.animationOut=function(e){if(m(e))return[];if(!v(e))throw new Error(d.ANIMATION_OUT);return e}(c),m(S)||(n.width=function(e){if(m(e))return 0;if(!b(e))throw new Error(d.WIDTH_NUMBER);return e}(S)),n.slidingEnter=w(u,{duration:600,cubicBezier:"linear",delay:0}),n.slidingExit=w(p,{duration:600,cubicBezier:"linear",delay:0}),n.touchSlidingBack=w(f,{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit=h||{},n.touchSlidingExit.swipe=w(n.touchSlidingExit.swipe||{},{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit.fade=w(n.touchSlidingExit.fade||{},{duration:300,cubicBezier:"ease-in",delay:0}),function(e){if(e){if(m(e.duration))throw new Error(d.DISMISS_REQUIRED);if(!b(e.duration))throw new Error(d.DISMISS_NUMBER);if(e.duration<0)throw new Error(d.DISMISS_POSITIVE)}}(O),n}(e,this.state.userDefinedTypes);return this.setState((function(e){return{notifications:t.insert===s.TOP?[t].concat(D(e.notifications)):[].concat(D(e.notifications),[t])}})),t.id}},{key:"removeNotification",value:function(e){var t=this;this.setState({notifications:this.state.notifications.map((function(t){return t.id===e&&(t.stage=p,t.removedBy=f.API),t}))},(function(){requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e&&(t.stage=c,t.removedBy=f.API),t}))})}))}))}},{key:"onNotificationClick",value:function(e){var t=this,n=e.dismissable,o=e.dismissIcon;(n&&n.click||o)&&requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e.id&&(t.stage=c,t.removedBy=f.CLICK),t}))})}))}},{key:"toggleTouchEnd",value:function(e){var t=u;this.setState({notifications:this.state.notifications.map((function(n){return n.id===e.id&&(n.stage=t,n.removedBy=f.TOUCH),n}))})}},{key:"toggleRemoval",value:function(e){var t=this;this.setState({notifications:this.state.notifications.filter((function(t){return t.id!==e.id}))},(function(){t.props.onNotificationRemoval&&t.props.onNotificationRemoval(e.id,e.removedBy)}))}},{key:"renderReactNotifications",value:function(e){var t=this;return e.map((function(n){return r.a.createElement(j,{key:n.id,notification:n,isFirstNotification:1===e.length,onClickHandler:t.onNotificationClick,toggleRemoval:t.toggleRemoval,toggleTimeoutRemoval:t.toggleTimeoutRemoval,toggleTouchEnd:t.toggleTouchEnd})}))}},{key:"render",value:function(){var e,t,n,o=this.state;if(this.props.isMobile&&o.width<=o.breakpoint){var i=(e=o.notifications,t=[],n=[],e.forEach((function(e){var o=e.container.toLowerCase();if(O(o))n.push(e);else{if(!E(o))throw new Error("Container ".concat(e.container," is not valid"));t.push(e)}})),{top:n,bottom:t}),s=this.renderReactNotifications(i.top),l=this.renderReactNotifications(i.bottom);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-mobile-top"},s),r.a.createElement("div",{className:"notification-container-mobile-bottom"},l))}var c,u,p,f,d,h,m,y=(c=o.notifications,u=[],p=[],f=[],d=[],h=[],m=[],c.forEach((function(e){var t=e.container.toLowerCase();if(t===a.TOP_LEFT)u.push(e);else if(t===a.TOP_RIGHT)p.push(e);else if(t===a.TOP_CENTER)f.push(e);else if(t===a.BOTTOM_LEFT)d.push(e);else if(t===a.BOTTOM_RIGHT)h.push(e);else{if(t!==a.BOTTOM_CENTER)throw new Error("Container ".concat(e.container," is not valid"));m.push(e)}})),{topLeft:u,topRight:p,topCenter:f,bottomLeft:d,bottomRight:h,bottomCenter:m}),b=this.renderReactNotifications(y.topLeft),g=this.renderReactNotifications(y.topRight),v=this.renderReactNotifications(y.topCenter),w=this.renderReactNotifications(y.bottomLeft),S=this.renderReactNotifications(y.bottomRight),T=this.renderReactNotifications(y.bottomCenter);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-top-left"},b),r.a.createElement("div",{className:"notification-container-top-right"},g),r.a.createElement("div",{className:"notification-container-bottom-left"},w),r.a.createElement("div",{className:"notification-container-bottom-right"},S),r.a.createElement("div",{className:"notification-container-top-center"},v),r.a.createElement("div",{className:"notification-container-bottom-center"},T))}}])&&B(n.prototype,o),t}();W.propTypes={isMobile:A.a.bool,breakpoint:A.a.number,types:A.a.array,onNotificationRemoval:A.a.func},W.defaultProps={isMobile:!0,breakpoint:768},t.default=W}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(21);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}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,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,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";
|
44 |
-
/**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
* react-is.production.min.js
|
46 |
*
|
47 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
48 |
*
|
49 |
* This source code is licensed under the MIT license found in the
|
50 |
* LICENSE file in the root directory of this source tree.
|
51 |
-
*/Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,g=o?Symbol.for("react.fundamental"):60117,v=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case c:return e;default:return t}}case b:case y:case i:return t}}}function O(e){return E(e)===f}t.typeOf=E,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=b,t.Memo=y,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===c||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===v||e.$$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===b},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(19);var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(6),l=n(2),c=n.n(l),u=n(5),p=n.n(u),f=n(9),d=n.n(f),h=n(15),m=n.n(h),y=n(7),b=n.n(y),g=n(10),v=n.n(g),w=n(8),E=n(4),O=n.n(E),S=n(16);function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function I(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(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,writable:!0,configurable:!0}}),t&&j(e,t)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?A(e):t}var D={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},B="tour:start",F="step:before",q="beacon",U="tooltip",W="step:after",z="tour:end",H="tour:status",G="error:target_not_found",V={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},Y={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},K=d.a.canUseDOM,$=void 0!==u.createPortal;function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function J(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Q(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach((function(t){return e(t)})):e(o)}}(e),t.join(" ").trim()}function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ee(e){return e.disableBeacon||"center"===e.placement}function te(){return!["chrome","safari","firefox","opera"].includes(X())}function ne(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){c.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var oe={action:"",controlled:!1,index:0,lifecycle:V.INIT,size:0,status:Y.IDLE},re=["action","index","lifecycle","status"];function ie(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,l=void 0===s?[]:s;T(this,e),P(this,"listener",void 0),P(this,"setSteps",(function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===Y.WAITING&&!r&&e.length&&(a.status=Y.RUNNING),t.setState(a)})),P(this,"addListener",(function(e){t.listener=e})),P(this,"update",(function(e){if(n=e,o=re,!(c.a.plainObject(n)&&c.a.array(o)&&Object.keys(n).every((function(e){return o.includes(e)}))))throw new Error("State is not valid. Valid keys: ".concat(re.join(", ")));var n,o;t.setState(R({},t.getNextState(R({},t.getState(),{},e,{action:e.action||D.UPDATE}),!0)))})),P(this,"start",(function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(R({},t.getNextState({action:D.START,index:c.a.number(e)?e:o},!0),{status:r?Y.RUNNING:Y.WAITING}))})),P(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;[Y.FINISHED,Y.SKIPPED].includes(r)||t.setState(R({},t.getNextState({action:D.STOP,index:o+(e?1:0)}),{status:Y.PAUSED}))})),P(this,"close",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.CLOSE,index:n+1})))})),P(this,"go",(function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===Y.RUNNING){var i=t.getSteps()[e];t.setState(R({},t.getNextState({action:D.GO,index:e}),{status:i?r:Y.FINISHED}))}})),P(this,"info",(function(){return t.getState()})),P(this,"next",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(t.getNextState({action:D.NEXT,index:n+1}))})),P(this,"open",(function(){t.getState().status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.UPDATE,lifecycle:V.TOOLTIP})))})),P(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===Y.RUNNING&&t.setState(R({},t.getNextState({action:D.PREV,index:n-1})))})),P(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.controlled;o||t.setState(R({},t.getNextState({action:D.RESET,index:0}),{status:e?Y.RUNNING:Y.READY}))})),P(this,"skip",(function(){t.getState().status===Y.RUNNING&&t.setState({action:D.SKIP,lifecycle:V.INIT,status:Y.SKIPPED})})),this.setState({action:D.INIT,controlled:c.a.number(a),continuous:i,index:c.a.number(a)?a:0,lifecycle:V.INIT,status:l.length?Y.READY:Y.IDLE},!0),this.setSteps(l)}return N(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=R({},o,{},e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:R({},oe)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,l=c.a.number(e.index)?e.index:i,u=r&&!t?i:Math.min(Math.max(l,0),a);return{action:e.action||o,controlled:r,index:u,lifecycle:e.lifecycle||V.INIT,size:e.size||a,status:u===a?Y.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function ae(e){return e?e.getBoundingClientRect():{}}function se(e){return"string"==typeof e?document.querySelector(e):e}function le(e,t,n){var o=v()(e);return o.isSameNode(b()())?n?document:b()():o.scrollHeight>o.offsetHeight||t?o:(o.style.overflow="initial",b()())}function ce(e,t){return!!e&&!le(e,t).isSameNode(b()())}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(function(e){return e&&1===e.nodeType?getComputedStyle(e):{}}(e).position===t||ue(e.parentNode,t))}function pe(e,t,n){if(!e)return 0;var o=v()(e),r=e.offsetTop;return ce(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}var fe=function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n,o,i){var a=e[t],s=a;if(!r.a.isValidElement(a)&&Object(w.isValidElementType)(a)){s=r.a.createElement(s,{ref:function(){},step:{}})}if(c.a.string(a)||c.a.number(a)||!Object(w.isValidElementType)(a)||![w.Element,w.ForwardRef].includes(Object(w.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))})),de={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},he={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},me={borderRadius:4,position:"absolute"};var ye={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function be(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function ge(e,t){if(!e)return null;var n=O.a.all([be(t),ye.step,e],{isMergeableObject:c.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=O()(de,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o,r,i,a={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},s={beacon:R({},he,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat((o=t.primaryColor,r=o.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,o){return t+t+n+n+o+o})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),i?[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)]:[]).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:R({},he,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:R({},he,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:R({},he,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:R({},he,{color:t.textColor,fontSize:14}),overlay:R({},a,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:R({},a),overlayLegacyCenter:R({},a,{backgroundColor:t.overlayColor}),spotlight:R({},me,{backgroundColor:"gray"}),spotlightLegacy:R({},me,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return O()(s,e)}(O()(t.styles||{},e.styles||{})),r=ce(se(e.target),n.disableScrollParentFix),i=O.a.all([t.floaterProps||{},ye.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=O()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),R({},n,{locale:O.a.all([ye.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c.a.plainObject(e)?!!e.target||(ne({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(ne({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c.a.array(e)?e.every((function(e){return ve(e,t)})):(ne({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ee=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(T(this,e),P(this,"element",void 0),P(this,"options",void 0),P(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)})),P(this,"canHaveFocus",(function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)})),P(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),P(this,"handleKeyDown",(function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)})),P(this,"interceptTab",(function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}})),P(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),P(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),P(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),P(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&t.focus()}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},Oe=function(e){function t(e){var n;if(T(this,t),P(A(n=L(this,_(t).call(this,e))),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){c.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.a.createElement(l,s)}else e=r.a.createElement("button",C({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button","data-test-id":"button-beacon"},s),r.a.createElement("span",{style:a.beaconInner}),r.a.createElement("span",{style:a.beaconOuter}));return e}}]),t}(r.a.Component);P(Oe,"propTypes",{beaconComponent:fe,locale:a.a.object.isRequired,onClickOrHover:a.a.func.isRequired,shouldFocus:a.a.bool.isRequired,styles:a.a.object.isRequired});var Se=function(e){var t=e.styles;return r.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})};Se.propTypes={styles:a.a.object.isRequired};var Te=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"_isMounted",!1),P(A(n),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),P(A(n),"handleMouseMove",(function(e){var t=n.state.mouseOverSpotlight,o=n.spotlightStyles,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.updateState({mouseOverSpotlight:p})})),P(A(n),"handleScroll",(function(){var e=se(n.props.target);n.scrollParent!==document?(n.state.isScrolling||n.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout((function(){n.updateState({isScrolling:!1,showSpotlight:!0})}),50)):ue(e,"sticky")&&n.updateState({})})),P(A(n),"handleResize",(function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n._isMounted&&n.forceUpdate()}),100)})),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=se(e.target);this.scrollParent=le(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.lifecycle,r=n.spotlightClicks,i=Object(s.a)(e,this.props),a=i.changed;(0,i.changedTo)("lifecycle",V.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(a("spotlightClicks")||a("disableOverlay")||a("lifecycle"))&&(r&&o===V.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==V.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(i||a!==V.TOOLTIP)return null;var u=c.overlay;te()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=R({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&r.a.createElement(Se,{styles:this.spotlightStyles});if("safari"===X()){h.mixBlendMode,h.zIndex;var y=M(h,["mixBlendMode","zIndex"]);m=r.a.createElement("div",{style:R({},y)},m),delete h.backgroundColor}return r.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=se(t.target),s=ae(a),l=ue(a),c=function(e,t,n){var o=ae(e),r=le(e,n),i=ce(e,n),a=0;r instanceof HTMLElement&&(a=r.scrollTop);var s=o.top+(i||ue(e)?0:a);return Math.floor(s-t)}(a,r,n);return R({},te()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}(r.a.Component);P(Te,"propTypes",{debug:a.a.bool.isRequired,disableOverlay:a.a.bool.isRequired,disableScrolling:a.a.bool.isRequired,disableScrollParentFix:a.a.bool.isRequired,lifecycle:a.a.string.isRequired,onClickOverlay:a.a.func.isRequired,placement:a.a.string.isRequired,spotlightClicks:a.a.bool.isRequired,spotlightPadding:a.a.number,styles:a.a.object.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired});var ke=function(e){var t=e.styles,n=M(e,["styles"]),o=t.color,i=t.height,a=t.width,s=M(t,["color","height","width"]);return r.a.createElement("button",C({style:s,type:"button"},n),r.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};ke.propTypes={styles:a.a.object.isRequired};var Ne=function(e){function t(){return T(this,t),L(this,_(t).apply(this,arguments))}return x(t,e),N(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,b=u.showSkipButton,g=u.title,v=u.styles,w=u.locale,E=w.back,O=w.close,S=w.last,T=w.next,k=w.skip,N={primary:O};return o&&(N.primary=a?S:T,y&&(N.primary=r.a.createElement("span",null,N.primary," (",i+1,"/",l,")"))),b&&!a&&(N.skip=r.a.createElement("button",C({style:v.buttonSkip,type:"button","data-test-id":"button-skip","aria-live":"off"},c),k)),!d&&i>0&&(N.back=r.a.createElement("button",C({style:v.buttonBack,type:"button","data-test-id":"button-back"},t),E)),N.close=!h&&r.a.createElement(ke,C({styles:v.buttonClose,"data-test-id":"button-close"},n)),r.a.createElement("div",C({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:v.tooltip},p),r.a.createElement("div",{style:v.tooltipContainer},g&&r.a.createElement("h4",{style:v.tooltipTitle,"aria-label":g},g),r.a.createElement("div",{style:v.tooltipContent},f)),!m&&r.a.createElement("div",{style:v.tooltipFooter},r.a.createElement("div",{style:v.tooltipFooterSpacer},N.skip),N.back,r.a.createElement("button",C({style:v.buttonNext,type:"button","data-test-id":"button-primary"},s),N.primary)),N.close)}}]),t}(r.a.Component);P(Ne,"propTypes",{backProps:a.a.object.isRequired,closeProps:a.a.object.isRequired,continuous:a.a.bool.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,primaryProps:a.a.object.isRequired,size:a.a.number.isRequired,skipProps:a.a.object.isRequired,step:a.a.object.isRequired,tooltipProps:a.a.object.isRequired});var Pe=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"handleClickBack",(function(e){e.preventDefault(),n.props.helpers.prev()})),P(A(n),"handleClickClose",(function(e){e.preventDefault(),n.props.helpers.close()})),P(A(n),"handleClickPrimary",(function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()})),P(A(n),"handleClickSkip",(function(e){e.preventDefault(),n.props.helpers.skip()})),P(A(n),"getElementsProps",(function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=Q(i.locale.back),s=Q(i.locale.close),l=Q(i.locale.last),c=Q(i.locale.next),u=Q(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})),n}return x(t,e),N(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,i=t.isLastStep,a=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=M(s,["beaconComponent","tooltipComponent"]);if(l){var u=R({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:c}),p=l;e=r.a.createElement(p,u)}else e=r.a.createElement(Ne,C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:s}));return e}}]),t}(r.a.Component);P(Pe,"propTypes",{continuous:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,isLastStep:a.a.bool.isRequired,setTooltipRef:a.a.func.isRequired,size:a.a.number.isRequired,step:a.a.object.isRequired});var Ce=function(e){function t(e){var n;return T(this,t),n=L(this,_(t).call(this,e)),K?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):L(n)}return x(t,e),N(t,[{key:"componentDidMount",value:function(){K&&($||this.renderReact15())}},{key:"componentDidUpdate",value:function(){K&&($||this.renderReact15())}},{key:"componentWillUnmount",value:function(){K&&this.node&&($||p.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!K)return null;var e=this.props.children;return p.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!K||!$)return null;var e=this.props.children;return p.a.createPortal(e,this.node)}},{key:"render",value:function(){return $?this.renderReact16():null}}]),t}(r.a.Component);P(Ce,"propTypes",{children:a.a.element,id:a.a.oneOfType([a.a.string,a.a.number])});var Ie=function(e){function t(){var e,n;T(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(A(n=L(this,(e=_(t)).call.apply(e,[this].concat(r)))),"scope",{removeScope:function(){}}),P(A(n),"handleClickHoverBeacon",(function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:V.TOOLTIP})})),P(A(n),"handleClickOverlay",(function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()})),P(A(n),"setTooltipRef",(function(e){n.tooltip=e})),P(A(n),"setPopper",(function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===D.CLOSE?D.CLOSE:r,lifecycle:V.READY})})),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;ne({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,a=t.debug,l=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=Object(s.a)(e,this.props),m=h.changed,y=h.changedTo,b=h.changedFrom,g={action:n,controlled:i,index:l,lifecycle:c,size:u,status:p},v=r&&n!==D.CLOSE&&(l>0||n===D.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=b("lifecycle",[V.TOOLTIP,V.INIT],V.INIT);if(y("action",[D.NEXT,D.PREV,D.SKIP,D.CLOSE])&&(E||i)&&o(R({},g,{index:e.index,lifecycle:V.COMPLETE,step:e.step,type:W})),w&&f){var O=se(f.target);!!O&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(O)?(b("status",Y.READY,Y.RUNNING)||b("lifecycle",V.INIT,V.READY))&&o(R({},g,{step:f,type:F})):(console.warn("Target not mounted",f),o(R({},g,{type:G,step:f})),i||d({index:l+([D.PREV].includes(n)?-1:1)}))}b("lifecycle",V.INIT,V.READY)&&d({lifecycle:ee(f)||v?V.TOOLTIP:V.BEACON}),m("index")&&ne({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:a}),y("lifecycle",V.BEACON)&&o(R({},g,{step:f,type:q})),y("lifecycle",V.TOOLTIP)&&(o(R({},g,{step:f,type:U})),this.scope=new Ee(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),b("lifecycle",[V.TOOLTIP,V.INIT],V.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.shouldScroll,l=e.size,u=e.step,p=se(u.target);return ve(u)&&c.a.domElement(p)?r.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.a.createElement(Ce,{id:"react-joyride-portal"},r.a.createElement(Te,C({},u,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.a.createElement(S.a,C({component:r.a.createElement(Pe,{continuous:t,helpers:o,index:i,isLastStep:i+1===l,setTooltipRef:this.setTooltipRef,size:l,step:u}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||ue(p),open:this.open,placement:u.placement,target:u.target},u.floaterProps),r.a.createElement(Oe,{beaconComponent:u.beaconComponent,locale:u.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:s,styles:u.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!ee(t)&&n!==V.TOOLTIP)}}]),t}(r.a.Component);P(Ie,"propTypes",{action:a.a.string.isRequired,callback:a.a.func.isRequired,continuous:a.a.bool.isRequired,controlled:a.a.bool.isRequired,debug:a.a.bool.isRequired,helpers:a.a.object.isRequired,index:a.a.number.isRequired,lifecycle:a.a.string.isRequired,setPopper:a.a.func.isRequired,shouldScroll:a.a.bool.isRequired,size:a.a.number.isRequired,status:a.a.string.isRequired,step:a.a.shape({beaconComponent:fe,content:a.a.node.isRequired,disableBeacon:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,event:a.a.string,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),hideBackButton:a.a.bool,hideCloseButton:a.a.bool,hideFooter:a.a.bool,isFixed:a.a.bool,locale:a.a.object,offset:a.a.number.isRequired,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),spotlightClicks:a.a.bool,spotlightPadding:a.a.number,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]).isRequired,title:a.a.node,tooltipComponent:fe}).isRequired,update:a.a.func.isRequired});var Re=function(e){function t(e){var n;return T(this,t),P(A(n=L(this,_(t).call(this,e))),"initStore",(function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new ie(R({},n.props,{controlled:r&&c.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return ne({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()})),P(A(n),"callback",(function(e){var t=n.props.callback;c.a.function(t)&&t(e)})),P(A(n),"handleKeyboard",(function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===V.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),P(A(n),"syncState",(function(e){n.setState(e)})),P(A(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),n.state=n.initStore(),n}return x(t,e),N(t,[{key:"componentDidMount",value:function(){if(K){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;we(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(K){var n=this.state,r=n.action,i=n.controlled,a=n.index,l=n.lifecycle,u=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,b=e.stepIndex,g=this.store,v=g.setSteps,w=g.reset,E=g.start,O=g.stop,S=g.update,T=Object(s.a)(e,this.props).changed,k=Object(s.a)(t,this.state),N=k.changed,P=k.changedFrom,C=k.changedTo,I=ge(m[a],this.props),x=!function e(t,n){var r,i=Object(o.isValidElement)(t)||Object(o.isValidElement)(n),a=c.a.undefined(t)||c.a.undefined(n);if(J(t)!==J(n)||i||a)return!1;if(c.a.domElement(t))return t.isSameNode(n);if(c.a.number(t))return t===n;if(c.a.function(t))return t.toString()===n.toString();for(var s in t)if(Z(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(r=J(t[s]),["object","array"].includes(r)&&e(t[s],n[s]))continue;if("function"===r&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var l in n)if(Z(n,l)&&void 0===t[l])return!1;return!0}(y,m),_=c.a.number(h)&&T("stepIndex");if(x&&(we(m,f)?v(m):console.warn("Steps are not valid",m)),T("run")&&(d?E(h):O()),_){var j=b<h?D.NEXT:D.PREV;r===D.STOP&&(j=D.START),[Y.FINISHED,Y.SKIPPED].includes(u)||S({action:r===D.CLOSE?D.CLOSE:j,index:h,lifecycle:V.INIT})}var M=R({},this.state,{index:a,step:I});if(C("action",[D.NEXT,D.PREV,D.SKIP,D.CLOSE])&&C("status",Y.PAUSED)){var A=ge(m[t.index],this.props);this.callback(R({},M,{index:t.index,lifecycle:V.COMPLETE,step:A,type:W}))}if(C("status",[Y.FINISHED,Y.SKIPPED])){var L=ge(m[t.index],this.props);i||this.callback(R({},M,{index:t.index,lifecycle:V.COMPLETE,step:L,type:W})),this.callback(R({},M,{type:z,step:L,index:t.index})),w()}else P("status",[Y.IDLE,Y.READY],Y.RUNNING)?this.callback(R({},M,{type:B})):N("status")?this.callback(R({},M,{type:H})):C("action",D.RESET)&&this.callback(R({},M,{type:H}));I&&(this.scrollToStep(t),"center"===I.placement&&u===Y.RUNNING&&l===V.INIT&&this.store.update({lifecycle:V.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=ge(i.steps[n],this.props);if(p){var f=se(p.target),d=!s&&(0!==n||c||o===V.TOOLTIP)&&"center"!==p.placement&&(!p.isFixed||!ue(f))&&e.lifecycle!==o&&[V.BEACON,V.TOOLTIP].includes(o);if(r===Y.RUNNING&&d){var h=ce(f,l),y=le(f,l),g=Math.floor(pe(f,u,l))||0;if(ne({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===V.BEACON&&this.beaconPopper){var v=this.beaconPopper,w=v.placement,E=v.popper;["bottom"].includes(w)||h||(g=Math.floor(E.top-u))}else if(o===V.TOOLTIP&&this.tooltipPopper){var O=this.tooltipPopper,S=O.flipped,T=O.placement,k=O.popper;!["top","right","left"].includes(T)||S||h?g-=p.spotlightPadding:g=Math.floor(k.top-u)}g=g>=0?g:0,r===Y.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b()();new Promise((function(n,o){var r=t.scrollTop,i=e>r?e-r:r-e;m.a.top(t,e,{duration:i<100?50:300},(function(e){return e&&"Element already at target scroll position"!==e.message?o(e):n()}))}))}(g,y)}}}},{key:"render",value:function(){if(!K)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=i.disableScrolling,c=i.scrollToFirstStep,u=ge(i.steps[n],this.props);return o===Y.RUNNING&&u&&(e=r.a.createElement(Ie,C({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!l&&(0!==n||c),step:u,update:this.store.update}))),r.a.createElement("div",{className:"react-joyride"},e)}}]),t}(r.a.Component);P(Re,"propTypes",{beaconComponent:fe,callback:a.a.func,continuous:a.a.bool,debug:a.a.bool,disableCloseOnEsc:a.a.bool,disableOverlay:a.a.bool,disableOverlayClose:a.a.bool,disableScrolling:a.a.bool,disableScrollParentFix:a.a.bool,floaterProps:a.a.shape({options:a.a.object,styles:a.a.object,wrapperOptions:a.a.object}),getHelpers:a.a.func,hideBackButton:a.a.bool,locale:a.a.object,run:a.a.bool,scrollOffset:a.a.number,scrollToFirstStep:a.a.bool,showProgress:a.a.bool,showSkipButton:a.a.bool,spotlightClicks:a.a.bool,spotlightPadding:a.a.number,stepIndex:a.a.number,steps:a.a.array,styles:a.a.object,tooltipComponent:fe}),P(Re,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var xe=Re;function _e(e){return(_e="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 je(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function Me(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ae(e){return(Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Be=wp.i18n.__,Fe=wp.components,qe=Fe.Button,Ue=Fe.Modal,We=wp.element,ze=We.Component,He=We.Fragment,Ge=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=Ae(t).apply(this,arguments))||"object"!==_e(o)&&"function"!=typeof o?Le(n):o).skipTour=e.skipTour.bind(Le(e)),e.state={isOpen:!0,runTour:!1,steps:[{target:".otter-step-one",content:Be("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:Be("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:Be("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:Be("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:Be("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:Be("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-seven",content:Be("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:Be("That's it for now! Hope you enjoy Otter and love it as much as we do.")}]},e}var n,o,r,i,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,writable:!0,configurable:!0}}),t&&De(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings}));case 1:case"end":return e.stop()}}),e)})),a=function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){je(r,n,o,a,s,"next",e)}function s(e){je(r,n,o,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"skipTour",value:function(e){var t=this;if(this.state.isOpen&&this.setState({isOpen:!1}),"finished"===e||"skipped"===e){var n=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();n.success((function(e,n){t.settings.fetch()})),n.error((function(e,t){console.warning(e.responseJSON.message)}))}}},{key:"render",value:function(){var e=this;return wp.element.createElement(He,null,this.state.isOpen&&wp.element.createElement(Ue,{title:Be("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},Be("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(qe,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({isOpen:!1,runTour:!0})}},Be("Start")),wp.element.createElement(qe,{isDefault:!0,isLarge:!0,onClick:function(){return e.skipTour("skipped")}},Be("Skip")))),wp.element.createElement(xe,{continuous:!0,run:this.state.runTour,steps:this.state.steps,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:Be("Back"),close:Be("Close"),last:Be("Finish"),next:Be("Next"),skip:Be("Skip")},callback:function(t){return e.skipTour(t.status)}}))}}])&&Me(n.prototype,o),r&&Me(n,r),t}(ze),Ve=n(17),Ye=n.n(Ve);function Ke(e){return(Ke="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 $e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xe(e,t){return!t||"object"!==Ke(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}function Je(e){return(Je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ze=wp.i18n.__,et=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Xe(this,Je(t).apply(this,arguments))}var n,o,r;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,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ye()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:Ze("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))}}])&&$e(n.prototype,o),r&&$e(n,r),t}(wp.element.Component),tt=n(18),nt=n.n(tt);n(23);function ot(e){return(ot="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 rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function at(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ut=wp.i18n.__,pt=wp.components,ft=pt.BaseControl,dt=pt.Button,ht=pt.ExternalLink,mt=pt.PanelBody,yt=pt.PanelRow,bt=pt.Placeholder,gt=pt.Spinner,vt=pt.ToggleControl,wt=wp.element,Et=wt.Component,Ot=wt.Fragment,St=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=st(t).apply(this,arguments))||"object"!==ot(o)&&"function"!=typeof o?lt(n):o).changeOptions=e.changeOptions.bind(lt(e)),e.addNotification=e.addNotification.bind(lt(e)),e.notificationDOMRef=React.createRef(),e.state={isAPILoaded:!1,isAPISaving:!1,notification:null,cssModule:!1,blocksAnimation:!1,isDefaultSection:!0,googleMapsAPI:""},e}var n,o,r,i,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,writable:!0,configurable:!0}}),t&&ct(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings,!1===t.state.isAPILoaded&&t.settings.fetch().then((function(e){t.setState({cssModule:Boolean(e.themeisle_blocks_settings_css_module),blocksAnimation:Boolean(e.themeisle_blocks_settings_blocks_animation),isDefaultSection:Boolean(e.themeisle_blocks_settings_default_block),googleMapsAPI:e.themeisle_google_map_block_api_key,isAPILoaded:!0})}))}));case 1:case"end":return e.stop()}}),e)})),a=function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){it(r,n,o,a,s,"next",e)}function s(e){it(r,n,o,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"changeOptions",value:function(e,t,n){var o=this;this.setState({isAPISaving:!0}),this.addNotification(ut("Updating settings…"),"info");var r=new wp.api.models.Settings(rt({},e,n)).save();r.success((function(n,r){o.notificationDOMRef.current.removeNotification(o.state.notification),"success"===r&&(o.setState(rt({},t,n[e])),setTimeout((function(){o.addNotification(ut("Settings saved."),"success"),o.setState({isAPISaving:!1})}),800)),"error"===r&&setTimeout((function(){o.addNotification(ut("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})}),800),o.settings.fetch()})),r.error((function(e,t){o.notificationDOMRef.current.removeNotification(o.state.notification),setTimeout((function(){o.addNotification(e.responseJSON.message?e.responseJSON.message:ut("An unknown error occurred."),"danger"),o.setState({isAPISaving:!1})}),800)}))}},{key:"addNotification",value:function(e,t){var n=this.notificationDOMRef.current.addNotification({message:e,type:t,insert:"top",container:"top-right",slidingEnter:{duration:0,delay:0},dismiss:{duration:2e3},dismissable:{click:!0}});this.setState({notification:n})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?wp.element.createElement(Ot,null,wp.element.createElement(nt.a,{ref:this.notificationDOMRef}),wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(mt,{title:ut("Modules")},wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:this.state.cssModule,onChange:function(){return e.changeOptions("themeisle_blocks_settings_css_module","cssModule",!e.state.cssModule)}})),wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:this.state.blocksAnimation,onChange:function(){return e.changeOptions("themeisle_blocks_settings_blocks_animation","blocksAnimation",!e.state.blocksAnimation)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(mt,{title:ut("Section")},wp.element.createElement(yt,null,wp.element.createElement(vt,{label:ut("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:this.state.isDefaultSection,onChange:function(){return e.changeOptions("themeisle_blocks_settings_default_block","isDefaultSection",!e.state.isDefaultSection)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(mt,{title:ut("Maps")},wp.element.createElement(yt,null,wp.element.createElement(ft,{label:ut("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:this.state.googleMapsAPI,placeholder:ut("Google Maps API Key"),disabled:this.state.isAPISaving,onChange:function(t){return e.setState({googleMapsAPI:t.target.value})}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(dt,{isPrimary:!0,isLarge:!0,disabled:this.state.isAPISaving,onClick:function(){return e.changeOptions("themeisle_google_map_block_api_key","googleMapsAPI",e.state.googleMapsAPI)}},ut("Save")),wp.element.createElement(ht,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},ut("Get API Key"))))))),wp.element.createElement(mt,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,ut("Got a question for us?")),wp.element.createElement("p",null,ut("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(dt,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-six"},ut("Ask a question")),wp.element.createElement(dt,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-seven"},ut("Leave a review"))))))):wp.element.createElement(bt,null,wp.element.createElement(gt,null))}}])&&at(n.prototype,o),r&&at(n,r),t}(Et);function Tt(e){return(Tt="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 kt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nt(e,t){return!t||"object"!==Tt(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}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e,t){return(Ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var It=wp.i18n.__,Rt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nt(this,Pt(t).apply(this,arguments))}var n,o,r;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,writable:!0,configurable:!0}}),t&&Ct(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},It("No otters were harmed during the making of this plugin.")))}}])&&kt(n.prototype,o),r&&kt(n,r),t}(wp.element.Component);function xt(e){return(xt="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 _t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jt(e,t){return!t||"object"!==xt(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}function Mt(e){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Lt=wp.element,Dt=Lt.Component,Bt=Lt.Fragment,Ft=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jt(this,Mt(t).apply(this,arguments))}var n,o,r;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,writable:!0,configurable:!0}}),t&&At(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(Bt,null,Boolean(otterObj.showTour)&&wp.element.createElement(Ge,null),wp.element.createElement(et,null),wp.element.createElement(St,null),wp.element.createElement(Rt,null))}}])&&_t(n.prototype,o),r&&_t(n,r),t}(Dt);ReactDOM.render(wp.element.createElement(Ft,null),document.getElementById("otter"))}]);
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=23)}([function(e,t,n){e.exports=n(17)()},function(e,t){e.exports=React},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectType=function(e){return Object.prototype.toString.call(e).slice(8,-1)};var o=function(e){return function(n){return t.getObjectType(n)===e}},r=function(e){return function(t){return typeof t===e}},i=function(e){switch(e){case null:return"null";case!0:case!1:return"boolean"}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"bigint":return"bigint";case"symbol":return"symbol"}if(i.array(e))return"Array";if(i.function(e))return"Function";var n=t.getObjectType(e);return n||"Object"};i.array=Array.isArray,i.arrayOf=function(e,t){return!(!i.array(e)&&!i.function(t))&&e.every((function(e){return t(e)}))},i.asyncFunction=o("AsyncFunction"),i.boolean=function(e){return!0===e||!1===e},i.date=o("Date"),i.defined=function(e){return!i.undefined(e)},i.domElement=function(e){return i.object(e)&&!i.plainObject(e)&&1===e.nodeType&&i.string(e.nodeName)&&["innerHTML","ownerDocument","style","attributes","nodeValue"].every((function(t){return t in e}))},i.empty=function(e){return i.string(e)&&0===e.length||i.array(e)&&0===e.length||i.object(e)&&!i.map(e)&&!i.set(e)&&0===Object.keys(e).length||i.set(e)&&0===e.size||i.map(e)&&0===e.size},i.error=o("Error"),i.function=o("Function"),i.generator=function(e){return i.iterable(e)&&i.function(e.next)&&i.function(e.throw)},i.generatorFunction=o("GeneratorFunction"),i.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},i.iterable=function(e){return!i.nullOrUndefined(e)&&i.function(e[Symbol.iterator])},i.map=o("Map"),i.nan=function(e){return Number.isNaN(e)},i.null=function(e){return null===e},i.nullOrUndefined=function(e){return i.null(e)||i.undefined(e)},i.number=function(e){return r("number")(e)&&!i.nan(e)},i.numericString=function(e){return i.string(e)&&e.length>0&&!Number.isNaN(Number(e))},i.object=function(e){return!i.nullOrUndefined(e)&&(i.function(e)||"object"==typeof e)},i.oneOf=function(e,t){return!!i.array(e)&&e.indexOf(t)>-1},i.plainObject=function(e){if("Object"!==t.getObjectType(e))return!1;var n=Object.getPrototypeOf(e);return null===n||n===Object.getPrototypeOf({})},i.promise=o("Promise"),i.propertyOf=function(e,t,n){if(!i.object(e)||!t)return!1;var o=e[t];return i.function(n)?n(o):i.defined(o)},i.regexp=o("RegExp"),i.set=o("Set"),i.string=r("string"),i.symbol=r("symbol"),i.undefined=r("undefined"),i.weakMap=o("WeakMap"),i.weakSet=o("WeakSet"),t.default=i},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):o[r]=i(t[r],n))})),o}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||o,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var p=u;e.exports=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=n(20);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return"number"==typeof e}))}t.default=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var i=r.get(e,n),a=r.get(t,n);return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(Array.isArray)}(i,a)||function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(i,a)?!!o.diff(i,a):i!==a},changedFrom:function(n,o,i){if(void 0===n)throw new Error("Key parameter is required");var a=void 0!==o&&void 0!==i,s=r.get(e,n),l=r.get(t,n),c=Array.isArray(o)?o.indexOf(s)>=0:s===o,u=Array.isArray(i)?i.indexOf(l)>=0:l===i;return c&&(a?u:!a)},changedTo:function(n,o){if(void 0===n)throw new Error("Key parameter is required");var i=r.get(e,n),a=r.get(t,n),s=Array.isArray(o)?o.indexOf(i)<0:i!==o,l=Array.isArray(o)?o.indexOf(a)>=0:a===o;return s&&l},increased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)<r.get(t,n)},decreased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)>r.get(t,n)}}}},function(e,t,n){"use strict";e.exports=n(21)},function(e,t,n){var o;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/*!
|
3 |
Copyright (c) 2015 Jed Watson.
|
4 |
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
28 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
29 |
* SOFTWARE.
|
30 |
*/
|
31 |
+
var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function b(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function v(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:v("Height",t,n,o),width:v("Width",t,n,o)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function x(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),o=y(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},s=i.width||e.clientWidth||r.width,l=i.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var p=a(e);c-=b(p,"x"),u-=b(p,"y"),r.width-=c,r.height-=u}return x(r)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=T(e),s=T(t),c=l(e),u=a(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=x({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(u.marginTop,10),y=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-y,h.right-=d-y,h.marginTop=m,h.marginLeft=y}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=g(h,t)),h}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=C(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),l={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i};return x(l)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&P(n)}function I(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?I(e):m(e,c(t));if("viewport"===o)i=N(a,r);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===o?e.ownerDocument.documentElement:o;var p=C(u,a,r);if("HTML"!==u.nodeName||P(a))i=p;else{var f=w(e.ownerDocument),d=f.height,h=f.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var y="number"==typeof(n=n||0);return i.left+=y?n:n.left||0,i.top+=y?n:n.top||0,i.right-=y?n:n.right||0,i.bottom-=y?n:n.bottom||0,i}function R(e){return e.width*e.height}function M(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return k({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function _(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?I(t):m(t,c(n));return C(n,r,o)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function D(e,t,n){n=n.split("-")[0];var o=A(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[L(s)],r}function B(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=B(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=n(t,e))})),t}function z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function U(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,o){n.updateBound=o,q(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(l(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function V(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var X=n&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var o=B(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(e),o=Q.slice(n+1).concat(Q.slice(0,n));return t?o.reverse():o}var te="flip",ne="clockwise",oe="counterclockwise";function re(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(B(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return x(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){$(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:S({},l,i[l]),end:S({},l,i[l]+i[c]-a[c])};e.offsets.popper=k({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=$(+n)?[+n,0]:re(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=H("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),S({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),S({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=A(o)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=x(e.offsets.popper);var y=l[f]+l[u]/2-m/2,g=a(e.instance.popper),b=parseFloat(g["margin"+p],10),v=parseFloat(g["border"+p+"Width"],10),w=y-e.offsets.popper[f]-b-v;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(S(n={},f,Math.round(w)),S(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=L(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[o,r];break;case ne:a=ee(o);break;case oe:a=ee(o,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=L(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),g="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,b=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&y),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&d||!b&&"start"===i&&y||!b&&"end"===i&&m),E=v||w;(f||g||E)&&(e.flipped=!0,(f||g)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=x(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=B(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=B(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),l=T(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!X),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=H("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,b="right"===f?-1:1;c[p]=y*g,c[f]=m*b,c.willChange=p+", "+f}var v={"x-placement":e.placement};return e.attributes=k({},v,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return K(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=_(r,t,e,n.positionFixed),a=M(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){o.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(e,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return V.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=ie,t.a=ae}).call(this,n(11))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame((function n(s){if(m)return u(o,t[e]);var l=i(),c=r(1,(l-p)/h),y=d(c);t[e]=y*(a-f)+f,c<1?requestAnimationFrame(n):requestAnimationFrame((function(){u(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n.n(s),c=n(10),u=n(3),p=n.n(u),f=n(2),d=n.n(f),h=n(5),m=n.n(h),y=n(4),g=n.n(y),b=n(7);function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(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,writable:!0,configurable:!0}}),t&&C(e,t)}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?P(e):t}var j={flip:{padding:20},preventOverflow:{padding:10}},R={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},M=n.n(b).a.canUseDOM,_=void 0!==g.a.createPortal;function A(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function L(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function D(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}function B(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}function F(){}var z=function(e){function t(e){var n;return v(this,t),n=I(this,T(t).call(this,e)),M?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):I(n)}return x(t,e),E(t,[{key:"componentDidMount",value:function(){M&&(_||this.renderPortal())}},{key:"componentDidUpdate",value:function(){M&&(_||this.renderPortal())}},{key:"componentWillUnmount",value:function(){M&&this.node&&(_||g.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!M)return null;var e=this.props,t=e.children,n=e.setRef;return _?g.a.createPortal(t,this.node):(n(g.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return _?this.renderReact16():null}}]),t}(r.a.Component);O(z,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var W=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}(r.a.Component);O(W,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var H=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=N(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};H.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var U=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||d.a.boolean(i)||(u.close=r.a.createElement(H,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};U.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var q=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(U,this.props),a===R.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(W,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,l=a.floater,c=a.floaterCentered,u=a.floaterClosing,p=a.floaterOpening,f=a.floaterWithAnimation,d=a.floaterWithComponent,h={};return r||(o.startsWith("top")?h.padding="0 0 ".concat(s,"px"):o.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):o.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):o.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[R.OPENING,R.OPEN].indexOf(i)&&(h=k({},h,{},p)),i===R.CLOSING&&(h=k({},h,{},u)),i!==R.OPEN||t||(h=k({},h,{},f)),"center"===o&&(h=k({},h,{},c)),n&&(h=k({},h,{},d)),k({},l,{},h)}}]),t}(r.a.Component);O(q,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var G=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=d.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),O({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:k({},u,{},c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}(r.a.Component);O(G,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var V={zIndex:100};var Y=["position","top","right","bottom","left"],$=function(t){function n(e){var t;return v(this,n),O(P(t=I(this,T(n).call(this,e))),"setArrowRef",(function(e){t.arrowRef=e})),O(P(t),"setChildRef",(function(e){t.childRef=e})),O(P(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),O(P(t),"setWrapperRef",(function(e){t.wrapperRef=e})),O(P(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===R.OPENING?R.OPEN:R.IDLE},(function(){var e=t.state.status;n(e===R.OPEN?"open":"close",t.props)}))})),O(P(t),"handleClick",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(L({title:"click",data:[{event:n,status:a===R.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),O(P(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)&&!A()){var r=t.state.status;"hover"===t.event&&r===R.IDLE&&(L({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),O(P(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!d.a.boolean(r)&&!A()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(L({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?-1===[R.OPENING,R.OPEN].indexOf(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*o)):t.toggle(R.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:R.INIT,statusWrapper:R.INIT},t._isMounted=!1,M&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return x(n,t),E(n,[{key:"componentDidMount",value:function(){if(M){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,L({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:d.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&d.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(M){var n,o=this.props,r=o.autoOpen,i=o.open,a=o.target,s=o.wrapperOptions,l=m()(t,this.state),c=l.changedFrom,u=l.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?R.OPENING:R.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),u("status",R.IDLE)&&i?this.toggle(R.OPEN):c("status",R.INIT,R.IDLE)&&r&&this.toggle(R.OPEN),this.popper&&u("status",R.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",R.OPENING)||u("status",R.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];D(e,t,o=function(r){n(r),B(e,t,o)},r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){M&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l)this.setState({status:R.IDLE});else if(t&&this.floaterRef){var f=this.options,h=f.arrow,m=f.flip,y=f.offset,g=N(f,["arrow","flip","offset"]);new c.a(t,this.floaterRef,{placement:l,modifiers:k({arrow:k({enabled:!a,element:this.arrowRef},h),flip:k({enabled:!r,behavior:p},m),offset:k({offset:"0, ".concat(s,"px")},y)},g),onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:R.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var b=d.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(b,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:R.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===R.OPEN?R.CLOSING:R.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.open,h=i.showCloseButton,m=i.style,y=i.target,g=i.title,b=r.a.createElement(G,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),v={};return n?v.wrapperInPortal=b:v.wrapperAsChildren=b,r.a.createElement("span",null,r.a.createElement(z,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:y,zIndex:this.styles.options.zIndex},r.a.createElement(q,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,open:d,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:o,styles:this.styles,title:g}),v.wrapperInPortal),v.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&A()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(j,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(V,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=-1===[R.IDLE].indexOf(o)||-1===[R.IDLE].indexOf(i)?s.wrapperPosition:this.wrapperPopper.styles,s.wrapper=k({},s.wrapper,{},e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=k({},s.wrapper,{},this.wrapperStyles):-1===["relative","static"].indexOf(l.position)&&(this.wrapperStyles={},r||(Y.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=k({},s.wrapper,{},this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!M)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}(r.a.Component);O($,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:l()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),O($,"defaultProps",{autoOpen:!1,callback:F,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:F,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=$}).call(this,n(11))},function(e,t,n){var o;
|
32 |
/*!
|
33 |
Copyright (c) 2017 Jed Watson.
|
34 |
Licensed under the MIT License (MIT), see
|
35 |
http://jedwatson.github.io/classnames
|
36 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=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=r,n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i="notification-item",a="bottom-left",s="bottom-right",l="bottom-center",c="top-left",u="top-right",p="top-center",f="top",d="bottom",h="success",m="danger",y="info",g="default",b="warning",v="SLIDING_ANIMATION_EXIT",w="TOUCH_SLIDING_ANIMATION_EXIT",E="REMOVAL",O={TIMEOUT:1,CLICK:2,TOUCH:3,MANUAL:4},S="className property of dismissIcon option is required",k="content property of dismissIcon option is required",x="className property of dismissIcon option must be a String",T="content property of dismissIcon option must be a valid React element",C="animationIn option must be an array",N="animationOut option must be an array",P="duration property of dismiss option is required",I="duration property of dismiss option must be a Number",j="duration property of dismiss option must be a positive Number",R="title option must be a String.",M="message option is required",_="message option must be a String",A="type option is required",L="type option must be a String",D="type option not found",B="container option is required",F="container option must be a String",z="click property of dismissable option must be a Boolean",W="touch property of dismissable option must be a Boolean",H="width option must be a Number",U="insert option must be a String",q="duration property of transition option must be a Number",G="cubicBezier property of transition option must be a String",V="delay property of transition option must be a Number",Y="custom type not found";function $(e){return e?"".concat(e,"px"):void 0}function K(e){return null==e}function X(e){return"string"==typeof e}function J(e){return"number"==typeof e}function Z(e){return"boolean"==typeof e}function Q(e){return!K(e)&&e.constructor===Array}function ee(e,t){var n=t.duration,o=t.cubicBezier,r=t.delay,i=e||{};if(K(i.duration)&&(i.duration=n),K(i.cubicBezier)&&(i.cubicBezier=o),K(i.delay)&&(i.delay=r),!J(i.duration))throw new Error(q);if(!X(i.cubicBezier))throw new Error(G);if(!J(i.delay))throw new Error(V);return i}function te(e){return e===a||e===s||e===l}function ne(e){return e===c||e===u||e===p}function oe(e){var t=e.type,n=e.userDefinedTypes;if(e.content)return[i];if(!n)return function(e){switch(e.toLowerCase()){case g:return[i,"notification-default"];case h:return[i,"notification-success"];case m:return[i,"notification-danger"];case b:return[i,"notification-warning"];case y:return[i,"notification-info"];default:return[i]}}(t);var o=n.find((function(e){return e.name===t}));if(!o)throw new Error(Y);return[i].concat(o.htmlClasses)}function re(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:500,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"height";return"".concat(e,"ms ").concat(o," ").concat(t," ").concat(n,"ms")}function ie(e){return re(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay,"all")}function ae(e,t,n){var o,r,i=2*window.innerWidth,a=re((o=e.touchSlidingExit.swipe).duration,o.cubicBezier,o.delay,"left"),s=re((r=e.touchSlidingExit.fade).duration,r.cubicBezier,r.delay,"opacity");return{opacity:0,position:"relative",transition:"".concat(a,", ").concat(s),left:"".concat(0<=n-t?i:-i,"px")}}function se(e,t){return{height:"".concat(t,"px"),width:$(e.width),transition:re(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay)}}function le(e){return(le="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 ce(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var de=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=ue(t).call(this,e))||"object"!==le(o)&&"function"!=typeof o?pe(this):o).endOfSmartSliding=!1,n.onTransitionEnd=n.onTransitionEnd.bind(pe(n)),n.onNotificationClick=n.onNotificationClick.bind(pe(n)),n.setDismissTimeout=n.setDismissTimeout.bind(pe(n)),n.onSmartSlidingEnd=n.onSmartSlidingEnd.bind(pe(n)),n.onTouchSmartSlidingEnd=n.onTouchSmartSlidingEnd.bind(pe(n)),n.onTouchStart=n.onTouchStart.bind(pe(n)),n.onTouchMove=n.onTouchMove.bind(pe(n)),n.onTouchEnd=n.onTouchEnd.bind(pe(n)),n.rootDOM=r.a.createRef(),n.state=function(e){var t,n=e.notification,o=e.isFirstNotification,r=((t=n).insert===f&&ne(t.container)||t.insert===d&&te(t.container))&&!o,i={};return i.animatedElementClasses=oe(n),i.rootElementStyle={height:"0",marginBottom:0,overflow:"hidden",width:$(n.width)},r?i.animatedElementClasses.push("notification-invisible"):n.animationIn&&0<n.animationIn.length&&n.animationIn.forEach((function(e){return i.animatedElementClasses.push(e)})),i.hasSliding=r,i}(e),n}var n,o;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,writable:!0,configurable:!0}}),t&&fe(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){this.smartSliding(),this.setRemovalTimeout(this.props.notification.dismiss)}},{key:"componentWillUnmount",value:function(){this.timeoutId&&(this.timeoutId=clearTimeout(this.timeoutId))}},{key:"setDismissTimeout",value:function(e){var t=this;this.timeoutId=setTimeout((function(){var e=t.props,n=e.notification,o=e.toggleTimeoutRemoval;n.stage!==E&&n.stage!==w&&t.setState({rootElementStyle:se(n,t.rootDOM.current.scrollHeight)},(function(){return requestAnimationFrame((function(){return o(n)}))}))}),e)}},{key:"setRemovalTimeout",value:function(e){e&&0<e.duration&&this.setDismissTimeout(e.duration)}},{key:"onTransitionEnd",value:function(){var e=this.props.notification,t=e.animationIn,n=oe(e);n.push("notification-visible"),n=n.concat(t||[]),this.setState({animatedElementClasses:n,rootElementStyle:{height:"auto",width:$(e.width)}})}},{key:"onTouchSmartSlidingEnd",value:function(e){e.stopPropagation(),e.target.isSameNode(this.rootDOM.current)&&(this.endOfSmartSliding&&this.props.toggleRemoval(this.props.notification),this.endOfSmartSliding=!0)}},{key:"onSmartSlidingEnd",value:function(){var e=this.props.notification;e.animationOut&&e.animationOut.length&&!this.endOfSmartSliding||this.props.toggleRemoval(e),this.endOfSmartSliding=!0}},{key:"smartSliding",value:function(){var e=this.props.notification,t=e.slidingEnter,n=oe(e),o={transition:e.resized?void 0:re(t.duration,t.cubicBezier,t.delay),width:$(e.width),height:"".concat(this.rootDOM.current.scrollHeight,"px")};!e.resized&&e.animationIn&&0<e.animationIn.length&&e.animationIn.forEach((function(e){return n.push(e)})),this.setState({rootElementStyle:o,animatedElementClasses:n})}},{key:"onNotificationClick",value:function(){var e=this,t=this.props.notification,n=se(t,this.rootDOM.current.scrollHeight);this.setState({rootElementStyle:n},(function(){return requestAnimationFrame((function(){e.props.onClickHandler(t)}))}))}},{key:"onTouchStart",value:function(e){this.setState({startX:e.touches[0].pageX,currentX:e.touches[0].pageX})}},{key:"onTouchMove",value:function(e){var t,n,o=this.props,r=o.notification,i=o.toggleTouchEnd,a=e.touches[0].pageX-this.state.startX;t=a,n=Math.abs(t),.4*window.innerWidth<=n?this.setState({animatedElementClasses:oe(r),rootElementStyle:se(r,this.rootDOM.current.scrollHeight)},(function(){requestAnimationFrame((function(){return i(r)}))})):this.setState({currentX:e.touches[0].pageX,childElementStyle:{position:"relative",left:"".concat(0+a,"px")}})}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchSlidingBack;this.setState({childElementStyle:{left:"0",position:"relative",transition:re(e.duration,e.cubicBezier,e.delay,"left")}})}},{key:"render",value:function(){var e=this.props.notification,t=this.state.childElementStyle,n=this.onAnimationEnd,o=null,i=!1,a=this.state.hasSliding?this.onTransitionEnd:null,s=function(e,t){var n,o,r,i,a,s,l,c,u,p=t.animatedElementClasses,f=t.rootElementStyle,d=t.currentX,h=t.startX;return"TOUCH_SLIDING_ANIMATION_EXIT"===e.stage?(i=d,a=h,s=oe(r=e),{childElementStyle:ae(r,a,i),animatedElementClasses:s,rootElementStyle:{height:0,marginBottom:0,transition:ie(r),width:$(r.width)}}):"SLIDING_ANIMATION_EXIT"===e.stage?(c=(l=e).animationOut,u=oe(l),c&&c.forEach((function(e){return u.push(e)})),{rootElementStyle:{height:0,marginBottom:0,transition:ie(l),width:$(l.width)},animatedElementClasses:u}):(n=e.resized?(o=f,oe(e)):(o=f,p),{rootElementStyle:o,animatedElementClasses:n})}(e,this.state),l=(s.animatedElementClasses||[]).join(" "),c=s.rootElementStyle;if(e.dismissable.click&&(o=this.onNotificationClick),e.stage===E?(n=null,c=se(e,this.rootDOM.current.scrollHeight)):e.stage===v?(n=this.onSmartSlidingEnd,a=this.onSmartSlidingEnd):e.stage===w&&(n=this.onTouchSmartSlidingEnd,a=this.onTouchSmartSlidingEnd,o=null,t=s.childElementStyle,i=!0),e.content)return r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:c},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},e.content));var u,p,f,d=r.a.createElement("div",{className:"notification-close",onClick:this.onNotificationClick},r.a.createElement("span",null,"×")),h=e.dismissIcon?(u=e,p=this.onNotificationClick,u.dismissIcon?r.a.createElement("div",{className:u.dismissIcon.className,onClick:p},u.dismissIcon.content):r.a.createElement("div",{className:"notification-close",onClick:p},r.a.createElement("span",null,"×"))):d;return e.title&&(f=r.a.createElement("h4",{className:"notification-title"},e.title)),r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:c},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},r.a.createElement("div",{className:"notification-content"},h,f,r.a.createElement("p",{className:"notification-message"},this.props.notification.message))))}}])&&ce(n.prototype,o),t}(),he=n(1),me=n.n(he);function ye(e){return(ye="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 ge(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 be(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function we(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(4);var Oe=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=ve(t).call(this,e))||"object"!==ye(o)&&"function"!=typeof o?we(this):o).state={isMobile:e.isMobile,breakpoint:e.breakpoint,notifications:[]},Q(e.types)&&(n.state.userDefinedTypes=e.types),n.addNotification=n.addNotification.bind(we(n)),n.onNotificationClick=n.onNotificationClick.bind(we(n)),n.toggleRemoval=n.toggleRemoval.bind(we(n)),n.toggleTimeoutRemoval=n.toggleTimeoutRemoval.bind(we(n)),n.handleResize=n.handleResize.bind(we(n)),n.renderReactNotifications=n.renderReactNotifications.bind(we(n)),n.toggleTouchEnd=n.toggleTouchEnd.bind(we(n)),n}var n,o;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,writable:!0,configurable:!0}}),t&&Ee(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;this.setState({width:window.innerWidth},(function(){window.addEventListener("resize",e.handleResize)}))}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth,notifications:this.state.notifications.map((function(e){return e.resized=!0,e}))})}},{key:"toggleTimeoutRemoval",value:function(e){var t=O.TIMEOUT;this.setState({notifications:this.state.notifications.map((function(n){return n.id===e.id&&(n.stage="SLIDING_ANIMATION_EXIT",n.removedBy=t),n}))})}},{key:"addNotification",value:function(e){var t=function(e,t){var n=e,o=n.insert,i=n.container,a=n.dismissIcon,s=n.animationIn,l=n.animationOut,c=n.slidingEnter,u=n.slidingExit,p=n.touchSlidingBack,f=n.touchSlidingExit,d=n.dismissable,v=n.dismiss,w=n.width,E=n.id;return n.id=E||Math.random().toString(36).substr(2,9),function(e){var t=e.content,n=e.title;if(!t&&!K(n)&&!X(n))throw new Error(R)}(n),function(e){var t=e.content,n=e.message;if(!t){if(!n)throw new Error(M);if(!X(n))throw new Error(_)}}(n),n.type=function(e,t){var n=e.content,o=e.type;if(!n){if(!o)throw new Error(A);if(!X(o))throw new Error(L);if(!t&&o!==h&&o!==m&&o!==y&&o!==g&&o!==b)throw new Error(D);return o.toLowerCase()}}(n,t),t&&!n.content&&(n.userDefinedTypes=function(e,t){var n=e.type;if(!e.content&&n!==h&&n!==m&&n!==y&&n!==g&&n!==b&&t){if(!t.find((function(e){return e.name===n})))throw new Error(Y);return t}}(n,t)),n.container=function(e){if(!e)throw new Error(B);if(!X(e))throw new Error(F);return e.toLowerCase()}(i),n.insert=function(e){if(!e)return"top";if(!X(e))throw new Error(U);return e.toLowerCase()}(o),n.dismissable=function(e){var t=e;if(!t)return{click:!0,touch:!0};if(K(t.click)&&(t.click=!0),K(t.touch)&&(t.touch=!0),!Z(t.click))throw new Error(z);if(!Z(t.touch))throw new Error(W);return t}(d),function(e){if(!K(e)){var t=e.className,n=e.content;if(!t)throw new Error(S);if(!X(t))throw new Error(x);if(!n)throw new Error(k);if(!r.a.isValidElement(n))throw new Error(T)}}(a),n.animationIn=function(e){if(K(e))return[];if(!Q(e))throw new Error(C);return e}(s),n.animationOut=function(e){if(K(e))return[];if(!Q(e))throw new Error(N);return e}(l),K(w)||(n.width=function(e){if(K(e))return 0;if(!J(e))throw new Error(H);return e}(w)),n.slidingEnter=ee(c,{duration:600,cubicBezier:"linear",delay:0}),n.slidingExit=ee(u,{duration:600,cubicBezier:"linear",delay:0}),n.touchSlidingBack=ee(p,{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit=f||{},n.touchSlidingExit.swipe=ee(n.touchSlidingExit.swipe||{},{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit.fade=ee(n.touchSlidingExit.fade||{},{duration:300,cubicBezier:"ease-in",delay:0}),function(e){if(e){if(K(e.duration))throw new Error(P);if(!J(e.duration))throw new Error(I);if(e.duration<0)throw new Error(j)}}(v),n}(e,this.state.userDefinedTypes);return this.setState((function(e){return{notifications:t.insert===f?[t].concat(ge(e.notifications)):[].concat(ge(e.notifications),[t])}})),t.id}},{key:"removeNotification",value:function(e){var t=this;this.setState({notifications:this.state.notifications.map((function(t){return t.id===e&&(t.stage=E,t.removedBy=O.API),t}))},(function(){requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e&&(t.stage=v,t.removedBy=O.API),t}))})}))}))}},{key:"onNotificationClick",value:function(e){var t=this,n=e.dismissable,o=e.dismissIcon;(n&&n.click||o)&&requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e.id&&(t.stage=v,t.removedBy=O.CLICK),t}))})}))}},{key:"toggleTouchEnd",value:function(e){this.setState({notifications:this.state.notifications.map((function(t){return t.id===e.id&&(t.stage="TOUCH_SLIDING_ANIMATION_EXIT",t.removedBy=O.TOUCH),t}))})}},{key:"toggleRemoval",value:function(e){var t=this;this.setState({notifications:this.state.notifications.filter((function(t){return t.id!==e.id}))},(function(){t.props.onNotificationRemoval&&t.props.onNotificationRemoval(e.id,e.removedBy)}))}},{key:"renderReactNotifications",value:function(e){var t=this;return e.map((function(n){return r.a.createElement(de,{key:n.id,notification:n,isFirstNotification:1===e.length,onClickHandler:t.onNotificationClick,toggleRemoval:t.toggleRemoval,toggleTimeoutRemoval:t.toggleTimeoutRemoval,toggleTouchEnd:t.toggleTouchEnd})}))}},{key:"render",value:function(){var e,t,n,o=this.state;if(this.props.isMobile&&o.width<=o.breakpoint){var i=(e=o.notifications,t=[],n=[],e.forEach((function(e){var o=e.container.toLowerCase();if(ne(o))n.push(e);else{if(!te(o))throw new Error("Container ".concat(e.container," is not valid"));t.push(e)}})),{top:n,bottom:t}),f=this.renderReactNotifications(i.top),d=this.renderReactNotifications(i.bottom);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-mobile-top"},f),r.a.createElement("div",{className:"notification-container-mobile-bottom"},d))}var h,m,y,g,b,v,w,E=(h=o.notifications,m=[],y=[],g=[],b=[],v=[],w=[],h.forEach((function(e){var t=e.container.toLowerCase();if(t===c)m.push(e);else if(t===u)y.push(e);else if(t===p)g.push(e);else if(t===a)b.push(e);else if(t===s)v.push(e);else{if(t!==l)throw new Error("Container ".concat(e.container," is not valid"));w.push(e)}})),{topLeft:m,topRight:y,topCenter:g,bottomLeft:b,bottomRight:v,bottomCenter:w}),O=this.renderReactNotifications(E.topLeft),S=this.renderReactNotifications(E.topRight),k=this.renderReactNotifications(E.topCenter),x=this.renderReactNotifications(E.bottomLeft),T=this.renderReactNotifications(E.bottomRight),C=this.renderReactNotifications(E.bottomCenter);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-top-left"},O),r.a.createElement("div",{className:"notification-container-top-right"},S),r.a.createElement("div",{className:"notification-container-bottom-left"},x),r.a.createElement("div",{className:"notification-container-bottom-right"},T),r.a.createElement("div",{className:"notification-container-top-center"},k),r.a.createElement("div",{className:"notification-container-bottom-center"},C))}}])&&be(n.prototype,o),t}();Oe.propTypes={isMobile:me.a.bool,breakpoint:me.a.number,types:me.a.array,onNotificationRemoval:me.a.func},Oe.defaultProps={isMobile:!0,breakpoint:768},t.default=Oe}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(18);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}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,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function p(e){var t=0,n=c(e);if("array"===n)return e.forEach((function(e){t+=p(e)})),t+u("[type: array, hash: "+t+"]");if("object"===n){for(var o in e)if(e.hasOwnProperty(o)){var r="[ type: object, key: "+o+", value hash: "+p(e[o])+"]";t+=u(r)}return t}return t+u("[ type: "+n+" ; value: "+e+"]")}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var g,b,v,w,E=typeof e,O=typeof t,S="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),k="undefined"!==O||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!S&&k)n.push(new i(m,t));else if(!k&&S)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(g=d.length-1;g>-1;--g)if(d[g].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return p(e)-p(t)})),t.sort((function(e,t){return p(e)-p(t)}))),g=t.length-1,b=e.length-1;g>b;)n.push(new s(m,g,new i(void 0,t[g--])));for(;b>g;)n.push(new s(m,b,new a(void 0,e[b--])));for(;g>=0;--g)f(e[g],t[g],n,o,m,g,d,h)}else{var x=Object.keys(e),T=Object.keys(t);for(g=0;g<x.length;++g)v=x[g],(w=T.indexOf(v))>=0?(f(e[v],t[v],n,o,m,v,d,h),T[w]=null):f(e[v],void 0,n,o,m,v,d,h);for(g=0;g<T.length;++g)(v=T[g])&&f(void 0,t[v],n,o,m,v,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=d(e,t,o?function(e){e&&o.push(e)}:void 0,n);return o||(r.length?r:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}return n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,(function(o){n&&!n(e,t,o)||m(e,t,o)}))},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t,n){"use strict";
|
37 |
+
/**
|
38 |
+
* @license nested-property https://github.com/cosmosio/nested-property
|
39 |
+
*
|
40 |
+
* The MIT License (MIT)
|
41 |
+
*
|
42 |
+
* Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
|
43 |
+
*/e.exports={set:function(e,t,n){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o=t.split(".");return o.reduce((function(e,t,r){const i=Number.isInteger(Number(o[r+1]));return e[t]=e[t]||(i?[]:{}),o.length==r+1&&(e[t]=n),e[t]}),e)}return"number"==typeof t?(e[t]=n,e[t]):e}return e},get:function(e,t){return e&&"object"==typeof e?"string"==typeof t&&""!==t?t.split(".").reduce((function(e,t){return e&&e[t]}),e):"number"==typeof t?e[t]:e:e},has:function(e,t,n){return n=n||{},!(!e||"object"!=typeof e)&&("string"==typeof t&&""!==t?t.split(".").reduce((function(e,t,o,r){return o==r.length-1?n.own?!(!e||!e.hasOwnProperty(t)):!!(null!==e&&"object"==typeof e&&t in e):e&&e[t]}),e):"number"==typeof t&&t in e)},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,t,n,o){if(o=o||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var r,i=t.split("."),a=!1;return r=!!i.reduce((function(e,t){return a=a||e===n||!!e&&e[t]===n,e&&e[t]}),e),o.validPath?a&&r:a}return!1}return!1}}},function(e,t,n){"use strict";
|
44 |
+
/** @license React v16.12.0
|
45 |
* react-is.production.min.js
|
46 |
*
|
47 |
* Copyright (c) Facebook, Inc. and its affiliates.
|
48 |
*
|
49 |
* This source code is licensed under the MIT license found in the
|
50 |
* LICENSE file in the root directory of this source tree.
|
51 |
+
*/Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.fundamental"):60117,v=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case y:case c:return e;default:return t}}case i:return t}}}function O(e){return E(e)===f}t.typeOf=E,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=y,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===c||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(16);var o=n(1),r=n.n(o),i=(n(0),n(5)),a=n.n(i),s=n(2),l=n.n(s),c=n(4),u=n.n(c),p=n(7),f=n.n(p),d=n(12),h=n.n(d),m=n(8),y=n.n(m),g=n(6),b=n(3),v=n.n(b),w=n(13);function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(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,writable:!0,configurable:!0}}),t&&I(e,t)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?R(e):t}var _={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},A="tour:start",L="step:before",D="beacon",B="tooltip",F="step:after",z="tour:end",W="tour:status",H="error:target_not_found",U={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},q={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},G=f.a.canUseDOM,V=void 0!==c.createPortal;function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function $(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function K(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach((function(t){return e(t)})):e(o)}}(e),t.join(" ").trim()}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function J(e,t){return!(!l.a.plainObject(e)||!l.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function Z(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,o){return t+t+n+n+o+o})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}function Q(e){return e.disableBeacon||"center"===e.placement}function ee(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(Y()))}function te(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){l.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var ne={action:"",controlled:!1,index:0,lifecycle:U.INIT,size:0,status:q.IDLE},oe=["action","index","lifecycle","status"];function re(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,c=void 0===s?[]:s;E(this,e),k(this,"listener",void 0),k(this,"setSteps",(function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===q.WAITING&&!r&&e.length&&(a.status=q.RUNNING),t.setState(a)})),k(this,"addListener",(function(e){t.listener=e})),k(this,"update",(function(e){if(!J(e,oe))throw new Error("State is not valid. Valid keys: ".concat(oe.join(", ")));t.setState(C({},t.getNextState(C({},t.getState(),{},e,{action:e.action||_.UPDATE}),!0)))})),k(this,"start",(function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(C({},t.getNextState({action:_.START,index:l.a.number(e)?e:o},!0),{status:r?q.RUNNING:q.WAITING}))})),k(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;-1===[q.FINISHED,q.SKIPPED].indexOf(r)&&t.setState(C({},t.getNextState({action:_.STOP,index:o+(e?1:0)}),{status:q.PAUSED}))})),k(this,"close",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.CLOSE,index:n+1})))})),k(this,"go",(function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===q.RUNNING){var i=t.getSteps()[e];t.setState(C({},t.getNextState({action:_.GO,index:e}),{status:i?r:q.FINISHED}))}})),k(this,"info",(function(){return t.getState()})),k(this,"next",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(t.getNextState({action:_.NEXT,index:n+1}))})),k(this,"open",(function(){t.getState().status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.UPDATE,lifecycle:U.TOOLTIP})))})),k(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.PREV,index:n-1})))})),k(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.controlled;o||t.setState(C({},t.getNextState({action:_.RESET,index:0}),{status:e?q.RUNNING:q.READY}))})),k(this,"skip",(function(){t.getState().status===q.RUNNING&&t.setState({action:_.SKIP,lifecycle:U.INIT,status:q.SKIPPED})})),this.setState({action:_.INIT,controlled:l.a.number(a),continuous:i,index:l.a.number(a)?a:0,lifecycle:U.INIT,status:c.length?q.READY:q.IDLE},!0),this.setSteps(c)}return S(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=C({},o,{},e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:C({},ne)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,c=l.a.number(e.index)?e.index:i,u=r&&!t?i:Math.min(Math.max(c,0),a);return{action:e.action||o,controlled:r,index:u,lifecycle:e.lifecycle||U.INIT,size:e.size||a,status:u===a?q.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function ie(){return document.scrollingElement||document.createElement("body")}function ae(e){return e?e.getBoundingClientRect():{}}function se(e){return"string"==typeof e?document.querySelector(e):e}function le(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function ce(e,t,n){var o=y()(e);return o.isSameNode(ie())?n?document:ie():o.scrollHeight>o.offsetHeight||t?o:(o.style.overflow="initial",ie())}function ue(e,t){return!!e&&!ce(e,t).isSameNode(ie())}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(le(e).position===t||pe(e.parentNode,t))}function fe(e,t,n){if(!e)return 0;var o=y()(e),r=e.offsetTop;return ue(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}!function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);n.isRequired=t.bind(null,!0)}((function(e,t,n,o,i){var a=e[t],s=a;if(!r.a.isValidElement(a)&&Object(g.isValidElementType)(a)){s=r.a.createElement(s,{ref:function(){},step:{}})}if(l.a.string(a)||l.a.number(a)||!Object(g.isValidElementType)(a)||-1===[g.Element,g.ForwardRef].indexOf(Object(g.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}));var de={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},he={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},me={borderRadius:4,position:"absolute"};var ye={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function ge(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function be(e,t){if(!e)return null;var n=v.a.all([ge(t),ye.step,e],{isMergeableObject:l.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v()(de,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},r={beacon:C({},he,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat(Z(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:C({},he,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:C({},he,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:C({},he,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:C({},he,{color:t.textColor,fontSize:14}),overlay:C({},o,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:C({},o),overlayLegacyCenter:C({},o,{backgroundColor:t.overlayColor}),spotlight:C({},me,{backgroundColor:"gray"}),spotlightLegacy:C({},me,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return v()(r,e)}(v()(t.styles||{},e.styles||{})),r=ue(se(e.target),n.disableScrollParentFix),i=v.a.all([t.floaterProps||{},ye.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=v()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),C({},n,{locale:v.a.all([ye.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.plainObject(e)?!!e.target||(te({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(te({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.array(e)?e.every((function(e){return ve(e,t)})):(te({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ee=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,e),k(this,"element",void 0),k(this,"options",void 0),k(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)})),k(this,"canHaveFocus",(function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)})),k(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),k(this,"handleKeyDown",(function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)})),k(this,"interceptTab",(function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}})),k(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),k(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),k(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),k(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return n.checkFocus(e)})))})),k(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&window.requestAnimationFrame((function(){return n.checkFocus(t)}))}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},Oe=function(e){function t(e){var n;if(E(this,t),k(R(n=M(this,P(t).call(this,e))),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){l.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.a.createElement(l,s)}else e=r.a.createElement("button",x({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button"},s),r.a.createElement("span",{style:a.beaconInner}),r.a.createElement("span",{style:a.beaconOuter}));return e}}]),t}(r.a.Component),Se=function(e){var t=e.styles;return r.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})},ke=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"_isMounted",!1),k(R(n),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),k(R(n),"handleMouseMove",(function(e){var t=n.state.mouseOverSpotlight,o=n.spotlightStyles,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.updateState({mouseOverSpotlight:p})})),k(R(n),"handleScroll",(function(){var e=se(n.props.target);n.scrollParent!==document?(n.state.isScrolling||n.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout((function(){n.updateState({isScrolling:!1,showSpotlight:!0})}),50)):pe(e,"sticky")&&n.updateState({})})),k(R(n),"handleResize",(function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n._isMounted&&n.forceUpdate()}),100)})),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=se(e.target);this.scrollParent=ce(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.lifecycle,r=n.spotlightClicks,i=a()(e,this.props),s=i.changed;(0,i.changedTo)("lifecycle",U.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(s("spotlightClicks")||s("disableOverlay")||s("lifecycle"))&&(r&&o===U.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==U.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(i||a!==U.TOOLTIP)return null;var u=c.overlay;ee()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=C({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&r.a.createElement(Se,{styles:this.spotlightStyles});if("safari"===Y()){h.mixBlendMode,h.zIndex;var y=j(h,["mixBlendMode","zIndex"]);m=r.a.createElement("div",{style:C({},y)},m),delete h.backgroundColor}return r.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=se(t.target),s=ae(a),l=pe(a),c=function(e,t,n){var o=ae(e),r=ce(e,n),i=ue(e,n),a=0;r instanceof HTMLElement&&(a=r.scrollTop);var s=o.top+(i||pe(e)?0:a);return Math.floor(s-t)}(a,r,n);return C({},ee()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}(r.a.Component),xe=function(e){var t=e.styles,n=j(e,["styles"]),o=t.color,i=t.height,a=t.width,s=j(t,["color","height","width"]);return r.a.createElement("button",x({style:s,type:"button"},n),r.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))},Te=function(e){function t(){return E(this,t),M(this,P(t).apply(this,arguments))}return N(t,e),S(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,g=u.showSkipButton,b=u.title,v=u.styles,w=u.locale,E=w.back,O=w.close,S=w.last,k=w.next,T=w.skip,C={primary:O};return o&&(C.primary=a?S:k,y&&(C.primary=r.a.createElement("span",null,C.primary," (",i+1,"/",l,")"))),g&&!a&&(C.skip=r.a.createElement("button",x({style:v.buttonSkip,type:"button","aria-live":"off"},c),T)),!d&&i>0&&(C.back=r.a.createElement("button",x({style:v.buttonBack,type:"button"},t),E)),C.close=!h&&r.a.createElement(xe,x({styles:v.buttonClose},n)),r.a.createElement("div",x({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:v.tooltip},p),r.a.createElement("div",{style:v.tooltipContainer},b&&r.a.createElement("h4",{style:v.tooltipTitle,"aria-label":b},b),r.a.createElement("div",{style:v.tooltipContent},f)),!m&&r.a.createElement("div",{style:v.tooltipFooter},r.a.createElement("div",{style:v.tooltipFooterSpacer},C.skip),C.back,r.a.createElement("button",x({style:v.buttonNext,type:"button"},s),C.primary)),C.close)}}]),t}(r.a.Component),Ce=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"handleClickBack",(function(e){e.preventDefault(),n.props.helpers.prev()})),k(R(n),"handleClickClose",(function(e){e.preventDefault(),n.props.helpers.close()})),k(R(n),"handleClickPrimary",(function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()})),k(R(n),"handleClickSkip",(function(e){e.preventDefault(),n.props.helpers.skip()})),k(R(n),"getElementsProps",(function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=K(i.locale.back),s=K(i.locale.close),l=K(i.locale.last),c=K(i.locale.next),u=K(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})),n}return N(t,e),S(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,i=t.isLastStep,a=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=j(s,["beaconComponent","tooltipComponent"]);if(l){var u=C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:c}),p=l;e=r.a.createElement(p,u)}else e=r.a.createElement(Te,x({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:s}));return e}}]),t}(r.a.Component),Ne=function(e){function t(e){var n;return E(this,t),n=M(this,P(t).call(this,e)),G?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):M(n)}return N(t,e),S(t,[{key:"componentDidMount",value:function(){G&&(V||this.renderReact15())}},{key:"componentDidUpdate",value:function(){G&&(V||this.renderReact15())}},{key:"componentWillUnmount",value:function(){G&&this.node&&(V||u.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!G)return null;var e=this.props.children;return u.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!G||!V)return null;var e=this.props.children;return u.a.createPortal(e,this.node)}},{key:"render",value:function(){return V?this.renderReact16():null}}]),t}(r.a.Component),Pe=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"scope",{removeScope:function(){}}),k(R(n),"handleClickHoverBeacon",(function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:U.TOOLTIP})})),k(R(n),"handleClickOverlay",(function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()})),k(R(n),"setTooltipRef",(function(e){n.tooltip=e})),k(R(n),"setPopper",(function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===_.CLOSE?_.CLOSE:r,lifecycle:U.READY})})),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;te({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,s=t.debug,l=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=a()(e,this.props),m=h.changed,y=h.changedTo,g=h.changedFrom,b={action:n,controlled:i,index:l,lifecycle:c,size:u,status:p},v=r&&n!==_.CLOSE&&(l>0||n===_.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=g("lifecycle",[U.TOOLTIP,U.INIT],U.INIT);if(y("action",[_.NEXT,_.PREV,_.SKIP,_.CLOSE])&&(E||i)&&o(C({},b,{index:e.index,lifecycle:U.COMPLETE,step:e.step,type:F})),w&&f){var O=se(f.target),S=!!O;S&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(O)?(g("status",q.READY,q.RUNNING)||g("lifecycle",U.INIT,U.READY))&&o(C({},b,{step:f,type:L})):(console.warn(S?"Target not visible":"Target not mounted",f),o(C({},b,{type:H,step:f})),i||d({index:l+(-1!==[_.PREV].indexOf(n)?-1:1)}))}g("lifecycle",U.INIT,U.READY)&&d({lifecycle:Q(f)||v?U.TOOLTIP:U.BEACON}),m("index")&&te({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:s}),y("lifecycle",U.BEACON)&&o(C({},b,{step:f,type:D})),y("lifecycle",U.TOOLTIP)&&(o(C({},b,{step:f,type:B})),this.scope=new Ee(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),g("lifecycle",[U.TOOLTIP,U.INIT],U.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.shouldScroll,c=e.size,u=e.step,p=se(u.target);return ve(u)&&l.a.domElement(p)?r.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.a.createElement(Ne,{id:"react-joyride-portal"},r.a.createElement(ke,x({},u,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.a.createElement(w.a,x({component:r.a.createElement(Ce,{continuous:t,helpers:o,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:u}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||pe(p),open:this.open,placement:u.placement,target:u.target},u.floaterProps),r.a.createElement(Oe,{beaconComponent:u.beaconComponent,locale:u.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:s,styles:u.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!Q(t)&&n!==U.TOOLTIP)}}]),t}(r.a.Component),Ie=function(e){function t(e){var n;return E(this,t),k(R(n=M(this,P(t).call(this,e))),"initStore",(function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new re(C({},n.props,{controlled:r&&l.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return te({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()})),k(R(n),"callback",(function(e){var t=n.props.callback;l.a.function(t)&&t(e)})),k(R(n),"handleKeyboard",(function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===U.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),k(R(n),"syncState",(function(e){n.setState(e)})),k(R(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),k(R(n),"shouldScroll",(function(e,t,n,o,r,i,a){return!e&&(0!==t||n||o===U.TOOLTIP)&&"center"!==r.placement&&(!r.isFixed||!pe(i))&&a.lifecycle!==o&&-1!==[U.BEACON,U.TOOLTIP].indexOf(o)})),n.state=n.initStore(),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){if(G){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;we(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(G){var n=this.state,r=n.action,i=n.controlled,s=n.index,c=n.lifecycle,u=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,g=e.stepIndex,b=this.store,v=b.setSteps,w=b.reset,E=b.start,O=b.stop,S=b.update,k=a()(e,this.props).changed,x=a()(t,this.state),T=x.changed,N=x.changedFrom,P=x.changedTo,I=be(m[s],this.props),j=!function e(t,n){var r,i=Object(o.isValidElement)(t)||Object(o.isValidElement)(n),a=l.a.undefined(t)||l.a.undefined(n);if($(t)!==$(n)||i||a)return!1;if(l.a.domElement(t))return t.isSameNode(n);if(l.a.number(t))return t===n;if(l.a.function(t))return t.toString()===n.toString();for(var s in t)if(X(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(r=$(t[s]),-1!==["object","array"].indexOf(r)&&e(t[s],n[s]))continue;if("function"===r&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var c in n)if(X(n,c)&&void 0===t[c])return!1;return!0}(y,m),R=l.a.number(h)&&k("stepIndex");if(j&&(we(m,f)?v(m):console.warn("Steps are not valid",m)),k("run")&&(d?E(h):O()),R){var M=g<h?_.NEXT:_.PREV;r===_.STOP&&(M=_.START),-1===[q.FINISHED,q.SKIPPED].indexOf(u)&&S({action:r===_.CLOSE?_.CLOSE:M,index:h,lifecycle:U.INIT})}var L=C({},this.state,{index:s,step:I});if(P("action",[_.NEXT,_.PREV,_.SKIP,_.CLOSE])&&P("status",q.PAUSED)){var D=be(m[t.index],this.props);this.callback(C({},L,{index:t.index,lifecycle:U.COMPLETE,step:D,type:F}))}if(P("status",[q.FINISHED,q.SKIPPED])){var B=be(m[t.index],this.props);i||this.callback(C({},L,{index:t.index,lifecycle:U.COMPLETE,step:B,type:F})),this.callback(C({},L,{type:z,step:B,index:t.index})),w()}else N("status",[q.IDLE,q.READY],q.RUNNING)?this.callback(C({},L,{type:A})):T("status")?this.callback(C({},L,{type:W})):P("action",_.RESET)&&this.callback(C({},L,{type:W}));I&&(this.scrollToStep(t),"center"===I.placement&&u===q.RUNNING&&c===U.INIT&&this.store.update({lifecycle:U.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=i.scrollDuration,f=be(i.steps[n],this.props);if(f){var d=se(f.target),m=this.shouldScroll(s,n,c,o,f,d,e);if(r===q.RUNNING&&m){var y=ue(d,l),g=ce(d,l),b=Math.floor(fe(d,u,l))||0;if(te({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===U.BEACON&&this.beaconPopper){var v=this.beaconPopper,w=v.placement,E=v.popper;-1!==["bottom"].indexOf(w)||y||(b=Math.floor(E.top-u))}else if(o===U.TOOLTIP&&this.tooltipPopper){var O=this.tooltipPopper,S=O.flipped,k=O.placement,x=O.popper;-1===["top","right","left"].indexOf(k)||S||y?b-=f.spotlightPadding:b=Math.floor(x.top-u)}b=b>=0?b:0,r===q.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie(),n=arguments.length>2?arguments[2]:void 0;new Promise((function(o,r){var i=t.scrollTop,a=e>i?e-i:i-e;h.a.top(t,e,{duration:a<100?50:n},(function(e){return e&&"Element already at target scroll position"!==e.message?r(e):o()}))}))}(b,g,p)}}}},{key:"render",value:function(){if(!G)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=i.disableScrolling,c=i.scrollToFirstStep,u=be(i.steps[n],this.props);return o===q.RUNNING&&u&&(e=r.a.createElement(Pe,x({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!l&&(0!==n||c),step:u,update:this.store.update}))),r.a.createElement("div",{className:"react-joyride"},e)}}]),t}(r.a.Component);k(Ie,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var je=Ie;function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Me=lodash.debounce,_e=wp.i18n.__,Ae=wp.components,Le=Ae.Button,De=Ae.Modal,Be=wp.element,Fe=Be.Fragment,ze=Be.useEffect,We=Be.useRef,He=Be.useState,Ue=function(){var e=Re(He(!0),2),t=e[0],n=e[1],o=Re(He(!1),2),r=o[0],i=o[1],a=We(null);ze((function(){wp.api.loadPromise.then((function(){a.current=new wp.api.models.Settings}))}),[]);var s=[{target:".otter-step-one",content:_e("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:_e("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:_e("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:_e("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:_e("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:_e("Help us in making our plugin better with anonymous data tracking.")},{target:".otter-step-seven",content:_e("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-eight",content:_e("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:_e("That's it for now! Hope you enjoy Otter and love it as much as we do.")}],l=Me((function(e){if(t&&n(!1),"ready"===e||"finished"===e||"skipped"===e){var o=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();o.success((function(e,t){a.current.fetch()})),o.error((function(e,t){console.warning(e.responseJSON.message)}))}}),1e3);return wp.element.createElement(Fe,null,t&&wp.element.createElement(De,{title:_e("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},_e("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(Le,{isPrimary:!0,isLarge:!0,onClick:function(){n(!1),i(!0)}},_e("Start")),wp.element.createElement(Le,{isDefault:!0,isLarge:!0,onClick:function(){return l("skipped")}},_e("Skip")))),wp.element.createElement(je,{continuous:!0,run:r,steps:s,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:_e("Back"),close:_e("Close"),last:_e("Finish"),next:_e("Next"),skip:_e("Skip")},callback:function(e){return l(e.status)}}))},qe=n(14),Ge=n.n(qe),Ve=wp.i18n.__,Ye=function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ge()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:Ve("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))},$e=n(15),Ke=n.n($e);n(22);function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Je=wp.i18n.__,Ze=wp.components,Qe=Ze.BaseControl,et=Ze.Button,tt=Ze.ExternalLink,nt=Ze.PanelBody,ot=Ze.PanelRow,rt=Ze.Placeholder,it=Ze.Spinner,at=Ze.ToggleControl,st=wp.element,lt=st.Fragment,ct=st.useEffect,ut=st.useRef,pt=st.useState,ft=function(){ct((function(){wp.api.loadPromise.then((function(){k.current=new wp.api.models.Settings,!1===t&&k.current.fetch().then((function(e){p(Boolean(e.themeisle_blocks_settings_css_module)),h(Boolean(e.themeisle_blocks_settings_blocks_animation)),g(Boolean(e.themeisle_blocks_settings_default_block)),w(e.themeisle_google_map_block_api_key),S(e.otter_blocks_logger_flag),n(!0)}))}))}),[]);var e=Xe(pt(!1),2),t=e[0],n=e[1],o=Xe(pt(!1),2),r=o[0],i=o[1],a=Xe(pt(null),2),s=a[0],l=a[1],c=Xe(pt(!1),2),u=c[0],p=c[1],f=Xe(pt(!1),2),d=f[0],h=f[1],m=Xe(pt(!0),2),y=m[0],g=m[1],b=Xe(pt(""),2),v=b[0],w=b[1],E=Xe(pt("no"),2),O=E[0],S=E[1],k=ut(null),x=ut(null),T=function(e,t,n){i(!0),N(Je("Updating settings…"),"info");var o=new wp.api.models.Settings(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,n)).save();o.success((function(n,o){x.current.removeNotification(s),"success"===o&&(C(t,n[e]),setTimeout((function(){N(Je("Settings saved."),"success"),i(!1)}),800)),"error"===o&&setTimeout((function(){N(Je("An unknown error occurred."),"danger"),i(!1)}),800),k.current.fetch()})),o.error((function(e,t){x.current.removeNotification(s),setTimeout((function(){N(e.responseJSON.message?e.responseJSON.message:Je("An unknown error occurred."),"danger"),i(!1)}),800)}))},C=function(e,t){switch(e){case"cssModule":p(t);break;case"blocksAnimation":h(t);break;case"isDefaultSection":g(t);break;case"googleMapsAPI":w(t);break;case"isLoggingData":S(t)}},N=function(e,t){var n=x.current.addNotification({message:e,type:t,insert:"top",container:"top-right",slidingEnter:{duration:0,delay:0},dismiss:{duration:2e3},dismissable:{click:!0}});l(n)};return t?wp.element.createElement(lt,null,wp.element.createElement(Ke.a,{ref:x}),wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(nt,{title:Je("Modules")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:u,onChange:function(){return T("themeisle_blocks_settings_css_module","cssModule",!u)}})),wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:d,onChange:function(){return T("themeisle_blocks_settings_blocks_animation","blocksAnimation",!d)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(nt,{title:Je("Section")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:y,onChange:function(){return T("themeisle_blocks_settings_default_block","isDefaultSection",!y)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(nt,{title:Je("Maps")},wp.element.createElement(ot,null,wp.element.createElement(Qe,{label:Je("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:v,placeholder:Je("Google Maps API Key"),disabled:r,onChange:function(e){return w(e.target.value)}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(et,{isPrimary:!0,isLarge:!0,disabled:r,onClick:function(){return T("themeisle_google_map_block_api_key","googleMapsAPI",v)}},Je("Save")),wp.element.createElement(tt,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},Je("Get API Key"))))))),wp.element.createElement("div",{className:"otter-step-six"},wp.element.createElement(nt,{title:Je("Other")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Anonymous Data Tracking."),help:"Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.",checked:"yes"===O,onChange:function(){return T("otter_blocks_logger_flag","isLoggingData","yes"===O?"no":"yes")}})))),wp.element.createElement(nt,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,Je("Got a question for us?")),wp.element.createElement("p",null,Je("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-seven"},Je("Ask a question")),wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-eight"},Je("Leave a review"))))))):wp.element.createElement(rt,null,wp.element.createElement(it,null))},dt=wp.i18n.__,ht=function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},dt("No otters were harmed during the making of this plugin.")))},mt=wp.element,yt=mt.render,gt=mt.Fragment;yt(wp.element.createElement((function(){return wp.element.createElement(gt,null,Boolean(otterObj.showTour)&&wp.element.createElement(Ue,null),wp.element.createElement(Ye,null),wp.element.createElement(ft,null),wp.element.createElement(ht,null))}),null),document.getElementById("otter"))}]);
|
class-otter-blocks.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
/**
|
4 |
* Class Otter_Blocks
|
@@ -23,8 +28,8 @@ class Otter_Blocks {
|
|
23 |
* @access public
|
24 |
*/
|
25 |
public function __construct() {
|
26 |
-
$this->name
|
27 |
-
$this->description
|
28 |
}
|
29 |
|
30 |
/**
|
@@ -49,8 +54,8 @@ class Otter_Blocks {
|
|
49 |
*/
|
50 |
public function enqueue_block_assets() {
|
51 |
if ( is_admin() || has_block( 'themeisle-blocks/button-group' ) || has_block( 'themeisle-blocks/font-awesome-icons' ) || has_block( 'themeisle-blocks/sharing-icons' ) || has_block( 'themeisle-blocks/plugin-cards' ) || has_block( 'block' ) ) {
|
52 |
-
wp_enqueue_style( 'font-awesome-5', plugins_url( 'assets/fontawesome/css/all.min.css', __FILE__ ) );
|
53 |
-
wp_enqueue_style( 'font-awesome-4-shims', plugins_url( 'assets/fontawesome/css/v4-shims.min.css', __FILE__ ) );
|
54 |
}
|
55 |
}
|
56 |
|
@@ -105,10 +110,10 @@ class Otter_Blocks {
|
|
105 |
'themeisle_blocks_settings',
|
106 |
'themeisle_blocks_settings_redirect',
|
107 |
array(
|
108 |
-
'type'
|
109 |
-
'description'
|
110 |
-
'show_in_rest'
|
111 |
-
'default'
|
112 |
)
|
113 |
);
|
114 |
|
@@ -116,10 +121,10 @@ class Otter_Blocks {
|
|
116 |
'themeisle_blocks_settings',
|
117 |
'themeisle_blocks_settings_tour',
|
118 |
array(
|
119 |
-
'type'
|
120 |
-
'description'
|
121 |
-
'show_in_rest'
|
122 |
-
'default'
|
123 |
)
|
124 |
);
|
125 |
|
@@ -127,10 +132,10 @@ class Otter_Blocks {
|
|
127 |
'themeisle_blocks_settings',
|
128 |
'themeisle_blocks_settings_css_module',
|
129 |
array(
|
130 |
-
'type'
|
131 |
-
'description'
|
132 |
-
'show_in_rest'
|
133 |
-
'default'
|
134 |
)
|
135 |
);
|
136 |
|
@@ -138,10 +143,21 @@ class Otter_Blocks {
|
|
138 |
'themeisle_blocks_settings',
|
139 |
'themeisle_blocks_settings_blocks_animation',
|
140 |
array(
|
141 |
-
'type'
|
142 |
-
'description'
|
143 |
-
'show_in_rest'
|
144 |
-
'default'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
)
|
146 |
);
|
147 |
}
|
@@ -164,7 +180,8 @@ class Otter_Blocks {
|
|
164 |
wp_enqueue_style(
|
165 |
'otter-blocks-styles',
|
166 |
plugins_url( 'build/build.css', __FILE__ ),
|
167 |
-
array( 'wp-components' )
|
|
|
168 |
);
|
169 |
|
170 |
wp_enqueue_script(
|
@@ -176,10 +193,12 @@ class Otter_Blocks {
|
|
176 |
);
|
177 |
|
178 |
wp_localize_script(
|
179 |
-
'otter-blocks-scripts',
|
180 |
-
|
|
|
|
|
181 |
'assetsPath' => plugins_url( 'assets/', __FILE__ ),
|
182 |
-
'showTour'
|
183 |
)
|
184 |
);
|
185 |
}
|
@@ -209,7 +228,7 @@ class Otter_Blocks {
|
|
209 |
return;
|
210 |
}
|
211 |
|
212 |
-
if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {
|
213 |
return;
|
214 |
}
|
215 |
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Otter main class.
|
4 |
+
*
|
5 |
+
* @package @OtterBlocks
|
6 |
+
*/
|
7 |
|
8 |
/**
|
9 |
* Class Otter_Blocks
|
28 |
* @access public
|
29 |
*/
|
30 |
public function __construct() {
|
31 |
+
$this->name = __( 'Otter', 'otter-blocks' );
|
32 |
+
$this->description = __( 'Blocks for Gutenberg', 'otter-blocks' );
|
33 |
}
|
34 |
|
35 |
/**
|
54 |
*/
|
55 |
public function enqueue_block_assets() {
|
56 |
if ( is_admin() || has_block( 'themeisle-blocks/button-group' ) || has_block( 'themeisle-blocks/font-awesome-icons' ) || has_block( 'themeisle-blocks/sharing-icons' ) || has_block( 'themeisle-blocks/plugin-cards' ) || has_block( 'block' ) ) {
|
57 |
+
wp_enqueue_style( 'font-awesome-5', plugins_url( 'assets/fontawesome/css/all.min.css', __FILE__ ), [], OTTER_BLOCKS_VERSION );
|
58 |
+
wp_enqueue_style( 'font-awesome-4-shims', plugins_url( 'assets/fontawesome/css/v4-shims.min.css', __FILE__ ), [], OTTER_BLOCKS_VERSION );
|
59 |
}
|
60 |
}
|
61 |
|
110 |
'themeisle_blocks_settings',
|
111 |
'themeisle_blocks_settings_redirect',
|
112 |
array(
|
113 |
+
'type' => 'boolean',
|
114 |
+
'description' => __( 'Redirect on new install.', 'otter-blocks' ),
|
115 |
+
'show_in_rest' => true,
|
116 |
+
'default' => true,
|
117 |
)
|
118 |
);
|
119 |
|
121 |
'themeisle_blocks_settings',
|
122 |
'themeisle_blocks_settings_tour',
|
123 |
array(
|
124 |
+
'type' => 'boolean',
|
125 |
+
'description' => __( 'Show tour for Otter.', 'otter-blocks' ),
|
126 |
+
'show_in_rest' => true,
|
127 |
+
'default' => true,
|
128 |
)
|
129 |
);
|
130 |
|
132 |
'themeisle_blocks_settings',
|
133 |
'themeisle_blocks_settings_css_module',
|
134 |
array(
|
135 |
+
'type' => 'boolean',
|
136 |
+
'description' => __( 'Custom CSS module allows to add custom CSS to each block in Block Editor.', 'otter-blocks' ),
|
137 |
+
'show_in_rest' => true,
|
138 |
+
'default' => true,
|
139 |
)
|
140 |
);
|
141 |
|
143 |
'themeisle_blocks_settings',
|
144 |
'themeisle_blocks_settings_blocks_animation',
|
145 |
array(
|
146 |
+
'type' => 'boolean',
|
147 |
+
'description' => __( 'Blocks Animation module allows to add CSS animations to each block in Block Editor.', 'otter-blocks' ),
|
148 |
+
'show_in_rest' => true,
|
149 |
+
'default' => true,
|
150 |
+
)
|
151 |
+
);
|
152 |
+
|
153 |
+
register_setting(
|
154 |
+
'themeisle_blocks_settings',
|
155 |
+
'otter_blocks_logger_flag',
|
156 |
+
array(
|
157 |
+
'type' => 'string',
|
158 |
+
'description' => __( 'Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.', 'otter-blocks' ),
|
159 |
+
'show_in_rest' => true,
|
160 |
+
'default' => 'no',
|
161 |
)
|
162 |
);
|
163 |
}
|
180 |
wp_enqueue_style(
|
181 |
'otter-blocks-styles',
|
182 |
plugins_url( 'build/build.css', __FILE__ ),
|
183 |
+
array( 'wp-components' ),
|
184 |
+
$version
|
185 |
);
|
186 |
|
187 |
wp_enqueue_script(
|
193 |
);
|
194 |
|
195 |
wp_localize_script(
|
196 |
+
'otter-blocks-scripts',
|
197 |
+
'otterObj',
|
198 |
+
array(
|
199 |
+
'version' => OTTER_BLOCKS_VERSION,
|
200 |
'assetsPath' => plugins_url( 'assets/', __FILE__ ),
|
201 |
+
'showTour' => $tour,
|
202 |
)
|
203 |
);
|
204 |
}
|
228 |
return;
|
229 |
}
|
230 |
|
231 |
+
if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) { //phpcs:ignore WordPress.VIP.SuperGlobalInputUsage.AccessDetected,WordPress.Security.NonceVerification.NoNonceVerification
|
232 |
return;
|
233 |
}
|
234 |
|
otter-blocks.php
CHANGED
@@ -1,9 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
|
|
|
|
|
|
3 |
* Plugin Name: Gutenberg Blocks and Template Library by Otter
|
4 |
* Plugin URI: https://themeisle.com/plugins/otter-blocks
|
5 |
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com
|
9 |
* License: GPL-2.0+
|
@@ -22,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
22 |
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
|
23 |
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
|
24 |
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
|
25 |
-
define( 'OTTER_BLOCKS_VERSION', '1.3.
|
26 |
define( 'OTTER_BLOCKS_DEV', false );
|
27 |
|
28 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
@@ -33,7 +37,7 @@ if ( is_readable( $vendor_file ) ) {
|
|
33 |
add_action(
|
34 |
'plugins_loaded',
|
35 |
function () {
|
36 |
-
// call this only if Gutenberg is active
|
37 |
if ( function_exists( 'register_block_type' ) ) {
|
38 |
require_once dirname( __FILE__ ) . '/class-otter-blocks.php';
|
39 |
Otter_Blocks::instance();
|
@@ -51,7 +55,8 @@ add_filter(
|
|
51 |
);
|
52 |
|
53 |
add_action(
|
54 |
-
'plugin_action_links_' . plugin_basename( __FILE__ ),
|
|
|
55 |
array_unshift(
|
56 |
$links,
|
57 |
sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=otter' ), __( 'Settings', 'otter-blocks' ) )
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Main file.
|
4 |
+
*
|
5 |
+
* @package OtterBlocks
|
6 |
+
*
|
7 |
* Plugin Name: Gutenberg Blocks and Template Library by Otter
|
8 |
* Plugin URI: https://themeisle.com/plugins/otter-blocks
|
9 |
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
|
10 |
+
* Version: 1.3.2
|
11 |
* Author: ThemeIsle
|
12 |
* Author URI: https://themeisle.com
|
13 |
* License: GPL-2.0+
|
26 |
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
|
27 |
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
|
28 |
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
|
29 |
+
define( 'OTTER_BLOCKS_VERSION', '1.3.2' );
|
30 |
define( 'OTTER_BLOCKS_DEV', false );
|
31 |
|
32 |
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
|
37 |
add_action(
|
38 |
'plugins_loaded',
|
39 |
function () {
|
40 |
+
// call this only if Gutenberg is active.
|
41 |
if ( function_exists( 'register_block_type' ) ) {
|
42 |
require_once dirname( __FILE__ ) . '/class-otter-blocks.php';
|
43 |
Otter_Blocks::instance();
|
55 |
);
|
56 |
|
57 |
add_action(
|
58 |
+
'plugin_action_links_' . plugin_basename( __FILE__ ),
|
59 |
+
function( $links ) {
|
60 |
array_unshift(
|
61 |
$links,
|
62 |
sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=otter' ), __( 'Settings', 'otter-blocks' ) )
|
readme.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# Gutenberg Blocks and Template Library by Otter #
|
2 |
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
|
3 |
**Tags:** gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
|
4 |
-
**Requires at least:** 5.
|
5 |
**Tested up to:** 5.3
|
6 |
**Requires PHP:** 5.4
|
7 |
**Stable tag:** trunk
|
@@ -45,6 +45,23 @@ It has:
|
|
45 |
3. Posts Block
|
46 |
|
47 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
### 1.3.1 - 2019-12-03 ###
|
49 |
|
50 |
* - Added Slider Block
|
1 |
# Gutenberg Blocks and Template Library by Otter #
|
2 |
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
|
3 |
**Tags:** gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
|
4 |
+
**Requires at least:** 5.2
|
5 |
**Tested up to:** 5.3
|
6 |
**Requires PHP:** 5.4
|
7 |
**Stable tag:** trunk
|
45 |
3. Posts Block
|
46 |
|
47 |
## Changelog ##
|
48 |
+
|
49 |
+
##### [Version 1.3.2](https://github.com/Codeinwp/otter-blocks/compare/v1.3.1...v1.3.2) (2020-01-10)
|
50 |
+
|
51 |
+
- Add Slider Transforms [#142](https://github.com/Codeinwp/otter-blocks/issues/142)
|
52 |
+
- Improve Onboarding Experience & New Icons: [#144](https://github.com/Codeinwp/otter-blocks/issues/144)
|
53 |
+
- Remove deprecated blocks: [#103](https://github.com/Codeinwp/otter-blocks/issues/103)
|
54 |
+
- React Hooks: [#145](https://github.com/Codeinwp/otter-blocks/issues/145)
|
55 |
+
- Remove background from Posts Block: [#149](https://github.com/Codeinwp/otter-blocks/issues/149)
|
56 |
+
- Allow changing Title tag in Posts Block: [#147](https://github.com/Codeinwp/otter-blocks/issues/147)
|
57 |
+
- Change Category from H6 to Span: [#148](https://github.com/Codeinwp/otter-blocks/issues/148)
|
58 |
+
- Option to remove the image's box-shadow: [#146](https://github.com/Codeinwp/otter-blocks/issues/146)
|
59 |
+
- Fix domino effect in Sizing Component: [#151](https://github.com/Codeinwp/otter-blocks/issues/151)
|
60 |
+
- Add tracking toggle to Option Page
|
61 |
+
- Use React Hooks for Option Panel
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
### 1.3.1 - 2019-12-03 ###
|
66 |
|
67 |
* - Added Slider Block
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Gutenberg Blocks and Template Library by Otter ===
|
2 |
Contributors: themeisle, hardeepasrani
|
3 |
Tags: gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
|
4 |
-
Requires at least: 5.
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.4
|
7 |
Stable tag: trunk
|
@@ -45,6 +45,23 @@ It has:
|
|
45 |
3. Posts Block
|
46 |
|
47 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
= 1.3.1 - 2019-12-03 =
|
49 |
|
50 |
* - Added Slider Block
|
1 |
=== Gutenberg Blocks and Template Library by Otter ===
|
2 |
Contributors: themeisle, hardeepasrani
|
3 |
Tags: gutenberg blocks, gutenberg, block,post grid block, google map block, columns block, advanced columns, section, row, layout
|
4 |
+
Requires at least: 5.2
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.4
|
7 |
Stable tag: trunk
|
45 |
3. Posts Block
|
46 |
|
47 |
== Changelog ==
|
48 |
+
|
49 |
+
##### [Version 1.3.2](https://github.com/Codeinwp/otter-blocks/compare/v1.3.1...v1.3.2) (2020-01-10)
|
50 |
+
|
51 |
+
- Add Slider Transforms [#142](https://github.com/Codeinwp/otter-blocks/issues/142)
|
52 |
+
- Improve Onboarding Experience & New Icons: [#144](https://github.com/Codeinwp/otter-blocks/issues/144)
|
53 |
+
- Remove deprecated blocks: [#103](https://github.com/Codeinwp/otter-blocks/issues/103)
|
54 |
+
- React Hooks: [#145](https://github.com/Codeinwp/otter-blocks/issues/145)
|
55 |
+
- Remove background from Posts Block: [#149](https://github.com/Codeinwp/otter-blocks/issues/149)
|
56 |
+
- Allow changing Title tag in Posts Block: [#147](https://github.com/Codeinwp/otter-blocks/issues/147)
|
57 |
+
- Change Category from H6 to Span: [#148](https://github.com/Codeinwp/otter-blocks/issues/148)
|
58 |
+
- Option to remove the image's box-shadow: [#146](https://github.com/Codeinwp/otter-blocks/issues/146)
|
59 |
+
- Fix domino effect in Sizing Component: [#151](https://github.com/Codeinwp/otter-blocks/issues/151)
|
60 |
+
- Add tracking toggle to Option Page
|
61 |
+
- Use React Hooks for Option Panel
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
= 1.3.1 - 2019-12-03 =
|
66 |
|
67 |
* - Added Slider Block
|
vendor/autoload.php
CHANGED
@@ -2,6 +2,6 @@
|
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
-
require_once __DIR__ . '/composer
|
6 |
|
7 |
-
return
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
+
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit1dbb9707d3044888f1f55d52ea340e8d::getLoader();
|
vendor/codeinwp/gutenberg-animation/CHANGELOG.md
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### [Version 1.0.4](https://github.com/Codeinwp/gutenberg-animation/compare/v1.0.3...v1.0.4) (2020-01-06)
|
2 |
+
|
3 |
+
> Things are getting better every day. :rocket:
|
4 |
+
|
5 |
+
### [Version 1.0.3](https://github.com/Codeinwp/gutenberg-animation/compare/v1.0.2...v1.0.3) (2019-12-20)
|
6 |
+
|
7 |
+
* add github actions
|
8 |
+
* add phpcs
|
vendor/codeinwp/gutenberg-animation/README.md
CHANGED
@@ -12,4 +12,19 @@ if ( class_exists( '\ThemeIsle\GutenbergAnimation' ) ) {
|
|
12 |
## Credits
|
13 |
|
14 |
Animate.css, https://daneden.github.io/animate.css/
|
15 |
-
Animate.css is licensed under the MIT license. (http://opensource.org/licenses/MIT)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
## Credits
|
13 |
|
14 |
Animate.css, https://daneden.github.io/animate.css/
|
15 |
+
Animate.css is licensed under the MIT license. (http://opensource.org/licenses/MIT)
|
16 |
+
|
17 |
+
|
18 |
+
## Releasing
|
19 |
+
|
20 |
+
This repository uses conventional [changelog commit](https://github.com/Codeinwp/conventional-changelog-simple-preset) messages to trigger release
|
21 |
+
|
22 |
+
How to release a new version:
|
23 |
+
|
24 |
+
- Clone the master branch
|
25 |
+
- Do your changes
|
26 |
+
- Send a PR to master and merge it using the following subject message
|
27 |
+
- `release: <release short description>` - for patch release
|
28 |
+
- `release(minor): <release short description>` - for minor release
|
29 |
+
- `release(major): <release short description>` - for major release
|
30 |
+
The release notes will inherit the body of the commit message which triggered the release. For more details check the [simple-preset]()https://github.com/Codeinwp/conventional-changelog-simple-preset that we use.
|
vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
namespace ThemeIsle;
|
4 |
|
@@ -42,14 +47,15 @@ class GutenbergAnimation {
|
|
42 |
if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
|
43 |
$version = time();
|
44 |
} else {
|
45 |
-
$version =
|
46 |
}
|
47 |
|
48 |
wp_enqueue_script(
|
49 |
'themeisle-gutenberg-animation',
|
50 |
plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/build.js',
|
51 |
array( 'wp-i18n', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-editor', 'wp-element', 'wp-hooks' ),
|
52 |
-
$version
|
|
|
53 |
);
|
54 |
|
55 |
wp_set_script_translations( 'themeisle-gutenberg-animation', 'textdomain' );
|
@@ -65,21 +71,23 @@ class GutenbergAnimation {
|
|
65 |
if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
|
66 |
return;
|
67 |
}
|
68 |
-
|
|
|
|
|
|
|
|
|
69 |
wp_enqueue_style(
|
70 |
'animate-css',
|
71 |
-
plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/animate.min.css'
|
|
|
|
|
72 |
);
|
73 |
|
74 |
if ( is_admin() ) {
|
75 |
return;
|
76 |
}
|
77 |
|
78 |
-
|
79 |
-
$version = time();
|
80 |
-
} else {
|
81 |
-
$version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
|
82 |
-
}
|
83 |
|
84 |
wp_enqueue_script(
|
85 |
'themeisle-gutenberg-animation-frontend',
|
@@ -91,7 +99,9 @@ class GutenbergAnimation {
|
|
91 |
|
92 |
wp_enqueue_style(
|
93 |
'themeisle-gutenberg-animation-style',
|
94 |
-
plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css'
|
|
|
|
|
95 |
);
|
96 |
}
|
97 |
|
@@ -105,15 +115,15 @@ class GutenbergAnimation {
|
|
105 |
public function add_attributes_to_blocks() {
|
106 |
$registered_blocks = \WP_Block_Type_Registry::get_instance()->get_all_registered();
|
107 |
|
108 |
-
foreach( $registered_blocks as $name => $block ) {
|
109 |
$block->attributes['hasCustomCSS'] = array(
|
110 |
'type' => 'boolean',
|
111 |
-
'default' => false
|
112 |
);
|
113 |
|
114 |
-
$block->attributes['customCSS']
|
115 |
'type' => 'string',
|
116 |
-
'default' => ''
|
117 |
);
|
118 |
}
|
119 |
}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Class for Animation logic.
|
4 |
+
*
|
5 |
+
* @package gutenberg-animation
|
6 |
+
*/
|
7 |
|
8 |
namespace ThemeIsle;
|
9 |
|
47 |
if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
|
48 |
$version = time();
|
49 |
} else {
|
50 |
+
$version = THEMEISLE_GUTENBERG_ANIMATION_VERSION;
|
51 |
}
|
52 |
|
53 |
wp_enqueue_script(
|
54 |
'themeisle-gutenberg-animation',
|
55 |
plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/build.js',
|
56 |
array( 'wp-i18n', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-editor', 'wp-element', 'wp-hooks' ),
|
57 |
+
$version,
|
58 |
+
true
|
59 |
);
|
60 |
|
61 |
wp_set_script_translations( 'themeisle-gutenberg-animation', 'textdomain' );
|
71 |
if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
|
72 |
return;
|
73 |
}
|
74 |
+
if ( THEMEISLE_GUTENBERG_ANIMATION_DEV ) {
|
75 |
+
$version = time();
|
76 |
+
} else {
|
77 |
+
$version = THEMEISLE_GUTENBERG_ANIMATION_DEV;
|
78 |
+
}
|
79 |
wp_enqueue_style(
|
80 |
'animate-css',
|
81 |
+
plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/animate.min.css',
|
82 |
+
array(),
|
83 |
+
$version
|
84 |
);
|
85 |
|
86 |
if ( is_admin() ) {
|
87 |
return;
|
88 |
}
|
89 |
|
90 |
+
|
|
|
|
|
|
|
|
|
91 |
|
92 |
wp_enqueue_script(
|
93 |
'themeisle-gutenberg-animation-frontend',
|
99 |
|
100 |
wp_enqueue_style(
|
101 |
'themeisle-gutenberg-animation-style',
|
102 |
+
plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css',
|
103 |
+
array(),
|
104 |
+
$version
|
105 |
);
|
106 |
}
|
107 |
|
115 |
public function add_attributes_to_blocks() {
|
116 |
$registered_blocks = \WP_Block_Type_Registry::get_instance()->get_all_registered();
|
117 |
|
118 |
+
foreach ( $registered_blocks as $name => $block ) {
|
119 |
$block->attributes['hasCustomCSS'] = array(
|
120 |
'type' => 'boolean',
|
121 |
+
'default' => false,
|
122 |
);
|
123 |
|
124 |
+
$block->attributes['customCSS'] = array(
|
125 |
'type' => 'string',
|
126 |
+
'default' => '',
|
127 |
);
|
128 |
}
|
129 |
}
|
vendor/codeinwp/gutenberg-animation/load.php
CHANGED
@@ -10,13 +10,14 @@
|
|
10 |
|
11 |
define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.4' );
|
12 |
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
|
13 |
-
|
14 |
-
add_action(
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
20 |
}
|
21 |
-
|
22 |
-
|
10 |
|
11 |
define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.4' );
|
12 |
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
|
13 |
+
if ( function_exists( 'add_action' ) ) {
|
14 |
+
add_action(
|
15 |
+
'plugins_loaded',
|
16 |
+
function () {
|
17 |
+
// call this only if Gutenberg is active.
|
18 |
+
if ( function_exists( 'register_block_type' ) ) {
|
19 |
+
require_once dirname( __FILE__ ) . '/class-gutenberg-animation.php';
|
20 |
+
}
|
21 |
}
|
22 |
+
);
|
23 |
+
}
|
vendor/codeinwp/gutenberg-blocks/CHANGELOG.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
##### [Version 1.3.4](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.3...v1.3.4) (2020-01-09)
|
2 |
+
|
3 |
+
Fix issue with icons not appearing in Chrome
|
4 |
+
Fix issue with icons not appearing in Chrome
|
5 |
+
|
6 |
+
##### [Version 1.3.3](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.2...v1.3.3) (2020-01-09)
|
7 |
+
|
8 |
+
Fix composer loading condition
|
9 |
+
|
10 |
+
##### [Version 1.3.2](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.1...v1.3.2) (2020-01-09)
|
11 |
+
|
12 |
+
- Add Slider Transforms [#142](https://github.com/Codeinwp/gutenberg-blocks/issues/142)
|
13 |
+
- Improve Onboarding Experience & New Icons: [#144](https://github.com/Codeinwp/gutenberg-blocks/issues/144)
|
14 |
+
- Remove deprecated blocks: [#103](https://github.com/Codeinwp/gutenberg-blocks/issues/103)
|
15 |
+
- React Hooks: [#145](https://github.com/Codeinwp/gutenberg-blocks/issues/145)
|
16 |
+
- Remove background from Posts Block: [#149](https://github.com/Codeinwp/gutenberg-blocks/issues/149)
|
17 |
+
- Allow changing Title tag in Posts Block: [#147](https://github.com/Codeinwp/gutenberg-blocks/issues/147)
|
18 |
+
- Change Category from H6 to Span: [#148](https://github.com/Codeinwp/gutenberg-blocks/issues/148)
|
19 |
+
- Option to remove the image's box-shadow: [#146](https://github.com/Codeinwp/gutenberg-blocks/issues/146)
|
20 |
+
- Fix domino effect in Sizing Component: [#151](https://github.com/Codeinwp/gutenberg-blocks/issues/151)
|
vendor/codeinwp/gutenberg-blocks/autoloader.php
CHANGED
@@ -7,6 +7,11 @@
|
|
7 |
|
8 |
namespace ThemeIsle\GutenbergBlocks;
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
class Autoloader {
|
11 |
/**
|
12 |
* An associative array where the key is a namespace prefix and the value
|
@@ -31,24 +36,24 @@ class Autoloader {
|
|
31 |
* @param string $prefix The namespace prefix.
|
32 |
* @param string $base_dir A base directory for class files in the
|
33 |
* namespace.
|
34 |
-
* @param bool
|
35 |
-
*
|
36 |
-
*
|
37 |
* @return void
|
38 |
*/
|
39 |
public function add_namespace( $prefix, $base_dir, $prepend = false ) {
|
40 |
-
// normalize namespace prefix
|
41 |
$prefix = trim( $prefix, '\\' ) . '\\';
|
42 |
|
43 |
-
// normalize the base directory with a trailing separator
|
44 |
$base_dir = rtrim( $base_dir, DIRECTORY_SEPARATOR ) . '/';
|
45 |
|
46 |
-
// initialize the namespace prefix array
|
47 |
if ( isset( $this->prefixes[ $prefix ] ) === false ) {
|
48 |
$this->prefixes[ $prefix ] = array();
|
49 |
}
|
50 |
|
51 |
-
// retain the base directory for the namespace prefix
|
52 |
if ( $prepend ) {
|
53 |
array_unshift( $this->prefixes[ $prefix ], $base_dir );
|
54 |
} else {
|
@@ -64,31 +69,31 @@ class Autoloader {
|
|
64 |
* failure.
|
65 |
*/
|
66 |
public function load_class( $class ) {
|
67 |
-
// the current namespace prefix
|
68 |
$prefix = $class;
|
69 |
|
70 |
-
// work backwards through the namespace names of the fully-qualified
|
71 |
-
// class name to find a mapped file name
|
72 |
-
while ( false !== $pos = strrpos( $prefix, '\\' ) ) {
|
73 |
|
74 |
-
// retain the trailing namespace separator in the prefix
|
75 |
$prefix = substr( $class, 0, $pos + 1 );
|
76 |
|
77 |
-
// the rest is the relative class name
|
78 |
$relative_class = substr( $class, $pos + 1 );
|
79 |
|
80 |
-
// try to load a mapped file for the prefix and relative class
|
81 |
$mapped_file = $this->load_mapped_file( $prefix, $relative_class );
|
82 |
if ( $mapped_file ) {
|
83 |
return $mapped_file;
|
84 |
}
|
85 |
|
86 |
-
// remove the trailing namespace separator for the next iteration
|
87 |
-
// of strrpos()
|
88 |
$prefix = rtrim( $prefix, '\\' );
|
89 |
}
|
90 |
|
91 |
-
// never found a mapped file
|
92 |
return false;
|
93 |
}
|
94 |
|
@@ -106,12 +111,12 @@ class Autoloader {
|
|
106 |
return false;
|
107 |
}
|
108 |
|
109 |
-
// look through base directories for this namespace prefix
|
110 |
foreach ( $this->prefixes[ $prefix ] as $base_dir ) {
|
111 |
|
112 |
// replace the namespace prefix with the base directory,
|
113 |
// replace namespace separators with directory separators
|
114 |
-
// in the relative class name, append with .php
|
115 |
$relative_class = strtolower( str_replace( '\\', '/', $relative_class ) );
|
116 |
$relative_class = str_replace( '_', '-', $relative_class );
|
117 |
|
@@ -122,14 +127,14 @@ class Autoloader {
|
|
122 |
}
|
123 |
$file = $base_dir . $relative_class . '.php';
|
124 |
|
125 |
-
// if the mapped file exists, require it
|
126 |
if ( $this->require_file( $file ) ) {
|
127 |
-
// yes, we're done
|
128 |
return $file;
|
129 |
}
|
130 |
}
|
131 |
|
132 |
-
// never found it
|
133 |
return false;
|
134 |
}
|
135 |
|
7 |
|
8 |
namespace ThemeIsle\GutenbergBlocks;
|
9 |
|
10 |
+
/**
|
11 |
+
* Class Autoloader
|
12 |
+
*
|
13 |
+
* @package ThemeIsle\GutenbergBlocks
|
14 |
+
*/
|
15 |
class Autoloader {
|
16 |
/**
|
17 |
* An associative array where the key is a namespace prefix and the value
|
36 |
* @param string $prefix The namespace prefix.
|
37 |
* @param string $base_dir A base directory for class files in the
|
38 |
* namespace.
|
39 |
+
* @param bool $prepend If true, prepend the base directory to the stack
|
40 |
+
* instead of appending it; this causes it to be searched first rather
|
41 |
+
* than last.
|
42 |
* @return void
|
43 |
*/
|
44 |
public function add_namespace( $prefix, $base_dir, $prepend = false ) {
|
45 |
+
// normalize namespace prefix.
|
46 |
$prefix = trim( $prefix, '\\' ) . '\\';
|
47 |
|
48 |
+
// normalize the base directory with a trailing separator.
|
49 |
$base_dir = rtrim( $base_dir, DIRECTORY_SEPARATOR ) . '/';
|
50 |
|
51 |
+
// initialize the namespace prefix array.
|
52 |
if ( isset( $this->prefixes[ $prefix ] ) === false ) {
|
53 |
$this->prefixes[ $prefix ] = array();
|
54 |
}
|
55 |
|
56 |
+
// retain the base directory for the namespace prefix.
|
57 |
if ( $prepend ) {
|
58 |
array_unshift( $this->prefixes[ $prefix ], $base_dir );
|
59 |
} else {
|
69 |
* failure.
|
70 |
*/
|
71 |
public function load_class( $class ) {
|
72 |
+
// the current namespace prefix.
|
73 |
$prefix = $class;
|
74 |
|
75 |
+
// work backwards through the namespace names of the fully-qualified.
|
76 |
+
// class name to find a mapped file name.
|
77 |
+
while ( false !== $pos = strrpos( $prefix, '\\' ) ) { //phpcs:ignore WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
|
78 |
|
79 |
+
// retain the trailing namespace separator in the prefix.
|
80 |
$prefix = substr( $class, 0, $pos + 1 );
|
81 |
|
82 |
+
// the rest is the relative class name.
|
83 |
$relative_class = substr( $class, $pos + 1 );
|
84 |
|
85 |
+
// try to load a mapped file for the prefix and relative class.
|
86 |
$mapped_file = $this->load_mapped_file( $prefix, $relative_class );
|
87 |
if ( $mapped_file ) {
|
88 |
return $mapped_file;
|
89 |
}
|
90 |
|
91 |
+
// remove the trailing namespace separator for the next iteration.
|
92 |
+
// of strrpos().
|
93 |
$prefix = rtrim( $prefix, '\\' );
|
94 |
}
|
95 |
|
96 |
+
// never found a mapped file.
|
97 |
return false;
|
98 |
}
|
99 |
|
111 |
return false;
|
112 |
}
|
113 |
|
114 |
+
// look through base directories for this namespace prefix.
|
115 |
foreach ( $this->prefixes[ $prefix ] as $base_dir ) {
|
116 |
|
117 |
// replace the namespace prefix with the base directory,
|
118 |
// replace namespace separators with directory separators
|
119 |
+
// in the relative class name, append with .php.
|
120 |
$relative_class = strtolower( str_replace( '\\', '/', $relative_class ) );
|
121 |
$relative_class = str_replace( '_', '-', $relative_class );
|
122 |
|
127 |
}
|
128 |
$file = $base_dir . $relative_class . '.php';
|
129 |
|
130 |
+
// if the mapped file exists, require it.
|
131 |
if ( $this->require_file( $file ) ) {
|
132 |
+
// yes, we're done.
|
133 |
return $file;
|
134 |
}
|
135 |
}
|
136 |
|
137 |
+
// never found it.
|
138 |
return false;
|
139 |
}
|
140 |
|
vendor/codeinwp/gutenberg-blocks/build/blocks.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){function t(t){for(var o,r,i=t[0],c=t[1],s=t[2],u=0,m=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&m.push(a[r][0]),a[r]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);for(p&&p(t);m.length;)m.shift()();return l.push.apply(l,s||[]),n()}function n(){for(var e,t=0;t<l.length;t++){for(var n=l[t],o=!0,i=1;i<n.length;i++){var c=n[i];0!==a[c]&&(o=!1)}o&&(l.splice(t--,1),e=r(r.s=n[0]))}return e}var o={},a={2:0},l=[];function r(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,o){n=a[e]=[t,o]}));t.push(n[2]=o);var l,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;l=function(t){i.onerror=i.onload=null,clearTimeout(s);var n=a[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),l=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+l+")",c.name="ChunkLoadError",c.type=o,c.request=l,n[1](c)}a[e]=void 0}};var s=setTimeout((function(){l({type:"timeout",target:i})}),12e4);i.onerror=i.onload=l,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var p=c;l.push([39,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return p})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"q",(function(){return d})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return f})),n.d(t,"o",(function(){return w})),n.d(t,"r",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return E})),n.d(t,"c",(function(){return C})),n.d(t,"k",(function(){return x}));var o=wp.components,a=o.Path,l=o.SVG,r=function(){return wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(a,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(a,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(a,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(a,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(a,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(a,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},s=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},u=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},m=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},d=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},f=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},w=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},y=function(){return wp.element.createElement(l,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(l,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},E=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},C=function(){return wp.element.createElement(l,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(a,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(a,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l}));var o=wp.i18n.__,a=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},l=function(e){var t=[o("January"),o("February"),o("March"),o("April"),o("May"),o("June"),o("July"),o("August"),o("September"),o("October"),o("November"),o("December")],n=(e=new Date(e)).getDate(),a=e.getMonth(),l=e.getFullYear();return n+" "+t[a]+", "+l}},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(56);function l(e){return(l="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){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==l(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}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.components,m=u.Dropdown,d=u.IconButton,b=u.RangeControl,g=wp.compose.withInstanceId,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c(t).apply(this,arguments))}var n,o,l;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,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this,t="inspector-sizing-control-".concat(this.props.instanceId);return this.props.options&&1>this.props.options.length?p("Please specify more options."):wp.element.createElement("div",{id:t,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},this.props.label&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:t},this.props.label),wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:this.props.type})},this.props.options.map((function(t,n){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},t.disabled?wp.element.createElement("input",{type:"number",disabled:t.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n)}):wp.element.createElement(m,{position:"top center",focusOnMount:!1,renderToggle:function(o){o.isOpen;var a=o.onToggle;return wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId),value:t.value,min:e.props.min,max:e.props.max,onFocus:a,onChange:function(n){return e.props.onChange(t.type,parseInt(n.target.value))}})},renderContent:function(n){return n.onToggle,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(b,{value:t.value,initialPosition:t.value,beforeIcon:"minus",afterIcon:"plus",min:e.props.min,max:e.props.max,onChange:function(n){return e.props.onChange(t.type,n)}}))}}),t.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(n,"-").concat(e.props.instanceId)},t.label))})),this.props.type&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===this.props.type})},wp.element.createElement(d,{icon:"linked"===this.props.type?"admin-links":"editor-unlink",tooltip:"linked"===this.props.type?p("Unlink Values"):p("Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return e.props.changeType("linked"===e.props.type?"unlinked":"linked")}})))))}}])&&r(n.prototype,o),l&&r(n,l),t}(wp.element.Component);t.a=g(h)},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=(n(55),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=wp.compose.withInstanceId;t.a=u((function(e){var t=e.label,n=e.instanceId,o=e.changeViewType,r=e.view,u=e.children,m="inspector-responsive-control-".concat(n);return wp.element.createElement("div",{id:m,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===r?"smartphone":r,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===r}),onClick:function(){t(),o("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===r}),onClick:function(){t(),o("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===r}),onClick:function(){t(),o("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),u))}))},function(e,t,n){"use strict";n(54);var o=wp.components,a=o.Dropdown,l=o.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,o=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(a,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(l,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:o,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},o)}})))))}))},function(e,t){e.exports=React},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(99),n(100),wp.components),r=l.SVG,i=l.Path;t.default=function(e){var t=e.type,n=e.front,o=e.style,l=e.fill,c=e.invert,s=e.width,p=e.height;return"none"!==o&&wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&s?{transform:"".concat(s?"scaleX( ".concat(s/100," )"):"")}:{}},"bigTriangle"===o&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===o&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===o&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===o&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===o&&wp.element.createElement(r,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===o&&!1===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===o&&!0===c&&wp.element.createElement(r,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===o&&wp.element.createElement(r,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(89),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,s=i.ButtonGroup,p=i.Icon,u=i.IconButton,m=i.Tooltip,d=wp.compose.withInstanceId;t.default=d((function(e){var t=e.label,n=e.instanceId,o=e.backgroundType,i=e.changeBackgroundType,d="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:d,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(s,{className:"linking-controls"},wp.element.createElement(u,{icon:"admin-customizer",label:r("Color"),className:a()("is-button",{"is-primary":"color"===o}),onClick:function(){i("color")}}),wp.element.createElement(u,{icon:"format-image",label:r("Image"),className:a()("is-button",{"is-primary":"image"===o}),onClick:function(){i("image")}}),wp.element.createElement(m,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:a()("is-button",{"is-primary":"gradient"===o}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:l.b})))))))}))},function(e,t,n){"use strict";var o=n(0),a=n.n(o);n(53);function l(e){return(l="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){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,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return!t||"object"!==l(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}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=lodash,d=m.startCase,b=m.toLower,g=wp.i18n.__,h=wp.compose.withInstanceId,f=wp.components,w=f.Button,y=f.BaseControl,v=f.Dropdown,k=f.MenuGroup,E=f.MenuItem,C=f.SelectControl,x=f.TextControl,T=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,p(t).apply(this,arguments))).state={fonts:null,font:[],variants:null,search:""},e}var n,o,l,m,h;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,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(m=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){t.setState({fonts:e.items}),t.props.value&&e.items.find((function(e){if(t.props.value===e.family){var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));return t.setState({variants:n})}}))}));case 2:case"end":return e.stop()}}),e)})),h=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=m.apply(e,t);function l(e){i(a,n,o,l,r,"next",e)}function r(e){i(a,n,o,l,r,"throw",e)}l(void 0)}))},function(){return h.apply(this,arguments)})},{key:"render",value:function(){var e=this,t="inspector-google-fonts-control-".concat(this.props.instanceId);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(y,{label:this.props.label,id:t},null!==this.state.fonts?this.props.isSelect?wp.element.createElement(C,{value:this.props.value||"",id:t,options:[{label:g("Default"),value:""}].concat(r(this.state.fonts.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(t){e.props.onChangeFontFamily(t),e.props.onChangeFontVariant("regular");var n=e.state.fonts.find((function(e){return t===e.family})),o=n.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:n,variants:o})}}):wp.element.createElement(v,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(n){var o=n.isOpen,a=n.onToggle;return wp.element.createElement(w,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:t,onClick:a,"aria-expanded":o},e.props.value?e.props.value:g("Select Font Family"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(k,{label:g("Google Fonts")},wp.element.createElement(x,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(E,{onClick:function(){n(),e.props.onChangeFontFamily(""),e.setState({font:[],variants:[],search:""})}},g("Default")),e.state.fonts.map((function(t){if(!e.state.search||t.family.toLowerCase().includes(e.state.search.toLowerCase()))return wp.element.createElement(E,{className:a()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.props.onChangeFontFamily(t.family),e.props.onChangeFontVariant("regular");var o=t.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(b(e)),value:e}}));e.setState({font:t,variants:o,search:""})}},t.family)}))))}}):g("Loading…")),this.state.variants&&wp.element.createElement(C,{label:g("Font Width"),value:this.props.valueVariant||"regular",options:this.state.variants,onChange:this.props.onChangeFontVariant}),wp.element.createElement(C,{label:g("Font Style"),value:this.props.valueStyle,options:[{label:g("Regular"),value:"normal"},{label:g("Italic"),value:"italic"}],onChange:this.props.onChangeFontStyle}),!this.props.disableTransform&&wp.element.createElement(C,{label:g("Font Transform"),value:this.props.valueTransform,options:[{label:g("Default"),value:"none"},{label:g("Uppercase"),value:"uppercase"},{label:g("Lowercase"),value:"lowercase"},{label:g("Capitalize"),value:"capitalize"}],onChange:this.props.onChangeTextTransform}))}}])&&c(n.prototype,o),l&&c(n,l),t}(wp.element.Component);t.a=h(T)},,function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var o=n(0),a=n.n(o),l=(n(83),wp.components),r=l.BaseControl,i=l.Button,c=l.Dropdown,s=l.IconButton,p=l.Toolbar,u=wp.compose.withInstanceId,m=(wp.blockEditor||wp.editor).BlockControls,d=wp.element.Fragment,b=u((function(e){var t=e.instanceId,n=e.label,o=e.value,l=e.options,c=e.onChange,s="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:s,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},l.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===o}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,o=e.options,l=e.onChange;return wp.element.createElement(m,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(s,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:o,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(d,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:a()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return l(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},function(e,t){e.exports=ReactDOM},,function(e,t,n){"use strict";var o=n(0),a=n.n(o),l=n(37);n(59);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 i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.i18n.__,m=wp.apiFetch,d=wp.components,b=d.BaseControl,g=d.IconButton,h=d.Popover,f=wp.compose,w=f.compose,y=f.withInstanceId,v=wp.data.withSelect,k=wp.element,E=k.Component,C=k.createRef,x=wp.keycodes,T=x.DOWN,S=x.ENTER,B=x.TAB,O=x.UP,M=wp.url.addQueryArgs,L=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=c(t).apply(this,arguments))||"object"!==r(o)&&"function"!=typeof o?s(n):o).bindSuggestionNode=e.bindSuggestionNode.bind(s(e)),e.updateSuggestions=e.updateSuggestions.bind(s(e)),e.onChangeValue=e.onChangeValue.bind(s(e)),e.clickSuggestion=e.clickSuggestion.bind(s(e)),e.onKeyDown=e.onKeyDown.bind(s(e)),e.autocompleteRef=e.autocompleteRef||C(),e.scrollingIntoView=!1,e.suggestionNodes=[],e.state={isOpen:!1,showSuggestions:!1,selectedSuggestion:null,suggestions:[]},e}var n,o,d;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,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(){var e=this;this.state.showSuggestions&&null!==this.state.selectedSuggestion&&!this.scrollingIntoView&&null!==this.autocompleteRef.current&&(this.scrollingIntoView=!0,Object(l.a)(this.suggestionNodes[this.state.selectedSuggestion],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t,n=this,o=this.props.fetchLinkSuggestions;1>=e.length||/^https?:/.test(e)?this.setState({showSuggestions:!1}):(this.setState({showSuggestions:!0}),(t=o?o(e):m({path:M("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){n.suggestionsRequest===t&&n.setState({suggestions:e})})),this.suggestionsRequest=t)}},{key:"onChangeValue",value:function(e){this.props.onChange(e.target.value),this.props.suggestions||this.updateSuggestions(e.target.value)}},{key:"clickSuggestion",value:function(e){this.props.onChange(e),this.setState({showSuggestions:!1})}},{key:"onKeyDown",value:function(e){if(this.state.showSuggestions&&1<=this.state.suggestions.length){var t=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case O:e.stopPropagation(),e.preventDefault();var n=this.state.selectedSuggestion?this.state.selectedSuggestion-1:this.state.suggestions.length-1;this.setState({selectedSuggestion:n});break;case T:e.stopPropagation(),e.preventDefault();var o=null===this.state.selectedSuggestion||this.state.selectedSuggestion===this.state.suggestions.length-1?0:this.state.selectedSuggestion+1;this.setState({selectedSuggestion:o});break;case B:case S:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.clickSuggestion(t.url))}}}},{key:"render",value:function(){var e=this,t="inspector-link-control-".concat(this.props.instanceId);return wp.element.createElement(b,{id:t,label:this.props.label,help:this.props.help,className:this.props.className},wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":this.state.isOpen})},wp.element.createElement("input",{type:"url",placeholder:this.props.placeholder,value:this.props.value,onChange:this.onChangeValue,onKeyDown:this.onKeyDown,className:a()("components-text-control__input",{"is-full":void 0===this.props.children})}),this.state.showSuggestions&&0<this.state.suggestions.length&&wp.element.createElement(h,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:this.autocompleteRef,className:"wp-block-themeisle-blocks-link-control-popover-container"},this.state.suggestions.map((function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",ref:e.bindSuggestionNode(n),className:a()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":n===e.state.selectedSuggestion}),onClick:function(){return e.clickSuggestion(t.url)}},t.title||u("Untitled Post"))})))),void 0!==this.props.children&&wp.element.createElement(g,{icon:"admin-generic",tooltip:u("Link Options"),onClick:function(){return e.setState({isOpen:!e.state.isOpen})}})),this.state.isOpen&&this.props.children)}}])&&i(n.prototype,o),d&&i(n,d),t}(E);t.a=w(y,v((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(L)},,,function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(90),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,s=r.Dropdown,p=r.IconButton,u=r.Path,m=r.SVG,d=r.Tooltip,b=wp.compose.withInstanceId,g=wp.element.Fragment;t.default=b((function(e){var t,n=e.label,o=e.instanceId,r=e.onClick,b=e.layout,h=e.layoutTablet,f=e.layoutMobile,w=e.columns,y=e.changeViewType,v=e.view,k="inspector-layout-control-".concat(o);return"desktop"===v?t=b:"tablet"===v?t=h:"mobile"===v&&(t=f),wp.element.createElement("div",{id:k,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(s,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===v?"smartphone":v,label:l("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-responsiveness-settings"},wp.element.createElement("div",{className:"responsiveness-title"},l("Responsiveness Settings")),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"desktop"===v}),onClick:function(){t(),y("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},l("Desktop"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"tablet"===v}),onClick:function(){t(),y("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},l("Tablet Devices"))),wp.element.createElement(i,{className:a()("responsiveness-item",{"is-selected":"mobile"===v}),onClick:function(){t(),y("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},l("Smartphones"))))}}))),1===w&&wp.element.createElement(d,{text:l("Single Row")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M100,0V50H0V0Z"}))))||2===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(d,{text:l("1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(d,{text:l("2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||3===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(d,{text:l("1:1:2")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(d,{text:l("2:1:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:2:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(d,{text:l("1:3:1")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||4===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 24 L 51 24 L 51 0"}),wp.element.createElement(u,{d:"M 0 26 L 50 26 L 50 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 51 26 L 100 26 L 100 60 L 51 60 L 51 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))||5===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"})))))||6===w&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Equal")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"})))),("mobile"==v||"tablet"==v)&&wp.element.createElement(g,null,wp.element.createElement(d,{text:l("Two Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 50 0 L 50 16 L 0 16 L 0 0"}),wp.element.createElement(u,{d:"M 51 0 L 100 0 L 100 16 L 51 16 L 51 0"}),wp.element.createElement(u,{d:"M 0 17 L 50 17 L 50 33 L 0 33 L 0 17"}),wp.element.createElement(u,{d:"M 51 17 L 100 17 L 100 33 L 51 33 L 51 17"}),wp.element.createElement(u,{d:"M 0 34 L 50 34 L 50 50 L 0 50 L 0 34"}),wp.element.createElement(u,{d:"M 51 34 L 100 34 L 100 50 L 51 50 L 51 34"})))),wp.element.createElement(d,{text:l("Three Column Grid")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 33 0 L 33 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 34 0 L 66 0 L 66 24 L 34 24 L 34 0"}),wp.element.createElement(u,{d:"M 67 0 L 100 0 L 100 24 L 67 24 L 67 0"}),wp.element.createElement(u,{d:"M 0 26 L 33 26 L 33 50 L 0 50 L 0 26"}),wp.element.createElement(u,{d:"M 34 26 L 66 26 L 66 60 L 34 60 L 34 26"}),wp.element.createElement(u,{d:"M 67 26 L 100 26 L 100 60 L 67 60 L 67 26"})))),wp.element.createElement(d,{text:l("Collapsed Rows")},wp.element.createElement(i,{className:a()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(u,{d:"M 0 0 L 100 0 L 100 24 L 0 24 L 0 0"}),wp.element.createElement(u,{d:"M 0 26 L 100 26 L 100 50 L 0 50 L 0 26"}))))))))}))},function(e,t,n){"use strict";n.r(t);n(91);var o=n(2),a=n(0),l=n.n(a),r=n(13),c=n.n(r);n(92);function s(e){return(s="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 p(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 u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=lodash,h=g.startCase,f=g.toLower,w=wp.i18n.__,y=wp.components,v=y.Button,k=y.Dashicon,E=y.Icon,C=y.TextControl,x=y.Tooltip,T=y.SelectControl,S=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=m(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?d(n):o).getOptions=e.getOptions.bind(d(e)),e}var n,a,r;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,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e),n=t,(a=[{key:"getOptions",value:function(){var e;return e=("block"===this.props.tab?this.props.blocksCategories:this.props.templateCategories).map((function(e){return{label:h(f(e)),value:e}})),[{label:w("All Categories"),value:"all"}].concat(p(e))}},{key:"render",value:function(){var e=this,t=this.getOptions();return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},this.props.preview?wp.element.createElement(v,{className:"library-modal-header-tabs-button back-to-library","aria-label":w("Back to Library"),onClick:this.props.togglePreview},wp.element.createElement(k,{icon:"arrow-left-alt"})," ",w("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(E,{icon:o.l}))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"block"===this.props.tab}),onClick:function(){return e.props.changeTab("block")}},wp.element.createElement(k,{icon:"screenoptions"}),w("Blocks")),wp.element.createElement(v,{className:l()("library-modal-header-tabs-button",{"is-selected":"template"===this.props.tab}),onClick:function(){return e.props.changeTab("template")}},wp.element.createElement(k,{icon:"editor-table"}),w("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},this.props.preview&&wp.element.createElement(v,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return e.props.importTemplate(e.props.selectedTemplate.template_url)},tabindex:"0"},wp.element.createElement(k,{icon:"arrow-down-alt",size:16}),w("Insert")),wp.element.createElement(x,{text:w("Close")},wp.element.createElement(v,{className:"library-modal-header-tabs-button","aria-label":w("Close settings"),onClick:this.props.close},wp.element.createElement(k,{icon:"no-alt"}))))),!this.props.preview&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(T,{className:"library-modal-category-control",value:"all"===this.props.selectedCategory?"all":this.props.selectedCategory,onChange:this.props.selectCategory,options:t}),wp.element.createElement(C,{type:"text",value:this.props.search||"",placeholder:w("Search"),className:"library-modal-search-control",onChange:this.props.changeSearch})))}}])&&u(n.prototype,a),r&&u(n,r),t}(wp.element.Component);function B(e){return(B="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 o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M(e,t){return!t||"object"!==B(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}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var A=wp.i18n.__,_=wp.components.Notice,P=wp.element,R=P.Component,I=P.Fragment,z=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),M(this,L(t).apply(this,arguments))}var n,o,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,writable:!0,configurable:!0}}),t&&N(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return wp.element.createElement(I,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:A("Update Now"),url:themeisleGutenberg.updatePath}]},A("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),this.props.isError&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"error",onRemove:this.props.removeError},A("There seems to be an error. Please try again."))),this.props.isMissing&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(_,{status:"warning",className:"library-modal-missing",onRemove:this.props.removeMissing},A("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,A("View Missing Blocks")),wp.element.createElement("ul",null,this.props.missingBlocks.map((function(e){return wp.element.createElement("li",null,e)})))))))}}])&&O(n.prototype,o),a&&O(n,a),t}(R),V=n(18),H=n.n(V);function j(e){return(j="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 F(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e,t){return!t||"object"!==j(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}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Z=wp.i18n.__,q=wp.components.Button,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),D(this,G(t).apply(this,arguments))}var n,o,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,writable:!0,configurable:!0}}),t&&W(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return wp.element.createElement("div",{"aria-label":this.props.template.title||Z("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:this.props.template.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},this.props.template.title&&"template"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},this.props.template.title,this.props.template.author&&Z(" by ")+this.props.template.author," "),this.props.template.author&&"block"===this.props.template.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},Z("Author:")," ",this.props.template.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},this.props.template.demo_url&&wp.element.createElement(q,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.togglePreview(i)},tabindex:"0"},Z("Preview")),wp.element.createElement(q,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return e.props.importTemplate(e.props.template.template_url)},tabindex:"0"},Z("Insert")))))}}])&&F(n.prototype,o),a&&F(n,a),t}(wp.element.Component);function K(e){return(K="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 Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J(e,t){return!t||"object"!==K(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}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var X=wp.i18n.__,ee=wp.components.Spinner,te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),J(this,Y(t).apply(this,arguments))}var n,o,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,writable:!0,configurable:!0}}),t&&$(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return this.props.preview?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:this.props.selectedTemplate.demo_url})):this.props.isLoaded?wp.element.createElement("div",{className:"library-modal-content"},this.props.data.map((function(t){if(t.template_url&&("all"===e.props.selectedCategory||t.categories&&t.categories.includes(e.props.selectedCategory))&&(!e.props.search||t.keywords&&t.keywords.some((function(t){return t.toLowerCase().includes(e.props.search.toLowerCase())})))&&e.props.tab===t.type)return wp.element.createElement(U,{template:t,togglePreview:e.props.togglePreview,importTemplate:e.props.importTemplate})})),wp.element.createElement("div",{"aria-label":X("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(H.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(ee,null))}}])&&Q(n.prototype,o),a&&Q(n,a),t}(wp.element.Component);function ne(e){return(ne="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 oe(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function ae(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var l=e.apply(t,n);function r(e){oe(l,o,a,r,i,"next",e)}function i(e){oe(l,o,a,r,i,"throw",e)}r(void 0)}))}}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}wp.i18n.__;var se=wp.apiFetch,pe=wp.components.Modal,ue=wp.compose.compose,me=wp.data,de=me.withSelect,be=me.withDispatch,ge=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).changeTab=e.changeTab.bind(ie(e)),e.togglePreview=e.togglePreview.bind(ie(e)),e.removeError=e.removeError.bind(ie(e)),e.removeMissing=e.removeMissing.bind(ie(e)),e.selectCategory=e.selectCategory.bind(ie(e)),e.changeSearch=e.changeSearch.bind(ie(e)),e.changeClientId=e.changeClientId.bind(ie(e)),e.validateBlocks=e.validateBlocks.bind(ie(e)),e.importTemplate=e.importTemplate.bind(ie(e)),e.state={tab:"block",isLoaded:!1,isError:!1,isMissing:!1,selectedCategory:"all",search:"",blocksCategories:[],templateCategories:[],data:[],preview:!1,selectedTemplate:null,missingBlocks:[]},e}var n,o,a,r,i;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,writable:!0,configurable:!0}}),t&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(i=ae(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,se({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],o=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){o.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),o=o.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),this.setState({blocksCategories:n,templateCategories:o,data:t,isLoaded:!0});case 9:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"changeTab",value:function(e){this.setState({tab:e,selectedCategory:"all",search:""})}},{key:"togglePreview",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.setState({preview:!this.state.preview,selectedTemplate:e})}},{key:"removeError",value:function(){this.setState({isError:!1})}},{key:"removeMissing",value:function(){this.setState({isMissing:!1})}},{key:"selectCategory",value:function(e){this.setState({selectedCategory:e})}},{key:"changeSearch",value:function(e){this.setState({search:e})}},{key:"changeClientId",value:function(e){var t=this;return Array.isArray(e)?e.map((function(e){return t.changeClientId(e)})):"object"===ne(e)&&Object.keys(e).map((function(n){"clientId"===n&&(e[n]=c()()),"innerBlocks"===n&&e[n].map((function(e){t.changeClientId(e)}))})),e}},{key:"validateBlocks",value:function(e){var t=this,n=!1,o=[];return Array.isArray(e)?e.map((function(e){return t.validateBlocks(e)})):"object"===ne(e)&&Object.keys(e).some((function(a){"name"===a&&void 0===t.props.availableBlocks.find((function(t){return t.name===e.name}))&&(o.push(e.name),n=!0),"innerBlocks"===a&&e[a].map((function(e){return t.validateBlocks(e)}))})),o=this.state.missingBlocks.concat(o).filter((function(e,t,n){return n.indexOf(e)===t})),this.setState({missingBlocks:o}),n}},{key:"importTemplate",value:(r=ae(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({preview:!1,isLoaded:!1,missingBlocks:[]}),e.next=3,se({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 3:n=e.sent,null!==(n=this.changeClientId(n))?(this.setState({isLoaded:!0}),this.validateBlocks(n)?this.setState({isMissing:!0}):this.props.import(n)):this.setState({isLoaded:!0,isError:!0});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"render",value:function(){return wp.element.createElement(pe,{className:l()("wp-block-themeisle-library-modal",{"is-preview":this.state.preview}),onRequestClose:this.props.close,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(S,{preview:this.state.preview,tab:this.state.tab,changeTab:this.changeTab,blocksCategories:this.state.blocksCategories,templateCategories:this.state.templateCategories,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,close:this.props.close,importTemplate:this.importTemplate,selectCategory:this.selectCategory,changeSearch:this.changeSearch}),wp.element.createElement(z,{isError:this.state.isError,isMissing:this.state.isMissing,missingBlocks:this.state.missingBlocks,removeError:this.removeError,removeMissing:this.removeMissing}),wp.element.createElement(te,{preview:this.state.preview,isLoaded:this.state.isLoaded,data:this.state.data,tab:this.state.tab,selectedTemplate:this.state.selectedTemplate,selectedCategory:this.state.selectedCategory,search:this.state.search,togglePreview:this.togglePreview,importTemplate:this.importTemplate}))}}])&&le(n.prototype,o),a&&le(n,a),t}(wp.element.Component),he=ue(de((function(e,t){var n=t.clientId,o=(e("core/block-editor")||e("core/editor")).getBlock,a=e("core/blocks").getBlockTypes;return{block:o(n),availableBlocks:a()}})),be((function(e,t){var n=t.block,o=(e("core/block-editor")||e("core/editor")).replaceBlocks;return{import:function(e){return o(n.clientId,e)}}})))(ge);function fe(e){return(fe="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 we(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ee=wp.i18n.__,Ce=wp.components,xe=Ce.Button,Te=Ce.Dashicon,Se=Ce.Icon,Be=Ce.Path,Oe=Ce.Placeholder,Me=Ce.SVG,Le=Ce.Tooltip,Ne=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=ye(t).apply(this,arguments))||"object"!==fe(o)&&"function"!=typeof o?ve(n):o).closeModal=e.closeModal.bind(ve(e)),e.state={isLibraryOpen:!1},e}var n,a,l;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,writable:!0,configurable:!0}}),t&&ke(e,t)}(t,e),n=t,(a=[{key:"closeModal",value:function(){this.setState({isLibraryOpen:!1})}},{key:"render",value:function(){var e=this;return wp.element.createElement(Oe,{label:Ee("Select Layout"),icon:wp.element.createElement(Se,{icon:o.f}),className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(Le,{text:Ee("Single Row")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(1,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M100,0V50H0V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M49,0V50H0V0Z M100,0V50H51V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"oneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32.6667,0V50H0V0Z M100,0V50H34.6667V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(2,"twoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M65.3333,0V50H0V0Z M100,0V50H67.3333V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M32,0V50H0V0Z M66,0V50H34V0Z M100,0V50H68V0Z"})))),wp.element.createElement(Le,{text:Ee("1:1:2")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneOneTwo")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M50,0V50H26V0Z M100,0V50H52V0Z"})))),wp.element.createElement(Le,{text:Ee("2:1:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"twoOneOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M48,0V50H0V0Z M74,0V50H50V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:2:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneTwoOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M24,0V50H0V0Z M74,0V50H26V0Z M100,0V50H76V0Z"})))),wp.element.createElement(Le,{text:Ee("1:3:1")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(3,"oneThreeOne")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M20,0V50H0V0Z M78,0V50H22V0Z M100,0V50H80V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(4,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M23.5,0V50H0V0Z M49,0V50H25.5V0Z M74.5,0V50H51V0Z M100,0V50H76.5V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(5,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M18.4,0V50H0V0Z M38.8,0V50H20.4V0Z M59.2,0V50H40.8V0Z M79.6,0V50H61.2V0Z M100,0V50H81.6V0Z"})))),wp.element.createElement(Le,{text:Ee("Equal")},wp.element.createElement(xe,{className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return e.props.setupColumns(6,"equal")}},wp.element.createElement(Me,{viewBox:"0 0 100 50",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(Be,{d:"M15,0V50H0V0Z M32,0V50H17V0Z M49,0V50H34V0Z M66,0V50H51V0Z M83,0V50H68V0Z M100,0V50H85V0Z"}))))),wp.element.createElement(Le,{text:Ee("Open Template Library")},wp.element.createElement(xe,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return e.setState({isLibraryOpen:!0})}},wp.element.createElement(Te,{icon:"category"}),Ee("Template Library")),this.state.isLibraryOpen&&wp.element.createElement(he,{clientId:this.props.clientId,close:this.closeModal})))}}])&&we(n.prototype,a),l&&we(n,l),t}(wp.element.Component);t.default=Ne},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(3);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 i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(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}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=wp.components,m=u.Placeholder,d=u.Spinner,b=wp.data.withSelect,g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,s(t).apply(this,arguments))}var n,o,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,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.alt,n=e.id,o=e.thumbnail,a=e.link,l=wp.element.createElement(m,null,wp.element.createElement(d,null));return o&&(l=wp.element.createElement("img",{src:o,alt:t,"data-id":n})),wp.element.createElement("div",{className:"posts-grid-post-image"},wp.element.createElement("a",{href:a},l))}}])&&i(n.prototype,o),a&&i(n,a),t}(wp.element.Component),h=b((function(e,t){var n=t.id,o=t.alt,a=t.size,l=n?e("core").getMedia(n):void 0,r=l?0<Object.keys(l.media_details.sizes).length?l.media_details.sizes[a].source_url:l.source_url:null;return l?{thumbnail:r,alt:l.alt_text||o}:{alt:o}}))(g),f=wp.i18n,w=f.__,y=f.sprintf,v=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-grid","posts-grid-columns-".concat(n.columns))},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"posts-grid-post-body"},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&y(w("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&y(w(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},k=wp.i18n,E=k.__,C=k.sprintf,x=function(e){var t=e.className,n=e.attributes,o=e.posts,r=e.categoriesList,i=e.authors;return wp.element.createElement("div",{className:a()(t,"is-list")},o.map((function(e){var t,o;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(o=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"posts-grid-post-blog posts-grid-post-plain"},wp.element.createElement("div",{className:"posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(h,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:a()("posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(a){return"category"===a&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("h6",{class:"posts-grid-post-category"},t.name):"title"===a&&n.displayTitle?wp.element.createElement("h5",{className:"posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(l.b)(e.title.rendered))):"meta"===a&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"posts-grid-post-meta"},n.displayDate&&C(E("on %s"),Object(l.a)(e.date)),n.displayAuthor&&void 0!==o&&i&&C(E(" by %s"),o.name)):"description"===a&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"posts-grid-post-description"},Object(l.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,o=e.posts,a=e.categoriesList,l=e.authors;return"grid"===n.style?wp.element.createElement(v,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):"list"===n.style?wp.element.createElement(x,{className:t,attributes:n,posts:o,categoriesList:a,authors:l}):void 0}},,function(e,t,n){"use strict";n.r(t);n(60),n(61),n(62),n(63)},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.components,l=a.ExternalLink,r=a.Notice;o("themeisle-blocks/chart-pie",{title:n("Pie Chart"),description:n("Display a beautiful Pie Chart on your blog post with Pie Chart block."),icon:"chart-pie",category:"themeisle-blocks",keywords:[n("pie"),n("chart"),n("orbitfox")],attributes:{data:{type:"string",default:'[["Label","Data"],["Dogs",40],["Cats",30],["Racoons",20],["Monkeys",10]]'},options:{type:"object",default:{title:"Animals",is3D:!0}},id:{type:"string",default:""}},supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{status:"warning",isDismissible:!1},n("We have deprecated Pie Chart Block and it will be removed soon. For advance options and more charts, please install our Visualizer plugin:")," ",wp.element.createElement(l,{href:"http://wordpress.org/plugins/visualizer/"},n("Visualizer: Tables and Charts Manager for WordPress"))))},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(65),n(66);var o=wp.i18n.__,a=wp.blocks.registerBlockType,l=(wp.blockEditor||wp.editor).RichText,r=wp.components.Notice;a("themeisle-blocks/notice",{title:o("Notice"),description:o("Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages."),icon:"info",category:"themeisle-blocks",keywords:["notice","info"],attributes:{content:{type:"array",source:"children",selector:"p.components-notice__content"}},supports:{align:["wide","full"],inserter:!1},styles:[{name:"sucess",label:o("Success"),isDefault:!0},{name:"info",label:o("Info")},{name:"warning",label:o("Warning")},{name:"error",label:o("Error")}],edit:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:e.className,isDismissible:!1,status:t},wp.element.createElement(l,{tagName:"p",placeholder:o("Lorem ipsum dolor sit amet, consectetur adipiscing elit."),value:e.attributes.content,className:"components-notice__content",onChange:function(t){return e.setAttributes({content:t})},keepPlaceholderOnFocus:"true"}))},save:function(e){var t="success";return e.attributes.className&&e.attributes.className.includes("is-style-info")?t="":e.attributes.className&&e.attributes.className.includes("is-style-warning")?t="warning":e.attributes.className&&e.attributes.className.includes("is-style-error")&&(t="error"),wp.element.createElement(r,{className:"themeisle-block-notice",isDismissible:!1,status:t},wp.element.createElement(l.Content,{tagName:"p",className:"components-notice__content",value:e.attributes.content}))}})},function(e,t,n){"use strict";n.r(t);n(75),n(76);var o=wp.i18n.__,a=lodash.get,l=wp.blocks,r=l.registerBlockType,i=l.createBlock,c=wp.components,s=c.Toolbar,p=c.TextControl,u=wp.data.withSelect,m=wp.blockEditor||wp.editor,d=m.BlockControls,b=m.RichText;r("themeisle-blocks/tweetable",{title:o("Click To Tweet"),description:o("Click to Tweet allows visitors to easily share your content on Twitter."),icon:"twitter",category:"themeisle-blocks",keywords:[o("twitter"),o("tweet"),o("orbitfox")],attributes:{quote:{type:"string",source:"children",selector:"p",default:[]},permalink:{type:"url"},via:{type:"string"},buttonText:{type:"string",default:o("Click to Tweet")}},supports:{inserter:!1},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return i("themeisle-blocks/tweetable",{quote:t})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{content:n}):[]):i("themeisle-blocks/tweetable")}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return t&&t.length||n?(t||[]).map((function(e){return i("themeisle-blocks/tweetable",{quote:[a(e,"children.props.children","")]})})).concat(n?i("core/paragraph",{quote:n}):[]):i("themeisle-blocks/tweetable")}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){e.content;var t=e.quote;return t&&t.length?(t||[]).map((function(e){return i("core/paragraph",{content:t})})):i("core/paragraph")}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.quote;return i("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.quote;return i("core/pullquote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}}]},edit:u((function(e,t){var n=e("core/editor").getPermalink;return void 0===t.attributes.permalink&&t.setAttributes({permalink:n()}),{permalink:n(),props:t}}))((function(e){var t=e.props,n=e.className;return[wp.element.createElement(d,{key:"controls"},wp.element.createElement(s,null,wp.element.createElement("i",{className:"fas fa-at tweetable-icon"}),wp.element.createElement(p,{type:"text",placeholder:"Username",className:"tweetable-controls",value:t.attributes.via,onChange:function(e){t.setAttributes({via:e})}}))),wp.element.createElement("blockquote",{className:n},wp.element.createElement(b,{tagName:"p",multiline:"false",placeholder:o("What should we tweet?"),value:t.attributes.quote,formattingControls:[],onChange:function(e){t.setAttributes({quote:e})},keepPlaceholderOnFocus:!0}),wp.element.createElement(b,{tagName:"span",placeholder:o("Tweet this!"),className:"tweetbutton",value:t.attributes.buttonText?t.attributes.buttonText:o("Tweet this!"),formattingControls:[],onChange:function(e){t.setAttributes({buttonText:e})},keepPlaceholderOnFocus:!0}))]})),save:function(e){var t=e.attributes.via?"&via=".concat(e.attributes.via):"",n="http://twitter.com/share?&text=".concat(encodeURIComponent(e.attributes.quote),"&url=").concat(e.attributes.permalink).concat(t);return wp.element.createElement("blockquote",null,wp.element.createElement(b.Content,{tagName:"p",value:e.attributes.quote}),wp.element.createElement(b.Content,{tagName:"a",className:"tweetbutton",href:n,value:e.attributes.buttonText,target:"_blank"}))}})},,,,function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/pricing",{title:a("Pricing"),description:a("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:o.o,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:function(e){var t=[["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h5"}],["themeisle-blocks/advanced-heading",{content:a("$9.99"),align:"center",tag:"h3",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:a("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:a("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/service",{title:a("Service"),description:a("Use this Service block to showcase services your website offers."),icon:o.p,category:"themeisle-blocks",keywords:["services","icon","features"],edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:a("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:a("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:a("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=(wp.blockEditor||wp.editor).InnerBlocks;l("themeisle-blocks/testimonials",{title:a("Testimonials"),description:a("Display kudos from customers and clients and display them on your website."),icon:o.r,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:function(e){var t=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:a("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:a("Jedi Master"),align:"center",fontSize:14,tag:"h6",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:a('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]];return[wp.element.createElement("div",{className:e.className},wp.element.createElement(r,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement(r.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(67),n(68);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/pricing-table",{title:l("Pricing Table"),description:l("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/pricing-block"],template:[["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"],["themeisle-blocks/pricing-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-pricing-table",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});var w=wp.i18n.__,y=wp.blocks.registerBlockType,v=wp.blockEditor||wp.editor,k=v.InnerBlocks,E=v.BlockControls,C=v.InspectorControls,x=v.PanelColorSettings,T=wp.components,S=T.Dashicon,B=T.Toolbar,O=T.Button,M=T.Tooltip;y("themeisle-blocks/pricing-block",{title:w("Pricing Block"),description:w("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),parent:["themeisle-blocks/pricing-table"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{featured:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/heading",{content:w("Basic"),className:"pricing-title",align:"center",level:5}],["core/paragraph",{content:w("$9.99"),align:"center",customFontSize:36}],["core/paragraph",{content:w("Per Month"),align:"center",customFontSize:12}],["core/separator",{}],["core/paragraph",{content:w("First Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:w("Second Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/paragraph",{content:w("Last Feature"),align:"center",fontSize:"small"}],["core/separator",{}],["core/button",{text:w("Buy Now"),className:"pricing-button",align:"center"}]];return[wp.element.createElement(E,{key:"toolbar-controls"},wp.element.createElement(B,{className:"components-toolbar"},wp.element.createElement(M,{text:w("Feature Table")},wp.element.createElement(O,{className:a()("components-icon-button","components-toolbar__control",{"is-active":e.attributes.featured}),onClick:function(){e.setAttributes({featured:!e.attributes.featured})}},wp.element.createElement(S,{icon:"star-empty"}))))),wp.element.createElement(C,null,wp.element.createElement(x,{title:w("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:w("Background Color")}]})),wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:a()("wp-block-column",{raised:e.attributes.featured}),style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(k.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(72),n(73);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/testimonials-area",{title:l("Testimonials Area"),description:l("Display kudos from customers and clients and display them on your website."),icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/testimonials-block"],template:[["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"],["themeisle-blocks/testimonials-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-testimonials-area",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(74)},function(e,t,n){"use strict";n.r(t);n(69),n(70);var o=n(0),a=n.n(o),l=wp.i18n.__,r=wp.blocks.registerBlockType,i=wp.blockEditor||wp.editor,c=i.ColorPalette,s=i.InnerBlocks,p=i.InspectorControls,u=i.MediaPlaceholder,m=wp.components,d=m.Button,b=m.ToggleControl,g=m.SelectControl,h=m.PanelBody,f=wp.element.Fragment;r("themeisle-blocks/services",{title:l("Our Services"),description:l("Use this Services table to showcase services your website offers."),icon:"columns",category:"themeisle-blocks",keywords:["services","features","orbitfox"],attributes:{backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string",default:"#ffffff"},backgroundImageID:{type:"string"},backgroundImageURL:{type:"string"},backgroundDimmed:{type:"boolean",default:!0},backgroundParallax:{type:"boolean",default:!1}},supports:{align:["wide","full"],inserter:!1},edit:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return[wp.element.createElement(p,null,wp.element.createElement(h,{title:l("Background")},wp.element.createElement(g,{label:l("Background Type"),value:e.attributes.backgroundType,options:[{label:"Color",value:"color"},{label:"Image",value:"image"}],onChange:function(t){e.setAttributes({backgroundType:t})}}),"color"===e.attributes.backgroundType?wp.element.createElement(c,{label:l("Background Color"),value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})}}):e.attributes.backgroundImageURL?wp.element.createElement(f,null,wp.element.createElement(b,{label:l("Dimmed Background"),checked:e.attributes.backgroundDimmed,onChange:function(){e.setAttributes({backgroundDimmed:!e.attributes.backgroundDimmed})}}),wp.element.createElement(b,{label:l("Parallax Background"),checked:e.attributes.backgroundParallax,onChange:function(){e.setAttributes({backgroundParallax:!e.attributes.backgroundParallax})}}),wp.element.createElement("img",{src:e.attributes.backgroundImageURL}),wp.element.createElement(d,{isLarge:!0,onClick:function(){e.setAttributes({backgroundImageID:"",backgroundImageURL:""})},style:{marginTop:"10px"}},l("Change or Remove Image"))):wp.element.createElement(u,{icon:"format-image",labels:{title:l("Background Image"),name:l("an image")},value:e.attributes.backgroundImageID,onSelect:function(t){e.setAttributes({backgroundImageID:t.id,backgroundImageURL:t.url})},accept:"image/*",allowedTypes:["image"]}))),wp.element.createElement("div",{className:a()(e.className,{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s,{allowedBlocks:["themeisle-blocks/service-block"],template:[["themeisle-blocks/service-block"],["themeisle-blocks/service-block"],["themeisle-blocks/service-block"]]}))]},save:function(e){var t={background:"color"===e.attributes.backgroundType?e.attributes.backgroundColor:"url(' ".concat(e.attributes.backgroundImageURL," ')")};return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-services",{"is-dim":"image"===e.attributes.backgroundType&&e.attributes.backgroundDimmed},{"is-parallax":"image"===e.attributes.backgroundType&&e.attributes.backgroundParallax}),style:t},wp.element.createElement(s.Content,null))}});n(71)},,,function(e,t,n){n(40),n(118),n(44),n(47),n(119),n(24),n(25),n(64),n(26),n(34),n(36),n(35),n(27),n(117),n(113),n(84),n(22),n(114),n(11),n(20),n(21),n(9),n(112),n(116),n(115),n(108),n(31),n(32),e.exports=n(33)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,function(e,t){function n(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(a,l){var r=e.apply(t,o);function i(e){n(r,a,l,i,c,"next",e)}function c(e){n(r,a,l,i,c,"throw",e)}i(void 0)}))}}var a=lodash.debounce,l=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,s=a(o(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,o=n(),e.next=4,l({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(o),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,o=e.isPublishingPost,a=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,u=a(),m=o(),d=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,l({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(m||g&&d)||u||status||s()}))},function(e,t,n){"use strict";n.r(t);n(45),n(46);var o=n(2),a=wp.i18n.__,l=wp.blocks.registerBlockType,r=wp.compose,i=r.compose,c=r.withState,s=wp.components.Spinner,p=wp.data.withSelect;l("themeisle-blocks/about-author",{title:a("About Author"),description:a("About Author block is the easiest way to add a author bio below your posts."),icon:o.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:{id:{type:"number"}},supports:{html:!1},edit:i([p((function(e,t){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors(),props:t}})),c({status:0,authorDetails:{}})])((function(e){var t=e.postAuthor,n=e.authors,o=e.status,l=e.authorDetails,r=e.setState,i=e.props,c=e.className;return 0===o&&t&&n&&n.find((function(e){if(e.id===t)return t!==i.attributes.id&&i.setAttributes({id:e.id}),r({authorDetails:e,status:1}),e.id===t})),1===o&&t&&n?wp.element.createElement("section",{className:c},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:l.avatar_urls[96],alt:l.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,l.name),wp.element.createElement("p",null,l.description))):wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(s,null),wp.element.createElement("p",null,a("Loading…")))})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(50),n(51),n(52),n(2)),p=n(12),u=n(7),m=n(6),d=n(4);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=wp.i18n.__,w=wp.blocks,y=w.createBlock,v=w.registerBlockType,k=wp.components,E=k.Button,C=k.Dashicon,x=k.Dropdown,T=k.DropdownMenu,S=k.IconButton,B=k.PanelBody,O=k.RangeControl,M=k.SVG,L=k.ToggleControl,N=k.Toolbar,A=wp.compose,_=A.compose,P=A.withState,R=wp.data.withSelect,I=wp.blockEditor||wp.editor,z=I.AlignmentToolbar,V=I.BlockControls,H=I.ColorPalette,j=I.InspectorControls,F=I.RichText,D=wp.element.Fragment,G=wp.viewport.withViewportMatch;v("themeisle-blocks/advanced-heading",{title:f("Advanced Heading"),description:f("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:s.h,category:"themeisle-blocks",keywords:[f("heading"),f("title"),f("advanced heading")],attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return y("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return y("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return y("core/paragraph",{content:t})}}]},edit:_([R((function(e,t){return{props:t}})),P({tab:"style",fontSizeViewType:"desktop",alignmentViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop"}),G({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.fontSizeViewType,o=e.alignmentViewType,l=e.paddingViewType,i=e.marginViewType,s=e.setState,b=e.isLarger,w=e.isLarge,v=e.isSmall,k=e.isSmaller,A=e.props,_=A.attributes,P=_.id,R=_.content,I=_.tag,G=_.align,W=_.alignTablet,Z=_.alignMobile,q=_.headingColor,U=_.highlightColor,K=_.highlightBackground,Q=_.fontSize,J=_.fontSizeTablet,Y=_.fontSizeMobile,$=_.fontFamily,X=_.fontVariant,ee=_.fontStyle,te=_.textTransform,ne=_.lineHeight,oe=_.letterSpacing,ae=_.textShadow,le=_.textShadowColor,re=_.textShadowColorOpacity,ie=_.textShadowBlur,ce=_.textShadowHorizontal,se=_.textShadowVertical,pe=_.paddingType,ue=_.paddingTypeTablet,me=_.paddingTypeMobile,de=_.padding,be=_.paddingTablet,ge=_.paddingMobile,he=_.paddingTop,fe=_.paddingTopTablet,we=_.paddingTopMobile,ye=_.paddingRight,ve=_.paddingRightTablet,ke=_.paddingRightMobile,Ee=_.paddingBottom,Ce=_.paddingBottomTablet,xe=_.paddingBottomMobile,Te=_.paddingLeft,Se=_.paddingLeftTablet,Be=_.paddingLeftMobile,Oe=_.marginType,Me=_.marginTypeTablet,Le=_.marginTypeMobile,Ne=_.margin,Ae=_.marginTablet,_e=_.marginMobile,Pe=_.marginTop,Re=_.marginTopTablet,Ie=_.marginTopMobile,ze=_.marginBottom,Ve=_.marginBottomTablet,He=_.marginBottomMobile;if(void 0===P||P.substr(P.length-8)!==A.clientId.substr(0,8)){var je="wp-block-themeisle-blocks-advanced-heading-".concat(A.clientId.substr(0,8));A.setAttributes({id:je})}var Fe=b&&!w&&v&&!k,De=!b&&!w&&v&&!k,Ge=!(b||w||v||k),We=function(e){A.setAttributes({tag:e})},Ze=function(e){return"h1"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(M,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},qe=function(){var e;return"desktop"===n&&(e=Q),"tablet"===n&&(e=J),"mobile"===n&&(e=Y),e};qe=qe();var Ue=function(){var e;return"desktop"===o&&(e=G),"tablet"===o&&(e=W),"mobile"===o&&(e=Z),e};Ue=Ue();var Ke=function(e){A.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},Qe=function(e){A.setAttributes({fontVariant:e})},Je=function(e){A.setAttributes({fontStyle:e})},Ye=function(e){A.setAttributes({textTransform:e})},$e=function(e){A.setAttributes({lineHeight:e})},Xe=function(e){A.setAttributes({letterSpacing:e})},et=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===pe?de:he),"tablet"===l&&(t="linked"===ue?be:fe),"mobile"===l&&(t="linked"===me?ge:we)),"right"==e&&("desktop"===l&&(t="linked"===pe?de:ye),"tablet"===l&&(t="linked"===ue?be:ve),"mobile"===l&&(t="linked"===me?ge:ke)),"bottom"==e&&("desktop"===l&&(t="linked"===pe?de:Ee),"tablet"===l&&(t="linked"===ue?be:Ce),"mobile"===l&&(t="linked"===me?ge:xe)),"left"==e&&("desktop"===l&&(t="linked"===pe?de:Te),"tablet"===l&&(t="linked"===ue?be:Se),"mobile"===l&&(t="linked"===me?ge:Be)),t},tt={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},nt={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},ot={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},at=function(){var e;return"desktop"===l&&(e=pe),"tablet"===l&&(e=ue),"mobile"===l&&(e=me),e};at=at();var lt,rt,it,ct=function(e){var t;return"top"==e&&("desktop"===i&&(t="linked"===Oe?Ne:Pe),"tablet"===i&&(t="linked"===Me?Ae:Re),"mobile"===i&&(t="linked"===Le?_e:Ie)),"bottom"==e&&("desktop"===i&&(t="linked"===Oe?Ne:ze),"tablet"===i&&(t="linked"===Me?Ae:Ve),"mobile"===i&&(t="linked"===Le?_e:He)),t},st={top:"marginTop",bottom:"marginBottom"},pt={top:"marginTopTablet",bottom:"marginBottomTablet"},ut={top:"marginTopMobile",bottom:"marginBottomMobile"},mt=function(){var e;return"desktop"===i&&(e=Oe),"tablet"===i&&(e=Me),"mobile"===i&&(e=Le),e};mt=mt(),Fe&&(lt={fontSize:"".concat(Q,"px")},rt={textAlign:G,paddingTop:"".concat("linked"===pe?de:he,"px"),paddingRight:"".concat("linked"===pe?de:ye,"px"),paddingBottom:"".concat("linked"===pe?de:Ee,"px"),paddingLeft:"".concat("linked"===pe?de:Te,"px"),marginTop:"".concat("linked"===Oe?Ne:Pe,"px"),marginBottom:"".concat("linked"===Oe?Ne:ze,"px")}),De&&(lt={fontSize:"".concat(J,"px")},rt={textAlign:W,paddingTop:"".concat("linked"===ue?be:fe,"px"),paddingRight:"".concat("linked"===ue?be:ve,"px"),paddingBottom:"".concat("linked"===ue?be:Ce,"px"),paddingLeft:"".concat("linked"===ue?be:Se,"px"),marginTop:"".concat("linked"===Me?Ae:Re,"px"),marginBottom:"".concat("linked"===Me?Ae:Ve,"px")}),Ge&&(lt={fontSize:"".concat(Y,"px")},rt={textAlign:Z,paddingTop:"".concat("linked"===me?ge:we,"px"),paddingRight:"".concat("linked"===me?ge:ke,"px"),paddingBottom:"".concat("linked"===me?ge:xe,"px"),paddingLeft:"".concat("linked"===me?ge:Be,"px"),marginTop:"".concat("linked"===Le?_e:Ie,"px"),marginBottom:"".concat("linked"===Le?_e:He,"px")}),ae&&(it={textShadow:"".concat(ce,"px ").concat(se,"px ").concat(ie,"px ").concat(r()(le||"#000000",re))});var dt=g({color:q},lt,{fontFamily:$||"inherit",fontWeight:"regular"===X?"normal":X,fontStyle:ee,textTransform:te,lineHeight:ne&&"".concat(ne,"px"),letterSpacing:oe&&"".concat(oe,"px")},rt,{},it);return wp.element.createElement(D,null,wp.element.createElement("style",null,".".concat(P," mark {\n\t\t\t\t\t\tcolor: ").concat(U,";\n\t\t\t\t\t\tbackground: ").concat(K,";\n\t\t\t\t\t}")),$&&wp.element.createElement(c.a,{fonts:[{font:$,weights:X&&["".concat(X+("italic"===ee?":i":""))]}]}),wp.element.createElement(V,null,wp.element.createElement(T,{icon:Ze(I),label:f("Select tag"),className:"components-toolbar",controls:[{title:f("Heading 1"),icon:Ze("h1"),onClick:function(){return We("h1")}},{title:f("Heading 2"),icon:Ze("h2"),onClick:function(){return We("h2")}},{title:f("Heading 3"),icon:Ze("h3"),onClick:function(){return We("h3")}},{title:f("Heading 4"),icon:Ze("h4"),onClick:function(){return We("h4")}},{title:f("Heading 5"),icon:Ze("h5"),onClick:function(){return We("h5")}},{title:f("Heading 6"),icon:Ze("h6"),onClick:function(){return We("h6")}},{title:f("Division"),icon:Ze("div"),onClick:function(){return We("div")}},{title:f("Paragraph"),icon:Ze("p"),onClick:function(){return We("p")}},{title:f("Span Tag"),icon:Ze("span"),onClick:function(){return We("span")}}]}),wp.element.createElement(N,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(x,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(S,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:f("Typography Settings"),tooltip:f("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(D,null,wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,isSelect:!0,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}))}}))),wp.element.createElement(j,null,wp.element.createElement(B,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-customizer"}),f("Style"))),wp.element.createElement(E,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(C,{icon:"admin-generic"}),f("Advanced")))),"style"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("General Settings")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Heading Color")),wp.element.createElement(H,{label:"Heading Color",value:q,onChange:function(e){A.setAttributes({headingColor:e})}})),wp.element.createElement(m.a,{label:"Font Size",view:n,changeViewType:function(e){s({fontSizeViewType:e})}},wp.element.createElement(O,{value:qe||"",onChange:function(e){"desktop"===n&&A.setAttributes({fontSize:e}),"tablet"===n&&A.setAttributes({fontSizeTablet:e}),"mobile"===n&&A.setAttributes({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(m.a,{label:"Alignment",view:o,changeViewType:function(e){s({alignmentViewType:e})}},wp.element.createElement(z,{value:Ue,onChange:function(e){"desktop"===o&&A.setAttributes({align:e}),"tablet"===o&&A.setAttributes({alignTablet:e}),"mobile"===o&&A.setAttributes({alignMobile:e})}}))),wp.element.createElement(B,{title:f("Typography Settings"),initialOpen:!1},wp.element.createElement(p.a,{label:f("Font Family"),value:$,onChangeFontFamily:Ke,valueVariant:X,onChangeFontVariant:Qe,valueStyle:ee,onChangeFontStyle:Je,valueTransform:te,onChangeTextTransform:Ye}),wp.element.createElement(O,{label:f("Line Height"),value:ne,onChange:$e,min:0,max:200}),wp.element.createElement(O,{label:f("Letter Spacing"),value:oe,onChange:Xe,min:-50,max:100}),wp.element.createElement(L,{label:"Shadow Properties",checked:ae,onChange:function(e){A.setAttributes({textShadow:e})}}),ae&&wp.element.createElement(D,null,wp.element.createElement(D,null,wp.element.createElement("p",null,f("Color")),wp.element.createElement(H,{label:f("Color"),value:le,onChange:function(e){A.setAttributes({textShadowColor:e})}})),wp.element.createElement(u.a,{label:"Shadow Properties"},wp.element.createElement(O,{label:f("Opacity"),value:re,onChange:function(e){A.setAttributes({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Blur"),value:ie,onChange:function(e){A.setAttributes({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(O,{label:f("Horizontal"),value:ce,onChange:function(e){A.setAttributes({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(O,{label:f("Vertical"),value:se,onChange:function(e){A.setAttributes({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(D,null,wp.element.createElement(B,{title:f("Highlight Color")},wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Color")),wp.element.createElement(H,{label:"Highlight Color",value:U,onChange:function(e){A.setAttributes({highlightColor:e})}})),wp.element.createElement(D,null,wp.element.createElement("p",null,f("Highlight Background")),wp.element.createElement(H,{label:"Highlight Background",value:K,onChange:function(e){A.setAttributes({highlightBackground:e})}}))),wp.element.createElement(B,{title:f("Padding & Margin"),initialOpen:!1},wp.element.createElement(m.a,{label:"Padding",view:l,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(d.a,{type:at,min:0,max:500,changeType:function(e){"desktop"===l&&A.setAttributes({paddingType:e}),"tablet"===l&&A.setAttributes({paddingTypeTablet:e}),"mobile"===l&&A.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===pe?A.setAttributes({padding:t}):A.setAttributes(h({},tt[e],t))),"tablet"===l&&("linked"===ue?A.setAttributes({paddingTablet:t}):A.setAttributes(h({},nt[e],t))),"mobile"===l&&("linked"===me?A.setAttributes({paddingMobile:t}):A.setAttributes(h({},ot[e],t)))},options:[{label:f("Top"),type:"top",value:et("top")},{label:f("Right"),type:"right",value:et("right")},{label:f("Bottom"),type:"bottom",value:et("bottom")},{label:f("Left"),type:"left",value:et("left")}]})),wp.element.createElement(m.a,{label:"Margin",view:i,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(d.a,{type:mt,min:-500,max:500,changeType:function(e){"desktop"===i&&A.setAttributes({marginType:e}),"tablet"===i&&A.setAttributes({marginTypeTablet:e}),"mobile"===i&&A.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===i&&("linked"===Oe?A.setAttributes({margin:t}):A.setAttributes(h({},st[e],t))),"tablet"===i&&("linked"===Me?A.setAttributes({marginTablet:t}):A.setAttributes(h({},pt[e],t))),"mobile"===i&&("linked"===Le?A.setAttributes({marginMobile:t}):A.setAttributes(h({},ut[e],t)))},options:[{label:f("Top"),type:"top",value:ct("top")},{label:f("Right"),disabled:!0},{label:f("Bottom"),type:"bottom",value:ct("bottom")},{label:f("Left"),disabled:!0}]}))))),wp.element.createElement(F,{identifier:"content",className:a()(P,A.className),value:R,placeholder:f("Write heading…"),tagName:I,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:A.mergeBlocks,unstableOnSplit:A.insertBlocksAfter?function(e,t){A.setAttributes({content:e});for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];A.insertBlocksAfter([].concat(o,[y("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return A.onReplace([])},style:dt,onChange:function(e){A.setAttributes({content:e})}}))})),save:function(e){var t,n=e.attributes,o=n.id,l=n.content,i=n.tag,c=n.headingColor,s=n.fontFamily,p=n.fontVariant,u=n.fontStyle,m=n.textTransform,d=n.lineHeight,b=n.letterSpacing,h=n.textShadow,f=n.textShadowColor,w=n.textShadowColorOpacity,y=n.textShadowBlur,v=n.textShadowHorizontal,k=n.textShadowVertical;h&&(t={textShadow:"".concat(v,"px ").concat(k,"px ").concat(y,"px ").concat(r()(f||"#000000",w))});var E=g({color:c,fontFamily:s,fontWeight:"regular"===p?"normal":p,fontStyle:u,textTransform:m,lineHeight:d&&"".concat(d,"px"),letterSpacing:b&&"".concat(b,"px")},t);return wp.element.createElement(F.Content,{tagName:i,value:l,id:o,className:a()(o,e.className),style:E})}})},,,,function(e,t,n){},function(e,t){var n=wp.i18n.__,o=wp.richText,a=o.registerFormatType,l=o.toggleFormat,r=wp.blockEditor||wp.editor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,s=wp.element.Fragment,p="themeisle-blocks/mark";a(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,o=e.value,a=e.onChange,r=function(){return a(l(o,{type:p}))};return wp.element.createElement(s,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=(wp.blockEditor||wp.editor).InnerBlocks;o("themeisle-blocks/accordion-area",{title:n("Accordion"),description:n("Accordion block allows you to add beautiful accordions in your posts."),icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],supports:{inserter:!1},edit:function(e){return wp.element.createElement("div",{className:e.className},wp.element.createElement("ul",null,wp.element.createElement(a,{allowedBlocks:["themeisle-blocks/accordion-block"],template:[["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"],["themeisle-blocks/accordion-block"]]})))},save:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-accordion-box"},wp.element.createElement("ul",null,wp.element.createElement(a.Content,null)))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.RichText,r=a.InnerBlocks;o("themeisle-blocks/accordion-block",{title:n("Accordion Item"),description:n("Accordion block allows you to add beautiful accordions in your posts."),parent:["themeisle-blocks/accordion-area"],icon:"menu",category:"themeisle-blocks",keywords:["accordion","collapsible","orbitfox"],attributes:{heading:{type:"array",source:"children",selector:".accordion-heading"}},supports:{inserter:!1},edit:function(e){var t=[["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"accordion-content"}]];return wp.element.createElement("li",{className:e.className},wp.element.createElement(l,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading,placeholder:"Section Title",onChange:function(t){return e.setAttributes({heading:t})}}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r,{template:t,id:"accordion-content"})))},save:function(e){return wp.element.createElement("li",null,wp.element.createElement("input",{type:"checkbox",checked:!0}),wp.element.createElement("i",null),wp.element.createElement(l.Content,{tagName:"h4",className:"accordion-heading",value:e.attributes.heading}),wp.element.createElement("div",{className:"accordion-content"},wp.element.createElement(r.Content,null)))}})},function(e,t,n){"use strict";n.r(t);n(24),n(25),n(26),n(34),n(36),n(35),n(27)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/service-block",{title:n("Service Block"),description:n("Use this Services table to showcase services your website offers."),parent:["themeisle-blocks/services"],icon:"slides",category:"themeisle-blocks",keywords:["pricing","table","orbitfox"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["core/heading",{content:n("Panel"),className:"service-title",align:"center",level:4}],["core/paragraph",{content:n("Small description, but a pretty long one."),className:"service-content",align:"center"}],["core/button",{text:n("Learn More"),className:"service-button",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},function(e,t,n){},,function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.blockEditor||wp.editor,l=a.InnerBlocks,r=a.InspectorControls,i=a.PanelColorSettings;o("themeisle-blocks/testimonials-block",{title:n("Testimonials Block"),description:n("Display kudos from customers and clients and display them on your website."),parent:["themeisle-blocks/testimonials-area"],icon:"testimonial",category:"themeisle-blocks",keywords:["testimonials","clients","quotes"],attributes:{backgroundColor:{type:"string",default:"#ffffff"}},supports:{inserter:!1},edit:function(e){var t=[["core/image",{align:"center"}],["core/heading",{content:n("John Doe"),className:"testimonials-title",align:"center",level:3}],["core/heading",{content:n("Jedi Master"),className:"testimonials-subtitle",align:"center",level:6}],["core/paragraph",{content:n("What is the point of being alive if you don’t at least try to do something remarkable?"),className:"testimonials-content",align:"center"}]];return[wp.element.createElement(r,null,wp.element.createElement(i,{title:n("Color Settings"),initialOpen:!0,colorSettings:[{value:e.attributes.backgroundColor,onChange:function(t){e.setAttributes({backgroundColor:t})},label:n("Background Color")}]})),wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l,{template:t}))]},save:function(e){return wp.element.createElement("div",{className:"wp-block-column",style:{backgroundColor:e.attributes.backgroundColor}},wp.element.createElement(l.Content,null))}})},,function(e,t,n){},function(e,t,n){},,function(e,t,n){},,,,,function(e,t,n){"use strict";n.r(t);n(85),n(86);var o=n(2),a=n(3),l=wp.i18n.__,r=wp.apiFetch,i=wp.blocks.registerBlockType,c=wp.components,s=c.Placeholder,p=c.Dashicon,u=c.TextControl,m=c.Spinner,d=c.Button,b=c.Toolbar,g=c.Tooltip,h=wp.compose,f=h.compose,w=h.withState,y=(wp.blockEditor||wp.editor).BlockControls,v=wp.data.withSelect,k=wp.keycodes.ENTER;i("themeisle-blocks/plugin-cards",{title:l("Plugin Card"),description:l("Plugin Card block lets you display plugins data in your blog posts."),icon:o.m,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:{slug:{type:"string"},pluginIcon:{type:"string"},pluginName:{type:"string"},pluginAuthor:{type:"string"},pluginRating:{type:"number"},pluginDescription:{type:"string"},pluginInstalls:{type:"number"},pluginVersion:{type:"string"},pluginTested:{type:"string"},pluginLink:{type:"string"}},supports:{html:!1},edit:f([v((function(e,t){return{props:t}})),w({status:0,results:{}})])((function(e){var t,n,o,i,c,h=e.props,f=e.className,w=e.status,v=e.results,E=e.setState;return[h.attributes.pluginName&&wp.element.createElement(y,{key:"toolbar-controls"},wp.element.createElement(b,{className:"components-toolbar"},wp.element.createElement(g,{text:l("Edit Plugin Card")},wp.element.createElement(d,{className:"components-icon-button components-toolbar__control edit-plugin-card",onClick:function(){h.setAttributes({pluginIcon:"",pluginName:"",pluginAuthor:"",pluginRating:"",pluginDescription:"",pluginInstalls:"",pluginVersion:"",pluginTested:"",pluginLink:""})}},wp.element.createElement(p,{icon:"edit"}))))),wp.element.createElement("div",{className:f},h.attributes.pluginName?wp.element.createElement("div",{className:"wp-block-themeisle-plugin-card"},wp.element.createElement("div",{className:"card-header"},wp.element.createElement("div",{className:"card-main"},wp.element.createElement("div",{className:"card-logo"},wp.element.createElement("img",{src:h.attributes.pluginIcon,alt:Object(a.b)(h.attributes.pluginName),title:Object(a.b)(h.attributes.pluginName)})),wp.element.createElement("div",{className:"card-info"},wp.element.createElement("h4",null,Object(a.b)(h.attributes.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(h.attributes.pluginAuthor)}})),wp.element.createElement("div",{className:"card-ratings",dangerouslySetInnerHTML:{__html:_.unescape((t=h.attributes.pluginRating,n=Math.floor(t/10)/2,o=Math.floor(n),i=Math.ceil(n-o),c=5-o-i,'<span className="star-full"></span>'.repeat(o)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"card-details"},wp.element.createElement("div",{className:"card-description"},Object(a.b)(h.attributes.pluginDescription)),wp.element.createElement("div",{className:"card-stats"},wp.element.createElement("h5",null,l("Plugin Stats")),wp.element.createElement("div",{className:"card-stats-list"},wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginInstalls.toLocaleString(),"+"),l("active installs")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginVersion),l("version")),wp.element.createElement("div",{className:"card-stat"},wp.element.createElement("span",{className:"card-text-large"},h.attributes.pluginTested),l("tested up to"))))),wp.element.createElement("div",{className:"card-download"},wp.element.createElement("a",{href:h.attributes.pluginLink},l("Download")))):wp.element.createElement(s,{icon:"admin-plugins",label:l("Plugin Card")},wp.element.createElement("div",{className:"search-plugin-field"},wp.element.createElement(p,{icon:"search"}),1===w&&wp.element.createElement(m,null),wp.element.createElement(u,{type:"text",placeholder:l("Search for plugin…"),value:h.attributes.slug,onChange:function(e){h.setAttributes({slug:e})},onKeyDown:function(e){var t;e.keyCode===k&&(t=e.target.value,E({status:1}),r({path:"themeisle-gutenberg-blocks/v1/get_plugins?search='".concat(encodeURIComponent(t))}).then((function(e){var t=e.data.plugins;E({status:0,results:t})})))}}),v&&wp.element.createElement("div",{className:"plugin-card-search-results"},wp.element.createElement("div",null,Object.keys(v).map((function(e,t){var n,o=v[e];return o.icons.svg&&(n=o.icons.svg),o.icons["2x"]&&(n=o.icons["2x"]),o.icons["1x"]&&(n=o.icons["1x"]),o.icons.default&&(n=o.icons.default),wp.element.createElement("div",{className:"plugin-card-list-item",key:e,onClick:function(e){e.preventDefault(),function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),h.setAttributes({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),E({results:{}})}(o)}},wp.element.createElement("img",{src:n}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(o.name)}}))})))))))]})),save:function(){return null}})},,function(e,t,n){},function(e,t,n){},,,,,,,,,,,,function(e,t,n){},,function(e,t,n){},,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(31),n(32),n(33)},,,,function(e,t,n){"use strict";n.r(t);n(101),n(102);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(2),c={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}},s=n(20),p=n(4),u=n(6),m=n(11),d=(n(103),wp.components),b=d.Dashicon,g=d.Tooltip,h=function(e){var t=e.title,n=e.firstColor,o=e.secondColor,l=e.isSelected,r=e.onChange,i=wp.element.createElement("button",{type:"button","aria-pressed":l,className:a()("wp-block-themeisle-blocks-responsive-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(o," 100%)")},onClick:function(){return r(n,0,o,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-option-wrapper"},t?wp.element.createElement(g,{text:t},i):i,l&&wp.element.createElement(b,{icon:"saved"}))},f=wp.i18n.__,w=[{title:f("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:f("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:f("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:f("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:f("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:f("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:f("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:f("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:f("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:f("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:f("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:f("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],y=wp.i18n.__,v=wp.components,k=v.Button,E=v.ColorIndicator,C=v.Dropdown,x=v.RangeControl,T=v.SelectControl,S=wp.compose.withInstanceId,B=(wp.blockEditor||wp.editor).ColorPalette,O=wp.element.Fragment,M=S((function(e){var t,n=e.label,o=e.instanceId,a=e.value,l=e.customGradient,r=void 0===l||l,i=e.onChange,c="inspector-gradient-picker-control-".concat(o),s=function(e){var t=e.firstColor,n=void 0===t?a.firstColor:t,o=e.firstLocation,l=void 0===o?a.firstLocation:o,r=e.secondColor,c=void 0===r?a.secondColor:r,s=e.secondLocation,p=void 0===s?a.secondLocation:s,u=e.type,m=void 0===u?a.type:u,d=e.angle,b=void 0===d?a.angle:d,g=e.position,h=void 0===g?a.position:g;i(n,l,c,p,m,b,h)};t="linear"===a.type?"".concat(a.angle,"deg"):"at ".concat(a.position);var p="".concat(a.type,"-gradient( ").concat(t,", ").concat(a.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.firstLocation,"%, ").concat(a.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(a.secondLocation,"% )"),u=w.some((function(e){return e.firstColor===a.firstColor&&e.secondColor===a.secondColor}));return wp.element.createElement("div",{id:c,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!u&&wp.element.createElement(E,{colorValue:p}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-presets"},w.map((function(e){return wp.element.createElement(h,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===a.firstColor&&e.secondColor===a.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-custom-wrapper"},r&&wp.element.createElement(C,{className:"wp-block-themeisle-blocks-responsive-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-responsive-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{"aria-expanded":t,onClick:n,isLink:!0},y("Custom Gradient"))},renderContent:function(){return wp.element.createElement(O,null,wp.element.createElement("p",null,y("First Color")),wp.element.createElement(B,{label:y("Color"),clearable:!1,value:a.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(x,{label:y("Location"),value:a.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,y("Second Color")),wp.element.createElement(B,{label:y("Color"),clearable:!1,value:a.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(x,{label:y("Location"),value:a.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(T,{label:y("Type"),value:a.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===a.type?wp.element.createElement(x,{label:y("Angle"),value:a.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(T,{label:y("Position"),value:a.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(k,{className:"wp-block-themeisle-blocks-responsive-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},y("Clear"))))))})),L=n(7);function N(e){return(N="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 A(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=wp.i18n.__,z=wp.blockEditor||wp.editor,V=z.__experimentalBlockNavigationList,H=z.BlockControls,j=wp.components,F=j.IconButton,D=j.Modal,G=j.Toolbar,W=wp.compose.compose,Z=wp.data,q=Z.withSelect,U=Z.withDispatch,K=wp.element,Q=K.Component,J=K.Fragment,Y=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=_(t).apply(this,arguments))||"object"!==N(o)&&"function"!=typeof o?P(n):o).toggleNavigator=e.toggleNavigator.bind(P(e)),e.state={isNavigationListOpen:!1},e}var n,o,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,writable:!0,configurable:!0}}),t&&R(e,t)}(t,e),n=t,(o=[{key:"toggleNavigator",value:function(e){this.setState({isNavigationListOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(J,null,wp.element.createElement(H,null,wp.element.createElement(G,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement(F,{className:"components-toolbar__control",label:I("Open block navigator"),onClick:function(){return e.toggleNavigator(!0)},icon:i.k}))),this.state.isNavigationListOpen&&wp.element.createElement(D,{title:I("Block Navigator"),closeLabel:I("Close"),onRequestClose:function(){e.toggleNavigator(!1)}},wp.element.createElement(V,{blocks:[this.props.block],selectedBlockClientId:this.props.selectedBlockClientId,selectBlock:this.props.selectBlock,showNestedBlocks:!0})))}}])&&A(n.prototype,o),a&&A(n,a),t}(Q),$=W(q((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getSelectedBlockClientId;return{block:(0,o.getBlock)(n),selectedBlockClientId:a()}})),U((function(e,t){t.block;return{selectBlock:(e("core/block-editor")||e("core/editor")).selectBlock}})))(Y),X=n(9),ee=n(21);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=(wp.blockEditor||wp.editor).InnerBlocks,le=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,w=s.verticalAlign,y=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,_=s.backgroundOverlayOpacity,P=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayFilterBlur,Q=s.backgroundOverlayFilterBrightness,J=s.backgroundOverlayFilterContrast,Y=s.backgroundOverlayFilterGrayscale,$=s.backgroundOverlayFilterHue,ee=s.backgroundOverlayFilterSaturate,te=s.backgroundOverlayBlend,oe=s.borderType,le=s.border,re=s.borderTop,ie=s.borderRight,ce=s.borderBottom,se=s.borderLeft,pe=s.borderColor,ue=s.borderRadiusType,me=s.borderRadius,de=s.borderRadiusTop,be=s.borderRadiusRight,ge=s.borderRadiusBottom,he=s.borderRadiusLeft,fe=s.boxShadow,we=s.boxShadowColor,ye=s.boxShadowColorOpacity,ve=s.boxShadowBlur,ke=s.boxShadowSpread,Ee=s.boxShadowHorizontal,Ce=s.boxShadowVertical,xe=s.dividerTopType,Te=s.dividerTopColor,Se=s.dividerTopInvert,Be=s.dividerBottomType,Oe=s.dividerBottomColor,Me=s.dividerBottomInvert,Le=s.hide,Ne=s.hideTablet,Ae=s.hideMobile,_e=s.columnsHTMLTag;("color"===y&&(t={background:v}),"image"===y&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===y)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===oe&&(o={borderWidth:"".concat(le,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===oe&&(o={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(se,"px"),borderStyle:"solid",borderColor:pe}),"linked"===ue&&(l={borderRadius:"".concat(me,"px")}),"unlinked"===ue&&(l={borderTopLeftRadius:"".concat(de,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===fe&&(i={boxShadow:"".concat(Ee,"px ").concat(Ce,"px ").concat(ve,"px ").concat(ke,"px ").concat(r()(we||"#000000",ye))});var Pe,Re=ne({},t,{},o,{},l,{},i,{justifyContent:f});("color"===P&&(n={background:R,opacity:_/100}),"image"===P&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:_/100}),"gradient"===P)&&(Pe="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(Pe,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:_/100});var Ie=ne({},n,{mixBlendMode:te,filter:"blur( ".concat(K/10,"px ) brightness( ").concat(Q/10," ) contrast( ").concat(J/10," ) grayscale( ").concat(Y/100," ) hue-rotate( ").concat($,"deg ) saturate( ").concat(ee/10," )")}),ze={};h&&(ze={maxWidth:h+"px"});var Ve=Le?"":"has-desktop-".concat(m,"-layout"),He=Ne?"":"has-tablet-".concat(d,"-layout"),je=Ae?"":"has-mobile-".concat(b,"-layout"),Fe=a()(e.className,"has-".concat(u,"-columns"),Ve,He,je,{"hide-in-desktop":Le},{"hide-in-tablet":Ne},{"hide-in-mobile":Ae},"has-".concat(g,"-gap"),"has-vertical-".concat(w));return wp.element.createElement(_e,{className:Fe,id:p,style:Re},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ie}),wp.element.createElement(X.default,{type:"top",front:!0,style:xe,fill:Te,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:ze},wp.element.createElement(ae.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:Be,fill:Oe,invert:Me}))}}];function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=lodash.times,pe=wp.i18n.__,ue=wp.blocks.registerBlockType,me=wp.components,de=me.BaseControl,be=me.Button,ge=me.ButtonGroup,he=me.Dashicon,fe=me.Icon,we=me.IconButton,ye=me.PanelBody,ve=me.Tooltip,ke=me.ToggleControl,Ee=me.RangeControl,Ce=me.SelectControl,xe=me.TextControl,Te=wp.compose,Se=Te.compose,Be=Te.withState,Oe=wp.data,Me=Oe.withDispatch,Le=Oe.withSelect,Ne=wp.blockEditor||wp.editor,Ae=Ne.__experimentalBlockNavigationList,_e=Ne.ColorPalette,Pe=Ne.InnerBlocks,Re=Ne.InspectorAdvancedControls,Ie=Ne.InspectorControls,ze=Ne.MediaPlaceholder,Ve=wp.element.Fragment,He=wp.viewport.withViewportMatch;function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ue("themeisle-blocks/advanced-columns",{title:pe("Section"),description:pe("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:i.f,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},deprecated:le,edit:Se([Me((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),Le((function(e,t){var n=t.clientId;return{sectionBlock:(0,(e("core/block-editor")||e("core/editor")).getBlock)(n),props:t}})),Be({tab:"layout",columnsViewType:"desktop",paddingViewType:"desktop",marginViewType:"desktop",heightViewType:"desktop",dividerViewType:"top",dividerWidthViewType:"desktop",dividerHeightViewType:"desktop"}),He({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.columnsViewType,o=e.paddingViewType,l=e.marginViewType,d=e.heightViewType,b=e.dividerViewType,g=e.dividerWidthViewType,h=e.dividerHeightViewType,f=e.setState,w=e.isLarger,y=e.isLarge,v=e.isSmall,k=e.isSmaller,E=e.props,C=e.sectionBlock,x=e.updateBlockAttributes,T=E.attributes,S=T.id,B=T.columns,O=T.layout,N=T.layoutTablet,A=T.layoutMobile,_=T.columnsGap,P=T.paddingType,R=T.paddingTypeTablet,I=T.paddingTypeMobile,z=T.padding,V=T.paddingTablet,H=T.paddingMobile,j=T.paddingTop,F=T.paddingTopTablet,D=T.paddingTopMobile,G=T.paddingRight,W=T.paddingRightTablet,Z=T.paddingRightMobile,q=T.paddingBottom,U=T.paddingBottomTablet,K=T.paddingBottomMobile,Q=T.paddingLeft,J=T.paddingLeftTablet,Y=T.paddingLeftMobile,te=T.marginType,ne=T.marginTypeTablet,oe=T.marginTypeMobile,ae=T.margin,le=T.marginTablet,re=T.marginMobile,ue=T.marginTop,me=T.marginTopTablet,Te=T.marginTopMobile,Se=T.marginBottom,Be=T.marginBottomTablet,Oe=T.marginBottomMobile,Me=T.columnsWidth,Le=T.columnsHeight,Ne=T.columnsHeightCustom,He=T.columnsHeightCustomTablet,je=T.columnsHeightCustomMobile,Fe=T.horizontalAlign,De=T.verticalAlign,Ge=T.backgroundType,We=T.backgroundColor,Ze=T.backgroundImageID,qe=T.backgroundImageURL,Ue=T.backgroundAttachment,Ke=T.backgroundPosition,Qe=T.backgroundRepeat,Je=T.backgroundSize,Ye=T.backgroundGradientFirstColor,$e=T.backgroundGradientFirstLocation,Xe=T.backgroundGradientSecondColor,et=T.backgroundGradientSecondLocation,tt=T.backgroundGradientType,nt=T.backgroundGradientAngle,ot=T.backgroundGradientPosition,at=T.backgroundOverlayOpacity,lt=T.backgroundOverlayType,rt=T.backgroundOverlayColor,it=T.backgroundOverlayImageID,ct=T.backgroundOverlayImageURL,st=T.backgroundOverlayAttachment,pt=T.backgroundOverlayPosition,ut=T.backgroundOverlayRepeat,mt=T.backgroundOverlaySize,dt=T.backgroundOverlayGradientFirstColor,bt=T.backgroundOverlayGradientFirstLocation,gt=T.backgroundOverlayGradientSecondColor,ht=T.backgroundOverlayGradientSecondLocation,ft=T.backgroundOverlayGradientType,wt=T.backgroundOverlayGradientAngle,yt=T.backgroundOverlayGradientPosition,vt=T.backgroundOverlayFilterBlur,kt=T.backgroundOverlayFilterBrightness,Et=T.backgroundOverlayFilterContrast,Ct=T.backgroundOverlayFilterGrayscale,xt=T.backgroundOverlayFilterHue,Tt=T.backgroundOverlayFilterSaturate,St=T.backgroundOverlayBlend,Bt=T.borderType,Ot=T.border,Mt=T.borderTop,Lt=T.borderRight,Nt=T.borderBottom,At=T.borderLeft,_t=T.borderColor,Pt=T.borderRadiusType,Rt=T.borderRadius,It=T.borderRadiusTop,zt=T.borderRadiusRight,Vt=T.borderRadiusBottom,Ht=T.borderRadiusLeft,jt=T.boxShadow,Ft=T.boxShadowColor,Dt=T.boxShadowColorOpacity,Gt=T.boxShadowBlur,Wt=T.boxShadowSpread,Zt=T.boxShadowHorizontal,qt=T.boxShadowVertical,Ut=T.dividerTopType,Kt=T.dividerTopColor,Qt=T.dividerTopWidth,Jt=T.dividerTopWidthTablet,Yt=T.dividerTopWidthMobile,$t=T.dividerTopHeight,Xt=T.dividerTopHeightTablet,en=T.dividerTopHeightMobile,tn=T.dividerTopInvert,nn=T.dividerBottomType,on=T.dividerBottomColor,an=T.dividerBottomWidth,ln=T.dividerBottomWidthTablet,rn=T.dividerBottomWidthMobile,cn=T.dividerBottomHeight,sn=T.dividerBottomHeightTablet,pn=T.dividerBottomHeightMobile,un=T.dividerBottomInvert,mn=T.hide,dn=T.hideTablet,bn=T.hideMobile,gn=T.columnsHTMLTag;if(void 0===S||S.substr(S.length-8)!==E.clientId.substr(0,8)){var hn="wp-block-themeisle-blocks-advanced-columns-".concat(E.clientId.substr(0,8));E.setAttributes({id:hn})}var fn,wn,yn,vn,kn,En,Cn,xn=w&&!y&&v&&!k,Tn=!w&&!y&&v&&!k,Sn=!(w||y||v||k),Bn=gn;(xn&&(fn={paddingRight:"".concat("linked"===P?z:G,"px"),paddingLeft:"".concat("linked"===P?z:Q,"px"),marginTop:"".concat("linked"===te?ae:ue,"px"),marginBottom:"".concat("linked"===te?ae:Se,"px"),minHeight:"custom"===Le?"".concat(Ne,"px"):Le}),Tn&&(fn={paddingRight:"".concat("linked"===R?V:W,"px"),paddingLeft:"".concat("linked"===R?V:J,"px"),marginTop:"".concat("linked"===ne?le:me,"px"),marginBottom:"".concat("linked"===ne?le:Be,"px"),minHeight:"custom"===Le?"".concat(He,"px"):Le}),Sn&&(fn={paddingRight:"".concat("linked"===I?H:Z,"px"),paddingLeft:"".concat("linked"===I?H:Y,"px"),marginTop:"".concat("linked"===oe?re:Te,"px"),marginBottom:"".concat("linked"===oe?re:Oe,"px"),minHeight:"custom"===Le?"".concat(je,"px"):Le}),"color"===Ge&&(wn={background:We}),"image"===Ge&&(wn={backgroundImage:"url( '".concat(qe,"' )"),backgroundAttachment:Ue,backgroundPosition:Ke,backgroundRepeat:Qe,backgroundSize:Je}),"gradient"===Ge)&&(Cn="linear"===tt?"".concat(nt,"deg"):"at ".concat(ot),(Ye||Xe)&&(wn={background:"".concat(tt,"-gradient( ").concat(Cn,", ").concat(Ye||"rgba( 0, 0, 0, 0 )"," ").concat($e,"%, ").concat(Xe||"rgba( 0, 0, 0, 0 )"," ").concat(et,"% )")}));"linked"===Bt&&(vn={borderWidth:"".concat(Ot,"px"),borderStyle:"solid",borderColor:_t}),"unlinked"===Bt&&(vn={borderTopWidth:"".concat(Mt,"px"),borderRightWidth:"".concat(Lt,"px"),borderBottomWidth:"".concat(Nt,"px"),borderLeftWidth:"".concat(At,"px"),borderStyle:"solid",borderColor:_t}),"linked"===Pt&&(kn={borderRadius:"".concat(Rt,"px")}),"unlinked"===Pt&&(kn={borderTopLeftRadius:"".concat(It,"px"),borderTopRightRadius:"".concat(zt,"px"),borderBottomRightRadius:"".concat(Vt,"px"),borderBottomLeftRadius:"".concat(Ht,"px")}),!0===jt&&(En={boxShadow:"".concat(Zt,"px ").concat(qt,"px ").concat(Gt,"px ").concat(Wt,"px ").concat(r()(Ft||"#000000",Dt))});var On,Mn=ie({},fn,{},wn,{},vn,{},kn,{},En,{alignItems:Fe,justifyContent:De});("color"===lt&&(yn={background:rt,opacity:at/100}),"image"===lt&&(yn={backgroundImage:"url( '".concat(ct,"' )"),backgroundAttachment:st,backgroundPosition:pt,backgroundRepeat:ut,backgroundSize:mt,opacity:at/100}),"gradient"===lt)&&(On="linear"===ft?"".concat(wt,"deg"):"at ".concat(yt),yn={background:"".concat(ft,"-gradient( ").concat(On,", ").concat(dt||"rgba( 0, 0, 0, 0 )"," ").concat(bt,"%, ").concat(gt||"rgba( 0, 0, 0, 0 )"," ").concat(ht,"% )"),opacity:at/100});var Ln=ie({},yn,{mixBlendMode:St,filter:"blur( ".concat(vt/10,"px ) brightness( ").concat(kt/10," ) contrast( ").concat(Et/10," ) grayscale( ").concat(Ct/100," ) hue-rotate( ").concat(xt,"deg ) saturate( ").concat(Tt/10," )")}),Nn={};Me&&(Nn={maxWidth:Me+"px"});var An=a()(E.className,"has-".concat(B,"-columns"),"has-desktop-".concat(O,"-layout"),"has-tablet-".concat(N,"-layout"),"has-mobile-".concat(A,"-layout"),"has-".concat(_,"-gap")),_n=function(e){f({dividerViewType:e})},Pn=function(e,t){C.innerBlocks.map((function(n,o){x(n.clientId,{columnWidth:parseFloat(c[e][t][o])})}))},Rn=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===P?z:j),"tablet"===o&&(t="linked"===R?V:F),"mobile"===o&&(t="linked"===I?H:D)),"right"==e&&("desktop"===o&&(t="linked"===P?z:G),"tablet"===o&&(t="linked"===R?V:W),"mobile"===o&&(t="linked"===I?H:Z)),"bottom"==e&&("desktop"===o&&(t="linked"===P?z:q),"tablet"===o&&(t="linked"===R?V:U),"mobile"===o&&(t="linked"===I?H:K)),"left"==e&&("desktop"===o&&(t="linked"===P?z:Q),"tablet"===o&&(t="linked"===R?V:J),"mobile"===o&&(t="linked"===I?H:Y)),t},In=function(e){var t;return"top"==e&&(xn&&(t="linked"===P?z:j),Tn&&(t="linked"===R?V:F),Sn&&(t="linked"===I?H:D)),"bottom"==e&&(xn&&(t="linked"===P?z:q),Tn&&(t="linked"===R?V:U),Sn&&(t="linked"===I?H:K)),t},zn={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Vn={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},Hn={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},jn=function(){var e;return"desktop"===o&&(e=P),"tablet"===o&&(e=R),"mobile"===o&&(e=I),e};jn=jn();var Fn=function(e){var t;return"top"==e&&("desktop"===l&&(t="linked"===te?ae:ue),"tablet"===l&&(t="linked"===ne?le:me),"mobile"===l&&(t="linked"===oe?re:Te)),"bottom"==e&&("desktop"===l&&(t="linked"===te?ae:Se),"tablet"===l&&(t="linked"===ne?le:Be),"mobile"===l&&(t="linked"===oe?re:Oe)),t},Dn={top:"marginTop",bottom:"marginBottom"},Gn={top:"marginTopTablet",bottom:"marginBottomTablet"},Wn={top:"marginTopMobile",bottom:"marginBottomMobile"},Zn=function(){var e;return"desktop"===l&&(e=te),"tablet"===l&&(e=ne),"mobile"===l&&(e=oe),e};Zn=Zn();var qn=function(){var e;return"desktop"===d&&(e=Ne),"tablet"===d&&(e=He),"mobile"===d&&(e=je),e};qn=qn();var Un=function(e){if(Fe===e)return E.setAttributes({horizontalAlign:"unset"});E.setAttributes({horizontalAlign:e})},Kn=function(e){if(De===e)return E.setAttributes({verticalAlign:"unset"});E.setAttributes({verticalAlign:e})},Qn=function(){E.setAttributes({backgroundImageID:"",backgroundImageURL:""})},Jn=function(){E.setAttributes({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},Yn=function(e){var t;return"top"==e&&(t="linked"===Bt?Ot:Mt),"right"==e&&(t="linked"===Bt?Ot:Lt),"bottom"==e&&(t="linked"===Bt?Ot:Nt),"left"==e&&(t="linked"===Bt?Ot:At),t},$n={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Xn=function(e){var t;return"top"==e&&(t="linked"===Pt?Rt:It),"right"==e&&(t="linked"===Pt?Rt:zt),"bottom"==e&&(t="linked"===Pt?Rt:Vt),"left"==e&&(t="linked"===Pt?Rt:Ht),t},eo={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},to=function(){var e;return"top"==b&&(e=Ut),"bottom"==b&&(e=nn),e};to=to();var no=function(){var e;return"top"==b&&(e=Kt),"bottom"==b&&(e=on),e};no=no();var oo=function(){var e;return"top"==b&&(e=tn),"bottom"==b&&(e=un),e};oo=oo();var ao=function(){var e;return"top"==b&&("desktop"==g&&(e=Qt),"tablet"==g&&(e=Jt),"mobile"==g&&(e=Yt)),"bottom"==b&&("desktop"==g&&(e=an),"tablet"==g&&(e=ln),"mobile"==g&&(e=rn)),e};ao=ao();var lo=function(){var e;return xn&&(e=Qt),Tn&&(e=Jt),Sn&&(e=Yt),e};lo=lo();var ro=function(){var e;return xn&&(e=an),Tn&&(e=ln),Sn&&(e=rn),e};ro=ro();var io=function(){var e;return"top"==b&&("desktop"==h&&(e=$t),"tablet"==h&&(e=Xt),"mobile"==h&&(e=en)),"bottom"==b&&("desktop"==h&&(e=cn),"tablet"==h&&(e=sn),"mobile"==h&&(e=pn)),e};io=io();var co=function(){var e;return xn&&(e=$t),Tn&&(e=Xt),Sn&&(e=en),e};co=co();var so=function(){var e;return xn&&(e=cn),Tn&&(e=sn),Sn&&(e=pn),e};so=so();var po=function(e,t){"desktop"===t&&E.setAttributes({hide:e}),"tablet"===t&&E.setAttributes({hideTablet:e}),"mobile"===t&&E.setAttributes({hideMobile:e})};return B?wp.element.createElement(Ve,null,Ae&&wp.element.createElement($,{clientId:E.clientId}),wp.element.createElement(Ie,null,wp.element.createElement(ye,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return f({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"editor-table"}),pe("Layout"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return f({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-customizer"}),pe("Style"))),wp.element.createElement(be,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return f({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(he,{icon:"admin-generic"}),pe("Advanced")))),"layout"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Columns & Layout")},wp.element.createElement(Ee,{label:pe("Columns"),value:B,onChange:function(e){6>=e&&(E.setAttributes({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),Pn(e,"equal")),6<e&&(E.setAttributes({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),Pn(6,"equal")),1>=e&&(E.setAttributes({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),Pn(1,"equal"))},min:1,max:6}),wp.element.createElement(s.default,{label:pe("Layout"),columns:B,changeViewType:function(e){f({columnsViewType:e})},onClick:function(e){"desktop"===n&&(E.setAttributes({layout:e}),Pn(B,e)),"tablet"===n&&E.setAttributes({layoutTablet:e}),"mobile"===n&&E.setAttributes({layoutMobile:e})},layout:O,layoutTablet:N,layoutMobile:A,view:n}),wp.element.createElement(Ce,{label:pe("Columns Gap"),value:_,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){E.setAttributes({columnsGap:e})}})),wp.element.createElement(ye,{title:pe("Padding & Margin"),initialOpen:!1},wp.element.createElement(u.a,{label:"Padding",view:o,changeViewType:function(e){f({paddingViewType:e})}},wp.element.createElement(p.a,{type:jn,min:0,max:500,changeType:function(e){"desktop"===o&&E.setAttributes({paddingType:e}),"tablet"===o&&E.setAttributes({paddingTypeTablet:e}),"mobile"===o&&E.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===P?E.setAttributes({padding:t}):E.setAttributes(ce({},zn[e],t))),"tablet"===o&&("linked"===R?E.setAttributes({paddingTablet:t}):E.setAttributes(ce({},Vn[e],t))),"mobile"===o&&("linked"===I?E.setAttributes({paddingMobile:t}):E.setAttributes(ce({},Hn[e],t)))},options:[{label:pe("Top"),type:"top",value:Rn("top")},{label:pe("Right"),type:"right",value:Rn("right")},{label:pe("Bottom"),type:"bottom",value:Rn("bottom")},{label:pe("Left"),type:"left",value:Rn("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:l,changeViewType:function(e){f({marginViewType:e})}},wp.element.createElement(p.a,{type:Zn,min:-500,max:500,changeType:function(e){"desktop"===l&&E.setAttributes({marginType:e}),"tablet"===l&&E.setAttributes({marginTypeTablet:e}),"mobile"===l&&E.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===l&&("linked"===te?E.setAttributes({margin:t}):E.setAttributes(ce({},Dn[e],t))),"tablet"===l&&("linked"===ne?E.setAttributes({marginTablet:t}):E.setAttributes(ce({},Gn[e],t))),"mobile"===l&&("linked"===oe?E.setAttributes({marginMobile:t}):E.setAttributes(ce({},Wn[e],t)))},options:[{label:pe("Top"),type:"top",value:Fn("top")},{label:pe("Right"),disabled:!0},{label:pe("Bottom"),type:"bottom",value:Fn("bottom")},{label:pe("Left"),disabled:!0}]}))),wp.element.createElement(ye,{title:pe("Section Structure"),initialOpen:!1},wp.element.createElement(Ee,{label:pe("Maximum Content Width"),value:Me||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&E.setAttributes({columnsWidth:e})},min:0,max:1200}),Me&&wp.element.createElement(de,{label:"Horizontal Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Left")},wp.element.createElement(we,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===Fe,onClick:function(){return Un("flex-start")}})),wp.element.createElement(ve,{text:pe("Center")},wp.element.createElement(we,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===Fe,onClick:function(){return Un("center")}})),wp.element.createElement(ve,{text:pe("Right")},wp.element.createElement(we,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===Fe,onClick:function(){return Un("flex-end")}})))),wp.element.createElement(Ce,{label:pe("Minimum Height"),value:Le,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){E.setAttributes({columnsHeight:e})}}),"custom"===Le&&wp.element.createElement(u.a,{label:"Custom Height",view:d,changeViewType:function(e){f({heightViewType:e})}},wp.element.createElement(Ee,{value:qn||"",onChange:function(e){"desktop"===d&&E.setAttributes({columnsHeightCustom:e}),"tablet"===d&&E.setAttributes({columnsHeightCustomTablet:e}),"mobile"===d&&E.setAttributes({columnsHeightCustomMobile:e})},min:0,max:1e3})),"auto"!==Le&&wp.element.createElement(de,{label:"Vertical Align"},wp.element.createElement(ge,{className:"icon-buttom-group"},wp.element.createElement(ve,{text:pe("Top")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===De,onClick:function(){return Kn("flex-start")}},wp.element.createElement(fe,{icon:i.s,size:20}))),wp.element.createElement(ve,{text:pe("Middle")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"center"===De,onClick:function(){return Kn("center")}},wp.element.createElement(fe,{icon:i.j,size:20}))),wp.element.createElement(ve,{text:pe("Bottom")},wp.element.createElement(be,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===De,onClick:function(){return Kn("flex-end")}},wp.element.createElement(fe,{icon:i.c,size:20})))))))||"style"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:pe("Background Type"),backgroundType:Ge,changeBackgroundType:function(e){E.setAttributes({backgroundType:e})}}),"color"===Ge&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Background Color")),wp.element.createElement(_e,{label:"Background Color",value:We,onChange:function(e){E.setAttributes({backgroundColor:e})}}))||"image"===Ge&&(qe?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(qe,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Qn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Qn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:Ue,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:Ke,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:Qe,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:Je,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundSize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:Ze,onSelect:function(e){E.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===Ge&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:Ye,firstLocation:$e,secondColor:Xe,secondLocation:et,type:tt,angle:nt,position:ot},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(ye,{title:pe("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(m.default,{label:pe("Overlay Type"),backgroundType:lt,changeBackgroundType:function(e){E.setAttributes({backgroundOverlayType:e})}}),wp.element.createElement(Ee,{label:pe("Overlay Opacity"),value:at,onChange:function(e){E.setAttributes({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===lt&&wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Overlay Color")),wp.element.createElement(_e,{label:"Overlay Color",value:rt,onChange:function(e){E.setAttributes({backgroundOverlayColor:e})}}))||"image"===lt&&(ct?wp.element.createElement(Ve,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(ct,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Jn},wp.element.createElement(he,{icon:"trash"}),wp.element.createElement("span",null,pe("Remove Image"))))),wp.element.createElement(be,{isDefault:!0,className:"image-delete-button",onClick:Jn},pe("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(Ce,{label:pe("Background Attachment"),value:st,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){E.setAttributes({backgroundOverlayAttachment:e})}}),wp.element.createElement(Ce,{label:pe("Background Position"),value:pt,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){E.setAttributes({backgroundOverlayPosition:e})}}),wp.element.createElement(Ce,{label:pe("Background Repeat"),value:ut,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){E.setAttributes({backgroundOverlayRepeat:e})}}),wp.element.createElement(Ce,{label:pe("Background Size"),value:mt,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){E.setAttributes({backgroundOverlaySize:e})}}))):wp.element.createElement(ze,{icon:"format-image",labels:{title:pe("Background Image"),name:pe("an image")},value:it,onSelect:function(e){E.setAttributes({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===lt&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:dt,firstLocation:bt,secondColor:gt,secondLocation:ht,type:ft,angle:wt,position:yt},onChange:function(e,t,n,o,a,l,r){E.setAttributes({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:n,backgroundOverlayGradientSecondLocation:o,backgroundOverlayGradientType:a,backgroundOverlayGradientAngle:l,backgroundOverlayGradientPosition:r})}}),wp.element.createElement(L.a,{label:"CSS Filters"},wp.element.createElement(Ee,{label:pe("Blur"),value:vt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Brightness"),value:kt,onChange:function(e){E.setAttributes({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Contrast"),value:Et,onChange:function(e){E.setAttributes({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Grayscale"),value:Ct,onChange:function(e){E.setAttributes({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Hue"),value:xt,onChange:function(e){E.setAttributes({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(Ee,{label:pe("Saturation"),value:Tt,onChange:function(e){E.setAttributes({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(Ce,{label:pe("Blend Mode"),value:St,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){E.setAttributes({backgroundOverlayBlend:e})}})),wp.element.createElement(ye,{title:pe("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:pe("Border Width"),type:Bt,min:0,max:500,changeType:function(e){E.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Bt?E.setAttributes({border:t}):E.setAttributes(ce({},$n[e],t))},options:[{label:pe("Top"),type:"top",value:Yn("top")},{label:pe("Right"),type:"right",value:Yn("right")},{label:pe("Bottom"),type:"bottom",value:Yn("bottom")},{label:pe("Left"),type:"left",value:Yn("left")}]}),wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Border Color")),wp.element.createElement(_e,{label:"Border Color",value:_t,onChange:function(e){E.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:pe("Border Radius"),type:Pt,min:0,max:500,changeType:function(e){E.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===Pt?E.setAttributes({borderRadius:t}):E.setAttributes(ce({},eo[e],t))},options:[{label:pe("Top"),type:"top",value:Xn("top")},{label:pe("Right"),type:"right",value:Xn("right")},{label:pe("Bottom"),type:"bottom",value:Xn("bottom")},{label:pe("Left"),type:"left",value:Xn("left")}]}),wp.element.createElement(ke,{label:"Box Shadow",checked:jt,onChange:function(){E.setAttributes({boxShadow:!jt})}}),jt&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Shadow Color")),wp.element.createElement(_e,{label:"Shadow Color",value:Ft,onChange:function(e){E.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Border Shadow"},wp.element.createElement(Ee,{label:pe("Opacity"),value:Dt,onChange:function(e){E.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Blur"),value:Gt,onChange:function(e){E.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Ee,{label:pe("Spread"),value:Wt,onChange:function(e){E.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Horizontal"),value:Zt,onChange:function(e){E.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Ee,{label:pe("Vertical"),value:qt,onChange:function(e){E.setAttributes({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(ye,{title:pe("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(ge,null,wp.element.createElement(be,{className:"is-button",isPrimary:"top"===b,onClick:function(){return _n("top")}},pe("Top")),wp.element.createElement(be,{className:"is-button",isPrimary:"bottom"===b,onClick:function(){return _n("bottom")}},pe("Bottom"))),wp.element.createElement(Ce,{label:pe("Type"),value:to,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==b&&E.setAttributes({dividerTopType:e}),"bottom"==b&&E.setAttributes({dividerBottomType:e})}}),"none"!==to&&wp.element.createElement(Ve,null,wp.element.createElement(Ve,null,wp.element.createElement("p",null,pe("Color")),wp.element.createElement(_e,{label:pe("Color"),value:no,onChange:function(e){"top"==b&&E.setAttributes({dividerTopColor:e}),"bottom"==b&&E.setAttributes({dividerBottomColor:e})}})),wp.element.createElement(u.a,{label:"Width",view:g,changeViewType:function(e){f({dividerWidthViewType:e})}},wp.element.createElement(Ee,{value:ao,onChange:function(e){"top"==b&&("desktop"==g&&E.setAttributes({dividerTopWidth:e}),"tablet"==g&&E.setAttributes({dividerTopWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerTopWidthMobile:e})),"bottom"==b&&("desktop"==g&&E.setAttributes({dividerBottomWidth:e}),"tablet"==g&&E.setAttributes({dividerBottomWidthTablet:e}),"mobile"==g&&E.setAttributes({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(u.a,{label:"Height",view:h,changeViewType:function(e){f({dividerHeightViewType:e})}},wp.element.createElement(Ee,{value:io,onChange:function(e){"top"==b&&("desktop"==h&&E.setAttributes({dividerTopHeight:e}),"tablet"==h&&E.setAttributes({dividerTopHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerTopHeightMobile:e})),"bottom"==b&&("desktop"==h&&E.setAttributes({dividerBottomHeight:e}),"tablet"==h&&E.setAttributes({dividerBottomHeightTablet:e}),"mobile"==h&&E.setAttributes({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==to&&"cloud"!==to&&wp.element.createElement(ke,{label:"Invert Shape Divider",checked:oo,onChange:function(){"top"==b&&E.setAttributes({dividerTopInvert:!tn}),"bottom"==b&&E.setAttributes({dividerBottomInvert:!un})}}))))||"advanced"===t&&wp.element.createElement(Ve,null,wp.element.createElement(ye,{title:pe("Section Visibility")},wp.element.createElement(ke,{label:"Hide this section in Desktop devices?",checked:mn,onChange:function(e){return po(e,"desktop")}}),wp.element.createElement(ke,{label:"Hide this section in Tablet devices?",checked:dn,onChange:function(e){return po(e,"tablet")}}),wp.element.createElement(ke,{label:"Hide this section in Mobile devices?",checked:bn,onChange:function(e){return po(e,"mobile")}})),wp.element.createElement(ye,{title:pe("Section Settings"),initialOpen:!1},wp.element.createElement(Ce,{label:pe("HTML Tag"),value:gn,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){E.setAttributes({columnsHTMLTag:e})}})))),wp.element.createElement(Re,null,wp.element.createElement(xe,{label:pe("HTML Anchor"),help:pe("Anchors lets you link directly to a section on a page."),value:S,readonly:"readonly",onClick:function(e){return e.target.select()}})),wp.element.createElement(Bn,{className:An,style:Mn},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ln}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("top"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingTop"},"".concat(In("top"),"px")))),wp.element.createElement(X.default,{type:"top",style:Ut,fill:Kt,invert:tn,width:lo,height:co}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Nn},wp.element.createElement(Pe,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:function(e){return se(e,(function(t){return["themeisle-blocks/advanced-column",{columnWidth:parseFloat(c[e][O][t])}]}))}(B),templateLock:"all"})),wp.element.createElement(X.default,{type:"bottom",style:nn,fill:on,invert:un,width:ro,height:so}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(In("bottom"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingBottom"},"".concat(In("bottom"),"px")))))):wp.element.createElement(ee.default,{clientId:E.clientId,setupColumns:function(e,t){1>=e?E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}):E.setAttributes({columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})})),save:function(e){var t,n,o,l,i,c,s=e.attributes,p=s.id,u=s.columns,m=s.layout,d=s.layoutTablet,b=s.layoutMobile,g=s.columnsGap,h=s.columnsWidth,f=s.horizontalAlign,w=s.verticalAlign,y=s.backgroundType,v=s.backgroundColor,k=s.backgroundImageURL,E=s.backgroundAttachment,C=s.backgroundPosition,x=s.backgroundRepeat,T=s.backgroundSize,S=s.backgroundGradientFirstColor,B=s.backgroundGradientFirstLocation,O=s.backgroundGradientSecondColor,M=s.backgroundGradientSecondLocation,L=s.backgroundGradientType,N=s.backgroundGradientAngle,A=s.backgroundGradientPosition,_=s.backgroundOverlayOpacity,P=s.backgroundOverlayType,R=s.backgroundOverlayColor,I=s.backgroundOverlayImageURL,z=s.backgroundOverlayAttachment,V=s.backgroundOverlayPosition,H=s.backgroundOverlayRepeat,j=s.backgroundOverlaySize,F=s.backgroundOverlayGradientFirstColor,D=s.backgroundOverlayGradientFirstLocation,G=s.backgroundOverlayGradientSecondColor,W=s.backgroundOverlayGradientSecondLocation,Z=s.backgroundOverlayGradientType,q=s.backgroundOverlayGradientAngle,U=s.backgroundOverlayGradientPosition,K=s.backgroundOverlayBlend,Q=s.borderType,J=s.border,Y=s.borderTop,$=s.borderRight,ee=s.borderBottom,te=s.borderLeft,ne=s.borderColor,oe=s.borderRadiusType,ae=s.borderRadius,le=s.borderRadiusTop,re=s.borderRadiusRight,ce=s.borderRadiusBottom,se=s.borderRadiusLeft,pe=s.boxShadow,ue=s.boxShadowColor,me=s.boxShadowColorOpacity,de=s.boxShadowBlur,be=s.boxShadowSpread,ge=s.boxShadowHorizontal,he=s.boxShadowVertical,fe=s.dividerTopType,we=s.dividerTopColor,ye=s.dividerTopInvert,ve=s.dividerBottomType,ke=s.dividerBottomColor,Ee=s.dividerBottomInvert,Ce=s.hide,xe=s.hideTablet,Te=s.hideMobile,Se=s.columnsHTMLTag;("color"===y&&(t={background:v}),"image"===y&&(t={backgroundImage:"url( '".concat(k,"' )"),backgroundAttachment:E,backgroundPosition:C,backgroundRepeat:x,backgroundSize:T}),"gradient"===y)&&(c="linear"===L?"".concat(N,"deg"):"at ".concat(A),t={background:"".concat(L,"-gradient( ").concat(c,", ").concat(S||"rgba( 0, 0, 0, 0 )"," ").concat(B,"%, ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(M,"% )")});"linked"===Q&&(o={borderWidth:"".concat(J,"px"),borderStyle:"solid",borderColor:ne}),"unlinked"===Q&&(o={borderTopWidth:"".concat(Y,"px"),borderRightWidth:"".concat($,"px"),borderBottomWidth:"".concat(ee,"px"),borderLeftWidth:"".concat(te,"px"),borderStyle:"solid",borderColor:ne}),"linked"===oe&&(l={borderRadius:"".concat(ae,"px")}),"unlinked"===oe&&(l={borderTopLeftRadius:"".concat(le,"px"),borderTopRightRadius:"".concat(re,"px"),borderBottomRightRadius:"".concat(ce,"px"),borderBottomLeftRadius:"".concat(se,"px")}),!0===pe&&(i={boxShadow:"".concat(ge,"px ").concat(he,"px ").concat(de,"px ").concat(be,"px ").concat(r()(ue||"#000000",me))});var Be,Oe=ie({},t,{},o,{},l,{},i,{justifyContent:f});("color"===P&&(n={background:R,opacity:_/100}),"image"===P&&(n={backgroundImage:"url( '".concat(I,"' )"),backgroundAttachment:z,backgroundPosition:V,backgroundRepeat:H,backgroundSize:j,opacity:_/100}),"gradient"===P)&&(Be="linear"===Z?"".concat(q,"deg"):"at ".concat(U),n={background:"".concat(Z,"-gradient( ").concat(Be,", ").concat(F||"rgba( 0, 0, 0, 0 )"," ").concat(D,"%, ").concat(G||"rgba( 0, 0, 0, 0 )"," ").concat(W,"% )"),opacity:_/100});var Me=ie({},n,{mixBlendMode:K}),Le={};h&&(Le={maxWidth:h+"px"});var Ne=Ce?"":"has-desktop-".concat(m,"-layout"),Ae=xe?"":"has-tablet-".concat(d,"-layout"),_e=Te?"":"has-mobile-".concat(b,"-layout"),Re=a()(e.className,"has-".concat(u,"-columns"),Ne,Ae,_e,{"hide-in-desktop":Ce},{"hide-in-tablet":xe},{"hide-in-mobile":Te},"has-".concat(g,"-gap"),"has-vertical-".concat(w));return wp.element.createElement(Se,{className:Re,id:p,style:Oe},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Me}),wp.element.createElement(X.default,{type:"top",front:!0,style:fe,fill:we,invert:ye}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Le},wp.element.createElement(Pe.Content,null)),wp.element.createElement(X.default,{type:"bottom",front:!0,style:ve,fill:ke,invert:Ee}))}});var Ge=wp.i18n.__,We=wp.blocks.registerBlockType,Ze=wp.components,qe=Ze.Button,Ue=Ze.Dashicon,Ke=Ze.PanelBody,Qe=Ze.ToggleControl,Je=Ze.RangeControl,Ye=Ze.ResizableBox,$e=Ze.SelectControl,Xe=wp.compose,et=Xe.compose,tt=Xe.withState,nt=wp.data,ot=nt.withDispatch,at=nt.withSelect,lt=wp.blockEditor||wp.editor,rt=lt.ColorPalette,it=lt.InnerBlocks,ct=lt.InspectorControls,st=lt.MediaPlaceholder,pt=wp.element.Fragment,ut=wp.viewport.withViewportMatch;We("themeisle-blocks/advanced-column",{title:Ge("Section Column"),description:Ge("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:i.e,category:"themeisle-blocks",attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},edit:et([ot((function(e){return{updateBlockAttributes:(e("core/block-editor")||e("core/editor")).updateBlockAttributes}})),at((function(e,t){var n=t.clientId,o=e("core/block-editor")||e("core/editor"),a=o.getAdjacentBlockClientId,l=o.getBlock,r=o.getBlockRootClientId,i=l(n),c=a(n),s=l(c),p=r(n);return{adjacentBlockClientId:c,adjacentBlock:s,parentClientId:p,parentBlock:l(p),hasInnerBlocks:!(!i||!i.innerBlocks.length),props:t}})),tt({tab:"layout",paddingViewType:"desktop",marginViewType:"desktop",currentWidth:0,nextWidth:0}),ut({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})])((function(e){var t=e.tab,n=e.paddingViewType,o=e.marginViewType,l=e.currentWidth,i=e.nextWidth,s=e.setState,d=e.isLarger,b=e.isLarge,g=e.isSmall,h=e.isSmaller,f=e.props,w=e.adjacentBlockClientId,y=e.adjacentBlock,v=e.parentClientId,k=e.parentBlock,E=e.hasInnerBlocks,C=e.updateBlockAttributes,x=f.attributes,T=x.id,S=x.paddingType,B=x.paddingTypeTablet,O=x.paddingTypeMobile,N=x.padding,A=x.paddingTablet,_=x.paddingMobile,P=x.paddingTop,R=x.paddingTopTablet,I=x.paddingTopMobile,z=x.paddingRight,V=x.paddingRightTablet,H=x.paddingRightMobile,j=x.paddingBottom,F=x.paddingBottomTablet,D=x.paddingBottomMobile,G=x.paddingLeft,W=x.paddingLeftTablet,Z=x.paddingLeftMobile,q=x.marginType,U=x.marginTypeTablet,K=x.marginTypeMobile,Q=x.margin,J=x.marginTablet,Y=x.marginMobile,$=x.marginTop,X=x.marginTopTablet,ee=x.marginTopMobile,te=x.marginRight,ne=x.marginRightTablet,oe=x.marginRightMobile,ae=x.marginBottom,le=x.marginBottomTablet,re=x.marginBottomMobile,ie=x.marginLeft,ce=x.marginLeftTablet,se=x.marginLeftMobile,pe=x.backgroundType,ue=x.backgroundColor,me=x.backgroundImageID,de=x.backgroundImageURL,be=x.backgroundAttachment,ge=x.backgroundPosition,he=x.backgroundRepeat,fe=x.backgroundSize,we=x.backgroundGradientFirstColor,ye=x.backgroundGradientFirstLocation,ve=x.backgroundGradientSecondColor,ke=x.backgroundGradientSecondLocation,Ee=x.backgroundGradientType,Ce=x.backgroundGradientAngle,xe=x.backgroundGradientPosition,Te=x.borderType,Se=x.border,Be=x.borderTop,Oe=x.borderRight,Me=x.borderBottom,Le=x.borderLeft,Ne=x.borderColor,Ae=x.borderRadiusType,_e=x.borderRadius,Pe=x.borderRadiusTop,Re=x.borderRadiusRight,Ie=x.borderRadiusBottom,ze=x.borderRadiusLeft,Ve=x.boxShadow,He=x.boxShadowColor,je=x.boxShadowColorOpacity,We=x.boxShadowBlur,Ze=x.boxShadowSpread,Xe=x.boxShadowHorizontal,et=x.boxShadowVertical,tt=x.columnsHTMLTag,nt=x.columnWidth;if(void 0===T||T.substr(T.length-8)!==f.clientId.substr(0,8)){var ot="wp-block-themeisle-blocks-advanced-column-".concat(f.clientId.substr(0,8));f.setAttributes({id:ot})}var at=d&&!b&&g&&!h,lt=!d&&!b&&g&&!h,ut=!(d||b||g||h);void 0===nt&&k.innerBlocks.map((function(e,t){if(f.clientId===e.clientId){var n=k.attributes.columns,o=k.attributes.layout;C(f.clientId,{columnWidth:parseFloat(c[n][o][t])})}}));var mt=document.getElementById("block-".concat(f.clientId));null!==mt&&(mt.style.flexBasis=at?"".concat(nt,"%"):"");var dt,bt,gt,ht,ft,wt,yt=tt;(at&&(dt={paddingTop:"".concat("linked"===S?N:P,"px"),paddingRight:"".concat("linked"===S?N:z,"px"),paddingBottom:"".concat("linked"===S?N:j,"px"),paddingLeft:"".concat("linked"===S?N:G,"px"),marginTop:"".concat("linked"===q?Q:$,"px"),marginRight:"".concat("linked"===q?Q:te,"px"),marginBottom:"".concat("linked"===q?Q:ae,"px"),marginLeft:"".concat("linked"===q?Q:ie,"px")}),lt&&(dt={paddingTop:"".concat("linked"===B?A:R,"px"),paddingRight:"".concat("linked"===B?A:V,"px"),paddingBottom:"".concat("linked"===B?A:F,"px"),paddingLeft:"".concat("linked"===B?A:W,"px"),marginTop:"".concat("linked"===U?J:X,"px"),marginRight:"".concat("linked"===U?J:ne,"px"),marginBottom:"".concat("linked"===U?J:le,"px"),marginLeft:"".concat("linked"===U?J:ce,"px")}),ut&&(dt={paddingTop:"".concat("linked"===O?_:I,"px"),paddingRight:"".concat("linked"===O?_:H,"px"),paddingBottom:"".concat("linked"===O?_:D,"px"),paddingLeft:"".concat("linked"===O?_:Z,"px"),marginTop:"".concat("linked"===K?Y:ee,"px"),marginRight:"".concat("linked"===K?Y:oe,"px"),marginBottom:"".concat("linked"===K?Y:re,"px"),marginLeft:"".concat("linked"===K?Y:se,"px")}),"color"===pe&&(bt={background:ue}),"image"===pe&&(bt={backgroundImage:"url( '".concat(de,"' )"),backgroundAttachment:be,backgroundPosition:ge,backgroundRepeat:he,backgroundSize:fe}),"gradient"===pe)&&(wt="linear"===Ee?"".concat(Ce,"deg"):"at ".concat(xe),(we||ve)&&(bt={background:"".concat(Ee,"-gradient( ").concat(wt,", ").concat(we||"rgba( 0, 0, 0, 0 )"," ").concat(ye,"%, ").concat(ve||"rgba( 0, 0, 0, 0 )"," ").concat(ke,"% )")}));"linked"===Te&&(gt={borderWidth:"".concat(Se,"px"),borderStyle:"solid",borderColor:Ne}),"unlinked"===Te&&(gt={borderTopWidth:"".concat(Be,"px"),borderRightWidth:"".concat(Oe,"px"),borderBottomWidth:"".concat(Me,"px"),borderLeftWidth:"".concat(Le,"px"),borderStyle:"solid",borderColor:Ne}),"linked"===Ae&&(ht={borderRadius:"".concat(_e,"px")}),"unlinked"===Ae&&(ht={borderTopLeftRadius:"".concat(Pe,"px"),borderTopRightRadius:"".concat(Re,"px"),borderBottomRightRadius:"".concat(Ie,"px"),borderBottomLeftRadius:"".concat(ze,"px")}),!0===Ve&&(ft={boxShadow:"".concat(Xe,"px ").concat(et,"px ").concat(We,"px ").concat(Ze,"px ").concat(r()(He||"#000000",je))});var vt=Fe({},dt,{},bt,{},gt,{},ht,{},ft),kt=function(e){var t;return"top"==e&&("desktop"===n&&(t="linked"===S?N:P),"tablet"===n&&(t="linked"===B?A:R),"mobile"===n&&(t="linked"===O?_:I)),"right"==e&&("desktop"===n&&(t="linked"===S?N:z),"tablet"===n&&(t="linked"===B?A:V),"mobile"===n&&(t="linked"===O?_:H)),"bottom"==e&&("desktop"===n&&(t="linked"===S?N:j),"tablet"===n&&(t="linked"===B?A:F),"mobile"===n&&(t="linked"===O?_:D)),"left"==e&&("desktop"===n&&(t="linked"===S?N:G),"tablet"===n&&(t="linked"===B?A:W),"mobile"===n&&(t="linked"===O?_:Z)),t},Et={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},Ct={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},xt={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},Tt=function(){var e;return"desktop"===n&&(e=S),"tablet"===n&&(e=B),"mobile"===n&&(e=O),e};Tt=Tt();var St=function(e){var t;return"top"==e&&("desktop"===o&&(t="linked"===q?Q:$),"tablet"===o&&(t="linked"===U?J:X),"mobile"===o&&(t="linked"===K?Y:ee)),"right"==e&&("desktop"===o&&(t="linked"===q?Q:te),"tablet"===o&&(t="linked"===U?J:ne),"mobile"===o&&(t="linked"===K?Y:oe)),"bottom"==e&&("desktop"===o&&(t="linked"===q?Q:ae),"tablet"===o&&(t="linked"===U?J:le),"mobile"===o&&(t="linked"===K?Y:re)),"left"==e&&("desktop"===o&&(t="linked"===q?Q:ie),"tablet"===o&&(t="linked"===U?J:ce),"mobile"===o&&(t="linked"===K?Y:se)),t},Bt={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},Ot={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},Mt={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},Lt=function(){var e;return"desktop"===o&&(e=q),"tablet"===o&&(e=U),"mobile"===o&&(e=K),e};Lt=Lt();var Nt=function(){f.setAttributes({backgroundImageID:"",backgroundImageURL:""})},At=function(e){var t;return"top"==e&&(t="linked"===Te?Se:Be),"right"==e&&(t="linked"===Te?Se:Oe),"bottom"==e&&(t="linked"===Te?Se:Me),"left"==e&&(t="linked"===Te?Se:Le),t},_t={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Pt=function(e){var t;return"top"==e&&(t="linked"===Ae?_e:Pe),"right"==e&&(t="linked"===Ae?_e:Re),"bottom"==e&&(t="linked"===Ae?_e:Ie),"left"==e&&(t="linked"===Ae?_e:ze),t},Rt={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"};return wp.element.createElement(pt,null,wp.element.createElement(ct,null,wp.element.createElement(Ke,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"layout"===t}),onClick:function(){return s({tab:"layout"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"editor-table"}),Ge("Layout"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"style"===t}),onClick:function(){return s({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-customizer"}),Ge("Style"))),wp.element.createElement(qe,{className:a()("header-tab",{"is-selected":"advanced"===t}),onClick:function(){return s({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(Ue,{icon:"admin-generic"}),Ge("Advanced")))),"layout"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Padding & Margin")},wp.element.createElement(u.a,{label:"Padding",view:n,changeViewType:function(e){s({paddingViewType:e})}},wp.element.createElement(p.a,{type:Tt,min:0,max:500,changeType:function(e){"desktop"===n&&f.setAttributes({paddingType:e}),"tablet"===n&&f.setAttributes({paddingTypeTablet:e}),"mobile"===n&&f.setAttributes({paddingTypeMobile:e})},onChange:function(e,t){"desktop"===n&&("linked"===S?f.setAttributes({padding:t}):f.setAttributes(De({},Et[e],t))),"tablet"===n&&("linked"===B?f.setAttributes({paddingTablet:t}):f.setAttributes(De({},Ct[e],t))),"mobile"===n&&("linked"===O?f.setAttributes({paddingMobile:t}):f.setAttributes(De({},xt[e],t)))},options:[{label:Ge("Top"),type:"top",value:kt("top")},{label:Ge("Right"),type:"right",value:kt("right")},{label:Ge("Bottom"),type:"bottom",value:kt("bottom")},{label:Ge("Left"),type:"left",value:kt("left")}]})),wp.element.createElement(u.a,{label:"Margin",view:o,changeViewType:function(e){s({marginViewType:e})}},wp.element.createElement(p.a,{type:Lt,min:-500,max:500,changeType:function(e){"desktop"===o&&f.setAttributes({marginType:e}),"tablet"===o&&f.setAttributes({marginTypeTablet:e}),"mobile"===o&&f.setAttributes({marginTypeMobile:e})},onChange:function(e,t){"desktop"===o&&("linked"===q?f.setAttributes({margin:t}):f.setAttributes(De({},Bt[e],t))),"tablet"===o&&("linked"===U?f.setAttributes({marginTablet:t}):f.setAttributes(De({},Ot[e],t))),"mobile"===o&&("linked"===K?f.setAttributes({marginMobile:t}):f.setAttributes(De({},Mt[e],t)))},options:[{label:Ge("Top"),type:"top",value:St("top")},{label:Ge("Right"),type:"right",value:St("right")},{label:Ge("Bottom"),type:"bottom",value:St("bottom")},{label:Ge("Left"),type:"left",value:St("left")}]}))))||"style"===t&&wp.element.createElement(pt,null,wp.element.createElement(Ke,{title:Ge("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(m.default,{label:Ge("Background Type"),backgroundType:pe,changeBackgroundType:function(e){f.setAttributes({backgroundType:e})}}),"color"===pe&&wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Background Color")),wp.element.createElement(rt,{label:"Background Color",value:ue,onChange:function(e){f.setAttributes({backgroundColor:e})}}))||"image"===pe&&(de?wp.element.createElement(pt,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(de,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:Nt},wp.element.createElement(Ue,{icon:"trash"}),wp.element.createElement("span",null,Ge("Remove Image"))))),wp.element.createElement(qe,{isDefault:!0,className:"image-delete-button",onClick:Nt},Ge("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement($e,{label:Ge("Background Attachment"),value:be,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){f.setAttributes({backgroundAttachment:e})}}),wp.element.createElement($e,{label:Ge("Background Position"),value:ge,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){f.setAttributes({backgroundPosition:e})}}),wp.element.createElement($e,{label:Ge("Background Repeat"),value:he,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){f.setAttributes({backgroundRepeat:e})}}),wp.element.createElement($e,{label:Ge("Background Size"),value:fe,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){f.setAttributes({backgroundSize:e})}}))):wp.element.createElement(st,{icon:"format-image",labels:{title:Ge("Background Image"),name:Ge("an image")},value:me,onSelect:function(e){f.setAttributes({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===pe&&wp.element.createElement(M,{label:"Background Gradient",value:{firstColor:we,firstLocation:ye,secondColor:ve,secondLocation:ke,type:Ee,angle:Ce,position:xe},onChange:function(e,t,n,o,a,l,r){f.setAttributes({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:n,backgroundGradientSecondLocation:o,backgroundGradientType:a,backgroundGradientAngle:l,backgroundGradientPosition:r})}})),wp.element.createElement(Ke,{title:Ge("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(p.a,{label:Ge("Border Width"),type:Te,min:0,max:500,changeType:function(e){f.setAttributes({borderType:e})},onChange:function(e,t){"linked"===Te?f.setAttributes({border:t}):f.setAttributes(De({},_t[e],t))},options:[{label:Ge("Top"),type:"top",value:At("top")},{label:Ge("Right"),type:"right",value:At("right")},{label:Ge("Bottom"),type:"bottom",value:At("bottom")},{label:Ge("Left"),type:"left",value:At("left")}]}),wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Border Color")),wp.element.createElement(rt,{label:"Border Color",value:Ne,onChange:function(e){f.setAttributes({borderColor:e})}})),wp.element.createElement(p.a,{label:Ge("Border Radius"),type:Ae,min:0,max:500,changeType:function(e){f.setAttributes({borderRadiusType:e})},onChange:function(e,t){"linked"===Ae?f.setAttributes({borderRadius:t}):f.setAttributes(De({},Rt[e],t))},options:[{label:Ge("Top"),type:"top",value:Pt("top")},{label:Ge("Right"),type:"right",value:Pt("right")},{label:Ge("Bottom"),type:"bottom",value:Pt("bottom")},{label:Ge("Left"),type:"left",value:Pt("left")}]}),wp.element.createElement(Qe,{label:"Box Shadow",checked:Ve,onChange:function(){f.setAttributes({boxShadow:!Ve})}}),Ve&&wp.element.createElement(pt,null,wp.element.createElement(pt,null,wp.element.createElement("p",null,Ge("Shadow Color")),wp.element.createElement(rt,{label:"Shadow Color",value:He,onChange:function(e){f.setAttributes({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Je,{label:Ge("Opacity"),value:je,onChange:function(e){f.setAttributes({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Blur"),value:We,onChange:function(e){f.setAttributes({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Je,{label:Ge("Spread"),value:Ze,onChange:function(e){f.setAttributes({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Horizontal"),value:Xe,onChange:function(e){f.setAttributes({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Je,{label:Ge("Vertical"),value:et,onChange:function(e){f.setAttributes({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===t&&wp.element.createElement(Ke,{title:Ge("Section Settings")},wp.element.createElement($e,{label:Ge("HTML Tag"),value:tt,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){f.setAttributes({columnsHTMLTag:e})}}))),wp.element.createElement(Ye,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!w},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(e,t,n,o){var a=document.querySelector("#block-".concat(f.clientId," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),l=document.createElement("div"),r=document.createElement("div");l.setAttribute("class","resizable-tooltip resizable-tooltip-left"),l.innerHTML="".concat(parseFloat(nt).toFixed(0),"%"),a.appendChild(l),r.setAttribute("class","resizable-tooltip resizable-tooltip-right"),r.innerHTML="".concat(parseFloat(y.attributes.columnWidth).toFixed(0),"%"),a.appendChild(r),s({currentWidth:nt,nextWidth:y.attributes.columnWidth}),f.toggleSelection(!1)},onResize:function(e,t,n,o){var a=document.getElementById("block-".concat(v)).getBoundingClientRect().width,r=o.width/a*100,c=parseFloat(l)+r,s=i-r,p=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=c&&10<=s&&(p.innerHTML="".concat(c.toFixed(0),"%"),u.innerHTML="".concat(s.toFixed(0),"%"),f.setAttributes({columnWidth:c.toFixed(2)}),C(w,{columnWidth:s.toFixed(2)}))},onResizeStop:function(e,t,n,o){var a=document.querySelector(".resizable-tooltip-left"),l=document.querySelector(".resizable-tooltip-right");a.parentNode.removeChild(a),l.parentNode.removeChild(l),f.toggleSelection(!0)}},wp.element.createElement(yt,{className:f.className,id:T,style:vt},wp.element.createElement(it,{templateLock:!1,renderAppender:!E&&it.ButtonBlockAppender}))))})),save:function(e){var t,n,o,a,l,i=e.attributes,c=i.id,s=i.backgroundType,p=i.backgroundColor,u=i.backgroundImageURL,m=i.backgroundAttachment,d=i.backgroundPosition,b=i.backgroundRepeat,g=i.backgroundSize,h=i.backgroundGradientFirstColor,f=i.backgroundGradientFirstLocation,w=i.backgroundGradientSecondColor,y=i.backgroundGradientSecondLocation,v=i.backgroundGradientType,k=i.backgroundGradientAngle,E=i.backgroundGradientPosition,C=i.borderType,x=i.border,T=i.borderTop,S=i.borderRight,B=i.borderBottom,O=i.borderLeft,M=i.borderColor,L=i.borderRadiusType,N=i.borderRadius,A=i.borderRadiusTop,_=i.borderRadiusRight,P=i.borderRadiusBottom,R=i.borderRadiusLeft,I=i.boxShadow,z=i.boxShadowColor,V=i.boxShadowColorOpacity,H=i.boxShadowBlur,j=i.boxShadowSpread,F=i.boxShadowHorizontal,D=i.boxShadowVertical,G=i.columnsHTMLTag;("color"===s&&(t={background:p}),"image"===s&&(t={backgroundImage:"url( '".concat(u,"' )"),backgroundAttachment:m,backgroundPosition:d,backgroundRepeat:b,backgroundSize:g}),"gradient"===s)&&(l="linear"===v?"".concat(k,"deg"):"at ".concat(E),t={background:"".concat(v,"-gradient( ").concat(l,", ").concat(h||"rgba( 0, 0, 0, 0 )"," ").concat(f,"%, ").concat(w||"rgba( 0, 0, 0, 0 )"," ").concat(y,"% )")});"linked"===C&&(n={borderWidth:"".concat(x,"px"),borderStyle:"solid",borderColor:M}),"unlinked"===C&&(n={borderTopWidth:"".concat(T,"px"),borderRightWidth:"".concat(S,"px"),borderBottomWidth:"".concat(B,"px"),borderLeftWidth:"".concat(O,"px"),borderStyle:"solid",borderColor:M}),"linked"===L&&(o={borderRadius:"".concat(N,"px")}),"unlinked"===L&&(o={borderTopLeftRadius:"".concat(A,"px"),borderTopRightRadius:"".concat(_,"px"),borderBottomRightRadius:"".concat(P,"px"),borderBottomLeftRadius:"".concat(R,"px")}),!0===I&&(a={boxShadow:"".concat(F,"px ").concat(D,"px ").concat(H,"px ").concat(j,"px ").concat(r()(z||"#000000",V))});var W=Fe({},t,{},n,{},o,{},a);return wp.element.createElement(G,{className:e.className,id:c,style:W},wp.element.createElement(it.Content,null))}})},function(e,t,n){"use strict";n.r(t);n(79),n(80);var o=n(2),a=n(0),l=n.n(a),r=n(13),i=n.n(r),c=n(14);function s(e){return(s="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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,g=wp.components,h=g.BaseControl,f=g.Button,w=g.ExternalLink,y=g.IconButton,v=g.SelectControl,k=g.TextControl,E=g.TextareaControl,C=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=u(t).apply(this,arguments))||"object"!==s(o)&&"function"!=typeof o?m(n):o).initSearch=e.initSearch.bind(m(e)),e.changeLocation=e.changeLocation.bind(m(e)),e}var n,o,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,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(o=[{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.props.changeMarkerProp(t.props.marker.id,"location",n),t.props.changeMarkerProp(t.props.marker.id,"latitude",o),t.props.changeMarkerProp(t.props.marker.id,"longitude",a)}))}))}},{key:"changeLocation",value:function(e){this.props.changeMarkerProp(this.props.marker.id,"location",e.target.value)}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(f,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return e.props.openMarker(e.props.marker.id)}},this.props.marker.title||b("Custom Marker")),wp.element.createElement(y,{icon:"no-alt",label:b("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return e.props.removeMarker(e.props.marker.id)}})),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:this.props.marker.id===this.props.isOpen})},wp.element.createElement(h,{label:b("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.props.marker.id),placeholder:b("Enter a location…"),value:this.props.marker.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable}),!this.props.isPlaceAPIAvailable&&wp.element.createElement("p",null,b("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(w,{href:"https://developers.google.com/places/web-service/intro"},b("More info.")))),wp.element.createElement(k,{label:b("Latitude"),type:"text",value:this.props.marker.latitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"latitude",t)}}),wp.element.createElement(k,{label:b("Longitude"),type:"text",value:this.props.marker.longitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"longitude",t)}}),wp.element.createElement(v,{label:b("Map Icon"),value:this.props.marker.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:b("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:b("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:b("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:b("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:b("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"icon",t)}}),wp.element.createElement(k,{label:b("Title"),type:"text",value:this.props.marker.title,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"title",t)}}),wp.element.createElement(E,{label:b("Description"),type:"text",value:this.props.marker.description,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"description",t)}})))}}])&&p(n.prototype,o),a&&p(n,a),t}(wp.element.Component);function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.components.Button,N=wp.element,A=N.Component,_=N.Fragment,P=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).openMarker=e.openMarker.bind(B(e)),e.state={isOpen:null},e}var n,o,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,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"componentDidUpdate",value:function(e){this.props.initialOpen!==e.initialOpen&&!1!==this.props.initialOpen&&this.setState({isOpen:this.props.initialOpen})}},{key:"openMarker",value:function(e){this.state.isOpen===e&&(e=null),this.setState({isOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(_,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},this.props.markers.map((function(t){return wp.element.createElement(C,{marker:t,isOpen:e.state.isOpen,isPlaceAPIAvailable:e.props.isPlaceAPIAvailable,openMarker:e.openMarker,removeMarker:e.props.removeMarker,changeMarkerProp:e.props.changeMarkerProp})}))),wp.element.createElement(L,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:this.props.addMarker},M("Add Marker")))}}])&&T(n.prototype,o),a&&T(n,a),t}(A);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 I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=wp.i18n.__,G=wp.components,W=G.BaseControl,Z=G.Button,q=G.ButtonGroup,U=G.Modal,K=G.SelectControl,Q=G.TextControl,J=G.TextareaControl,Y=wp.element,$=Y.Component,X=Y.Fragment,ee=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=H(t).apply(this,arguments))||"object"!==R(o)&&"function"!=typeof o?j(n):o).initSearch=e.initSearch.bind(j(e)),e.changeLocation=e.changeLocation.bind(j(e)),e.state={advanced:!1,id:"",location:"",title:"",icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:"",longitude:""},e}var n,o,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,writable:!0,configurable:!0}}),t&&F(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.setState(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.marker))}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.setState({location:n,latitude:o,longitude:a})}))}))}},{key:"changeLocation",value:function(e){this.setState({location:e.target.value})}},{key:"render",value:function(){var e=this;return wp.element.createElement(U,{title:D("Add Marker"),onRequestClose:this.props.close,shouldCloseOnClickOutside:!1},this.state.advanced&&wp.element.createElement(X,null,wp.element.createElement(W,{label:D("Location"),id:"themeisle-location-search-".concat(this.props.marker.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(this.state.id),placeholder:D("Enter a location…"),value:this.state.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable})),wp.element.createElement(Q,{label:D("Latitude"),type:"text",value:this.state.latitude,onChange:function(t){return e.setState({latitude:t})}}),wp.element.createElement(Q,{label:D("Longitude"),type:"text",value:this.state.longitude,onChange:function(t){return e.setState({longitude:t})}})),wp.element.createElement(Q,{label:D("Title"),type:"text",value:this.state.title,onChange:function(t){return e.setState({title:t})}}),wp.element.createElement(J,{label:D("Description"),type:"text",value:this.state.description,onChange:function(t){return e.setState({description:t})}}),wp.element.createElement(K,{label:D("Map Icon"),value:this.state.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:D("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:D("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:D("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:D("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:D("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(t){return e.setState({icon:t})}}),wp.element.createElement(q,null,wp.element.createElement(Z,{isLarge:!0,isPrimary:!0,onClick:function(){return e.props.addMarker(e.state.location,e.state.title,e.state.icon,e.state.description,e.state.latitude,e.state.longitude)}},D("Add")),wp.element.createElement(Z,{isLarge:!0,isDefault:!0,onClick:this.props.close},D("Cancel"))))}}])&&V(n.prototype,o),a&&V(n,a),t}($),te={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function ne(e){return(ne="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 oe(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 ae(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var se=wp.i18n.__,pe=wp.components,ue=pe.BaseControl,me=pe.Button,de=pe.ExternalLink,be=pe.PanelBody,ge=pe.Placeholder,he=pe.RangeControl,fe=pe.ResizableBox,we=pe.SelectControl,ye=pe.Spinner,ve=pe.TextControl,ke=pe.ToggleControl,Ee=(wp.blockEditor||wp.editor).InspectorControls,Ce=wp.element,xe=Ce.Component,Te=Ce.Fragment,Se=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=re(t).apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?ie(n):o).enqueueScript=e.enqueueScript.bind(ie(e)),e.initMap=e.initMap.bind(ie(e)),e.initSearch=e.initSearch.bind(ie(e)),e.cycleMarkers=e.cycleMarkers.bind(ie(e)),e.changeAPI=e.changeAPI.bind(ie(e)),e.saveAPIKey=e.saveAPIKey.bind(ie(e)),e.changeStyle=e.changeStyle.bind(ie(e)),e.changeLocation=e.changeLocation.bind(ie(e)),e.markerButton=e.markerButton.bind(ie(e)),e.selectMarker=e.selectMarker.bind(ie(e)),e.addMarkerManual=e.addMarkerManual.bind(ie(e)),e.addMarker=e.addMarker.bind(ie(e)),e.addInfoWindow=e.addInfoWindow.bind(ie(e)),e.removeMarker=e.removeMarker.bind(ie(e)),e.removeMarkers=e.removeMarkers.bind(ie(e)),e.changeLatitude=e.changeLatitude.bind(ie(e)),e.changeLongitude=e.changeLongitude.bind(ie(e)),e.changeMapType=e.changeMapType.bind(ie(e)),e.changeZoom=e.changeZoom.bind(ie(e)),e.changeHeight=e.changeHeight.bind(ie(e)),e.toggleDraggable=e.toggleDraggable.bind(ie(e)),e.toggleMapTypeControl=e.toggleMapTypeControl.bind(ie(e)),e.toggleZoomControl=e.toggleZoomControl.bind(ie(e)),e.toggleFullScreenControl=e.toggleFullScreenControl.bind(ie(e)),e.toggleStreetViewControl=e.toggleStreetViewControl.bind(ie(e)),e.changeMarkerProp=e.changeMarkerProp.bind(ie(e)),window.isMapLoaded=window.isMapLoaded||!1,window.selectMarker=e.selectMarker,window.removeMarker=e.removeMarker,e.state={api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1,isPlaceAPIAvailable:!0,isMarkerOpen:!1,isSelectingMarker:!1,isModalOpen:!1,selectedMarker:{}},e.settings,e.link=document.createElement("script"),e.link.type="text/javascript",e.link.async=!0,e.link.defer=!0,e.link.id="themeisle-google-map-api-loading",e.map,e.searchBox,e.name,e.markers=[],e.lastInfoWindow,e}var n,o,a,r,s;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,writable:!0,configurable:!0}}),t&&ce(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(r=regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0!==this.props.attributes.id&&this.props.attributes.id.substr(this.props.attributes.id.length-8)===this.props.clientId.substr(0,8)||(t="wp-block-themeisle-blocks-google-map-".concat(this.props.clientId.substr(0,8)),this.props.setAttributes({id:t})),e.next=3,wp.api.loadPromise.then((function(){n.settings=new wp.api.models.Settings}));case 3:!1===Boolean(themeisleGutenberg.mapsAPI)?this.state.isAPILoaded||this.settings.fetch().then((function(e){n.setState({api:e.themeisle_google_map_block_api_key,isAPILoaded:!0}),""!==e.themeisle_google_map_block_api_key&&(n.setState({isAPISaved:!0}),n.enqueueScript(e.themeisle_google_map_block_api_key))})):this.state.isAPILoaded||(this.setState({api:themeisleGutenberg.mapsAPI,isAPILoaded:!0,isAPISaved:!0}),this.enqueueScript(themeisleGutenberg.mapsAPI));case 4:case"end":return e.stop()}}),e,this)})),s=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=r.apply(e,t);function l(e){ae(a,n,o,l,i,"next",e)}function i(e){ae(a,n,o,l,i,"throw",e)}l(void 0)}))},function(){return s.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){if(this.props.isSelected!==e.isSelected&&!1!==this.state.isAPISaved){var t=this.props.isSelected;this.map.setOptions({mapTypeControl:!!t||this.props.attributes.mapTypeControl,zoomControl:!!t||this.props.attributes.zoomControl,fullscreenControl:!!t||this.props.attributes.fullscreenControl,streetViewControl:!!t||this.props.attributes.streetViewControl})}}},{key:"enqueueScript",value:function(e){var t=this;window.isMapLoaded||(window.isMapLoaded=!0,this.link.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",t.initMap()},this.link.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(this.link)),document.getElementById("themeisle-google-map-api")&&this.initMap()}},{key:"initMap",value:function(){var e=this;if(this.map=new google.maps.Map(document.getElementById(this.props.attributes.id),{center:{lat:Number(this.props.attributes.latitude)||41.4036299,lng:Number(this.props.attributes.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:this.props.attributes.zoom,mapTypeId:this.props.attributes.type,styles:te[this.props.attributes.style]}),this.props.attributes.location&&void 0===this.props.attributes.latitude&&void 0===this.props.attributes.longitude){var t={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(t,(function(t,n){n===google.maps.places.PlacesServiceStatus.OK&&0<t.length&&e.map.setCenter(t[0].geometry.location)}))}this.map.addListener("zoom_changed",(function(){var t=e.map.getZoom();e.props.setAttributes({zoom:t})})),this.map.addListener("maptypeid_changed",(function(){var t=e.map.getMapTypeId();e.props.setAttributes({type:t})})),this.map.addListener("bounds_changed",(function(){var t=e.map.getCenter(),n=t.lat(),o=t.lng();e.props.setAttributes({latitude:n.toString(),longitude:o.toString()})})),0<this.props.attributes.markers.length&&this.cycleMarkers(this.props.attributes.markers);var n={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(n,(function(t,n){"REQUEST_DENIED"===n&&e.setState({isPlaceAPIAvailable:!1})}));var o=document.createElement("div");new this.markerButton(o),o.index=1,this.map.controls[google.maps.ControlPosition.LEFT_BOTTOM].push(o)}},{key:"initSearch",value:function(e){var t=this,n=document.getElementsByClassName("pac-container");Object.keys(n).forEach((function(e){return n[e].remove()})),this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",(function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach((function(e){t.name=e.name||se("Custom Marker");var n=e.geometry.location.lat(),o=e.geometry.location.lng(),a=new google.maps.LatLng(n,o);t.map.setCenter(a),t.props.setAttributes({location:e.formatted_address||e.name,latitude:n.toString(),longitude:o.toString()})}))}))}},{key:"markerButton",value:function(e){var t=document.createElement("button");t.className="gm-control-marker-ui",t.title=se("Add Marker"),e.appendChild(t);var n=document.createElement("span");n.className="dashicons dashicons-sticky",t.appendChild(n),t.addEventListener("click",(function(){window.selectMarker()}))}},{key:"selectMarker",value:function(){var e=this;this.state.isSelectingMarker?google.maps.event.clearListeners(this.map,"click"):this.map.addListener("click",(function(t){google.maps.event.clearListeners(e.map,"click");var n=i()(),o=se("Custom Marker"),a=t.latLng.lat(),l=t.latLng.lng();e.setState({isSelectingMarker:!e.state.isSelectingMarker,isModalOpen:!0,selectedMarker:{advanced:!1,id:n,location:"",title:o,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l}})})),this.setState({isSelectingMarker:!this.state.isSelectingMarker})}},{key:"addMarkerManual",value:function(){var e=i()(),t=se("Custom Marker"),n=this.map.getCenter(),o=n.lat(),a=n.lng();this.setState({isModalOpen:!0,selectedMarker:{advanced:!0,id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:o,longitude:a}})}},{key:"addMarker",value:function(e,t,n,o,a,l){var r=this,c=new google.maps.LatLng(a,l),s=i()(),p=new google.maps.Marker({position:c,map:this.map,title:t,draggable:!0,icon:n});google.maps.event.addListener(p,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();r.changeMarkerProp(s,"latitude",t),r.changeMarkerProp(s,"longitude",n)})),this.markers.push(p);var u=oe(this.props.attributes.markers),m={id:s,location:e,title:t,icon:n,description:o,latitude:a,longitude:l};u.push(m),this.props.setAttributes({markers:u}),google.maps.event.addListener(p,"click",(function(e){r.lastInfoWindow&&r.lastInfoWindow.close()})),this.addInfoWindow(p,m.id,t,o),this.setState({isModalOpen:!1})}},{key:"addInfoWindow",value:function(e,t,n,o){var a=this,l='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(o?"<p>".concat(o,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker( \'').concat(t,"' )\">").concat(se("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:l});e.addListener("click",(function(){a.lastInfoWindow=r,r.open(a.map,e)})),google.maps.event.addListener(r,"domready",(function(){a.setState({isMarkerOpen:t})})),google.maps.event.addListener(r,"closeclick",(function(){a.setState({isMarkerOpen:!1})}))}},{key:"removeMarker",value:function(e){var t=oe(this.props.attributes.markers);t=t.filter((function(t){return t.id!==e})),this.props.setAttributes({markers:t}),this.removeMarkers(),this.setState({isMarkerOpen:!1}),0<t.length&&this.cycleMarkers(t)}},{key:"removeMarkers",value:function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null);this.markers=[]}},{key:"cycleMarkers",value:function(e){var t=this;e.forEach((function(e){var n=e.latitude,o=e.longitude,a=new google.maps.LatLng(n,o),l=new google.maps.Marker({position:a,map:t.map,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(n){var o=n.latLng.lat(),a=n.latLng.lng();t.changeMarkerProp(e.id,"latitude",o),t.changeMarkerProp(e.id,"longitude",a)})),t.markers.push(l),google.maps.event.addListener(l,"click",(function(e){t.lastInfoWindow&&t.lastInfoWindow.close()})),t.addInfoWindow(l,e.id,e.title,e.description)}))}},{key:"changeAPI",value:function(e){this.setState({api:e})}},{key:"saveAPIKey",value:function(){var e=this;if(!1===Boolean(themeisleGutenberg.mapsAPI)){this.setState({isSaving:!0});var t=new wp.api.models.Settings({themeisle_google_map_block_api_key:this.state.api}).save();t.success((function(t,n){if("success"===n){var o=!1;e.settings.fetch(),""!==t.themeisle_google_map_block_api_key&&(o=!0),e.setState({isSaving:!1,isAPISaved:o}),""!==t.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,e.enqueueScript(t.themeisle_google_map_block_api_key))}"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}}},{key:"changeStyle",value:function(e){this.props.setAttributes({style:e}),this.map.setOptions({styles:te[e]})}},{key:"changeLocation",value:function(e){this.props.setAttributes({location:e.target.value})}},{key:"changeLatitude",value:function(e){this.props.setAttributes({latitude:e.toString()});var t=Number(e),n=this.props.attributes.longitude,o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeLongitude",value:function(e){this.props.setAttributes({longitude:e.toString()});var t=this.props.attributes.latitude,n=Number(e),o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeMapType",value:function(e){this.props.setAttributes({type:e}),this.map.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}},{key:"changeZoom",value:function(e){this.props.setAttributes({zoom:e}),this.map.setZoom(e)}},{key:"changeHeight",value:function(e){this.props.setAttributes({height:e})}},{key:"toggleDraggable",value:function(){this.props.setAttributes({draggable:!this.props.attributes.draggable})}},{key:"toggleMapTypeControl",value:function(){this.props.setAttributes({mapTypeControl:!this.props.attributes.mapTypeControl})}},{key:"toggleZoomControl",value:function(){this.props.setAttributes({zoomControl:!this.props.attributes.zoomControl})}},{key:"toggleFullScreenControl",value:function(){this.props.setAttributes({fullscreenControl:!this.props.attributes.fullscreenControl})}},{key:"toggleStreetViewControl",value:function(){this.props.setAttributes({streetViewControl:!this.props.attributes.streetViewControl})}},{key:"changeMarkerProp",value:function(e,t,n){var o=oe(this.props.attributes.markers);o.map((function(o){if(o.id===e)return o[t]=n})),this.removeMarkers(),this.cycleMarkers(o),this.props.setAttributes({markers:o})}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?this.state.isAPISaved?wp.element.createElement(Te,null,wp.element.createElement(c.a,{label:se("Block Styles"),value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle}),wp.element.createElement(Ee,null,wp.element.createElement(be,{title:se("Styles"),initialOpen:!1},wp.element.createElement(c.b,{value:this.props.attributes.style,options:[{label:se("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:se("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:se("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:se("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:se("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:se("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:this.changeStyle})),wp.element.createElement(be,{title:se("Location")},wp.element.createElement(ue,{label:se("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:se("Enter a location…"),value:this.props.attributes.location,className:"wp-block-themeisle-blocks-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.state.isPlaceAPIAvailable}),!this.state.isPlaceAPIAvailable&&wp.element.createElement("p",null,se("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(de,{href:"https://developers.google.com/places/web-service/intro"},se("More info.")))),wp.element.createElement(ve,{label:se("Latitude"),type:"text",placeholder:se("Enter latitude…"),value:this.props.attributes.latitude,onChange:this.changeLatitude}),wp.element.createElement(ve,{label:se("Longitude"),type:"text",placeholder:se("Enter longitude"),value:this.props.attributes.longitude,onChange:this.changeLongitude})),wp.element.createElement(be,{title:se("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(we,{label:se("Map Type"),value:this.props.attributes.type,options:[{label:se("Road Map"),value:"roadmap"},{label:se("Satellite View"),value:"satellite"},{label:se("Hybrid"),value:"hybrid"},{label:se("Terrain"),value:"terrain"}],onChange:this.changeMapType}),wp.element.createElement(he,{label:se("Map Zoom Level"),value:this.props.attributes.zoom,onChange:this.changeZoom,min:0,max:20}),wp.element.createElement(he,{label:se("Map Height"),value:this.props.attributes.height,onChange:this.changeHeight,min:100,max:1400})),wp.element.createElement(be,{title:se("Controls"),initialOpen:!1},wp.element.createElement(ue,null,se("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(ke,{label:"Draggable Map",checked:this.props.attributes.draggable,onChange:this.toggleDraggable}),wp.element.createElement(ke,{label:"Map Type Control",checked:this.props.attributes.mapTypeControl,onChange:this.toggleMapTypeControl}),wp.element.createElement(ke,{label:"Zoom Control",checked:this.props.attributes.zoomControl,onChange:this.toggleZoomControl}),wp.element.createElement(ke,{label:"Full Screen Control",checked:this.props.attributes.fullscreenControl,onChange:this.toggleFullScreenControl}),wp.element.createElement(ke,{label:"Streen View Control",checked:this.props.attributes.streetViewControl,onChange:this.toggleStreetViewControl})),wp.element.createElement(be,{title:se("Markers"),initialOpen:!1,opened:!1!==this.state.isMarkerOpen||void 0,onToggle:function(){!1!==e.state.isMarkerOpen&&e.setState({isMarkerOpen:!1})}},wp.element.createElement(P,{markers:this.props.attributes.markers,removeMarker:this.removeMarker,changeMarkerProp:this.changeMarkerProp,addMarker:this.addMarkerManual,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,initialOpen:this.state.isMarkerOpen})),wp.element.createElement(be,{title:se("Global Settings"),initialOpen:!1},wp.element.createElement(ve,{label:se("Google Maps API Key"),type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI,help:se("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving},se("Save API Key")))),this.state.isModalOpen&&wp.element.createElement(ee,{marker:this.state.selectedMarker,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable,close:function(){return e.setState({isModalOpen:!1})},addMarker:this.addMarker}),wp.element.createElement(fe,{size:{height:this.props.attributes.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){e.props.toggleSelection(!1)},onResizeStop:function(t,n,o,a){e.props.setAttributes({height:parseInt(e.props.attributes.height+a.height,10)}),e.props.toggleSelection(!0)},className:l()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":this.props.isSelected})},wp.element.createElement("div",{id:this.props.attributes.id,className:l()(this.props.className,{"is-selecting-marker":this.state.isSelectingMarker}),style:{height:this.props.attributes.height+"px"}}))):wp.element.createElement("div",{className:this.props.className},wp.element.createElement(ge,{icon:"admin-site",label:se("Google Maps"),instructions:se("A Google Maps API key is required, please enter one below.")},wp.element.createElement(ve,{type:"text",placeholder:se("Google Maps API Key"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI}),wp.element.createElement(me,{isLarge:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving,disabled:""===this.state.api},se("Save API Key")),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},se("Need an API key? Get one "),wp.element.createElement(de,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},se("here."))),wp.element.createElement("p",{className:"components-placeholder__text"},se("You need to activate Maps and Places API."))))):wp.element.createElement(ge,null,wp.element.createElement(ye,null),se("Loading…"))}}])&&le(n.prototype,o),a&&le(n,a),t}(xe),Be=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Be("Google Map"),description:Be("Display a Google Map on your website with Google Map block."),icon:o.i,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:{style:{type:"string",default:"standard"},id:{type:"string"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},supports:{align:["wide","full"],html:!1},edit:Se,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(87),n(88);var o=n(2),a=n(38),l=n.n(a),r=n(0),i=n.n(r),c=n(19),s=lodash,p=s.startCase,u=s.toLower,m=wp.i18n.__,d=wp.components,b=d.IconButton,g=d.TextControl,h=d.SelectControl,f=d.ToggleControl,w=wp.compose.withState,y=wp.element.Fragment,v=Object(c.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),k=Object(c.b)((function(e){var t=e.value,n=e.disabled,o=e.getFields,a=e.toggleFields,l=e.excerptLimit;return wp.element.createElement(E,{value:t,disabled:n,getFields:o,toggleFields:a,excerptLimit:l})})),E=w({isOpen:!1})((function(e){var t,n=e.value,o=e.disabled,a=e.getFields,l=e.toggleFields,r=e.isOpen,c=e.setState,s=e.imageSize,d=e.excerptLimit,w=p(u(n)),k="hidden",E=m("Display ".concat(w));switch(a(n)&&(k="visibility",E=m("Hide ".concat(w))),n){case"image":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:o,hidden:!a(n),editable:t})},!o&&wp.element.createElement(v,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},w),t&&wp.element.createElement(b,{icon:r?"arrow-up-alt2":"arrow-down-alt2",label:m(r?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return c({isOpen:!r})}}),wp.element.createElement(b,{icon:k,label:E,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){l(n),c({isOpen:!1})}})),t&&wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:r&&a(n)})},"image"===n&&wp.element.createElement(h,{label:m("Image Size"),value:s.value,options:[{label:m("Thumbnail"),value:"thumbnail"},{label:m("Medium"),value:"medium"},{label:m("Medium Large"),value:"medium_large"},{label:m("Large"),value:"large"},{label:m("Full"),value:"full"}],onChange:s.onChange}),"description"===n&&wp.element.createElement(g,{label:m("Excerpt Limit"),type:"number",value:d.value,onChange:d.onChange}),"meta"===n&&wp.element.createElement(y,null,wp.element.createElement(f,{label:"Display Date?",checked:a("date"),onChange:function(){return l("date")}}),wp.element.createElement(f,{label:"Display Author?",checked:a("author"),onChange:function(){return l("author")}}))))})),C=Object(c.a)((function(e){var t=e.template,n=e.getFields,o=e.toggleFields,a=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(k,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:o,excerptLimit:a})})))}));function x(e){return(x="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var M=wp.i18n.__,L=wp.element,N=L.Component,A=L.Fragment,_=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=S(t).apply(this,arguments))||"object"!==x(o)&&"function"!=typeof o?B(n):o).onSortEnd=e.onSortEnd.bind(B(e)),e.state={isOpen:!1},e}var n,o,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,writable:!0,configurable:!0}}),t&&O(e,t)}(t,e),n=t,(o=[{key:"onSortEnd",value:function(e){var t=e.oldIndex,n=e.newIndex,o=l()(this.props.attributes.template,t,n);this.props.setAttributes({template:o})}},{key:"render",value:function(){return wp.element.createElement(A,null,wp.element.createElement("div",{className:i()("wp-block-themeisle-blocks-posts-grid-builder",this.props.attributes.style)},wp.element.createElement(E,{value:M("image"),disabled:!0,getFields:this.props.getFields,toggleFields:this.props.toggleFields,imageSize:this.props.imageSize}),wp.element.createElement(C,{template:this.props.attributes.template,onSortEnd:this.onSortEnd,getFields:this.props.getFields,toggleFields:this.props.toggleFields,excerptLimit:this.props.excerptLimit,useDragHandle:!0})))}}])&&T(n.prototype,o),a&&T(n,a),t}(N),P=n(14),R=n(22);function I(e){return(I="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 z(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var F=lodash,D=F.isUndefined,G=F.pickBy,W=wp.i18n.__,Z=wp.components,q=Z.Disabled,U=Z.PanelBody,K=Z.QueryControls,Q=Z.RangeControl,J=Z.Placeholder,Y=Z.Spinner,$=wp.data.withSelect,X=(wp.blockEditor||wp.editor).InspectorControls,ee=wp.element,te=ee.Component,ne=ee.Fragment,oe=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=V(t).apply(this,arguments))||"object"!==I(o)&&"function"!=typeof o?H(n):o).changeStyle=e.changeStyle.bind(H(e)),e.changeColumns=e.changeColumns.bind(H(e)),e.changeImageSize=e.changeImageSize.bind(H(e)),e.getFields=e.getFields.bind(H(e)),e.toggleFields=e.toggleFields.bind(H(e)),e.changeExcerptLength=e.changeExcerptLength.bind(H(e)),e}var n,o,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,writable:!0,configurable:!0}}),t&&j(e,t)}(t,e),n=t,(o=[{key:"changeStyle",value:function(e){this.props.setAttributes({style:e})}},{key:"changeColumns",value:function(e){this.props.setAttributes({columns:e})}},{key:"changeImageSize",value:function(e){this.props.setAttributes({imageSize:e})}},{key:"getFields",value:function(e){return"image"===e?this.props.attributes.displayFeaturedImage:"category"===e?this.props.attributes.displayCategory:"title"===e?this.props.attributes.displayTitle:"meta"===e?this.props.attributes.displayMeta:"description"===e?this.props.attributes.displayDescription:"date"===e?this.props.attributes.displayDate:"author"===e?this.props.attributes.displayAuthor:void 0}},{key:"toggleFields",value:function(e){"image"===e&&this.props.setAttributes({displayFeaturedImage:!this.props.attributes.displayFeaturedImage}),"category"===e&&this.props.setAttributes({displayCategory:!this.props.attributes.displayCategory}),"title"===e&&this.props.setAttributes({displayTitle:!this.props.attributes.displayTitle}),"meta"===e&&this.props.setAttributes({displayMeta:!this.props.attributes.displayMeta}),"description"===e&&this.props.setAttributes({displayDescription:!this.props.attributes.displayDescription}),"date"===e&&this.props.setAttributes({displayDate:!this.props.attributes.displayDate}),"author"===e&&this.props.setAttributes({displayAuthor:!this.props.attributes.displayAuthor})}},{key:"changeExcerptLength",value:function(e){this.props.setAttributes({excerptLength:e})}},{key:"render",value:function(){var e=this;return this.props.posts&&this.props.categoriesList&&this.props.authors?wp.element.createElement(ne,null,wp.element.createElement(P.a,{label:W("Block Styles"),value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle}),wp.element.createElement(X,null,wp.element.createElement(U,{title:W("Styles"),initialOpen:!1},wp.element.createElement(P.b,{value:this.props.attributes.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:this.changeStyle})),wp.element.createElement(U,{title:W("Settings")},"grid"===this.props.attributes.style&&wp.element.createElement(Q,{label:W("Columns"),value:this.props.attributes.columns,onChange:this.changeColumns,min:1,max:5}),wp.element.createElement(K,{numberOfItems:this.props.attributes.postsToShow,categoriesList:this.props.categoriesList,selectedCategoryId:this.props.attributes.categories,onOrderChange:function(t){return e.props.setAttributes({order:t})},onOrderByChange:function(t){return e.props.setAttributes({orderBy:t})},onCategoryChange:function(t){return e.props.setAttributes({categories:""!==t?t:void 0})},onNumberOfItemsChange:function(t){return e.props.setAttributes({postsToShow:t})}})),wp.element.createElement(U,{title:W("Design & Layout"),initialOpen:!1},wp.element.createElement(_,{attributes:this.props.attributes,getFields:this.getFields,toggleFields:this.toggleFields,setAttributes:this.props.setAttributes,imageSize:{value:this.props.attributes.imageSize,onChange:this.changeImageSize},excerptLimit:{value:this.props.attributes.excerptLength,onChange:this.changeExcerptLength}}))),0===this.props.posts.length&&wp.element.createElement(J,null,W("No Posts")),0<this.props.posts.length&&wp.element.createElement(q,null,wp.element.createElement(R.default,{className:this.props.className,attributes:this.props.attributes,posts:this.props.posts,categoriesList:this.props.categoriesList,authors:this.props.authors}))):wp.element.createElement(J,null,wp.element.createElement(Y,null),W("Loading Posts"))}}])&&z(n.prototype,o),a&&z(n,a),t}(te),ae=$((function(e,t){var n=t.attributes,o=n.categories,a=n.order,l=n.orderBy,r=n.postsToShow,i=G({categories:o,order:a,orderby:l,per_page:r},(function(e){return!D(e)}));return{posts:e("core").getEntityRecords("postType","post",i),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))(oe),le=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:le("Posts"),description:le("Display a list of your most recent posts in a beautiful layout."),icon:o.n,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:{style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},imageSize:{type:"string",default:"full"},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},supports:{align:["wide","full"],html:!1},edit:ae,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o);n(106),n(107);function l(e){return(l="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){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==l(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}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=(wp.blockEditor||wp.editor).RichText,m=wp.components.IconButton,d=wp.element,b=d.Component,g=d.Fragment,h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c(t).apply(this,arguments))}var n,o,l;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,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:a()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":this.props.isSelected}),tabIndex:"0",onClick:this.props.onSelect,onFocus:this.props.onSelect},wp.element.createElement("figure",null,wp.element.createElement("img",{key:this.props.image.id,className:"wp-block-themeisle-blocks-slider-item",src:this.props.image.url,alt:this.props.image.alt,title:this.props.image.alt,"data-id":this.props.image.id}),this.props.isSelected&&wp.element.createElement(g,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(m,{icon:"arrow-left-alt2",onClick:this.props.isFirstItem?void 0:function(){return e.props.onMoveBackward(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:p("Move image backward"),"aria-disabled":this.props.isFirstItem,disabled:!this.props.isSelected}),wp.element.createElement(m,{icon:"arrow-right-alt2",onClick:this.props.isLastItem?void 0:function(){return e.props.onMoveForward(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:p("Move image forward"),"aria-disabled":this.props.isLastItem,disabled:!this.props.isSelected})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(m,{icon:"no-alt",onClick:function(){return e.props.onRemoveImage(e.props.index)},className:"wp-block-themeisle-blocks-slider-item-delete",label:p("Remove image")}))),(this.props.isSelected||!u.isEmpty(this.props.image.caption))&&wp.element.createElement(u,{tagName:"figcaption",placeholder:this.props.isSelected?p("Write caption…"):null,value:this.props.image.caption,onChange:function(t){return e.props.changeCaption(t,e.props.index)},multiline:!1})))}}])&&r(n.prototype,o),l&&r(n,l),t}(b);function f(e){return(f="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 w(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 y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=wp.i18n.__,x=lodash,T=x.debounce,S=x.filter,B=x.max,O=wp.blockEditor||wp.editor,M=O.InspectorControls,L=O.MediaPlaceholder,N=wp.components,A=N.PanelBody,_=N.Path,P=N.RangeControl,R=N.ResizableBox,I=N.SVG,z=N.ToggleControl,V=wp.element,H=V.Component,j=V.Fragment,F=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=v(t).apply(this,arguments))||"object"!==f(o)&&"function"!=typeof o?k(n):o).initSlider=e.initSlider.bind(k(e)),e.onSelectImagesDebounced=T(e.onSelectImages,250),e.changeCaption=e.changeCaption.bind(k(e)),e.onMove=e.onMove.bind(k(e)),e.onMoveForward=e.onMoveForward.bind(k(e)),e.onMoveBackward=e.onMoveBackward.bind(k(e)),e.onRemoveImage=e.onRemoveImage.bind(k(e)),e.changePerView=e.changePerView.bind(k(e)),e.changeGap=e.changeGap.bind(k(e)),e.changePeek=e.changePeek.bind(k(e)),e.changeHeight=e.changeHeight.bind(k(e)),e.changeAutoplay=e.changeAutoplay.bind(k(e)),e.slider,e.state={selectedImage:null},e}var n,o,l;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,writable:!0,configurable:!0}}),t&&E(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){if(void 0===this.props.attributes.id||this.props.attributes.id.substr(this.props.attributes.id.length-8)!==this.props.clientId.substr(0,8)){var e="wp-block-themeisle-blocks-slider-".concat(this.props.clientId.substr(0,8));this.props.setAttributes({id:e})}this.props.attributes.images.length&&this.initSlider()}},{key:"componentWillUnmount",value:function(){this.props.attributes.images.length&&this.slider.destroy()}},{key:"componentDidUpdate",value:function(e){this.props.attributes.images.length&&((!this.props.isSelected&&e.isSelected||this.props.attributes.align!==e.attributes.align)&&(this.setState({selectedImage:null}),void 0!==this.slider&&(this.slider.destroy(),this.initSlider())),this.props.attributes.perView>this.props.attributes.images.length&&this.changePerView(B([Math.round(this.props.attributes.images.length/2),1])))}},{key:"initSlider",value:function(){this.slider=new Glide("#".concat(this.props.attributes.id),{type:"carousel",keyboard:!1,perView:this.props.attributes.perView,gap:this.props.attributes.gap,peek:this.props.attributes.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),void 0!==this.slider&&this.slider.destroy(),this.initSlider()}},{key:"changeCaption",value:function(e,t){var n=w(this.props.attributes.images);n[t].caption=e,this.props.setAttributes({images:n})}},{key:"onMove",value:function(e,t){var n=w(this.props.attributes.images);n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}},{key:"onMoveForward",value:function(e){e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}},{key:"onMoveBackward",value:function(e){0!==e&&this.onMove(e,e-1)}},{key:"onRemoveImage",value:function(e){var t=S(this.props.attributes.images,(function(t,n){return e!==n}));this.setState({selectedImage:null}),this.props.setAttributes({images:t})}},{key:"changePerView",value:function(e){this.props.setAttributes({perView:Number(e)}),this.slider.update({perView:Number(e)}),1===e&&(this.props.setAttributes({gap:0,peek:0}),this.slider.update({gap:0,peek:0}))}},{key:"changeGap",value:function(e){this.props.setAttributes({gap:Number(e)}),this.slider.update({gap:Number(e)})}},{key:"changePeek",value:function(e){this.props.setAttributes({peek:Number(e)}),this.slider.update({peek:Number(e)})}},{key:"changeHeight",value:function(e){this.props.setAttributes({height:Number(e)})}},{key:"changeAutoplay",value:function(e){this.props.setAttributes({autoplay:e}),this.slider.update({autoplay:!!e&&2e3})}},{key:"render",value:function(){var e=this;return Array.isArray(this.props.attributes.images)&&!this.props.attributes.images.length?wp.element.createElement(L,{labels:{title:C("Slider"),instructions:C("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",accept:"image/*",allowedTypes:["image"],onSelect:function(t){return e.onSelectImagesDebounced(t)},multiple:!0}):wp.element.createElement(j,null,wp.element.createElement(M,null,wp.element.createElement(A,{title:C("Settings")},this.props.attributes.images.length&&wp.element.createElement(j,null,wp.element.createElement(P,{label:C("Slides Per Page"),help:C("A number of visible slides."),value:this.props.attributes.perView,onChange:this.changePerView,min:1,max:B([Math.round(this.props.attributes.images.length/2),1])}),1<this.props.attributes.perView&&wp.element.createElement(j,null,wp.element.createElement(P,{label:C("Gap"),help:C("A size of the space between slides."),value:this.props.attributes.gap,onChange:this.changeGap,min:0,max:100}),wp.element.createElement(P,{label:C("Peek"),help:C("The value of the future slides which have to be visible in the current slide."),value:this.props.attributes.peek,onChange:this.changePeek,min:0,max:100})),wp.element.createElement(P,{label:C("Height"),help:C("Slider height in pixels."),value:this.props.attributes.height,onChange:this.changeHeight,min:100,max:1400}),wp.element.createElement(z,{label:C("Autoplay"),help:C("Autoplay slider in the front."),checked:this.props.attributes.autoplay,onChange:this.changeAutoplay})))),wp.element.createElement(R,{size:{height:this.props.attributes.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){e.props.toggleSelection(!1)},onResizeStop:function(t,n,o,a){e.props.setAttributes({height:parseInt(e.props.attributes.height+a.height,10)}),e.props.toggleSelection(!0)},className:a()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":this.props.isSelected})},wp.element.createElement("div",{id:this.props.attributes.id,className:a()("wp-block-themeisle-blocks-slider","glide",this.props.className)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(this.props.attributes.height,"px")}},this.props.attributes.images.map((function(t,n){return wp.element.createElement(h,{image:t,index:n,isFirstItem:0===n,isLastItem:n+1===e.props.attributes.images.length,isSelected:e.props.isSelected&&t.id===e.state.selectedImage,onSelect:function(){return e.setState({selectedImage:t.id})},onMoveBackward:e.onMoveBackward,onMoveForward:e.onMoveForward,onRemoveImage:e.onRemoveImage,changeCaption:e.changeCaption})}))),wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(I,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(_,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(I,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(_,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},this.props.attributes.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})})))))),this.props.isSelected&&wp.element.createElement(L,{labels:{title:"",instructions:""},isAppender:!0,accept:"image/*",allowedTypes:["image"],className:"wp-block-themeisle-blocks-slider-uploader",value:this.props.attributes.images,onSelect:function(t){return e.onSelectImagesDebounced(t)},multiple:!0}))}}])&&y(n.prototype,o),l&&y(n,l),t}(H),D=wp.i18n.__,G=wp.blocks.registerBlockType,W=wp.components,Z=W.Path,q=W.SVG,U=(wp.blockEditor||wp.editor).RichText;G("themeisle-blocks/slider",{title:D("Slider"),description:D("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:{id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},supports:{align:["wide","full"]},edit:F,save:function(e){var t=e.attributes,n=t.id,o=t.images,l=t.perView,r=t.gap,i=t.peek,c=t.autoplay,s=t.height;return wp.element.createElement("div",{id:n,className:a()("wp-block-themeisle-blocks-slider","glide",e.className),"data-per-view":l,"data-gap":r,"data-peek":i,"data-autoplay":c},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(s,"px")}},o.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!U.isEmpty(e.caption)&&wp.element.createElement(U.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(q,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(Z,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(q,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(Z,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},o.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})})))))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=(n(104),n(105),n(2)),r=wp.i18n.__,i={facebook:{label:r("Facebook"),icon:"facebook-f"},twitter:{label:r("Twitter"),icon:"twitter"},linkedin:{label:r("Linkedin"),icon:"linkedin-in"},pinterest:{label:r("Pinterest"),icon:"pinterest-p"},tumblr:{label:r("Tumblr"),icon:"tumblr"},reddit:{label:r("Reddit"),icon:"reddit-alien"}},c=wp.components,s=c.Path,p=c.SVG,u=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(s,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(s,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(s,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(s,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(p,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(s,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var m=wp.i18n.__,d=wp.blocks.registerBlockType,b=(wp.blockEditor||wp.editor).BlockControls,g=wp.components,h=g.Toolbar,f=g.Button,w=g.Tooltip;d("themeisle-blocks/sharing-icons",{title:m("Sharing Icons"),description:m("Share buttons for your website visitors to share content on any social sharing service."),icon:l.q,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:{facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:m("Regular"),isDefault:!0},{name:"icons",label:m("Icons Only")}],edit:function(e){var t=function(t){var n,o,a;e.setAttributes((n={},o=t,a=!e.attributes[t],o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n))};return[wp.element.createElement(b,{key:"toolbar-controls"},wp.element.createElement(h,{className:"components-toolbar"},Object.keys(i).map((function(n,o){var l=e.attributes[n];return wp.element.createElement(w,{text:m("Display ".concat(i[n].label))},wp.element.createElement(f,{className:a()("components-icon-button","components-toolbar__control",{"is-active":l}),onClick:function(e){return t(n)}},wp.element.createElement(u,{icon:n})))})))),wp.element.createElement("div",{className:a()(e.className,{"has-label":!e.attributes.className||!e.attributes.className.includes("is-style-icons")})},Object.keys(i).map((function(t,n){if(!0===e.attributes[t])return wp.element.createElement("a",{className:"social-icon is-".concat(t)},wp.element.createElement("i",{className:"fab fa-".concat(i[t].icon)}),(!e.attributes.className||!e.attributes.className.includes("is-style-icons"))&&i[t].label)})))]},save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(77),n(78);var o=n(2),a=n(17);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}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}var i=[{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}}];function c(e){return(c="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)}var s=wp.i18n.__,p=wp.blocks.registerBlockType,u=wp.components,m=u.BaseControl,d=u.Button,b=u.ButtonGroup,g=u.PanelBody,h=u.Placeholder,f=u.RangeControl,w=u.Spinner,y=u.ToggleControl,v=wp.compose,k=v.compose,E=v.withState,C=wp.data.withSelect,x=wp.blockEditor||wp.editor,T=x.AlignmentToolbar,S=x.BlockControls,B=x.ColorPalette,O=x.ContrastChecker,M=x.InspectorControls,L=wp.element.Fragment,N=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))}));p("themeisle-blocks/font-awesome-icons",{title:s("Font Awesome Icons"),description:s("Share buttons for your website visitors to share content on any social sharing service."),icon:o.g,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},deprecated:i,edit:k([C((function(e,t){return{props:t}})),E({hover:!1})])((function(e){var t=e.hover,n=e.setState,o=e.props;if(void 0===o.attributes.id||o.attributes.id.substr(o.attributes.id.length-8)!==o.clientId.substr(0,8)){var l="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.clientId.substr(0,8));o.setAttributes({id:l})}var r={borderRadius:o.attributes.borderRadius+"%",fontSize:o.attributes.fontSize+"px",padding:o.attributes.padding+"px"},i={color:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor,borderColor:o.attributes.borderColor,borderRadius:o.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:o.attributes.borderSize+"px",display:"inline-block",margin:o.attributes.margin+"px"};return wp.element.createElement(L,null,wp.element.createElement(S,null,wp.element.createElement(T,{value:o.attributes.align,onChange:function(e){o.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:s("Align left"),align:"left"},{icon:"editor-aligncenter",title:s("Align center"),align:"center"},{icon:"editor-alignright",title:s("Align right"),align:"right"}]})),wp.element.createElement(M,null,wp.element.createElement(g,{title:s("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(h,null,wp.element.createElement(w,null))},wp.element.createElement(N,{label:s("Icon Picker"),prefix:o.attributes.prefix,icon:o.attributes.icon,onChange:function(e){"object"===c(e)?o.setAttributes({icon:e.name,prefix:e.prefix}):o.setAttributes({icon:e})}})),wp.element.createElement(a.a,{label:s("Link"),placeholder:"https://…",value:o.attributes.link,onChange:function(e){o.setAttributes({link:e})}},wp.element.createElement(y,{label:"Open in New Tab?",checked:o.attributes.newTab,onChange:function(){o.setAttributes({newTab:!o.attributes.newTab})}}))),wp.element.createElement(g,{title:s("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(f,{label:s("Text Size"),value:o.attributes.fontSize||"",initialPosition:16,onChange:function(e){o.setAttributes({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(f,{label:s("Padding"),value:o.attributes.padding||"",initialPosition:5,onChange:function(e){o.setAttributes({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Margin"),value:o.attributes.margin||"",initialPosition:5,onChange:function(e){o.setAttributes({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(g,{title:s("Color"),initialOpen:!1},wp.element.createElement(b,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:!t,onClick:function(){return n({hover:!1})}},s("Normal")),wp.element.createElement(d,{isDefault:!0,isLarge:!0,isPrimary:t,onClick:function(){return n({hover:!0})}},s("Hover"))),t?wp.element.createElement(L,null,wp.element.createElement(m,{label:"Hover Background"},wp.element.createElement(B,{label:"Hover Background",value:o.attributes.backgroundColorHover,onChange:function(e){o.setAttributes({backgroundColorHover:e})}})),wp.element.createElement(m,{label:"Hover Icon"},wp.element.createElement(B,{label:"Hover Icon",value:o.attributes.textColorHover,onChange:function(e){o.setAttributes({textColorHover:e})}})),wp.element.createElement(m,{label:"Hover Border"},wp.element.createElement(B,{label:"Hover Border",value:o.attributes.borderColorHover,onChange:function(e){o.setAttributes({borderColorHover:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColorHover,backgroundColor:o.attributes.backgroundColorHover})):wp.element.createElement(L,null,wp.element.createElement(m,{label:"Background"},wp.element.createElement(B,{label:"Background",value:o.attributes.backgroundColor,onChange:function(e){o.setAttributes({backgroundColor:e})}})),wp.element.createElement(m,{label:"Icon"},wp.element.createElement(B,{label:"Icon",value:o.attributes.textColor,onChange:function(e){o.setAttributes({textColor:e})}})),wp.element.createElement(m,{label:"Border"},wp.element.createElement(B,{label:"Border",value:o.attributes.borderColor,onChange:function(e){o.setAttributes({borderColor:e})}})),wp.element.createElement(O,{textColor:o.attributes.textColor,backgroundColor:o.attributes.backgroundColor}))),wp.element.createElement(g,{title:s("Border Settings"),initialOpen:!1},wp.element.createElement(f,{label:s("Border Size"),value:o.attributes.borderSize,onChange:function(e){o.setAttributes({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(f,{label:s("Border Radius"),value:o.attributes.borderRadius,onChange:function(e){o.setAttributes({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"}))),wp.element.createElement("style",null,"#".concat(o.attributes.id," .").concat(o.className,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(o.attributes.textColorHover?o.attributes.textColorHover:o.attributes.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(o.attributes.backgroundColorHover?o.attributes.backgroundColorHover:o.attributes.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(o.attributes.borderColorHover?o.attributes.borderColorHover:o.attributes.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:o.className,id:o.attributes.id,style:{textAlign:o.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:i},wp.element.createElement("i",{className:"".concat(o.attributes.prefix," fa-").concat(o.attributes.icon),style:r}))))})),save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"},n={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:n})};return wp.element.createElement("p",{className:e.className,id:e.attributes.id,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:t},e.attributes.link?wp.element.createElement("a",{href:e.attributes.link,target:e.attributes.newTab?"_blank":"_self",style:{color:e.attributes.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}})},function(e,t,n){"use strict";n.r(t);n(41);var o=n(2);n(42);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 l(e,t,n,o,a,l,r){try{var i=e[l](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(o,a)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=wp.i18n.__,u=wp.apiFetch,m=wp.components,d=m.BaseControl,b=m.CheckboxControl,g=m.Modal,h=wp.element,f=h.Component,w=h.Fragment,y=wp.editPost.PluginMoreMenuItem,v=function(e){function t(){var e,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(o=i(t).apply(this,arguments))||"object"!==a(o)&&"function"!=typeof o?c(n):o).changeOptions=e.changeOptions.bind(c(e)),e.settings,e.state={canUser:!1,isAPILoaded:!1,isDefault:!1,isOpen:!1},e}var n,o,m,h,f;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,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:(h=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return this.setState({canUser:!0}),e.next=7,wp.api.loadPromise.then((function(){t.settings=new wp.api.models.Settings}));case 7:!1===this.state.isAPILoaded&&this.settings.fetch().then((function(e){t.setState({isDefault:Boolean(e.themeisle_blocks_settings_default_block),isAPILoaded:!0})}));case 8:case"end":return e.stop()}}),e,this)})),f=function(){var e=this,t=arguments;return new Promise((function(n,o){var a=h.apply(e,t);function r(e){l(a,n,o,r,i,"next",e)}function i(e){l(a,n,o,r,i,"throw",e)}r(void 0)}))},function(){return f.apply(this,arguments)})},{key:"changeOptions",value:function(){var e=this,t=new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(this.state.isDefault)}).save();t.success((function(t,n){"success"===n&&(e.settings.fetch(),e.setState({isDefault:Boolean(t.themeisle_blocks_settings_default_block)})),"error"===n&&console.log(t),e.settings.fetch()})),t.error((function(e,t){console.log(e)}))}},{key:"render",value:function(){var e=this;return wp.element.createElement(w,null,this.state.canUser&&void 0!==y&&wp.element.createElement(y,{onClick:function(){return e.setState({isOpen:!0})}},p("Otter Options")),this.state.isOpen&&wp.element.createElement(g,{title:p("Otter Options"),overlayClassName:"wp-block-themeisle-blocks-options",onRequestClose:function(){return e.setState({isOpen:!1})}},wp.element.createElement(d,null,wp.element.createElement(b,{label:p("Make Section block your default block for Pages?"),checked:this.state.isDefault,onChange:this.changeOptions}))))}}])&&r(n.prototype,o),m&&r(n,m),t}(f),k=(n(43),wp.components.Icon),E=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(k,{icon:o.l}),render:function(){return wp.element.createElement(E,null,wp.element.createElement(v,null))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=n(5),r=n.n(l),i=n(16),c=n.n(i),s=(n(57),n(58),n(2)),p=n(3),u=n(12),m=n(7),d=n(17),b=n(4);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=lodash.times,w=wp.editor.RichText,y=wp.element.Fragment,v=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},v=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(y,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(w.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))},k="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,k),style:{justifyContent:l,alignItems:l||"flex-start"}},f(o,(function(e){return v(e)})))}}];function k(e){return(k="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 E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=wp.i18n.__,S=lodash.times,B=wp.blocks.registerBlockType,O=wp.components,M=O.BaseControl,L=O.Button,N=O.ButtonGroup,A=O.Dashicon,_=O.Dropdown,P=O.MenuGroup,R=O.MenuItem,I=O.Icon,z=O.IconButton,V=O.PanelBody,H=O.Placeholder,j=O.RangeControl,F=O.SelectControl,D=O.Spinner,G=O.ToggleControl,W=O.Toolbar,Z=wp.compose,q=Z.compose,U=Z.withState,K=wp.data.withSelect,Q=wp.blockEditor||wp.editor,J=Q.AlignmentToolbar,Y=Q.BlockControls,$=Q.ColorPalette,X=Q.InspectorControls,ee=Q.RichText,te=wp.element.Fragment,ne=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))}));B("themeisle-blocks/button-group",{title:T("Button Group"),description:T("Prompt visitors to take action with a button group."),icon:s.d,category:"themeisle-blocks",keywords:[T("buttons"),T("button group"),T("advanced buttons")],attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},deprecated:v,edit:q([K((function(e,t){return{props:t}})),U({tab:"buttons",selectedButton:0,hover:!1,wait:!1})])((function(e){var t,n=e.tab,o=e.selectedButton,l=e.hover,i=e.wait,g=e.setState,h=e.props,f=h.attributes,w=f.id,y=f.buttons,v=f.align,E=f.spacing,B=f.collapse,O=f.fontSize,Z=f.fontFamily,q=f.fontStyle,U=f.fontVariant,K=f.textTransform,Q=f.lineHeight,oe=f.data;if(void 0===w||w.substr(w.length-8)!==h.clientId.substr(0,8)){var ae="wp-block-themeisle-blocks-button-group-".concat(h.clientId.substr(0,8));h.setAttributes({id:ae})}var le=function(e){g({selectedButton:e,wait:!0}),setTimeout((function(){g({wait:!1})}),500)},re=function(e){1<=e&&5>=e&&(oe.length<e&&(S(e-oe.length,(function(e){oe.push({text:oe[0].text,link:oe[0].link,newTab:oe[0].newTab,color:oe[0].color,border:oe[0].border,background:oe[0].background,hoverColor:oe[0].hoverColor,hoverBackground:oe[0].hoverBackground,hoverBorder:oe[0].hoverBorder,borderSize:oe[0].borderSize,borderRadius:oe[0].borderRadius,boxShadow:oe[0].boxShadow,boxShadowColor:oe[0].boxShadowColor,boxShadowColorOpacity:oe[0].boxShadowColorOpacity,boxShadowBlur:oe[0].boxShadowBlur,boxShadowSpread:oe[0].boxShadowSpread,boxShadowHorizontal:oe[0].boxShadowHorizontal,boxShadowVertical:oe[0].boxShadowVertical,hoverBoxShadowColor:oe[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:oe[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:oe[0].hoverBoxShadowBlur,hoverBoxShadowSpread:oe[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:oe[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:oe[0].hoverBoxShadowVertical,iconType:oe[0].iconType,prefix:oe[0].prefix,icon:oe[0].icon,paddingTopBottom:oe[0].paddingTopBottom,paddingLeftRight:oe[0].paddingLeftRight})})),h.setAttributes({data:oe})),h.setAttributes({buttons:e}),g({selectedButton:0}))},ie=function(e){h.setAttributes({fontSize:e})},ce=function(e){h.setAttributes({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},se=function(e){h.setAttributes({fontVariant:e})},pe=function(e){h.setAttributes({fontStyle:e})},ue=function(e){h.setAttributes({textTransform:e})},me=function(e){h.setAttributes({lineHeight:e})},de=function(e,t){var n=oe.map((function(n,o){return t===o&&(n=C({},n,{},e)),n}));h.setAttributes({data:n})},be={fontSize:"".concat(O,"px"),fontFamily:Z,fontWeight:U,fontStyle:q,textTransform:K,lineHeight:Q&&"".concat(Q,"px")},ge="collapse-none"!==B?B:"";return wp.element.createElement(te,null,Z&&wp.element.createElement(c.a,{fonts:[{font:Z,weights:U&&["".concat(U+("italic"===q?":i":""))]}]}),wp.element.createElement(Y,null,wp.element.createElement(J,{value:v,onChange:function(e){h.setAttributes({align:e})},alignmentControls:[{icon:"editor-alignleft",title:T("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:T("Align center"),align:"center"},{icon:"editor-alignright",title:T("Align right"),align:"flex-end"}]}),wp.element.createElement(W,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(_,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(z,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:T("Typography Settings"),tooltip:T("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){var e;return wp.element.createElement(te,null,wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(e={label:T("Font Family"),value:Z,onChangeFontFamily:ce,isSelect:!0,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(e,"onChangeFontStyle",pe),x(e,"valueTransform",K),x(e,"onChangeTextTransform",ue),e)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200}))}}))),wp.element.createElement(X,null,wp.element.createElement(V,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"buttons"===n}),onClick:function(){return g({tab:"buttons"})}},wp.element.createElement("span",null,wp.element.createElement(I,{icon:s.d}),T("Buttons"))),wp.element.createElement(L,{className:a()("header-tab",{"is-selected":"group"===n}),onClick:function(){return g({tab:"group"})}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"admin-generic"}),T("Group Settings")))),"buttons"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{opened:!0},wp.element.createElement(j,{label:T("Number of Buttons"),value:y,onChange:re,min:1,max:5}),wp.element.createElement(M,{label:T("Edit Button")},wp.element.createElement(_,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(L,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:n,"aria-expanded":t},T("Button")+" "+(o+1)+": "+Object(p.b)(oe[o].text))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(P,null,S(y,(function(e){return wp.element.createElement(R,{onClick:function(){le(e),t()}},T("Button")+" "+(e+1)+": "+Object(p.b)(oe[e].text))})))}}))),i?wp.element.createElement(H,null,wp.element.createElement(D,null)):wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Link")},wp.element.createElement(d.a,{label:"Link",placeholder:T("https://…"),value:oe[o].link,onChange:function(e){return de({link:e},o)}},wp.element.createElement(G,{label:"Open in New Tab?",checked:oe[o].newTab,onChange:function(){return de({newTab:!oe[o].newTab},o)}}))),wp.element.createElement(V,{title:T("Color & Border"),initialOpen:!1},wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),l?wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Color"},wp.element.createElement($,{label:"Hover Color",value:oe[o].hoverColor,onChange:function(e){return de({hoverColor:e},o)}})),wp.element.createElement(M,{label:"Hover Background"},wp.element.createElement($,{label:"Hover Background",value:oe[o].hoverBackground,onChange:function(e){return de({hoverBackground:e},o)}})),wp.element.createElement(M,{label:"Hover Border"},wp.element.createElement($,{label:"Hover Border",value:oe[o].hoverBorder,onChange:function(e){return de({hoverBorder:e},o)}}))):wp.element.createElement(te,null,wp.element.createElement(M,{label:"Color"},wp.element.createElement($,{label:"Color",value:oe[o].color,onChange:function(e){return de({color:e},o)}})),wp.element.createElement(M,{label:"Background"},wp.element.createElement($,{label:"Background",value:oe[o].background,onChange:function(e){return de({background:e},o)}})),wp.element.createElement(M,{label:"Border"},wp.element.createElement($,{label:"Border",value:oe[o].border,onChange:function(e){return de({border:e},o)}}))),wp.element.createElement(j,{label:T("Border Width"),className:"border-width",beforeIcon:"move",value:oe[o].borderSize,onChange:function(e){return de({borderSize:e},o)},min:0,max:10}),wp.element.createElement(j,{label:T("Border Radius"),beforeIcon:"move",value:oe[o].borderRadius,onChange:function(e){return de({borderRadius:e},o)},min:0,max:100})),wp.element.createElement(V,{title:T("Box Shadow"),initialOpen:!1},wp.element.createElement(G,{label:"Box Shadow",checked:oe[o].boxShadow,onChange:function(e){return de({boxShadow:!oe[o].boxShadow},o)}}),oe[o].boxShadow&&wp.element.createElement(te,null,wp.element.createElement(N,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return g({hover:!1})}},T("Normal")),wp.element.createElement(L,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return g({hover:!0})}},T("Hover"))),!l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Shadow Color"},wp.element.createElement($,{label:"Shadow Color",value:oe[o].boxShadowColor,onChange:function(e){return de({boxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].boxShadowColorOpacity,onChange:function(e){return de({boxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].boxShadowBlur,onChange:function(e){return de({boxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].boxShadowSpread,onChange:function(e){return de({boxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].boxShadowHorizontal,onChange:function(e){return de({boxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].boxShadowVertical,onChange:function(e){return de({boxShadowVertical:e},o)},min:-100,max:100})))||l&&wp.element.createElement(te,null,wp.element.createElement(M,{label:"Hover Shadow Color"},wp.element.createElement($,{label:"Hover Shadow Color",value:oe[o].hoverBoxShadowColor,onChange:function(e){return de({hoverBoxShadowColor:e},o)}})),wp.element.createElement(m.a,{label:"Hover Shadow Properties"},wp.element.createElement(j,{label:T("Opacity"),value:oe[o].hoverBoxShadowColorOpacity,onChange:function(e){return de({hoverBoxShadowColorOpacity:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Blur"),value:oe[o].hoverBoxShadowBlur,onChange:function(e){return de({hoverBoxShadowBlur:e},o)},min:0,max:100}),wp.element.createElement(j,{label:T("Spread"),value:oe[o].hoverBoxShadowSpread,onChange:function(e){return de({hoverBoxShadowSpread:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Horizontal"),value:oe[o].hoverBoxShadowHorizontal,onChange:function(e){return de({hoverBoxShadowHorizontal:e},o)},min:-100,max:100}),wp.element.createElement(j,{label:T("Vertical"),value:oe[o].hoverBoxShadowVertical,onChange:function(e){return de({hoverBoxShadowVertical:e},o)},min:-100,max:100}))))),wp.element.createElement(V,{title:T("Icon Settings"),initialOpen:!1},wp.element.createElement(F,{label:T("Icon Position"),value:oe[o].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return de({iconType:e},o)}}),"none"!==oe[o].iconType&&wp.element.createElement(te,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(H,null,wp.element.createElement(D,null))},wp.element.createElement(ne,{label:T("Icon Picker"),prefix:oe[o].prefix,icon:oe[o].icon,onChange:function(e){"object"===k(e)?de({icon:e.name,prefix:e.prefix},o):de({icon:e},o)}})))),wp.element.createElement(V,{title:T("Padding"),initialOpen:!1},wp.element.createElement(b.a,{label:T("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||de({paddingTopBottom:t},n),"left"!==e&&"right"!==e||de({paddingLeftRight:t},n)}(e,t,o)},options:[{label:T("Top"),type:"top",value:oe[o].paddingTopBottom},{label:T("Right"),type:"right",value:oe[o].paddingLeftRight},{label:T("Bottom"),type:"bottom",value:oe[o].paddingTopBottom},{label:T("Left"),type:"left",value:oe[o].paddingLeftRight}]}))))||"group"===n&&wp.element.createElement(te,null,wp.element.createElement(V,{title:T("Spacing")},wp.element.createElement(j,{label:T("Spacing"),value:E,onChange:function(e){h.setAttributes({spacing:e})},min:0,max:50}),wp.element.createElement(F,{label:T("Collapse On"),value:B,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){h.setAttributes({collapse:e})}})),wp.element.createElement(V,{title:T("Typography Settings"),initialOpen:!1},wp.element.createElement(j,{label:T("Font Size"),value:O,onChange:ie,min:0,max:50}),wp.element.createElement(u.a,(x(t={label:T("Font Family"),value:Z,onChangeFontFamily:ce,valueVariant:U,onChangeFontVariant:se,valueStyle:q,onChangeFontStyle:pe},"valueStyle",q),x(t,"onChangeFontStyle",pe),x(t,"valueTransform",K),x(t,"onChangeTextTransform",ue),t)),wp.element.createElement(j,{label:T("Line Height"),value:Q,onChange:me,min:0,max:200})))),wp.element.createElement("div",{id:w,className:a()(h.className,ge),style:{justifyContent:v,alignItems:v||"flex-start"}},S(y,(function(e){return function(e){var t={};oe[e].boxShadow&&(t={boxShadow:"".concat(oe[e].boxShadowHorizontal,"px ").concat(oe[e].boxShadowVertical,"px ").concat(oe[e].boxShadowBlur,"px ").concat(oe[e].boxShadowSpread,"px ").concat(r()(oe[e].boxShadowColor?oe[e].boxShadowColor:"#000000",oe[e].boxShadowColorOpacity))});var n=C({},be,{color:oe[e].color,background:oe[e].background,border:"".concat(oe[e].borderSize,"px solid ").concat(oe[e].border),borderRadius:"".concat(oe[e].borderRadius,"px")},t,{padding:"".concat(oe[e].paddingTopBottom,"px ").concat(oe[e].paddingLeftRight,"px "),marginLeft:0===e?"0px":"".concat(E/2,"px"),marginRight:y===e+1?"0px":"".concat(E/2,"px")});return wp.element.createElement(te,null,wp.element.createElement("style",null,"#".concat(w," .wp-block-themeisle-blocks-button-").concat(e,":hover {\n\t\t\t\t\t\t\tcolor: ").concat(oe[e].hoverColor?oe[e].hoverColor:oe[e].color," !important;\n\t\t\t\t\t\t\tbackground: ").concat(oe[e].hoverBackground?oe[e].hoverBackground:oe[e].background," !important;\n\t\t\t\t\t\t\tborder: ").concat(oe[e].borderSize,"px solid ").concat(oe[e].hoverBorder?oe[e].hoverBorder:oe[e].border," !important;\n\t\t\t\t\t\t\t").concat(oe[e].boxShadow&&"box-shadow: ".concat(oe[e].hoverBoxShadowHorizontal,"px ").concat(oe[e].hoverBoxShadowVertical,"px ").concat(oe[e].hoverBoxShadowBlur,"px ").concat(oe[e].hoverBoxShadowSpread,"px ").concat(r()(oe[e].hoverBoxShadowColor?oe[e].hoverBoxShadowColor:"#000000",oe[e].hoverBoxShadowColorOpacity)," !important;"),"\n\t\t\t\t\t\t}")),wp.element.createElement("div",{style:n,className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),onClick:function(){return le(e)}},("left"===oe[e].iconType||"only"===oe[e].iconType)&&wp.element.createElement("i",{className:a()(oe[e].prefix,"fa-fw","fa-".concat(oe[e].icon),{"margin-right":"left"===oe[e].iconType})}),"only"!==oe[e].iconType&&wp.element.createElement(ee,{placeholder:T("Add text…"),value:oe[e].text,"aria-label":Object(p.b)(oe[e].text),onChange:function(t){return de({text:t},e)},formattingControls:["bold","italic","strikethrough"],allowedFormats:["core/bold","core/italic","core/strikethrough"],tagName:"div",keepPlaceholderOnFocus:!0}),"right"===oe[e].iconType&&wp.element.createElement("i",{className:"".concat(oe[e].prefix," fa-fw fa-").concat(oe[e].icon," margin-left")})))}(e)})),h.isSelected&&4>=y&&wp.element.createElement(z,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return re(y+1)},label:T("Add Button")})))})),save:function(e){var t=e.attributes,n=t.id,o=t.buttons,l=t.align,r=t.collapse,i=t.fontSize,c=t.fontFamily,s=t.fontStyle,p=t.fontVariant,u=t.textTransform,m=t.lineHeight,d=t.data,b={fontSize:"".concat(i,"px"),fontFamily:c,fontWeight:p,fontStyle:s,textTransform:u,lineHeight:m&&"".concat(m,"px")},g="collapse-none"!==r?r:"";return wp.element.createElement("div",{id:n,className:a()(e.className,g),style:{justifyContent:l,alignItems:l||"flex-start"}},S(o,(function(e){return function(e){var t=C({},b,{borderWidth:"".concat(d[e].borderSize,"px"),borderRadius:"".concat(d[e].borderRadius,"px"),padding:"".concat(d[e].paddingTopBottom,"px ").concat(d[e].paddingLeftRight,"px ")});return wp.element.createElement(te,null,wp.element.createElement("a",{href:d[e].link,target:d[e].newTab?"_blank":"_self",className:a()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t,rel:"noopener noreferrer"},("left"===d[e].iconType||"only"===d[e].iconType)&&wp.element.createElement("i",{className:a()(d[e].prefix,"fa-fw","fa-".concat(d[e].icon),{"margin-right":"left"===d[e].iconType})}),"only"!==d[e].iconType&&wp.element.createElement(ee.Content,{tagName:"span",value:d[e].text}),"right"===d[e].iconType&&wp.element.createElement("i",{className:"".concat(d[e].prefix," fa-fw fa-").concat(d[e].icon," margin-left")})))}(e)})))}})}]);
|
1 |
+
!function(e){function t(t){for(var a,r,i=t[0],c=t[1],p=t[2],m=0,s=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&s.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);s.length;)s.shift()();return o.push.apply(o,p||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(p);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var p=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var p=0;p<i.length;p++)t(i[p]);var d=c;o.push([36,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return p})),n.d(t,"e",(function(){return d})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return w})),n.d(t,"o",(function(){return y})),n.d(t,"r",(function(){return f})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"k",(function(){return x}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(51);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=wp.components,i=r.Popover,c=r.RangeControl,p=wp.element,d=p.Fragment,m=p.useRef,s=p.useState,u=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,r=e.max,p=e.onChange,u=o(s(!1),2),b=u[0],g=u[1],h=m(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(d,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:n.value,min:l,max:r,ref:h,onFocus:function(){return g(!b)},onChange:function(e){return p(n.type,parseInt(e.target.value))}}),b&&wp.element.createElement(i,{onFocusOutside:function(){h.current.contains(document.activeElement)||g(!1)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(c,{value:n.value,initialPosition:n.value,beforeIcon:"minus",afterIcon:"plus",min:l,max:r,onChange:function(e){return p(n.type,e)}})))),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},b=wp.i18n.__,g=wp.components.IconButton,h=wp.compose.withInstanceId;t.a=h((function(e){var t=e.instanceId,n=e.label,a=e.type,o=e.min,r=e.max,i=e.changeType,c=e.options,p=e.onChange,d="inspector-sizing-control-".concat(t);return c&&1>c.length?b("Please specify more options."):wp.element.createElement("div",{id:d,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:d},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},c.map((function(e,n){return wp.element.createElement(u,{id:t,index:e,option:n,min:o,max:r,onChange:p})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(g,{icon:"linked"===a?"admin-links":"editor-unlink",tooltip:b("linked"===a?"Unlink Values":"Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(50),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,p=r.Dropdown,d=r.IconButton,m=wp.compose.withInstanceId;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.changeViewType,r=e.view,m=e.children,s="inspector-responsive-control-".concat(t);return wp.element.createElement("div",{id:s,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(p,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(d,{icon:"mobile"===r?"smartphone":r,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===r}),onClick:function(){t(),a("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===r}),onClick:function(){t(),a("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===r}),onClick:function(){t(),a("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),m))}))},function(e,t,n){"use strict";n(49);var a=wp.components,l=a.Dropdown,o=a.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,a=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(l,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(o,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:a,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}))},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(68),n(69),wp.components),r=o.SVG,i=o.Path;t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,c=e.invert,p=e.width,d=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&p?{transform:"".concat(p?"scaleX( ".concat(p/100," )"):"")}:{}},"bigTriangle"===a&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(r,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(r,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t){e.exports=React},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(48);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 r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=lodash,c=i.startCase,p=i.toLower,d=wp.i18n.__,m=wp.compose.withInstanceId,s=wp.components,u=s.Button,b=s.BaseControl,g=s.Dropdown,h=s.MenuGroup,w=s.MenuItem,y=s.SelectControl,f=s.TextControl,v=wp.element,k=v.useEffect,T=v.useState;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.value,i=e.valueVariant,m=e.valueStyle,s=e.valueTransform,v=e.isSelect,E=void 0!==v&&v,x=e.onChangeFontFamily,C=e.onChangeFontVariant,S=e.onChangeFontStyle,B=e.onChangeTextTransform;k((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){N(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}}));return z(t)}}))}))}),[]);var M=r(T(null),2),O=M[0],N=M[1],R=r(T(null),2),L=R[0],z=R[1],_=r(T(""),2),P=_[0],H=_[1],A="inspector-google-fonts-control-".concat(t);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(b,{label:n,id:A},null!==O?E?wp.element.createElement(y,{value:a||"",id:A,options:[{label:d("Default"),value:""}].concat(o(O.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:d("Regular"),value:"regular"},{label:d("Italic"),value:"italic"}],x(void 0),C(void 0),void z(t);x(e),C("regular"),t=O.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}})),z(t)}}):wp.element.createElement(g,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:A,onClick:n,"aria-expanded":t},a||d("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:d("Google Fonts")},wp.element.createElement(f,{value:P,onChange:function(e){return H(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),x(void 0),C(void 0),z([]),H("")}},d("Default")),O.map((function(e){if(!P||e.family.toLowerCase().includes(P.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),x(e.family),C("regular");var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}}));z(n),H("")}},e.family)}))))}}):d("Loading…")),L&&wp.element.createElement(y,{label:d("Font Width"),value:i||"regular",options:L,onChange:C}),wp.element.createElement(y,{label:d("Font Style"),value:m,options:[{label:d("Regular"),value:"normal"},{label:d("Italic"),value:"italic"}],onChange:S}),wp.element.createElement(y,{label:d("Font Transform"),value:s,options:[{label:d("Default"),value:"none"},{label:d("Uppercase"),value:"uppercase"},{label:d("Lowercase"),value:"lowercase"},{label:d("Capitalize"),value:"capitalize"}],onChange:B}))}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var a=n(0),l=n.n(a),o=(n(61),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,p=o.IconButton,d=o.Toolbar,m=wp.compose.withInstanceId,s=wp.blockEditor.BlockControls,u=wp.element.Fragment,b=m((function(e){var t=e.instanceId,n=e.label,a=e.value,o=e.options,c=e.onChange,p="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:p,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(s,null,wp.element.createElement(d,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(p,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(u,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},,,function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(66),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,p=i.ButtonGroup,d=i.Icon,m=i.IconButton,s=i.Tooltip,u=wp.compose.withInstanceId;t.default=u((function(e){var t=e.label,n=e.instanceId,a=e.backgroundType,i=e.changeBackgroundType,u="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:u,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(p,{className:"linking-controls"},wp.element.createElement(m,{icon:"admin-customizer",label:r("Color"),className:l()("is-button",{"is-primary":"color"===a}),onClick:function(){i("color")}}),wp.element.createElement(m,{icon:"format-image",label:r("Image"),className:l()("is-button",{"is-primary":"image"===a}),onClick:function(){i("image")}}),wp.element.createElement(s,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:l()("is-button",{"is-primary":"gradient"===a}),onClick:function(){i("gradient")}},wp.element.createElement(d,{icon:o.b})))))))}))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";n(67);var a=n(0),l=n.n(a),o=wp.components,r=o.Dashicon,i=o.Tooltip,c=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,o=e.isSelected,c=e.onChange,p=wp.element.createElement("button",{type:"button","aria-pressed":o,className:l()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":o}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return c(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(i,{text:t},p):p,o&&wp.element.createElement(r,{icon:"saved"}))},p=wp.i18n.__,d=[{title:p("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:p("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:p("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:p("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:p("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:p("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:p("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:p("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:p("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:p("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:p("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:p("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],m=wp.i18n.__,s=wp.components,u=s.Button,b=s.ColorIndicator,g=s.Dropdown,h=s.RangeControl,w=s.SelectControl,y=wp.compose.withInstanceId,f=wp.blockEditor.ColorPalette,v=wp.element.Fragment;t.a=y((function(e){var t,n=e.label,a=e.instanceId,l=e.value,o=e.customGradient,r=void 0===o||o,i=e.onChange,p="inspector-gradient-picker-control-".concat(a),s=function(e){var t=e.firstColor,n=void 0===t?l.firstColor:t,a=e.firstLocation,o=void 0===a?l.firstLocation:a,r=e.secondColor,c=void 0===r?l.secondColor:r,p=e.secondLocation,d=void 0===p?l.secondLocation:p,m=e.type,s=void 0===m?l.type:m,u=e.angle,b=void 0===u?l.angle:u,g=e.position,h=void 0===g?l.position:g;i(n,o,c,d,s,b,h)};t="linear"===l.type?"".concat(l.angle,"deg"):"at ".concat(l.position);var y="".concat(l.type,"-gradient( ").concat(t,", ").concat(l.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.firstLocation,"%, ").concat(l.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.secondLocation,"% )"),k=d.some((function(e){return e.firstColor===l.firstColor&&e.secondColor===l.secondColor}));return wp.element.createElement("div",{id:p,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!k&&wp.element.createElement(b,{colorValue:y}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},d.map((function(e){return wp.element.createElement(c,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===l.firstColor&&e.secondColor===l.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},r&&wp.element.createElement(g,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{"aria-expanded":t,onClick:n,isLink:!0},m("Custom Gradient"))},renderContent:function(){return wp.element.createElement(v,null,wp.element.createElement("p",null,m("First Color")),wp.element.createElement(f,{label:m("Color"),clearable:!1,value:l.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,m("Second Color")),wp.element.createElement(f,{label:m("Color"),clearable:!1,value:l.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(w,{label:m("Type"),value:l.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===l.type?wp.element.createElement(h,{label:m("Angle"),value:l.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(w,{label:m("Position"),value:l.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(u,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},m("Clear"))))))}))},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(4),r=wp.components,i=r.Placeholder,c=r.Spinner,p=(0,wp.data.withSelect)((function(e,t){var n=t.id,a=t.alt,l=t.size,o=n?e("core").getMedia(n):void 0,r=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null;return o?{thumbnail:r,alt:o.alt_text||a}:{alt:a}}))((function(e){var t=e.alt,n=e.id,a=e.thumbnail,l=e.link,o=wp.element.createElement(i,null,wp.element.createElement(c,null));return a&&(o=wp.element.createElement("img",{src:a,alt:t,"data-id":n})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:l},o))})),d=wp.i18n,m=d.__,s=d.sprintf,u=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&s(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&s(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},b=wp.i18n,g=b.__,h=b.sprintf,w=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&h(g("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&h(g(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(u,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(w,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(21);n(54);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=wp.i18n.__,c=wp.apiFetch,p=wp.components,d=p.BaseControl,m=p.IconButton,s=p.Popover,u=wp.compose,b=u.compose,g=u.withInstanceId,h=wp.data.withSelect,w=wp.element,y=w.useEffect,f=w.useRef,v=w.useState,k=wp.keycodes,T=k.DOWN,E=k.ENTER,x=k.TAB,C=k.UP,S=wp.url.addQueryArgs;t.a=b(g,h((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.instanceId,n=e.label,a=e.help,p=e.placeholder,u=e.value,b=e.className,g=e.onChange,h=e.children,w=e.fetchLinkSuggestions;y((function(){_&&null!==A&&void 0!==M[A]&&!B&&null!==k.current&&(B=!0,Object(o.a)(M[A],k.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){B=!1}),100))}));var k=f(null),B=!1,M=[],O=[],N=r(v(!1),2),R=N[0],L=N[1],z=r(v(!1),2),_=z[0],P=z[1],H=r(v(null),2),A=H[0],I=H[1],F=r(v([]),2),V=F[0],j=F[1],G=function(e){return function(t){M[e]=t}},D=function(e){g(e),P(!1)},W="inspector-link-control-".concat(t);return wp.element.createElement(d,{label:n,id:W,help:a,className:b},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":R})},wp.element.createElement("input",{type:"url",placeholder:p,value:u,onChange:function(e){g(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?P(!1):(P(!0),(t=w?w(e):c({path:S("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){O===t&&(j(e),I(null))})),O=t)}(e.target.value)},onKeyDown:function(e){if(_&&1<=V.length){var t=V[A];switch(e.keyCode){case C:e.stopPropagation(),e.preventDefault();var n=A?A-1:V.length-1;I(n);break;case T:e.stopPropagation(),e.preventDefault();var a=null===A||A===V.length-1?0:A+1;I(a);break;case x:case E:null!==A&&(e.stopPropagation(),D(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===h})}),_&&0<V.length&&wp.element.createElement(s,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:k,className:"wp-block-themeisle-blocks-link-control-popover-container"},V.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:G(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===A}),onClick:function(){return D(e.url)}},e.title||i("Untitled Post"))})))),void 0!==h&&wp.element.createElement(m,{icon:"admin-generic",tooltip:i("Link Options"),onClick:function(){return L(!R)}})),R&&h)}))},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(70),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,p=r.Dropdown,d=r.IconButton,m=r.Path,s=r.Rect,u=r.SVG,b=r.Tooltip,g=wp.compose.withInstanceId,h=wp.element.Fragment;t.default=g((function(e){var t,n=e.label,a=e.instanceId,r=e.onClick,g=e.layout,w=e.layoutTablet,y=e.layoutMobile,f=e.columns,v=e.changeViewType,k=e.view,T="inspector-layout-control-".concat(a);return"desktop"===k?t=g:"tablet"===k?t=w:"mobile"===k&&(t=y),wp.element.createElement("div",{id:T,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(p,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(d,{icon:"mobile"===k?"smartphone":k,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===k}),onClick:function(){t(),v("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===k}),onClick:function(){t(),v("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===k}),onClick:function(){t(),v("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),1===f&&wp.element.createElement(b,{text:o("Single Row")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:3:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(b,{text:o("Three Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))))}))},function(e,t,n){"use strict";n.r(t);n(71);var a=n(2),l=n(0),o=n.n(l),r=n(13),i=n.n(r);n(72);function c(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")}()}var p=lodash,d=p.startCase,m=p.toLower,s=wp.i18n.__,u=wp.components,b=u.Button,g=u.Dashicon,h=u.Icon,w=u.TextControl,y=u.Tooltip,f=u.SelectControl,v=function(e){var t,n=e.preview,l=e.tab,r=e.blocksCategories,i=e.templateCategories,p=e.selectedCategory,u=e.selectedTemplate,v=e.search,k=e.togglePreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,B=(t=("block"===l?r:i).map((function(e){return{label:d(m(e)),value:e}})),[{label:s("All Categories"),value:"all"}].concat(c(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(b,{className:"library-modal-header-tabs-button back-to-library","aria-label":s("Back to Library"),onClick:k},wp.element.createElement(g,{icon:"arrow-left-alt"})," ",s("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(h,{icon:a.l}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(g,{icon:"screenoptions"}),s("Blocks")),wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(g,{icon:"editor-table"}),s("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(b,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(u.template_url)},tabindex:"0"},wp.element.createElement(g,{icon:"arrow-down-alt",size:16}),s("Insert")),wp.element.createElement(y,{text:s("Close")},wp.element.createElement(b,{className:"library-modal-header-tabs-button","aria-label":s("Close settings"),onClick:E},wp.element.createElement(g,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(f,{className:"library-modal-category-control",value:"all"===p?"all":p,onChange:C,options:B}),wp.element.createElement(w,{type:"text",value:v||"",placeholder:s("Search"),className:"library-modal-search-control",onChange:S})))},k=wp.i18n.__,T=wp.components.Notice,E=wp.element.Fragment,x=function(e){var t=e.isError,n=e.removeError,a=e.isMissing,l=e.removeMissing,o=e.missingBlocks;return wp.element.createElement(E,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:k("Update Now"),url:themeisleGutenberg.updatePath}]},k("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),t&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"error",onRemove:n},k("There seems to be an error. Please try again."))),a&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",className:"library-modal-missing",onRemove:l},k("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,k("View Missing Blocks")),wp.element.createElement("ul",null,o.map((function(e){return wp.element.createElement("li",null,e)})))))))},C=n(22),S=n.n(C),B=wp.i18n.__,M=wp.components.Button,O=function(e){var t=e.template,n=e.togglePreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||B("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},t.title&&"template"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},t.title,t.author&&B(" by ")+t.author," "),t.author&&"block"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},B("Author:")," ",t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},t.demo_url&&wp.element.createElement(M,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},B("Preview")),wp.element.createElement(M,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},B("Insert")))))},N=wp.i18n.__,R=wp.components.Spinner,L=function(e){var t=e.preview,n=e.isLoaded,a=e.data,l=e.tab,o=e.selectedTemplate,r=e.selectedCategory,i=e.search,c=e.togglePreview,p=e.importTemplate;return t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:o.demo_url})):n?wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,togglePreview:c,importTemplate:p})})),wp.element.createElement("div",{"aria-label":N("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(R,null))};function z(e){return(z="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 _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))}}wp.i18n.__;var A=wp.apiFetch,I=wp.components.Modal,F=wp.compose.compose,V=wp.data,j=V.withSelect,G=V.withDispatch,D=wp.element,W=D.useEffect,q=D.useState,Z=F(j((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/blocks").getBlockTypes;return{block:a(n),availableBlocks:l()}})),G((function(e,t){var n=t.block,a=e("core/block-editor").replaceBlocks;return{importBlocks:function(e){return a(n.clientId,e)}}})))((function(e){var t=e.close,n=e.availableBlocks,a=e.importBlocks;W((function(){(function(){var e=H(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),M(n),R(a),V(t),m(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var l=_(q("block"),2),r=l[0],c=l[1],p=_(q(!1),2),d=p[0],m=p[1],s=_(q(!1),2),u=s[0],b=s[1],g=_(q(!1),2),h=g[0],w=g[1],y=_(q("all"),2),f=y[0],k=y[1],T=_(q(""),2),E=T[0],C=T[1],S=_(q([]),2),B=S[0],M=S[1],O=_(q([]),2),N=O[0],R=O[1],P=_(q([]),2),F=P[0],V=P[1],j=_(q(!1),2),G=j[0],D=j[1],Z=_(q(null),2),U=Z[0],K=Z[1],Q=_(q([]),2),Y=Q[0],J=Q[1],X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;D(!G),K(e)},$=function e(t){return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).map((function(n){"clientId"===n&&(t[n]=i()()),"innerBlocks"===n&&t[n].map((function(t){e(t)}))})),t},ee=function e(t){var a=!1,l=[];return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).some((function(o){"name"===o&&(void 0===n.find((function(e){return e.name===t.name}))&&(l.push(t.name),a=!0));"innerBlocks"===o&&t[o].map((function(t){return e(t)}))})),l=l.concat(l).filter((function(e,t,n){return n.indexOf(e)===t})),J(l),a},te=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D(!1),m(!1),J([]),e.next=5,A({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:n=e.sent,null!==(n=$(n))?(m(!0),ee(n)?w(!0):a(n)):(m(!0),b(!0));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(I,{className:o()("wp-block-themeisle-library-modal",{"is-preview":G}),onRequestClose:t,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(v,{preview:G,tab:r,changeTab:function(e){c(e),k("all"),C("")},blocksCategories:B,templateCategories:N,selectedTemplate:U,selectedCategory:f,search:E,togglePreview:X,close:t,importTemplate:te,selectCategory:function(e){return k(e)},changeSearch:function(e){return C(e)}}),wp.element.createElement(x,{isError:u,isMissing:h,missingBlocks:Y,removeError:function(){return b(!1)},removeMissing:function(){return w(!1)}}),wp.element.createElement(L,{preview:G,isLoaded:d,data:F,tab:r,selectedTemplate:U,selectedCategory:f,search:E,togglePreview:X,importTemplate:te}))}));function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.components,Y=Q.Button,J=Q.Dashicon,X=Q.Icon,$=Q.Path,ee=Q.Placeholder,te=Q.Rect,ne=Q.SVG,ae=Q.Tooltip,le=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=U(le(!1),2),o=l[0],r=l[1];return wp.element.createElement(ee,{label:K("Select Layout"),instructions:K("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(X,{icon:a.f}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("2:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("2:1:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:2:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneTwoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:3:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneThreeOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"33.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ae,{text:K("Open Template Library")},wp.element.createElement(Y,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(J,{icon:"category"}),K("Template Library")),o&&wp.element.createElement(Z,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(Y,{isLink:!0,onClick:function(){return n(1,"equal")}},K("Skip"))))}},,,,,function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},o=n(0),r=n.n(o),i=n(3),c=n.n(i),p=n(8);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wp.blockEditor.InnerBlocks,b=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,i,d=e.attributes,s=d.id,b=d.columns,g=d.layout,h=d.layoutTablet,w=d.layoutMobile,y=d.columnsGap,f=d.columnsWidth,v=d.horizontalAlign,k=d.verticalAlign,T=d.backgroundType,E=d.backgroundColor,x=d.backgroundImageURL,C=d.backgroundAttachment,S=d.backgroundPosition,B=d.backgroundRepeat,M=d.backgroundSize,O=d.backgroundGradientFirstColor,N=d.backgroundGradientFirstLocation,R=d.backgroundGradientSecondColor,L=d.backgroundGradientSecondLocation,z=d.backgroundGradientType,_=d.backgroundGradientAngle,P=d.backgroundGradientPosition,H=d.backgroundOverlayOpacity,A=d.backgroundOverlayType,I=d.backgroundOverlayColor,F=d.backgroundOverlayImageURL,V=d.backgroundOverlayAttachment,j=d.backgroundOverlayPosition,G=d.backgroundOverlayRepeat,D=d.backgroundOverlaySize,W=d.backgroundOverlayGradientFirstColor,q=d.backgroundOverlayGradientFirstLocation,Z=d.backgroundOverlayGradientSecondColor,U=d.backgroundOverlayGradientSecondLocation,K=d.backgroundOverlayGradientType,Q=d.backgroundOverlayGradientAngle,Y=d.backgroundOverlayGradientPosition,J=d.backgroundOverlayFilterBlur,X=d.backgroundOverlayFilterBrightness,$=d.backgroundOverlayFilterContrast,ee=d.backgroundOverlayFilterGrayscale,te=d.backgroundOverlayFilterHue,ne=d.backgroundOverlayFilterSaturate,ae=d.backgroundOverlayBlend,le=d.borderType,oe=d.border,re=d.borderTop,ie=d.borderRight,ce=d.borderBottom,pe=d.borderLeft,de=d.borderColor,me=d.borderRadiusType,se=d.borderRadius,ue=d.borderRadiusTop,be=d.borderRadiusRight,ge=d.borderRadiusBottom,he=d.borderRadiusLeft,we=d.boxShadow,ye=d.boxShadowColor,fe=d.boxShadowColorOpacity,ve=d.boxShadowBlur,ke=d.boxShadowSpread,Te=d.boxShadowHorizontal,Ee=d.boxShadowVertical,xe=d.dividerTopType,Ce=d.dividerTopColor,Se=d.dividerTopInvert,Be=d.dividerBottomType,Me=d.dividerBottomColor,Oe=d.dividerBottomInvert,Ne=d.hide,Re=d.hideTablet,Le=d.hideMobile,ze=d.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:B,backgroundSize:M}),"gradient"===T)&&(i="linear"===z?"".concat(_,"deg"):"at ".concat(P),t={background:"".concat(z,"-gradient( ").concat(i,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(N,"%, ").concat(R||"rgba( 0, 0, 0, 0 )"," ").concat(L,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:de}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(pe,"px"),borderStyle:"solid",borderColor:de}),"linked"===me&&(l={borderRadius:"".concat(se,"px")}),"unlinked"===me&&(l={borderTopLeftRadius:"".concat(ue,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===we&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(c()(ye||"#000000",fe))});var _e,Pe=m({},t,{},a,{},l,{},o,{justifyContent:v});("color"===A&&(n={background:I,opacity:H/100}),"image"===A&&(n={backgroundImage:"url( '".concat(F,"' )"),backgroundAttachment:V,backgroundPosition:j,backgroundRepeat:G,backgroundSize:D,opacity:H/100}),"gradient"===A)&&(_e="linear"===K?"".concat(Q,"deg"):"at ".concat(Y),n={background:"".concat(K,"-gradient( ").concat(_e,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(Z||"rgba( 0, 0, 0, 0 )"," ").concat(U,"% )"),opacity:H/100});var He=m({},n,{mixBlendMode:ae,filter:"blur( ".concat(J/10,"px ) brightness( ").concat(X/10," ) contrast( ").concat($/10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),Ae={};f&&(Ae={maxWidth:f+"px"});var Ie=Ne?"":"has-desktop-".concat(g,"-layout"),Fe=Re?"":"has-tablet-".concat(h,"-layout"),Ve=Le?"":"has-mobile-".concat(w,"-layout"),je=r()(e.className,"has-".concat(b,"-columns"),Ie,Fe,Ve,{"hide-in-desktop":Ne},{"hide-in-tablet":Re},{"hide-in-mobile":Le},"has-".concat(y,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(ze,{className:je,id:s,style:Pe},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:He}),wp.element.createElement(p.default,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Ae},wp.element.createElement(u.Content,null)),wp.element.createElement(p.default,{type:"bottom",front:!0,style:Be,fill:Me,invert:Oe}))}}],g=n(14),h=n(24),w=n(5),y=n(6),f=n(15),v=n(17),k=n(7);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var x=wp.i18n.__,C=wp.components,S=C.BaseControl,B=C.Button,M=C.ButtonGroup,O=C.Dashicon,N=C.Icon,R=C.IconButton,L=C.PanelBody,z=C.Tooltip,_=C.ToggleControl,P=C.RangeControl,H=C.SelectControl,A=C.TextControl,I=wp.blockEditor,F=I.ColorPalette,V=I.InspectorAdvancedControls,j=I.InspectorControls,G=I.MediaPlaceholder,D=wp.element,W=D.Fragment,q=D.useState,Z=function(e){var t=e.attributes,n=e.setAttributes,l=e.updateColumnsWidth,o=e.dividerViewType,i=e.setDividerViewType,c=E(q("layout"),2),p=c[0],d=c[1],m=E(q("desktop"),2),s=m[0],u=m[1],b=E(q("desktop"),2),g=b[0],C=b[1],I=E(q("desktop"),2),D=I[0],Z=I[1],U=E(q("desktop"),2),K=U[0],Q=U[1],Y=E(q("desktop"),2),J=Y[0],X=Y[1],$=E(q("desktop"),2),ee=$[0],te=$[1],ne=function(){var e;return"desktop"===g&&(e=t.paddingType),"tablet"===g&&(e=t.paddingTypeTablet),"mobile"===g&&(e=t.paddingTypeMobile),e};ne=ne();var ae={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},le={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},oe={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},re=function(e){var n;return"top"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},ie=function(){var e;return"desktop"===D&&(e=t.marginType),"tablet"===D&&(e=t.marginTypeTablet),"mobile"===D&&(e=t.marginTypeMobile),e};ie=ie();var ce={top:"marginTop",bottom:"marginBottom"},pe={top:"marginTopTablet",bottom:"marginBottomTablet"},de={top:"marginTopMobile",bottom:"marginBottomMobile"},me=function(e){var n;return"top"==e&&("desktop"===D&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===D&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===D&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("desktop"===D&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===D&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===D&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},se=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},ue=function(){var e;return"desktop"===K&&(e=t.columnsHeightCustom),"tablet"===K&&(e=t.columnsHeightCustomTablet),"mobile"===K&&(e=t.columnsHeightCustomMobile),e};ue=ue();var be=function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});n({verticalAlign:e})},ge=function(){n({backgroundImageID:"",backgroundImageURL:""})},he=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},we={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},ye=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},fe={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ve=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},ke=function(){var e;return"top"==o&&(e=t.dividerTopType),"bottom"==o&&(e=t.dividerBottomType),e};ke=ke();var Te=function(){var e;return"top"==o&&(e=t.dividerTopColor),"bottom"==o&&(e=t.dividerBottomColor),e};Te=Te();var Ee=function(){var e;return"top"==o&&("desktop"==J&&(e=t.dividerTopWidth),"tablet"==J&&(e=t.dividerTopWidthTablet),"mobile"==J&&(e=t.dividerTopWidthMobile)),"bottom"==o&&("desktop"==J&&(e=t.dividerBottomWidth),"tablet"==J&&(e=t.dividerBottomWidthTablet),"mobile"==J&&(e=t.dividerBottomWidthMobile)),e};Ee=Ee();var xe=function(){var e;return"top"==o&&("desktop"==ee&&(e=t.dividerTopHeight),"tablet"==ee&&(e=t.dividerTopHeightTablet),"mobile"==ee&&(e=t.dividerTopHeightMobile)),"bottom"==o&&("desktop"==ee&&(e=t.dividerBottomHeight),"tablet"==ee&&(e=t.dividerBottomHeightTablet),"mobile"==ee&&(e=t.dividerBottomHeightMobile)),e};xe=xe();var Ce=function(){var e;return"top"==o&&(e=t.dividerTopInvert),"bottom"==o&&(e=t.dividerBottomInvert),e};Ce=Ce();var Se=function(e,t){"desktop"===t&&n({hide:e}),"tablet"===t&&n({hideTablet:e}),"mobile"===t&&n({hideMobile:e})};return wp.element.createElement(W,null,wp.element.createElement(j,null,wp.element.createElement(L,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"layout"===p}),onClick:function(){return d("layout")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"editor-table"}),x("Layout"))),wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"style"===p}),onClick:function(){return d("style")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"admin-customizer"}),x("Style"))),wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"advanced"===p}),onClick:function(){return d("advanced")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"admin-generic"}),x("Advanced")))),"layout"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Columns & Layout")},wp.element.createElement(P,{label:x("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),l(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),l(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),l(1,"equal"))},min:1,max:6}),wp.element.createElement(h.default,{label:x("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,view:s,changeViewType:u,onClick:function(e){"desktop"===s&&(n({layout:e}),l(t.columns,e)),"tablet"===s&&n({layoutTablet:e}),"mobile"===s&&n({layoutMobile:e})}}),wp.element.createElement(H,{label:x("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(L,{title:x("Spacing"),initialOpen:!1},wp.element.createElement(y.a,{label:"Padding",view:g,changeViewType:C},wp.element.createElement(w.a,{type:ne,min:0,max:500,changeType:function(e){"desktop"===g&&n({paddingType:e}),"tablet"===g&&n({paddingTypeTablet:e}),"mobile"===g&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===g&&("linked"===t.paddingType?n({padding:a}):n(T({},ae[e],a))),"tablet"===g&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(T({},le[e],a))),"mobile"===g&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(T({},oe[e],a)))},options:[{label:x("Top"),type:"top",value:re("top")},{label:x("Right"),type:"right",value:re("right")},{label:x("Bottom"),type:"bottom",value:re("bottom")},{label:x("Left"),type:"left",value:re("left")}]})),wp.element.createElement(y.a,{label:"Margin",view:D,changeViewType:Z},wp.element.createElement(w.a,{type:ie,min:-500,max:500,changeType:function(e){"desktop"===D&&n({marginType:e}),"tablet"===D&&n({marginTypeTablet:e}),"mobile"===D&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===D&&("linked"===t.marginType?n({margin:a}):n(T({},ce[e],a))),"tablet"===D&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(T({},pe[e],a))),"mobile"===D&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(T({},de[e],a)))},options:[{label:x("Top"),type:"top",value:me("top")},{label:x("Right"),disabled:!0},{label:x("Bottom"),type:"bottom",value:me("bottom")},{label:x("Left"),disabled:!0}]}))),wp.element.createElement(L,{title:x("Section Structure"),initialOpen:!1},wp.element.createElement(P,{label:x("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(S,{label:"Horizontal Align"},wp.element.createElement(M,{className:"icon-buttom-group"},wp.element.createElement(z,{text:x("Left")},wp.element.createElement(R,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return se("flex-start")}})),wp.element.createElement(z,{text:x("Center")},wp.element.createElement(R,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===t.horizontalAlign,onClick:function(){return se("center")}})),wp.element.createElement(z,{text:x("Right")},wp.element.createElement(R,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return se("flex-end")}})))),wp.element.createElement(H,{label:x("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(y.a,{label:"Custom Height",view:K,changeViewType:Q},wp.element.createElement(P,{value:ue||"",onChange:function(e){"desktop"===K&&n({columnsHeightCustom:e}),"tablet"===K&&n({columnsHeightCustomTablet:e}),"mobile"===K&&n({columnsHeightCustomMobile:e})},min:0,max:1e3})),"auto"!==t.columnsHeight&&wp.element.createElement(S,{label:"Vertical Align"},wp.element.createElement(M,{className:"icon-buttom-group"},wp.element.createElement(z,{text:x("Top")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===t.verticalAlign,onClick:function(){return be("flex-start")}},wp.element.createElement(N,{icon:a.s,size:20}))),wp.element.createElement(z,{text:x("Middle")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"center"===t.verticalAlign,onClick:function(){return be("center")}},wp.element.createElement(N,{icon:a.j,size:20}))),wp.element.createElement(z,{text:x("Bottom")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===t.verticalAlign,onClick:function(){return be("flex-end")}},wp.element.createElement(N,{icon:a.c,size:20})))))))||"style"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(f.default,{label:x("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(W,null,wp.element.createElement("p",null,x("Background Color")),wp.element.createElement(F,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(W,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:ge},wp.element.createElement(O,{icon:"trash"}),wp.element.createElement("span",null,x("Remove Image"))))),wp.element.createElement(B,{isDefault:!0,className:"image-delete-button",onClick:ge},x("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(H,{label:x("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(H,{label:x("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(H,{label:x("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(H,{label:x("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:x("Background Image"),name:x("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(L,{title:x("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(f.default,{label:x("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(P,{label:x("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(W,null,wp.element.createElement("p",null,x("Overlay Color")),wp.element.createElement(F,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(W,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:he},wp.element.createElement(O,{icon:"trash"}),wp.element.createElement("span",null,x("Remove Image"))))),wp.element.createElement(B,{isDefault:!0,className:"image-delete-button",onClick:he},x("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(H,{label:x("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(H,{label:x("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(H,{label:x("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(H,{label:x("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:x("Background Image"),name:x("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})}}),wp.element.createElement(k.a,{label:"CSS Filters"},wp.element.createElement(P,{label:x("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(P,{label:x("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(H,{label:x("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement(L,{title:x("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(w.a,{label:x("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(T({},we[e],a))},options:[{label:x("Top"),type:"top",value:ye("top")},{label:x("Right"),type:"right",value:ye("right")},{label:x("Bottom"),type:"bottom",value:ye("bottom")},{label:x("Left"),type:"left",value:ye("left")}]}),wp.element.createElement(W,null,wp.element.createElement("p",null,x("Border Color")),wp.element.createElement(F,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(w.a,{label:x("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(T({},fe[e],a))},options:[{label:x("Top"),type:"top",value:ve("top")},{label:x("Right"),type:"right",value:ve("right")},{label:x("Bottom"),type:"bottom",value:ve("bottom")},{label:x("Left"),type:"left",value:ve("left")}]}),wp.element.createElement(_,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(W,null,wp.element.createElement(W,null,wp.element.createElement("p",null,x("Shadow Color")),wp.element.createElement(F,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(k.a,{label:"Border Shadow"},wp.element.createElement(P,{label:x("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(P,{label:x("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(P,{label:x("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(L,{title:x("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(M,null,wp.element.createElement(B,{className:"is-button",isPrimary:"top"===o,onClick:function(){return i("top")}},x("Top")),wp.element.createElement(B,{className:"is-button",isPrimary:"bottom"===o,onClick:function(){return i("bottom")}},x("Bottom"))),wp.element.createElement(H,{label:x("Type"),value:ke,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==o&&n({dividerTopType:e}),"bottom"==o&&n({dividerBottomType:e})}}),"none"!==ke&&wp.element.createElement(W,null,wp.element.createElement(W,null,wp.element.createElement("p",null,x("Color")),wp.element.createElement(F,{label:x("Color"),value:Te,onChange:function(e){"top"==o&&n({dividerTopColor:e}),"bottom"==o&&n({dividerBottomColor:e})}})),wp.element.createElement(y.a,{label:"Width",view:J,changeViewType:X},wp.element.createElement(P,{value:Ee,onChange:function(e){"top"==o&&("desktop"==J&&n({dividerTopWidth:e}),"tablet"==J&&n({dividerTopWidthTablet:e}),"mobile"==J&&n({dividerTopWidthMobile:e})),"bottom"==o&&("desktop"==J&&n({dividerBottomWidth:e}),"tablet"==J&&n({dividerBottomWidthTablet:e}),"mobile"==J&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(y.a,{label:"Height",view:ee,changeViewType:te},wp.element.createElement(P,{value:xe,onChange:function(e){"top"==o&&("desktop"==ee&&n({dividerTopHeight:e}),"tablet"==ee&&n({dividerTopHeightTablet:e}),"mobile"==ee&&n({dividerTopHeightMobile:e})),"bottom"==o&&("desktop"==ee&&n({dividerBottomHeight:e}),"tablet"==ee&&n({dividerBottomHeightTablet:e}),"mobile"==ee&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==ke&&"cloud"!==ke&&wp.element.createElement(_,{label:"Invert Shape Divider",checked:Ce,onChange:function(){"top"==o&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==o&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Responsive")},wp.element.createElement(_,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return Se(e,"desktop")}}),wp.element.createElement(_,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return Se(e,"tablet")}}),wp.element.createElement(_,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return Se(e,"mobile")}})),wp.element.createElement(L,{title:x("Section Settings"),initialOpen:!1},wp.element.createElement(H,{label:x("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(V,null,wp.element.createElement(A,{label:x("HTML Anchor"),help:x("Anchors lets you link directly to a section on a page."),value:t.id,readonly:"readonly",onClick:function(e){return e.target.select()}})))};function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.blockEditor,Y=Q.__experimentalBlockNavigationList,J=Q.BlockControls,X=wp.components,$=X.IconButton,ee=X.Modal,te=X.Toolbar,ne=wp.compose.compose,ae=wp.data,le=ae.withSelect,oe=ae.withDispatch,re=wp.element,ie=re.Fragment,ce=re.useState,pe=ne(le((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getSelectedBlockClientId;return{block:(0,a.getBlock)(n),selectedBlockClientId:l()}})),oe((function(e,t){t.block;return{selectBlock:e("core/block-editor").selectBlock}})))((function(e){e.clientId;var t=e.block,n=e.selectedBlockClientId,l=e.selectBlock,o=U(ce(!1),2),r=o[0],i=o[1];return wp.element.createElement(ie,null,wp.element.createElement(J,null,wp.element.createElement(te,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement($,{className:"components-toolbar__control",label:K("Open block navigator"),onClick:function(){return i(!0)},icon:a.k}))),r&&wp.element.createElement(ee,{title:K("Block Navigator"),closeLabel:K("Close"),onRequestClose:function(){return i(!1)}},wp.element.createElement(Y,{blocks:[t],selectedBlockClientId:n,selectBlock:l,showNestedBlocks:!0})))})),de=n(25);function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ge=lodash.times,he=wp.compose.compose,we=wp.data,ye=we.withDispatch,fe=we.withSelect,ve=wp.blockEditor,ke=ve.__experimentalBlockNavigationList,Te=ve.InnerBlocks,Ee=wp.element,xe=Ee.Fragment,Ce=Ee.useEffect,Se=Ee.useState,Be=wp.viewport.withViewportMatch,Me=he(ye((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),fe((function(e,t){var n=t.clientId;return{sectionBlock:(0,e("core/block-editor").getBlock)(n)}})),Be({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.updateBlockAttributes,i=e.sectionBlock,d=e.isLarger,m=e.isLarge,s=e.isSmall,u=e.isSmaller;Ce((function(){T()}),[]);var b,h,w,y,f,v,k,T=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));n({id:e})}},E=be(Se("top"),2),x=E[0],C=E[1],S=d&&!m&&s&&!u,B=!d&&!m&&s&&!u,M=!(d||m||s||u),O=t.columnsHTMLTag;(S&&(b={paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),B&&(b={paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),M&&(b={paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(h={background:t.backgroundColor}),"image"===t.backgroundType&&(h={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(k="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(h={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(k,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(y={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(y={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(f={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(f={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(v={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(c()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var N,R=se({},b,{},h,{},y,{},f,{},v,{alignItems:t.horizontalAlign,justifyContent:t.verticalAlign});("color"===t.backgroundOverlayType&&(w={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(w={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(N="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),w={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(N,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var L=se({},w,{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),z={};t.columnsWidth&&(z={maxWidth:t.columnsWidth+"px"});var _=r()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap")),P=function(e){var n;return"top"==e&&(S&&(n="linked"===t.paddingType?t.padding:t.paddingTop),B&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),M&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"bottom"==e&&(S&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),B&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),M&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),n},H=function(){var e;return S&&(e=t.dividerTopWidth),B&&(e=t.dividerTopWidthTablet),M&&(e=t.dividerTopWidthMobile),e};H=H();var A=function(){var e;return S&&(e=t.dividerBottomWidth),B&&(e=t.dividerBottomWidthTablet),M&&(e=t.dividerBottomWidthMobile),e};A=A();var I=function(){var e;return S&&(e=t.dividerTopHeight),B&&(e=t.dividerTopHeightTablet),M&&(e=t.dividerTopHeightMobile),e};I=I();var F=function(){var e;return S&&(e=t.dividerBottomHeight),B&&(e=t.dividerBottomHeightTablet),M&&(e=t.dividerBottomHeightMobile),e};F=F();var V;return t.columns?wp.element.createElement(xe,null,ke&&wp.element.createElement(pe,{clientId:l}),wp.element.createElement(Z,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){i.innerBlocks.map((function(n,a){o(n.clientId,{columnWidth:parseFloat(g.a[e][t][a])})}))},dividerViewType:x,setDividerViewType:C}),wp.element.createElement(O,{className:_,id:t.id,style:R},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:L}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(P("top"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingTop"},"".concat(P("top"),"px")))),wp.element.createElement(p.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:H,height:I}),wp.element.createElement("div",{className:"innerblocks-wrap",style:z},wp.element.createElement(Te,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:(V=t.columns,ge(V,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:parseFloat(g.a[V][t.layout][e])}]}))),templateLock:"all"})),wp.element.createElement(p.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:A,height:F}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(P("bottom"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingBottom"},"".concat(P("bottom"),"px")))))):wp.element.createElement(de.default,{clientId:l,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})}));function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=wp.blockEditor.InnerBlocks,ze=function(e){var t,n,a,l,o,i,d=e.attributes,m=e.className,s=d.columnsHTMLTag;("color"===d.backgroundType&&(t={background:d.backgroundColor}),"image"===d.backgroundType&&(t={backgroundImage:"url( '".concat(d.backgroundImageURL,"' )"),backgroundAttachment:d.backgroundAttachment,backgroundPosition:d.backgroundPosition,backgroundRepeat:d.backgroundRepeat,backgroundSize:d.backgroundSize}),"gradient"===d.backgroundType)&&(i="linear"===d.backgroundGradientType?"".concat(d.backgroundGradientAngle,"deg"):"at ".concat(d.backgroundGradientPosition),t={background:"".concat(d.backgroundGradientType,"-gradient( ").concat(i,", ").concat(d.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundGradientFirstLocation,"%, ").concat(d.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundGradientSecondLocation,"% )")});"linked"===d.borderType&&(a={borderWidth:"".concat(d.border,"px"),borderStyle:"solid",borderColor:d.borderColor}),"unlinked"===d.borderType&&(a={borderTopWidth:"".concat(d.borderTop,"px"),borderRightWidth:"".concat(d.borderRight,"px"),borderBottomWidth:"".concat(d.borderBottom,"px"),borderLeftWidth:"".concat(d.borderLeft,"px"),borderStyle:"solid",borderColor:d.borderColor}),"linked"===d.borderRadiusType&&(l={borderRadius:"".concat(d.borderRadius,"px")}),"unlinked"===d.borderRadiusType&&(l={borderTopLeftRadius:"".concat(d.borderRadiusTop,"px"),borderTopRightRadius:"".concat(d.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(d.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(d.borderRadiusLeft,"px")}),!0===d.boxShadow&&(o={boxShadow:"".concat(d.boxShadowHorizontal,"px ").concat(d.boxShadowVertical,"px ").concat(d.boxShadowBlur,"px ").concat(d.boxShadowSpread,"px ").concat(c()(d.boxShadowColor?d.boxShadowColor:"#000000",d.boxShadowColorOpacity))});var u,b=Ne({},t,{},a,{},l,{},o,{justifyContent:d.horizontalAlign});("color"===d.backgroundOverlayType&&(n={background:d.backgroundOverlayColor,opacity:d.backgroundOverlayOpacity/100}),"image"===d.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(d.backgroundOverlayImageURL,"' )"),backgroundAttachment:d.backgroundOverlayAttachment,backgroundPosition:d.backgroundOverlayPosition,backgroundRepeat:d.backgroundOverlayRepeat,backgroundSize:d.backgroundOverlaySize,opacity:d.backgroundOverlayOpacity/100}),"gradient"===d.backgroundOverlayType)&&(u="linear"===d.backgroundOverlayGradientType?"".concat(d.backgroundOverlayGradientAngle,"deg"):"at ".concat(d.backgroundOverlayGradientPosition),n={background:"".concat(d.backgroundOverlayGradientType,"-gradient( ").concat(u,", ").concat(d.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundOverlayGradientFirstLocation,"%, ").concat(d.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundOverlayGradientSecondLocation,"% )"),opacity:d.backgroundOverlayOpacity/100});var g=Ne({},n,{mixBlendMode:d.backgroundOverlayBlend}),h={};d.columnsWidth&&(h={maxWidth:d.columnsWidth+"px"});var w=d.hide?"":"has-desktop-".concat(d.layout,"-layout"),y=d.hideTablet?"":"has-tablet-".concat(d.layoutTablet,"-layout"),f=d.hideMobile?"":"has-mobile-".concat(d.layoutMobile,"-layout"),v=r()(m,"has-".concat(d.columns,"-columns"),w,y,f,{"hide-in-desktop":d.hide},{"hide-in-tablet":d.hideTablet},{"hide-in-mobile":d.hideMobile},"has-".concat(d.columnsGap,"-gap"),"has-vertical-".concat(d.verticalAlign));return wp.element.createElement(s,{className:v,id:d.id,style:b},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:g}),wp.element.createElement(p.default,{type:"top",front:!0,style:d.dividerTopType,fill:d.dividerTopColor,invert:d.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:h},wp.element.createElement(Le.Content,null)),wp.element.createElement(p.default,{type:"bottom",front:!0,style:d.dividerBottomType,fill:d.dividerBottomColor,invert:d.dividerBottomInvert}))},_e=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:_e("Section"),description:_e("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:a.f,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:l,supports:{align:["wide","full"],html:!1},deprecated:b,edit:Me,save:ze})},function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(3),r=n.n(o),i=n(14),c=n(0),p=n.n(c),d=n(5),m=n(6),s=n(15),u=n(17),b=n(7);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var w=wp.i18n.__,y=wp.components,f=y.Button,v=y.Dashicon,k=y.PanelBody,T=y.ToggleControl,E=y.RangeControl,x=y.SelectControl,C=wp.blockEditor,S=C.ColorPalette,B=C.InspectorControls,M=C.MediaPlaceholder,O=wp.element,N=O.Fragment,R=O.useState,L=function(e){var t=e.attributes,n=e.setAttributes,a=h(R("layout"),2),l=a[0],o=a[1],r=h(R("desktop"),2),i=r[0],c=r[1],y=h(R("desktop"),2),C=y[0],O=y[1],L=function(){var e;return"desktop"===i&&(e=t.paddingType),"tablet"===i&&(e=t.paddingTypeTablet),"mobile"===i&&(e=t.paddingTypeMobile),e};L=L();var z={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},_={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},P={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},H=function(e){var n;return"top"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},A=function(){var e;return"desktop"===C&&(e=t.marginType),"tablet"===C&&(e=t.marginTypeTablet),"mobile"===C&&(e=t.marginTypeMobile),e};A=A();var I={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},F={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},V={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},j=function(e){var n;return"top"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginRight),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginLeft),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},G=function(){n({backgroundImageID:"",backgroundImageURL:""})},D={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},W=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},q={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},Z=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(B,null,wp.element.createElement(k,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"layout"===l}),onClick:function(){return o("layout")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"editor-table"}),w("Layout"))),wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"style"===l}),onClick:function(){return o("style")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"admin-customizer"}),w("Style"))),wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"advanced"===l}),onClick:function(){return o("advanced")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"admin-generic"}),w("Advanced")))),"layout"===l&&wp.element.createElement(N,null,wp.element.createElement(k,{title:w("Spacing")},wp.element.createElement(m.a,{label:"Padding",view:i,changeViewType:c},wp.element.createElement(d.a,{type:L,min:0,max:500,changeType:function(e){"desktop"===i&&n({paddingType:e}),"tablet"===i&&n({paddingTypeTablet:e}),"mobile"===i&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===i&&("linked"===t.paddingType?n({padding:a}):n(g({},z[e],a))),"tablet"===i&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(g({},_[e],a))),"mobile"===i&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(g({},P[e],a)))},options:[{label:w("Top"),type:"top",value:H("top")},{label:w("Right"),type:"right",value:H("right")},{label:w("Bottom"),type:"bottom",value:H("bottom")},{label:w("Left"),type:"left",value:H("left")}]})),wp.element.createElement(m.a,{label:"Margin",view:C,changeViewType:O},wp.element.createElement(d.a,{type:A,min:-500,max:500,changeType:function(e){"desktop"===C&&n({marginType:e}),"tablet"===C&&n({marginTypeTablet:e}),"mobile"===C&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===C&&("linked"===t.marginType?n({margin:a}):n(g({},I[e],a))),"tablet"===C&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(g({},F[e],a))),"mobile"===C&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(g({},V[e],a)))},options:[{label:w("Top"),type:"top",value:j("top")},{label:w("Right"),type:"right",value:j("right")},{label:w("Bottom"),type:"bottom",value:j("bottom")},{label:w("Left"),type:"left",value:j("left")}]}))))||"style"===l&&wp.element.createElement(N,null,wp.element.createElement(k,{title:w("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(s.default,{label:w("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(N,null,wp.element.createElement("p",null,w("Background Color")),wp.element.createElement(S,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(N,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:G},wp.element.createElement(v,{icon:"trash"}),wp.element.createElement("span",null,w("Remove Image"))))),wp.element.createElement(f,{isDefault:!0,className:"image-delete-button",onClick:G},w("Change or Remove Image")),wp.element.createElement(b.a,{label:"Background Settings"},wp.element.createElement(x,{label:w("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(x,{label:w("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(x,{label:w("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(x,{label:w("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(M,{icon:"format-image",labels:{title:w("Background Image"),name:w("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(u.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(k,{title:w("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(d.a,{label:w("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(g({},D[e],a))},options:[{label:w("Top"),type:"top",value:W("top")},{label:w("Right"),type:"right",value:W("right")},{label:w("Bottom"),type:"bottom",value:W("bottom")},{label:w("Left"),type:"left",value:W("left")}]}),wp.element.createElement(N,null,wp.element.createElement("p",null,w("Border Color")),wp.element.createElement(S,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(d.a,{label:w("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(g({},q[e],a))},options:[{label:w("Top"),type:"top",value:Z("top")},{label:w("Right"),type:"right",value:Z("right")},{label:w("Bottom"),type:"bottom",value:Z("bottom")},{label:w("Left"),type:"left",value:Z("left")}]}),wp.element.createElement(T,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(N,null,wp.element.createElement(N,null,wp.element.createElement("p",null,w("Shadow Color")),wp.element.createElement(S,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(b.a,{label:"Shadow Properties"},wp.element.createElement(E,{label:w("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(E,{label:w("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(E,{label:w("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(E,{label:w("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(E,{label:w("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===l&&wp.element.createElement(k,{title:w("Section Settings")},wp.element.createElement(x,{label:w("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))};function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}wp.i18n.__;var H=wp.components.ResizableBox,A=wp.compose.compose,I=wp.data,F=I.withDispatch,V=I.withSelect,j=wp.blockEditor.InnerBlocks,G=wp.element,D=G.Fragment,W=G.useEffect,q=G.useState,Z=wp.viewport.withViewportMatch,U=A(F((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),V((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getAdjacentBlockClientId,o=a.getBlock,r=a.getBlockRootClientId,i=o(n),c=l(n),p=o(c),d=r(n);return{adjacentBlockClientId:c,adjacentBlock:p,parentClientId:d,parentBlock:o(d),hasInnerBlocks:!(!i||!i.innerBlocks.length)}})),Z({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.toggleSelection,c=e.updateBlockAttributes,p=e.adjacentBlockClientId,d=e.adjacentBlock,m=e.parentClientId,s=e.parentBlock,u=e.hasInnerBlocks,b=e.isLarger,g=e.isLarge,h=e.isSmall,w=e.isSmaller;W((function(){y()}),[]);var y=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-column-".concat(l.substr(0,8));n({id:e})}},f=P(q(0),2),v=f[0],k=f[1],T=P(q(0),2),E=T[0],x=T[1],C=b&&!g&&h&&!w,S=!b&&!g&&h&&!w,B=!(b||g||h||w);void 0===t.columnWidth&&s.innerBlocks.map((function(e,t){if(l===e.clientId){var n=s.attributes.columns,a=s.attributes.layout;c(l,{columnWidth:parseFloat(i.a[n][a][t])})}}));var M=document.getElementById("block-".concat(l));null!==M&&(M.style.flexBasis=C?"".concat(t.columnWidth,"%"):"");var O,N,R,A,I,F,V=t.columnsHTMLTag;(C&&(O={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),S&&(O={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),B&&(O={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(N={background:t.backgroundColor}),"image"===t.backgroundType&&(N={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(F="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(N={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(F,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(R={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(R={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(A={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(A={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(I={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var G=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},O,{},N,{},R,{},A,{},I);return wp.element.createElement(D,null,wp.element.createElement(L,{attributes:t,setAttributes:n}),wp.element.createElement(H,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!p},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(e,n,a,r){var i=document.querySelector("#block-".concat(l," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),c=document.createElement("div"),p=document.createElement("div");c.setAttribute("class","resizable-tooltip resizable-tooltip-left"),c.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),i.appendChild(c),p.setAttribute("class","resizable-tooltip resizable-tooltip-right"),p.innerHTML="".concat(parseFloat(d.attributes.columnWidth).toFixed(0),"%"),i.appendChild(p),k(t.columnWidth),x(d.attributes.columnWidth),o(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(m)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(v)+r,d=E-r,s=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=i&&10<=d&&(s.innerHTML="".concat(i.toFixed(0),"%"),u.innerHTML="".concat(d.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),c(p,{columnWidth:d.toFixed(2)}))},onResizeStop:function(e,t,n,a){var l=document.querySelector(".resizable-tooltip-left"),r=document.querySelector(".resizable-tooltip-right");l.parentNode.removeChild(l),r.parentNode.removeChild(r),o(!0)}},wp.element.createElement(V,{className:a,id:t.id,style:G},wp.element.createElement(j,{templateLock:!1,renderAppender:!u&&j.ButtonBlockAppender}))))}));function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=wp.blockEditor.InnerBlocks,J=function(e){var t,n,a,l,o,i=e.attributes,c=e.className,p=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(o="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(o,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(n={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(n={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(a={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(a={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(l={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(r()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n,{},a,{},l);return wp.element.createElement(p,{className:c,id:i.id,style:d},wp.element.createElement(Y.Content,null))},X=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:X("Section Column"),description:X("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.e,category:"themeisle-blocks",attributes:l,supports:{inserter:!1,reusable:!1,html:!1},edit:U,save:J})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h6",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/testimonials",{title:d("Testimonials"),description:d("Display kudos from customers and clients and display them on your website."),icon:a.r,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/service",{title:d("Service"),description:d("Use this Service block to showcase services your website offers."),icon:a.p,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h5"}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h3",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/pricing",{title:d("Pricing"),description:d("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.o,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:p})},,function(e,t,n){n(37),n(100),n(98),n(93),n(92),n(94),n(90),n(97),n(18),n(95),n(31),n(30),n(15),n(24),n(25),n(8),n(79),n(96),n(91),n(86),n(34),n(33),e.exports=n(32)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,p=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),d={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,m=l(),s=a(),u=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(d[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!d[e.id]||e.id===d[e.id].id&&!t&&d[e.id].isSaving&&(d[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(s||g&&u)||m||status||p()}))},,function(e,t,n){},,function(e,t,n){},function(e,t){var n=wp.i18n.__,a=wp.richText,l=a.registerFormatType,o=a.toggleFormat,r=wp.blockEditor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,p=wp.element.Fragment,d="themeisle-blocks/mark";l(d,{name:d,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,a=e.value,l=e.onChange,r=function(){return l(o(a,{type:d}))};return wp.element.createElement(p,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,,,function(e,t,n){},function(e,t,n){},,,,function(e,t,n){},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(80),n(81),n(30),n(31)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(34),n(33),n(32)},,,,function(e,t,n){"use strict";n.r(t);n(57),n(58);var a=n(2),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(13),c=n.n(i),p=wp.i18n.__,d=wp.components,m=d.Button,s=d.ExternalLink,u=d.Placeholder,b=d.Spinner,g=d.TextControl,h=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(u,{icon:"admin-site",label:p("Google Maps"),instructions:p("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement(g,{type:"text",placeholder:p("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(m,{isLarge:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},p("Save API Key")),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},p("Need an API key? Get one "),wp.element.createElement(s,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},p("here."))),wp.element.createElement("p",{className:"components-placeholder__text"},p("You need to activate Maps and Places API.")))):wp.element.createElement(u,null,wp.element.createElement(b,null),p("Loading…"))},w=n(11),y=wp.i18n.__,f=wp.components,v=f.BaseControl,k=f.Button,T=f.ExternalLink,E=f.IconButton,x=f.SelectControl,C=f.TextControl,S=f.TextareaControl,B=wp.element.useRef,M=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=B(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(k,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||y("Custom Marker")),wp.element.createElement(E,{icon:"no-alt",label:y("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(v,{label:y("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:y("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,y("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(T,{href:"https://developers.google.com/places/web-service/intro"},y("More info.")))),wp.element.createElement(C,{label:y("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(C,{label:y("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(x,{label:y("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:y("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:y("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:y("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:y("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:y("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(C,{label:y("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(S,{label:y("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var N=wp.i18n.__,R=wp.components.Button,L=wp.element,z=L.Fragment,_=L.useEffect,P=L.useState,H=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;_((function(){!1!==t&&p(t)}),[t]);var i=O(P(null),2),c=i[0],p=i[1],d=function(e){c===e&&(e=null),p(e)};return wp.element.createElement(z,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(M,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:d,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(R,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},N("Add Marker")))},A=wp.i18n.__,I=wp.components,F=I.BaseControl,V=I.Button,j=I.ExternalLink,G=I.PanelBody,D=I.RangeControl,W=I.SelectControl,q=I.TextControl,Z=I.ToggleControl,U=wp.blockEditor.InspectorControls,K=wp.element.useRef,Q=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,p=e.changeMarkerProp,d=e.addMarkerManual,m=e.api,s=e.isSaving,u=e.changeAPI,b=e.saveAPIKey,g=K(null);return wp.element.createElement(U,null,wp.element.createElement(G,{title:A("Styles"),initialOpen:!1},wp.element.createElement(w.b,{value:t.style,options:[{label:A("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:A("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:A("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:A("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:A("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:A("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(G,{title:A("Location")},wp.element.createElement(F,{label:A("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:A("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,A("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(j,{href:"https://developers.google.com/places/web-service/intro"},A("More info.")))),wp.element.createElement(q,{label:A("Latitude"),type:"text",placeholder:A("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(q,{label:A("Longitude"),type:"text",placeholder:A("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(G,{title:A("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(W,{label:A("Map Type"),value:t.type,options:[{label:A("Road Map"),value:"roadmap"},{label:A("Satellite View"),value:"satellite"},{label:A("Hybrid"),value:"hybrid"},{label:A("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(D,{label:A("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(D,{label:A("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(G,{title:A("Controls"),initialOpen:!1},wp.element.createElement(F,null,A("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(Z,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(Z,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(Z,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(Z,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(Z,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(G,{title:A("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(H,{markers:t.markers,removeMarker:c,changeMarkerProp:p,addMarker:d,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(G,{title:A("Global Settings"),initialOpen:!1},wp.element.createElement(q,{label:A("Google Maps API Key"),type:"text",placeholder:A("Google Maps API Key"),value:m,className:"components-placeholder__input",onChange:u,help:A("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(V,{isLarge:!0,type:"submit",onClick:b,isBusy:s},A("Save API Key"))))};function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var J=wp.i18n.__,X=wp.components,$=X.BaseControl,ee=X.Button,te=X.ButtonGroup,ne=X.Modal,ae=X.SelectControl,le=X.TextControl,oe=X.TextareaControl,re=wp.element,ie=re.useEffect,ce=re.useRef,pe=re.useState,de=re.Fragment,me=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;ie((function(){p(t.id),s(t.location),g(t.title),y(t.icon),k(t.description),x(t.latitude),B(t.longitude)}),[t]);var r=ce(null),i=Y(pe(t.id),2),c=i[0],p=i[1],d=Y(pe(t.location),2),m=d[0],s=d[1],u=Y(pe(t.title),2),b=u[0],g=u[1],h=Y(pe(t.icon),2),w=h[0],y=h[1],f=Y(pe(t.description),2),v=f[0],k=f[1],T=Y(pe(t.latitude),2),E=T[0],x=T[1],C=Y(pe(t.longitude),2),S=C[0],B=C[1];return wp.element.createElement(ne,{title:J("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(de,null,wp.element.createElement($,{label:J("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:J("Enter a location…"),value:m,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();s(t),x(n),B(a)}))}))},onChange:function(e){return s(e.target.value)},disabled:!a})),wp.element.createElement(le,{label:J("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(le,{label:J("Longitude"),type:"text",value:S,onChange:B})),wp.element.createElement(le,{label:J("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(oe,{label:J("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(ae,{label:J("Map Icon"),value:w||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:J("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:J("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:J("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:J("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:J("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:y}),wp.element.createElement(te,null,wp.element.createElement(ee,{isLarge:!0,isPrimary:!0,onClick:function(){return l(m,b,w,v,E,S)}},J("Add")),wp.element.createElement(ee,{isLarge:!0,isDefault:!0,onClick:o},J("Cancel"))))},se=wp.i18n.__,ue=wp.components,be=ue.Button,ge=(ue.Dashicon,wp.element),he=ge.Fragment,we=ge.useEffect,ye=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return we((function(){l&&a()}),[l]),wp.element.createElement(he,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(be,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:se("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},fe={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function ve(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Te(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")}()}var Ee=wp.i18n.__,xe=wp.components.ResizableBox,Ce=wp.element,Se=Ce.Fragment,Be=Ce.useEffect,Me=Ce.useRef,Oe=Ce.useState,Ne=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,i=e.toggleSelection;Be((function(){ee(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,m.current=document.createElement("script"),m.current.type="text/javascript",m.current.async=!0,m.current.defer=!0,m.current.id="themeisle-google-map-api-loading"}),[]),Be((function(){!1!==x&&void 0!==window.google&&s.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),Be((function(){b.current=Te(t.markers)}),[t.markers]);var p=Me([]),d=Me(null),m=Me(null),s=Me(null),u=Me(null),b=Me(Te(t.markers)),g=ke(Oe(""),2),y=g[0],f=g[1],v=ke(Oe(!1),2),k=v[0],T=v[1],E=ke(Oe(!1),2),x=E[0],C=E[1],S=ke(Oe(!1),2),B=S[0],M=S[1],O=ke(Oe(!1),2),N=O[0],R=O[1],L=ke(Oe(!0),2),z=L[0],_=L[1],P=ke(Oe(!1),2),H=P[0],A=P[1],I=ke(Oe(!1),2),F=I[0],V=I[1],j=ke(Oe(!1),2),G=j[0],D=j[1],W=ke(Oe(!1),2),q=W[0],Z=W[1],U=ke(Oe(!1),2),K=U[0],Y=U[1],J=ke(Oe({}),2),X=J[0],$=J[1],ee=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id&&t.id.substr(t.id.length-8)===l.substr(0,8)){e.next=4;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:return e.next=6,wp.api.loadPromise.then((function(){d.current=new wp.api.models.Settings}));case 6:!1===Boolean(themeisleGutenberg.mapsAPI)?k||d.current.fetch().then((function(e){f(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),te(e.themeisle_google_map_block_api_key))})):k||(f(themeisleGutenberg.mapsAPI),T(!0),C(!0),te(themeisleGutenberg.mapsAPI));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){ve(o,a,l,r,i,"next",e)}function i(e){ve(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),te=function(e){window.isMapLoaded||(window.isMapLoaded=!0,m.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",A(!0)},m.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(m.current)),document.getElementById("themeisle-google-map-api")&&A(!0)},ne=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Ee("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){u.current=r,r.open(s.current,e)})),google.maps.event.addListener(r,"domready",(function(){V(t)})),google.maps.event.addListener(r,"closeclick",(function(){V(!1)}))},ae=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:s.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();le(e.id,"latitude",n),le(e.id,"longitude",a)})),p.current.push(l),google.maps.event.addListener(l,"click",(function(e){u.current&&u.current.close()})),ne(l,e.id,e.title,e.description)}))},le=function(e,t,a){var l=Te(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ae(l),n({markers:l})},oe=function(e){var t=Te(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),V(!1),0<t.length&&ae(t)},re=function(){for(var e=0;e<p.current.length;e++)p.current[e].setMap(null);p.current=[]},ie=function(){if(!1===Boolean(themeisleGutenberg.mapsAPI)){R(!0);var e=new wp.api.models.Settings({themeisle_google_map_block_api_key:y}).save();e.success((function(e,t){if("success"===t){var n=!1;d.current.fetch(),""!==e.themeisle_google_map_block_api_key&&(n=!0),R(!1),C(n),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,te(e.themeisle_google_map_block_api_key))}"error"===t&&console.log(e),d.current.fetch()})),e.error((function(e,t){console.log(e)}))}},ce=function(e){n({style:e}),s.current.setOptions({styles:fe[e]})};return k&&x?wp.element.createElement(Se,null,wp.element.createElement(w.a,{label:Ee("Block Styles"),value:t.style,options:[{label:Ee("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Ee("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Ee("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Ee("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Ee("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Ee("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(Q,{attributes:t,setAttributes:n,map:s.current,changeStyle:ce,isPlaceAPIAvailable:z,isMarkerOpen:F,setMarkerOpen:V,removeMarker:oe,changeMarkerProp:le,addMarkerManual:function(){var e=c()(),t=Ee("Custom Marker"),n=s.current.getCenter(),a=n.lat(),l=n.lng();Z(!0),Y(!0),$({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:y,isSaving:N,changeAPI:f,saveAPIKey:ie}),q&&wp.element.createElement(me,{marker:X,isAdvanced:K,isPlaceAPIAvailable:z,close:function(){return Z(!1)},addMarker:function(e,a,l,o,r,i){var d=new google.maps.LatLng(r,i),m=c()(),b=new google.maps.Marker({position:d,map:s.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();le(m,"latitude",t),le(m,"longitude",n)})),p.current.push(b);var g=Te(t.markers),h={id:m,location:e,title:a,icon:l,description:o,latitude:r,longitude:i};g.push(h),n({markers:g}),google.maps.event.addListener(b,"click",(function(e){u.current&&u.current.close()})),ne(b,h.id,a,o),Z(!1),D(!1)}}),wp.element.createElement(xe,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(ye,{attributes:t,className:a,initMap:function(){if(s.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:fe[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&s.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(s.current,"idle",(function(){M(!0)})),s.current.addListener("zoom_changed",(function(){var e=s.current.getZoom();n({zoom:e})})),s.current.addListener("maptypeid_changed",(function(){var e=s.current.getMapTypeId();n({type:e})})),s.current.addListener("bounds_changed",(function(){var e=s.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ae(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&_(!1)}))},displayMap:H,isMapLoaded:B,selectMarker:function(){D(!G),G?google.maps.event.clearListeners(s.current,"click"):s.current.addListener("click",(function(e){google.maps.event.clearListeners(s.current,"click");var t=c()(),n=Ee("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();Z(!0),Y(!1),$({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:G}))):wp.element.createElement(h,{className:a,api:y,isAPILoaded:k,isAPISaved:x,changeAPI:f,saveAPIKey:ie})},Re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Re("Google Map"),description:Re("Display a Google Map on your website with Google Map block."),icon:a.i,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:Ne,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(84),n(85);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},l=lodash,o=l.filter,r=l.every,i=wp.blocks.createBlock,c={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=r(e,["align",t])?t:void 0;var n=o(e,(function(e){return e.url}));return i("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return i("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return i("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):i("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return i("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},p=n(0),d=n.n(p),m=lodash.debounce,s=wp.blockEditor.MediaPlaceholder,u=function(e){e.attributes;var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=m(i,250);return wp.element.createElement(s,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},b=wp.i18n.__,g=lodash.max,h=wp.blockEditor.InspectorControls,w=wp.components,y=w.PanelBody,f=w.RangeControl,v=w.ToggleControl,k=wp.element.Fragment,T=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView;return wp.element.createElement(h,null,wp.element.createElement(y,{title:b("Settings")},t.images.length&&wp.element.createElement(k,null,wp.element.createElement(f,{label:b("Slides Per Page"),help:b("A number of visible slides."),value:t.perView,onChange:l,min:1,max:g([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(k,null,wp.element.createElement(f,{label:b("Gap"),help:b("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(f,{label:b("Peek"),help:b("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(f,{label:b("Height"),help:b("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(v,{label:b("Autoplay"),help:b("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e}),a.update({autoplay:!!e&&2e3})}}))))};function E(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")}()}var x=wp.i18n.__,C=lodash.filter,S=wp.blockEditor.RichText,B=wp.components.IconButton,M=wp.element.Fragment,O=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,o=e.isLastItem,r=e.isSelected,i=e.setAttributes,c=e.setSelectedImage,p=function(e,n){var a=E(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),c(n),i({images:a})};return wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":r}),tabIndex:"0",onClick:function(){return c(n.id)},onFocus:function(){return c(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),r&&wp.element.createElement(M,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(B,{icon:"arrow-left-alt2",onClick:l?void 0:function(){0!==a&&p(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:x("Move image backward"),"aria-disabled":l,disabled:!r}),wp.element.createElement(B,{icon:"arrow-right-alt2",onClick:o?void 0:function(){a!==t.length-1&&p(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:x("Move image forward"),"aria-disabled":o,disabled:!r})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(B,{icon:"no-alt",onClick:function(){var e=C(t,(function(e,t){return a!==t}));c(null),i({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete",label:x("Remove image")}))),(r||!S.isEmpty(n.caption))&&wp.element.createElement(S,{tagName:"figcaption",placeholder:r?x("Write caption…"):null,value:n.caption,onChange:function(e){var n=E(t);n[a].caption=e,i({images:n})},multiline:!1})))},N=wp.components,R=N.Path,L=N.SVG,z=wp.element.Fragment,_=function(e){var t=e.attributes;return wp.element.createElement(z,null,wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(L,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(R,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(L,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(R,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))};function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var A=wp.i18n.__,I=lodash.max,F=wp.components.ResizableBox,V=wp.element,j=V.Fragment,G=V.useEffect,D=V.useRef,W=V.useState,q=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,r=e.toggleSelection;G((function(){return s(),function(){t.images.length&&i.current.destroy()}}),[]),G((function(){t.images.length&&(m(null),null!==i.current&&(i.current.destroy(),b()))}),[o,t.align]),G((function(){t.images.length&&t.perView>t.images.length&&h(I([Math.round(t.images.length/2),1]))}),[t.images]);var i=D(null),c=H(W(null),2),p=c[0],m=c[1],s=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id&&t.id.substr(t.id.length-8)===l.substr(0,8)){e.next=4;break}return a="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:t.images.length&&b();case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),b=function(){i.current=new Glide("#".concat(t.id),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},g=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==i.current&&i.current.destroy(),b()},h=function(e){n({perView:Number(e)}),i.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),i.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(u,{labels:{title:A("Slider"),instructions:A("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:g}):wp.element.createElement(j,null,wp.element.createElement(T,{attributes:t,setAttributes:n,slider:i.current,changePerView:h}),wp.element.createElement(F,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){r(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),r(!0)},className:d()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":o})},wp.element.createElement("div",{id:t.id,className:d()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(O,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:o&&e.id===p,setAttributes:n,setSelectedImage:m})}))),wp.element.createElement(_,{attributes:t})))),o&&wp.element.createElement(u,{labels:{title:"",instructions:""},icon:null,onSelectImages:g,isAppender:!0,value:t.images}))},Z=(wp.i18n.__,wp.blockEditor.RichText),U=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:d()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!Z.isEmpty(e.caption)&&wp.element.createElement(Z.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(_,{attributes:t})))},K=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:K("Slider"),description:K("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,transforms:c,supports:{align:["wide","full"]},edit:q,save:U})},function(e,t,n){"use strict";n.r(t);n(52),n(53);var a=n(2),l={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},o=n(0),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=lodash.times,d=wp.editor.RichText,m=wp.element.Fragment,s=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,a=t.buttons,l=t.align,o=t.collapse,s=t.fontSize,u=t.fontFamily,b=t.fontStyle,g=t.fontVariant,h=t.textTransform,w=t.lineHeight,y=t.data,f={fontSize:"".concat(s,"px"),fontFamily:u,fontWeight:g,fontStyle:b,textTransform:h,lineHeight:w&&"".concat(w,"px")},v=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},f,{borderWidth:"".concat(y[e].borderSize,"px"),borderRadius:"".concat(y[e].borderRadius,"px"),padding:"".concat(y[e].paddingTopBottom,"px ").concat(y[e].paddingLeftRight,"px ")});return wp.element.createElement(m,null,wp.element.createElement("a",{href:y[e].link,target:y[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===y[e].iconType||"only"===y[e].iconType)&&wp.element.createElement("i",{className:r()(y[e].prefix,"fa-fw","fa-".concat(y[e].icon),{"margin-right":"left"===y[e].iconType})}),"only"!==y[e].iconType&&wp.element.createElement(d.Content,{tagName:"span",value:y[e].text}),"right"===y[e].iconType&&wp.element.createElement("i",{className:"".concat(y[e].prefix," fa-fw fa-").concat(y[e].icon," margin-left")})))},k="collapse-none"!==o?o:"";return wp.element.createElement("div",{id:n,className:r()(e.className,k),style:{justifyContent:l,alignItems:l||"flex-start"}},p(a,(function(e){return v(e)})))}}],u=n(19),b=n.n(u),g=n(10),h=wp.i18n.__,w=wp.components,y=w.Dropdown,f=w.IconButton,v=w.RangeControl,k=w.Toolbar,T=wp.blockEditor,E=T.AlignmentToolbar,x=T.BlockControls,C=wp.element.Fragment,S=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontSize,l=e.changeFontFamily,o=e.changeFontVariant,r=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight;return wp.element.createElement(x,null,wp.element.createElement(E,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:h("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:h("Align center"),align:"center"},{icon:"editor-alignright",title:h("Align right"),align:"flex-end"}]}),wp.element.createElement(k,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(y,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(f,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:h("Typography Settings"),tooltip:h("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(C,null,wp.element.createElement(v,{label:h("Font Size"),value:t.fontSize,onChange:a,min:0,max:50}),wp.element.createElement(g.a,{label:h("Font Family"),value:t.fontFamily,onChangeFontFamily:l,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:o,valueStyle:t.fontStyle,onChangeFontStyle:r,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(v,{label:h("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}))}})))},B=n(4),M=n(7),O=n(20),N=n(5);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 L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var z=wp.i18n.__,_=lodash.times,P=wp.components,H=P.BaseControl,A=P.Button,I=P.ButtonGroup,F=P.Dashicon,V=P.Dropdown,j=P.MenuGroup,G=P.MenuItem,D=P.Icon,W=P.PanelBody,q=P.Placeholder,Z=P.RangeControl,U=P.SelectControl,K=P.Spinner,Q=P.ToggleControl,Y=wp.blockEditor,J=Y.ColorPalette,X=Y.InspectorControls,$=wp.element,ee=$.Fragment,te=$.useState,ne=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,103))})),ae=function(e){var t=e.attributes,n=e.setAttributes,l=e.selectedButton,o=e.wait,i=e.changeButtons,c=e.changeButton,p=e.updateButton,d=e.changeFontSize,m=e.changeFontFamily,s=e.changeFontVariant,u=e.changeFontStyle,b=e.changeTextTransform,h=e.changeLineHeight,w=L(te("buttons"),2),y=w[0],f=w[1],v=L(te(!1),2),k=v[0],T=v[1];return wp.element.createElement(X,null,wp.element.createElement(W,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(A,{className:r()("header-tab",{"is-selected":"buttons"===y}),onClick:function(){return f("buttons")}},wp.element.createElement("span",null,wp.element.createElement(D,{icon:a.d}),z("Buttons"))),wp.element.createElement(A,{className:r()("header-tab",{"is-selected":"group"===y}),onClick:function(){return f("group")}},wp.element.createElement("span",null,wp.element.createElement(F,{icon:"admin-generic"}),z("Group Settings")))),"buttons"===y&&wp.element.createElement(ee,null,wp.element.createElement(W,{opened:!0},wp.element.createElement(Z,{label:z("Number of Buttons"),value:t.buttons,onChange:i,min:1,max:5}),wp.element.createElement(H,{label:z("Edit Button")},wp.element.createElement(V,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(A,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:a,"aria-expanded":n},z("Button")+" "+(l+1)+": "+Object(B.b)(t.data[l].text))},renderContent:function(e){var n=e.onToggle;return wp.element.createElement(j,null,_(t.buttons,(function(e){return wp.element.createElement(G,{onClick:function(){c(e),n()}},z("Button")+" "+(e+1)+": "+Object(B.b)(t.data[e].text))})))}}))),o?wp.element.createElement(q,null,wp.element.createElement(K,null)):wp.element.createElement(ee,null,wp.element.createElement(W,{title:z("Link")},wp.element.createElement(O.a,{label:"Link",placeholder:z("https://…"),value:t.data[l].link,onChange:function(e){return p({link:e},l)}},wp.element.createElement(Q,{label:"Open in New Tab?",checked:t.data[l].newTab,onChange:function(){return p({newTab:!t.data[l].newTab},l)}}))),wp.element.createElement(W,{title:z("Color & Border"),initialOpen:!1},wp.element.createElement(I,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},z("Normal")),wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},z("Hover"))),k?wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Hover Color"},wp.element.createElement(J,{label:"Hover Color",value:t.data[l].hoverColor,onChange:function(e){return p({hoverColor:e},l)}})),wp.element.createElement(H,{label:"Hover Background"},wp.element.createElement(J,{label:"Hover Background",value:t.data[l].hoverBackground,onChange:function(e){return p({hoverBackground:e},l)}})),wp.element.createElement(H,{label:"Hover Border"},wp.element.createElement(J,{label:"Hover Border",value:t.data[l].hoverBorder,onChange:function(e){return p({hoverBorder:e},l)}}))):wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Color"},wp.element.createElement(J,{label:"Color",value:t.data[l].color,onChange:function(e){return p({color:e},l)}})),wp.element.createElement(H,{label:"Background"},wp.element.createElement(J,{label:"Background",value:t.data[l].background,onChange:function(e){return p({background:e},l)}})),wp.element.createElement(H,{label:"Border"},wp.element.createElement(J,{label:"Border",value:t.data[l].border,onChange:function(e){return p({border:e},l)}}))),wp.element.createElement(Z,{label:z("Border Width"),className:"border-width",beforeIcon:"move",value:t.data[l].borderSize,onChange:function(e){return p({borderSize:e},l)},min:0,max:10}),wp.element.createElement(Z,{label:z("Border Radius"),beforeIcon:"move",value:t.data[l].borderRadius,onChange:function(e){return p({borderRadius:e},l)},min:0,max:100})),wp.element.createElement(W,{title:z("Box Shadow"),initialOpen:!1},wp.element.createElement(Q,{label:"Box Shadow",checked:t.data[l].boxShadow,onChange:function(e){return p({boxShadow:!t.data[l].boxShadow},l)}}),t.data[l].boxShadow&&wp.element.createElement(ee,null,wp.element.createElement(I,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},z("Normal")),wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},z("Hover"))),!k&&wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Shadow Color"},wp.element.createElement(J,{label:"Shadow Color",value:t.data[l].boxShadowColor,onChange:function(e){return p({boxShadowColor:e},l)}})),wp.element.createElement(M.a,{label:"Shadow Properties"},wp.element.createElement(Z,{label:z("Opacity"),value:t.data[l].boxShadowColorOpacity,onChange:function(e){return p({boxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Blur"),value:t.data[l].boxShadowBlur,onChange:function(e){return p({boxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Spread"),value:t.data[l].boxShadowSpread,onChange:function(e){return p({boxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Horizontal"),value:t.data[l].boxShadowHorizontal,onChange:function(e){return p({boxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Vertical"),value:t.data[l].boxShadowVertical,onChange:function(e){return p({boxShadowVertical:e},l)},min:-100,max:100})))||k&&wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Hover Shadow Color"},wp.element.createElement(J,{label:"Hover Shadow Color",value:t.data[l].hoverBoxShadowColor,onChange:function(e){return p({hoverBoxShadowColor:e},l)}})),wp.element.createElement(M.a,{label:"Hover Shadow Properties"},wp.element.createElement(Z,{label:z("Opacity"),value:t.data[l].hoverBoxShadowColorOpacity,onChange:function(e){return p({hoverBoxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Blur"),value:t.data[l].hoverBoxShadowBlur,onChange:function(e){return p({hoverBoxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Spread"),value:t.data[l].hoverBoxShadowSpread,onChange:function(e){return p({hoverBoxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Horizontal"),value:t.data[l].hoverBoxShadowHorizontal,onChange:function(e){return p({hoverBoxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Vertical"),value:t.data[l].hoverBoxShadowVertical,onChange:function(e){return p({hoverBoxShadowVertical:e},l)},min:-100,max:100}))))),wp.element.createElement(W,{title:z("Icon Settings"),initialOpen:!1},wp.element.createElement(U,{label:z("Icon Position"),value:t.data[l].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return p({iconType:e},l)}}),"none"!==t.data[l].iconType&&wp.element.createElement(ee,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(q,null,wp.element.createElement(K,null))},wp.element.createElement(ne,{label:z("Icon Picker"),prefix:t.data[l].prefix,icon:t.data[l].icon,onChange:function(e){"object"===R(e)?p({icon:e.name,prefix:e.prefix},l):p({icon:e},l)}})))),wp.element.createElement(W,{title:z("Spacing"),initialOpen:!1},wp.element.createElement(N.a,{label:z("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||p({paddingTopBottom:t},n),"left"!==e&&"right"!==e||p({paddingLeftRight:t},n)}(e,t,l)},options:[{label:z("Top"),type:"top",value:t.data[l].paddingTopBottom},{label:z("Right"),type:"right",value:t.data[l].paddingLeftRight},{label:z("Bottom"),type:"bottom",value:t.data[l].paddingTopBottom},{label:z("Left"),type:"left",value:t.data[l].paddingLeftRight}]}))))||"group"===y&&wp.element.createElement(ee,null,wp.element.createElement(W,{title:z("Spacing")},wp.element.createElement(Z,{label:z("Spacing"),value:t.spacing,onChange:function(e){n({spacing:e})},min:0,max:50}),wp.element.createElement(U,{label:z("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){n({collapse:e})}})),wp.element.createElement(W,{title:z("Typography Settings"),initialOpen:!1},wp.element.createElement(Z,{label:z("Font Size"),value:t.fontSize,onChange:d,min:0,max:50}),wp.element.createElement(g.a,{label:z("Font Family"),value:t.fontFamily,onChangeFontFamily:m,valueVariant:t.fontVariant,onChangeFontVariant:s,valueStyle:t.fontStyle,onChangeFontStyle:u,valueTransform:t.textTransform,onChangeTextTransform:b}),wp.element.createElement(Z,{label:z("Line Height"),value:t.lineHeight,onChange:h,min:0,max:200}))))},le=n(3),oe=n.n(le);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var pe=wp.i18n.__,de=wp.blockEditor.RichText,me=wp.element,se=me.Fragment,ue=me.useState,be=function(e){var t=e.index,n=e.attributes,a=e.changeButton,l=e.updateButton,o=ce(ue((function(){return 0===t})),2),i=o[0],c=o[1],p={};n.data[t].boxShadow&&(p={boxShadow:"".concat(n.data[t].boxShadowHorizontal,"px ").concat(n.data[t].boxShadowVertical,"px ").concat(n.data[t].boxShadowBlur,"px ").concat(n.data[t].boxShadowSpread,"px ").concat(oe()(n.data[t].boxShadowColor?n.data[t].boxShadowColor:"#000000",n.data[t].boxShadowColorOpacity))});var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),color:n.data[t].color,background:n.data[t].background,border:"".concat(n.data[t].borderSize,"px solid ").concat(n.data[t].border),borderRadius:"".concat(n.data[t].borderRadius,"px")},p,{padding:"".concat(n.data[t].paddingTopBottom,"px ").concat(n.data[t].paddingLeftRight,"px "),marginLeft:0===t?"0px":"".concat(n.spacing/2,"px"),marginRight:n.buttons===t+1?"0px":"".concat(n.spacing/2,"px")});return wp.element.createElement(se,null,wp.element.createElement("style",null,"#".concat(n.id," .wp-block-themeisle-blocks-button-").concat(t,":hover {\n\t\t\t\t\tcolor: ").concat(n.data[t].hoverColor?n.data[t].hoverColor:n.data[t].color," !important;\n\t\t\t\t\tbackground: ").concat(n.data[t].hoverBackground?n.data[t].hoverBackground:n.data[t].background," !important;\n\t\t\t\t\tborder: ").concat(n.data[t].borderSize,"px solid ").concat(n.data[t].hoverBorder?n.data[t].hoverBorder:n.data[t].border," !important;\n\t\t\t\t\t").concat(n.data[t].boxShadow&&"box-shadow: ".concat(n.data[t].hoverBoxShadowHorizontal,"px ").concat(n.data[t].hoverBoxShadowVertical,"px ").concat(n.data[t].hoverBoxShadowBlur,"px ").concat(n.data[t].hoverBoxShadowSpread,"px ").concat(oe()(n.data[t].hoverBoxShadowColor?n.data[t].hoverBoxShadowColor:"#000000",n.data[t].hoverBoxShadowColorOpacity)," !important;"),"\n\t\t\t\t}")),wp.element.createElement("div",{style:d,className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t)),onClick:function(){c(!0),a(t)},onBlur:function(){return c(!1)}},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(de,{placeholder:pe("Add text…"),value:n.data[t].text,onChange:function(e){return l({text:e},t)},tagName:"div",keepPlaceholderOnFocus:i,withoutInteractiveFormatting:!0}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))};function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(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 ye(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var fe=wp.i18n.__,ve=lodash.times,ke=wp.components.IconButton,Te=wp.element,Ee=Te.Fragment,xe=Te.useEffect,Ce=Te.useState,Se=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.isSelected,o=e.clientId;xe((function(){i()}),[]);var i=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==o.substr(0,8)){var e="wp-block-themeisle-blocks-button-group-".concat(o.substr(0,8));n({id:e})}},c=ye(Ce(0),2),p=c[0],d=c[1],m=ye(Ce(!1),2),s=m[0],u=m[1],g=function(e){d(e),u(!0),setTimeout((function(){u(!1)}),500)},h=function(e){if(1<=e&&5>=e){if(t.data.length<e){var a=we(t.data);ve(e-t.data.length,(function(e){a.push({text:t.data[0].text,link:t.data[0].link,newTab:t.data[0].newTab,color:t.data[0].color,border:t.data[0].border,background:t.data[0].background,hoverColor:t.data[0].hoverColor,hoverBackground:t.data[0].hoverBackground,hoverBorder:t.data[0].hoverBorder,borderSize:t.data[0].borderSize,borderRadius:t.data[0].borderRadius,boxShadow:t.data[0].boxShadow,boxShadowColor:t.data[0].boxShadowColor,boxShadowColorOpacity:t.data[0].boxShadowColorOpacity,boxShadowBlur:t.data[0].boxShadowBlur,boxShadowSpread:t.data[0].boxShadowSpread,boxShadowHorizontal:t.data[0].boxShadowHorizontal,boxShadowVertical:t.data[0].boxShadowVertical,hoverBoxShadowColor:t.data[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:t.data[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:t.data[0].hoverBoxShadowBlur,hoverBoxShadowSpread:t.data[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:t.data[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:t.data[0].hoverBoxShadowVertical,iconType:t.data[0].iconType,prefix:t.data[0].prefix,icon:t.data[0].icon,paddingTopBottom:t.data[0].paddingTopBottom,paddingLeftRight:t.data[0].paddingLeftRight})})),n({data:a})}n({buttons:e}),d(0)}},w=function(e){n({fontSize:e})},y=function(e){n({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},f=function(e){n({fontVariant:e})},v=function(e){n({fontStyle:e})},k=function(e){n({textTransform:e})},T=function(e){n({lineHeight:e})},E=function(e,a){var l=t.data.map((function(t,n){return a===n&&(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},e)),t}));n({data:l})},x="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement(Ee,null,t.fontFamily&&wp.element.createElement(b.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(S,{attributes:t,setAttributes:n,changeFontSize:w,changeFontFamily:y,changeFontVariant:f,changeFontStyle:v,changeTextTransform:k,changeLineHeight:T}),wp.element.createElement(ae,{attributes:t,setAttributes:n,selectedButton:p,wait:s,changeButtons:h,changeButton:g,updateButton:E,changeFontSize:w,changeFontFamily:y,changeFontVariant:f,changeFontStyle:v,changeTextTransform:k,changeLineHeight:T}),wp.element.createElement("div",{id:t.id,className:r()(a,x),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},ve(t.buttons,(function(e){return wp.element.createElement(be,{index:e,attributes:t,isSelected:l,changeButton:g,updateButton:E})})),l&&4>=t.buttons&&wp.element.createElement(ke,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return h(t.buttons+1)},label:fe("Add Button")})))},Be=wp.blockEditor.RichText,Me=wp.element.Fragment,Oe=function(e){var t=e.index,n=e.attributes,a={fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),borderWidth:"".concat(n.data[t].borderSize,"px"),borderRadius:"".concat(n.data[t].borderRadius,"px"),padding:"".concat(n.data[t].paddingTopBottom,"px ").concat(n.data[t].paddingLeftRight,"px ")};return wp.element.createElement(Me,null,wp.element.createElement("a",{href:n.data[t].link,target:n.data[t].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t)),style:a,rel:"noopener noreferrer"},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(Be.Content,{tagName:"span",value:n.data[t].text}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))},Ne=lodash.times,Re=function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},Ne(t.buttons,(function(e){return wp.element.createElement(Oe,{index:e,attributes:t})})))},Le=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:Le("Button Group"),description:Le("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[Le("buttons"),Le("button group"),Le("advanced buttons")],attributes:l,deprecated:s,edit:Se,save:Re})},function(e,t,n){"use strict";n.r(t);n(43),n(44),n(45);var a=n(2),l={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},o=wp.blocks.createBlock,r={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return o("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return o("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return o("core/paragraph",{content:t})}}]},i=n(0),c=n.n(i),p=n(3),d=n.n(p),m=n(19),s=n.n(m),u=n(10),b=wp.i18n.__,g=wp.components,h=(g.Button,g.Dropdown),w=g.DropdownMenu,y=g.IconButton,f=g.RangeControl,v=g.SVG,k=g.Toolbar,T=wp.blockEditor.BlockControls,E=wp.element.Fragment,x=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,p=function(e){return"h1"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},d=function(e){n({tag:e})};return wp.element.createElement(T,null,wp.element.createElement(w,{icon:p(t.tag),label:b("Select tag"),className:"components-toolbar",controls:[{title:b("Heading 1"),icon:p("h1"),onClick:function(){return d("h1")}},{title:b("Heading 2"),icon:p("h2"),onClick:function(){return d("h2")}},{title:b("Heading 3"),icon:p("h3"),onClick:function(){return d("h3")}},{title:b("Heading 4"),icon:p("h4"),onClick:function(){return d("h4")}},{title:b("Heading 5"),icon:p("h5"),onClick:function(){return d("h5")}},{title:b("Heading 6"),icon:p("h6"),onClick:function(){return d("h6")}},{title:b("Division"),icon:p("div"),onClick:function(){return d("div")}},{title:b("Paragraph"),icon:p("p"),onClick:function(){return d("p")}},{title:b("Span Tag"),icon:p("span"),onClick:function(){return d("span")}}]}),wp.element.createElement(k,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(h,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(y,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:b("Typography Settings"),tooltip:b("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(E,null,wp.element.createElement(u.a,{label:b("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(f,{label:b("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(f,{label:b("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},C=n(7),S=n(6),B=n(5);function M(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,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var N=wp.i18n.__,R=wp.components,L=R.Button,z=R.Dashicon,_=R.PanelBody,P=R.RangeControl,H=R.ToggleControl,A=(R.Toolbar,wp.blockEditor),I=A.AlignmentToolbar,F=A.ColorPalette,V=A.InspectorControls,j=wp.element,G=j.Fragment,D=j.useState,W=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,p=e.changeLetterSpacing,d=e.fontSizeViewType,m=e.setFontSizeViewType,s=e.alignmentViewType,b=e.setAlignmentViewType,g=e.paddingViewType,h=e.setPaddingViewType,w=e.marginViewType,y=e.setMarginViewType,f=O(D("style"),2),v=f[0],k=f[1],T=function(){var e;return"desktop"===d&&(e=t.fontSize),"tablet"===d&&(e=t.fontSizeTablet),"mobile"===d&&(e=t.fontSizeMobile),e};T=T();var E=function(){var e;return"desktop"===s&&(e=t.align),"tablet"===s&&(e=t.alignTablet),"mobile"===s&&(e=t.alignMobile),e};E=E();var x=function(){var e;return"desktop"===g&&(e=t.paddingType),"tablet"===g&&(e=t.paddingTypeTablet),"mobile"===g&&(e=t.paddingTypeMobile),e};x=x();var R={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},A={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},j={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},W=function(e){var n;return"top"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},q=function(){var e;return"desktop"===w&&(e=t.marginType),"tablet"===w&&(e=t.marginTypeTablet),"mobile"===w&&(e=t.marginTypeMobile),e};q=q();var Z={top:"marginTop",bottom:"marginBottom"},U={top:"marginTopTablet",bottom:"marginBottomTablet"},K={top:"marginTopMobile",bottom:"marginBottomMobile"},Q=function(e){var n;return"top"==e&&("desktop"===w&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===w&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===w&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("desktop"===w&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===w&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===w&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(V,null,wp.element.createElement(_,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(L,{className:c()("header-tab",{"is-selected":"style"===v}),onClick:function(){return k("style")}},wp.element.createElement("span",null,wp.element.createElement(z,{icon:"admin-customizer"}),N("Style"))),wp.element.createElement(L,{className:c()("header-tab",{"is-selected":"advanced"===v}),onClick:function(){return k("advanced")}},wp.element.createElement("span",null,wp.element.createElement(z,{icon:"admin-generic"}),N("Advanced")))),"style"===v&&wp.element.createElement(G,null,wp.element.createElement(_,{title:N("General Settings")},wp.element.createElement(G,null,wp.element.createElement("p",null,N("Heading Color")),wp.element.createElement(F,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(S.a,{label:"Font Size",view:d,changeViewType:m},wp.element.createElement(P,{value:T||"",onChange:function(e){"desktop"===d&&n({fontSize:e}),"tablet"===d&&n({fontSizeTablet:e}),"mobile"===d&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(S.a,{label:"Alignment",view:s,changeViewType:b},wp.element.createElement(I,{value:E,onChange:function(e){"desktop"===s&&n({align:e}),"tablet"===s&&n({alignTablet:e}),"mobile"===s&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(_,{title:N("Typography Settings"),initialOpen:!1},wp.element.createElement(u.a,{label:N("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(P,{label:N("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(P,{label:N("Letter Spacing"),value:t.letterSpacing,onChange:p,min:-50,max:100}),wp.element.createElement(H,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(G,null,wp.element.createElement(G,null,wp.element.createElement("p",null,N("Color")),wp.element.createElement(F,{label:N("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(C.a,{label:"Shadow Properties"},wp.element.createElement(P,{label:N("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(P,{label:N("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:N("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(P,{label:N("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===v&&wp.element.createElement(G,null,wp.element.createElement(_,{title:N("Highlight Color")},wp.element.createElement(G,null,wp.element.createElement("p",null,N("Highlight Color")),wp.element.createElement(F,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(G,null,wp.element.createElement("p",null,N("Highlight Background")),wp.element.createElement(F,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(_,{title:N("Spacing"),initialOpen:!1},wp.element.createElement(S.a,{label:"Padding",view:g,changeViewType:h},wp.element.createElement(B.a,{type:x,min:0,max:500,changeType:function(e){"desktop"===g&&n({paddingType:e}),"tablet"===g&&n({paddingTypeTablet:e}),"mobile"===g&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===g&&("linked"===t.paddingType?n({padding:a}):n(M({},R[e],a))),"tablet"===g&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(M({},A[e],a))),"mobile"===g&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(M({},j[e],a)))},options:[{label:N("Top"),type:"top",value:W("top")},{label:N("Right"),type:"right",value:W("right")},{label:N("Bottom"),type:"bottom",value:W("bottom")},{label:N("Left"),type:"left",value:W("left")}]})),wp.element.createElement(S.a,{label:"Margin",view:w,changeViewType:y},wp.element.createElement(B.a,{type:q,min:-500,max:500,changeType:function(e){"desktop"===w&&n({marginType:e}),"tablet"===w&&n({marginTypeTablet:e}),"mobile"===w&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===w&&("linked"===t.marginType?n({margin:a}):n(M({},Z[e],a))),"tablet"===w&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(M({},U[e],a))),"mobile"===w&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(M({},K[e],a)))},options:[{label:N("Top"),type:"top",value:Q("top")},{label:N("Right"),disabled:!0},{label:N("Bottom"),type:"bottom",value:Q("bottom")},{label:N("Left"),disabled:!0}]})))))};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.blocks.createBlock,Y=wp.blockEditor.RichText,J=wp.element,X=J.Fragment,$=J.useEffect,ee=J.useState,te=(0,wp.viewport.withViewportMatch)({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.mergeBlocks,r=e.insertBlocksAfter,i=e.onReplace,p=e.isLarger,m=e.isLarge,u=e.isSmall,b=e.isSmaller;$((function(){y()}),[]);var g,h,w,y=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-heading-".concat(l.substr(0,8));n({id:e})}},f=U(ee("desktop"),2),v=f[0],k=f[1],T=U(ee("desktop"),2),E=T[0],C=T[1],S=U(ee("desktop"),2),B=S[0],M=S[1],O=U(ee("desktop"),2),N=O[0],R=O[1],L=!p&&!m&&u&&!b,z=!(p||m||u||b),_=function(e){n({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},P=function(e){n({fontVariant:e})},H=function(e){n({fontStyle:e})},A=function(e){n({textTransform:e})},I=function(e){n({lineHeight:e})},F=function(e){n({letterSpacing:e})};p&&!m&&u&&!b&&(g={fontSize:"".concat(t.fontSize,"px")},h={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),L&&(g={fontSize:"".concat(t.fontSizeTablet,"px")},h={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),z&&(g={fontSize:"".concat(t.fontSizeMobile,"px")},h={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(w={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(d()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var V=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:t.headingColor},g,{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},h,{},w);return wp.element.createElement(X,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(s.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(x,{attributes:t,setAttributes:n,changeFontFamily:_,changeFontVariant:P,changeFontStyle:H,changeTextTransform:A,changeLineHeight:I,changeLetterSpacing:F}),wp.element.createElement(W,{attributes:t,setAttributes:n,changeFontFamily:_,changeFontVariant:P,changeFontStyle:H,changeTextTransform:A,changeLineHeight:I,changeLetterSpacing:F,fontSizeViewType:v,setFontSizeViewType:k,alignmentViewType:E,setAlignmentViewType:C,paddingViewType:B,setPaddingViewType:M,marginViewType:N,setMarginViewType:R}),wp.element.createElement(Y,{identifier:"content",className:c()(t.id,a),value:t.content,placeholder:K("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:o,unstableOnSplit:r?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];r([].concat(l,[Q("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])},style:V,onChange:function(e){n({content:e})}}))}));function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le=wp.blockEditor.RichText,oe=function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(d()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(le.Content,{tagName:n.tag,value:n.content,id:n.id,className:c()(n.id,a),style:l})},re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:re("Advanced Heading"),description:re("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:a.h,category:"themeisle-blocks",keywords:[re("heading"),re("title"),re("advanced heading")],attributes:l,transforms:r,edit:te,save:oe})},function(e,t,n){"use strict";n.r(t);n(55),n(56);var a=n(2),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}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}var i=[{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}}],c=wp.i18n.__,p=wp.blockEditor,d=p.AlignmentToolbar,m=p.BlockControls,s=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(m,null,wp.element.createElement(d,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:c("Align left"),align:"left"},{icon:"editor-aligncenter",title:c("Align center"),align:"center"},{icon:"editor-alignright",title:c("Align right"),align:"right"}]}))},u=n(20);function b(e){return(b="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 g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var h=wp.i18n.__,w=wp.components,y=w.BaseControl,f=w.Button,v=w.ButtonGroup,k=w.PanelBody,T=w.Placeholder,E=w.RangeControl,x=w.Spinner,C=w.ToggleControl,S=wp.blockEditor,B=S.ColorPalette,M=S.ContrastChecker,O=S.InspectorControls,N=wp.element,R=N.Fragment,L=N.useState,z=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,103))})),_=function(e){var t=e.attributes,n=e.setAttributes,a=g(L(!1),2),l=a[0],o=a[1];return wp.element.createElement(O,null,wp.element.createElement(k,{title:h("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(T,null,wp.element.createElement(x,null))},wp.element.createElement(z,{label:h("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===b(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}})),wp.element.createElement(u.a,{label:h("Link"),placeholder:"https://…",value:t.link,onChange:function(e){n({link:e})}},wp.element.createElement(C,{label:"Open in New Tab?",checked:t.newTab,onChange:function(){n({newTab:!t.newTab})}}))),wp.element.createElement(k,{title:h("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(E,{label:h("Text Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(E,{label:h("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(E,{label:h("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(k,{title:h("Color"),initialOpen:!1},wp.element.createElement(v,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(f,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return o(!1)}},h("Normal")),wp.element.createElement(f,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return o(!0)}},h("Hover"))),l?wp.element.createElement(R,null,wp.element.createElement(y,{label:"Hover Background"},wp.element.createElement(B,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(y,{label:"Hover Icon"},wp.element.createElement(B,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(y,{label:"Hover Border"},wp.element.createElement(B,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(M,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(R,null,wp.element.createElement(y,{label:"Background"},wp.element.createElement(B,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(y,{label:"Icon"},wp.element.createElement(B,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(y,{label:"Border"},wp.element.createElement(B,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(M,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(k,{title:h("Border Settings"),initialOpen:!1},wp.element.createElement(E,{label:h("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(E,{label:h("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"})))},P=(wp.i18n.__,wp.element),H=P.Fragment,A=P.useEffect,I=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId;A((function(){o()}),[]);var o=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-font-awesome-icons-".concat(l.substr(0,8));n({id:e})}},r={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},i={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(H,null,wp.element.createElement(s,{attributes:t,setAttributes:n}),wp.element.createElement(_,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:i},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:r}))))},F=function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))},V=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:V("Font Awesome Icons"),description:V("Share buttons for your website visitors to share content on any social sharing service."),icon:a.g,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:i,edit:I,save:F})},function(e,t,n){"use strict";n.r(t);n(64),n(65);var a=n(2),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},o=n(11),r=n(35),i=n.n(r),c=n(0),p=n.n(c),d=n(23);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=lodash,u=s.startCase,b=s.toLower,g=wp.i18n.__,h=wp.components,w=h.IconButton,y=h.TextControl,f=h.SelectControl,v=h.ToggleControl,k=wp.element,T=k.Fragment,E=k.useState,x=Object(d.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),C=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,d=m(E(!1),2),s=d[0],h=d[1],k=u(b(n)),C="hidden",S=g("Display ".concat(k));switch(l(n)&&(C="visibility",S=g("Hide ".concat(k))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(x,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},k),t&&wp.element.createElement(w,{icon:s?"arrow-up-alt2":"arrow-down-alt2",label:g(s?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return h(!s)}}),wp.element.createElement(w,{icon:C,label:S,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),h(!1)}})),t&&wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:s&&l(n)})},"image"===n&&wp.element.createElement(T,null,wp.element.createElement(f,{label:g("Image Size"),value:r.value,options:[{label:g("Thumbnail"),value:"thumbnail"},{label:g("Medium"),value:"medium"},{label:g("Medium Large"),value:"medium_large"},{label:g("Large"),value:"large"},{label:g("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(v,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(f,{label:g("Title Tag"),value:i.value||"h5",options:[{label:g("H1"),value:"h1"},{label:g("H2"),value:"h2"},{label:g("H3"),value:"h3"},{label:g("H4"),value:"h4"},{label:g("H5"),value:"h5"},{label:g("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(y,{label:g("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(T,null,wp.element.createElement(v,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(v,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},S=Object(d.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(C,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),B=Object(d.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(S,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))}));function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var O=wp.i18n.__,N=wp.element,R=N.Fragment,L=N.useState,z=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,c=e.excerptLimit,d=M(L(!1),2);d[0],d[1];return wp.element.createElement(R,null,wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(C,{value:O("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(B,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=i()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:c,useDragHandle:!0})))},_=n(18),P=wp.i18n.__,H=wp.components,A=H.PanelBody,I=H.QueryControls,F=H.RangeControl,V=wp.blockEditor.InspectorControls,j=(wp.element.Fragment,function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList;return wp.element.createElement(V,null,wp.element.createElement(A,{title:P("Styles"),initialOpen:!1},wp.element.createElement(o.b,{value:t.style,options:[{label:P("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:P("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(A,{title:P("Settings")},"grid"===t.style&&wp.element.createElement(F,{label:P("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(I,{order:t.order,orderBy:t.orderBy,numberOfItems:t.postsToShow,categoriesList:l,selectedCategoryId:t.categories,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),wp.element.createElement(A,{title:P("Design & Layout"),initialOpen:!1},wp.element.createElement(z,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))}),G=lodash,D=G.isUndefined,W=G.pickBy,q=wp.i18n.__,Z=wp.components,U=Z.Disabled,K=Z.Placeholder,Q=Z.Spinner,Y=wp.data.withSelect,J=wp.element.Fragment,X=Y((function(e,t){var n=t.attributes,a=n.categories,l=n.order,o=n.orderBy,r=n.postsToShow,i=W({categories:a,order:l,orderby:o,per_page:r},(function(e){return!D(e)}));return{posts:e("core").getEntityRecords("postType","post",i),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.posts,r=e.categoriesList,i=e.authors,c=function(e){n({style:e})};return l&&r&&i?0===l.length?wp.element.createElement(K,null,q("No Posts")):wp.element.createElement(J,null,wp.element.createElement(o.a,{label:q("Block Styles"),value:t.style,options:[{label:q("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:q("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(j,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(U,null,wp.element.createElement(_.default,{className:a,attributes:t,posts:l,categoriesList:r,authors:i}))):wp.element.createElement(K,null,wp.element.createElement(Q,null),q("Loading Posts"))})),$=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:$("Posts"),description:$("Display a list of your most recent posts in a beautiful layout."),icon:a.n,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},edit:X,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(82),n(83);var a=n(2),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},p=wp.components,d=p.Path,m=p.SVG,s=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(d,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(d,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(d,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(d,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var u=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,h=g.Toolbar,w=g.Button,y=g.Tooltip,f=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(h,null,Object.keys(c).map((function(e,n){var l=t[e];return wp.element.createElement(y,{text:u("Display ".concat(c[e].label))},wp.element.createElement(w,{className:r()("components-icon-button","components-toolbar__control",{"is-active":l}),onClick:function(t){return a(e)}},wp.element.createElement(s,{icon:e})))}))))},v=(wp.i18n.__,wp.element.Fragment),k=function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return wp.element.createElement(v,null,wp.element.createElement(f,{attributes:t,setAttributes:n}),wp.element.createElement("div",{className:r()(a,{"has-label":!t.className||!t.className.includes("is-style-icons")})},Object.keys(c).map((function(e,n){if(!0===t[e])return wp.element.createElement("a",{className:"social-icon is-".concat(e)},wp.element.createElement("i",{className:"fab fa-".concat(c[e].icon)}),(!t.className||!t.className.includes("is-style-icons"))&&c[e].label)}))))},T=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:T("Sharing Icons"),description:T("Share buttons for your website visitors to share content on any social sharing service."),icon:a.q,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:T("Regular"),isDefault:!0},{name:"icons",label:T("Icons Only")}],edit:k,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(62),n(63);var a=n(2),l={slug:{type:"string"}},o=n(21);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=wp.i18n.__,p=wp.apiFetch,d=wp.components,m=d.Button,s=d.Placeholder,u=d.Dashicon,b=d.TextControl,g=d.Spinner,h=wp.element,w=h.useEffect,y=h.useRef,f=h.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=function(e){var t=e.attributes,n=e.setAttributes,a=e.isFetching,l=e.hasError,d=e.setError,h=e.fetchPlugin,v=e.saveData,C=e.className,S=y(null),B=!1,M=[],O=i(f(!1),2),N=O[0],R=O[1],L=i(f(""),2),z=L[0],P=L[1],H=i(f({}),2),A=H[0],I=H[1],F=i(f(null),2),V=F[0],j=F[1];w((function(){null===V||B||(B=!0,Object(o.a)(M[V],S.current,{onlyScrollIfNeeded:!0}),M[V].focus(),setTimeout((function(){B=!1}),100))}),[V]);var G=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n({slug:""}),R(!0),d(!1),e.next=5,p({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(t))});case 5:if(!(a=e.sent).data.errors){e.next=12;break}return d(!0),R(!1),j(null),I({}),e.abrupt("return");case 12:R(!1),j(null),I(a.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),D=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();A[V];var t=V?V-1:Object.keys(A).length-1;j(t)}},W=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();A[V];var t=null===V||V===Object.keys(A).length-1?0:V+1;j(t)}},q=function(e){n({slug:e.slug}),v(e),I({})};return a?wp.element.createElement(s,null,wp.element.createElement(g,null)):t.slug&&l?wp.element.createElement(s,{className:C},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},c("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:h},c("Try again")))):wp.element.createElement(s,{icon:"admin-plugins",label:c("Plugin Card"),instructions:c("Search for the plugin you want to display."),className:C},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(u,{icon:"search"}),N&&wp.element.createElement(g,null),wp.element.createElement(b,{type:"text",placeholder:c("Search for plugin…"),value:z,onChange:P,onKeyDown:function(e){switch(e.keyCode){case x:D(e);break;case k:W(e);break;case E:Object.keys(A).length&&!e.shiftKey&&j(0);break;case T:G(e.target.value)}},onFocus:function(){return j(null)}}),A&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:S},Object.keys(A).map((function(e){var t,n,a=A[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){M[n]=e}),onClick:function(e){e.preventDefault(),q(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case x:D(e);break;case k:W(e);break;case E:if(e.shiftKey){0!==V&&D(e);break}if(V===Object.keys(A).length-1)break;W(e);break;case T:q(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),l&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},c("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:function(){return G(z)}},c("Try again"))))},S=wp.i18n.__,B=wp.components,M=B.Dashicon,O=B.Button,N=B.Toolbar,R=B.Tooltip,L=wp.blockEditor.BlockControls,z=function(e){var t=e.setLoaded;return wp.element.createElement(L,null,wp.element.createElement(N,null,wp.element.createElement(R,{text:S("Edit")},wp.element.createElement(O,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(M,{icon:"edit"})))))},P=n(4);function H(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var I=wp.i18n.__,F=wp.apiFetch,V=wp.components,j=(V.Dashicon,V.TextControl,V.Spinner,V.Button,V.Toolbar,V.Tooltip,wp.blockEditor.BlockControls,wp.element),G=j.Fragment,D=j.useEffect,W=j.useState,q=(wp.keycodes.ENTER,function(e){var t=e.attributes,n=e.setAttributes,a=e.className;D((function(){t.slug&&k()}),[]);var l,o,r,i,c,p=A(W(!1),2),d=p[0],m=p[1],s=A(W(!1),2),u=s[0],b=s[1],g=A(W(!1),2),h=g[0],w=g[1],y=A(W({}),2),f=y[0],v=y[1],k=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),w(!1),b(!0),e.next=5,F({path:"themeisle-gutenberg-blocks/v1/get_plugin?slug=".concat(encodeURIComponent(t.slug))});case 5:if(!(n=e.sent).data.errors){e.next=11;break}return w(!0),m(!1),b(!1),e.abrupt("return");case 11:T(n.data),b(!1);case 13:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){H(o,a,l,r,i,"next",e)}function i(e){H(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return n.apply(this,arguments)}}(),T=function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),v({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),m(!0)};return!d||u?wp.element.createElement(C,{attributes:t,setAttributes:n,isFetching:u,hasError:h,setError:w,fetchPlugin:k,saveData:T,className:a}):wp.element.createElement(G,null,wp.element.createElement(z,{setLoaded:m}),wp.element.createElement("div",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-wrapper"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-header"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-main"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-logo"},wp.element.createElement("img",{src:f.pluginIcon,alt:Object(P.b)(f.pluginName),title:Object(P.b)(f.pluginName)})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-info"},wp.element.createElement("h4",null,Object(P.b)(f.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(f.pluginAuthor)}})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-ratings",dangerouslySetInnerHTML:{__html:_.unescape((l=f.pluginRating,o=Math.floor(l/10)/2,r=Math.floor(o),i=Math.ceil(o-r),c=5-r-i,'<span className="star-full"></span>'.repeat(r)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-details"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-description"},Object(P.b)(f.pluginDescription)),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats"},wp.element.createElement("h5",null,I("Plugin Stats")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats-list"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginInstalls.toLocaleString(),"+"),I("active installs")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginVersion),I("version")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginTested),I("tested up to"))))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-download"},wp.element.createElement("a",{href:f.pluginLink},I("Download"))))))}),Z=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:Z("Plugin Card"),description:Z("Plugin Card block lets you display plugins data in your blog posts."),icon:a.m,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:q,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(41),n(42);var a=n(2),l={id:{type:"number"}};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=wp.i18n.__,i=wp.components,c=(i.Placeholder,i.Spinner),p=wp.data.withSelect,d=wp.element,m=d.useEffect,s=d.useState,u=p((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.postAuthor,i=e.authors;m((function(){!d&&l&&i&&i.find((function(e){if(e.id===l)return l!==t.id&&n({id:e.id}),u(!0),h(e),e.id===l}))}),[l,i]);var p=o(s(!1),2),d=p[0],u=p[1],b=o(s({}),2),g=b[0],h=b[1];return d?wp.element.createElement("section",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:g.avatar_urls[96],alt:g.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,g.name),wp.element.createElement("p",null,g.description))):wp.element.createElement("div",{className:"wp-block-themeisle-author-loading"},wp.element.createElement(c,null),wp.element.createElement("p",{className:"wp-block-themeisle-author-loading-text"},r("Loading…")))})),b=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:b("About Author"),description:b("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:l,supports:{html:!1},edit:u,save:function(){return null}})},,function(e,t,n){"use strict";n.r(t);n(38);var a=n(2);n(39);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var r=e.apply(t,n);function i(e){o(r,a,l,i,c,"next",e)}function c(e){o(r,a,l,i,c,"throw",e)}i(void 0)}))}}var i=wp.i18n.__,c=wp.apiFetch,p=wp.components,d=p.BaseControl,m=p.CheckboxControl,s=p.Modal,u=wp.element,b=u.Fragment,g=u.useEffect,h=u.useRef,w=u.useState,y=wp.editPost.PluginMoreMenuItem,f=function(){g(r(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c({path:"wp/v2/users/me?context=edit"});case 2:if(!t.sent.capabilities.manage_options){t.next=8;break}return a(!0),t.next=7,wp.api.loadPromise.then((function(){e.current=new wp.api.models.Settings}));case 7:!1===p&&e.current.fetch().then((function(e){k(Boolean(e.themeisle_blocks_settings_default_block)),u(!1)}));case 8:case"end":return t.stop()}}),t)}))),[]);var e=h(null),t=l(w(!1),2),n=t[0],a=t[1],o=l(w(!1),2),p=o[0],u=o[1],f=l(w(!1),2),v=f[0],k=f[1],T=l(w(!1),2),E=T[0],x=T[1];return wp.element.createElement(b,null,n&&wp.element.createElement(y,{onClick:function(){return x(!0)}},i("Otter Options")),E&&wp.element.createElement(s,{title:i("Otter Options"),overlayClassName:"wp-block-themeisle-blocks-options",onRequestClose:function(){return x(!1)}},wp.element.createElement(d,null,wp.element.createElement(m,{label:i("Make Section block your default block for Pages?"),checked:v,onChange:function(){var t=new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(v)}).save();t.success((function(t,n){"success"===n&&(e.current.fetch(),k(Boolean(t.themeisle_blocks_settings_default_block))),"error"===n&&console.log(t),e.current.fetch()})),t.error((function(e,t){console.log(e)}))}}))))},v=(n(40),wp.components.Icon),k=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(v,{icon:a.l}),render:function(){return wp.element.createElement(k,null,wp.element.createElement(f,null))}})}]);
|
vendor/codeinwp/gutenberg-blocks/build/chunk-1.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[]).push([[1],{122:function(c){c.exports=JSON.parse('{"500px":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f26e","label":"500px","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"}}},"accessible-icon":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["accessibility","handicap","person","wheelchair","wheelchair-alt"]},"styles":["brands"],"unicode":"f368","label":"Accessible Icon","voted":false,"svg":{"brands":{"last_modified":1502397066000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"}}},"accusoft":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f369","label":"Accusoft","voted":false,"svg":{"brands":{"last_modified":1521653821380,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8"}}},"acquisitions-incorporated":{"changes":["5.4.0"],"ligatures":[],"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated","voted":false,"svg":{"brands":{"last_modified":1539718624416,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 344.76 512\\"><path d=\\"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z\\"/></svg>","viewBox":["0","0","344.76","512"],"width":344,"height":512,"path":"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z"}}},"ad":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f641","label":"Ad","voted":false,"svg":{"solid":{"last_modified":1535388320869,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"}}},"address-book":{"changes":["4.7","5.0.0","5.0.3"],"ligatures":[],"search":{"terms":[]},"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book","voted":false,"svg":{"solid":{"last_modified":1525209365064,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"},"regular":{"last_modified":1525209365040,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"}}},"address-card":{"changes":["4.7","5.0.0","5.0.3"],"ligatures":[],"search":{"terms":[]},"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card","voted":false,"svg":{"solid":{"last_modified":1525209365064,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"},"regular":{"last_modified":1525209365041,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"}}},"adjust":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["contrast"]},"styles":["solid"],"unicode":"f042","label":"adjust","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"}}},"adn":{"changes":["3.2","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f170","label":"App.net","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"}}},"adobe":{"changes":["5.6.0"],"ligatures":[],"search":{"terms":["acrobat","app","design","illustrator","indesign","photoshop"]},"styles":["brands"],"unicode":"f778","label":"Adobe","voted":false,"svg":{"brands":{"last_modified":1543956065694,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 460.8 512\\"><path d=\\"M289.9 64.3h170.9v384l-170.9-384zm-119 0H0v384l170.9-384zm59.5 142.1l107.5 241.9h-73l-30.7-76.8h-78.7l74.9-165.1z\\"/></svg>","viewBox":["0","0","460.8","512"],"width":460,"height":512,"path":"M289.9 64.3h170.9v384l-170.9-384zm-119 0H0v384l170.9-384zm59.5 142.1l107.5 241.9h-73l-30.7-76.8h-78.7l74.9-165.1z"}}},"adversal":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36a","label":"Adversal","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"}}},"affiliatetheme":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36b","label":"affiliatetheme","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z"}}},"air-freshener":{"changes":["5.2.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f5d0","label":"Air Freshener","voted":false,"svg":{"solid":{"last_modified":1532362831512,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 384 512\\"><path d=\\"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z\\"/></svg>","viewBox":["0","0","384","512"],"width":384,"height":512,"path":"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z"}}},"algolia":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36c","label":"Algolia","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z"}}},"align-center":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["middle","text"]},"styles":["solid"],"unicode":"f037","label":"align-center","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-justify":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f039","label":"align-justify","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"align-left":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f036","label":"align-left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-right":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["text"]},"styles":["solid"],"unicode":"f038","label":"align-right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"alipay":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f642","label":"Alipay","voted":false,"svg":{"brands":{"last_modified":1535388320780,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z"}}},"allergies":{"changes":["5.0.7"],"ligatures":[],"search":{"terms":["freckles","hand","intolerances","pox","spots"]},"styles":["solid"],"unicode":"f461","label":"Allergies","voted":false,"svg":{"solid":{"last_modified":1521653821440,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"}}},"amazon":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f270","label":"Amazon","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z"}}},"amazon-pay":{"changes":["5.0.2"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f42c","label":"Amazon Pay","voted":false,"svg":{"brands":{"last_modified":1513713060429,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 611.2 512\\"><path d=\\"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z\\"/></svg>","viewBox":["0","0","611.2","512"],"width":611,"height":512,"path":"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z"}}},"ambulance":{"changes":["3","5.0.0","5.0.7"],"ligatures":[],"search":{"terms":["help","machine","support","vehicle"]},"styles":["solid"],"unicode":"f0f9","label":"ambulance","voted":false,"svg":{"solid":{"last_modified":1521653821441,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"}}},"american-sign-language-interpreting":{"changes":["4.6","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting","voted":false,"svg":{"solid":{"last_modified":1503937790000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z"}}},"amilia":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36d","label":"Amilia","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7"}}},"anchor":{"changes":["3.1","5.0.0"],"ligatures":[],"search":{"terms":["link"]},"styles":["solid"],"unicode":"f13d","label":"Anchor","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"}}},"android":{"changes":["3.2","5.0.0"],"ligatures":[],"search":{"terms":["robot"]},"styles":["brands"],"unicode":"f17b","label":"Android","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z"}}},"angellist":{"changes":["4.2","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f209","label":"AngelList","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z"}}},"angle-double-down":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows"]},"styles":["solid"],"unicode":"f103","label":"Angle Double Down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}},"angle-double-left":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows","back","laquo","previous","quote"]},"styles":["solid"],"unicode":"f100","label":"Angle Double Left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"}}},"angle-double-right":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows","forward","next","quote","raquo"]},"styles":["solid"],"unicode":"f101","label":"Angle Double Right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"}}},"angle-double-up":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrows"]},"styles":["solid"],"unicode":"f102","label":"Angle Double Up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"}}},"angle-down":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow"]},"styles":["solid"],"unicode":"f107","label":"angle-down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}},"angle-left":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow","back","previous"]},"styles":["solid"],"unicode":"f104","label":"angle-left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 512\\"><path d=\\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\\"/></svg>","viewBox":["0","0","256","512"],"width":256,"height":512,"path":"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}},"angle-right":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow","forward","next"]},"styles":["solid"],"unicode":"f105","label":"angle-right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 512\\"><path d=\\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\\"/></svg>","viewBox":["0","0","256","512"],"width":256,"height":512,"path":"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}},"angle-up":{"changes":["3","5.0.0"],"ligatures":[],"search":{"terms":["arrow"]},"styles":["solid"],"unicode":"f106","label":"angle-up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"}}},"angry":{"changes":["5.1.0"],"ligatures":[],"search":{"terms":["disapprove","emoticon","face","mad","upset"]},"styles":["solid","regular"],"unicode":"f556","label":"Angry Face","voted":false,"svg":{"solid":{"last_modified":1529520111644,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"},"regular":{"last_modified":1529520111607,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 496 512\\"><path d=\\"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z\\"/></svg>","viewBox":["0","0","496","512"],"width":496,"height":512,"path":"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"}}},"angrycreative":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36e","label":"Angry Creative","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z"}}},"angular":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f420","label":"Angular","voted":false,"svg":{"brands":{"last_modified":1511194600653,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 415.6 512\\"><path d=\\"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z\\"/></svg>","viewBox":["0","0","415.6","512"],"width":415,"height":512,"path":"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z"}}},"ankh":{"changes":["5.3.0"],"ligatures":[],"search":{"terms":["amulet","copper","coptic christianity","copts","crux ansata","egyptian","venus"]},"styles":["solid"],"unicode":"f644","label":"Ankh","voted":false,"svg":{"solid":{"last_modified":1535388320870,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 320 512\\"><path d=\\"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z\\"/></svg>","viewBox":["0","0","320","512"],"width":320,"height":512,"path":"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z"}}},"app-store":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f36f","label":"App Store","voted":false,"svg":{"brands":{"last_modified":1521653821381,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z"}}},"app-store-ios":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f370","label":"iOS App Store","voted":false,"svg":{"brands":{"last_modified":1507838931322,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z"}}},"apper":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f371","label":"Apper Systems AB","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.2 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3H137v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm57.9-60.7h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.3 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3h-39.5v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm53.8-3.8c0-25.4 3.3-37.8 12.3-45.8 8.8-8.1 22.2-11.3 45.1-11.3 42.8 0 55.7 12.8 55.7 55.7v11.1h-75.3c-.3 2-.3 4-.3 4.8 0 16.9 4.5 21.9 20.1 21.9 13.9 0 17.9-3 17.9-13.9h37.5v2.3c0 9.8-2.5 18.9-6.8 24.7-7.3 9.8-19.6 13.6-44.3 13.6-27.5 0-41.6-3.3-50.6-12.3-8.5-8.5-11.3-21.3-11.3-50.8zm76.4-11.6c-.3-1.8-.3-3.3-.3-3.8 0-12.3-3.3-14.6-19.6-14.6-14.4 0-17.1 3-18.1 15.1l-.3 3.3h38.3zm55.6-45.3h38.3l-1.8 19.9h.7c6.8-14.9 14.4-20.2 29.7-20.2 10.8 0 19.1 3.3 23.4 9.3 5.3 7.3 6.8 14.4 6.8 34 0 1.5 0 5 .2 9.3h-35c.3-1.8.3-3.3.3-4 0-15.4-2-19.4-10.3-19.4-6.3 0-10.8 3.3-13.1 9.3-1 3-1 4.3-1 12.3v68h-38.3V192.3z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.2 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3H137v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm57.9-60.7h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.3 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3h-39.5v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm53.8-3.8c0-25.4 3.3-37.8 12.3-45.8 8.8-8.1 22.2-11.3 45.1-11.3 42.8 0 55.7 12.8 55.7 55.7v11.1h-75.3c-.3 2-.3 4-.3 4.8 0 16.9 4.5 21.9 20.1 21.9 13.9 0 17.9-3 17.9-13.9h37.5v2.3c0 9.8-2.5 18.9-6.8 24.7-7.3 9.8-19.6 13.6-44.3 13.6-27.5 0-41.6-3.3-50.6-12.3-8.5-8.5-11.3-21.3-11.3-50.8zm76.4-11.6c-.3-1.8-.3-3.3-.3-3.8 0-12.3-3.3-14.6-19.6-14.6-14.4 0-17.1 3-18.1 15.1l-.3 3.3h38.3zm55.6-45.3h38.3l-1.8 19.9h.7c6.8-14.9 14.4-20.2 29.7-20.2 10.8 0 19.1 3.3 23.4 9.3 5.3 7.3 6.8 14.4 6.8 34 0 1.5 0 5 .2 9.3h-35c.3-1.8.3-3.3.3-4 0-15.4-2-19.4-10.3-19.4-6.3 0-10.8 3.3-13.1 9.3-1 3-1 4.3-1 12.3v68h-38.3V192.3z"}}},"apple":{"changes":["3.2","5.0.0","5.0.7"],"ligatures":[],"search":{"terms":["food","fruit","ios","mac","operating system","os","osx"]},"styles":["brands"],"unicode":"f179","label":"Apple","voted":false,"svg":{"brands":{"last_modified":1519917094301,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 376.5 512\\"><path d=\\"M314.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C59.3 141.2 0 184.8 0 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\\"/></svg>","viewBox":["0","0","376.5","512"],"width":376,"height":512,"path":"M314.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C59.3 141.2 0 184.8 0 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"}}},"apple-alt":{"changes":["5.2.0"],"ligatures":[],"search":{"terms":["fall","food","fruit","fuji","macintosh","seasonal"]},"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple","voted":false,"svg":{"solid":{"last_modified":1539718624475,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z"}}},"apple-pay":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f415","label":"Apple Pay","voted":true,"svg":{"brands":{"last_modified":1507669930671,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 640 512\\"><path d=\\"M116.9 158.5c-7.5 8.9-19.5 15.9-31.5 14.9-1.5-12 4.4-24.8 11.3-32.6 7.5-9.1 20.6-15.6 31.3-16.1 1.2 12.4-3.7 24.7-11.1 33.8m10.9 17.2c-17.4-1-32.3 9.9-40.5 9.9-8.4 0-21-9.4-34.8-9.1-17.9.3-34.5 10.4-43.6 26.5-18.8 32.3-4.9 80 13.3 106.3 8.9 13 19.5 27.3 33.5 26.8 13.3-.5 18.5-8.6 34.5-8.6 16.1 0 20.8 8.6 34.8 8.4 14.5-.3 23.6-13 32.5-26 10.1-14.8 14.3-29.1 14.5-29.9-.3-.3-28-10.9-28.3-42.9-.3-26.8 21.9-39.5 22.9-40.3-12.5-18.6-32-20.6-38.8-21.1m100.4-36.2v194.9h30.3v-66.6h41.9c38.3 0 65.1-26.3 65.1-64.3s-26.4-64-64.1-64h-73.2zm30.3 25.5h34.9c26.3 0 41.3 14 41.3 38.6s-15 38.8-41.4 38.8h-34.8V165zm162.2 170.9c19 0 36.6-9.6 44.6-24.9h.6v23.4h28v-97c0-28.1-22.5-46.3-57.1-46.3-32.1 0-55.9 18.4-56.8 43.6h27.3c2.3-12 13.4-19.9 28.6-19.9 18.5 0 28.9 8.6 28.9 24.5v10.8l-37.8 2.3c-35.1 2.1-54.1 16.5-54.1 41.5.1 25.2 19.7 42 47.8 42zm8.2-23.1c-16.1 0-26.4-7.8-26.4-19.6 0-12.3 9.9-19.4 28.8-20.5l33.6-2.1v11c0 18.2-15.5 31.2-36 31.2zm102.5 74.6c29.5 0 43.4-11.3 55.5-45.4L640 193h-30.8l-35.6 115.1h-.6L537.4 193h-31.6L557 334.9l-2.8 8.6c-4.6 14.6-12.1 20.3-25.5 20.3-2.4 0-7-.3-8.9-.5v23.4c1.8.4 9.3.7 11.6.7z\\"/></svg>","viewBox":["0","0","640","512"],"width":640,"height":512,"path":"M116.9 158.5c-7.5 8.9-19.5 15.9-31.5 14.9-1.5-12 4.4-24.8 11.3-32.6 7.5-9.1 20.6-15.6 31.3-16.1 1.2 12.4-3.7 24.7-11.1 33.8m10.9 17.2c-17.4-1-32.3 9.9-40.5 9.9-8.4 0-21-9.4-34.8-9.1-17.9.3-34.5 10.4-43.6 26.5-18.8 32.3-4.9 80 13.3 106.3 8.9 13 19.5 27.3 33.5 26.8 13.3-.5 18.5-8.6 34.5-8.6 16.1 0 20.8 8.6 34.8 8.4 14.5-.3 23.6-13 32.5-26 10.1-14.8 14.3-29.1 14.5-29.9-.3-.3-28-10.9-28.3-42.9-.3-26.8 21.9-39.5 22.9-40.3-12.5-18.6-32-20.6-38.8-21.1m100.4-36.2v194.9h30.3v-66.6h41.9c38.3 0 65.1-26.3 65.1-64.3s-26.4-64-64.1-64h-73.2zm30.3 25.5h34.9c26.3 0 41.3 14 41.3 38.6s-15 38.8-41.4 38.8h-34.8V165zm162.2 170.9c19 0 36.6-9.6 44.6-24.9h.6v23.4h28v-97c0-28.1-22.5-46.3-57.1-46.3-32.1 0-55.9 18.4-56.8 43.6h27.3c2.3-12 13.4-19.9 28.6-19.9 18.5 0 28.9 8.6 28.9 24.5v10.8l-37.8 2.3c-35.1 2.1-54.1 16.5-54.1 41.5.1 25.2 19.7 42 47.8 42zm8.2-23.1c-16.1 0-26.4-7.8-26.4-19.6 0-12.3 9.9-19.4 28.8-20.5l33.6-2.1v11c0 18.2-15.5 31.2-36 31.2zm102.5 74.6c29.5 0 43.4-11.3 55.5-45.4L640 193h-30.8l-35.6 115.1h-.6L537.4 193h-31.6L557 334.9l-2.8 8.6c-4.6 14.6-12.1 20.3-25.5 20.3-2.4 0-7-.3-8.9-.5v23.4c1.8.4 9.3.7 11.6.7z"}}},"archive":{"changes":["3.2","5.0.0","5.0.9"],"ligatures":[],"search":{"terms":["box","package","storage"]},"styles":["solid"],"unicode":"f187","label":"Archive","voted":false,"svg":{"solid":{"last_modified":1521653821441,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"}}},"archway":{"changes":["5.1.0"],"ligatures":[],"search":{"terms":["arc","monument","road","street"]},"styles":["solid"],"unicode":"f557","label":"Archway","voted":false,"svg":{"solid":{"last_modified":1529520111645,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M560 448h-16V96H32v352H16.02c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16H176c8.84 0 16-7.16 16-16V320c0-53.02 42.98-96 96-96s96 42.98 96 96l.02 160v16c0 8.84 7.16 16 16 16H560c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm0-448H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h544c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M560 448h-16V96H32v352H16.02c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16H176c8.84 0 16-7.16 16-16V320c0-53.02 42.98-96 96-96s96 42.98 96 96l.02 160v16c0 8.84 7.16 16 16 16H560c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm0-448H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h544c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z"}}},"arrow-alt-circle-down":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrow-circle-o-down","download"]},"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM212 140v116h-70.9c-10.7 0-16.1 13-8.5 20.5l114.9 114.3c4.7 4.7 12.2 4.7 16.9 0l114.9-114.3c7.6-7.6 2.2-20.5-8.5-20.5H300V140c0-6.6-5.4-12-12-12h-64c-6.6 0-12 5.4-12 12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM212 140v116h-70.9c-10.7 0-16.1 13-8.5 20.5l114.9 114.3c4.7 4.7 12.2 4.7 16.9 0l114.9-114.3c7.6-7.6 2.2-20.5-8.5-20.5H300V140c0-6.6-5.4-12-12-12h-64c-6.6 0-12 5.4-12 12z"},"regular":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"}}},"arrow-alt-circle-left":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrow-circle-o-left","back","previous"]},"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z"},"regular":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"}}},"arrow-alt-circle-right":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrow-circle-o-right","forward","next"]},"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"},"regular":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"}}},"arrow-alt-circle-up":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrow-circle-o-up"]},"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm292 116V256h70.9c10.7 0 16.1-13 8.5-20.5L264.5 121.2c-4.7-4.7-12.2-4.7-16.9 0l-115 114.3c-7.6 7.6-2.2 20.5 8.5 20.5H212v116c0 6.6 5.4 12 12 12h64c6.6 0 12-5.4 12-12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm292 116V256h70.9c10.7 0 16.1-13 8.5-20.5L264.5 121.2c-4.7-4.7-12.2-4.7-16.9 0l-115 114.3c-7.6 7.6-2.2 20.5 8.5 20.5H212v116c0 6.6 5.4 12 12 12h64c6.6 0 12-5.4 12-12z"},"regular":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"}}},"arrow-circle-down":{"changes":["2","5.0.0"],"ligatures":[],"search":{"terms":["download"]},"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-143.6-28.9L288 302.6V120c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24v182.6l-72.4-75.5c-9.3-9.7-24.8-9.9-34.3-.4l-10.9 11c-9.4 9.4-9.4 24.6 0 33.9L239 404.3c9.4 9.4 24.6 9.4 33.9 0l132.7-132.7c9.4-9.4 9.4-24.6 0-33.9l-10.9-11c-9.5-9.5-25-9.3-34.3.4z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-143.6-28.9L288 302.6V120c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24v182.6l-72.4-75.5c-9.3-9.7-24.8-9.9-34.3-.4l-10.9 11c-9.4 9.4-9.4 24.6 0 33.9L239 404.3c9.4 9.4 24.6 9.4 33.9 0l132.7-132.7c9.4-9.4 9.4-24.6 0-33.9l-10.9-11c-9.5-9.5-25-9.3-34.3.4z"}}},"arrow-circle-left":{"changes":["2","5.0.0"],"ligatures":[],"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"}}},"arrow-circle-right":{"changes":["2","5.0.0"],"ligatures":[],"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"}}},"arrow-circle-up":{"changes":["2","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm143.6 28.9l72.4-75.5V392c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V209.4l72.4 75.5c9.3 9.7 24.8 9.9 34.3.4l10.9-11c9.4-9.4 9.4-24.6 0-33.9L273 107.7c-9.4-9.4-24.6-9.4-33.9 0L106.3 240.4c-9.4 9.4-9.4 24.6 0 33.9l10.9 11c9.6 9.5 25.1 9.3 34.4-.4z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm143.6 28.9l72.4-75.5V392c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V209.4l72.4 75.5c9.3 9.7 24.8 9.9 34.3.4l10.9-11c9.4-9.4 9.4-24.6 0-33.9L273 107.7c-9.4-9.4-24.6-9.4-33.9 0L106.3 240.4c-9.4 9.4-9.4 24.6 0 33.9l10.9 11c9.6 9.5 25.1 9.3 34.4-.4z"}}},"arrow-down":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["download"]},"styles":["solid"],"unicode":"f063","label":"arrow-down","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"}}},"arrow-left":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f060","label":"arrow-left","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}},"arrow-right":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f061","label":"arrow-right","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}},"arrow-up":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f062","label":"arrow-up","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 448 512\\"><path d=\\"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z\\"/></svg>","viewBox":["0","0","448","512"],"width":448,"height":512,"path":"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"}}},"arrows-alt":{"changes":["2","5.0.0"],"ligatures":[],"search":{"terms":["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}},"arrows-alt-h":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrows-h","resize"]},"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M377.941 169.941V216H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.568 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296h243.882v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.568 0-33.941l-86.059-86.059c-15.119-15.12-40.971-4.412-40.971 16.97z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M377.941 169.941V216H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.568 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296h243.882v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.568 0-33.941l-86.059-86.059c-15.119-15.12-40.971-4.412-40.971 16.97z"}}},"arrows-alt-v":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":["arrows-v","resize"]},"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 512\\"><path d=\\"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z\\"/></svg>","viewBox":["0","0","256","512"],"width":256,"height":512,"path":"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"}}},"artstation":{"changes":["5.6.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f77a","label":"Artstation","voted":true,"svg":{"brands":{"last_modified":1543956065695,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 508.1 512\\"><path d=\\"M0 377.4l43 74.3c8.5 16.8 25.8 28.3 45.9 28.3h285.4l-59.2-102.6H0zM499.8 350L333.6 59.3C325 43.1 307.9 32 288.2 32h-88.4l257.3 447.6 40.7-70.5c1.9-3.2 21-29.7 2-59.1zM273 304.5l-115.5-200L42 304.5h231z\\"/></svg>","viewBox":["0","0","508.1","512"],"width":508,"height":512,"path":"M0 377.4l43 74.3c8.5 16.8 25.8 28.3 45.9 28.3h285.4l-59.2-102.6H0zM499.8 350L333.6 59.3C325 43.1 307.9 32 288.2 32h-88.4l257.3 447.6 40.7-70.5c1.9-3.2 21-29.7 2-59.1zM273 304.5l-115.5-200L42 304.5h231z"}}},"assistive-listening-systems":{"changes":["4.6","5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems","voted":false,"svg":{"solid":{"last_modified":1502483808000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm-80 236c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM32 448c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm480-187.993c0-1.518-.012-3.025-.045-4.531C510.076 140.525 436.157 38.47 327.994 1.511c-14.633-4.998-30.549 2.809-35.55 17.442-5 14.633 2.81 30.549 17.442 35.55 85.906 29.354 144.61 110.513 146.077 201.953l.003.188c.026 1.118.033 2.236.033 3.363 0 15.464 12.536 28 28 28s28.001-12.536 28.001-28zM152.971 439.029l-80-80L39.03 392.97l80 80 33.941-33.941z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm-80 236c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM32 448c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm480-187.993c0-1.518-.012-3.025-.045-4.531C510.076 140.525 436.157 38.47 327.994 1.511c-14.633-4.998-30.549 2.809-35.55 17.442-5 14.633 2.81 30.549 17.442 35.55 85.906 29.354 144.61 110.513 146.077 201.953l.003.188c.026 1.118.033 2.236.033 3.363 0 15.464 12.536 28 28 28s28.001-12.536 28.001-28zM152.971 439.029l-80-80L39.03 392.97l80 80 33.941-33.941z"}}},"asterisk":{"changes":["1","5.0.0"],"ligatures":[],"search":{"terms":["details"]},"styles":["solid"],"unicode":"f069","label":"asterisk","voted":false,"svg":{"solid":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 512 512\\"><path d=\\"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z\\"/></svg>","viewBox":["0","0","512","512"],"width":512,"height":512,"path":"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}},"asymmetrik":{"changes":["5.0.0"],"ligatures":[],"search":{"terms":[]},"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd.","voted":false,"svg":{"brands":{"last_modified":1500927880000,"raw":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 576 512\\"><path d=\\"M517.5 309.2c38.8-40 58.1-80 58.5-116.1.8-65.5-59.4-118.2-169.4-135C277.9 38.4 118.1 73.6 0 140.5 52 114 110.6 92.3 170.7 82.3c74.5-20.5 153-25.4 221.3-14.8C544.5 91.3 588.8 195 490.8 299.2c-10.2 10.8-22 21.1-35 30.6L304.9 103.4 114.7 388.9c-65.6-29.4-76.5-90.2-19.1-151.2 20.8-22.2 48.3-41.9 79.5-58.1 20-12.2 39.7-22.6 62-30.7-65.1 20.3-122.7 52.9-161.6 92.9-27.7 28.6-41.4 57.1-41.7 82.9-.5 35.1 23.4 65.1 68.4 83l-34.5 51.7h101.6l22-34.4c22.2 1 45.3 0 68.6-2.7l-22.8 37.1h135.5L340 406.3c18.6-5.3 36.9-11.5 54.5-18.7l45.9 71.8H542L468.6 349c18.5-12.1 35-25.5 48.9-39.8zm-187.6 80.5l-25-40.6-32.7 53.3c-23.4 3.5-46.7 5.1-69.2 4.4l101.9-159.3 78.7 123c-17.2 7.4-35.3 13.9-53.7 19.2z\\"/></svg>","viewBox":["0","0","576","512"],"width":576,"height":512,"path":"M517.5 309.2c38.8-40 58.1-80 58.5-116.1.8-65.5-59.4-118.2-169.4-135C277.9 38.4 118.1 73.6 0 140.5 52 114 110.6 92.3 170.7 82.3c74.5-20.5 153-25.4 221.3-14.8C544.5 91.3 588.8 195 490.8 299.2c-10.2 10.8-22 21.1-35 30.6L304.9 103.4 114.7 388.9c-65.6-29.4-76.5-90.2-19.1-151.2 20.8-22.2 48.3-41.9 79.5-58.1 20-12.2 39.7-22.6 62-30.7-65.1 20.3-122.7 52.9-161.6 92.9-27.7 28.6-41.4 57.1-41.7 82.9-.5 35.1 23.4 65.1 68.4 83l-34.5 51.7h101.6l22-34.4c22.2 1 45.3 0 68.6-2.7l-22.8 37.1h135.5L340 406.3c18.6-5.3 36.9-11.5 54.5
|
|