Version Description
Release Date: January 17th, 2018
- Bug Fix: Issue causing editor to fail when an empty block is saved to your block library.
- Bug Fix: Editor width is set incorrectly if front end of site is inaccessible.
Download this release
Release Info
Developer | rramo012 |
Plugin | Post and Page Builder by BoldGrid – Visual Drag and Drop Editor |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
assets/js/builder/gridblock/filter.js
CHANGED
@@ -126,7 +126,7 @@ BOLDGRID.EDITOR.GRIDBLOCK = BOLDGRID.EDITOR.GRIDBLOCK || {};
|
|
126 |
*/
|
127 |
setConfig: function() {
|
128 |
$.each( self.configs, function( gridblockId ) {
|
129 |
-
if ( ! self.removedGridlocks[gridblockId] ) {
|
130 |
delete this.html;
|
131 |
this.gridblockId = gridblockId;
|
132 |
this.uniqueMarkup = self.createUniqueMarkup( this.$html );
|
126 |
*/
|
127 |
setConfig: function() {
|
128 |
$.each( self.configs, function( gridblockId ) {
|
129 |
+
if ( ! self.removedGridlocks[gridblockId] && this.html ) {
|
130 |
delete this.html;
|
131 |
this.gridblockId = gridblockId;
|
132 |
this.uniqueMarkup = self.createUniqueMarkup( this.$html );
|
assets/js/builder/tinymce/width.js
CHANGED
@@ -57,6 +57,21 @@ export class Width {
|
|
57 |
return $postContainer;
|
58 |
}
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
/**
|
61 |
* After the iframe is loaded, run this process.
|
62 |
*
|
@@ -70,7 +85,7 @@ export class Width {
|
|
70 |
IMHWPB.WP_MCE_Draggable.instance.resize_done_event();
|
71 |
}
|
72 |
|
73 |
-
BG.$window.trigger( 'boldgrid_post_width', { width: this
|
74 |
BG.Service.loading.hide();
|
75 |
}
|
76 |
|
57 |
return $postContainer;
|
58 |
}
|
59 |
|
60 |
+
/*
|
61 |
+
* Get the width from the hidden iframe.
|
62 |
+
*
|
63 |
+
* @since 1.6.3
|
64 |
+
*/
|
65 |
+
getWidth() {
|
66 |
+
let width = 'auto';
|
67 |
+
|
68 |
+
if ( this.$postContainer && this.$postContainer.width() ) {
|
69 |
+
width = this.$postContainer.width();
|
70 |
+
}
|
71 |
+
|
72 |
+
return width;
|
73 |
+
}
|
74 |
+
|
75 |
/**
|
76 |
* After the iframe is loaded, run this process.
|
77 |
*
|
85 |
IMHWPB.WP_MCE_Draggable.instance.resize_done_event();
|
86 |
}
|
87 |
|
88 |
+
BG.$window.trigger( 'boldgrid_post_width', { width: this.getWidth() } );
|
89 |
BG.Service.loading.hide();
|
90 |
}
|
91 |
|
assets/js/builder/tinymce/wp-mce-draggable.js
CHANGED
@@ -333,7 +333,7 @@ IMHWPB.WP_MCE_Draggable = function() {
|
|
333 |
* editor to the same width.
|
334 |
*/
|
335 |
BG.Service.editorWidth.$resizeiframe.attr( 'width', BG.Controls.$container.$html.width() );
|
336 |
-
BG.Controls.$container.$body.css( 'width', BG.Service.editorWidth
|
337 |
}
|
338 |
};
|
339 |
|
333 |
* editor to the same width.
|
334 |
*/
|
335 |
BG.Service.editorWidth.$resizeiframe.attr( 'width', BG.Controls.$container.$html.width() );
|
336 |
+
BG.Controls.$container.$body.css( 'width', BG.Service.editorWidth.getWidth() );
|
337 |
}
|
338 |
};
|
339 |
|
assets/js/editor.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(e){function o(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var a={};return o.m=e,o.c=a,o.d=function(e,a,n){o.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var a=e&&e.__esModule?function(){return e['default']}:function(){return e};return o.d(a,'a',a),a},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p='/',o(o.s=0)})({"./assets/css/font-family-controls.min.css":function(){},"./assets/image/notice/plugin-icon-editor.png":function(e){e.exports='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAABbCAYAAAAIj6U9AAANoklEQVR4nO2dabAU1RWAv4chiNtVcYuo5ULcprVIXIgYDTwEREHLJSbRadRoyrXUxFiSxVQlMRHLCtFS0ZgfLj1qQqFxQwwg4IILFTWGnpAY0bhARBG8Irsy+XG6eT09W/dM90zPTH9VU++9ft09h+F73X3vPefeHlJSGkCbxnnATcCOwJ+Ai5Rlr43yPXqiPFlKd6FN4xJgqm/zPGB8lKKmkqbURQVBXSIVNZU0JTQ1BHWZB5ykLHt9o+/Xr9ETpHQXAQUFGAlM06bx5UbfM72SpgRGm4YJ3BfysMeBM5Vlb6z3fVNJUwKhTeMcRNB67r4NiZpKmlKTBgV1qVvUVNKUqmjT6AVmE037pS5R04ZTSi0uIjpPJgDTwzamUklTarEp4vO5om4V9IBU0pRa3Eo8ot4XVNRU0pSqKMt+GTiT6EU9m4Cipg2nlC3obGYc8AdgMPAkcL7K5VcAaNM4BZgO9I/4bR8AJirL/qLSDqmkKQDobKachP8Ajle5vIbWiZre7lMqCQpwODBLZzMKQFn2Y7Tg1p9K2uVUEdTlaEpFPRfYHHEoFUVNJe1iAgjq4hf1QWAi8Yh6rzaNosfQVNIuJYSgLn5R7yceUc8BpnpFTRtOXYjOZnqR1vuAOg5fCIzxNKaiGNcvx53ApcqyC6mkXYYj6BPAwAq7zAOmANOq7NNUUdPbfRcRUNDxKpd/AhgPrKuw39HATJ3NbAOx3vovBn6ZXkm7hBCCrg15zASVy6+B2K6oa1JJu4AAsi0ETlC5/OrQx/b0rAIOVJbtjkxdDNwRQdgu6xN5u9emMUibxq6tjqMTCCjomHKCAqhcfi6Vbv09PQA7AW9o09gFQFn2ncClDQfex+2Ju5Jq0zgCWIC0PAvAKs/rA+B95/Uu8E/g38qyP2tNtMkmhKA6wLnGIknL0mXV41OnUHgWGOc+LoQo2KvGA8DEJEp6IfDHkIe9ByxGPvQXgYXu7adb0dnMMGAOsF2FXQIL6jnnKcDD9PQUjwoVCu53Rc+1DYq6ZTw/iZJug0zbsh+wCzAIuaXsFPJU/0GEnQPMUpa9PMo4k4wj6Cxghwq7hBYUtiSYPAz0SdonqEsUohYlnCRO0ko4Y7q7AfsAewL7A191XkOc7dV4FXgE+IuybDvGUFtKzIJ6R6gKFCr2s89CWv0bnWPDiFqSEdU2ktZCm8b2wFDgCGA4cCwiczkWAXcDOWXZHzUnwvhpoqDzKBTuAO6n8rCqFN2FE/URpFCvKGWvYyQthzaNA4ExwInAKGBr3y6bgD8DN7b71TWAoDYw0k1iDnzeUkFfBE5Qlr02wPi/X9RJwA1V9y1TSdrRknrRprEdMBb4DnAq4K9YfBK4Tln2q82OrVECCtqrcvlQdw1tGhOAh+iTUK7Elr3lShyRqFVLnbtGUi/aNHZG0sIuAw72/KqAPAb8yPsfkWRiFNTffVUiqCeGbyNzk1bqdy936/810vNwN3BltVr8rpTURZtGP6SjehJwjOdX7wFnKct+qSWBBURnM4chrelBFXaJXVBPLLWGRItEDUNXS+pFm8apwM3Avs6mdcApyrLntCyoKjiCzkW66crRNEE9MdUS9R6Vy58fJh5IJS3CeW69Bfi+uwkYqiz7vy0LqgxJFNQTWy1Rd1G5/Mdh4krk2H2rUJb9mbLsC4DfuZuAH7cwpBKSLKjDaqBieTJ1OJdKWp5JwErn+2GtDMRLAEGXIOPnjQq6iDoEDdDSnx42NoAvhT2g03Em07oG2NnZtKyF4WwhoKAjVC7/fqjzmsZIigW1gVExCDoPqTINTSopoE1jADJKNQ44D/CmCd7Wipi8xCjoMGSUxytob9hROJ3NnEBtQYsSqsPQ0ZI6Q6X9kT7ErRH59kD+swcjY/6HAIdS+llsAC5Xlj27aQGXQWczQ4CZxCOot3+1XkF7gceISVBocetem8buwF6IMLsh/X3uayeks9d9uR/mDvQ9Sw+gdKizUdYDDwK/VZb9ZsTnDoUj6Hzk8ylHEgQNVZJSD7FLqk1jH2RU5yDgQOf7/YC9KR2abAWfA68jrdlZwNPKsstmqTeTVNA+IpVUm4YCjgeOQrKRjkSukHGymr4qRY0MbQJsBNYCnwBrnO8/BJY6X5cBbwJvKcv+POYYQ9EBgi5Ekllav9iYk+P5DSTTaDRS6hp4Bl8PHyElIcsReZY721bSVzqyGhFuHbBOWfanjcSeVAIIuhQRNNSjSBlBlwDDlWV/GDK+yEpSghK64eRMf3IckqBxOsUt4WqsRv5y80ht0hLgLeBtZdlrwsbRicQo6FGUCjqiHQSFEFdSZ8jwQuAS5NmyGhuQTPgXgJeQmqN36w2yG4hRUH/3lStouEcFybaaR5MFhQBXUm0a2wJXA1fS18FdjsVITuYMYEEjK6B1Gzqb2Qt4imQLOosWCAo1rqTOMn03Al+psMtrSE3K9KQlYbQLjqDzgQMq7JIUQSMtSQlDWUm1aewB3IWsEuFnPVLbcruy7NfiCqwbSAUNRomkzkP2Y8jIjJeNyPQpNyrL/l+cQXUDAQRdBnwrwYLayHz6q8Kctx6KnkmdZIMZlD57zASuaPUITKcQQNAVwIkRCLoUSRaJQ9DeZggKniup8w983hfYOuAqZdl3NSOYbiCgoL0ql18U6rymcSjwDMWCjgh7YYmrZqoRemDLrCGvUdy1tAIY7yw2lRIBOpsZjIgUtaD+7qt6BT0MeBbYscIuTRcU+m73P6VYUI0Ml4X6sFIqo7OZXZFupiQLOpeECQrQo01jEPAOsK1n+2nKsh9pdjCdiiPoXMCosEtSBI20JCUq+gHfpVjQx1NBoyMVtHH6ASf7tv2+FYF0IgEEXUmyBV0CjG6loCCSfs3z81rkwTmlQQII+ilwUgSCrgBGxyToCJXLfxDmvHHQj+JO+3eqrZabEoyAgo5RuXyonhNtGvtSKmivsuzFIeOLpWYqLvwlzfXkgqZ40NnMIOIRdC9kQmC/oOGuxJJtNZs2ERRE0k88Pw9x+kxT6uce4hF0Pn3dV40IOh/YvcIuiRMURNJ/+X4+rkWxtD06m9ma0oaoSwGZuKHVgkZaktIM+gHP+bZd0IpAOoQNSKlLOXqAC3U2EybRvOsFBZH0Id+2051x/JSQqFy+QPW5o84HpgYRtYmCLkW6mRIpKPSN3b8CfN2zfR6SPVOytERKMc6EsIOBX7nVCDqbqTU/vKxALFKXO6df0E8RQV8JFVtMJSnNxm3d/8K3fSRwbZNjaTucyS2mAj8DpjvzSKFy+TuovircxVS4ojoJ5/MpFnRMtwoKjqTKsmcgV08v12vTOKn5IbUV3rzbCZSKenWVY0tEdZaqnE2poOEaW5IOOJsOEBSK+0l/gEyi4LIV8qEfQ0pQ/KJOAX5SZf8tojqCevtXGxF0Pn0zVvtpK0HBI6my7CXA5b7fDwSeduavTAmGX9TJ1Bb1bqIVNNKaqVZTNOKkLPseYIpvn4HAU9o0JjYrqA4gnKg9PeeSClqRcjM9X4OUKXvpD9yrTeNm94NPqUkwUYtXO95APIKuAMa2o6BQRlJl2ZuBiZSKCjJBxAJtGgeX+V1KKROAac6cWaWili7HPYBC4bQwbxCiZiof5rxJouyc+U4m1ESk9t7PkcDftWlcq02joyfhjYhTgft8ol5XRlD3u2t1NjM5yInjKupLGhUXdlCW/YWy7IuQv/zNvl8PACYDr2rTGBVjfJ3C2RSLej1SmSuULsddU1QnHfCvdLigEGD1EWXZk5G55MutvXMYMEebxpPpUGpNikW17OOABWUEdakoqidf9dAKx3aMoBBwiRxl2bOAw5EO4nKMQx4Bcto0MlEF14H4Rf0mMtdWJUpEjatmKskEXsdJWfYyZJXjS5C5Rsud6xzA1qbxqDaNY6MJsePw3/onUVvU66A7BYU6Z3rWpjEYuAn4Xo1dX0fGtu/vxIlynXKOt+s8/AFgoluu41wxq+VL/AZphFVLqB6tcvmFdcaTWBqdjnw4cCvFGVTlWA1MQ2bje8bp5mp7GpQUZA3O89xsswCiVqKujP92oeGFHZzluM9CMqkOCXDIUkTYR4Hn27nwLwJJwU3bq1/UjhYUIlx9pA5ZQXoMZiATZM1Rlr08qniaQUSSQqmotwGXBTiu4wWFGNZxcmQ9GbgKCJuYsgjpP3wOeEFZ9jsRhxcpEUoKHlGd9L2pSPJJJbpCUIh5sTGn7/RSpIGl6jjFCuBvzmsxsmrJG8qyI1kfqFEilhSCi9o1gkKTlm3UpjEQOANZXHYkjS1hXgDeRYR9C1n/6T3n6/vAcmXZnzUSb1BikBRqi9pVgkIL1hbVprEnIuxZwLExxbAJmWdpJZLIXan7SyH/6VOUZT8a9k1ikhRKRf0hMrHcx8DPVS4fqpSk3Wn1Ari7Is+vE5BV9bZrYThjnZG1wMQoKcCtyrKviOncbUVLJfXiZFQNA0YhDa6jqbxuUBw8rCz7jDAHxCwpyCIak2I8f1uQGEn9aNPojwwSDEdm/huKdG3FlR44U1l2qMLDJkgKcJCy7Ddifo9Ek9h8UGXZm4CXnRcA2jQGIMOCQ5EMrAOAIcD+NL4suX+SjCBsRqZuj4tFSCOxq0nslTQMTt/s3kiF5J5IKe8eztcdgO2drzt6vnf/QFcBtyCTO6STYSSQ/wN53Ls4vhWTywAAAABJRU5ErkJggg=='},"./assets/js/builder recursive \\.js$":function(e,o,a){function n(e){return a(r(e))}function r(e){var o=l[e];if(!(o+1))throw new Error('Cannot find module \''+e+'\'.');return o}var l={"./browser/ie-version.js":'./assets/js/builder/browser/ie-version.js',"./controls.js":'./assets/js/builder/controls.js',"./controls/add.js":'./assets/js/builder/controls/add.js',"./controls/advanced.js":'./assets/js/builder/controls/advanced.js',"./controls/background.js":'./assets/js/builder/controls/background.js',"./controls/box.js":'./assets/js/builder/controls/box.js',"./controls/button.js":'./assets/js/builder/controls/button.js',"./controls/color.js":'./assets/js/builder/controls/color.js',"./controls/color/palette.js":'./assets/js/builder/controls/color/palette.js',"./controls/container.js":'./assets/js/builder/controls/container.js',"./controls/font.js":'./assets/js/builder/controls/font.js',"./controls/generic.js":'./assets/js/builder/controls/generic.js',"./controls/generic/background-color.js":'./assets/js/builder/controls/generic/background-color.js',"./controls/generic/block-alignment.js":'./assets/js/builder/controls/generic/block-alignment.js',"./controls/generic/border.js":'./assets/js/builder/controls/generic/border.js',"./controls/generic/custom-classes.js":'./assets/js/builder/controls/generic/custom-classes.js',"./controls/generic/font-color.js":'./assets/js/builder/controls/generic/font-color.js',"./controls/generic/font-size.js":'./assets/js/builder/controls/generic/font-size.js',"./controls/generic/link.js":'./assets/js/builder/controls/generic/link.js',"./controls/generic/margin.js":'./assets/js/builder/controls/generic/margin.js',"./controls/generic/rotate.js":'./assets/js/builder/controls/generic/rotate.js',"./controls/generic/width.js":'./assets/js/builder/controls/generic/width.js',"./controls/global.js":'./assets/js/builder/controls/global.js',"./controls/help.js":'./assets/js/builder/controls/help.js',"./controls/hr.js":'./assets/js/builder/controls/hr.js',"./controls/icon.js":'./assets/js/builder/controls/icon.js',"./controls/image/change.js":'./assets/js/builder/controls/image/change.js',"./controls/image/design.js":'./assets/js/builder/controls/image/design.js',"./controls/image/filter.js":'./assets/js/builder/controls/image/filter.js',"./controls/information.js":'./assets/js/builder/controls/information.js',"./controls/media/edit.js":'./assets/js/builder/controls/media/edit.js',"./controls/media/map.js":'./assets/js/builder/controls/media/map.js',"./controls/section.js":'./assets/js/builder/controls/section.js',"./controls/template.js":'./assets/js/builder/controls/template.js',"./customize/navigation.js":'./assets/js/builder/customize/navigation.js',"./drag.js":'./assets/js/builder/drag.js',"./drag/column.js":'./assets/js/builder/drag/column.js',"./drag/content.js":'./assets/js/builder/drag/content.js',"./drag/row.js":'./assets/js/builder/drag/row.js',"./drag/section.js":'./assets/js/builder/drag/section.js',"./feedback.js":'./assets/js/builder/feedback.js',"./gridblock/add.js":'./assets/js/builder/gridblock/add.js',"./gridblock/category.js":'./assets/js/builder/gridblock/category.js',"./gridblock/create.js":'./assets/js/builder/gridblock/create.js',"./gridblock/delete.js":'./assets/js/builder/gridblock/delete.js',"./gridblock/drag.js":'./assets/js/builder/gridblock/drag.js',"./gridblock/filter.js":'./assets/js/builder/gridblock/filter.js',"./gridblock/generate.js":'./assets/js/builder/gridblock/generate.js',"./gridblock/image.js":'./assets/js/builder/gridblock/image.js',"./gridblock/lead.js":'./assets/js/builder/gridblock/lead.js',"./gridblock/loader.js":'./assets/js/builder/gridblock/loader.js',"./gridblock/save.js":'./assets/js/builder/gridblock/save.js',"./gridblock/view.js":'./assets/js/builder/gridblock/view.js',"./library/save.js":'./assets/js/builder/library/save.js',"./menu.js":'./assets/js/builder/menu.js',"./notice/base.js":'./assets/js/builder/notice/base.js',"./notice/intro.js":'./assets/js/builder/notice/intro.js',"./notice/update.js":'./assets/js/builder/notice/update.js',"./panel.js":'./assets/js/builder/panel.js',"./popover/actions/clone.js":'./assets/js/builder/popover/actions/clone.js',"./popover/actions/delete.js":'./assets/js/builder/popover/actions/delete.js',"./popover/actions/general.js":'./assets/js/builder/popover/actions/general.js',"./popover/base.js":'./assets/js/builder/popover/base.js',"./popover/column.js":'./assets/js/builder/popover/column.js',"./popover/content.js":'./assets/js/builder/popover/content.js',"./popover/row.js":'./assets/js/builder/popover/row.js',"./popover/section.js":'./assets/js/builder/popover/section.js',"./render-fonts.js":'./assets/js/builder/render-fonts.js',"./resize/row.js":'./assets/js/builder/resize/row.js',"./service.js":'./assets/js/builder/service.js',"./style/remote.js":'./assets/js/builder/style/remote.js',"./style/updater.js":'./assets/js/builder/style/updater.js',"./tinymce/loading.js":'./assets/js/builder/tinymce/loading.js',"./tinymce/width.js":'./assets/js/builder/tinymce/width.js',"./tinymce/wp-mce-draggable.js":'./assets/js/builder/tinymce/wp-mce-draggable.js',"./tooltips.js":'./assets/js/builder/tooltips.js',"./util.js":'./assets/js/builder/util.js',"./validation/section.js":'./assets/js/builder/validation/section.js'};n.keys=function(){return Object.keys(l)},n.resolve=r,e.exports=n,n.id='./assets/js/builder recursive \\.js$'},"./assets/js/builder/browser/ie-version.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(){var e=window.navigator.userAgent,o,a,n,r;return(n=e.indexOf('MSIE '),0<n)?parseInt(e.substring(n+5,e.indexOf('.',n)),10):(o=e.indexOf('Trident/'),0<o)?(r=e.indexOf('rv:'),parseInt(e.substring(r+3,e.indexOf('.',r)),10)):(a=e.indexOf('Edge/'),0<a?parseInt(e.substring(a+5,e.indexOf('.',a)),10):void 0)}},"./assets/js/builder/controls.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR;BOLDGRID.EDITOR.Controls={$panel:null,$menu:null,$colorControl:null,controls:[],indexedControls:{},$container:null,init:function(o){this.$container=o,this.$container.find('body').css('marginTop','50px'),this.$menu=BOLDGRID.EDITOR.Menu.init(),this.$panel=BOLDGRID.EDITOR.Panel.init(),this.onEditibleClick(),this.setupSliders(),e.$window.trigger('boldgrid_editor_preload'),this.setupControls(),e.CONTROLS.Generic.setupInputCustomization(),e.CONTROLS.Generic.setupInputInitialization(),e.NOTICE.Update.init(),this.browser=e.Util.checkBrowser(),e.$window.trigger('boldgrid_editor_loaded')},hasThemeFeature:function(e){return-1!==BoldgridEditor.builder_config.theme_features.indexOf(e)},addStyle:function(e,o,a){e.css(o,a),BOLDGRID.EDITOR.mce.dom.setStyle(e,o,a)},setupSliders:function(){this.$panel.on('slide','.section .slider',function(e,a){var n=o(this);n.siblings('.value').html(a.value)})},registerControl:function(e){this.controls.push(e),this.indexedControls[e.name]=e},get:function(e){return this.indexedControls[e]||this.indexedControls[e.toLowerCase()]},editorMceInstance:function(){var e=!1;return IMHWPB.WP_MCE_Draggable&&IMHWPB.WP_MCE_Draggable.instance&&(e=IMHWPB.WP_MCE_Draggable.instance),e},clearMenuItems:function(){this.$menu.items=[]},_setupUpdateMenu:function(){var a=this;this.$container.on('click',function(n){a.$menu.find('li[data-action]').hide(),a.$menu.items.length?a.$menu.show():(a.$menu.hide(),BOLDGRID.EDITOR.Panel.closePanel()),o.each(a.$menu.items,function(){a.$menu.find('[data-action="menu-'+this+'"]').show(),BOLDGRID.EDITOR.Menu.reactivateMenu()}),a._closeOpenControl(),n.boldgridRefreshPanel||BOLDGRID.EDITOR.CONTROLS.Color.closePicker(),a.clearMenuItems()})},onEditibleClick:function(){this._setupUpdateMenu()},_closeOpenControl:function(){e.Panel.currentControl&&-1===this.$menu.items.indexOf(e.Panel.currentControl.name)&&e.Panel.closePanel()},setupControls:function(){var e=this;this.controls=_.sortBy(this.controls,'priority'),o.each(this.controls,function(){e.setupControl(this)}),BoldgridEditor.display_intro||this.$container.find('body').click()},setupControl:function(o){this.bindControlHandler(o),BOLDGRID.EDITOR.Menu.createListItem(o),o.setup&&o.setup(),e.Panel.setupPanelClick(o)},bindControlHandler:function(e){e.selectors&&this.setupElementClick(e),e.onMenuClick&&this.$menu.on('click','[data-action="menu-'+e.name+'"]',e.onMenuClick)},setupElementClick:function(a){var n=this;this.$container.on('click',a.selectors.join(),function(r){var e=o(this);if('box'===a.name){var l,s;if(r.boxFound)return;if(l=e.closest('.editing-as-row').length,s=e.is('.row .row [class*="col-md"]'),l&&!1===s)return;if(l&&(r.boxFound=!0),!r.boxFound&&e.parent().closest('[class*="col-md"]').length){var i=BOLDGRID.EDITOR.CONTROLS.Box.findModule(e),d=i.css('background-color');if(!BOLDGRID.EDITOR.CONTROLS.Color.isColorTransparent(d))r.boxFound=!0;else return}}e.closest('.wpview').length&&'edit-media'!==a.name||a.exceptionSelector&&r.target&&o(r.target).is(a.exceptionSelector)||(n.$menu.targetData=n.$menu.targetData||{},n.$menu.targetData[a.name]=e,a.elementClick&&a.elementClick(r),n.$menu.items.push(a.name))})}}}(jQuery)},"./assets/js/builder/controls/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.CONTROLS.Add={$element:null,name:'add',tooltip:'Add New Item',priority:1,iconClasses:'genericon genericon-plus add-element-trigger',selectors:['html'],menuDropDown:{title:'Add New',options:[{name:'Media',class:'action add-media dashicons dashicons-admin-media'},{name:'Button',class:'action font-awesome add-button'},{name:'Icon',class:'action font-awesome add-icon'},{name:'Block',class:'action add-gridblock'},{name:'Section',class:'action add-row'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupMenuClick()},_setupMenuClick:function(){o.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.add-gridblock',a.addGridblock).on('click','.action.add-row',a.addSection).on('click','.action.add-button',o.CONTROLS.Button.insertNew).on('click','.action.add-media',a.openAddMedia).on('click','.action.add-icon',o.CONTROLS.Icon.insertNew)},openAddMedia:function(){wp.media.editor.open(),wp.media.frame.setState('insert')},scrollToElement:function(o,a){e('html, body').animate({scrollTop:o.offset().top},a)},addSection:function(){var n=BOLDGRID.EDITOR.Controls.$container,r=e(wp.template('boldgrid-editor-empty-section')());n.$body.prepend(r),a.scrollToElement(r,200),o.CONTROLS.Section.transistionSection(r)},addGridblock:function(){var e=BOLDGRID.EDITOR.Controls.editorMceInstance();e&&e.insert_layout_action()}},BOLDGRID.EDITOR.CONTROLS.Add.init(),a=BOLDGRID.EDITOR.CONTROLS.Add}(jQuery)},"./assets/js/builder/controls/advanced.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Advanced',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e),this.name='Advanced',this.panel={title:'Advanced',height:'600px',width:'375px',customizeCallback:!0,customizeSupport:['margin','padding','border','width','box-shadow','border-radius','background-color','blockAlignment','customClasses']}}return r(e,[{key:'init',value:function(){s.Controls.registerControl(this)}},{key:'_setTargetType',value:function(e){s.Panel.$element.find('.customize-navigation').attr('data-element-type',e)}},{key:'openPanel',value:function(e,o){this.$target=e,s.Menu.$element.targetData[this.name]=e,s.Panel.clear(),s.Panel.showFooter(),s.Panel.open(this),this._setTargetType(o),s.Panel.enterCustomization(),s.Panel.customizeOpenEvent()}}]),e}()},"./assets/js/builder/controls/background.js":function(){var e=Math.floor;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Background={name:'background',tooltip:'Section Background',uploadFrame:null,priority:10,iconClasses:'genericon genericon-picture',selectors:['.boldgrid-section'],availableEffects:['background-parallax','background-fixed'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Section Background',height:'600px',width:'325px',scrollTarget:'.presets',customizeSupport:['margin','padding','border','width','box-shadow','border-radius','blockAlignment','customClasses'],sizeOffset:-230},onMenuClick:function(){n.openPanel()},_setupAddImage:function(){a.Panel.$element.on('click','.background-design .add-image-controls',function(){return n.uploadFrame?void n.uploadFrame.open():void(n.uploadFrame=wp.media({title:'Select Background Image',library:{type:'image'},button:{text:'Use this media'},multiple:!1}),n.uploadFrame.on('select',function(){var e=n.uploadFrame.state().get('selection').first().toJSON();n.setImageBackground(e.url),n.setImageSelection('image')}),n.uploadFrame.open())})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},setup:function(){n._setupBackgroundClick(),n._setupFilterClick(),n._setupCustomizeLeave(),n._setupBackgroundSize(),n._setupBackgroundColor(),n._setupGradientColor(),n._setupOverlayColor(),n._setupOverlayReset(),n._setupScrollEffects(),n._setupGradientDirection(),n._setupCustomization(),n._setupAddImage()},_setupBackgroundColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name="section-background-color"]',function(){var e=o(this),r=a.Menu.$element.targetData[n.name],l=e.val(),s=e.attr('data-type'),i=a.Panel.$element.find('.current-selection'),d=i.attr('data-type');n.removeColorClasses(r),a.Controls.addStyle(r,'background-color',''),'pattern'!==d&&(a.Controls.addStyle(r,'background-image',''),r.removeAttr('data-bg-color-1'),r.removeAttr('data-bg-color-2'),r.removeAttr('data-bg-direction')),'pattern'!==d&&a.Panel.$element.find('.presets .selected').removeClass('selected'),'class'===s?r.addClass('bg-background-color').addClass(a.CONTROLS.Color.getColorClass('background-color',l)).addClass(a.CONTROLS.Color.getColorClass('text-contrast',l)):a.Controls.addStyle(r,'background-color',l),n.setImageSelection(d,r.css('background'))})},_setupOverlayReset:function(){var e=a.Panel;e.$element.on('click','.background-design .overlay-color .default-color',function(r){var e=o(this),l=a.Menu.$element.targetData[n.name];r.preventDefault(),e.closest('.color-controls').find('label').css('background-color','rgba(255,255,255,.5)'),l.removeAttr('data-bg-overlaycolor'),n.updateBackgroundImage()})},_setupOverlayColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name="overlay-color"]',function(){var e=o(this),r=e.attr('data-type'),l=e.val(),s=a.Menu.$element.targetData[n.name];'class'===r&&(l=BoldgridEditor.colors.defaults[l-1]),s.attr('data-bg-overlaycolor',l),n.updateBackgroundImage()})},updateBackgroundImage:function(){var e=a.Menu.$element.targetData[n.name],o=e.attr('data-bg-overlaycolor'),r=e.attr('data-image-url');o&&r?a.Controls.addStyle(e,'background-image',n.getOverlayImage(o)+', url("'+r+'")'):r&&a.Controls.addStyle(e,'background-image','url("'+r+'")')},getOverlayImage:function(e){return'linear-gradient(to left, '+e+', '+e+')'},_setupGradientColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name^="gradient-color"]',function(){var e=o(this),r=a.Menu.$element.targetData[n.name],l=e.val(),s=e.attr('name'),i=e.attr('data-type');'class'===i&&(l=BoldgridEditor.colors.defaults[l-1]),'gradient-color-1'===s?r.attr('data-bg-color-1',l):r.attr('data-bg-color-2',l),a.Controls.addStyle(r,'background-image',n.createGradientCss(r))})},_setupCustomization:function(){var e=a.Panel;e.$element.on('click','.current-selection .settings .panel-button',function(o){o.preventDefault(),n.openCustomization()})},_setupScrollEffects:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="scroll-effects"]',function(){var e=o(this),r=a.Menu.getTarget(n);'none'===e.val()?r.removeClass(n.availableEffects.join(' ')):(r.removeClass(n.availableEffects.join(' ')),r.addClass(e.val()))})},_setupGradientDirection:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="bg-direction"]',function(){var e=o(this),r=a.Menu.getTarget(n);r.attr('data-bg-direction',e.val()),a.Controls.addStyle(r,'background-image',n.createGradientCss(r))})},createGradientCss:function(e){return'linear-gradient('+e.attr('data-bg-direction')+','+e.attr('data-bg-color-1')+','+e.attr('data-bg-color-2')+')'},_setupBackgroundSize:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="background-size"]',function(){var e=o(this),r=a.Menu.getTarget(n);'tiled'===e.val()?(a.Controls.addStyle(r,'background-size','auto auto'),a.Controls.addStyle(r,'background-repeat','repeat')):'cover'===e.val()&&(a.Controls.addStyle(r,'background-size','cover'),a.Controls.addStyle(r,'background-repeat',''))})},_setupCustomizeLeave:function(){var o=a.Panel;o.$element.on('click','.background-design .back .panel-button',function(r){r.preventDefault(),o.$element.find('.preset-wrapper').show(),o.$element.find('.background-design .customize').hide(),o.initScroll(),n.preselectBackground(),o.scrollToSelected(),a.Service.customize.navigation.disable()})},_setupFilterClick:function(){var n=a.Panel;n.$element.on('click','.background-design .filter',function(a){a.preventDefault();var e=o(this),r=e.data('type'),l=e.data('label'),s=n.$element.find('.current-selection'),i=n.$element.find('.presets .background-color.section');n.$element.find('.filter').removeClass('selected'),e.addClass('selected'),n.$element.find('.presets .selection').hide(),o.each(r,function(){n.$element.find('.presets .selection[data-type="'+this+'"]').show()}),n.$element.find('.presets .title > *').text(l),n.$element.find('.presets').attr('data-filter',r),s.attr('data-filter',r),r.length&&-1!==r.indexOf('image')?i.hide():i.show(),n.scrollToSelected()})},removeColorClasses:function(e){e.removeClass('bg-background-color'),e.removeClass(a.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(a.CONTROLS.Color.textContrastClasses.join(' '))},_setupBackgroundClick:function(){var e=a.Panel;e.$element.on('click','.background-design .selection',function(){var r=o(this),l=a.Menu.getTarget(n),s=r.attr('data-image-url'),i=r.css('background-image'),d=r.css('background');return r.hasClass('selected')?(n.removeColorClasses(l),a.Controls.addStyle(l,'background',''),l.removeAttr('data-image-url'),r.removeClass('selected'),void n.preselectBackground(!0)):void(e.$element.find('.presets .selected').removeClass('selected'),r.addClass('selected'),l.removeAttr('data-bg-color-1').removeAttr('data-image-url').removeAttr('data-bg-color-2').removeAttr('data-bg-direction'),'pattern'!==r.data('type')&&n.removeColorClasses(l),'image'===r.data('type')?n.setImageBackground(s):'color'===r.data('type')?(l.addClass(r.data('class')),l.addClass(a.CONTROLS.Color.getColorClass('text-contrast',r.data('class').replace(/\D/g,''))),l.addClass('bg-background-color'),a.Controls.addStyle(l,'background-image',''),n.setDefaultBackgroundColors()):'pattern'===r.data('type')?(a.Controls.addStyle(l,'background-size','auto auto'),a.Controls.addStyle(l,'background-repeat','repeat'),a.Controls.addStyle(l,'background-image',i)):'gradients'===r.data('type')?(a.Controls.addStyle(l,'background-image',i),l.attr('data-bg-color-1',r.data('color1')).attr('data-bg-color-2',r.data('color2')).attr('data-bg-direction',r.data('direction'))):a.Controls.addStyle(l,'background-image',i),n.setImageSelection(r.data('type'),d))})},activateFilter:function(e){var r=!1,l=a.Menu.getTarget(n),s;a.Panel.$element.find('.current-selection .filter').each(function(){var a=o(this),n=a.data('type');if(e&&-1!==n.indexOf(e))return a.click(),r=!0,!1}),r||e||(s=l.css('background-image'),s&&'none'!==s&&(a.Panel.$element.find('.filter[data-type]:first-of-type').click(),r=!0)),!1==r&&a.Panel.$element.find('.filter[data-default="1"]').click()},setImageSelection:function(e,o){var r=a.Panel.$element.find('.current-selection'),l=a.Menu.getTarget(n);r.css('background',''),'color'===e?r.css('background-color',o):(r.css('background-color',l.css('background-color')),r.css('background-image',l[0].style['background-image'])),r.attr('data-type',e)},setImageBackground:function(e){var o=a.Menu.getTarget(n);o.attr('data-image-url',e),a.Controls.addStyle(o,'background',''),n.updateBackgroundImage(),a.Controls.addStyle(o,'background-size','cover'),a.Controls.addStyle(o,'background-position','50% 50%')},_initSliders:function(){n._initVerticleSlider()},_initVerticleSlider:function(){var e=a.Menu.getTarget(n),o=e.css('background-position-y'),r=e.css('background-position-x');o=o?parseInt(o):50,r=r?parseInt(r):50,a.Panel.$element.find('.background-design .vertical-position .slider').slider({min:0,max:100,value:o,range:'max',slide:function(o,n){e.css('background-image')&&a.Controls.addStyle(e,'background-position',r+'% '+n.value+'%')}}).siblings('.value').html(o)},openCustomization:function(){a.Panel.$element.find('.preset-wrapper').hide(),a.Panel.$element.find('.background-design .customize').show(),a.Panel.$element.find('.preset-wrapper').attr('data-type',a.Panel.$element.find('.current-selection').attr('data-type')),n._initSliders(),n.selectDefaults(),a.Panel.enterCustomization(),a.Panel.customizeOpenEvent(),a.Panel.createScrollbar('.customize',{height:n.panel.height})},selectDefaults:function(){n.setScrollEffect(),n.setSize(),n.setDefaultDirection(),n.setDefaultBackgroundColors(),n.setDefaultOverlayColor()},setDefaultOverlayColor:function(){var e=a.Menu.getTarget(n),o=a.Panel.$element.find('.overlay-color'),r=e.attr('data-bg-overlaycolor');r&&o.find('input').attr('value',r)},setSize:function(){var e=a.Panel.$element.find('input[name="background-size"]'),o=a.Menu.getTarget(n);-1===o.css('background-size').indexOf('cover')&&e.filter('[value="tiled"]').prop('checked',!0)},setScrollEffect:function(){var e=a.Menu.getTarget(n);o.each(n.availableEffects,function(){if(e.hasClass(this))return a.Panel.$element.find('input[name="scroll-effects"][value="'+this+'"]').prop('checked',!0),!1})},setDefaultDirection:function(){var e=a.Menu.getTarget(n),o=e.attr('data-bg-direction');n.backgroundIsGradient(e.css('background-image'))&&o&&a.Panel.$element.find('input[name="bg-direction"][value="'+o+'"]').prop('checked',!0)},setDefaultBackgroundColors:function(){var e=a.Menu.getTarget(n),o,r;n.backgroundIsGradient(e.css('background-image'))?(a.Panel.$element.find('input[name="gradient-color-1"]').attr('value',e.attr('data-bg-color-1')),a.Panel.$element.find('input[name="gradient-color-2"]').attr('value',e.attr('data-bg-color-2'))):(o=a.CONTROLS.Color.findAncestorColor(e,'background-color'),r=a.Panel.$element.find('input[name="section-background-color"]'),r.prev('label').css('background-color',o),r.attr('value',o))},randomGradientDirection:function(){var o=['to left','to bottom'];return o[e(Math.random()*o.length)]},_createGradients:function(){var e=[];o.each(BoldgridEditor.sample_backgrounds.default_gradients,function(){var o=this.colors[0],a=this.colors[1],r=n.randomGradientDirection();e.push({color1:o,color2:a,direction:r,css:'linear-gradient('+r+','+o+','+a+')'})}),console.log(JSON.stringify(e))},setPaletteGradients:function(){var a=[];BoldgridEditor.colors.defaults&&BoldgridEditor.colors.defaults.length&&o.each([0,1],function(){var o,r,l;o=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],r=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],o!==r&&(l=n.randomGradientDirection(),a.push({color1:o,color2:r,direction:l,css:'linear-gradient('+l+','+o+','+r+')'}))}),o.each(a,function(){BoldgridEditor.sample_backgrounds.gradients.unshift(this)})},backgroundIsGradient:function(e){return-1!==e.indexOf('linear-gradient')&&-1===e.indexOf('url')},preselectBackground:function(e){var r='color',l=a.Menu.getTarget(n),s=l.css('background-color'),i=l.css('background-image'),d=a.Panel.$element.find('.current-selection'),c=n.backgroundIsGradient(i),p=!1;n.setImageSelection('image'),d.css('background-color',s),a.Panel.$element.find('.selection').each(function(){var e=o(this),a=e.data('type'),s=e.data('class');switch(a){case'color':if(s&&l.hasClass(s)&&'none'===l.css('background-image'))return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;break;case'image':if(e.attr('data-image-url')===l.attr('data-image-url'))return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;break;case'gradients':case'pattern':if(e.css('background-image')===i)return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;}}),p||(c?r='gradients':'none'!==i&&(r='image'),!e&&n.activateFilter(r)),d.attr('data-type',r)},openPanel:function(){var e=a.Panel,o=wp.template('boldgrid-editor-background');BoldgridEditor.sample_backgrounds.color=a.CONTROLS.Color.getPaletteBackgroundColors(),e.clear(),n.setPaletteGradients(),e.$element.find('.panel-body').html(o({images:BoldgridEditor.sample_backgrounds,imageData:BoldgridEditor.builder_config.background_images})),n.preselectBackground(),n.setDefaultBackgroundColors(),e.open(n)}},BOLDGRID.EDITOR.CONTROLS.Background.init(),n=BOLDGRID.EDITOR.CONTROLS.Background}(jQuery)},"./assets/js/builder/controls/box.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Box={uiBoxDimensions:{"bg-box bg-box-rounded":'box-wide',"bg-box bg-box-rounded-bottom-left bg-box-rounded-bottom-right":'box-long',"bg-box bg-box-rounded-bottom-right bg-box-rounded-top-right":'box-wide',"bg-box bg-box-edged bg-box-shadow-bottom-right":'box-wide',"bg-box bg-box-square bg-box-border-thin":'box-long',"bg-box bg-box-square bg-box-border-thick":'box-wide',"bg-box bg-box-square bg-box-border-dashed":'box-wide',"bg-box bg-box-rounded bg-box-border-dashed":'box-long',"bg-box bg-box-square bg-box-border-dashed-thick":'box-long',"bg-box bg-box-square bg-box-border-double-thick":'box-wide'},namespace:'bg-box',name:'box',priority:20,iconClasses:'genericon genericon-gallery',tooltip:'Column Background',selectors:['.row [class*="col-md"]'],panel:{title:'Column Background',height:'550px',width:'325px',customizeSupport:['width','margin','padding','box-shadow','border','border-radius','blockAlignment','background-color','customClasses'],includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},colorControls:null,targetClasses:null,targetColor:null,$presets:null,onMenuClick:function(){n.openPanel()},setup:function(){n._setupPresetClick(),n._setupPresetHover(),n._setupPanelLeave(),n._setupSliderChange(),a.Panel.$element.on('bg-customize-exit',function(){return a.Panel.showFooter()}),a.Panel.$element.on('box-background-color-change box-border-color-change box-css-change',function(){return n._saveModuleClasses()}),n.presetsMarkup=n.getBoxMarkup()},_setupSliderChange:function(){a.Panel.$element.on('slidechange','.box-design .slider',function(){n._saveModuleClasses()})},_setupPanelLeave:function(){var e=a.Panel;e.$element.on('mouseleave','.box-design',function(o){o.preventDefault();var e=a.Menu.getTarget(n),r;r=n.findModule(e),n.removeModuleClasses(r),r.addClass(n.targetClasses),n.targetClasses&&-1!==n.targetClasses.indexOf('-background-color')||a.Controls.addStyle(r,'background-color',n.targetColor),n._applyCloneStyles(r)})},_applyCloneStyles:function(e){n.$targetModuleClone&&(e.attr('style',n.$targetModuleClone.attr('style')||''),e.attr('data-mce-style',n.$targetModuleClone.attr('style')||''))},_setupPresetHover:function(){var e=a.Panel;e.$element.hoverIntent({out:function(){},over:function(a){var e=o(this);a.preventDefault(),n.addBox(e)},selector:'.box-design .presets .'+n.namespace})},_setupPresetClick:function(){var r=a.Panel;r.$element.on('click','.box-design .presets .'+n.namespace,function(l){var e=o(this),s;l.preventDefault(),e.hasClass('selected')?(s=n.findModule(a.Menu.getTarget(n)),a.CONTROLS.Color.resetBorderClasses(s),r.clearSelected(),n.removeModuleClasses(s),n._clearModuleClasses(),n._clearInlineStyles(s)):(n.addBox(e),r.clearSelected(),n._saveModuleClasses(),e.addClass('selected'))})},_clearInlineStyles:function(e){e.css('padding',''),e.css('margin',''),e.css('background-color',''),e.css('border-color','')},_clearModuleClasses:function(){n.targetClasses='',n.targetColor='',n.$targetModuleClone=!1},_saveModuleClasses:function(){var e=n.findModule(a.Menu.getTarget(n));n.targetClasses=e.attr('class'),n.targetColor=e[0].style['background-color'],n.$targetModuleClone=e.clone()},findModule:function(e){var a=e.find('> div'),n=e.find('> *'),r=1===a.length&&a.not('.row').length&&a.not('[class*="col-md"]').length&&1===n.length,l;return r&&(l=a),l||(l=o('<div></div>'),l.html(n),e.html(l)),l},addBox:function(e){var o=a.Menu.getTarget(n),r=e.data('value'),l=e.css('background-color'),s=n.findModule(o),i;n._clearInlineStyles(s),a.CONTROLS.Color.resetBorderClasses(s),n.removeModuleClasses(s),e.parent('.my-designs').length&&(i=BoldgridEditor.builder_config.components_used.box[e.data('id')].style,s.attr('style',i)),s.addClass(r),s.attr('class')&&-1===s.attr('class').indexOf('-background-color')&&a.Controls.addStyle(s,'background-color',l)},removeModuleClasses:function(e){e.removeClass(function(e,o){return(o.match(/(^|\s)bg-box?\S+/g)||[]).join(' ')}),e.removeClass('bg-background-color'),e.removeClass(a.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(a.CONTROLS.Color.textContrastClasses.join(' ')),a.Controls.addStyle(e,'background-color','')},getTarget:function(){var e=a.Menu.getTarget(n);return n.findModule(e)},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},updateUiStyles:function(){var e=n.presetsMarkup,r='',l=0,s=[],i=a.CONTROLS.Color.getBackgroundForegroundColors(),d;return o.each(i,function(){s.push({color:this.color,colorClass:this.background+' '+this.text})}),o.each(['#fff','#000','rgb(236, 236, 236)'],function(){s.push({color:this})}),o.each(e,function(e){d=o(this),s[l].colorClass?(d.attr('data-value',d.data('value')+' '+s[l].colorClass),d.css('background-color',s[l].color)):d.css('background-color',s[l].color),d.attr('data-id',e),0==e%4&&0!==e&&l++,s[l]||(l=0),r+=d[0].outerHTML}),n.$presets=r,r},getBoxMarkup:function(){var e=BoldgridEditor.builder_config.boxes,a=[],r;return o.each(e,function(){r=n.uiBoxDimensions[this]||'',r+=' ',a.push('<div data-value=\''+this+'\' class=\''+r+this+'\'></div>')}),a},preselectBox:function(){var e=a.Menu.getTarget(n),r=n.findModule(e),l=r.attr('class'),s=[];l=l?l.split(' '):[],o.each(l,function(){0===this.indexOf('bg-box')&&s.push(this)}),s=!!s.length&&'.'+s.join('.'),a.Panel.$element.find('.presets > div').each(function(){var e=o(this);if(s&&e.filter(s).length&&e.css('background-color')===r.css('background-color'))return e.addClass('selected'),!1})},styleMyDesigns:function(){var e=a.Controls.$container.$body;a.Panel.$element.find('.my-designs > *').each(function(){var a=o(this),n=a.data('id'),r=a.clone();r.css('display','none'),r.attr('style',BoldgridEditor.builder_config.components_used.box[n].style),e.append(r),a.css('background-color',r.css('background-color')),a.css('border-color',r.css('border-color')),r.remove()})},removeInvalid:function(){var e=[],n=a.Panel.$element.find('.my-designs');n.find('> *').each(function(){var n=o(this),r=n.css('background-color'),l=n.attr('data-value')+r;-1!==e.indexOf(l)||a.CONTROLS.Color.isColorTransparent(r)?n.remove():e.push(l)}),e.length||(n.remove(),a.Panel.$element.find('.my-designs-title').remove())},_updateMyDesigns:function(){a.Controls.$container.$body.find('.bg-box').each(function(){var e=o(this),a,n;a={classes:e.attr('class'),style:e.attr('style')},n=!1,o.each(BoldgridEditor.builder_config.components_used.box,function(){if(this.style===a.style&&this.classes===a.classes)return n=!0,!1}),n||BoldgridEditor.builder_config.components_used.box.push(a)})},openPanel:function(){var e=a.Panel,o=wp.template('boldgrid-editor-box');n.updateUiStyles(),n._saveModuleClasses(),n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(o({presets:n.$presets,myPresets:BoldgridEditor.builder_config.components_used.box,colorControls:n.colorControls})),n.styleMyDesigns(),n.removeInvalid(),BOLDGRID.EDITOR.Panel.open(n),n.preselectBox(),e.$element.find('.grid').masonry({itemSelector:'.'+n.namespace}),e.initScroll(n),e.scrollToSelected(),a.Panel.showFooter()}},BOLDGRID.EDITOR.CONTROLS.Box.init(),n=BOLDGRID.EDITOR.CONTROLS.Box}(jQuery)},"./assets/js/builder/controls/button.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Button={name:'button',priority:80,tooltip:'Button Design',iconClasses:'fa fa-cog',selectors:['.btn','a.button','a.button-secondary','a.button-primary'],defaultColorClasses:[{color:'#eee',number:0},{color:'#229ffd',number:1},{color:'#ff414f',number:2},{color:'#a5de37',number:3},{color:'#feae1b',number:4},{color:'#7b72e9',number:5}],classes:[{name:'btn btn-3d btn-rounded'},{name:'btn btn-3d btn-pill'},{name:'btn btn-3d'},{name:'btn btn-raised btn-rounded'},{name:'btn btn-raised btn-pill'},{name:'btn btn-raised btn-small-caps'},{name:'btn btn-rounded btn-small-caps'},{name:'btn btn-pill'},{name:'btn'},{name:'btn btn-longshadow btn-rounded'},{name:'btn btn-longshadow btn-small-caps btn-pill'},{name:'btn btn-longshadow btn-uppercase'},{name:'btn btn-glow btn-rounded'},{name:'btn btn-glow btn-pill btn-uppercase'},{name:'btn btn-glow'},{name:'btn btn-block btn-rounded'},{name:'btn btn-block btn-pill'},{name:'btn btn-block btn-small-caps'}],sizeClasses:['btn-tiny','btn-small','','btn-large','btn-jumbo','btn-giant'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Button Design',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['margin','padding','border','box-shadow','customClasses']},setup:function(){a.applyColors(),a._setupPresetClick(),a._setupColorClick(),a._setupCustomizeOpen(),a.removeSizeClasses()},removeSizeClasses:function(){var e=BoldgridEditor.builder_config.components_used.button;_.each(e,function(o,a){o.classes=o.classes.replace(/btn-(giant|jumbo)/g,''),e[a]=o}),e=_.uniq(e,!1,function(e){return e.classes}),BoldgridEditor.builder_config.components_used.button=e.slice(0,20)},_setupCustomizeOpen:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-open',function(){e.currentControl===a&&(a.sizeSlider.init(),o.Menu.getTarget(a).removeClass('bg-control-element'))}),e.$element.on('bg-customize-exit',function(){e.currentControl===a&&(a.preselect(),o.Panel.scrollToSelected(),a.toggleFooter())})},removeColorClasses:function(){var e=o.Menu.getTarget(a);e.removeClass('btn-neutral-color'),e.removeClass(function(e,o){return(o.match(/(^|\s)btn-color\S+/g)||[]).join(' ')})},_setupColorClick:function(){o.Panel.$element.on('click','.customize .button-color-controls .panel-selection',function(){var n=e(this),r=o.Menu.getTarget(a);a.removeColorClasses(),n.siblings().removeClass('selected'),n.addClass('selected'),r.addClass('btn-color-'+n.attr('data-preset'))})},_setupPresetClick:function(){var n=o.Panel;n.$element.on('click','.button-design .presets .panel-selection',function(){var r=e(this),l=r.data('preset'),s=o.Menu.getTarget(a);o.Controls.addStyle(s,'border',''),o.Controls.addStyle(s,'box-shadow',''),n.clearSelected(),r.addClass('selected'),s.attr('class',''),s.addClass(l),a.toggleFooter()})},insertNew:function(){var e;send_to_editor('<a class="btn btn-color-1 bg-inserted-button" href="#">Button</a>'),e=o.Controls.$container.find('.bg-inserted-button').last(),o.Controls.$container.find('.bg-inserted-button').removeClass('bg-inserted-button'),o.Controls.$menu.targetData[a.name]=e,e.click(),a.openPanel()},onMenuClick:function(){a.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},applyColors:function(){var o=5,n=0,r;BoldgridEditor.colors.defaults.length&&(o=BoldgridEditor.colors.defaults.length,n=1),r=n,e.each(a.classes,function(e){o<r&&(r=n),0!==r&&(this.name+=' btn-color-'+r),0==(e+1)%4&&r++})},sizeSlider:{getDefault:function(){var n=2,r=o.Menu.getCurrentTarget();return e.each(a.sizeClasses,function(e){if(r.hasClass(this))return n=e,!1}),n},init:function(){var e=this.getDefault()+1,n=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.button-size-control .value').html(e),o.Panel.$element.find('.section.button-size-control .slider').slider({min:1,max:6,value:e,range:'max',slide:function(e,o){n.removeClass(a.sizeClasses.join(' ')),o.value&&n.addClass(a.sizeClasses[o.value-1])}})}},getColorsMarkup:function(){var e=a.defaultColorClasses;return(BoldgridEditor.features.button_colors&&!BoldgridEditor.is_boldgrid_theme||o.Controls.hasThemeFeature('button-lib'))&&(e=o.CONTROLS.Color.getColorsFormatted()),o.CONTROLS.Color.colorTemplate({colors:e,customColors:[]})},preselect:function(){var n=o.Menu.getTarget(a),r=o.Util.getClassesLike(n,'btn');r=e('<div>').addClass(r.join(' ')).removeClass('bg-control-element '+a.sizeClasses.join(' ')).attr('class'),n.hasClass('button-primary')?r='button-primary':n.hasClass('button-secondary')&&(r='button-secondary'),o.Panel.clearSelected(),o.Panel.$element.find('[data-preset="'+r+'"]:first').addClass('selected')},toggleFooter:function(){var e=o.Menu.getTarget(a);e.hasClass('btn')?o.Panel.showFooter():o.Panel.hideFooter()},_updateMyDesigns:function(){a.usedComponents=BoldgridEditor.builder_config.components_used.button.slice(0),o.Controls.$container.$body.find('.btn').each(function(){var o=e(this),n=o.clone().removeClass('bg-control-element '+a.sizeClasses.join(' ')),r=n.attr('class'),l=a.usedComponents,s=_.findIndex(l,function(e){return e.classes===r});-1===s&&l.push({style:n.attr('style'),classes:r})})},openPanel:function(){var e=o.Panel,n=wp.template('boldgrid-editor-button');a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(n({text:'Button',presets:a.classes,myPresets:a.usedComponents,colors:a.getColorsMarkup()})),a.preselect(),e.open(a),a.toggleFooter(),e.$element.removeClass('ui-widget-content')}},BOLDGRID.EDITOR.CONTROLS.Button.init(),a=BOLDGRID.EDITOR.CONTROLS.Button}(jQuery)},"./assets/js/builder/controls/color.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});a('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){var a=BOLDGRID.EDITOR,n;a.CONTROLS.Color={$currentInput:null,$colorPanel:null,$colorPicker:null,colorTemplate:wp.template('boldgrid-editor-color'),transparentColors:['rgba(0, 0, 0, 0)','transparent'],colorClasses:['color1-color','color2-color','color3-color','color4-color','color5-color'],textContrastClasses:['color-neutral-text-default','color1-text-default','color2-text-default','color3-text-default','color4-text-default','color5-text-default','color-neutral-text-contrast','color-1-text-contrast','color-2-text-contrast','color-3-text-contrast','color-4-text-contrast','color-5-text-contrast'],backgroundColorClasses:['color-neutral-background-color','color1-background-color','color2-background-color','color3-background-color','color4-background-color','color5-background-color'],borderColorClasses:['color1-border-color','color2-border-color','color3-border-color','color4-border-color','color5-border-color'],customColors:BoldgridEditor.saved_colors,init:function(){var e=a.Service.colorPalette.getPaletteSettings();return n.importPaletteSettings(e),n._create(),n._setupClosePicker(),n._renderColorOptions(),n._setupPanelDrag(),n._setupAddNew(),n._setupColorPicker(),n._setupCallback(),n._setupColorPreview(),n._setupRemove(),n._setupAutoHide(),n._setupResetDefault(),n._addPanelClasses(),n._setupOpenCustomization(),n},updatePaletteSettings:function(e){this.importPaletteSettings(e),this._renderColorOptions()},importPaletteSettings:function(e){!BoldgridEditor.is_boldgrid_theme&&e&&(BoldgridEditor.colors={defaults:e.palettes[0].colors,neutral:e.palettes[0]['neutral-color']})},resetBorderClasses:function(e){e.removeClass(n.borderColorClasses.join(' ')),a.Controls.addStyle(e,'border-color','')},_addPanelClasses:function(){BoldgridEditor.is_boldgrid_theme||n.$colorPanel.addClass('non-bg-theme')},_setupResetDefault:function(){n.$colorPanel.find('.wp-picker-default').on('click',function(o){o.preventDefault(),o.stopPropagation(),n.$currentInput.attr('data-type','color'),n.$currentInput.val('').change(),n.$colorPanel.find('.selected').removeClass('selected'),n.$currentInput.parent().find('label').css('background-color','#333')})},_setupOpenCustomization:function(){a.Panel.$element.on('bg-customize-open',function(){n.initColorControls()})},_setupAutoHide:function(){o('body').on('click',function(){n.closePicker()}),n.$colorPanel.on('click',function(o){o.stopPropagation()})},getColorClass:function(e,o){var a='text-contrast'===e?'-':'';return'color'+a+o+'-'+e},openPicker:function(e){n.$colorPanel.show(),n.$currentInput=e,BOLDGRID.EDITOR.mce.undoManager.add()},closePicker:function(){n.$colorPanel.is(':visible')&&(BOLDGRID.EDITOR.mce.undoManager.add(),n.$colorPanel.hide(),n.$currentInput=null,n.saveCustomColors())},saveCustomColors:function(){o('#post input[name="boldgrid-custom-colors"]').val(JSON.stringify(n.customColors))},_setupColorPreview:function(){a.Panel.$element.on('click','.color-preview',function(r){r.stopPropagation();var e=o(this),l=a.Panel.$element.find('input[name="'+e.attr('for')+'"]'),s;'color'!==l.attr('data-type')&&l.attr('data-type')?'class'===l.attr('data-type')&&(s=n.$colorPanel.find('.panel-selection[data-preset="'+l.val()+'"]')):n.$colorPanel.find('[data-type="custom"].panel-selection').each(function(){var a=o(this);if(e.css('background-color')===a.css('background-color'))return s=a,!1}),n.$colorPanel.find('.panel-selection.selected').removeClass('selected'),n.updatePicker(e.css('background-color')),n.openPicker(l),s&&s.length&&n.selectColor(s)}),a.Panel.$element.on('change','input.color-control',function(){var e=o(this),r=a.Panel.$element.find('.color-preview[for="'+e.attr('name')+'"]');r.css('background-color',n.$colorPicker.iris('color'))})},_setupClosePicker:function(){n.$colorPanel.find('.panel-title .close-icon').on('click',function(){n.closePicker()})},_setupPanelDrag:function(){this.$colorPanel.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},findAncestorColor:function(e,a){var r=[],l;return r.push(e),e.parents().each(function(){r.push(this)}),o.each(r,function(){var e=o(this),r=e.css(a);if(!1===n.isColorTransparent(r))return l=r,!1}),l},getPaletteBackgroundColors:function(){var e={};return o.each(BoldgridEditor.colors.defaults,function(o){e['color'+(o+1)+'-background-color']=this}),e},getBackgroundForegroundColors:function(){var e=[],n;return o.each(BoldgridEditor.colors.defaults,function(o){n=o+1,e.push({color:this,colorNum:n,text:a.CONTROLS.Color.getColorClass('text-default',n),background:a.CONTROLS.Color.getColorClass('background-color',n)})}),e},isColorTransparent:function(e){return-1!==a.CONTROLS.Color.transparentColors.indexOf(e)||!e},initColorControls:function(){a.Panel.$element.find('input.color-control').each(function(){var e=o(this),a=e.val(),r=e.prev('label');!1===n.isColorTransparent(a)&&r.css('background-color',a),e.attr('data-type','color')})},_setupColorPicker:function(){var e='#e3e',a=n.$colorPanel.find('.panel-selection.selected[data-preset]');a.length&&(e=a.css('background-color')),n.$colorPicker=n.$colorPanel.find('.boldgrid-color-picker'),n.$colorPicker.val(e),n.$colorPicker.wpColorPicker({mode:'hsl',defaultColor:e,change:function(e,a){var r=o(this),l=a.color.toCSS(),s=r.closest('.color-control').find('.colors .panel-selection.selected[data-preset]');return s.length&&s.is('[data-type="default"]')?void n._copyColor():void(s=n.$colorPanel.find('.colors .panel-selection.selected[data-preset]'),s.length&&(s.css('background-color',l),s.attr('data-preset',l),n.customColors[s.attr('data-index')]=l),n.$currentInput&&(n.$currentInput.attr('data-type','color'),n.$currentInput.attr('value',l),n.$currentInput.change()))},hide:!1,palettes:!0})},_copyColor:function(){var e,o;o=n.$colorPanel.find('.colors .panel-selection.selected').css('background-color'),o||(o=n.$colorPicker.iris('color')),n.customColors.push(o),n._renderColorOptions(),e=n.$colorPanel.find('.color-control'),e.find('ul.colors').removeClass('selected'),n.updatePicker(o),n.selectColor(e.find('.my-colors li:last-of-type'))},updatePicker:function(e){var o;n.$colorPicker.iris('color',e),o=parseInt(100*Color(e)._alpha),n.$colorPanel.find('.iris-slider-offset-alpha').slider('value',o)},_setupAddNew:function(){n.$colorPanel.on('click','.colors .panel-selection.custom-color',function(){n._copyColor()})},_renderColorOptions:function(){n.$colorPanel.find('.colors-wrap').html(n.colorTemplate({colors:n.getColorsFormatted(),customColors:n.customColors})),BOLDGRID.EDITOR.Tooltip.renderTooltips()},getColorsFormatted:function(){var e=[];return o.each(BoldgridEditor.colors.defaults,function(o){e.push({color:this,paletteNum:o+1})}),e},getGridblockColors:function(){var e=n.getColorsFormatted();return BoldgridEditor.colors.neutral&&e.push({paletteNum:'neutral',color:BoldgridEditor.colors.neutral}),e},_create:function(){var e=wp.template('boldgrid-editor-color-panel');n.$colorPanel=o(e()),o('body').append(n.$colorPanel)},_setupRemove:function(){n.$colorPanel.on('click','.color-picker-wrap .cancel',function(a){var e=o(this),r,l,s;a.preventDefault(),l=e.closest('.color-control'),l.find('.custom-color').removeClass('selected'),r=l.find('.colors .selected[data-type="custom"]'),r.length&&(n.customColors.splice(r.attr('data-index'),1),r.remove(),s=n.$colorPanel.find('.panel-selection').first(),n.$colorPicker.iris('color',s.css('background-color')),n.selectColor(s))})},selectColor:function(e){n.$colorPanel.find('.selected').removeClass('selected'),e.addClass('selected'),e.is('[data-type="custom"]')?n.$colorPanel.attr('current-selection','custom'):n.$colorPanel.attr('current-selection','default')},_setupCallback:function(){n.$colorPanel.on('click','.colors .panel-selection',function(){var e=o(this),a;e.hasClass('custom-color')||(a='default'===e.data('type')?'class':'color',n.$colorPanel.find('ul.colors .panel-selection').removeClass('selected'),n.updatePicker(e.css('background-color')),n.selectColor(e),n.$currentInput.val(e.attr('data-preset')),n.$currentInput.attr('data-type',a),n.$currentInput.change())})}},n=BOLDGRID.EDITOR.CONTROLS.Color}(jQuery)},"./assets/js/builder/controls/color/palette.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Palette',function(){return d}),a.d(o,'default',function(){return d});var r=a('./node_modules/@boldgrid/controls/src/controls/index.js'),l=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),s=window.jQuery,i=BOLDGRID.EDITOR,d=function(){function e(){n(this,e),this.paletteConfig=new r.h,this.name='Palette',this.panel={title:'Color Palette',height:'600px',width:'325px'},this.workerUrl=BoldgridEditor.plugin_url+'/assets/js/sass-js/sass.worker.js?'+BoldgridEditor.version,this.colorPalette=new r.d({sass:{workerURL:this.workerUrl,basePath:BoldgridEditor.plugin_url+'/assets/scss'}}),this.colorPalette.init()}return l(e,[{key:'init',value:function(){return i.Controls.registerControl(this),this}},{key:'setup',value:function(){this._setupParentLoader()}},{key:'openPanel',value:function(){i.Panel.clear(),this.colorPalette.initialCompilesDone||i.Panel.showLoading(),this.renderCustomization(i.Panel.$element.find('.panel-body')),i.Panel.showFooter(),i.Panel.open(this)}},{key:'getPaletteSettings',value:function(){var e=this.getSavedSettings();return e||(e=this.paletteConfig.createSimpleConfig()),e}},{key:'getSavedSettings',value:function(){return this.updatedPaletteSettings||this.getLivePalettes()||!1}},{key:'getLivePalettes',value:function(){var e=BoldgridEditor.control_styles.configuration,o,a;return e&&e.length&&(o=_.find(e,function(e){return'bg-controls-colors'===e.id}),a=!!o.options&&o.options.paletteSettings),a}},{key:'renderCustomization',value:function(e){var o=this,a=this.colorPalette.render(e,this.getSavedSettings());return this.colorPalette.initialCompilesDone||a.on('rendered',function(){o.colorPalette.initialCompiles(3).done(function(){i.Panel.hideLoading()})}),a.on('sass_compiled',function(a,e){i.Service.styleUpdater.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss}),o.styleUpdaterParent.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss,priority:60}),o._postPaletteUpdate()}),a}},{key:'_savePaletteSettings',value:function(){var e;e=this.paletteConfig.createSavableState(BOLDGRID.COLOR_PALETTE.Modify.format_current_palette_state()),i.Service.styleUpdater.stylesState[0].options=i.Service.styleUpdater.stylesState[0].options||{},i.Service.styleUpdater.stylesState[0].options.paletteSettings=e,i.CONTROLS.Color.updatePaletteSettings(e),this.updatedPaletteSettings=e}},{key:'_postPaletteUpdate',value:function(){this._savePaletteSettings(),i.Service.styleUpdater.updateInput()}},{key:'_setupParentLoader',value:function(){var e=BoldgridEditor.control_styles.configuration||[],o=_.find(e,function(e){return'bg-controls-colors'===e.id});o=o?[o]:[],this.styleUpdaterParent=new r.i(document),this.styleUpdaterParent.loadSavedConfig(o),this.styleUpdaterParent.setup()}}]),e}()},"./assets/js/builder/controls/container.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Container={name:'container',tooltip:'Section Width',priority:15,iconClasses:'fa fa-arrows-h',selectors:['.boldgrid-section .container','.boldgrid-section .container-fluid'],init:function(){},onMenuClick:function(){a.toggleSectionWidth()},transitionSize:function(a){o.Controls.$container.find('html').addClass('bg-disabled-handles'),a.css('transition','width .5s'),setTimeout(function(){a.css('transition',''),e(window).trigger('resize'),o.Controls.$container.find('html').removeClass('bg-disabled-handles')},600)},toggleSectionWidth:function(e){e||(e=o.Controls.$menu.targetData[a.name].closest('.container, .container-fluid')),e.hasClass('container')?(a.transitionSize(e),e.addClass('container-fluid'),e.removeClass('container')):(a.transitionSize(e),e.addClass('container'),e.removeClass('container-fluid'))}},BOLDGRID.EDITOR.CONTROLS.Container.init(),a=BOLDGRID.EDITOR.CONTROLS.Container}(jQuery)},"./assets/js/builder/controls/font.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Font={name:'font',tooltip:'Font',priority:30,iconClasses:'fa fa-text-width',selectors:['p, h1, h2, h3, h4, h5, h6, table, section, ul, ol, dl'],exceptionSelector:'img, .draggable-tools-imhwpb *',templateMarkup:null,fontClasses:['bg-font-family-alt','bg-font-family-body','bg-font-family-heading','bg-font-family-menu'],disabledTextContrast:!0,init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Text Setting',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['width','margin','padding','box-shadow','border','border-radius','background-color','blockAlignment','customClasses'],customizeCallback:!0},setup:function(){a._setupEffectClick(),o.CONTROLS.GENERIC.Fontcolor.bind(),a.templateMarkup=wp.template('boldgrid-editor-font')({textEffectClasses:BoldgridEditor.builder_config.textEffectClasses,fonts:BoldgridEditor.builder_config.fonts,themeFonts:a.getThemeFonts(),myFonts:BoldgridEditor.builder_config.components_used.font}),a.bindFontCollpase(),o.FontRender.updateFontLink(o.Controls.$container)},bindFontCollpase:function(){var o=_.debounce(function(){var o=e('.font-family-dropdown');o.hasClass('ui-selectmenu-open')&&o.removeClass('ui-selectmenu-open')},50);e(window).on('scroll',o)},getThemeFonts:function(){var e=[];return-1!==BoldgridEditor.builder_config.theme_features.indexOf('theme-fonts-classes')&&(e=BoldgridEditor.builder_config.theme_fonts),e},_setupEffectClick:function(){var n=o.Panel;n.$element.on('click','.section.effects .panel-selection',function(){var n=e(this),r=o.Menu.$element.targetData[a.name];e.each(BoldgridEditor.builder_config.textEffectClasses,function(){r.removeClass(this.name)}),r.addClass(n.data('preset')),n.siblings().removeClass('selected'),n.addClass('selected')})},onMenuClick:function(){a.openPanel()},charSpacingSlider:function(e){var a=e.css('letter-spacing'),n=a?parseInt(a):0;o.Panel.$element.find('.section.spacing .character .value').html(n),o.Panel.$element.find('.section.spacing .character .slider').slider({step:0.1,min:-0.3,max:5,value:n,range:'max',slide:function(a,n){o.Controls.addStyle(e,'letter-spacing',n.value)}})},lineSpacingSlider:function(e){var a=e.css('line-height'),n=o.Util.convertPxToEm(a,e.css('line-height'));o.Panel.$element.find('.section.spacing .line .value').html(n),o.Panel.$element.find('.section.spacing .line .slider').slider({step:0.1,min:0.5,max:3,value:n,range:'max',slide:function(a,n){o.Controls.addStyle(e,'line-height',n.value+'em')}})},elementClick:function(n){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&(a.openPanel(),o.Panel.$element.find('label[for="font-color"]').is(':visible')&&(n.boldgridRefreshPanel=!0,o.CONTROLS.Color.$currentInput=o.Panel.$element.find('input[name="font-color"]')))},_initTextColor:function(){o.Panel.$element.find('[name="font-color"]').data('type','color').val('#333'),a._hideButtonColor()},_hideButtonColor:function(){var e='> .btn, > .button-primary, > .button-secondary, > a',n=o.Panel.$element.find('.color-preview'),r=o.Menu.getTarget(a),l;l=r.clone(),l.find(e).remove(),!l.text().replace(/ /g,'').length&&r.find(e).length&&n.hide()},_initFamilyDropdown:function(){var n=o.Panel,r;e.widget('custom.fontfamilyselect',e.ui.selectmenu,{_renderItem:function(o,a){return e('<li>').data('ui-autocomplete-item',a).attr('data-value',a.label).attr('data-type',a.element.data('type')).attr('data-index',a.element.data('index')).append(a.label).appendTo(o)},_renderMenu:function(o,a){var n=this;e.each(a,function(e,a){n._renderItemData(o,a)}),o.parent().addClass('font-family-dropdown'),o.addClass('selectize-dropdown-content'),o.find('[data-type="theme"]:first').before('<h3 class="seperator">Theme Fonts</h3>'),o.find('[data-type="custom"]:first').before('<h3 class="seperator">My Fonts</h3>'),o.find('[data-type="all"]:first').before('<h3 class="seperator">All Fonts</h3>'),setTimeout(function(){o.find('.seperator').removeClass('ui-menu-item')})}}),n.$element.find('.selectize-dropdown-content select').fontfamilyselect({select:function(e,n){var l=o.Menu.getTarget(a);return r.attr('data-value',n.item.label),l.removeAttr('data-font-family').removeAttr('data-font-class'),l.removeClass(a.fontClasses.join(' ')),'Default'===n.item.label?void o.Controls.addStyle(l,'font-family',''):void('theme'===n.item.element.data('type')?(l.addClass(n.item.element.data('index')),l.attr('data-font-class',n.item.element.data('index')),o.Controls.addStyle(l,'font-family','')):(l.attr('data-font-family',n.item.label),o.Controls.addStyle(l,'font-family',n.item.label)),o.FontRender.updateFontLink(o.Controls.$container))}}),r=a.getFamilySelection(),a.preselectFamily()},getFamilySelection:function(){return o.Panel.$element.find('.section.family .ui-selectmenu-button')},preselectFamily:function(){var e='Default',n=a.getFamilySelection(),r=o.Menu.getTarget(a),l;r.is('.'+a.fontClasses.join(',.'))?(l=r.attr('data-font-class'),e=o.Panel.$element.find('.section.family [data-index="'+l+'"]').data('value')):r.attr('data-font-family')&&(e=r.attr('data-font-family')),n.attr('data-value',e)},setTextColorInput:function(){var e=o.Menu.getTarget(a),n;n=o.CONTROLS.Color.findAncestorColor(e,'color'),o.Panel.$element.find('input[name="font-color"]').attr('value',n)},setTextEffect:function(){var e=o.Menu.getTarget(a),n=o.Panel.$element.find('.panel-body .section.effects'),r=o.Util.getClassesLike(e,'bg-text-fx');n.find('.panel-selection.selected').removeClass('selected'),r.length?n.find('.panel-selection').find('.'+r.join('.')).closest('.panel-selection').addClass('selected'):n.find('.none-selected').addClass('selected')},selectPresets:function(){a.setTextColorInput(),a.setTextEffect()},openPanel:function(){var e=o.Panel,n=o.Menu.getTarget(a);e.clear(),e.$element.find('.panel-body').html(a.templateMarkup),a.charSpacingSlider(n),a.lineSpacingSlider(n),a._initTextColor(n),a._initFamilyDropdown(),a.selectPresets(),e.open(a),e.scrollTo(0),o.CONTROLS.GENERIC.Fontsize.bind()}},BOLDGRID.EDITOR.CONTROLS.Font.init(),a=BOLDGRID.EDITOR.CONTROLS.Font}(jQuery)},"./assets/js/builder/controls/generic.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/index.js'),r=a('./assets/js/builder/controls/generic/background-color.js'),l=a('./assets/js/builder/controls/generic/border.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,a;o.CONTROLS.Generic={defaultCustomize:wp.template('boldgrid-editor-default-customize'),basicControlInstances:[],bgControls:{margin:n.f,padding:n.g,"box-shadow":n.c,"border-radius":n.b,border:l.Border,"background-color":r.BackgroundColor},allControls:['background-color','fontColor','margin','padding','border','box-shadow','border-radius','width','blockAlignment','customClasses'],appendBasicBGControl:function(e,n){var r=new n({target:o.Menu.getCurrentTarget(),colorPicker:{width:215}}),l;return r.applyCssRules=function(e){o.Controls.addStyle(r.$target,e),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')},a.basicControlInstances.push(r),l=r.render(),a.appendControl(l),l},appendControl:function(e){o.Panel.$element.find('.panel-body .customize').append(e)},createCustomizeSection:function(){var e=o.Panel.$element.find('.choices'),n=a.defaultCustomize();return e.length||(e=o.Panel.$element.find('.panel-body')),e.append(n),n},initControls:function(){var n=o.Panel.currentControl.panel.customizeSupport||[],r=o.Panel.currentControl.panel.customizeSupportOptions||!1;a.basicControlInstances=[],n.length&&!o.Panel.$element.find('.panel-body .customize').length&&a.createCustomizeSection(),e.each(n,function(){var e=this,n={},l;r&&r[this]&&(n=r[this]),a.bgControls[e]?l=a.appendBasicBGControl(n,a.bgControls[e]):(e=e.replace('-',''),e=e.toLowerCase(),e=e.charAt(0).toUpperCase()+e.slice(1),l=o.CONTROLS.GENERIC[e].render(n),o.CONTROLS.GENERIC[e].bind(n)),o.Tooltip.renderTooltips(),l.attr('data-control-name',this)}),a.bindControlRefresh()},bindControlRefresh:function(){o.Panel.$element.on('bg-customize-open',function(){_.each(a.basicControlInstances,function(e){e.refreshValues&&e.refreshValues()})})},setupInputCustomization:function(){o.Panel.$element.on('change','.class-control input',function(){var a=e(this),n=a.attr('name'),r=o.Menu.getCurrentTarget(),l=[],s=a.closest('.class-control').find('input[name="'+n+'"]');s.each(function(){l.push(e(this).val())}),r.removeClass(l.join(' ')),r.addClass(a.val())})},setupInputInitialization:function(){var a=BOLDGRID.EDITOR.Panel;a.$element.on('bg-customize-open',function(){var n=o.Menu.getCurrentTarget();a.$element.find('.class-control input[default]').prop('checked',!0),a.$element.find('.class-control input').each(function(){var o=e(this);n.hasClass(o.val())&&o.prop('checked',!0)})})}},a=BOLDGRID.EDITOR.CONTROLS.Generic}(jQuery)},"./assets/js/builder/controls/generic/background-color.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'BackgroundColor',function(){return c}),a.d(o,'default',function(){return c});var r=a('./includes/template/customize/background-color.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=BOLDGRID.EDITOR,d=window.jQuery,c=function(){function e(){n(this,e)}return s(e,[{key:'render',value:function(){return this.$target=i.Menu.getCurrentTarget(),this.$control=this.createControl(),this.$input=this.$control.find('[name="generic-bg-color"]'),this._bind(),this.$control}},{key:'createControl',value:function(){var e=this,o=d(l.a);return i.Panel.$element.find('.panel-body .customize .generic-bg-color').remove(),i.Panel.$element.find('.panel-body .customize').append(o),i.Panel.$element.on('bg-customize-open',function(){var o=e.$target.css('background-color');i.Controls.$container.color_is(o,'transparent')&&(o='#FFFFFF'),e.$control.find('label.color-preview').css('background-color',o)}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),a=e.$input.attr('data-type');e.$target.removeClass(i.CONTROLS.Color.textContrastClasses.join(' ')),e.$target.removeClass(i.CONTROLS.Color.backgroundColorClasses.join(' ')),i.Controls.addStyle(e.$target,'background-color',''),'class'===a?(!i.Panel.currentControl.disabledTextContrast&&e.$target.addClass(i.CONTROLS.Color.getColorClass('text-contrast',o)),e.$target.addClass(i.CONTROLS.Color.getColorClass('background-color',o))):i.Controls.addStyle(e.$target,'background-color',o),i.Panel.$element.trigger(i.Panel.currentControl.name+'-background-color-change')})}}]),e}()},"./assets/js/builder/controls/generic/block-alignment.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment={template:wp.template('boldgrid-editor-horizontal-block-alignment'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.horizontal-block-alignment').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var n=o.Menu.getCurrentTarget(),r=n.is('hr')?'center':'left',l=o.Panel.$element.find('.section.horizontal-block-alignment input'),s=parseInt(n.css('margin-left')),i=parseInt(n.css('margin-right'));0===s&&0!==i?r='left':0===i&&0!==s&&(r='right'),l.filter('[value="'+r+'"]').prop('checked',!0),o.Panel.$element.find('.section [name="horizontal-block-alignment"]').on('change',function(){var r=e(this),l=r.val();a._applyMargin(n,l),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')})},_applyMargin:function(e,o){e.removeAttr('align'),'center'===o?(e.css('margin-left','auto'),e.css('margin-right','auto')):'left'===o?(e.css('margin-right','auto'),e.css('margin-left','0')):(e.css('margin-right','0'),e.css('margin-left','auto'))}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment}(jQuery)},"./assets/js/builder/controls/generic/border.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Border',function(){return m}),a.d(o,'default',function(){return m});var s=a('./includes/template/customize/color.html'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/index.js'),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=BOLDGRID.EDITOR,g=window.jQuery,m=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.configs={name:'generic-border-color',label:'Border Color',propertyName:'border-color'},a}return l(o,e),c(o,[{key:'render',value:function(){var e=p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this);return this.$target=u.Menu.getCurrentTarget(),this.$colorControl=this.createControl(),this.$control.append(this.$colorControl),this.$input=this.$colorControl.find('[name="'+this.configs.name+'"]'),this._bind(),e}},{key:'createControl',value:function(){var e=this,o=g(_.template(i.a)(this.configs));return u.Panel.$element.on('bg-customize-open',function(){e.$control.find('label.color-preview').css('background-color',e.$target.css(e.configs.propertyName))}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),a=e.$input.attr('data-type');u.CONTROLS.Color.resetBorderClasses(e.$target),'class'===a?e.$target.addClass(u.CONTROLS.Color.getColorClass(e.configs.propertyName,o)):u.Controls.addStyle(e.$target,e.configs.propertyName,o),u.Panel.$element.trigger(u.Panel.currentControl.name+'-'+e.configs.propertyName+'-change')})}}]),o}(d.a)},"./assets/js/builder/controls/generic/custom-classes.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Customclasses={template:wp.template('boldgrid-editor-custom-classes'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.custom-classes').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var a=o.Panel,n=o.Menu.getCurrentTarget(),r=n.attr('custom-classes');a.$element.find('[name="custom-classes"]').on('input',function(){var o=e(this),a=n.attr('custom-classes'),r=o.val();r=r.replace(',',' '),n.removeClass(a),n.attr('custom-classes',r),n.addClass(r)}).val(r),a.$element.find('.custom-classes').show()}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Classes}(jQuery)},"./assets/js/builder/controls/generic/font-color.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor={bound:!1,template:wp.template('boldgrid-editor-font-color'),render:function(){var a=e(this.template()),n=o.Menu.getTarget(o.Panel.currentControl);return o.Panel.$element.find('.panel-body .customize').find('.section.font-color').remove(),o.Panel.$element.find('.panel-body .customize').append(a),o.Panel.$element.on('bg-customize-open',function(){o.Panel.$element.find('.panel-body .customize').find('.section.font-color label').css('background-color',n.css('color'))}),a},bind:function(){var a=o.Panel;return!this.bound&&void(a.$element.on('change','.section [name="font-color"]',function(){var a=e(this),n=o.Menu.getCurrentTarget(),r=a.val(),l=a.attr('data-type');n.removeClass(o.CONTROLS.Color.colorClasses.join(' ')),o.Controls.addStyle(n,'color',''),'class'===l?n.addClass(o.CONTROLS.Color.getColorClass('color',r)):o.Controls.addStyle(n,'color',r)}),this.bound=!0)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor}(jQuery)},"./assets/js/builder/controls/generic/font-size.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize={template:wp.template('boldgrid-editor-font-size'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.size').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var e=o.Menu.getTarget(o.Panel.currentControl),a=e.css('font-size'),n=a?parseInt(a):14;n=5<=n?n:14,o.Panel.$element.find('.section.size .value').html(n),o.Panel.$element.find('.section.size .slider').slider({min:5,max:115,value:n,range:'max',slide:function(a,n){o.Panel.$element.find('.section.size .value').html(n.value),o.Controls.addStyle(e,'font-size',n.value)}})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize}(jQuery)},"./assets/js/builder/controls/generic/link.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Link={template:wp.template('boldgrid-editor-insert-link'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.insert-link').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){o.Panel.$element.find('.section.insert-link').on('click',function(){var e=o.Menu.getTarget(o.Panel.currentControl);BOLDGRID.EDITOR.mce.selection.select(e[0]),BOLDGRID.EDITOR.mce.execCommand('WP_Link')})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Link}(jQuery)},"./assets/js/builder/controls/generic/margin.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin={template:wp.template('boldgrid-editor-margin'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.margin-control').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(e){e||(e={});var a=e.vertMin||0,n=e.horMin||-15,r=e.horMax||50,l=e.vertMax||200,s=o.Menu.getCurrentTarget(),i=s.css('margin-top'),d=s.css('margin-left');!1===e.horizontal&&o.Panel.$element.find('.margin-horizontal').hide(),!1===e.vertical&&o.Panel.$element.find('.margin-top').hide(),i=i&&'auto'!==i?parseInt(i):0,d=d&&'auto'!==d?parseInt(d):0,o.Panel.$element.find('.panel-body .customize .margin-horizontal .slider').slider({min:n,max:r,value:d,range:'max',slide:function(e,a){s=o.Menu.getCurrentTarget(),o.Controls.addStyle(s,'margin-left',a.value),o.Controls.addStyle(s,'margin-right',a.value)}}).siblings('.value').html(d),o.Panel.$element.find('.panel-body .customize .margin-top .slider').slider({min:a,max:l,value:i,range:'max',slide:function(e,a){s=o.Menu.getCurrentTarget(),o.Controls.addStyle(s,'margin-top',a.value),o.Controls.addStyle(s,'margin-bottom',a.value)}}).siblings('.value').html(i)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin}(jQuery)},"./assets/js/builder/controls/generic/rotate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate={classes:['fa-rotate-90','fa-rotate-180','fa-rotate-270'],getDefault:function(){var e=o.Menu.getCurrentTarget(),a=0;return e.hasClass('fa-rotate-90')?a=90:e.hasClass('fa-rotate-180')?a=180:e.hasClass('fa-rotate-270')&&(a=270),a},template:wp.template('boldgrid-editor-rotate'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.rotate-control').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var e=this.getDefault(),n=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.rotate-control .value').html(e),o.Panel.$element.find('.section.rotate-control .slider').slider({min:0,step:90,max:270,value:e,range:'max',slide:function(e,o){n.removeClass(a.classes.join(' ')),o.value&&n.addClass('fa-rotate-'+o.value)}})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate}(jQuery)},"./assets/js/builder/controls/generic/width.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Width={template:wp.template('boldgrid-editor-generic-width'),render:function(){var a=e(this.template()),n=o.Panel.$element.find('.panel-body .customize');return n.find('.section.width-control').remove(),n.append(a),a},bind:function(){var e=100,a=o.Menu.getCurrentTarget(),n=a[0].style.width||a.attr('width');n=n?parseInt(n):e,n=Math.min(n,e),n=Math.max(n,0),o.Panel.$element.find('.panel-body .customize .width .slider').slider({min:10,max:100,value:n,range:'max',slide:function(e,n){100===n.value?o.Controls.addStyle(a,'width','auto'):o.Controls.addStyle(a,'width',n.value+'%')}}).siblings('.value').html(n)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Width}(jQuery)},"./assets/js/builder/controls/global.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});a('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){var e=BOLDGRID.EDITOR,o;e.CONTROLS.Global={$element:null,name:'global-options',tooltip:'Global Options',priority:2,iconClasses:'fa fa-globe',selectors:['html'],menuDropDown:{title:'Global Options',options:[{name:'Color Palette',class:'action open-color-palette font-awesome fa-paint-brush'},{name:'Delete Post Content',class:'action delete-all-content font-awesome fa-trash'}]},init:function(){BoldgridEditor.is_boldgrid_theme&&this.menuDropDown.options.splice(0,1),e.Controls.registerControl(this)},deleteContent:function(){e.Controls.$container.find('body').html('<p></p>'),e.Controls.$container.validate_markup(),IMHWPB.WP_MCE_Draggable.instance.add_tiny_mce_history()},setup:function(){var o=this;e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.open-color-palette',function(){e.Controls.get('Palette').openPanel()}),e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.delete-all-content,.action.edit-page-settings',function(){var e=confirm('Are you sure you want to clear this post\'s content?');e&&o.deleteContent()})}},BOLDGRID.EDITOR.CONTROLS.Global.init(),o=BOLDGRID.EDITOR.CONTROLS.Global}(jQuery)},"./assets/js/builder/controls/help.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Help={name:'help',tooltip:'Help',priority:3,iconClasses:'fa fa-question',selectors:['html'],menuDropDown:{title:'Help',options:[{name:'Editing Guide',class:'action font-awesome fa-question support-center'},{name:'Information',class:'action font-awesome fa-info bg-editor-information'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.support-center',o.openSupportCenter).on('click','.action.bg-editor-information',o.iconHelp)},openSupportCenter:function(){window.open('https://www.boldgrid.com/support/editing-your-pages/wordpress-page-post-editor/?source=boldgrid-editor_drop-tab','_blank')},iconHelp:function(){e.CONTROLS.Information.activate()}},BOLDGRID.EDITOR.CONTROLS.Help.init(),o=BOLDGRID.EDITOR.CONTROLS.Help}()},"./assets/js/builder/controls/hr.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Hr={name:'hr',tooltip:'Horizontal Line',priority:80,iconClasses:'genericon genericon-minus',selectors:['.bg-editor-hr-wrap'],componentPrefix:'bg-hr',panel:{title:'Horizontal Line',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['fontColor','margin','padding','border','box-shadow','width','blockAlignment','customClasses'],customizeSupportOptions:{margin:{horizontal:!1}},customizeCallback:!0,preselectCallback:!0,styleCallback:!0},maxMyDesigns:10,init:function(){o.Controls.registerControl(this),a.myDesigns=[],a.userDesigns._format(),a.template=wp.template('boldgrid-editor-hr')},getTarget:function(){return a.$currentTarget},onMenuClick:function(){var e=o.Panel;a.$currentTarget=BOLDGRID.EDITOR.Menu.getTarget(a).find('hr:first'),a.userDesigns._update(),e.clear(),e.$element.find('.panel-body').html(a.template({text:'Horizontal Rule',presets:BoldgridEditor.builder_config.component_library.hr.styles,myPresets:a.myDesigns})),e.showFooter(),e.open(a)},userDesigns:{append:function(e){var n=o.Util.getComponentClasses(e,a.componentPrefix).join(' ');n&&-1===a.myDesigns.indexOf(n)&&a.myDesigns.push(n)},_format:function(){var e=BoldgridEditor.builder_config,o=BoldgridEditor.builder_config.components_used.hr||[];_.each(o.slice(0,a.maxMyDesigns),function(e){a.userDesigns.append(e.classes)})},_update:function(){a.myDesigns.length>=a.maxMyDesigns||o.Controls.$container.$body.find('hr').each(function(){a.userDesigns.append(e(this).attr('class'))})}}},a=BOLDGRID.EDITOR.CONTROLS.Hr,BOLDGRID.EDITOR.CONTROLS.Hr.init()}(jQuery)},"./assets/js/builder/controls/icon.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Icon={name:'icon',priority:80,tooltip:'Icon Design',iconClasses:'fa fa-cog',selectors:['.fa'],panel:{title:'Change Icon',height:'575px',width:'335px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['fontColor','fontSize','margin','padding','rotate','box-shadow','border','border-radius','background-color','customClasses']},template:wp.template('boldgrid-editor-icon'),init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupClosePanel(),a._setupCustomizeLeave()},elementClick:function(){a.openPanel()},_setupCustomizeLeave:function(){o.Panel.$element.on('bg-customize-exit',function(){a.name===o.Panel.currentControl.name&&a.highlightElement()})},_setupClosePanel:function(){o.Panel.$element.on('bg-panel-close',function(){o.Panel.currentControl&&a.name===o.Panel.currentControl.name&&a.collapseSelection()})},collapseSelection:function(){BOLDGRID.EDITOR.mce.execCommand('wp_link_cancel')},insertNew:function(){var e;send_to_editor('<i class="fa fa-cog bg-inserted-icon" aria-hidden="true"><span style="display:none;"> </span></i>'),e=o.Controls.$container.find('.bg-inserted-icon').last(),o.Controls.$container.find('.bg-inserted-icon').removeClass('bg-inserted-icon'),o.Controls.$menu.targetData[a.name]=e,e.click()},setupPanelClick:function(){var o=BOLDGRID.EDITOR.Controls,n=BOLDGRID.EDITOR.Panel;n.$element.on('click','.icon-controls .panel-selection',function(){var r=o.$menu,l=r.targetData[a.name],s=e(this),i=l.hasClass('fa-li')?'fa-li':'';l.removeClass(function(e,o){return(o.match(/(^|\s)fa-\S+/g)||[]).join(' ')}),l.addClass(s.find('i').attr('class')+' '+i),n.$element.find('.selected').removeClass('selected'),s.addClass('selected')})},highlightElement:function(){var e=o.Menu.getTarget(a);BOLDGRID.EDITOR.mce.selection.select(e[0])},onMenuClick:function(){a.openPanel()},openPanel:function(){var e=o.Panel.$element,n=o.Controls.$menu,r=n.targetData[a.name],l;a.highlightElement(),a.setupPanelClick(),e.find('.panel-body').html(a.template({presets:BoldgridEditor.icons})),e.find('.selected').removeClass('selected'),l=e.find('i[class="'+r.attr('class')+'"]').closest('.panel-selection').addClass('selected'),BOLDGRID.EDITOR.Panel.open(a)}},BOLDGRID.EDITOR.CONTROLS.Icon.init(),a=BOLDGRID.EDITOR.CONTROLS.Icon}(jQuery)},"./assets/js/builder/controls/image/change.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.IMAGE.Change={name:'image-change',tooltip:'Change Image',priority:85,iconClasses:'genericon genericon-image',selectors:['img'],init:function(){e.Controls.registerControl(this)},openModal:function(){var o=BOLDGRID.EDITOR.mce.selection.getNode();o&&'IMG'!==o.nodeName&&1===o.childElementCount&&'IMG'===o.firstChild.nodeName&&BOLDGRID.EDITOR.mce.selection.select(o.firstChild),BOLDGRID.EDITOR.mce.buttons.wp_img_edit.onclick(),wp.media.frame.setState('replace-image'),wp.media.frame.state('replace-image').on('replace',function(o){e.CropInstance.onReplace(o)})},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Change.init(),o=BOLDGRID.EDITOR.CONTROLS.IMAGE.Change}(jQuery)},"./assets/js/builder/controls/image/design.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.IMAGE.Design={classes:BoldgridEditor.builder_config.image,name:'image',tooltip:'Image Design',priority:80,iconClasses:'fa fa-cog',selectors:['img'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Image Design',height:'550px',width:'325px',includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0,customizeSupport:['background-color','margin','border-radius','padding','border','box-shadow','customClasses']},onMenuClick:function(){a.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},setup:function(){a.validateComponentsUsed(),a._setupPanelClick(),a._setupCustomizeHandlers()},_setupCustomizeHandlers:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-exit',function(){e.currentControl===a&&o.Panel.showFooter()})},validateComponentsUsed:function(){var o=BoldgridEditor.builder_config.components_used;e.each(o.image,function(){var o=e('<div>').attr('class',this.classes);a.removeImageClass(o),this.classes=o.attr('class')}),o.image=_.uniq(o.image,function(e){return e.a})},removeImageClass:function(e){return e.removeClass(function(e,o){return(o.match(/(^|\s)wp-image-\S+/g)||[]).join(' ')}),e},_setupPanelClick:function(){var n=BOLDGRID.EDITOR.Panel;n.$element.on('click','.image-design .panel-selection',function(){var r=e(this),l=r.data('preset'),s=BOLDGRID.EDITOR.Menu.getTarget(a);o.Controls.addStyle(s,'border',''),o.Controls.addStyle(s,'border-radius',''),s.removeClass(function(e,o){return(o.match(/(^|\s)bg-img-\S+/g)||[]).join(' ')}),a.removeModClasses(s),s.removeClass(function(e,o){return(o.match(/(^|\s)img-\S+/g)||[]).join(' ')}),BOLDGRID.EDITOR.mce.selection.collapse(!1),r.hasClass('selected')?n.clearSelected():(n.clearSelected(),s.addClass(l),r.addClass('selected'))})},removeModClasses:function(e){e.parent('[class^="mod-img"]').removeClass(function(e,o){return(o.match(/(^|\s)mod-img-\S+/g)||[]).join(' ')})},preselectImage:function(){var n=o.Menu.getTarget(a),r=n.attr('class'),l=[];if(r=r?r.split(' '):[],e.each(r,function(){0===this.indexOf('bg-img')&&l.push(this)}),l=l.join(' '),l)return o.Panel.$element.find('[data-preset="'+l+'"]:first').addClass('selected'),!1},_updateMyDesigns:function(){a.usedComponents=BoldgridEditor.builder_config.components_used.image.slice(0),o.Controls.$container.$body.find('.bg-img').each(function(){var o=e(this),n=o.clone().removeClass('bg-control-element'),r,l,s,i;n=a.removeImageClass(n),r=n.attr('class'),l=a.usedComponents,i=function(e){return e.classes===r},s=_.findIndex(l,i),-1===s&&l.push({style:n.attr('style'),classes:r})})},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,o=BOLDGRID.EDITOR.Menu.getTarget(a),n=wp.template('boldgrid-editor-image');a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(n({src:o.attr('src'),presets:a.classes,myPresets:a.usedComponents})),a.preselectImage(),e.open(a)}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Design.init(),a=BOLDGRID.EDITOR.CONTROLS.IMAGE.Design}(jQuery)},"./assets/js/builder/controls/image/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter={name:'image-filter',priority:90,iconClasses:'fa fa-magic',tooltip:'Image Filter',sliderHistory:{},preview:null,presetIntensity:'50%',panel:{title:'Image Filters',height:'536px',width:'800px',scrollTarget:'.presets ul',sizeOffset:-130},selectors:['img'],presets:[{name:'none',title:'None'},{name:'vintage',title:'Vintage'},{name:'lomo',title:'Lomo'},{name:'clarity',title:'Clarity'},{name:'sinCity',title:'Sin City'},{name:'sunrise',title:'Sunrise'},{name:'crossProcess',title:'Cross Process'},{name:'orangePeel',title:'Orange Peel'},{name:'love',title:'Love'},{name:'grungy',title:'Grungy'},{name:'jarques',title:'Jarques'},{name:'pinhole',title:'Pinhole'},{name:'oldBoot',title:'Old Boot'},{name:'glowingSun',title:'Glowing Sun'},{name:'hazyDays',title:'Hazy Days'},{name:'herMajesty',title:'Her Majesty'},{name:'nostalgia',title:'Nostalgia'},{name:'hemingway',title:'Hemingway'},{name:'concentrate',title:'Concentrate'}],customizeSettings:{brightness:{title:'Brightness',range:{min:-50,max:50}},vibrance:{title:'Vibrance',range:{min:-50,max:50}},contrast:{title:'Contrast',range:{min:-10,max:10}},saturation:{title:'Saturation',range:{min:-50,max:50}},exposure:{title:'Exposure',range:{min:-50,max:50}},hue:{title:'Hue',range:{min:0,max:100}},gamma:{title:'Gamma',range:{min:1,max:4,val:1}},clip:{title:'Clip',range:{min:0,max:50}},stackBlur:{title:'Blur',range:{min:0,max:30}},sepia:{title:'Sepia',range:{min:0,max:100}},noise:{title:'Noise',range:{min:0,max:50}},sharpen:{title:'Sharpen',range:{min:0,max:50}}},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupInsertClick(),a._setupToggleCustomize(),a._setupPanelClick()},_setupToggleCustomize:function(){var e=BOLDGRID.EDITOR.Panel,o;e.$element.on('click','.presets .activate-customize',function(){e.$element.find('.choices').addClass('customizing'),a.preview.revert(),a.applySliderSettings()}),e.$element.on('click','.customize .activate-presets',function(){e.$element.find('.choices').removeClass('customizing'),a.preview.revert(),o=e.$element.find('.selected').data('preset'),o&&'none'!==o?a.renderPreset(o):(e.clearSelected(),e.$element.find('[data-preset="none"]').addClass('selected'))})},renderPreset:function(e){var o=BOLDGRID.EDITOR.Panel;o.$element.addClass('rendering'),a.preview.revert(!1),a.preview[e](a.presetIntensity).render(function(){o.$element.removeClass('rendering')})},_setupPanelClick:function(){var o=BOLDGRID.EDITOR.Panel;o.$element.on('click','.image-filter .panel-selection',function(){var n=e(this),r=n.data('preset');return!o.$element.hasClass('rendering')&&void(o.clearSelected(),n.addClass('selected'),'none'===r?a.preview.revert():a.renderPreset(r))})},_setupInsertClick:function(){BOLDGRID.EDITOR.Panel.$element.on('click','.preview .insert-image',function(){a.insertImage()})},_setupSliders:function(){a.sliderHistory={},BOLDGRID.EDITOR.Panel.$element.find('.slider').each(function(){var o=e(this),n=o.data('control'),r=a.customizeSettings[n].range;o.slider({min:r.min,max:r.max,value:r.val||0,change:function(o,e){a.sliderHistory[n]=e.value,a.applySliderSettings()}})})},applySliderSettings:function(){a.preview.revert(!1),e.each(a.sliderHistory,function(e){a.preview[e](this)}),a.preview.render()},insertImage:function(){var o=BOLDGRID.EDITOR.Panel,n=BOLDGRID.EDITOR.Menu.getTarget(a);o.$element.addClass('rendering'),e.ajax({type:'post',url:ajaxurl,dataType:'json',data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,attachement_id:n.attachment_id,image_data:a.preview.canvas.toDataURL()},success:function(e){e&&e.success&&(e=e.data,n.removeClass('wp-image-'+n.attachment_id),n.addClass('wp-image-'+e.attachment_id),n.attachment_id=e.attachment_id,n.attr('src',e.url),n.attr('data-mce-src',e.url),BoldgridEditor.images=e.images)}}).always(function(){o.$element.removeClass('rendering')})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},_renderPanelThumbnails:function(){var e=1,n;n=function(){var r='[data-preset="'+a.presets[e].name+'"] img';o.Panel.$element.find(r).length&&Caman(r,function(){this[a.presets[e].name]('50%').render(function(){e++,a.presets[e]&&n()})})},n()},getImageSrc:function(){var o=BOLDGRID.EDITOR.Menu.getTarget(a),n=o.attr('src'),r;return e.each(BoldgridEditor.images,function(){if(o.hasClass('wp-image-'+this.attachment_id))return o.attachment_id=this.attachment_id,r=this.thumbnail,!1}),r||(r=n),{src:r,fullSrc:n}},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,n=wp.template('boldgrid-editor-image-filter'),r;e.clear(),r=this.getImageSrc(),e.$element.removeClass('rendering'),e.$element.find('.panel-body').html(n({fullSrc:r.fullSrc,src:r.src,presets:a.presets,customizeSettings:a.customizeSettings})),!r.fullSrc||Caman.IO.isURLRemote(r.fullSrc)?o.Panel.$element.find('.panel-body .remote-image-error').addClass('error-active'):(a._setupSliders(),a._renderPanelThumbnails(),e.$element.find('[data-preset="none"]').addClass('selected'),a.preview=Caman(e.$element.find('.preview img')[0])),BOLDGRID.EDITOR.mce.selection.collapse(!1),e.open(a),e.centerPanel()},onMenuClick:function(){a.openPanel()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter.init(),a=BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter}(jQuery)},"./assets/js/builder/controls/information.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Information={name:'information',panel:{title:'Controls Information',height:'575px',icon:'fa fa-info',width:'750px'},init:function(){e.Controls.registerControl(this)},activate:function(){o.onMenuClick()},setup:function(){o.templateHTML=wp.template('boldgrid-editor-information')()},onMenuClick:function(){var a=e.Panel;a.clear(),a.$element.find('.panel-body').html(o.templateHTML),a.open(o),a.centerPanel()}},BOLDGRID.EDITOR.CONTROLS.Information.init(),o=BOLDGRID.EDITOR.CONTROLS.Information}(jQuery)},"./assets/js/builder/controls/media/edit.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit={name:'edit-media',tooltip:'Edit',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['[data-wpview-type="gallery"]','[data-wpview-type="ninja_forms"]'],init:function(){e.Controls.registerControl(this)},openModal:function(){var a=e.Menu.getTarget(o).get(0);a&&wp.mce.views.edit(BOLDGRID.EDITOR.mce,a)},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit}(jQuery)},"./assets/js/builder/controls/media/map.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Map={name:'edit-maps',tooltip:'Edit Map',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['.boldgrid-google-maps'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},openModal:function(){wp.media.editor.open(),wp.media.frame.setState('iframe:google_map'),o.setContent()},setContent:function(){var o=e.Menu.getTarget(this);e.Controls.$container.find(o).length&&BOLDGRID.EDITOR.mce.selection.select(o[0])},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Map.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Map}(jQuery)},"./assets/js/builder/controls/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Section={$container:null,$popover:null,$currentSection:[],zoomSliderSettings:{min:1,max:6,defaultVal:3},init:function(e){n.renderZoomTools(),n.$container=e,n.bindHandlers()},bindHandlers:function(){var e=o('.bg-zoom-controls'),r=e.find('.zoom-in'),l=e.find('.zoom-out');a.Service.popover.section.$element.find('.move-sections').on('click',n.enableSectionDrag),o('.exit-row-dragging, .bg-close-zoom-view').on('click',n.exitSectionDrag),r.on('click',n.zoom.zoomIn),l.on('click',n.zoom.zoomOut),o(window).on('resize',n.updateHtmlSize)},updateHtmlSize:function(){var e,r;!o('body').hasClass('boldgrid-zoomout')||'Firefox'===a.Controls.browser&&n.$container.$body.find('.wpview').length||(e=n.$container.$body[0].getBoundingClientRect(),r=e.bottom-e.top+50,n.$container.find('html').css('max-height',r),o('#content_ifr').css('max-height',r))},zoom:{change:function(e){var o=parseInt(n.$slider.slider('value'));n.$slider.slider('value',e(o)).trigger('change')},zoomIn:function(){n.zoom.change(function(e){return e+1})},zoomOut:function(){n.zoom.change(function(e){return e-1})}},renderZoomTools:function(){var e=wp.template('boldgrid-editor-zoom-tools');o('#wp-content-editor-tools').append(e())},exitSectionDrag:function(r){var e=o('body'),l=o(window),s=n.$container.find('html');r.preventDefault(),n.$container.validate_markup(),n.$container.$body.find('.loading-gridblock').remove(),n.sectionDragEnabled=!1,e.removeClass('focus-on boldgrid-zoomout'),l.trigger('resize'),s.removeClass('zoomout dragging-section'),n.$container.$body.attr('contenteditable','true'),a.Controls.$menu.hide(),n.$container.$body.css('transform',''),s.css('max-height',''),o('#content_ifr').css('max-height',''),o('html, body').animate({scrollTop:o('#postdivrich').offset().top},0)},zoomDisabled:function(){if(IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.draggable_inactive)return alert('Add Block requires that BoldGrid Editing be enabled on this page. You can enable it by clicking the move icon \u2629 on your editor toolbar.'),!0},enableSectionDrag:function(){var e;n.zoomDisabled()||(o.fourpan.dismiss(),n.sectionDragEnabled=!0,n.$container.find('html').addClass('zoomout dragging-section'),n.$container.$body.removeAttr('contenteditable'),n.$slider=o('.bg-zoom-controls .slider'),a.Controls.$menu.addClass('section-dragging'),o('body').addClass('focus-on boldgrid-zoomout').find('#wpadminbar').addClass('focus-off'),o(window).trigger('resize').scrollTop(0),n.updateHtmlSize(),BOLDGRID.EDITOR.GRIDBLOCK.Loader.firstOpen(),a.GRIDBLOCK.View.onOpen(),e=function(e){n.removeZoomClasses(),n.$container.$body.addClass('zoom-scale-'+e),n.updateHtmlSize()},n.$slider.slider({min:n.zoomSliderSettings.min,max:n.zoomSliderSettings.max,value:n.zoomSliderSettings.defaultVal,orientation:'vertical',range:'max',change:function(o,a){e(a.value)},slide:function(o,a){e(a.value)}}))},removeZoomClasses:function(){n.$container.$body.removeClass(function(e,o){return(o.match(/(^|\s)zoom-scale-\S+/g)||[]).join(' ')})}},n=BOLDGRID.EDITOR.CONTROLS.Section}(jQuery)},"./assets/js/builder/controls/template.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Template',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=jQuery,s=l('body'),i=function(){function e(){n(this,e),this.bodyClassName='boldgrid-editor-template',this.$templateInput=l('#page_template')}return r(e,[{key:'init',value:function(){var o=this;this.updateBodyClass(),this.updateDefaultContainer(),this.$templateInput.on('change',function(a){o.updateBodyClass(),o.updateDefaultContainer(),BoldgridEditor.features.template_via_url&&(BOLDGRID.EDITOR.Service.loading.show(),BOLDGRID.EDITOR.Service.editorWidth.updateIframeUrl(BoldgridEditor.site_url+'&template_choice='+l(a.target).val()))})}},{key:'updateDefaultContainer',value:function(){var e=BoldgridEditor.builder_config.templateContainers;BoldgridEditor.is_boldgrid_template||(e[this.$templateInput.val()]?BoldgridEditor.default_container=e[this.$templateInput.val()]:BoldgridEditor.default_container='container-fluid')}},{key:'updateBodyClass',value:function(){this.isBoldgridTemplate(this.$templateInput.val())?s.addClass(this.bodyClassName):s.removeClass(this.bodyClassName)}},{key:'isBoldgridTemplate',value:function(e){return!!BoldgridEditor.internalPageTemplates[e]}}]),e}();new i().init()},"./assets/js/builder/customize/navigation.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Navigation',function(){return L}),a.d(o,'default',function(){return L});var r=a('./includes/template/customize/navigation.html'),l=a.n(r),s=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/margin.svg'),i=a.n(s),d=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/padding.svg'),c=a.n(d),p=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border.svg'),u=a.n(p),g=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/box-shadow.svg'),m=a.n(g),b=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border-radius.svg'),C=a.n(b),h=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/custom-class.svg'),f=a.n(h),v=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/width.svg'),D=a.n(v),y=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/block-align.svg'),E=a.n(y),F=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/color.svg'),w=a.n(F),k=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/background-color.svg'),B=a.n(k),A=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/rotate.svg'),O=a.n(A),R=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/font-size.svg'),I=a.n(R),T=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/design.svg'),S=a.n(T),P=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),x=window.jQuery,$=BOLDGRID.EDITOR,L=function(){function e(){n(this,e),this.template=_.template(l.a),this.data={controls:[{name:'design',icon:S.a,label:'Element Design'},{name:'padding',icon:c.a,label:'Padding'},{name:'margin',icon:i.a,label:'Margin'},{name:'fontSize',icon:I.a,label:'Font Size'},{name:'fontColor',icon:w.a,label:'Color'},{name:'background-color',icon:B.a,label:'Background Color'},{name:'rotate',icon:O.a,label:'Rotate'},{name:'border',icon:u.a,label:'Border'},{name:'border-radius',icon:C.a,label:'Border Radius'},{name:'box-shadow',icon:m.a,label:'Box Shadow'},{name:'width',icon:D.a,label:'Width'},{name:'blockAlignment',icon:E.a,label:'Block Alignment'},{name:'customClasses',icon:f.a,label:'Custom CSS Classes'}]}}return P(e,[{key:'init',value:function(){return this._render(),this._setupClick(),this._bindEvents(),this}},{key:'enable',value:function(){this.$element.show()}},{key:'disable',value:function(){this.$element.hide()}},{key:'onPanelOpen',value:function(){this._enableMenuOptions(),this.activateFirstControl(),this.disable()}},{key:'activateFirstControl',value:function(){return this.$element.find('.item.enabled').first().click()}},{key:'displayControl',value:function(e){$.Panel.$element.find('.customize [data-control-name="'+e+'"]').show()}},{key:'_bindEvents',value:function(){var e=this;$.Panel.$element.on('open',function(){return e.onPanelOpen()})}},{key:'_enableMenuOptions',value:function(){var e=this,o=this.$element.find('.item').removeClass('enabled'),a=$.Panel.$element.find('.customize');a.find('[data-control-name]').each(function(o,a){var n=x(a),r=n.data('control-name');e.$element.find('[data-control-name="'+r+'"]').addClass('enabled')})}},{key:'_render',value:function(){this.$element=x(this.template(this.data)),this.$element.hide(),$.Panel.$element.find('.panel-title').after(this.$element)}},{key:'_setupClick',value:function(){var o=this;this.$element.find('.item').on('click',function(a){var e=x(a.target).closest('.item'),n=e.data('control-name');a.preventDefault(),o.$activeControl&&(o.$activeControl.removeClass('active'),$.Panel.$element.find('.customize [data-control-name]').hide()),e.addClass('active'),o.$activeControl=e,o.displayControl(n)})}}]),e}()},"./assets/js/builder/drag.js":function(e,o,a){'use strict';var n=Math.floor;Object.defineProperty(o,'__esModule',{value:!0});var r=a('./assets/js/builder/drag/content.js'),l=a('./assets/js/builder/drag/column.js'),s=a('./assets/js/builder/browser/ie-version.js'),i=BOLDGRID.EDITOR;jQuery.fn.IMHWPB_Draggable=function(e,o){var a=this,i=BOLDGRID.EDITOR,d=[];a.ie_version=null,a.isSafari=null,a.$master_container=this,a.$window=o(window),a.$iframe=o('#content_ifr'),a.$body=a.find('body'),a.$html=a.find('html'),a.$validatedInput=o('input[name="boldgrid-in-page-containers"]'),a.resizeOverlay=wp.template('boldgrid-editor-mce-tools')(),a.find('html').append(a.resizeOverlay),a.original_selector_strings={},a.scrollInterval=!1,a.$mce_32=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),a.$post_status_info=o('#post-status-info'),a.additional_menu_items=e.menu_items||[],this.hover_timout=e.hover_timout||175,this.$interaction_container=null,this.$boldgrid_menu_action_clicked=null,this.last_auto_scroll_event=null,this.editting_as_row=!1,this.hover_elements={content:{add_element:null},column:{add_element:null},row:{add_element:null}},this.color_alias={white:['rgb(255, 255, 255)','white'],transparent:['rgba(0, 0, 0, 0)','transparent']},this.master_container_id='',this.resize_finish_event=o.Event('resize_done_dwpb'),this.resize_start_event=o.Event('resize_start_dwpb'),this.boldgrid_modify_event=o.Event('boldgrid_modify_content'),this.add_row_event=o.Event('add_row_event_dwpb'),this.delete_event=o.Event('delete_dwpb'),this.clear_event=o.Event('clear_dwpb'),this.add_column_event=o.Event('add_column_dwpb'),this.drag_start_event=o.Event('drag_start_dwpb'),this.popovers_disabled=!1,this.right_resize_buffer=10,this.drag_end_event=o.Event('drag_end_dwpb'),this.nest_row=!1,this.drag_drop_triggered=!1,this.debug=e.debug,this.draggable_selectors_string=null,this.row_selectors_string=null,this.content_selectors_string=null,this.column_selectors_string=null,this.dragging_selector_class_name='dragging-imhwpb',this.dragging_selector='.'+this.dragging_selector_class_name,this.$current_drag=null,this.resize=!1,this.valid_drag=null,this.border_hover_buffer=15,this.resize_buffer=0.0213,this.max_row_size=12,this.$most_recent_row_enter_add=null,this.window_width=null,this.window_height=null,this.active_resize_class=null,this.restore_row=null,this.$temp_insertion=null,this.$cloned_drag_image=null,this.row_selector=e.row_selector||['.row:not(.row .row)'],this.add_media_event_handler=e.add_media_event_handler||function(){},this.insert_layout_event_handler=e.insert_layout_event_handler||function(){},this.general_column_selectors=e.general_column_selectors||['[class*="col-md"]'],this.nested_row_selector_string='.row .row:not(.row .row .row)',this.sectionSelectorString='.boldgrid-section',this.nestedColumnSelector='.row .row > [class*="col-md"]:not(.row .row .row [class*="col-md"])',this.general_content_selectors=['h1','h2','h3','h4','h5','h6','h7','a:not(p a)','img:not(p img):not(a img)','p:not(blockquote p)','button:not(p button):not(a button)','ul','ol','dl','form','table','.row .row','[data-imhwpb-draggable="true"]','.wpview-wrap','.wpview','blockquote','code','abbr'],this.content_selectors=e.content_selectors||['h1:not(.row .row h1)','h2:not(.row .row h2)','h3:not(.row .row h3)','h4:not(.row .row h4)','h5:not(.row .row h5)','h6:not(.row .row h6)','h7:not(.row .row h7)','a:not(.row .row a):not(p a)','img:not(.row .row img):not(p img):not(a img)','p:not(.row .row p):not(blockquote p)','button:not(.row .row button):not(p button):not(a button)','ul:not(.row .row ul):not(.draggable-tools-imhwpb ul)','ol:not(.row .row ol)','dl:not(.row .row dl)','form:not(.row .row form)','table:not(.row .row table)','.row .row:not(.row .row .row)','[data-imhwpb-draggable="true"]:not(.row .row [data-imhwpb-draggable="true"])','.wpview-wrap:not(.row .row .wpview-wrap)','.wpview:not(.row .row .wpview)','blockquote:not(.row .row blockquote)','code:not(.row .row code)','abbr:not(.row .row abbr)'];var c=['.row .row h1','.row .row h2','.row .row h3','.row .row h4','.row .row h5','.row .row h6','.row .row h7','.row .row a','.row .row img:not(p img):not(a img)','.row .row p','.row .row button:not(p button):not(a button)','.row .row ul','.row .row ol','.row .row dl','.row .row form','.row .row table','.row .row .row','.row .row [data-imhwpb-draggable="true"]','.row .row .wpview-wrap','.row .row .wpview','.row .row code','.row .row blockquote','.row .row abbr'],p=['> h1','> h2','> h3','> h4','> h5','> h6','> h7','> a','> img','> p','> button','> ul','> ol','> dl','> form','> table','> .row','> dl','> form','> table','.row:not(.row .row)','> [data-imhwpb-draggable="true"]','> .wpview-wrap','> .wpview','> code','> blockquote','> abbr'];this.column_sizes={0:0,1:0.083,2:0.167,3:0.25,4:0.333,5:0.416,6:0.5,7:0.583,8:0.667,9:0.75,10:0.833,11:0.917,12:1,13:1.083},this.dragTypeSetting=e.dragType||'dragEnter',this.layout_translation={"[12]":{12:'6',new:'6'},"[6,6]":{6:'4',new:'4'},"[4,4,4]":{4:'3',new:'3'},"[3,3,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]},"[6,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]}},this.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},this.init=function(){return a.fourpan({element_padding:0,transition_speed:0,activate:b,deactivate:m}),a.ie_version=Object(s['default'])(),a.isSafari=a.checkIsSafari(),a.create_selector_strings(),g(),a.bind_events(),a.setup_additional_plugins(),a.validate_markup(),a.track_window_size(),u(),i.RESIZE.Row.init(a),i.Controls.init(a),i.DRAG.Section.init(a),a};var u=function(){BoldgridEditor.is_boldgrid_theme||a.find('html').addClass('non-bg-theme')},g=function(){a.original_selector_strings={general_content_selector_string:a.general_content_selector_string,unformatted_content_selectors_string:a.unformatted_content_selectors_string,content_selectors_string:a.content_selectors_string,immediate_row_siblings_string:a.immediate_row_siblings_string,row_selectors_string:a.row_selectors_string,column_selectors_string:a.column_selectors_string,unformatted_column_selectors_string:a.unformatted_column_selectors_string,general_column_selectors_string:a.general_column_selectors_string,immediate_column_selectors_string:a.immediate_column_selectors_string,draggable_selectors_string:a.draggable_selectors_string}};this.create_selector_strings=function(){a.general_content_selector_string=a.general_content_selectors.join(),a.unformatted_content_selectors_string=a.content_selectors.join(),a.content_selectors_string=a.format_selectors(a.content_selectors).join(),a.immediate_row_siblings_string=p.join(),a.row_selectors_string=a.row_selector.join(),a.column_selectors_string=a.format_column_selectors(a.general_column_selectors,!0).join(),a.unformatted_column_selectors_string=a.column_selectors_string.replace(/:visible/,''),a.general_column_selectors_string=a.general_column_selectors.join(),a.immediate_column_selectors_string=a.format_immediate_column_selectors(a.general_column_selectors).join(),a.draggable_selectors_string=a.format_draggable_selectors_string()},this.set_background_colors=function(){var e=a.$body.css('background-color');(a.color_is(e,'transparent')||a.color_is(e,'white'))&&(a.$body.css('background-color','white'),a.color_is(a.$body.css('color'),'white')&&a.$body.css('color','black'))},this.validate_markup=function(){(!BoldgridEditor.is_boldgrid_theme||i.Controls.hasThemeFeature('variable-containers'))&&(i.VALIDATION.Section.updateContent(a.$body),a.$validatedInput.attr('value',1)),a.wrap_hr_tags(),a.wrap_content_elements(),a.add_redundant_classes(),a.removeClasses(a),a.remove_resizing_classes(a)},this.removeClasses=function(e){e.find('.bg-control-element').removeClass('bg-control-element')},this.failSafeCleanup=function(){a.find('body .dragging-started-imhwpb').remove(),a.find('.cloned-div-imhwpb').removeClass('cloned-div-imhwpb')},this.wrap_content_elements=function(){a.find('img, a').each(function(){var e=o(this);e.parent().closest_context(a.original_selector_strings.content_selectors_string,a).length||e.wrap('<p class=\'mod-reset\'></p>')})},this.wrap_hr_tags=function(){a.find('hr').each(function(){var e=o(this);if(!e.closest_context(a.original_selector_strings.content_selectors_string,a).length){var n=e.closest_context(a.original_selector_strings.row_selectors_string+', '+a.original_selector_strings.general_column_selectors_string,a);n.is(a.original_selector_strings.row_selectors_string)?e.wrap('<div class=\'col-md-12\'><div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div></div>'):e.wrap('<div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div>')}else e.closest('.row').addClass('bg-editor-hr-wrap')})},this.bind_events=function(){a.bind_drag_listeners(),a.bind_container_events(),a.bind_additional_menu_items(),setTimeout(function(){a.set_background_colors()},1e3)};var m=function(){a.editting_as_row&&(a.content_selectors=a.original_selectors.content,a.row_selector=a.original_selectors.row,a.create_selector_strings(),a.off('.draggable'),a.$body.off('.draggable'),a.bind_events(),o.fourpan.$recent_highlight.removeClass('current-edit-as-row'),a.editting_as_row=!1,a.$html.removeClass('editing-as-row'),a.window_mouse_leave(),a.trigger('edit-as-row-leave'))},b=function(){a.original_selectors={},a.original_selectors.content=a.content_selectors,a.original_selectors.row=a.row_selector,a.content_selectors=c,a.row_selector=[a.nested_row_selector_string],a.create_selector_strings(),a.off('.draggable'),a.$body.off('.draggable'),a.bind_events(),a.find('.current-edit-as-row').removeClass('current-edit-as-row'),o.fourpan.$recent_highlight.addClass('current-edit-as-row'),a.editting_as_row=o.fourpan.$recent_highlight,a.$html.addClass('editing-as-row'),a.trigger('edit-as-row-enter'),a.window_mouse_leave()};this.unbind_all_events=function(){a.off('.draggable'),a.$body.off('.draggable'),a.off('.draggable_mce'),a.$body.attr('style','')},this.hide_menus=function(n){var e=!1,r;if(n&&n.target&&(r=o(n.target),r.closest('.popover-menu-imhwpb').length?e=!0:r.closest('.context-menu-imhwpb').siblings('.popover-menu-imhwpb:visible').length&&(e=!0)),!e){var l=a.find('.popover-menu-imhwpb');r&&l.not(r.closest('.popover-menu-imhwpb')).addClass('hidden')}},this.setup_additional_plugins=function(){o.fn.is_typing_boldgrid&&a.is_typing_boldgrid()},this.bind_container_events=function(){a.on('mousedown.draggable','.drag-handle-imhwpb',a.drag_handle_mousedown).on('mouseup.draggable','.drag-handle-imhwpb',a.drag_handle_mouseup).on('click.draggable',a.hide_menus).on('click.draggable',a.failSafeCleanup).on('click.draggable','.context-menu-imhwpb',a.setup_context_menu).on('boldgrid_modify_content.draggable',a.refresh_fourpan),a.on('mouseleave.draggable',a.window_mouse_leave).on('mouseup.draggable',a.master_container_mouse_up).on('mousemove.draggable',a.mousemove_container),a.on('start_typing_boldgrid.draggable',a.typing_events.start).on('end_typing_boldgrid.draggable',a.typing_events.end),(11<a.ie_version||!a.ie_version)&&a.on(a.resize_event_map,a.column_selectors_string)},this.bind_additional_menu_items=function(){o.each(a.additional_menu_items,function(e,o){a.on('click.draggable','li[data-action="'+o.title+'"]',o.callback)})},this.bind_drag_listeners=function(){a.$window.on('dragover.draggable',a.drag_handlers.over),a.on('dragstart.draggable','.drag-handle-imhwpb, [data-action="nest-row"]',a.drag_handlers.start).on('dragstart.draggable','img, a',a.drag_handlers.hide_tooltips).on('drop.draggable',a.drag_handlers.drop).on('dragend.draggable',a.drag_handlers.end).on('dragleave.draggable',a.drag_handlers.leave_dragging).on('dragenter.draggable',a.drag_handlers.record_drag_enter)},this.refresh_fourpan=function(){a.editting_as_row&&o.fourpan.refresh()},o.fn.reverse=[].reverse,o.fn.remove_popover_imhwpb=function(){},o.fn.is_after=function(e){return 0!==this.prevAll().filter(e).length},o.fn.is_before=function(e){return 0!==this.nextAll().filter(e).length},o.fn.closest_context=function(e,o){var a;return a=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),a},this.add_redundant_classes=function(){a.find(a.original_selector_strings.general_column_selectors_string).each(function(){var e=o(this);e.addClass(a.find_column_sizes(e))})},this.track_window_size=function(){a.active_resize_class=a.determine_class_sizes(),a.$window.on('load resize',function(){setTimeout(function(){a.active_resize_class=a.determine_class_sizes()},300)})},this.prevent_default=function(e){e.preventDefault&&e.preventDefault()},this.format_draggable_selectors_string=function(){var e=[a.content_selectors_string,a.column_selectors_string,a.row_selectors_string];return e.join()},this.format_immediate_column_selectors=function(e){var n=a.format_selectors(e).slice();return o.each(n,function(e,o){o='> '+o,n[e]=o}),n},this.find_column_sizes=function(e){var o=e.attr('class'),a=[],n=o.match(/col-xs-([\d]+)/i),r=o.match(/col-sm-([\d]+)/i),l=o.match(/col-md-([\d]+)/i),s=12;return n?s=n[1]:a.push('col-xs-'+s),r?s=r[1]:a.push('col-sm-'+s),l||a.push('col-md-'+s),a.join(' ')},this.format_column_selectors=function(e,n){var r=e;return n&&(r=a.format_selectors(e).slice()),o.each(r,function(e,o){o=a.row_selectors_string+' > '+o,r[e]=o}),r},this.format_selectors=function(e){var a=e.slice();return o.each(a,function(e,o){o+=':visible',a[e]=o}),a},this.before_or_after_drop=function(e,o){var a=e.get(0).getBoundingClientRect(),r=-(a.height/a.width),l=n(a.bottom)-r*a.left,s=r*o.x+l,i;return i=s<=o.y?'after':'before',i},this.remove_receptor_containers=function(){a.find('.receptor-containers-imhwpb').removeClass('receptor-containers-imhwpb')},this.finish_dragging=function(){a.$cloned_drag_image&&a.$cloned_drag_image.remove&&a.$cloned_drag_image.remove(),a.$temp_insertion&&a.$temp_insertion.removeClass('cloned-div-imhwpb'),a.find(a.dragging_selector).removeClass(a.dragging_selector_class_name),a.valid_drag=!1,a.remove_receptor_containers(),a.trigger(a.boldgrid_modify_event)},this.array_equal=function(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(e.length!=o.length)return!1;for(var a=0;a<e.length;++a)if(e[a]!==o[a])return!1;return!0},this.drag_cleanup=function(){a.ie_version||a.validate_markup(),a.$current_drag.remove(),a.finish_dragging(),a.trigger(a.drag_end_event,a.$temp_insertion),a.$current_drag=null,a.$temp_insertion.trigger('mouseenter'),a.removeClass('drag-progress'),clearInterval(a.scrollInterval)},this.determine_current_drag_properties=function(){var e='',o='';a.$current_drag.IMHWPB.is_row?e=a.row_selectors_string:a.$current_drag.IMHWPB.is_column?(o=a.row_selectors_string,e=a.general_column_selectors_string):a.$current_drag.IMHWPB.is_content&&(o=a.column_selectors_string,e=a.content_selectors_string),a.$current_drag.properties={sibling:e,parent:o}},this.between=function(e,o,a){return e>=o&&e<=a},this.delete_popovers=function(){a.find('body .draggable-tools-imhwpb').each(function(){var e=o(this),a=e.next();a.length&&(a[0].popover=null),setTimeout(function(){e.remove()})})},this.setup_context_menu=function(e){var n;e.preventDefault(),e.stopPropagation(),a.hide_menus(e),n=o(this).closest('.draggable-tools-imhwpb, .bg-drag-popover'),n.find('.popover-menu-imhwpb').toggleClass('hidden'),a.setMenuPosition(n),a.setMenuState(n)},this.setMenuState=function(e){e.removeClass('menu-open'),!1===e.find('.popover-menu-imhwpb').hasClass('hidden')&&e.addClass('menu-open')},this.setMenuPosition=function(e){var o=e[0].getBoundingClientRect(),n=e.find('.side-menu'),r=a.$html.width(),l,s;n.length&&(e.removeClass('side-menu-left menu-align-left'),l=e.find('.popover-menu-imhwpb ul').width(),s=o.right+n.width(),s+=100,s>a.$html.width()&&e.addClass('side-menu-left'),l+o.right>r&&e.addClass('menu-align-left'))},this.get_element_type=function(e){var o='';return e.is(a.content_selectors_string)?o='content':e.is(a.row_selectors_string)?o='row':e.is(a.column_selectors_string)&&(o='column'),o},this.get_tooltip_type=function(e){if(e.is(a.nested_row_selector_string)&&0==e.find('> .col-md-12 > hr:only-child').length&&!a.editting_as_row)var o='nested-row';else var o=a.get_element_type(e);return o},this.get_top_level_elements=function(){return a.$body.find('> *').not('.draggable-tools-imhwpb')},this.find_row_layout=function(e){var n=[],r=[],l=0;return e.find(a.immediate_column_selectors_string).each(function(){var e={},s=o(this),i=a.find_column_size(s);12>=i+l?(e.size=i,e.object=s[0],r.push(e),l+=i):(n.push(r),r=[],e.size=l=i,e.object=s[0],r.push(e))}),r.length&&n.push(r),n},this.find_column_stack=function(e,n){var r=[],l=null,s=a.find_row_layout(e);return o.each(s,function(e,a){if(o.each(a,function(o,s){if(n==s.object)return r=a,l=e,!1}),r.length)return!1}),{stack:r,stack_index:l}},this.check_adjacent_column=function(e,a){var n=!1;return a&&a.length&&o.each(e,function(e,o){if(a[0]==o.object)return n=!0,!1}),n},this.elementIsEmpty=function(e){var o=e.is(':empty');return o||e.find('img, i, hr, a').length||!(e.text().length<4)||(o=!0),o},this.getNewColumnString=function(){var e='col-md-1 col-sm-12 col-xs-12';switch(a.active_resize_class){case'col-sm':e='col-md-12 col-sm-1 col-xs-12';break;case'col-xs':e='col-md-12 col-sm-12 col-xs-1';}return e},this.mousemove_container=function(e){if(a.pageX=e.originalEvent.clientX,a.pageY=e.originalEvent.clientY,a.resize){a.resize.triggered||(a.trigger(a.resize_start_event),a.resize.triggered=!0);var n=a.resize.element.closest_context(a.row_selectors_string,a),r,l,s,i;if(!n.length)return;var d=n[0].getBoundingClientRect().width,c=a.find_column_size(a.resize.element),p=a.find_column_size(a.resize.sibling),u=a.resize.element[0].getBoundingClientRect(),g=a.find_row_size(n),m=a.column_sizes[c]*d,b=a.column_sizes[c+1]*d,C=a.column_sizes[c-1]*d;a.resize.left?(r=b-m+u.left,l=C-m+u.left,s=a.pageX>r,i=a.pageX<l):(r=C-m+u.right,l=b-m+u.right,s=a.pageX<r,i=a.pageX>l||n[0].getBoundingClientRect().right+a.right_resize_buffer<a.pageX);var h=d*a.resize_buffer,f=s||a.between(r,a.pageX-h,a.pageX+h),v=i||a.between(l,a.pageX-h,a.pageX+h),D=f&&1<c,y=v&&c<a.max_row_size;if(a.resize.left&&y){var E=a.find_column_stack(n,a.resize.element[0]);if(a.resize.element[0]==E.stack[0].object)return!1}if(1===c&&f){if(a.elementIsEmpty(a.resize.element)){var F=a.resize.element,w;a.resize.element.remove(),a.change_column_size(a.resize.sibling),a.resize.element=a.resize.sibling,a.resize.right?(a.resize.left=a.resize.right,a.resize.element.addClass('resize-border-left-imhwpb'),a.resize.right=null,w=a.resize.sibling.prev()):(a.resize.right=a.resize.left,a.resize.element.addClass('resize-border-right-imhwpb'),a.resize.left=null,w=a.resize.sibling.next()),a.resize.sibling=w}return!1}if(D||y){var E=a.find_column_stack(n,a.resize.element[0]);if(a.resize.left&&a.resize.element[0]==E.stack[0].object&&f)return!!(12>=g)&&(a.change_column_size(a.resize.element,!1),a.resize.sibling=o('<div>').addClass(a.getNewColumnString()),a.resize.sibling.addClass('content-border-imhwpb'),a.resize.element.before(a.resize.sibling),!1);if(v&&1==p){if(a.elementIsEmpty(a.resize.sibling)){var k='next';a.resize.left&&(k='prev');var B=a.resize.sibling[k]();a.resize.sibling.remove(),a.resize.sibling=B,a.change_column_size(a.resize.element)}return!1}var A=E.stack[E.stack.length-1].object==a.resize.element[0];if(a.resize.right&&12==g&&y&&'col-md'==a.active_resize_class&&A)return!1;if(12>=g&&a.resize.right&&A&&f)return a.change_column_size(a.resize.element,!1),a.resize.sibling=o('<div>').addClass(a.getNewColumnString()),n.append(a.resize.sibling),!1;var O=a.check_adjacent_column(E.stack,a.resize.sibling)}if(D){a.change_column_size(a.resize.element,!1),a.resize.sibling&&a.resize.sibling.length&&p<a.max_row_size&&O&&a.change_column_size(a.resize.sibling);var $=a.find_column_stack(n,a.resize.element[0]);E.stack_index!=$.stack_index&&a.end_resize()}else if(y){if(!a.resize.sibling||a.resize.sibling.length&&1==p)return;a.change_column_size(a.resize.element),O&&a.change_column_size(a.resize.sibling,!1);var $=a.find_column_stack(n,a.resize.element[0]);E.stack_index!=$.stack_index&&a.end_resize()}}},this.frame_cleanup=function(e){var n=o('<div>'+e+'</div>');return a.remove_resizing_classes(n),a.remove_border_classes(n),a.removeClasses(n),n.html()},this.remove_resizing_classes=function(e){e.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},this.remove_border_classes=function(e){e.find('.resize-border-left-imhwpb, .resizing-imhwpb, .popover-hover, .resize-border-right-imhwpb, .content-border-imhwpb').removeClass('resize-border-right-imhwpb resizing-imhwpb popover-hover resize-border-left-imhwpb content-border-imhwpb')},this.end_resize=function(){a.resize=!1,a.remove_border_classes(a),a.$html.removeClass('no-select-imhwpb'),a.remove_resizing_classes(a),a.removeClass('resizing-imhwpb cursor-not-allowed-imhwpb'),a.trigger(a.resize_finish_event)},this.window_mouse_leave=function(){a.resize&&a.end_resize(),a.remove_resizing_classes(a),a.hover_elements={content:null,column:null,row:null}},this.drag_handle_mousedown=function(){a.valid_drag=!0,a.$current_clicked_element=BOLDGRID.EDITOR.Service.popover.selection.$target,a.$current_clicked_element.is('a')&&a.$current_clicked_element.find('img, button').length?a.$current_clicked_element.find('img, button').first().addClass('dragging-imhwpb'):a.$current_clicked_element.addClass('dragging-imhwpb'),a.$current_clicked_element.is(a.content_selectors_string)?a.find(a.column_selectors_string).addClass('receptor-containers-imhwpb'):a.$current_clicked_element.is(a.row_selectors_string)?a.find(a.row_selectors_string).addClass('receptor-containers-imhwpb'):a.$current_clicked_element.is(a.column_selectors_string)&&(a.find(a.column_selectors_string).addClass('receptor-containers-imhwpb'),a.find(a.row_selectors_string).addClass('receptor-containers-imhwpb'))},this.drag_handle_mouseup=function(){a.remove_receptor_containers(),a.valid_drag=!1},this.master_container_mouse_up=function(){a.resize&&a.end_resize(),a.$current_clicked_element&&a.$current_clicked_element.removeClass('dragging-imhwpb')},this.decrease_row_size=function(e){var n=!1;return e.find(a.immediate_column_selectors_string).reverse().each(function(){var e=o(this);if(2<=a.find_column_size(e))return a.change_column_size(e,!1),n=!0,!1}),n},this.get_border_mouse_location=function(e,o){var r=e[0].getBoundingClientRect(),l=n(r.left),s=n(r.right),i,d;return i=a.between(o,s-a.border_hover_buffer,s),d=a.between(o,l,l+a.border_hover_buffer),{left:d,right:i}},this.transform_layout=function(e,n){o.each(n,function(n,r){e.find(a.immediate_column_selectors_string).each(function(){var e=o(this);n==a.find_column_size(e)&&a.change_column_size(e,null,r)})})},this.find_layout_transform=function(e,o){var n=JSON.stringify(e),r=a.layout_translation[n];return'undefined'!=typeof o&&'undefined'!=typeof r&&'undefined'!=typeof r.current&&r.current!=o?r=null:'undefined'==typeof o&&'undefined'!=typeof r&&r.current&&(r=null),r},this.get_layout_format=function(e){var n=[];return e.find(a.immediate_column_selectors_string).each(function(){n.push(a.find_column_size(o(this)))}),n},this.change_column_size=function(e,n,r){if(e.length){var l=new RegExp(a.active_resize_class+'-[\\d]+','i');o.each(e.attr('class').split(' '),function(o,a){if(a.match(l)){var s=parseInt(a.replace(/\D/g,''));r?s=r:!1===n?s--:s++;var i=a.replace(/\d+/g,s),d=e.attr('class').replace(a,i);return e.attr('class',d),!1}}),a.trigger(a.boldgrid_modify_event)}},this.find_column_size=function(e){var o=0,n,r;return e&&e.length?(n=new RegExp(a.active_resize_class+'-([\\d]+)','i'),r=e.attr('class').match(n),r&&(o=r[1]),parseInt(o)):o},this.find_row_size=function(e){var n=0;return e.find(a.immediate_column_selectors_string).not('.dragging-imhwpb').each(function(){n+=a.find_column_size(o(this))}),n},this.determine_class_sizes=function(){var e=a.width(),o;return o=1061<e?'col-md':837<e?'col-sm':'col-xs',o},this.color_is=function(e,o){return-1!==a.color_alias[o].indexOf(e)};var C=function(e,o){if(200<=o)var a=1.25*o;else var a=250;e.css({"max-height":a+'px',overflow:'hidden'})};this.add_max_heights=function(){'column'==a.$current_drag.IMHWPB.type?a.find(a.row_selectors_string).each(function(){var e=o(this),n=a.find_row_size(e);if(12>=n){var r=e.outerHeight();C(e,r)}}):'content'==a.$current_drag.IMHWPB.type&&C(a.$temp_insertion,a.$current_drag.IMHWPB.height)};var h=function(e){e.css({"max-height":'',overflow:''})};return this.remove_max_heights=function(){'column'==a.$current_drag.IMHWPB.type?h(a.find(a.row_selectors_string)):'content'==a.$current_drag.IMHWPB.type&&h(a.$temp_insertion)},this.get_other_top_level_elements=function(){return a.$body.find(a.immediate_row_siblings_string).not(a.$current_drag)},this.find_page_min_max=function(){var e={};if(a.$current_drag.IMHWPB.is_row){var o=a.get_other_top_level_elements(),n=o.eq(0),r=o.last();e={offset_top:n[0].getBoundingClientRect().top,offset_bottom:r[0].getBoundingClientRect().top+r.outerHeight(!0)}}return e},this.find_row_min_max=function(){var e={};if(a.$current_drag.IMHWPB.is_column){var o=a.$current_drag.closest('.row'),n=o.get(0),r=n.getBoundingClientRect();e={offset_left:r.left,offset_right:r.left+o.outerWidth(!0),offset_top:Math.max(0,r.top-150),offset_bottom:r.top+o.outerHeight(!0)}}return e},this.find_top_level_positions=function(){var e=[];if(a.$current_drag.IMHWPB.is_row){var n=a.get_other_top_level_elements();n.each(function(){var a=o(this),n=a.outerHeight(!0);e.push({max:this.getBoundingClientRect().top+n,element:a})})}return e},this.find_column_sibling_positions=function(){var e=[];return a.$current_drag.IMHWPB.is_column&&a.$current_drag.siblings(a.general_column_selectors_string).each(function(){var a=o(this),n=a.outerWidth(!0),r=this.getBoundingClientRect();e.push({max:r.left+n,element:a})}),e},this.recalc_col_pos=function(){a.$current_drag.IMHWPB.col_pos=a.find_column_sibling_positions(),a.$current_drag.IMHWPB.row_min_max=a.find_row_min_max()},this.recalc_row_pos=function(){a.$current_drag.IMHWPB.row_pos=a.find_top_level_positions(),a.$current_drag.IMHWPB.row_min_max=a.find_page_min_max()},this.reposition_column=function(e,n){if(a.$current_drag.IMHWPB.is_column&&!1==a.$current_drag.IMHWPB.unlock_column){if(a.$current_drag.IMHWPB.row_min_max.offset_top>n||a.$current_drag.IMHWPB.row_min_max.offset_bottom<n){a.$current_drag.IMHWPB.unlock_column=!0;var r=a.entered_target.closest(a.row_selectors_string);return void(r.length&&a.move_column_to(a.entered_target))}if(e<a.$current_drag.IMHWPB.row_min_max.offset_left){var l=a.$current_drag.closest(a.row_selectors_string).find(a.immediate_column_selectors_string).not(a.$current_drag).eq(0);return void(l.get(0)!=a.$temp_insertion[0]&&(l.before(a.$temp_insertion),a.recalc_col_pos(),a.trigger(a.boldgrid_modify_event)))}if(e>a.$current_drag.IMHWPB.row_min_max.offset_right){var s=a.$current_drag.closest(a.row_selectors_string).find(a.immediate_column_selectors_string).not(a.$current_drag).last();return void(s.get(0)!=a.$temp_insertion[0]&&(s.after(a.$temp_insertion),a.recalc_col_pos(),a.trigger(a.boldgrid_modify_event)))}o.each(a.$current_drag.IMHWPB.col_pos,function(){if(e<this.max)return d[0]!=this.element[0]&&(d=this.element,this.element.nextAll().not(a.$current_drag).filter(a.$temp_insertion).length?this.element.before(a.$temp_insertion):this.element.prevAll(a.general_column_selectors_string).not(a.$current_drag).get(0)==a.$temp_insertion[0]?this.element.after(a.$temp_insertion):this.element.before(a.$temp_insertion),a.trigger(a.boldgrid_modify_event),a.recalc_col_pos(),!1)})}},this.fill_row=function(e,n){var r;return e<a.max_row_size&&(r=o('<div class="col-md-'+(a.max_row_size-e)+' col-sm-12 col-xs-12"></div>'),n.append(r)),r},this.setInheritedBg=function(e,n){a.color_is(e.css('background-color'),'transparent')&&e.parents().each(function(){var n=o(this),r=n.css('background-color');if(!a.color_is(r,'transparent'))return e.css('background-color',r),!1}),setTimeout(function(){a.color_is(e.css('background-color'),'transparent')&&e.css({"background-color":'white',color:'#333'})},n||100)},this.drag_handlers={hide_tooltips:function(){a.$current_drag||setTimeout(function(){a.$body.find('.draggable-tools-imhwpb').addClass('hidden')},100)},drop:function(e){a.$current_drag&&(a.prevent_default(e),a.drag_handlers.end(e),a.drag_drop_triggered=!0)},end:function(){if(!a.drag_drop_triggered)return a.$current_drag?(a.restore_row=null,a.$most_recent_row_enter_add=null,a.remove_max_heights(),a.drag_cleanup(),!0):void 0},start:function(e){var n,r;a.valid_drag=!0,a.drag_drop_triggered=!1;var l=o(this);if(a.$current_drag=i.Service.popover.selection.$target,a.$current_drag.addClass('dragging-imhwpb'),a.addClass('drag-progress'),a.original_html=a.$current_drag.parent('a').length?a.$current_drag.parent('a')[0].outerHTML:a.$current_drag[0].outerHTML,a.$current_drag.IMHWPB={is_column:'column'===i.Service.popover.selection.name,is_row:'row'===i.Service.popover.selection.name,is_content:'content'===i.Service.popover.selection.name,height:a.$current_drag.outerHeight(),width:a.$current_drag.outerWidth(),dragStarted:!0},a.$current_drag.IMHWPB.is_row&&l.hasClass('action-list')&&(a.$current_drag.IMHWPB.is_row=!1,a.$current_drag.IMHWPB.is_content=!0),a.$current_drag.IMHWPB.is_column){a.$current_drag.IMHWPB.column_size=a.find_column_size(a.$current_drag);var s=a.$current_drag.closest_context(a.row_selectors_string,a);s.length&&(a.$current_drag.IMHWPB.original_row=s[0])}if(a.determine_current_drag_properties(),e.originalEvent.dataTransfer.setData('text',''),e.originalEvent.dataTransfer.dropEffect='copy',a.$temp_insertion=o(a.original_html),a.$temp_insertion.removeClass('dragging-imhwpb popover-hover'),a.$temp_insertion.addClass('cloned-div-imhwpb'),a.$current_drag.css({height:a.$current_drag.IMHWPB.height,width:a.$current_drag.IMHWPB.width}).addClass('hidden dragging-started-imhwpb'),a.$current_drag.attr('data-mce-bogus','all'),a.setInheritedBg(a.$current_drag),'undefined'!=typeof e.originalEvent.dataTransfer.setDragImage&&!a.isSafari){var d=document.createElement('img');d.src='',e.originalEvent.dataTransfer.setDragImage(d,0,0)}a.$current_drag.before(a.$temp_insertion),a.$current_drag.IMHWPB.is_column?(a.$current_drag.IMHWPB.type='column',a.recalc_col_pos(),n=a.$current_drag.closest('.row'),r=a.find_row_size(n),r<a.max_row_size&&a.fill_row(r,n),a.$current_drag.IMHWPB.unlock_column=12>=r&&'col-md'==a.active_resize_class&&a.$current_drag.siblings(a.unformatted_column_selectors_string).not(a.$temp_insertion).length?!1:!0):a.$current_drag.IMHWPB.is_row?(a.$current_drag.IMHWPB.type='row',a.recalc_row_pos()):a.$current_drag.IMHWPB.type='content',a.add_max_heights();var c=100;a.ie_version&&(c=150),setTimeout(function(){a.$current_drag.removeClass('hidden'),a.trigger(a.drag_start_event),a.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},c),a.drag_handlers.initSmoothScroll()},over:function(e){if(a.$current_drag&&a.valid_drag&&(e.preventDefault(),!a.last_auto_scroll_event||a.last_auto_scroll_event+10<=new Date().getTime())){if(a.last_auto_scroll_event=new Date().getTime(),a.$current_drag.IMHWPB.dragStarted&&(i.Controls.$container.$current_drag.IMHWPB.is_row&&i.DRAG.Row.dragCursorPosition(e.originalEvent.pageY),a.reposition_column(e.originalEvent.pageX,e.originalEvent.pageY)),a.$html.hasClass('editing-as-row'))return;a.drag_handlers.autoScroll(e)}},initSmoothScroll:function(){a.autoScrollSpeed=!1,a.scrollInterval=setInterval(function(){a.autoScrollSpeed&&window.scrollBy(0,a.autoScrollSpeed)},1)},autoScroll:function(e){var o='fixed'===a.$mce_32.css('position'),n=a.$mce_32[0].getBoundingClientRect(),r=e.originalEvent.screenY;-100>window.screenY||(r<n.bottom+150&&o?a.autoScrollSpeed=-1:r>window.innerHeight-100?a.autoScrollSpeed=1:a.autoScrollSpeed=!1)},leave_dragging:function(e){if(a.$current_drag){a.ie_version||e.preventDefault();var n=o(e.target),s=a.entered_target;return a.prevent_duplicate_location_events(e)||!a.$current_drag?!1:a.$temp_insertion[0]==s[0]?(a.$most_recent_row_enter_add=null,!0):!1==a.has(s).length&&!1==a.$current_drag.IMHWPB.is_content||void(a.$current_drag.IMHWPB.is_row?i.DRAG.Row.dragEnter(s):a.$current_drag.IMHWPB.is_content?Object(r['default'])(e,n,s):a.$current_drag.IMHWPB.is_column&&a.$current_drag.IMHWPB.unlock_column&&Object(l['default'])(e,n,s))}},record_drag_enter:function(e){a.$current_drag&&(!a.ie_version&&e.preventDefault(),a.entered_target=o(e.target))}},this.checkIsSafari=function(){return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)},this.move_column_to=function(e){var o=e.is(a.unformatted_column_selectors_string),n=e.is(a.$current_drag.properties.parent),r=e.closest_context(a.row_selectors_string,a),l=a.$temp_insertion.closest_context(a.row_selectors_string,a),s=a.find_row_size(r);if(r.length&&l[0]!=r[0]){if(n&&s>=a.max_row_size)return!1;var d=a.$temp_insertion[0].innerHTML;a.restore_row&&(l.html(a.restore_row),a.$temp_insertion.html(d));var c=a.$current_drag.IMHWPB.original_row!=r[0];a.restore_row=c?r.html():null;var p=s+a.$current_drag.IMHWPB.column_size<=a.max_row_size;if(!1==p&&c){var u=a.max_row_size-s,g=null;if(0<u)g=u;else if(r.find(a.immediate_column_selectors_string).length<=9){g=3,a.$current_drag.IMHWPB.column_size<g&&(g=a.$current_drag.IMHWPB.column_size);for(var m=0;m<g;m++)a.decrease_row_size(r)}if(g)a.change_column_size(a.$temp_insertion,null,g);else return a.restore_row=null,!0}else a.change_column_size(a.$temp_insertion,null,a.$current_drag.IMHWPB.column_size);o?e.before(a.$temp_insertion):r.append(a.$temp_insertion),a.record_recent_column_insertion()}else o&&(e.is_before(a.$temp_insertion)?e.before(a.$temp_insertion):e.after(a.$temp_insertion),a.record_recent_column_insertion())},this.record_recent_column_insertion=function(){a.recent_event={},a.insertion_time=new Date().getTime(),a.trigger(a.boldgrid_modify_event)},this.prevent_duplicate_location_events=function(e){var o=[e.originalEvent.pageX,e.originalEvent.pageY],n;return a.array_equal(a.current_drag_enter_event_loc,o)?n=!0:(a.current_drag_enter_event_loc=o,n=!1),n},this.createEmptyRow=function(){return o('<div class="row"><div class="col-md-12"></div></div>')},this.postAddRow=function(e){setTimeout(function(){a.find('.added-element').removeClass('added-element')},1e3),a.trigger(a.add_row_event,e.find('.col-md-12'))},this.typing_events={start:function(){a.find('html').addClass('boldgrid-is-typing')},end:function(){a.validate_markup(),a.find('html').removeClass('boldgrid-is-typing')}},this.resize_event_map={"mousemove.draggable":function(e,n){if(!a.resize){var r=a.pageX,l=!1;'undefined'!=typeof e&&null!=e&&(r=e.originalEvent.clientX,n=o(this),l=a.get_border_mouse_location(n,r)),l&&(l.left||l.right)?(n.addClass('resizing-imhwpb'),a.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.boldgridResize=!0)):(n.removeClass('resizing-imhwpb'),a.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.boldgridResize=!1))}a.$current_drag},"mousedown.draggable":function(e){var n=o(e.target);if(!n.closest('.draggable-tools-imhwpb').length){var r=o(this),l=a.get_border_mouse_location(r,e.originalEvent.clientX),s=null;l.left?(s=r.prevAll(a.column_selectors_string).first(),r.addClass('resize-border-left-imhwpb')):l.right&&(s=r.nextAll(a.column_selectors_string).first(),r.addClass('resize-border-right-imhwpb')),(l.left||l.right)&&(s.length&&s.addClass('content-border-imhwpb'),r.addClass('content-border-imhwpb'),a.addClass('resizing-imhwpb'),a.find('.resizing-imhwpb').removeClass('resizing-imhwpb'),a.$html.addClass('no-select-imhwpb'),a.trigger('resize_clicked'),a.resize={element:r,sibling:s,left:l.left,right:l.right})}}},this}},"./assets/js/builder/drag/column.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=jQuery;o['default']=function(e,o,n){var r=BOLDGRID.EDITOR.Controls.$container;if(r.recent_event&&r.recent_event.entered==n[0]&&r.recent_event.left==o[0])return!0;if(r.recent_event={entered:n[0],left:o[0]},r.insertion_time+20>new Date().getTime())return!0;if(!1==n.is(r.unformatted_column_selectors_string)&&!1==n.is(r.row_selectors_string)){var l=n.closest_context(r.column_selectors_string,r);l.length&&(n=l)}if(!1==r.has(n).length)return!0;if(n[0]!=r.$temp_insertion[0]){if(n.siblings().filter(r.$temp_insertion).length&&n.is(r.unformatted_column_selectors_string)&&n[0]!=r.$current_drag[0]){var s=a(e.target);if(n.find(s).length||n[0]==s[0])return!0}r.move_column_to(n)}}},"./assets/js/builder/drag/content.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(e,o,a){var n=BOLDGRID.EDITOR.Controls.$container,r=o.closest_context(n.row_selectors_string,n),l=!!r.parent().closest(a).length;if(l){o=o.closest_context(n.row_selectors_string,n);var s=n.before_or_after_drop(o,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==s?o.before(n.$temp_insertion):o.after(n.$temp_insertion)}else{if(!1==n.has(a).length)return!0;var i=a.parents(n.content_selectors_string).last();if(!0==i.length&&(a=i),a.is(n.unformatted_content_selectors_string)&&a[0]!=n.$current_drag[0]&&(a.find(o).length||a[0]==o[0]))return!0;var d=a.closest_context(n.$current_drag.properties.parent,n),c=d.length,p=!1,u=[];if(c){if(!1==n.editting_as_row){var u=d.find(n.content_selectors_string+', .row:not(.row .row .row)').not('.dragging-imhwpb');p=0<u.length}else{var u=d.find(n.general_content_selector_string).not('.dragging-imhwpb');p=0<u.length,1==u.length&&u.find('[data-action]')&&(p=!1)}!1==p&&(a=d)}var g=a.is(n.unformatted_column_selectors_string);g&&u.length&&!1==a.find(o).length&&(a=u.last(),p=!1);var m=a.is(n.unformatted_content_selectors_string+',hr:not('+n.master_container_id+'.row .row hr)');if(!m&&!0==p)return!0;var b=a.closest('.cloned-div-imhwpb'),C=b.length&&b[0]==n.$temp_insertion[0];if(C)return n.$most_recent_row_enter_add=null,!0;if(m)a.is_before(n.$temp_insertion)?a.before(n.$temp_insertion):a.is_after(n.$temp_insertion)?a.after(n.$temp_insertion):a.before(n.$temp_insertion),n.trigger(n.boldgrid_modify_event);else if(g){var h=a.find('>:first-child');var f=a.find('> div');if(h.length&&1===f.length&&!1==h.is(n.column_selectors_string+', .draggable-tools-imhwpb')&&h.is('div'))h.prepend(n.$temp_insertion);else{var s=n.before_or_after_drop(a,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==s?a.prepend(n.$temp_insertion):a.append(n.$temp_insertion)}n.trigger(n.boldgrid_modify_event)}}}},"./assets/js/builder/drag/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.DRAG.Row={$recentRowElement:[],dragEnter:function(e){e=a.remapDragEnter(e),a.validateDragEnter(e)&&(a.moveIntoSection(e),a.postRowInsert())},dragCursorPosition:function(n){var r=o.Controls.$container,l=r.$current_drag;a.insertTopBottom(n)||e.each(l.IMHWPB.row_pos,function(){if(n<this.max)return a.$recentRowElement[0]!==this.element[0]&&(a.$recentRowElement=this.element,a._reorderRows(this.element),a.postRowInsert(),!1)})},postRowInsert:function(){o.Controls.$container.recalc_row_pos(),o.Controls.$container.trigger(o.Controls.$container.boldgrid_modify_event)},remapDragEnter:function(e){var o=e.closest('.boldgrid-section');return o.length&&(e=o),e},validateDragEnter:function(e){var a;return a=e.hasClass('boldgrid-section')&&0===e.find('.row:not(.dragging-imhwpb,.row .row)').not(o.Controls.$container.$current_drag).length&&0!==e.find('.container-fluid, .container').length,a},moveIntoSection:function(e){e.find('.container-fluid, .container').first().prepend(o.Controls.$container.$temp_insertion)},_insertRow:function(e,n){var r=o.Controls.$container.$temp_insertion;e.get(0)!==r[0]&&(e[n](r),a.postRowInsert())},insertTopBottom:function(e){var n=o.Controls.$container,r=n.$current_drag.IMHWPB.row_min_max,l=e<r.offset_top,s=e>r.offset_bottom,i=l?'before':'after',d=l?'first':'last',c=!1;return(l||s)&&(a._insertRow(n.get_other_top_level_elements()[d](),i),c=!0),c},_reorderRows:function(e){var a=o.Controls.$container,n=a.$temp_insertion,r=a.get_other_top_level_elements(),l=r.index(e),s=r.index(n),i='after',d,c,p,u,g;p=n.closest('.boldgrid-section')[0]!==e.closest('.boldgrid-section')[0],d=l<s,u=l>s,c=u&&l-1!==s,g=d&&l+1!==s,(d||c)&&!g&&(i='before'),u&&p&&(i='before'),d&&p&&(i='after'),e[i](n)}},a=BOLDGRID.EDITOR.DRAG.Row}(jQuery)},"./assets/js/builder/drag/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a;a=e.DRAG.Section={currentDrag:!1,$container:null,$dragHelper:null,sectionLocations:[],init:function(e){a.$container=e,a.$dragHelper=a.renderHelpers(),a.bind()},renderHelpers:function(){var e=o('<div id="boldgrid-drag-pointer"></div>');return a.$container.find('html').append(e),e},isDragging:function(){return!!e.DRAG.Section.currentDrag},bind:function(){a.$container.on('dragstart','.dragging-section',function(){return!1}).on('mousedown','.dragging-section .boldgrid-section',a.start).on('mousemove','.dragging-section',a.over).on('mouseup dragend','.dragging-section',a.end).on('mousemove','.dragging-section',a.overHelper)},overHelper:function(o){(a.currentDrag||a.showDragHelper)&&(!a.lastPosEvent||a.lastPosEvent+25<=o.timeStamp)&&(a.lastPosEvent=o.timeStamp,a.positionHelper(o.originalEvent,a.$dragHelper))},end:function(){a.currentDrag&&(a.currentDrag.$element.removeClass('section-drag-element'),a.currentDrag=!1,a.$container.$html.removeClass('no-select-imhwpb section-dragging-active'),BOLDGRID.EDITOR.mce.undoManager.add(),e.CONTROLS.Section.updateHtmlSize())},drag:function(n){var e=n.originalEvent.pageY,r=null;a.sectionLocations.length&&(o.each(a.sectionLocations,function(){this.midPoint<e&&(r=this)}),!r&&e>a.sectionLocations[a.sectionLocations.length-1].midPoint&&(r=a.sectionLocations[a.sectionLocations.length-1]),!r&&e<a.sectionLocations[0].midPoint&&(a.sectionLocations[0].$section.before(a.currentDrag.$element),a.calcSectionLocs()),r&&(r.$section.after(a.currentDrag.$element),a.calcSectionLocs()))},over:function(o){a.currentDrag&&(!a.lastDragEvent||a.lastDragEvent+100<=o.timeStamp)&&(a.lastDragEvent=o.timeStamp,a.drag(o))},positionHelper:function(o,e){e.css({top:o.pageY-15,left:o.pageX-15})},calcSectionLocs:function(){var e=[];a.$container.$body.find('> .boldgrid-section').each(function(){var a=this.getBoundingClientRect(),n=(a.bottom-a.top)/2+a.top;e.push({$section:o(this),midPoint:n})}),a.sectionLocations=e},start:function(n){a.positionHelper(n.originalEvent,a.$dragHelper),a.startDrag(o(this))},startDrag:function(o){a.currentDrag={$element:o},a.currentDrag.$element.addClass('section-drag-element'),a.$container.find('html').addClass('section-dragging-active'),a.$container.$html.addClass('no-select-imhwpb'),a.$container.$body.removeAttr('contenteditable'),a.$dragHelper.css('display',''),a.calcSectionLocs(),e.CONTROLS.Section.updateHtmlSize()}}}(jQuery)},"./assets/js/builder/feedback.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.Feedback={init:function(){a.$input=e('[name="boldgrid-record-feedback"]'),a.bindEvents()},bindEvents:function(){e(window).on('boldgrid_added_gridblock',a.addGridblock)},add:function(e){var o=a.$input.val()||'[]';o=JSON.parse(o),o.push(e),a.$input.attr('value',JSON.stringify(o))},addGridblock:function(e,o){o&&o.template&&a.add({action:'installed_gridblock',data:{template:o.template}})}},a=BOLDGRID.EDITOR.Feedback,BOLDGRID.EDITOR.Feedback.init()}(jQuery)},"./assets/js/builder/gridblock/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$window:e(window),init:function(){a.setupInsertClick()},setupInsertClick:function(){e('.boldgrid-zoomout-section').on('click','.add-gridblock',a.onGridblockClick)},onGridblockClick:function(){var n=e(this),r=n.closest('.gridblock'),l=r.attr('data-id'),s;o.GRIDBLOCK.Generate.needsUpgrade(r)?window.open(BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock','_blank'):(s=a.insertPlaceHolder(l),a.replaceGridblock(s,l))},replaceGridblock:function(e,n){var r=o.GRIDBLOCK.Create.getHtml(n);IMHWPB.tinymce_undo_disabled=!0,a.$window.trigger('resize'),'string'==typeof r?a.sendGridblock(r,e,n):r.always(function(o){a.sendGridblock(o,e,n)})},insertPlaceHolder:function(e){var a=o.GRIDBLOCK.configs.gridblocks[e].getPreviewPlaceHolder();return IMHWPB.WP_MCE_Draggable.draggable_instance.$body.prepend(a),a},sendGridblock:function(n,r,l){var s=e(n),i=IMHWPB.WP_MCE_Draggable.draggable_instance;s&&i?r.replaceWith(s.html()):window.send_to_editor(s.html()),i.validate_markup(),BOLDGRID.EDITOR.mce.fire('setContent'),BOLDGRID.EDITOR.mce.focus(),setTimeout(function(){o.CONTROLS.Add.scrollToElement(s,0)}),a.$window.trigger('resize'),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add(),a.$window.trigger('boldgrid_added_gridblock',o.GRIDBLOCK.configs.gridblocks[l])}};o.GRIDBLOCK.Add=a,e(o.GRIDBLOCK.Add.init)}(jQuery)},"./assets/js/builder/gridblock/category.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(){'use strict';var e=BOLDGRID.EDITOR.GRIDBLOCK,o={currentCategory:null,savedCategories:['library','saved'],init:function(){o.onSelectChange()},isSavedCategory:function(e){return-1!==o.savedCategories.indexOf(e)},onSelectChange:function(){var a=e.View.$gridblockNav.find('.boldgrid-gridblock-categories select');o.currentCategory=a.val(),a.on('change',function(){o.currentCategory=a.val(),o.showByCategory()})},canDisplayGridblock:function(a){var n=e.Category.currentCategory||'all',r=o.isSavedCategory(a.type);return a.type===n||'all'===n&&!r},showByCategory:function(){var a=e.View.$gridblockSection.find('.gridblock'),n=e.View.$gridblockSection.find('.gridblocks'),r;n.attr('filter',o.currentCategory),'all'===o.currentCategory?(a.filter(':not(.gridblock-loading)').filter(':not([data-type="saved"])').filter(':not([data-type="library"])').show(),e.View.$gridblockSection.scrollTop(0)):(r=a.hide().filter('[data-type="'+o.currentCategory+'"]:not(.gridblock-loading)').show().length,e.View.$gridblockSection.scrollTop(0),4>r&&e.View.updateDisplay())},getSearchType:function(){return'all'===o.currentCategory?null:o.currentCategory}};e.Category=o}(jQuery)},"./assets/js/builder/gridblock/create.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$window:e(window),getHtml:function(e){var n='',r={};return o.GRIDBLOCK.configs.gridblocks[e]&&(r=o.GRIDBLOCK.configs.gridblocks[e]),n=a.getDynamicElements(r).length?a.installImages(r):a.getStaticHtml(r),n},getStaticHtml:function(e){var o=e.html;return e.$html&&(o=e.getHtml()),o},getDynamicElements:function(e){var o=e.$html.find('[dynamicImage]');return e.$html[0].hasAttribute('dynamicImage')&&'none'!==e.$html.css('background-image')&&o.push(e.$html),o},installImages:function(n){var r=e.Deferred(),l=0,s=a.getDynamicElements(n);return s.each(function(){var a=e(this);a.removeAttr('dynamicimage'),e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,image_data:o.GRIDBLOCK.Image.getEncodedSrc(a)}}).done(function(e){e&&e.success&&o.GRIDBLOCK.Image.addImageUrl(a,e.data),l++,l===s.length&&r.resolve(n.getHtml())}).fail(function(){l++,l===s.length&&r.resolve(n.getHtml())})}),r}};o.GRIDBLOCK.Create=a}(jQuery)},"./assets/js/builder/gridblock/delete.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a={$mceContainer:null,$deleteIcon:null,init:function(){a.$mceContainer=e.Controls.$container,a.$deleteIcon=a.$mceContainer.find('.delete-icon-wrap'),a.bindEvents()},bindEvents:function(){a.$mceContainer.on('mouseenter','.dragging-section .boldgrid-section',a.section.mouseEnter).on('mouseleave','.dragging-section .boldgrid-section',a.section.mouseLeave).on('click','.delete-icon-wrap',a.icon.click).on('mouseenter','.delete-icon-wrap',a.icon.mouseEnter).on('mouseleave','.delete-icon-wrap',a.icon.mouseLeave)},section:{mouseEnter:function(){var e=o(this),n=this.getBoundingClientRect();a.$deleteIcon.css({left:n.right,display:'block',top:n.top+n.height/2}),a.$deleteIcon.$section=e},mouseLeave:function(n){var e=o(n.relatedTarget||n.toElement);!1===e.hasClass('delete-icon')&&(o(this).removeClass('delete-overlay'),a.$deleteIcon.hide())}},icon:{mouseEnter:function(){a.$deleteIcon.$section.addClass('delete-overlay')},mouseLeave:function(){a.$deleteIcon.$section.removeClass('delete-overlay'),a.$deleteIcon.hide()},click:function(){a.$deleteIcon.$section.removeClass('delete-overlay'),a.$deleteIcon.hide(),a.$deleteIcon.$section.remove(),BOLDGRID.EDITOR.mce.undoManager.add(),e.GRIDBLOCK.Add.$window.trigger('resize')}}};e.GRIDBLOCK.Delete=a}(jQuery)},"./assets/js/builder/gridblock/drag.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';function a(a){var e=!0,n=o(a.target||a.srcElement);return n&&n.hasClass('add-gridblock')&&(e=!1),e}var n=BOLDGRID.EDITOR,r={$body:o('body'),$window:o(window),$dragHelper:null,currentDrag:null,$mceContainer:null,init:function(){r.$mceContainer=n.Controls.$container,r.$dragHelper=r.createDragHelper(),r.bindEvents()},createDragHelper:function(){var e=o('<div id="boldgrid-drag-pointer"></div>').hide();return r.$body.append(e),e},bindEvents:function(){o('html').on('dragstart','.gridblock',function(){return!1}).on('mousemove','.section-dragging-active',r.mouseMove).on('mouseup','.section-dragging-active',r.endDrag).on('mouseleave','.section-dragging-active',r.endDrag).on('mousedown','body.boldgrid-zoomout .gridblock',r.startDrag),r.$mceContainer.on('mouseup','.dragging-section.dragging-gridblock-iframe',r.endDrag).on('mousemove','.dragging-section.dragging-gridblock-iframe',r.overIframe).on('mouseenter','.dragging-section.dragging-gridblock-iframe > body',r.enterIframeBody).on('mouseleave','.dragging-section.dragging-gridblock-iframe',r.leaveIframeBody)},enterIframeBody:function(){n.DRAG.Section.isDragging()||(r.$mceContainer.find('body').append(r.currentDrag.$element),n.DRAG.Section.startDrag(r.currentDrag.$element))},leaveIframeBody:function(){n.DRAG.Section.isDragging()&&(n.DRAG.Section.end(),r.currentDrag.$element.detach())},overIframe:function(){r.currentDrag&&(r.$dragHelper.hide(),n.DRAG.Section.showDragHelper=!0,n.DRAG.Section.$dragHelper.show())},endDrag:function(){r.currentDrag&&(IMHWPB.tinymce_undo_disabled=!1,n.DRAG.Section.$dragHelper.hide(),n.DRAG.Section.showDragHelper=!1,n.DRAG.Section.end(),r.$dragHelper.hide(),r.installGridblock(),r.$body.removeClass('section-dragging-active'),r.currentDrag.$gridblockUi.removeClass('dragging-gridblock'),r.$mceContainer.$html.removeClass('dragging-gridblock-iframe'),r.currentDrag=!1)},installGridblock:function(){r.$mceContainer.$body.find(r.currentDrag.$element).length&&(n.GRIDBLOCK.Add.replaceGridblock(r.currentDrag.$element,r.currentDrag.gridblockId),r.currentDrag.$element.removeClass('dragging-gridblock-placeholder'))},startDrag:function(l){var e=o(this),s=e.attr('data-id'),i;!1===a(l)||n.GRIDBLOCK.Generate.needsUpgrade(e)||(IMHWPB.tinymce_undo_disabled=!0,i=n.GRIDBLOCK.configs.gridblocks[s],r.currentDrag={$gridblockUi:e,gridblockId:s,gridblock:i,$element:i.getPreviewPlaceHolder()},r.currentDrag.$gridblockUi.addClass('dragging-gridblock'),r.$mceContainer.$html.addClass('dragging-gridblock-iframe'),r.currentDrag.$element.addClass('dragging-gridblock-placeholder'),r.$body.addClass('section-dragging-active'),n.DRAG.Section.positionHelper(l,r.$dragHelper),r.$dragHelper.show())},mouseMove:function(o){r.$dragHelper.show(),n.DRAG.Section.$dragHelper.hide(),n.DRAG.Section.positionHelper(o,r.$dragHelper)}};n.GRIDBLOCK.Drag=r}(jQuery)},"./assets/js/builder/gridblock/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={configs:BoldgridEditor.gridblocks,removedGridlocks:{},setupConfigs:function(){o.GRIDBLOCK.configs={},o.GRIDBLOCK.configs.gridblocks={},a.loadingTemplate=wp.template('boldgrid-editor-gridblock-loading'),e.each(a.configs,function(o){this.html=a.unsetImageUrls(this.html),this.$html=e(this.html),a.removeInvalidGridblocks(this,o)}),a.setConfig()},unsetImageUrls:function(e){var o=e.match(/<img.*?>/g);return o=o||[],_.each(o,function(o){e=e.replace(o,o.replace(/\ssrc=/,' data-src='))}),e},removeInvalidGridblocks:function(e,o){var n=a.isSimpleGridblock(e.$html);n&&a.removeGridblock(o)},configMethods:{getHtml:function(){var e='';return this.$html.each(function(){this.outerHTML&&(e+=this.outerHTML)}),'<div class="temp-gridblock-wrapper">'+e+'</div>'},getPreviewPlaceHolder:function(){var o;return o=e(this.getHtml()),o.prepend(a.loadingTemplate()),o},getTitle:function(){var e=this.template,o;return e&&(o=e.replace(/[-_]/g,' '),o=o.charAt(0).toUpperCase()+o.slice(1)),o}},setConfig:function(){e.each(a.configs,function(e){a.removedGridlocks[e]||(delete this.html,this.gridblockId=e,this.uniqueMarkup=a.createUniqueMarkup(this.$html),_.extend(this,a.configMethods),o.GRIDBLOCK.configs.gridblocks[e]=this)})},addGridblockConfig:function(e,n){var r='remote-'+n;e=_.defaults(e,{dynamicImages:!0,gridblockId:r,$html:e['html-jquery']}),delete e.html,delete e['html-jquery'],_.extend(e,a.configMethods),o.GRIDBLOCK.configs.gridblocks[r]=e},removeGridblock:function(e){a.removedGridlocks[e]=a.configs[e]},createUniqueMarkup:function(e){return e=e.clone(),e.find('img').removeAttr('src').removeAttr('data-src').removeAttr('class'),e[0].outerHTML.replace(/\s/g,'')},setPlaceholderSrc:function(e){var o=e.attr('data-width')?e.attr('data-width'):'300',a=e.attr('data-height')?e.attr('data-height'):'300';e.attr('src','https://placehold.it/'+o+'x'+a+'/cccccc/?text=+')},removeAttributionAttributes:function(e){e.removeAttr('data-boldgrid-asset-id').removeAttr('data-pending-boldgrid-attribution')},isSimpleGridblock:function(o){var a=!1,n=e('<div>').html(o.clone());return n.find('.mod-space').remove(),n.find('.row:not(.row .row)').each(function(){var o=e(this),n;if(!o.siblings().length&&(n=o.find('*'),n.length<=3))return a=!0,!1}),n.find('.row:not(.row .row) > [class^="col-"] > .row').each(function(){var o=e(this),n;if(!o.siblings().length&&(n=o.find('hr'),!n.siblings().length))return a=!0,!1}),n.find('.row:not(.row .row):only-of-type > [class^="col-"]:empty:only-of-type').each(function(){return a=!0,!1}),a}};o.GRIDBLOCK.Filter=a,o.GRIDBLOCK.Filter.setupConfigs()}(jQuery)},"./assets/js/builder/gridblock/generate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={gridblockCount:0,failure:!1,licenseTypes:[],fetch:function(){return a.fetching||a.failure?!1:(a.fetching=!0,a.gridblockLoadingUI.start(),a.requestGridblocks().done(function(e,n,r){a.licenseTypes=r.getResponseHeader('License-Types')||'[]',a.licenseTypes=JSON.parse(a.licenseTypes),a.addToConfig(e),o.GRIDBLOCK.View.createGridblocks()}).always(function(){a.fetching=!1,a.gridblockLoadingUI.finish()}).fail(function(){a.failure=!0,o.GRIDBLOCK.View.$gridblockSection.append(wp.template('boldgrid-editor-gridblock-error')())}))},needsUpgrade:function(e){return parseInt(e.attr('data-is-premium'))&&parseInt(e.attr('data-requires-premium'))},requestGridblocks:function(n){var r=o.GRIDBLOCK.Category.getSearchType();return n=n||{},e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_generate,dataType:'json',timeout:1e4,data:_.defaults(n,{quantity:r?30:50,color_palettes:1,include_temporary_resources:1,release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key,transparent_backgrounds:'post'===BoldgridEditor.post_type?1:0,type:r,color:JSON.stringify({colors:o.CONTROLS.Color.getGridblockColors()}),category:a.getCategory()})})},gridblockLoadingUI:{start:function(){e('body').addClass('loading-remote-body')},finish:function(){e('body').removeClass('loading-remote-body')}},getCategory:function(){var e;return BoldgridEditor&&BoldgridEditor.inspiration&&BoldgridEditor.inspiration.subcategory_key&&(e=BoldgridEditor.inspiration.subcategory_key),e},addToConfig:function(e){_.each(e,function(n,r){a.canDisplayGridblock(n)&&(e[r]=a.addRequiredProperties(n),o.GRIDBLOCK.Filter.addGridblockConfig(e[r],'generated-'+a.gridblockCount),a.gridblockCount++)})},canDisplayGridblock:function(e){var o=!0;return e.is_premium&&!BoldgridEditor.inspiration_active&&(o=!1),o},updateBackgroundImages:function(e){var o=e.attr('gb-background-image');o&&e.removeAttr('gb-background-image').css('background-image',o)},addRequiredProperties:function(o){var n=e(o.html);return a.updateBackgroundImages(n),o['html-jquery']=n,o}};o.GRIDBLOCK.Generate=a}(jQuery)},"./assets/js/builder/gridblock/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BoldgridEditor.builder_config.gridblock,a=BOLDGRID.EDITOR,n={translateImages:function(e){e.dynamicImages?(n.replaceImages(e),n.replaceBackgrounds(e)):n.transferSrcAttr(e)},transferSrcAttr:function(o){o.$html.find('img[data-src]').each(function(){var o=e(this),a=o.attr('data-src');o.removeAttr('data-src').attr('src',a)})},replaceImages:function(r){r.$html.find('img').each(function(){var r=e(this),l=r.attr('data-src');return(r.removeAttr('data-src'),r.attr('dynamicImage',''),!n.isRandomUnsplash(l))?void r.attr('src',l):void(a.GRIDBLOCK.Filter.setPlaceholderSrc(r),o.disabledUnsplashImages||n.getDataURL(l).done(function(e){r.attr('src',e)}).fail(function(){n.getRedirectURL(l).done(function(e){r.attr('src',e)}).fail(function(){a.GRIDBLOCK.Filter.setPlaceholderSrc(r)})}))})},replaceBackgrounds:function(e){var a=e.$html,r=a.css('background-image')||'',l=r.match(/url\(?.+?\)/),s=n.getBackgroundUrl(a),i;if(i=function(e){r=n.replaceBackgroundUrl(r,e),a.css('background-image',r)},l){if(a.attr('dynamicImage',''),!n.isRandomUnsplash(s))return;if(a.css('background-image',''),o.disabledUnsplashImages)return;n.getDataURL(s).done(function(e){i(e)}).fail(function(){n.getRedirectURL(s).done(function(e){i(e)})})}},replaceBackgroundUrl:function(e,o){return e.replace(/url\(.+?\)/,'url('+o+')')},getBackgroundUrl:function(e){var o=e.css('background-image')||'';return o.replace(/.*\s?url\([\'\"]?/,'').replace(/[\'\"]?\).*/,'')},isRandomUnsplash:function(e){return e&&-1!==e.indexOf('source.unsplash')},getEncodedSrc:function(e){var o='';return o=n.isBackgroundImage(e)?n.getBackgroundUrl(e):e.attr('src'),o},isBackgroundImage:function(e){return'IMG'!==e[0].nodeName},addImageUrl:function(e,o){var a;e.removeAttr('dynamicimage'),n.isBackgroundImage(e)?(a=e.css('background-image')||'',a=n.replaceBackgroundUrl(a,o.url),e.attr('data-image-url',o.url).css('background-image',a)):(e.attr('src',o.url),'undefined'!=typeof o.attachment_id&&o.attachment_id&&e.addClass('wp-image-'+o.attachment_id))},getDataURL:function(o){var a=e.Deferred(),n=new XMLHttpRequest;return n.open('get',o),n.responseType='blob',n.onload=function(){var e=new FileReader,o;e.onload=function(){o=n.getResponseHeader('content-type')||'',200===n.status&&-1!==o.indexOf('image')?a.resolve(this.result):a.reject()},e.readAsDataURL(n.response)},n.onerror=function(){a.reject()},n.send(),a},getRedirectURL:function(o){var a=e.Deferred();return e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:8e3,data:{action:'boldgrid_redirect_url',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,urls:[o]}}).done(function(e){var n=e.data[o]||!1;n?a.resolve(n):a.reject()}).fail(function(){a.reject()}),a}};a.GRIDBLOCK.Image=n}(jQuery)},"./assets/js/builder/gridblock/lead.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Lead',function(){return c}),a.d(o,'default',function(){return Save});var r=a('./includes/template/gridblock/lead.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=jQuery,d=BOLDGRID.EDITOR,c=function(){function e(){n(this,e),this.$template=i()}return s(e,[{key:'init',value:function(){BoldgridEditor.display_gridblock_lead&&(this.$template=this._insert(),this._bind())}},{key:'dismissPrompt',value:function(){this.$template.hide()}},{key:'_bind',value:function(){this._bindDismiss(),this._bindAddGridblock()}},{key:'_bindDismiss',value:function(){var e=this;this.$template.find('.add-blank').add('#insert-media-button, #insert-gridblocks-button').one('click',function(){e.dismissPrompt(),d.VALIDATION.Section.updateContainers(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_bindAddGridblock',value:function(){var e=this;this.$template.find('.add-gridblock').one('click',function(){d.CONTROLS.Section.enableSectionDrag(),e.dismissPrompt()})}},{key:'_insert',value:function(){var e=d.Controls.$container.$iframe,o=i(l.a);return e.after(o),o}}]),e}()},"./assets/js/builder/gridblock/loader.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./assets/js/builder/gridblock/save.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR.GRIDBLOCK,a={$window:e(window),openInit:!1,placeholderHtml:{},countGidblocksLoaded:0,loadingGridblocks:!1,creatingIframe:!1,$iframeTemp:!1,firstOpen:function(){!1===a.openInit&&(a.openInit=!0,a.placeholderHtml.before=wp.template('gridblock-redacted-before')(),a.placeholderHtml.after=wp.template('gridblock-redacted-after')(),o.View.init(),o.Delete.init(),o.Drag.init(),o.Generate.fetch(),new n.Save().init())},getPendingGridblockIds:function(){var a=[],n=0;return e.each(o.configs.gridblocks,function(e){!this.renderScheduled&&n<4&&o.Category.canDisplayGridblock(this)&&(n++,this.renderScheduled=!0,a.push(e))}),a},loadGridblocks:function(){var e=0,n,r,l;!0!==a.loadingGridblocks&&(l=a.getPendingGridblockIds(),0===l.length||(a.loadingGridblocks=!0,r=function(){var r=l[e],s=!!r&&o.configs.gridblocks[r];return!0===a.creatingIframe?void 0:s?void('iframeCreated'!==s.state&&a.createIframe(s),e++):(clearInterval(n),a.loadingGridblocks=!1,void o.View.$gridblockSection.trigger('scroll'))},n=window.setInterval(r,100)))},createIframe:function(n){var r=o.View.$gridblockSection.find('[data-id="'+n.gridblockId+'"]'),l=a.$iframeTemp?a.$iframeTemp:e('<iframe></iframe>'),s,i,d;a.creatingIframe=!0,o.View.$gridblockSection.find('.gridblocks').append(r),r.prepend(l),s=function(){d=l.contents(),o.Image.translateImages(n),d.find('body').html(e('<div>').html(n.$html).prepend(a.placeholderHtml.before).append(a.placeholderHtml.after)),o.View.addStyles(d),o.View.addBodyClasses(d),a.$iframeTemp=l.clone(),o.Category.canDisplayGridblock(n)&&r.css('display',''),n.state='iframeCreated',n.$iframeContents=d,setTimeout(function(){r.removeClass('gridblock-loading'),a.creatingIframe=!1},200)},i=function(){!1===o.View.headMarkup?a.$window.on('boldgrid_head_styles',s):s()},'Firefox'===BOLDGRID.EDITOR.Controls.browser?l.on('load',i):i()}};o.Loader=a}(jQuery)},"./assets/js/builder/gridblock/save.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Save',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'init',value:function(){this._setupSaveGridblock()}},{key:'_setupSaveGridblock',value:function(){s.GRIDBLOCK.View.$gridblockSection.find('.gridblocks').on('mousedown','.gridblock .save',function(o){o.stopPropagation();var e=l(o.target),a=e.closest('.gridblock').data('id'),n=s.GRIDBLOCK.configs.gridblocks[a];s.Controls.get('Library').openPanel({title:n.getTitle(),type:n.type,html:s.GRIDBLOCK.Create.getHtml(a)})})}}]),e}()},"./assets/js/builder/gridblock/view.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$tinymceBody:null,$gridblockSection:null,$gridblockNav:null,headMarkup:!1,siteMarkup:'',init:function(){a.$filterSelectWrap=e('.boldgrid-gridblock-categories'),a.gridblockTemplate=wp.template('boldgrid-editor-gridblock'),a.$filterSelect=a.$filterSelectWrap.find('select'),a.fetchTypes(),a.findElements(),a.positionGridblockContainer(),a.setupUndoRedo(),a.createGridblocks(),o.GRIDBLOCK.Loader.loadGridblocks(),o.GRIDBLOCK.Category.init(),a.endlessScroll(),a.templateClass=a.getTemplateClass()},fetchTypes:function(){var o=this;return e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_types,dataType:'json',timeout:4e3,data:{release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key}}).done(function(e){o.setFilterOptions(e)}).fail(function(){o.setFilterOptions()})},setFilterOptions:function(e){var o='',n=[],r=BoldgridEditor.builder_config.gridblock.filters;e=e||[],n=r.concat(e);var l=!0,s=!1,i;try{for(var d=n[Symbol.iterator](),c,p;!(l=(c=d.next()).done);l=!0)p=c.value,o+='<option value="'+p.slug+'">'+p.title+'</option>'}catch(e){s=!0,i=e}finally{try{!l&&d.return&&d.return()}finally{if(s)throw i}}a.$filterSelect.html(o),a.$filterSelectWrap.fadeIn()},onOpen:function(){a.$gridblockSection.trigger('scroll'),a.updateCustomStyles()},updateCustomStyles:function(){var e=o.Service.styleUpdater.getStylesheetCss();_.each(o.GRIDBLOCK.configs.gridblocks,function(o){'iframeCreated'===o.state&&o.$iframeContents.find('#boldgrid-custom-styles').html(e)})},setGridblockCount:function(){var e=_.countBy(BOLDGRID.EDITOR.GRIDBLOCK.configs.gridblocks||[],'type');a.$gridblockSection.find('.gridblocks').attr('my-gridblocks-count',(e.saved||0).toString()).attr('library-gridblocks-count',(e.library||0).toString())},onLoad:function(){a.setupAddGridblock(),o.STYLE.Remote.getStyles(BoldgridEditor.site_url)},hasGridblocks:function(){var e=0;return _.each(o.GRIDBLOCK.configs.gridblocks,function(a){'ready'===a.state&&o.GRIDBLOCK.Category.canDisplayGridblock(a)&&e++}),5<=e},endlessScroll:function(){var e=a.$gridblockSection.find('.gridblocks'),n;n=_.throttle(function(){var n=a.$gridblockSection.scrollTop(),r=e.height();r-n<1500&&!0===o.CONTROLS.Section.sectionDragEnabled&&a.updateDisplay()},800),a.$gridblockSection.on('scroll',n)},updateDisplay:function(){var e=o.GRIDBLOCK.Category.isSavedCategory(o.GRIDBLOCK.Category.currentCategory);o.GRIDBLOCK.Loader.loadGridblocks(),e||a.hasGridblocks()||o.GRIDBLOCK.Generate.fetch()},setupAddGridblock:function(){e('#insert-gridblocks-button').on('click',function(){e('.wp-switch-editor.switch-tmce').click(),o.CONTROLS.Section.$container?o.CONTROLS.Section.enableSectionDrag():e(window).one('boldgrid_editor_loaded',function(){o.CONTROLS.Section.enableSectionDrag()})})},setupUndoRedo:function(){var o=e('.history-controls');o.find('.redo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.redo(),e(window).trigger('resize'),a.updateHistoryStates()}),o.find('.undo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.undo(),e(window).trigger('resize'),a.updateHistoryStates()})},updateHistoryStates:function(){var o=e('.history-controls');BOLDGRID.EDITOR.mce.undoManager&&(o.find('.redo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasRedo()),o.find('.undo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasUndo()))},findElements:function(){a.$gridblockSection=e('.boldgrid-zoomout-section'),a.$gridblockNav=e('.zoom-navbar'),a.$pageTemplate=e('#page_template')},getTemplateClass:function(){var e=a.$pageTemplate.val()||'default';return e=e.split('.'),'page-template-'+e[0]},addBodyClasses:function(e){e.find('body').addClass(BoldgridEditor.body_class).addClass('mce-content-body entry-content centered-section').addClass(a.templateClass).css('overflow','hidden')},addStyles:function(e){var n=a.headMarkup;n+='<style id="boldgrid-custom-styles">'+o.Service.styleUpdater.getCachedCss()+'</style>',e.find('head').html(n)},positionGridblockContainer:function(){e('#wpcontent').after(a.$gridblockSection)},createGridblocks:function(){var e,o;a.$gridblockSection&&(o=a.$gridblockSection.find('.gridblocks'),e=a.generateInitialMarkup(),o.append(e),a.$gridblockSection.trigger('scroll'),a.setGridblockCount())},generateInitialMarkup:function(){var n='';return e.each(o.GRIDBLOCK.configs.gridblocks,function(){this.state||(this.state='ready',n+=a.getGridblockHtml(this))}),n},getGridblockHtml:function(e){return e.requires_premium=-1===o.GRIDBLOCK.Generate.licenseTypes.indexOf('premium'),a.gridblockTemplate(e)}};o.GRIDBLOCK.View=a,e(o.GRIDBLOCK.View.onLoad)}(jQuery)},"./assets/js/builder/library/save.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Save',function(){return p}),a.d(o,'default',function(){return p});var r=a('./includes/template/gridblock-library.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=window.jQuery,d=BOLDGRID.EDITOR,c=i(window),p=function(){function e(){n(this,e),this.name='Library',this.panel={title:'Block Library',icon:'gridblock-grid-icon',height:'430px',width:'600px',autoCenter:!0,showOverlay:!0}}return s(e,[{key:'init',value:function(){d.Controls.registerControl(this)}},{key:'setup',value:function(){this._bindHandlers()}},{key:'openPanel',value:function(e){this.gridblockData=e,this.$html=i(l.a),this._setState('save-prompt'),e.title&&this.$html.find('input').val(e.title).change(),d.Panel.setContent(this.$html).open(this),d.Panel.centerPanel()}},{key:'ajax',value:function(e){return e.action='boldgrid_editor_save_gridblock',e.boldgrid_editor_gridblock_save=BoldgridEditor.nonce_gridblock_save,i.ajax({url:ajaxurl,dataType:'json',method:'POST',timeout:5e3,data:e})}},{key:'save',value:function(e){var o=this,a=i.Deferred();return'string'==typeof e.html?(e.html=i(e.html).html(),this.ajax(e)):(e.html.always(function(n){e.html=i(n).html(),o.ajax(e).fail(function(e){a.reject(e)}).done(function(e){a.resolve(e)})}),a)}},{key:'_addToConfig',value:function(e){var o={html:e.post_content,post:e,dynamicImages:!1,type:'library',"html-jquery":i(e.post_content)};d.GRIDBLOCK.Filter.addGridblockConfig(o,'ui-saved-'+e.ID),d.GRIDBLOCK.View.createGridblocks()}},{key:'_setState',value:function(e){this.$html.attr('state',e)}},{key:'_bindHandlers',value:function(){this._setupFormSubmit()}},{key:'_setupFormSubmit',value:function(){var o=this;d.Panel.$element.on('submit','.save-gridblock form',function(a){var e=i(a.target),n=e.find('.bg-editor-button'),r=e.find('input');a.preventDefault(),d.Panel.showLoading(),n.attr('disabled','disabled'),o.gridblockData.title=r.val(),o.save(o.gridblockData).fail(function(){o._setState('save-failed')}).done(function(e){o._setState('save-success'),o._addToConfig(e.data)}).always(function(){d.Panel.hideLoading(),n.removeAttr('disabled')})})}}]),e}()},"./assets/js/builder/menu.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Menu={$element:null,$activeElement:null,$mceContainer:null,init:function(){return this.create(),this.setupMenuDrag(),this.setupDimiss(),this.setupDropmenuOpen(),this.$element},getTarget:function(e){return this.$element.targetData[e.name]},getCurrentTarget:function(){var o;return e.Panel.currentControl&&(e.Panel.currentControl.getTarget?o=e.Panel.currentControl.getTarget():o=a.getTarget(e.Panel.currentControl)),o},create:function(){this.$mceContainer=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),this.$element=o(wp.template('boldgrid-editor-control-menu')()),this.$mceContainer.append(this.$element),this.$element.items=[],this.$element.targetData=!1},setupMenuDrag:function(){this.$element.find('ul').draggable({containment:'#wp-content-editor-container',scroll:!1,axis:'x',cancel:'li'})},createListItem:function(e){var a=o('<li></li>').attr('data-action','menu-'+e.name),n=o('<span></span>').addClass(e.iconClasses),r;a.append(n),e.menuDropDown&&(r=o('<ul class="bg-editor-menu-dropdown"></ul>'),a.addClass('menu-dropdown-parent'),n.addClass('menu-dropdown-icon'),r.html('<li class="title">'+e.menuDropDown.title+'</li>'),o.each(e.menuDropDown.options,function(){r.append('<li class="'+this.class+'">'+this.name+'</li>')}),a.append(r)),e.tooltip&&a.append(wp.template('boldgrid-editor-tooltip')({message:e.tooltip})),this.$element.find('> ul').append(a)},setupDimiss:function(){o(document).on('click',function(n){!1===o(n.target).hasClass('menu-dropdown-icon')&&a.$element.find('.menu-dropdown-parent').removeClass('active')}),e.Controls.$container.on('click',function(){a.$element.find('.menu-dropdown-parent').removeClass('active')})},setupDropmenuOpen:function(){this.$element.on('click','.menu-dropdown-parent',function(){o(this).toggleClass('active').siblings().removeClass('active')})},activateControl:function(e){a.deactivateControl(),this.$activeElement=BOLDGRID.EDITOR.Menu.$element.find('[data-action="menu-'+e.name+'"]').addClass('active')},deactivateControl:function(){this.$activeElement&&(this.$activeElement.removeClass('active'),this.$activeElement=null)},reactivateMenu:function(){var e=BOLDGRID.EDITOR.Panel.$element;this.$activeElement&&e.is(':visible')&&this.$element.find('[data-action="menu-'+e.attr('data-type')+'"]').addClass('active')}},a=BOLDGRID.EDITOR.Menu}(jQuery)},"./assets/js/builder/notice/base.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Base',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'bindDismissButton',value:function(){var e=this;s.Panel.$element.find('.bg-upgrade-notice, .setup').find('.dismiss').one('click',function(){e.dismissPanel()})}},{key:'removeEffects',value:function(){l('body').removeClass('bg-editor-intro-1-3 fadeout-background bg-editor-intro'),s.Panel.resetPosition(),s.Panel.closePanel(),s.Panel.$element.removeClass('animated bounceOutDown bounceInDown')}},{key:'dismissPanel',value:function(){var e=this,o=l('body');o.addClass('fadeout-background'),s.Panel.$element.addClass('bounceOutDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e.removeEffects()}),setTimeout(function(){e.removeEffects()},1e3)}}]),e}()},"./assets/js/builder/notice/intro.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Intro',function(){return b}),a.d(o,'default',function(){return b});var s=a('./includes/template/intro.html'),i=a.n(s),d=a('./assets/js/builder/notice/base.js'),c=a('./node_modules/@boldgrid/controls/src/controls/index.js'),p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},g=window.jQuery,m=BOLDGRID.EDITOR,b=function(e){function o(){n(this,o);var e=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.name='intro',e.panel={title:'Post and Page Builder - Setup',height:'285px',width:'650px',disabledClose:!0,autoCenter:!0},e}return l(o,e),p(o,[{key:'init',value:function(){BoldgridEditor.display_intro&&(this.selection=new c.e,this.$body=g('body'),this.settings=this.getDefaults(),this.templateMarkup=_.template(i.a)(),this.$panelHtml=g(this.templateMarkup),this.$templateInputs=this.$panelHtml.find('input[name="template"]'),this.openPanel(),this._setupNav(),this._addPanelSettings('welcome'),this.bindDismissButton(),this._setupStepActions())}},{key:'getDefaults',value:function(){return{template:{choice:'fullwidth'},palette:{choice:null}}}},{key:'openPanel',value:function(){m.Panel.currentControl=this,this.$body.addClass('bg-editor-intro'),m.Panel.setDimensions(this.panel.width,this.panel.height),m.Panel.setTitle(this.panel.title),m.Panel.setContent(this.$panelHtml),m.Panel.centerPanel(),m.Panel.$element.show()}},{key:'dismissPanel',value:function(){if(u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'dismissPanel',this).call(this),this.settings.template.choice=this.$templateInputs.filter(':checked').val(),'auto-draft'===BoldgridEditor.post.post_status&&'default'!==this.settings.template.choice){var e='template/page/'+this.settings.template.choice+'.php';g('#page_template').val(e).change()}this.saveSettings()}},{key:'saveSettings',value:function(){g.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_setup',boldgrid_editor_setup:BoldgridEditor.setupNonce,settings:this.settings}})}},{key:'_setupStepActions',value:function(){var e=this;this.$panelHtml.on('boldgrid-editor-choose-color-palette',function(){var o;o=e.selection.create(),e.$panelHtml.find('.choose-palette').html(o),o.one('palette-selection',function(){e.$currentStep.find('[data-action-step]').removeAttr('disabled')}),o.on('palette-selection',function(){e.settings.palette.choice=e.selection.getSelectedPalette()})})}},{key:'_addPanelSettings',value:function(e){this.$currentStep=this.$panelHtml.find('[data-step="'+e+'"]'),m.Panel.setTitle(this.$currentStep.data('panel-title')),m.Panel.setInfo(this.$currentStep.data('panel-info')),m.Panel.setDimensions(this.$currentStep.data('panel-width')||this.panel.width,this.$currentStep.data('panel-height')||this.panel.height)}},{key:'_setupNav',value:function(){var o=this;this.$panelHtml.find('[data-action-step]').on('click',function(a){var e=g(a.target),n=e.data('action-step');o._addPanelSettings(n),o.$panelHtml.trigger('boldgrid-editor-'+n),o.$panelHtml.find('.step').removeClass('active'),m.Panel.centerPanel(),o.$currentStep.addClass('active')})}}]),o}(d.Base)},"./assets/js/builder/notice/update.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./assets/js/builder/notice/base.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.NOTICE=BOLDGRID.EDITOR.NOTICE||{},function(e){var o=BOLDGRID.EDITOR,a;o.NOTICE.Update={title:'New Release: Post and Page Builder',template:wp.template('boldgrid-upgrade-notice'),init:function(){BoldgridEditor.display_update_notice&&(this.notice=new n.Base,a.displayPanel(),setTimeout(function(){a.bindEvents()},1e3))},bindEvents:function(){this.notice.bindDismissButton(),a.bodyClick()},bodyClick:function(){var a=this;e('body').one('click',function(){a.notice.dismissPanel()}),o.Panel.$element.on('click',function(o){o.stopPropagation()})},displayPanel:function(){e('body').addClass('bg-editor-intro-1-3 bg-editor-intro'),a.initPanel(),a.renderPanel()},animatePanel:function(){o.Panel.$element.addClass('animated bounceInDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e('.bg-editor-loading').hide()})},renderPanel:function(){o.Panel.$element.show(),a.animatePanel()},initPanel:function(){o.Panel.setDimensions(800,400),o.Panel.setTitle(a.title),o.Panel.setContent(a.template())}},a=o.NOTICE.Update}(jQuery)},"./assets/js/builder/panel.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Panel={$element:null,currentControl:null,init:function(){return this.$body=e('body'),this.create(),this._setupPanelClose(),this._setupDrag(),this._setupCustomizeLeave(),this._setupCustomizeDefault(),this._lockPanelScroll(),this._setupAutoCenter(),this._setupEscapeClose(),this.$element},create:function(){this.$element=e(wp.template('boldgrid-editor-panel')()),this.$loading=this.$element.find('.bg-loading-spinner'),this.$body.append(this.$element)},setContent:function(e){return this.$element.find('.panel-body').html(e),this},setTitle:function(e){this.$element.find('.panel-title .name').html(e)},setInfo:function(e){this.$element.find('.panel-title .info').html(e)},showLoading:function(){this.$element.find('.panel-body').addClass('block-access-overlay'),this.$loading.addClass('enabled')},hideLoading:function(){this.$element.find('.panel-body').removeClass('block-access-overlay'),this.$loading.removeClass('enabled')},resetPosition:function(){this.$element.css({top:'',left:''})},setDimensions:function(e,o){this.$element.width(e),this.$element.height(o)},centerPanel:function(){var o=e(window),a=parseInt(this.$element.css('width')),n=parseInt(this.$element.css('height')),r=o.width(),l=o.height();this.$element.css({top:l/2-n/2,left:r/2-a/2})},initScroll:function(){a.createScrollbar(a.getScrollTarget(),this.currentControl.panel||{})},createScrollbar:function(e,o){var n=-66,r=this.$element.find(e);o&&o.sizeOffset&&(n=o.sizeOffset),a.$element.find('.slimScrollDiv >:first-child').slimScroll({destroy:!0}).attr('style',''),r.slimScroll({color:'#32373c',size:'8px',height:parseInt(o.height)+n,alwaysVisible:!0,disableFadeOut:!0,wheelStep:5})},isOpenControl:function(e){var o=!1;return this.$element.is(':visible')&&this.$element.attr('data-type')===e.name&&(o=!0),o},_setupEscapeClose:function(){var n=this,e=function(o){27===o.keyCode&&n.currentControl&&n.currentControl.panel&&!n.currentControl.panel.disabledClose&&n.$element.is(':visible')&&a.closePanel()};o.$window.on('keyup',e),o.Controls.$container.on('keyup',e)},_setupDrag:function(){this.$element.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},clearSelected:function(){this.$element.find('.selected').removeClass('selected')},_setupPanelResize:function(){this.$element.resizable()},_setupPanelClose:function(){this.$element.on('click','.close-icon, button.dismiss',function(){a.closePanel()})},removeClasses:function(){o.Controls.$container.find('.bg-control-element').removeClass('bg-control-element')},closePanel:function(){a.$element.hide(),o.Panel.hideLoading(),BOLDGRID.EDITOR.Menu.deactivateControl(),a.removeClasses(),a.$element.hasClass('customize-open')&&(this.$element.trigger('bg-customize-exit'),a.$element.removeClass('customize-open')),this.$element.find('.panel-body').empty(),this.$element.removeClass('drag-disabled'),this.$element.trigger('bg-panel-close'),this.$body.removeClass('bg-editor-overlay'),BOLDGRID.EDITOR.mce.undoManager.add()},scrollToSelected:function(){var e=a.$element.find('.selected:not(.filters .selected):visible'),o,n;a.scrollTo(0),e.length&&(n=0,a.currentControl.panel.scrollOffset&&(n=a.currentControl.panel.scrollOffset),o=e.position().top+n,a.scrollTo(o+'px'))},getScrollTarget:function(){var e='.panel-body';return a.currentControl&&a.currentControl.panel.scrollTarget&&(e=a.currentControl.panel.scrollTarget),e},scrollTo:function(e){this.$element.find(a.getScrollTarget()).slimScroll({scrollTo:e,alwaysVisible:!0,disableFadeOut:!0})},clear:function(){this.$element.find('.panel-title .name').empty(),this.$element.find('.panel-title .info').empty(),this.$element.find('.panel-body').empty(),this.$element.find('.panel-title .icon').attr('class','')},_enableFooter:function(e){e&&e.includeFooter?a.showFooter():a.hideFooter()},hideFooter:function(){this.$element.find('.panel-footer').hide()},showFooter:function(){this.$element.find('.panel-footer').show()},_setupCustomize:function(o){o.panel.customizeCallback&&a.$element.find('.panel-footer .customize .panel-button').on('click',function(n){n.preventDefault(),a.customizeOpenEvent(),a.$element.attr('data-type')===o.name&&!0!==a.currentControl.panel.customizeCallback&&o.panel.customizeCallback()})},customizeOpenEvent:function(){a.$element.trigger('bg-customize-open'),a.$element.addClass('customize-open')},enterCustomization:function(){a.$element.find('.panel-body .customize').show(),a.$element.find('.presets').hide(),a.$element.find('.title').hide(),a.scrollTo(0),a.hideFooter(),o.Service.customize.navigation.enable()},_setupCustomizeDefault:function(){a.$element.find('.panel-footer .customize .panel-button').on('click',function(o){o.preventDefault(),a.currentControl&&a.currentControl.panel&&!0===a.currentControl.panel.customizeCallback&&a.enterCustomization()})},_setupCustomizeLeave:function(){a.$element.on('click','.back .panel-button',function(n){n.preventDefault(),a.$element.removeClass('customize-open'),a.currentControl&&a.currentControl.panel&&!0===a.currentControl.panel.customizeLeaveCallback&&(a.$element.find('.presets').show(),a.$element.find('.title').show(),a.$element.find('.panel-body .customize').hide(),o.Service.customize.navigation.disable(),a.toggleFooter(),a.scrollToSelected(),a.$element.trigger('bg-customize-exit'))})},setupPanelClick:function(a){var n=BOLDGRID.EDITOR.Panel;a.panel&&a.panel.styleCallback&&n.$element.on('click','[data-control-name="'+a.name+'"] .panel-selection',function(){var r=o.Menu.getCurrentTarget(),l=e(this);o.Util.removeComponentClasses(r,a.componentPrefix),r.addClass(l.attr('data-preset')),n.$element.find('.selected').removeClass('selected'),l.addClass('selected')})},toggleFooter:function(){a.$element.find('.panel-body .selected').length?a.showFooter():a.hideFooter()},collapseSelection:function(){'icon'!==a.currentControl.name&&(BOLDGRID.EDITOR.mce.selection.collapse(!1),BOLDGRID.EDITOR.mce.nodeChanged())},_lockPanelScroll:function(){window.addEventListener&&(this.$element[0].addEventListener('DOMMouseScroll',a._onWheel,!1),this.$element[0].addEventListener('mousewheel',a._onWheel,!1))},_onWheel:function(o){o=o||window.event,o.preventDefault&&o.preventDefault(),o.returnValue=!1},preselect:function(){var e,a;this.currentControl.panel.preselectCallback&&(e=o.Menu.getCurrentTarget(),a=o.Util.getClassesLike(e,this.currentControl.componentPrefix),a=a.join(' '),this.clearSelected(),this.$element.find('[data-preset="'+a+'"]:first').addClass('selected'))},showOverlay:function(){this.currentControl.panel&&this.currentControl.panel.showOverlay&&(this.$body.addClass('bg-editor-overlay'),this.$element.addClass('drag-disabled'))},_setupAutoCenter:function(){var o=this,a=_.debounce(function(){o.currentControl&&o.currentControl.panel.autoCenter&&o.centerPanel()},500);e(window).on('resize',a)},_setIcon:function(){this.currentControl.panel&&this.currentControl.panel.icon&&this.$element.find('.panel-title [data-id="icon"]').attr('class',this.currentControl.panel.icon).addClass('icon')},open:function(n){var r;BOLDGRID.EDITOR.mce.undoManager.add(),BOLDGRID.EDITOR.Menu.activateControl(n),this.currentControl=n,this.$element.addClass('ui-widget-content'),this.setDimensions(n.panel.width,n.panel.height),this.setTitle(n.panel.title),this.$element.attr('data-type',n.name),this.$element.find('.panel-body').attr('data-control-name',n.name),this._enableFooter(n.panel),this._setupCustomize(n),o.Tooltip.renderTooltips(),this.$element.show(),this.initScroll(n),this.preselect(),this.scrollToSelected(),this.collapseSelection(),this.showOverlay(),this._setIcon(),BOLDGRID.EDITOR.CONTROLS.Generic.initControls(),a.removeClasses(),r=o.Menu.$element.targetData[n.name]||e(),r.addClass('bg-control-element'),o.CONTROLS.Color.initColorControls(),this.$element.trigger('open')}},a=BOLDGRID.EDITOR.Panel}(jQuery)},"./assets/js/builder/popover/actions/clone.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Clone',function(){return s}),a.d(o,'default',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=function(){function e(o){n(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="duplicate"]').on('click',function(){e.clone(),e.postClone()})}},{key:'clone',value:function(){var e=this.popover.$target.clone();this.popover.$target.after(e)}},{key:'postClone',value:function(){l.Controls.$container.trigger('boldgrid_clone_element'),this.popover.updatePosition()}}]),e}()},"./assets/js/builder/popover/actions/delete.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Delete',function(){return s}),a.d(o,'default',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=function(){function e(o){n(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="delete"]').on('click',function(o){o.preventDefault(),e.delete()})}},{key:'delete',value:function(){this.popover.$target.remove(),this.popover.$element.hide(),this.popover.updatePosition(),l.Controls.$container.trigger('delete_dwpb')}}]),e}()},"./assets/js/builder/popover/actions/general.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'GeneralActions',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=jQuery,i=function(){function e(){n(this,e)}return r(e,[{key:'bind',value:function(e){var o=this;this.popover=e,e.$element.find('li[data-action="add-column"]').on('click',u.add_column),e.$element.find('li[data-action="duplicate-column"]').on('click',u.duplicateColumn),e.$element.find('li[data-action="clear"]').on('click',u.clear),e.$element.find('li[data-action="insert-layout"]').on('click',u.insert_layout),e.$element.find('li[data-action="add-row"]').on('click',u.add_row),e.$element.find('li[data-action="clone-as-row"]').on('click',u.unnest_row),e.$element.find('li[data-action]').on('click',u.trigger_action_click),e.$element.find('li[data-action="add-media"]').on('click',u.add_media),e.$element.find('li[data-action="align-top"]').on('click',u.alignTop),e.$element.find('li[data-action="Box"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="Advanced"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="Font"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="align-default"]').on('click',u.alignDefault),e.$element.find('li[data-action="align-bottom"]').on('click',u.alignBottom),e.$element.find('li[data-action="align-center"]').on('click',u.alignCenter),g=l.Controls.$container}},{key:'generalMacro',value:function(o){var e;o.stopPropagation(),e=s(o.target).data('action'),l.Service.popover.selection.$target.click(),l.Controls.get(e).openPanel(l.Service.popover.selection.$target,this.popover.name)}}]),e}(),d=['duplicate','add-row','add-column','nest-row','clear','delete','clone-as-row','align-top','align-bottom','align-default','align-center'],c=function(e,o){var a=BOLDGRID.EDITOR.Service.popover.selection.$target;a.removeClass('align-column-top align-column-bottom align-column-center'),o&&a.addClass('align-column-'+o),e.closest('.popover-menu-imhwpb').addClass('hidden')},p=function(e,o){e.preventDefault(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.window_mouse_leave()},u={alignTop:function(){c(s(this),'top')},alignBottom:function(){c(s(this),'bottom')},alignCenter:function(){c(s(this),'center')},alignDefault:function(){c(s(this))},unnest_row:function(e){var o=BOLDGRID.EDITOR.Service.popover.selection.$target;o.length&&(s(o[0].outerHTML).insertBefore(o.parent().closest('.row')),p(e,o))},add_row:function(){var e=g.createEmptyRow();BOLDGRID.EDITOR.Service.popover.selection.$target.before(e),g.postAddRow(e)},add_column:function(e){e.preventDefault();var o=s(this),a=BOLDGRID.EDITOR.Service.popover.selection.$target,n=g.find_row_size(a),r=a.find('> *'),l;if(1===r.length&&'BR'==r[0].tagName&&a.empty(),n<g.max_row_size&&n>=0)l=g.fill_row(n,a);else if(n>=g.max_row_size){var i=g.get_layout_format(a),d=g.find_layout_transform(i);d&&!d.current?(g.transform_layout(a,d),l=s('<div class="col-md-'+d.new+' col-sm-12 col-xs-12"></div>'),a.append(l)):(g.decrease_row_size(a),l=s('<div class="col-md-1 col-sm-12 col-xs-12"></div>'),a.append(l))}l.html('<p><br> </p>'),l.addClass('added-element'),setTimeout(function(){l.removeClass('added-element')},1e3),g.trigger(g.add_column_event,l),o.closest('.popover-menu-imhwpb').addClass('hidden')},duplicateColumn:function(e){e.preventDefault();var o=BOLDGRID.EDITOR.Service.popover.selection.$target,a=o.closest_context(g.row_selectors_string,g),n=g.find_column_size(o),r=g.get_layout_format(a),l=g.find_layout_transform(r,n),i=1;if(g.find_row_size(a)+n<=g.max_row_size){var d=o.before(o[0].outerHTML);d[0].popover=null}else if(l){if(!l.current){g.transform_layout(a,l),i=l.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}else{g.change_column_size(o,null,l.current_transform),i=l.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i),s.each(l.additional_transform,function(e,o){var n=0;a.find(g.immediate_column_selectors_string).reverse().each(function(){if(n<o.count){var e=s(this);g.find_column_size(e)==o.from&&(g.change_column_size(e,null,o.to),n++)}else return!1})})}}else if(0==n%2&&n){g.change_column_size(o,null,parseInt(n/2));var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,parseInt(n/2))}else if(g.decrease_row_size(a)){var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}g.trigger(g.add_column_event)},clear:function(e){e.preventDefault();var o=s(this),a=BOLDGRID.EDITOR.Service.popover.selection.$target,n=g.get_element_type(a);'column'==BOLDGRID.EDITOR.Service.popover.selection.name?(a.html('<p><br> </p>'),c(o)):a.find(':not('+g.column_selectors_string+'):not( '+g.row_selectors_string+')').remove(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.trigger(g.clear_event,a)},add_media:function(){g.add_media_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},insert_layout:function(){g.insert_layout_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},trigger_action_click:function(e){var o=s(this);-1===d.indexOf(o.data('action'))&&(g.$boldgrid_menu_action_clicked=BOLDGRID.EDITOR.Service.popover.selection.$target[0],p(e,o)),g.trigger(g.boldgrid_modify_event)}},g},"./assets/js/builder/popover/base.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Base',function(){return p}),a.d(o,'default',function(){return p});var r=a('./assets/js/builder/popover/actions/clone.js'),l=a('./assets/js/builder/popover/actions/delete.js'),s=a('./assets/js/builder/popover/actions/general.js'),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=window.jQuery,c=BOLDGRID.EDITOR,p=function(){function e(o){n(this,e),o=o||{},o.actions=o.actions||{},o.actions.clone=o.actions.clone||new r['default'](this),o.actions.delete=o.actions.delete||new l['default'](this),this.options=o,this.selectors=['.must-be-defined'],this.debounceTime=300,this._hideCb=this._getDebouncedHide(),this._showCb=this._getDebouncedUpdate(),this.hideHandleEvents=['bge_row_resize_start','start_typing_boldgrid','boldgrid_modify_content','resize_clicked','drag_end_dwpb','history_change_boldgrid','clear_dwpb','add_column_dwpb']}return i(e,[{key:'init',value:function(){return this.$target,this.$element=this._render(),this.$element.hide(),this._bindEvents(),this.options.actions.clone.init(),this.options.actions.delete.init(),new s['default']().bind(this),this}},{key:'hideHandles',value:function(e){var o;e&&e.relatedTarget&&(o=d(e.relatedTarget)),this.preventMouseLeave&&this.preventMouseLeave(o)||(this._removeBorder(),this.$element.$menu.addClass('hidden'),this.$element.hide(),this.$element.trigger('hide'),this.$element.removeClass('menu-open'))}},{key:'updatePosition',value:function(e){var o,a;return this._removeBorder(),e&&(a=d(e.target)),this._isInvalidTarget(a||this.$target)?void this.$element.hide():c.Controls.$container.$current_drag||c.Controls.$container.resize||this.disableAddPopover?!1:void(a&&(a=a.closest(this.getSelectorString()),this.$target&&a[0]!==this.$target[0]&&(this.$element.removeClass('menu-open'),this.$element.$menu.addClass('hidden')),this.$target=a),this.$element.trigger('updatePosition'),o=this.$target[0].getBoundingClientRect(),this.$element.css(this.getPositionCss(o)).show(),this.$target.addClass('popover-hover'))}},{key:'bindSelectorEvents',value:function(){var e=this;this.$element.on('mouseenter',function(){e.debouncedUpdate()}),c.Controls.$container.$body.on('mouseenter.draggable',this.getSelectorString(),function(o){e.debouncedUpdate(o)}),c.Controls.$container.$body.on('mouseleave.draggable',this.getSelectorString(),function(o){e.debouncedHide(o)})}},{key:'debouncedHide',value:function(e){this._hideCb(e),this.mostRecentAction='leave'}},{key:'debouncedUpdate',value:function(e){this._showCb(e),this.mostRecentAction='enter'}},{key:'_getDebouncedHide',value:function(){var e=this;return _.debounce(function(o){'leave'===e.mostRecentAction&&e.hideHandles(o)},this.debounceTime)}},{key:'_getDebouncedUpdate',value:function(){var e=this;return _.debounce(function(o){'enter'===e.mostRecentAction&&e.updatePosition(o)},this.debounceTime)}},{key:'_bindEvents',value:function(){this.bindSelectorEvents(),this._universalEvents()}},{key:'_universalEvents',value:function(){var e=this;this.$element.on('mousedown',function(){c.Service.popover.selection=e}),c.Controls.$container.on('edit-as-row-enter edit-as-row-leave',function(){e.bindSelectorEvents(),e.hideHandles()}),c.Controls.$container.on('end_typing_boldgrid',function(){'start_typing_boldgrid'===e.hideEventType&&e.updatePosition()}),c.Controls.$container.on('history_change_boldgrid',function(){e.disableAddPopover=!0,setTimeout(function(){e.disableAddPopover=!1},500)}),this.$element.on('mouseleave',function(o){e.debouncedHide(o)}),c.Controls.$container.find('[data-action]').on('click',function(o){e.hideHandles(o)}),c.Controls.$container.on('mouseleave',function(o){e.hideEventType=o.type,e.debouncedHide()}),c.Controls.$container.on(this.hideHandleEvents.join(' '),function(o){e.hideEventType=o.type,e.hideHandles()})}},{key:'_isInvalidTarget',value:function(e){return!e||!e.length||!c.Controls.$container.find(e).length}},{key:'_removeBorder',value:function(){this.$target&&this.$target.length&&this.$target.removeClass('popover-hover')}},{key:'_render',value:function(){var e=d(_.template(this.template)({actions:c.Controls.$container.additional_menu_items}));return e.$menu=e.find('.popover-menu-imhwpb'),c.Controls.$container.$body.after(e),e}}]),e}()},"./assets/js/builder/popover/column.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Column',function(){return g}),a.d(o,'default',function(){return g});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/column.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=window.jQuery,u=BOLDGRID.EDITOR,g=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='column',(e=a,r(a,e))}return l(o,e),c(o,[{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left}}},{key:'getSelectorString',value:function(){return u.Controls.$container.editting_as_row?u.Controls.$container.nestedColumnSelector:u.Controls.$container.original_selector_strings.unformatted_column_selectors_string}}]),o}(s.Base)},"./assets/js/builder/popover/content.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Content',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/content.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='content',a.nestedSelector=a.createNestedSelector(),(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){return e._onUpdatePosition()}),this.$element.find('.edit-as-row').on('click',function(){return e._onEditRow()})}},{key:'getPositionCss',value:function(e){var o=40;return 80>e.height&&(o=e.height/2),{top:e.top+o,left:e.left}}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.unformatted_content_selectors_string;return g.Controls.$container.editting_as_row&&(e=this.nestedSelector),e}},{key:'createNestedSelector',value:function(){var e=[];return _.each(g.Controls.$container.content_selectors,function(o){'.row .row:not(.row .row .row)'!==o&&e.push(o.replace('not(.row .row','not(.row .row .row'))}),e.join(',')}},{key:'preventMouseLeave',value:function(e){return e&&1===e.closest(this.$target).length}},{key:'_onUpdatePosition',value:function(){var e=this.$target.parents(this.getSelectorString()).last();e.length&&(this.$target=e),this.$target.hasClass('row')&&!g.Controls.$container.editting_as_row?this.$element.addClass('nested-row-popover-imhwpb'):this.$element.removeClass('nested-row-popover-imhwpb')}},{key:'_onEditRow',value:function(){g.Controls.$container.trigger('boldgrid_edit_row',this.$target),g.Controls.$container.editting_as_row?u.fourpan.dismiss():u.fourpan.highlight(this.$target)}}]),o}(s.Base)},"./assets/js/builder/popover/row.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Row',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/row.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='row',(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){g.RESIZE.Row.positionHandles(e.$target)}),this.$element.on('hide',function(){g.RESIZE.Row.hideHandles()})}},{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left+e.width}}},{key:'preventMouseLeave',value:function(e){return e&&e.hasClass('draghandle')&&this.$target.is(g.RESIZE.Row.$currentRow)}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.row_selectors_string;return g.Controls.$container.editting_as_row&&(e=g.Controls.$container.nested_row_selector_string),e}}]),o}(s.Base)},"./assets/js/builder/popover/section.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Section',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/section.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='section',a.selectors=['.boldgrid-section'],a.emptySectionTemplate=wp.template('boldgrid-editor-empty-section'),a.selectorsString=a.selectors.join(','),(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var a=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this);this.$element.find('[data-action]').on('click',function(o){o.stopPropagation()}),this.$element.find('[data-action="section-width"]').on('click',function(o){return a.sectionWidth(o)}),this.$element.find('[data-action="move-up"]').on('click',function(){return a.moveUp()}),this.$element.find('[data-action="move-down"]').on('click',function(){return a.moveDown()}),this.$element.find('[data-action="background"]').on('click',function(){return a.background()}),this.$element.find('[data-action="save-gridblock"]').on('click',function(o){return a._saveGridblock(o)}),this.$element.find('[data-action="add-new"]').on('click',function(){return a.addNewSection()}),this.$element.find('.context-menu-imhwpb').on('click',function(o){return a.menuDirection(o)})}},{key:'getSelectorString',value:function(){return this.selectorsString}},{key:'getPositionCss',value:function(e){return{top:e.bottom+35,left:'calc(50% - 38px)',transform:'translateX(-50%)'}}},{key:'addNewSection',value:function(){var e=u(this.emptySectionTemplate());this.$target.after(e),this.transistionSection(e)}},{key:'transistionSection',value:function(e){IMHWPB.tinymce_undo_disabled=!0,e.animate({"background-color":'transparent'},1500,'swing',function(){g.Controls.addStyle(e,'background-color',''),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add()})}},{key:'menuDirection',value:function(o){var e=o.screenY-window.screenY,a=g.Menu.$mceContainer[0].getBoundingClientRect();e-a.bottom<340?this.$element.find('.popover-menu-imhwpb').addClass('menu-down'):this.$element.find('.popover-menu-imhwpb').removeClass('menu-down')}},{key:'moveUp',value:function(){var e=this.$target.prev();e.length&&e.before(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'_saveGridblock',value:function(){g.Controls.get('Library').openPanel({html:this.$target[0].outerHTML})}},{key:'moveDown',value:function(){var e=this.$target.next();e.length&&e.after(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'background',value:function(){this.$target.click(),BOLDGRID.EDITOR.CONTROLS.Background.openPanel()}},{key:'sectionWidth',value:function(){g.CONTROLS.Container.toggleSectionWidth(this.$target.find('.container, .container-fluid')),this.$target.trigger(g.Controls.$container.delete_event)}}]),o}(s.Base)},"./assets/js/builder/render-fonts.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR.FontRender={createLinkList:function(o){var a={};return o.find('[data-font-family]').each(function(){var o=e(this),n=o.attr('data-font-family');n&&(a[n]=a[n]||{})}),a},updateFontLink:function(a){var n=a.find('head'),r=n.find('#boldgrid-google-fonts'),l,s,i;r.length||(r=e('<link id="boldgrid-google-fonts" rel="stylesheet">'),n.append(r)),l=o.createLinkList(a),s=[],e.each(l,function(e){s.push(e)}),s=s.join('|'),s&&(i=jQuery.param({family:s}),r.attr('href','https://fonts.googleapis.com/css?'+i))}}}(jQuery)},"./assets/js/builder/resize/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.RESIZE=BOLDGRID.EDITOR.RESIZE||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.RESIZE.Row={$body:null,handleSize:20,$container:null,$topHandle:null,$bottomHandle:null,handleOffset:null,currentlyDragging:!1,$currentRow:null,init:function(e){n.$container=e,n.handleOffset=n.handleSize,n.createHandles(),n.initDraggable()},createHandles:function(){n.$topHandle=o('<span class="draghandle top" title="Drag Resize Row" data-setting="padding-top"></span>'),n.$bottomHandle=o('<span class="draghandle bottom" title="Drag Resize Row" data-setting="padding-bottom"></span>'),o.each([n.$topHandle,n.$bottomHandle],function(){this.css({position:'fixed',height:n.handleSize,width:n.handleSize})}),n.$container.find('body').after(n.$topHandle).after(n.$bottomHandle),n.hideHandles()},initDraggable:function(){var r,l;n.$container.find('.draghandle').draggable({scroll:!1,axis:'y',start:function(){n.currentlyDragging=!0,l=o(this).data('setting'),r=parseInt(n.$currentRow.css(l)),n.$currentRow.addClass('changing-padding'),n.$container.$html.addClass('no-select-imhwpb'),n.$container.$html.addClass('changing-'+l),a.Controls.$container.trigger('bge_row_resize_start')},stop:function(){a.Controls.$container.trigger('bge_row_resize_end'),n.currentlyDragging=!1,n.$currentRow.removeClass('changing-padding'),n.$container.$html.removeClass('no-select-imhwpb'),n.$container.$html.removeClass('changing-'+l),n.hideHandles()},drag:function(s,e){var i=e.position.top-e.originalPosition.top,d,c,p;'padding-top'===l?(d=parseInt(n.$currentRow.css(l))-i,p='top',0<d&&i&&window.scrollBy(0,-i)):(d=r+i,p='bottom'),0>d&&(c=n.$currentRow[0].getBoundingClientRect(),e.position.top=c[p]-(e.helper.hasClass('top')?0:n.handleOffset),d=0),a.Controls.addStyle(n.$currentRow,l,d),n.$container.$html.hasClass('editing-as-row')&&o.fourpan&&o.fourpan.refresh()}})},positionHandles:function(e){var o,a;return e&&e.length?(o=e[0].getBoundingClientRect(),a=o.right-100,!n.currentlyDragging&&void(n.$currentRow=e,n.$topHandle.css({top:o.top-1,left:a}),n.$bottomHandle.css({top:o.bottom-n.handleOffset+1,left:a}),n.$topHandle.show(),n.$bottomHandle.show())):(n.$topHandle.hide(),void n.$bottomHandle.hide())},hideHandles:function(){return!n.currentlyDragging&&void(n.$topHandle.hide(),n.$bottomHandle.hide())}},n=BOLDGRID.EDITOR.RESIZE.Row}(jQuery)},"./assets/js/builder/service.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Service',function(){return D});var r=a('./assets/js/builder/tinymce/width.js'),l=a('./assets/js/builder/style/updater.js'),s=a('./assets/js/builder/tinymce/loading.js'),i=a('./assets/js/builder/controls/color/palette.js'),d=a('./assets/js/builder/notice/intro.js'),c=a('./assets/js/builder/library/save.js'),p=a('./assets/js/builder/controls/advanced.js'),u=a('./assets/js/builder/gridblock/lead.js'),g=a('./assets/js/builder/popover/content.js'),m=a('./assets/js/builder/popover/column.js'),b=a('./assets/js/builder/popover/row.js'),C=a('./assets/js/builder/popover/section.js'),h=a('./assets/js/builder/customize/navigation.js'),f=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),v=window.BOLDGRID.EDITOR,D=function(){function e(){n(this,e)}return f(e,[{key:'init',value:function(){return this.editorWidth=null,this.styleUpdater=null,this._onWindowLoad(),this._onEditorLoad(),this._onEditorPreload(),this}},{key:'_onWindowLoad',value:function(){this.editorWidth=new r['default']().init(),this.loading=new s['default']().init()}},{key:'_onEditorLoad',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_loaded',function(){e.styleUpdater=new l['default'](BOLDGRID.EDITOR.Controls.$container).init(),e.popover={},e.popover.selection=!1,e.popover.content=new g['default']().init(),e.popover.column=new m['default']().init(),e.popover.row=new b['default']().init(),e.popover.section=new C['default']().init(),BOLDGRID.EDITOR.CONTROLS.Section.init(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_onEditorPreload',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_preload',function(){e.colorPalette=new i.Palette().init(),v.Controls.colorControl=v.CONTROLS.Color.init(),new d.Intro().init(),new c.Save().init(),new u.Lead().init(),new p.Advanced().init(),v.Service.customize=v.Service.customize||{},v.Service.customize.navigation=new h.Navigation().init()})}}]),e}();BOLDGRID.EDITOR.Service=new D().init()},"./assets/js/builder/style/remote.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.STYLE=BOLDGRID.EDITOR.STYLE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={getStyles:function(n){var r=function(e){a.siteMarkup=e,o.GRIDBLOCK.View.headMarkup=a.getHeadElements(e),o.$window.trigger('boldgrid_page_html',a.siteMarkup),o.$window.trigger('boldgrid_head_styles',a.headMarkup)};e.get(n).success(function(e){r(e)}).fail(function(e){r(e.responseText||'')})},getHeadElements:function(o){var a,n;return o=o.replace(/<body\b[^<]*(?:(?!<\/body>)<[^<]*)*<\/body>/,''),a=e('<div>').html(o),n='',a.find('link, style').each(function(){var o=e(this),a=this.outerHTML,r=o.prop('tagName');'LINK'===r&&'stylesheet'!==o.attr('rel')&&'boldgrid-custom-styles-css'!==o.attr('id')&&(a=''),n+=a}),n+=wp.template('gridblock-iframe-styles')(),n}};o.STYLE.Remote=a}(jQuery)},"./assets/js/builder/style/updater.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Updater',function(){return c}),a.d(o,'default',function(){return c});var s=a('./node_modules/@boldgrid/controls/src/controls/index.js'),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=jQuery,c=function(e){function o(){return n(this,o),r(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return l(o,e),i(o,[{key:'init',value:function(){return this.$input=d('#boldgrid-control-styles'),this.loadSavedConfig(BoldgridEditor.control_styles.configuration||[]),this.setup(),this.updateInput(),this}},{key:'updateInput',value:function(){this.$input.val(JSON.stringify(this.stylesState)),this.updateCachedCss()}},{key:'updateCachedCss',value:function(){this.cachedCss=this.getStylesheetCss()}},{key:'getCachedCss',value:function(){return this.cachedCss||(this.cachedCss=this.getStylesheetCss()),this.cachedCss}}]),o}(s.i)},"./assets/js/builder/tinymce/loading.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Loading',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){return n(this,e),this.failsafeTimeout=3e3,this.$element=l('.bg-editor-loading-main'),this}return r(e,[{key:'init',value:function(){return this._setupFailsafe(),this}},{key:'hide',value:function(){var e=this;this.$element.removeClass('active'),setTimeout(function(){e.$element.addClass('disabled')},500)}},{key:'show',value:function(){var e=this;this.$element.removeClass('disabled'),setTimeout(function(){e.$element.addClass('active')})}},{key:'_setupFailsafe',value:function(){var e=this;setTimeout(function(){e.hide()},this.failsafeTimeout)}}]),e}()},"./assets/js/builder/tinymce/width.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Width',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'init',value:function(){return this.$postContainer,this.$resizeiframe,this.resizable=!1,this.stylesheetWaitTime=500,this.updateIframeUrl(),this}},{key:'createIframe',value:function(){var e=l('<iframe id="resizer-iframe"></iframe>');return e.attr('width',window.innerWidth),e.attr('height',window.innerHeight),l('html').append(e),e}},{key:'_findPostContainer',value:function(){var e=this.$resizeiframe.contents(),o=e.find('body'),a=e.find('.post-'+BoldgridEditor.post_id+', article').first(),n=a.find('.entry-content'),r=e.find('.site-content'),l=a.find('.boldgrid-section:first');return l.length?o=l:n.length?o=n:a.length?o=a:r.length&&(o=r),o}},{key:'_postIframeProcess',value:function(){this.$postContainer=this._findPostContainer(),this.resizable=this.$postContainer.length&&this.$postContainer.width(),IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.resize_done_event(),s.$window.trigger('boldgrid_post_width',{width:this.$postContainer.width()}),s.Service.loading.hide()}},{key:'updateIframeUrl',value:function(e){var o=this;e=e||BoldgridEditor.site_url,BoldgridEditor.is_boldgrid_theme&&'post'!==BoldgridEditor.post_type||(!this.$resizeiframe&&(this.$resizeiframe=this.createIframe()),this._setIframeData(e).done(function(){o._postIframeProcess()}))}},{key:'_setIframeData',value:function(e){var o=l.Deferred();return this.$resizeiframe[0].src=e,this.$resizeiframe[0].onload=function(){o.resolve()},setTimeout(function(){o.resolve()},3e3),o}}]),e}()},"./assets/js/builder/tinymce/wp-mce-draggable.js":function(){var e=BOLDGRID.EDITOR;window.IMHWPB=IMHWPB||{},IMHWPB.WP_MCE_Draggable=function(){var o=this,a=jQuery;this.resize_selector='.mce-resizehandle',this.draggable_instance=!1;var n=a(window);this.draggable_inactive=!1,this.last_resize=null,this.phone_width_needed=620,this.tablet_width_needed=1250,this.desktop_width_needed=1270;var r=[];this.bind_window_resize=function(){var e=_.debounce(o.resize_done_event,300);n.on('resize',e)},this.highlight_screen_size=function(e){o.remove_icon_highlights(),a('.mce-boldgrid-'+e).addClass('boldgrid-highlighted-mce-icon')},this.remove_icon_highlights=function(){a('.mce-displaysize-imhwpb').removeClass('boldgrid-highlighted-mce-icon')};var l=a.Event('BoldGridPreInit');this.load_draggable=function(e){!1==o.draggable_instance&&(a(document).trigger(l,this),IMHWPB.WP_MCE_Draggable.draggable_instance=e.IMHWPB_Draggable({add_media_event_handler:o.add_media_action,insert_layout_event_handler:o.insert_layout_action,menu_items:r,main_container:!0},a).init(),o.draggable_instance=IMHWPB.WP_MCE_Draggable.draggable_instance),o.bind_events()},this.add_media_action=function(){o.insert_from_media_modal_tab('insert')},this.insert_from_media_modal_tab=function(e){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o.draggable_instance.$boldgrid_menu_action_clicked,0),wp.media.editor.open(),wp.media.frame.setState(e)},this.insert_layout_action=function(){e.CONTROLS.Section.enableSectionDrag()},this.set_button_cursor=function(n){if(n.clientX){var e=a(this),r=o.draggable_instance.$master_container.find('button:not([data-mce-bogus])').not(e);o.replace_all_buttons(r),BOLDGRID.EDITOR.mce.selection.setCursorLocation(this,1)}},this.replace_all_buttons=function(e){e.each(function(){var e=this.outerHTML;a(this).replaceWith(e)})},this.bind_events=function(){o.draggable_instance.$master_container.on('mousedown.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('mouseup.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('add_column_dwpb.draggable_mce',o.add_column_done).on('drag_start_dwpb.draggable_mce',o.drag_start).on('delete_dwpb.draggable_mce',o.add_history).on('boldgrid_clone_element',o.add_history).on('drag_end_dwpb.draggable_mce',o.drag_end_event).on('add_row_event_dwpb.draggable_mce',o.set_cursor).on('boldgrid_edit_row.draggable_mce',o.edit_row).on('click.draggable_mce','button:not([data-mce-bogus])',o.set_button_cursor).on('click.draggable_mce','a',function(o){o.preventDefault()}).on('resize_start_dwpb.draggable_mce',o.prevent_edit).on('resize_done_dwpb.draggable_mce',o.column_resize_done),o.draggable_instance.$master_container.textSelect(o.text_select_start,o.text_select_end)},this.add_history=function(){o.add_tiny_mce_history()},this.drag_start=function(){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.selection.collapse(!1),o.end_undo_level_mce(),o.draggable_instance.$master_container.find('html').addClass('drag-progress')},this.text_select_start=function(){o.draggable_instance.$master_container.find('html').addClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_start')},this.text_select_end=function(){o.draggable_instance.$master_container.find('html').removeClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_end')},this.set_cursor=function(e,o){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o,0)},this.prevent_edit=function(){BOLDGRID.EDITOR.mce.selection.collapse(!1),o.draggable_instance.ie_version||BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1)},this.end_undo_level_mce=function(){IMHWPB.tinymce_undo_disabled=!0},this.drag_end_event=function(e,a){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),IMHWPB.tinymce_undo_disabled=!1,o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),o.draggable_instance.$master_container.find('html').removeClass('drag-progress'),tinymce&&BOLDGRID.EDITOR.mce.selection&&a&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(a,0)},this.column_resize_done=function(){var e;if(!o.draggable_instance.ie_version){BOLDGRID.EDITOR.mce.getBody().blur(),BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0);var e=a('<a>temp</a>');a(BOLDGRID.EDITOR.mce.getBody()).append(e),BOLDGRID.EDITOR.mce.selection.setCursorLocation(e[0],0),e.focus(),e.remove()}n.trigger('resize')},this.add_column_done=function(e,a){o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),BOLDGRID.EDITOR.mce.selection.setCursorLocation(a,0)},this.add_tiny_mce_history=function(){BOLDGRID.EDITOR.mce.execCommand('mceAddUndoLevel')},this.initialize_gallery_objects=function(e){'undefined'!=typeof IMHWPBGallery&&'undefined'!=typeof IMHWPBGallery.init_gallery&&(e.find('.masonry').removeClass('masonry'),IMHWPBGallery.init_gallery(e))},this.boldgrid_tool_click=function(){o.remove_mce_resize_handles(),o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.selection.select(BOLDGRID.EDITOR.mce.getBody(),!0),BOLDGRID.EDITOR.mce.selection.collapse(!1))},this.remove_mce_resize_handles=function(){o.draggable_instance.$master_container.find('[data-mce-selected]').removeAttr('data-mce-selected'),o.draggable_instance.$master_container.find('.mce-resizehandle').remove(),a('.mce-wp-image-toolbar').hide(),o.draggable_instance.$master_container.find(o.resize_selector).hide()},this.addDeactivateClasses=function(){a('html').addClass('draggable-inactive'),a(BOLDGRID.EDITOR.mce.iframeElement).contents().find('html').addClass('draggable-inactive')},this.resize_done_event=function(){o.updateScreenLayout(),o.updateResizingIframe(),o.update_device_highlighting(),o.$window.trigger('resize.boldgrid-gallery')},this.updateResizingIframe=function(){e.Service.editorWidth.resizable&&(e.Service.editorWidth.$resizeiframe.attr('width',e.Controls.$container.$html.width()),e.Controls.$container.$body.css('width',e.Service.editorWidth.$postContainer.width()))},this.updateScreenLayout=function(){IMHWPB.Editor.instance.currently_selected_size?'monitor'==IMHWPB.Editor.instance.currently_selected_size?1470<window.innerWidth?s():1355<window.innerWidth?i():d():'tablet'==IMHWPB.Editor.instance.currently_selected_size?1250<window.innerWidth?s():1134<window.innerWidth?i():d():'phone'==IMHWPB.Editor.instance.currently_selected_size&&s():1470<window.innerWidth?s():1355<window.innerWidth?i():1041<window.innerWidth?d():1040>=window.innerWidth&&o.set_num_columns(2)};var s=function(){o.set_num_columns(2),o.$body.removeClass('folded'),o.$window.trigger('scroll')},i=function(){o.set_num_columns(2),o.$body.addClass('folded'),o.$window.trigger('scroll')},d=function(){o.set_num_columns(1),o.$body.addClass('folded'),o.$window.trigger('scroll')};this.set_num_columns=function(e){1==e?o.$post_body.addClass('columns-1').removeClass('columns-2'):o.$post_body.addClass('columns-2').removeClass('columns-1')},this.update_device_highlighting=function(){if(e.Controls.$container.$iframe&&!o.draggable_inactive){var a=e.Controls.$container.$iframe.width();1061<a?o.highlight_screen_size('desktop'):837<a?o.highlight_screen_size('tablet'):o.highlight_screen_size('phone')}},this.bind_collapse_click=function(){a('#collapse-menu').on('click',function(){!IMHWPB.Editor.instance.currently_selected_size&&1355<window.innerWidth&&1470>window.innerWidth&&(o.$body.hasClass('folded')?(o.set_num_columns(2),o.$window.trigger('scroll')):(o.set_num_columns(1),o.$window.trigger('scroll'))),o.update_device_highlighting()})},this.bind_column_switch=function(){a('[name="screen_columns"]').on('click',function(){o.update_device_highlighting()})},this.add_menu_item=function(e,o,a){r.push({title:e,element_type:o,callback:a})},this.edit_row=function(e,o){var n=a(o).find('p, a');n.length&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(n[0],0)},this.bind_min_max_controls=function(){var e=a('#max-row-overlay'),n=a('#min-row-overlay');e.on('click',function(){o.$resize_div.animate({height:'1000px'},1e3)}),n.on('click',function(){o.$resize_div.animate({height:'0px'},1e3)})},this.create_resize_handle=function(){var e=a('.temp-overlay');o.$resize_div.resizable({handles:{n:a('.resizable-n')},start:function(){e.addClass('active')},stop:function(){e.removeClass('active')}}).bind('resize',function(){a(this).css('top','auto')}).removeClass('ui-resizable')},a(function(){o.$window=a(window),o.$body=a('body'),o.$post_body=a('#post-body'),o.$editor_content_container=a('#poststuff'),o.$overlay_preview=a('#boldgrid-overlay-preview'),o.$resize_div=a('#resizable'),o.bind_column_switch(),o.bind_window_resize(),o.bind_collapse_click(),o.bind_min_max_controls(),o.create_resize_handle(),o.$window.trigger('resize')})}},"./assets/js/builder/tooltips.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Tooltip={template:wp.template('boldgrid-editor-tooltip'),renderTooltips:function(){a._configTooltips(),a._inlineTooltips()},addTooltip:function(e,o){!1===e.children().first().hasClass('boldgrid-tooltip-wrap')&&e.prepend(a.template({message:o}))},_inlineTooltips:function(){o.Panel.$element.find('[data-tooltip-inline]').each(function(o,n){var r=e(n);a.addTooltip(r,r.data('tooltip-inline'))})},_configTooltips:function(){_.each(BoldgridEditor.builder_config.helpTooltip,function(n,r){o.Panel.$element.add(BOLDGRID.EDITOR.CONTROLS.Color.$colorPanel).find(r).each(function(){a.addTooltip(e(this),n)})})}},a=BOLDGRID.EDITOR.Tooltip}(jQuery)},"./assets/js/builder/util.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.Util={convertPxToEm:function(e,o){var a=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(a=(e/o).toFixed(1)),a},getClassesLike:function(o,a){var n=o.attr('class'),r=[],l=[];return r=n?n.split(' '):[],e.each(r,function(){0===this.indexOf(a)&&l.push(this)}),l},getComponentClasses:function(o,n){var r=e('<div>').attr('class',o),l=a.getClassesLike(r,n);return r.remove(),l},removeComponentClasses:function(e,o){var a=new RegExp('(^|\\s)'+o+'\\S+','g');e.removeClass(function(e,o){return(o.match(a)||[]).join(' ')})},checkBrowser:function(){var e=navigator.userAgent.search('Chrome'),o=navigator.userAgent.search('Firefox'),a=navigator.userAgent.search('MSIE 8.0'),n=navigator.userAgent.search('MSIE 9.0'),r;return-1<e?r='Chrome':-1<o?r='Firefox':-1<n?r='MSIE 9.0':-1<a&&(r='MSIE 8.0'),r}},a=BOLDGRID.EDITOR.Util}(jQuery)},"./assets/js/builder/validation/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.VALIDATION=BOLDGRID.EDITOR.VALIDATION||{},function(e){'use strict';BOLDGRID.EDITOR.VALIDATION.Section={};var o=BOLDGRID.EDITOR.VALIDATION.Section;e.fn.closestContext=function(e,o){var a;return a=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),a};var a='container',n='boldgrid-section',r='<div class="'+n+'"></div>',l='<div class="'+a+'"></div>',s=function(){var n=[],r;r=function(){e(n).wrapAll('<div class="'+a+'"><div class="row"><div class="col-md-12">'),n=[]},o.$context.find('> *').each(function(){var o=e(this);o.is('h1,h2,h3,h4,h5,h6,h7,a,img,p,button,ul,ol,dl,form,table,[data-imhwpb-draggable="true"],.wpview-wrap,.wpview,blockquote,code,abbr')?n.push(this):r()}),r()};o.updateContent=function(e){a=BoldgridEditor.default_container||'container-fluid',l='<div class="'+a+'"></div>',o.$context=e,s(),d(),p(),c(),i()},o.updateContainers=function(o){o.find(' .container, .container-fluid').each(function(){e(this).removeClass('container container-fluid').addClass(BoldgridEditor.default_container)})};var i=function(){o.$context.find('.boldgrid-section > .container-fluid').each(function(){var o=e(this),a=o.attr('class').replace('container-fluid','');o.attr('class','container-fluid'),o.parent().addClass(a)})},d=function(){o.$context.find('.container').each(function(){var a=e(this),r=a.parent();r.length&&r[0]!==o.$context[0]&&!1===r.hasClass(n)&&r.addClass(n)})},c=function(){o.$context.find('.row:not(.row .row)').each(function(){var a=e(this),s=a.parent();a.closestContext('.container, .container-fluid',o.$context).length||a.wrap(l),a.closestContext('.boldgrid-section',o.$context).length||(s.length&&s[0]!==o.$context[0]?s.addClass(n):a.parent().wrap(r))})},p=function(){o.$context.find('.container, .container-fluid').each(function(){var o=e(this);o.parent('.boldgrid-section').length||!1!==o.hasClass(n)||o.wrap(r)})}}(jQuery)},"./assets/js/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/istyping/jquery.is-typing.js'),r=a.n(n),l=a('./node_modules/fourpan/jquery.fourpan.js'),s=a.n(l),i=a('./node_modules/textselect/jquery.text-select.js'),d=a.n(i),c=a('./node_modules/jquery-slimscroll/jquery.slimscroll.js'),p=a.n(c),u=a('./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js'),g=a.n(u),m=a('./node_modules/jquery-ui-dist/jquery-ui.structure.css'),b=a.n(m),C=a('./node_modules/jquery-ui-dist/jquery-ui.theme.css'),h=a.n(C),f=a('./assets/css/font-family-controls.min.css'),v=a.n(f),D=a('./assets/js/builder/tinymce/wp-mce-draggable.js'),y=a.n(D),E=a('./assets/js/builder/util.js'),F=a.n(E),w=jQuery;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR.$window=w(window),function(e){e.keys().forEach(e)}(a('./assets/js/builder recursive \\.js$'))},"./includes/template/customize/background-color.html":function(e){e.exports='<div class="color-controls section generic-bg-color"> <h4>Background Color</h4> <label for=generic-bg-color class=color-preview></label> <input type=text data-type="" name=generic-bg-color class=color-control value=""> </div> '},"./includes/template/customize/color.html":function(e){e.exports='<div class="color-controls section <%=name %>"> <h4><%=label %></h4> <label for="<%=name %>" class=color-preview></label> <input type=text data-type="" name="<%=name %>" class=color-control value=""> </div> '},"./includes/template/customize/navigation.html":function(e){e.exports='<div class=customize-navigation> <% _.each( controls, function ( control, index ) { %> <div class=item data-tooltip-inline="<%=control.label %>" data-control-name="<%=control.name %>"> <a href=#><%=control.icon %></a> </div> <% } ); %> </div> '},"./includes/template/gridblock-library.html":function(e){e.exports='<div class=save-gridblock> <div class="save-prompt save-state"> <h2>Save Block to Your Library</h2> <h4>Any designs you save can be reused on any page or website.</h4> <form> <input required type=text placeholder="Enter title here"> <button class="bg-editor-button bg-primary-color btn btn-rounded save">Save</button> </form> </div> <div class="save-failed save-state"> <h2>Oops! An error occured.</h2> <h4>We were unable to add the Block to you library. Please try again later.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> <div class="save-success save-state"> <h2>Block Saved!</h2> <h4>Your Block can be found in the admin area under Post and Page Builder, and will also be available in "Block Library" within the Add Blocks interface.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> </div> '},"./includes/template/gridblock/lead.html":function(e){e.exports='<div class=editing-blocker> <div class=gridblock-lead> <p>Get Started with a Block</p> <p class=desc>Adding a Block will help you create your new page faster.</p> <div class=actions> <a class="button add-blank">Blank Page</a> <a class="boldgrid-color button button-primary gridblock-icon add-gridblock"><span class=wp-media-buttons-icon></span> Add Block</a> </div> </div> </div> '},"./includes/template/intro.html":function(e,o,a){e.exports='<div class=setup> <div data-step=welcome class="step active welcome" data-panel-width=600 data-panel-info="Step 1/3"> <img src='+a('./assets/image/notice/plugin-icon-editor.png')+'> <div class=step-content> <h2>Welcome to the Page & Post Editor</h2> <p class=lead> In order to optimize your experience, let\'s setup your plugin with some preferences. If you choose to skip the setup we\'ll set default options that you can easily modify later. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-secondary-color dismiss">Skip Setup</a> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=choose-template>Okay, Let\'s Go!</a> </p> </div> </div> <div data-step=choose-template data-panel-info="Step 2/3" class="step choose-template" data-panel-width=350 data-panel-height=550 data-panel-title="Post and Page Builder - Templates"> <h3>Choose your default template:</h3> <p class=lead>The Post and Page Builder includes 3 custom page templates provide more layout control. Choose your default page template to use on new pages.</p> <div class=template-control> <span class=radio> <span class=label>Full Width (Recommended)</span> <input class="template sidebar none" type=radio name=template checked=checked value=fullwidth> </span> <span class=radio> <span class=label>Right Sidebar</span> <input class="template sidebar right" type=radio name=template value=right-sidebar> </span> <span class=radio> <span class=label>Left Sidebar</span> <input class="template sidebar left" type=radio name=template value=left-sidebar> </span> <span class=radio> <span class=label>Theme Default</span> <input class="template default" type=radio name=template value=default> </span> </div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=done>Next Step</a> </p> </div> <div data-step=choose-color-palette data-panel-info="Step 2/3" data-panel-width=400 data-panel-height=675 class=step data-panel-title="Post and Page Builder - Colors"> <div class=choose-palette></div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" disabled=disabled data-action-step=done>Next Step</a> </p> </div> <div class="done step" data-step=done data-panel-info="Step 3/3" data-panel-height=250 data-panel-width=525 data-panel-title="Post and Page Builder - Help"> <h2>Your done!</h2> <p> For help exploring the many features of this plugin please visit our support site: <a class=support-link target=_blank href="https://www.boldgrid.com/support/editing-your-pages/wordpress-page-post-editor/?source=boldgrid-editor_setup">BoldGrid Page & Post Editor</a>. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color dismiss">Okay, Got It!</a> </p> </div> </div> '},"./includes/template/popover/column.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb style=top:82px;left:754.5px> <span class="popover-imhwpb top-popover-imhwpb column-popover-imhwpb"> <div title="Drag Column" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Column</li> <li class="no-select-imhwpb action-list" data-action=duplicate-column>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=add-media>Insert Media</li> <li class="no-select-imhwpb action-list side-menu-parent" data-action=vertical-alignment>Vertical Alignment</li> <div class=side-menu> <ul> <li class="no-select-imhwpb action-list" data-action=align-default>Default</li> <li class="no-select-imhwpb action-list" data-action=align-top>Top</li> <li class="no-select-imhwpb action-list" data-action=align-center>Center</li> <li class="no-select-imhwpb action-list" data-action=align-bottom>Bottom</li> </ul> </div> <li class="no-select-imhwpb action-list" data-action=Box>Background</li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'column\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% } ); %> </ul> </div> <div title="Edit Column" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/content.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <div class="bg-drag-popover content-drag-handle"> <span class="popover-imhwpb content-popover-imhwpb left-popover-imhwpb"> <div title=Move contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Content</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=Font>Font</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\t\tif ( \'content\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Content" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> <div title="Edit As Row" class="edit-as-row draggable-button"> <span class="genericon genericon-expand" aria-hidden=true></span></div> </span> </div> </div> '},"./includes/template/popover/row.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <span class="popover-imhwpb row-popover-imhwpb right-popover-imhwpb"> <div title="Drag Row" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Row</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=insert-layout>Insert Block</li> <li class="no-select-imhwpb action-list" data-action=add-column>Add Column</li> <li class="no-select-imhwpb action-list" data-action=add-row>Add Empty Row</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <li class="no-select-imhwpb action-list" draggable=true data-action=nest-row></li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'row\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Row" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/section.html":function(e){e.exports='<div class="bg-drag-popover section-drag-handle draggable-tools-imhwpb" spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on> <span class="popover-imhwpb section-popover-imhwpb bottom-popover-imhwpb"> <div title="Drag Sections" contenteditable=false class="move-sections no-select-imhwpb draggable-button"> <span class="genericon genericon-unzoom" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Section</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=section-width>Section Width</li> <li class="no-select-imhwpb action-list" data-action=move-up>Move Up</li> <li class="no-select-imhwpb action-list" data-action=move-down>Move Down</li> <li class="no-select-imhwpb action-list" data-action=add-new>Add Empty Section</li> <li class="no-select-imhwpb action-list" data-action=save-gridblock>Save Block</li> <li class="no-select-imhwpb action-list" data-action=background>Change Background</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\tif ( \'section\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Section" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> </span> </div> '},"./node_modules/@boldgrid/controls/src/controls/border-radius/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return p});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},p=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Border Radius',name:'border-radius',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top-left',label:'Top Left',cssProperty:'border-top-left-radius'},{name:'top-right',label:'Top Right',cssProperty:'border-top-right-radius'},{name:'bottom-right',label:'Bottom Right',cssProperty:'border-bottom-right-radius'},{name:'bottom-left',label:'Bottom Left',cssProperty:'border-bottom-left-radius'}]},slider:{px:{min:0,max:50,step:1},em:{step:0.1,min:0,max:5},"%":{min:0,max:50,step:1}}},a}return l(o,e),d(o,[{key:'convertToSelectedUnit',value:function(e){var a,n;return-1!==e.indexOf('%')&&(e=parseInt(e),e=new i.a().percentageToPixel(e,this.$target)),'%'===this.selectedUnit?(n=parseInt(e),a=new i.a().pxToPercentage(n,this.$target)):a=c(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'convertToSelectedUnit',this).call(this,e),a}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/border-radius/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/border-radius/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/border/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return b});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/border/template.html'),d=a.n(i),c=a('./node_modules/@boldgrid/controls/src/controls/border/style.scss'),p=a.n(c),u=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),g=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},m=window.jQuery,b=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Border Width',name:'border-width',units:{default:'px',enabled:['px','em']}},slider:{px:{step:0.1,min:0,max:15},em:{min:0,max:5,step:0.1}}},a.borderDirections=['left','top','right','bottom'],a}return l(o,e),u(o,[{key:'render',value:function(){var e;return g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this.$typeControl=m(d.a),this.bindEvents(),e=this.$typeControl.append(this.$control),e}},{key:'bindEvents',value:function(){this._bindTypeChange(),this.refreshValues(),this._setType()}},{key:'_setType',value:function(){var e=this._getBorderStyle();return e='none'===e?'':e,this.$typeControl.find('.border-type-control input').filter('[value="'+e+'"]').prop('checked',!0)}},{key:'_getBorderStyle',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.borderDirections[Symbol.iterator](),l;!(o=(l=r.next()).done);o=!0){var s=l.value,i=this.$target.css('border-'+s+'-style');if('none'!==i){e=i;break}}}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'refreshValues',value:function(){var e;g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),e=this._setType(),this._toggleWidthControl(e.val())}},{key:'_toggleWidthControl',value:function(e){e?this.$control.show():this.$control.hide()}},{key:'_bindTypeChange',value:function(){var o=this;this.$typeControl.find('input').on('change',function(a){var e=m(a.target),n=e.val();o.applyCssRules({"border-style":n}),o._toggleWidthControl(n),o.$control.trigger('type-change',n)})}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/border/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/border/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/border/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/border/template.html":function(e){e.exports='<div class="boldgrid-control border-control"> <div class=border-type-control> <h4 class=control-title>Border Type</h4> <ul> <li><label><input type=radio name=border-type checked=checked value="">None</label></li> <li><label><input type=radio name=border-type value=dashed>Dashed</label></li> <li><label><input type=radio name=border-type value=double>Double</label></li> <li><label><input type=radio name=border-type value=solid>Solid</label></li> <li><label><input type=radio name=border-type value=dotted>Dotted</label></li> </ul> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js":function(e,o){'use strict';o.a={controlOptions:{control:{title:'Box Shadow',name:'box-shadow',linkable:!1,units:{default:'px',enabled:['px']},sliders:[{name:'horizontal-position',label:'Horizontal Position',cssProperty:'border-top-left-radius'},{name:'vertical-position',label:'Vertical Position',cssProperty:'border-top-right-radius'},{name:'blur-radius',label:'Blur Radius',cssProperty:'border-bottom-right-radius'},{name:'spread-radius',label:'Spread Radius',cssProperty:'border-bottom-right-radius'}]},slider:{px:{min:-200,max:200},em:{min:0.1,max:5}}},sliderConfig:{"horizontal-position":{min:-50,max:50},"vertical-position":{min:-50,max:50},"blur-radius":{min:0,max:100},"spread-radius":{min:-25,max:25}}}},"./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return C});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/switch/index.js'),d=a('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),c=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js'),p=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js'),u=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss'),g=a.n(u),m=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),b=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},C=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.parser=new c.a,a.slidersLinked=!1,a.controlOptions=p.a.controlOptions,a.sliderConfig=p.a.sliderConfig,a.currentValues=a.getCurrentValues(),a.shadowType=a.currentValues.inset?'inset':'',a.shadowColor=a.getShadowColor(),a.switchControl=new i.a({name:'box-shadow-outline',label:'Outline / Inset'}),a.colorPicker=new d.a,a}return l(o,e),m(o,[{key:'getShadowColor',value:function(){return this.currentValues.color||'#cecece'}},{key:'getSliderConfig',value:function(e){return this.currentValues=this.getCurrentValues(),this.currentValues&&(this.sliderConfig[e.name].value=this.currentValues[e.name]),this.sliderConfig[e.name]}},{key:'getCurrentValues',value:function(){return this.parser.parse(this.$target.css('box-shadow'))}},{key:'render',value:function(){var e;return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this._setupOutlineSwitch(),this._setupColorPicker(),e=this.$control.add(this.switchControl.$element),e=e.add(this.colorPicker.$element),e}},{key:'refreshValues',value:function(){var e;b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),this.updateCheckedSetting(),this.updateShadowType(),e=this.colorPicker.$input.iris('option','change'),this.colorPicker.$input.iris('option','change',function(){}),this.colorPicker.$input.iris('color',this.getShadowColor()),this.colorPicker.$input.iris('option','change',e)}},{key:'_updateCss',value:function(){var e=this.getValues(),o=this.controlOptions.control.name,a=[];a.push(this.shadowType),a.push(e['horizontal-position']+this.selectedUnit),a.push(e['vertical-position']+this.selectedUnit),a.push(e['blur-radius']+this.selectedUnit),a.push(e['spread-radius']+this.selectedUnit),a.push(this.shadowColor),a=a.join(' '),this.applyCssRules({"box-shadow":a})}},{key:'_setupColorPicker',value:function(){var o=this,e=_.defaults(this.options.colorPicker||{},{defaultColor:this.shadowColor,hide:!1,change:function(){}});this.colorPicker.init(!1,e),this.colorPicker.$input.iris('option','change',function(a,e){o.shadowColor=e.color.toString(),o._updateCss()})}},{key:'updateCheckedSetting',value:function(){this.switchControl.$input.prop('checked',this.currentValues.inset)}},{key:'updateShadowType',value:function(){this.shadowType=this.switchControl.isEnabled()?'inset':''}},{key:'_setupOutlineSwitch',value:function(){var e=this;this.switchControl.render(),this.updateCheckedSetting(),this.switchControl.$input.on('change',function(){e.updateShadowType(),e._updateCss()})}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e),this.regex=/(-?\d+px)|(rgb\(.+\))/g,this.propertyOrder=['horizontal-position','vertical-position','blur-radius','spread-radius'],this.default={inset:!1,"horizontal-position":0,"vertical-position":0,"blur-radius":0,"spread-radius":0,color:!1}}return r(e,[{key:'parse',value:function(e){var o=this.default,a=e.match(this.regex),n=0;if(o.inset=-1!==e.indexOf('inset'),!a||2>=a.length)return!1;var r=!0,l=!1,s;try{for(var i=a[Symbol.iterator](),d,c;!(r=(d=i.next()).done);r=!0)c=d.value,-1===c.indexOf('rgb')?'inset'===c?o.inset=!0:-1!==c.indexOf('px')&&(o[this.propertyOrder[n]]=parseInt(c),n++):o.color=c}catch(e){l=!0,s=e}finally{try{!r&&i.return&&i.return()}finally{if(l)throw s}}return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color-picker/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/color-js/color.js'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(){n(this,e)}return d(e,[{key:'init',value:function(e,o){return this.options=_.defaults(o||{},{clear:!1,width:255,mode:'hsv',type:'full',slider:'horizontal',hide:!0,defaultColor:!1,palettes:!0,secondaryPalette:[]}),this.$element=e||c('<div data-value="'+this.options.defaultColor+'"></div>'),this.$input=this.createColorInput(),this.setupIris(),o.hide&&this.setupAutoCollapse(),this}},{key:'setupAutoCollapse',value:function(){var e=this;c('body').on('click',function(){e.hide(),e.$element.addClass()}),this.$element.on('click',function(o){return o.stopPropagation()})}},{key:'hide',value:function(){c.contains(document,this.$input[0])&&(this.$element.hide(),this.$element.attr('data-state','hidden'),this.$input.iris('hide'))}},{key:'show',value:function(){this.$element.show(),this.$element.attr('data-state','visible'),this.$input.iris('show')}},{key:'setupIris',value:function(){this.$input.iris(this.options),this.createPickerPalettes(),this.bindCustomPalettes()}},{key:'createColorInput',value:function(){var e=this.$element.attr('data-value'),o=c('<input type="text" data-alpha="true" class="pluto-color-control color-control-input"/>');return o.val(e).change(),this.$element.html(o),o.wrapAll('<div class="custom-input bg-color-picker-control boldgrid-control"></div>'),o}},{key:'createPickerPalettes',value:function(){for(var e=c('<div class="secondary-colors"></div>'),o=0;o<this.options.secondaryPalette.length;o++)e.append('<a class="iris-palette" tabindex="0"></a>');e.prependTo(this.$element.find('.iris-picker-inner')),this.$input.iris('option','width',this.options.width)}},{key:'bindCustomPalettes',value:function(){var o=this;this.$element.find('.secondary-colors .iris-palette').on('click',function(a){o.setColor(c(a.target).css('background-color'))})}},{key:'setColor',value:function(e){var o=l()(e);this.$input.iris('color',o.toString())}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js":function(e,o){'use strict';o.a=[['#DB3E3E','#030000','#E97070','#6E0E0E','#FEBCA3'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FA6900','#F38630','#E0E4CC','#A7DBD8','#69D2E7'],['#FC9D9A','#F9CDAD','#C8C8A9','#83AF9B','#FE4365'],['#D95B43','#ECD078','#53777A','#542437','#C02942'],['#FF6B6B','#C7F464','#4ECDC4','#556270','#C44D58'],['#E08E79','#774F38','#F1D4AF','#ECE5CE','#C5E0DC'],['#E8DDCB','#CDB380','#036564','#033649','#031634'],['#E97F02','#F8CA00','#8A9B0F','#490A3D','#BD1550'],['#594F4F','#E5FCC2','#9DE0AD','#45ADA8','#547980'],['#EB6841','#6A4A3C','#EDC951','#00A0B0','#CC333F'],['#C6A49A','#F4EAD5','#C6E5D9','#E94E77','#D68189'],['#7A6A53','#D9CEB2','#948C75','#D5DED9','#99B2B7'],['#FF9E9D','#DAD8A7','#7FC7AF','#3FB8AF','#FF3D7F'],['#FFFFFF','#1C140D','#F2E9E1','#CBE86B','#CBE86B'],['#DCE9BE','#EFFFCD','#2E2633','#99173C','#555152'],['#343838','#005F6B','#008C9E','#00DFFC','#00B4CC'],['#F0B49E','#F7E4BE','#413E4A','#73626E','#B38184'],['#FF847C','#FECEA8','#99B898','#2A363B','#E84A5F'],['#FC913A','#F9D423','#EDE574','#E1F5C4','#FF4E50'],['#554236','#F77825','#D3CE3D','#F1EFA5','#60B99A'],['#E8CAA4','#64908A','#424254','#351330','#CC2A41'],['#F9F2E7','#8FBE00','#AEE239','#40C0CB','#00A8C6'],['#BF4D28','#655643','#E6AC27','#F6F7BD','#80BCA3'],['#FF4242','#F4FAD2','#D4EE5E','#E1EDB9','#F0F2EB'],['#8C2318','#F2C45A','#BFB35A','#88A65E','#5E8C6A'],['#F5634A','#FF9C5B','#FAD089','#3B8183','#ED303C'],['#FFFFFF','#000000','#D1E751','#4DBCE9','#26ADE4'],['#F27435','#CFBE27','#BCBDAC','#3B2D38','#F02475'],['#424242','#E9E9E9','#BCBCBC','#FF9900','#3299BB'],['#EBE3AA','#CAD7B2','#A8CABA','#838689','#5D4157'],['#5E412F','#F07818','#F0A830','#FCEBB6','#78C0A8'],['#F8B195','#355C7D','#6C5B7B','#C06C84','#F67280'],['#BEF202','#88C425','#EAFDE6','#519548','#1B676B'],['#C5BC8E','#EEE6AB','#696758','#36393B','#45484B'],['#E4844A','#E8BF56','#E2F7CE','#91204D','#452632'],['#FF823A','#FFF7BD','#F2F26F','#95CFB7','#F04155'],['#FA2A00','#3D1C00','#F0D8A8','#F2D694','#86B8B1'],['#A0C55F','#7AB317','#0D6759','#0B2E59','#2A044A'],['#CCBF82','#B8AF03','#67917A','#170409','#E33258'],['#7B3B3B','#493736','#B9D7D9','#668284','#2A2829'],['#EEAA88','#EEC290','#EEDD99','#CCC68D','#BBBB88'],['#F85931','#EDB92E','#A3A948','#009989','#CE1836'],['#E8D5B9','#E8D5B7','#F5B349','#0E2430','#FC3A51'],['#EF746F','#FFBE40','#ECF081','#B3CC57','#AB3E5B'],['#BCA297','#F0E2A4','#F4EBC3','#C5CEAE','#AB526B'],['#604848','#F0F0D8','#C0D860','#789048','#607848'],['#5A2E2E','#DFBA69','#FFFEDF','#3E4147','#2A2C31'],['#C04848','#F07241','#300030','#480048','#601848'],['#E8CAAF','#EEE0B7','#EBEFC9','#C4CBB7','#AAB3AB'],['#FFAAA6','#FFD3B5','#DCEDC2','#A8E6CE','#FF8C94'],['#D3643B','#403B33','#EDEBE6','#D6E1C7','#94C7B6'],['#D14334','#FFEAAD','#B3E099','#028F76','#1C2130'],['#987F69','#E3AD40','#FDF1CC','#FCD036','#C6D6B8'],['#29221F','#FCF7C5','#0ABFBC','#13747D','#FC354C'],['#E6781E','#C8CF02','#F8FCC1','#1693A7','#CC0C39'],['#E6F9BC','#BCDEA5','#83988E','#574951','#3A111C'],['#F88F79','#F6AA93','#B28774','#B9D3B0','#81BDA4'],['#EBEBBC','#BCE3C5','#82B3AE','#230F2B','#F21D41'],['#5E3929','#CD8C52','#FCF7D3','#DEE8BE','#B7D1A3'],['#E15E32','#E5F04C','#C0D23E','#5C323E','#A82743'],['#DAD6CA','#1BB0CE','#4F8699','#6A5E72','#563444'],['#C6A9A3','#EBD8B7','#99BBAD','#5B527F','#9A8194'],['#DC5B3E','#CCFC8E','#8EBE94','#4E395D','#827085'],['#FEDCBA','#ECDBBC','#DADABD','#C8D9BF','#B6D8C0'],['#EB7B59','#E5DDCB','#A7C5BD','#524656','#CF4647'],['#FEA6A2','#F9D6AC','#988864','#FFE9AF','#8DCCAD'],['#C21A01','#F03C02','#1C0113','#A30006','#6B0103'],['#E5625C','#F9BF76','#8EB2C5','#615375','#D1313D'],['#9D7E79','#CCAC95','#9A947C','#748B83','#5B756C'],['#C2412D','#D1AA34','#A7A844','#5A1E4A','#A46583'],['#CFFFDD','#B4DEC1','#5C5863','#A85163','#FF1F4C'],['#A8A7A7','#474747','#363636','#E8175D','#CC527A'],['#E3DFBA','#C8D6BF','#1A1F1E','#93CCC6','#6CBDB5'],['#FFEAF2','#FBC5D8','#FCD9E5','#382F32','#F1396D'],['#605951','#C1B398','#FBEEC2','#ACCEC0','#61A6AB'],['#413D3D','#C8FF00','#040004','#FA023C','#4B000F'],['#F56218','#FF9D2E','#FFFEC7','#919167','#9DC9AC'],['#A5A36C','#F5F4D7','#535233','#E0DFB1','#951F2B'],['#D34017','#F8F3BF','#DCE4F7','#BFCFF7','#75616B'],['#F87E7B','#FAB87F','#DCD1B4','#5E9FA3','#B05574'],['#F54828','#F7803C','#F8E4C1','#FFEDBF','#2E0D23'],['#412E28','#D1C089','#151101','#EDF6EE','#B3204D'],['#000000','#CCCCCC','#292C37','#B11623','#9F111B'],['#FFFBB7','#A6F6AF','#66B6AB','#5B7C8D','#4F2958'],['#EFF3CD','#B2D5BA','#61ADA0','#248F8D','#605063'],['#F8A13F','#E8F9A2','#A5AAD9','#7E5686','#BA3C3D'],['#4E3F30','#F8F4E4','#FEFEEB','#A5B3AA','#0CA5B0'],['#633D2E','#F7AF63','#DDD9AB','#BFD8AD','#9CDDC8'],['#353432','#4E4D4A','#94BA65','#2790B0','#2B4E72'],['#FAFBE3','#CDCFB7','#FCFEF5','#D6E6C3','#E9FFE1'],['#4D3B3B','#DE6262','#FFD0B3','#F5E0D3','#FFB88C'],['#AC2005','#2C1507','#BB8138','#ECCF8D','#84B295'],['#2D2D29','#92C7A3','#DFECE6','#3CA2A2','#215A6D'],['#F38A8A','#55443D','#F1EDD0','#CDE9CA','#A0CAB5'],['#FB6B41','#F6D86B','#339194','#A70267','#F10C49'],['#D88A8A','#F8EDD1','#9D9D93','#474843','#C5CFC6'],['#403831','#30261C','#36544F','#1F5F61','#0B8185'],['#FF9C97','#EEE9E5','#FAD3B2','#FFBA7F','#FFE181'],['#ECBE13','#93A42A','#2FB8AC','#309292','#046D8B'],['#1F1C0D','#BBB749','#E0FBAC','#78AE62','#379F7A'],['#E0E0E0','#82837E','#BDEB07','#94B053','#BFFA37'],['#8B7A5E','#FFEFD3','#FFFEE4','#9FD6D2','#D0ECEA'],['#E86E1C','#ECBA09','#B5AC01','#1B1521','#D41E45'],['#FF8A00','#FABE28','#88C100','#00C176','#FF003C'],['#86C28B','#859987','#77B885','#6DA67A','#4A4857'],['#A38A5F','#D1C5A5','#8C873E','#793A57','#4D3339'],['#BBB2A1','#A79B83','#8A7E66','#ADC0B4','#BED6C7'],['#D9D9D9','#C4FFEB','#312736','#D4838F','#D6ABB1'],['#FFA566','#395A4F','#432330','#853C43','#F25C5E'],['#E46F0A','#F0B300','#11766D','#410936','#A40B54'],['#C75233','#C78933','#D6CEAA','#79B5AC','#5E2F46'],['#CAFF42','#EBF7F8','#88ABC2','#49708A','#D0E0EB'],['#333333','#FBFFE3','#83A300','#E21B5A','#9E0C39'],['#FFD8D8','#F5A2A2','#805841','#FFFCDD','#DCF7F3'],['#F45D4C','#F7A541','#FACA66','#FEE5AD','#A1DBB2'],['#BD5532','#E1B866','#DEE1B6','#73C8A9','#373B44'],['#FAAD8E','#FFD6A3','#FFF0B8','#FDFFD9','#142F30'],['#F35F55','#FBC599','#CDBB93','#9EAE8A','#335650'],['#FDE6BD','#F4DD51','#A1C5AB','#632F53','#D11E48'],['#E6867A','#D9AB91','#D9D5A7','#C7FCD7','#ED4A6A'],['#E5EAA4','#A8C4A2','#69A5A4','#616382','#66245B'],['#2B2B2B','#FFC6A5','#F2E3C6','#353634','#E6324B'],['#8F9924','#ACC95F','#F3FFEB','#F1396D','#FD6081'],['#F34739','#FF6E27','#331327','#991766','#D90F5A'],['#D54B1A','#503D2E','#E3A72F','#F0ECC9','#058789'],['#DE4126','#EB9605','#6E1E62','#261C21','#B0254F'],['#595151','#B39C82','#F0D399','#B8C99D','#BF496A'],['#E47C5D','#F0DDAA','#59B390','#152B3C','#E32D40'],['#111625','#341931','#571B3C','#7A1E48','#9D2053'],['#D6A692','#292522','#A39081','#EFD9B4','#4D6160'],['#99A66D','#C0DE5D','#B5CC6A','#A9BD68','#6DA67A'],['#E4F5B1','#A7DBAB','#7BB0A8','#635274','#512B52'],['#68462B','#E9E0D1','#91A398','#33605A','#070001'],['#ED834E','#EBE1C5','#EBCC6E','#595643','#4E6B66'],['#EC4401','#CC9B25','#13CD4A','#7B6ED6','#5E525C'],['#E32F21','#E4DED0','#ABCCBD','#7DBEB8','#181619'],['#400403','#FE8B05','#EFEECC','#0AABBA','#FE0557'],['#FFAB07','#E9D558','#72AD75','#0E8D94','#434D53'],['#E4E4C5','#B9D48B','#D3E4C5','#8D2036','#CE0A31'],['#9B8E7E','#C3CCAF','#311D39','#67434F','#A51A41'],['#FFFFFF','#000000','#7DB4B5','#E0EFF1','#680148'],['#FC930A','#F7C41F','#E0E05A','#CCF390','#FF003D'],['#F24E4E','#F78145','#F2C94E','#A0B046','#11644D'],['#EFEAC5','#E7D84B','#1B8798','#360745','#D61C59'],['#CC5D4C','#5B5847','#FFFEC6','#C7D1AF','#96B49C'],['#FEA887','#FF824A','#D1D0D7','#F6E7F7','#FC284F'],['#FE857E','#EE9C92','#D3B9A3','#E3E8CD','#BCD8BF'],['#A69785','#807462','#665C49','#B8FAFF','#E8FDFF'],['#FFB884','#F5DF98','#FFF8D4','#C0D1C2','#2E4347'],['#E3CF9E','#AEB18E','#79927D','#79254A','#795C64'],['#615145','#C6CCA5','#8AB8A8','#6B9997','#54787D'],['#B1E6D1','#77B1A9','#3D7B80','#270A33','#451A3E'],['#F5B9AE','#F6F1DE','#C8CD3B','#95A131','#EE0B5B'],['#C9B180','#7A907C','#2A6E78','#3B4058','#4B1139'],['#EE887A','#E4E391','#9ABC8A','#2D1B33','#F36A71'],['#F06D61','#DA825F','#C4975C','#A8AB7B','#8CBF99'],['#2B2726','#BACCA4','#7DAD93','#018790','#0A516D'],['#703E3B','#D3C8B4','#FFF3DB','#E7E4D5','#C84648'],['#F9A799','#F4BFAD','#F5DABD','#8C886F','#B7CBBF'],['#C7956D','#F2D974','#2B222C','#5E4352','#965D62'],['#EB9C4D','#F2D680','#F3FFCF','#697060','#BAC9A9'],['#F5DD9D','#BCC499','#92A68A','#7B8F8A','#506266'],['#E6F99D','#C8E98E','#7FDA89','#259073','#041122'],['#49281F','#564334','#CFB590','#9E9A41','#758918'],['#FFA588','#027B7F','#572E4F','#BF1E62','#D62957'],['#A88C8C','#7A8C89','#80A8A8','#909D9E','#FF0D51'],['#FFB969','#EAF27E','#3B8C88','#452E3C','#FF3D5A'],['#FFFFFF','#EBE7E0','#BDB8AD','#44749D','#C6D4E1'],['#F0FFC9','#A9DA88','#62997A','#3B0819','#72243D'],['#FB0C06','#FFC52C','#E7EDEA','#CEECEF','#030D4F'],['#6B5D4D','#B0A18F','#DFCDB4','#FBEED3','#429398'],['#7E1C13','#E6E1C2','#6D9788','#1E2528','#BF0A0D'],['#F59D92','#E5B8AD','#C99E93','#D5D2C8','#9D9E94'],['#1D1313','#A3B808','#24B694','#30C4C9','#D22042'],['#EDD48E','#C2C092','#65AC92','#676077','#641F5E'],['#FF714B','#EAFF87','#ACFFE9','#540045','#C60052'],['#FEBF97','#F5ECB7','#23192D','#FD0A54','#F57576'],['#D28574','#E7A97E','#E0BA9B','#A69E80','#3B1922'],['#FCB653','#CEE879','#8CD19D','#5CACC4','#FF5254'],['#A14016','#CC883A','#CFC89A','#89A194','#322938'],['#A32C28','#BCA875','#7B8055','#384030','#1C090B'],['#FA6A64','#7A4E48','#4A4031','#F6E2BB','#9EC6B8'],['#6E6662','#879676','#A3C68C','#340735','#4F364A'],['#E0846D','#DBC092','#DBE7B4','#D4F7DC','#F51441'],['#F2E8C4','#98D9B6','#3EC9A7','#2B879E','#616668'],['#FF9036','#F6D76B','#FDEBA9','#D6254D','#FF5475'],['#353130','#85847E','#CBCFB4','#F7345B','#AB6A6E'],['#71443F','#8C7C62','#D3D5B0','#B5CEA4','#9DC19D'],['#E6B39A','#E6CBA5','#EDE3B4','#8B9E9B','#6D7578'],['#F2F0DF','#CACCB6','#8E9E82','#A9C1D9','#607890'],['#C21B12','#280904','#FC4B2A','#680E34','#9A151A'],['#E2DDD9','#8D7966','#D8C8B8','#F8F1E9','#A8A39D'],['#E6EBA9','#ABBB9F','#6F8B94','#706482','#703D6F'],['#FFAB98','#E5DBC0','#7F9CA0','#0B0E31','#F74553'],['#373737','#EFEAE4','#BADB73','#ACCE91','#8DB986'],['#FDCFBF','#FEB89F','#742365','#5F0D3B','#E23D75'],['#161616','#E7C049','#92B35A','#1F6764','#C94D65'],['#230B00','#F8ECD4','#A29D7F','#D4CFA5','#AABE9B'],['#C46564','#9B726F','#EEB15B','#F0E999','#B8C99D'],['#FF7474','#F59B71','#C7C77F','#E0E0A8','#F1F1C1'],['#D74F33','#C4AC30','#DBD8A2','#1E8C93','#4B3E4D'],['#9A927B','#EEDA95','#B7C27E','#805566','#8A6A6B'],['#F0F7DA','#C9DF8A','#77AB59','#36802D','#234D20'],['#F2643D','#F2A73D','#26251C','#A0E8B7','#EB0A44'],['#E16639','#AD860A','#E7DD96','#55024A','#B7023F'],['#D8A878','#E7E79D','#C0D890','#78A890','#606078'],['#E36B6B','#E3A56B','#574C41','#E3C77B','#96875A'],['#000000','#D31900','#FF6600','#FFF2AF','#7CB490'],['#FF7373','#F2A176','#CC9476','#948A71','#566965'],['#B3A176','#312C20','#E2CB92','#7C7052','#494D4B'],['#EBC588','#EBEAA9','#0E0B29','#3B0032','#7D2948'],['#EBC288','#489C79','#05676E','#1A081F','#4D1D4D'],['#875346','#FB9274','#F7E4C6','#CDDBC2','#F5565B'],['#EFB198','#7D5D4E','#EAD2A4','#F7E5BF','#BFCDB4'],['#6B6B6B','#8F9E6F','#B1CF72','#5E405F','#4F364C'],['#FAFAFA','#1F1F1F','#FA4B00','#7A5B3E','#CDBDAE'],['#FABDBD','#FAD6D6','#94654C','#FEFCD0','#F89FA1'],['#F7D683','#CCB24C','#FFFDC0','#FFFFFD','#457D97'],['#1F6764','#575A65','#8F4D65','#C74066','#FF3366'],['#BA3622','#F0DDBD','#1C997F','#520C30','#851E25'],['#ECE1C3','#8EBDB6','#195E63','#3E838C','#063940'],['#FF370F','#332717','#F0F0AF','#9DBCBC','#6BACBF'],['#B39980','#D9CC8C','#FFFF99','#663366','#8C6673'],['#A95A52','#F18052','#6F5846','#FFA446','#E35B5D'],['#666666','#F0F0D8','#B4DF37','#B4DEBE','#77CCA4'],['#CC3E18','#F0971C','#181419','#4A073C','#9E0B41'],['#7D1A0C','#A86B4C','#E8C382','#B39D69','#340A0B'],['#ED6464','#1A1B1C','#574759','#87586C','#BF6370'],['#DD423E','#3F2C26','#EAC388','#C5AD4B','#A2A384'],['#4DAB8C','#542638','#E86F9E','#C9306B','#8F244D'],['#F63700','#FB6900','#007E80','#00B9BD','#004853'],['#FFCDB8','#37260C','#FDEECF','#C8C696','#97BEA9'],['#937460','#AD8B32','#C6BE9A','#DDE0CF','#8C5B7B'],['#FFFFFF','#CFCFCF','#967C52','#FFFAEB','#F0F0D8'],['#F1DB42','#FCFCD7','#95D0B8','#67BE9B','#F04158'],['#F9EBC6','#B2AC96','#DDDCBD','#8CBFB8','#62B3B4'],['#ECBE13','#2C2B26','#6A6B5F','#738C79','#A43955'],['#F88863','#FFC27F','#FFE29A','#411F2D','#AC4147'],['#62A07B','#4F8B89','#536C8D','#5C4F79','#613860'],['#EB613B','#4D3B36','#F98F6F','#F7EADC','#C1D9CD'],['#F8BE00','#9BB61B','#057C46','#02483E','#2B1719'],['#E88460','#EDD269','#CDECCC','#321D2E','#F23460'],['#6E6460','#E39B7D','#E8D3A9','#BCBFA3','#89B399'],['#606D80','#DCE0E6','#2B4C7E','#567EBB','#1F1F20'],['#B8FD99','#7CF49A','#595B5A','#0DE5A8','#14C3A2'],['#FF7D10','#FFB238','#0A0310','#49007E','#FF005B'],['#E7EED0','#CAD1C3','#51425F','#948E99','#2E1437'],['#EAA353','#B9A173','#FFEFA9','#413040','#6C6368'],['#FAF6D0','#C7D8AB','#909A92','#744F78','#30091E'],['#FBC599','#CDBB93','#9EAE8A','#160E32','#ED5672'],['#FFFF00','#CCD91A','#99B333','#668C4D','#336666'],['#EA8676','#493831','#EAB05E','#FDEECD','#D24858'],['#E1E3AC','#A6B985','#648A64','#46685B','#213435'],['#17F9FF','#00B4FC','#005BC5','#012677','#001449'],['#4A403D','#EA804C','#A69A90','#FACF7D','#FFF1C1'],['#5A4E3C','#E9EBBF','#C4D428','#D8E472','#418E8E'],['#EDAD9E','#E1EAB5','#ACDEB2','#390D2D','#FE4B74'],['#FFC897','#F7EFA2','#BAC99A','#75C9A3','#42393B'],['#E47267','#8A8780','#D6D1AF','#E6E5C4','#D7D8C5'],['#8B911A','#FDFFD9','#0C0D02','#36BBA6','#73185E'],['#FFF5DE','#B8D9C8','#750E49','#4D002B','#917081'],['#D55C2B','#F6E7D3','#89A46F','#55203C','#9F0A28'],['#F15500','#D56F00','#B88000','#FF0C71','#FF2654'],['#574435','#F6AA3D','#E0DC8B','#6CC4B9','#ED4C57'],['#E6A06F','#9E9C71','#5E8271','#33454E','#242739'],['#000000','#F0371A','#F7E6A6','#B5B479','#3E6B48'],['#000000','#FBFFCD','#79AE92','#1C5560','#001F36'],['#FBFEE5','#A8E7CA','#25232D','#98173D','#C91842'],['#DED1B6','#6D997A','#6CA19E','#84ABAA','#42282C'],['#FC580C','#FC6B0A','#F8872E','#FFA927','#FDCA49'],['#DBD9B7','#949A8E','#A5B5AB','#C1C9C8','#615566'],['#FFF18C','#D0EAA3','#EEFFDB','#ADE4B5','#71DBD2'],['#C7EDE8','#A0DED6','#7ECECA','#45B5C4','#1693A5'],['#D15C57','#D9D4A8','#4A5F67','#5C374B','#CC3747'],['#D16344','#D7BF5E','#F1E8B4','#B2BB91','#83555E'],['#EEDEAD','#DDDEAD','#CCDEAD','#BBDEAD','#AADEAD'],['#84C1B1','#AD849A','#D64783','#40202A','#FD135A'],['#F6F0BC','#A3D95B','#AAE3AB','#442433','#1F0310'],['#B14623','#F6921D','#130912','#3E1C33','#602749'],['#9A736E','#E7A83E','#E0DF9F','#B2CBA3','#EA525F'],['#000000','#FA7F77','#F7A398','#F6C7B7','#B42529'],['#F07C19','#FFC219','#E5D599','#029DAF','#E32551'],['#E48B69','#E1B365','#674F23','#FFEEAC','#E5DB84'],['#A7321C','#352504','#CC982A','#FFDC68','#928941'],['#241811','#D4A979','#E3C88F','#C2C995','#A8BD95'],['#F27C7C','#FCF09F','#8DE0A6','#4EB3DE','#DE528C'],['#F18273','#4C3D31','#F2BD76','#F4F5DE','#C4CEB0'],['#FF703F','#F7BC05','#ECF6BB','#76BCAD','#FA2E59'],['#D96153','#FFB870','#FFF5D6','#84BFC3','#000511'],['#CA221F','#590F0C','#FEAD26','#FFFDC0','#B9D7A1'],['#F5886B','#5A3226','#F1C972','#F3E6BC','#72AE95'],['#F5F7BD','#DEDFC5','#B2B39F','#C8C9B5','#3D423C'],['#785D56','#E6D5C1','#C6B299','#FFF4E3','#BE4C54'],['#67594D','#718063','#79A687','#1D1016','#4F2B38'],['#F07868','#EBB970','#E7D3B0','#2197A3','#F71E6C'],['#D9CF85','#CDE4B3','#B4DFB3','#9BDAB3','#69D0B3'],['#F7E0AE','#2D2C26','#C3B457','#998496','#FA748F'],['#E2DF9A','#EBE54D','#4B490B','#757449','#FF0051'],['#FE6962','#F9BA84','#EEE097','#FFFFE5','#8E407A'],['#FA9B9B','#FFDABF','#F7F3D5','#635063','#E88087'],['#FF2121','#FFE8B3','#A3E3B1','#51BD9C','#244242'],['#F03813','#FF8826','#FFB914','#2C9FA3','#B31237'],['#DB1414','#E8591C','#332C26','#C5E65C','#7FB8B0'],['#003E4F','#33384E','#66324C','#992C4B','#CC2649'],['#FEAB8D','#F4C9A3','#D7B89C','#99C9BD','#15212A'],['#F88F89','#EEC276','#FBF6D0','#79C3AA','#1F0E1A'],['#D43B2D','#FE6C2B','#020001','#340016','#9F102C'],['#FCF9D8','#EDEBC9','#9DBFAF','#00CCBE','#09A6A3'],['#D4E2B6','#C4DBB4','#ABCCB1','#72B1A4','#539FA2'],['#D8523D','#75372D','#928854','#D4CE9E','#96A782'],['#F38264','#F2CC67','#75BAA8','#5F051F','#F40034'],['#E25858','#E9D6AF','#FFFFDD','#C0EFD2','#384252'],['#A7CD2C','#BADA5F','#CEE891','#E1F5C4','#50C8C6'],['#541F14','#938172','#CC9E61','#020304','#626266'],['#9E6D4E','#CFB699','#FFFEE1','#FA8CB1','#FDC5C9'],['#F7F7F7','#3B3737','#991818','#9DD3DF','#C9D1D3'],['#F06B50','#E1D772','#FAF4B1','#394240','#45AAB8'],['#FCA89D','#FAC7B4','#998B82','#FFE1C9','#AFC7B9'],['#F88D87','#FCDCB3','#A8BCBD','#823772','#D65981'],['#F7D7CD','#F3E7D7','#C7B9C5','#E0C0C7','#F8C7C9'],['#8A211D','#BF2A23','#CF872E','#F0CE4E','#A6AD3C'],['#5C493D','#3A352F','#E5F3BA','#BAFDC2','#80D3BB'],['#90FF17','#00C16C','#00755C','#004443','#002E34'],['#FF3D00','#FFBC11','#0A837F','#076461','#002C2B'],['#FF41A1','#F60069','#4D4A4B','#FF90AB','#FFCCD1'],['#706767','#E87474','#E6A37A','#D9C777','#C0DBAB'],['#1C0F0E','#DB5643','#C5BD99','#9FB38F','#70AA87'],['#755858','#FFC870','#F7F7C6','#9CAD9A','#C8E3C5'],['#BD9999','#9D8078','#414978','#13123E','#8E848C'],['#85AE72','#BCE1AB','#170132','#361542','#573E54'],['#E45635','#F7A21B','#15191D','#4B538B','#D60257'],['#FF4746','#E8DA5E','#92B55F','#487D76','#4B4452'],['#D1B68D','#5A5C75','#51445F','#492D49','#87555C'],['#000000','#9E906E','#AAB69B','#8870FF','#9684A3'],['#FF705F','#913F33','#FFAA67','#FFDFAB','#9FB9C2'],['#FF6543','#FFBA6B','#FFDC8A','#FFF19E','#B5F4BC'],['#481800','#F07E13','#E2D397','#0FC3E8','#0194BE'],['#E4DDD6','#E4E3CD','#ECECDD','#D4DDD6','#C4DDD6'],['#F59330','#FFEBBF','#F0D442','#85A29E','#B22148'],['#000000','#FF8830','#D1B8A0','#AECED2','#CBDCDF'],['#443A37','#F0823F','#E0D124','#F7F799','#BD374C'],['#FEC0AB','#FEE9A6','#9380B7','#660860','#FA5894'],['#8F8F8F','#ECECEC','#25020F','#FF1168','#9E1E4C'],['#FFE3B3','#CFCCA8','#97B59D','#B9113F','#A8636E'],['#D1E389','#B9DE51','#E1B7ED','#E04891','#F5E1E2'],['#BFAC8B','#000706','#0C7E7E','#134647','#00272D'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FFCA1B','#B6FF00','#228DFF','#BA01FF','#FF0092'],['#FFFFFF','#59554E','#F3F4E5','#E2E3D9','#A1C1BE'],['#CD5B51','#F3A36B','#E9DFCC','#554865','#352630'],['#BAAB6A','#FBEA80','#FDFAC7','#426B65','#204B5E'],['#977E77','#EFAE54','#DBDA97','#4B1D37','#EF6771'],['#D95B45','#ECD079','#43777A','#442432','#C02948'],['#F7DB15','#2F2BAD','#AD2BAD','#E42692','#F71568'],['#FF4845','#FF745F','#FFC55F','#FFEC5E','#36173D'],['#F8F8EC','#AEDD2B','#066699','#0A5483','#02416D'],['#FE6C63','#EECAB1','#D3C8B4','#D4F1DB','#240910'],['#BDA2A2','#FBBE9A','#FAD889','#FAF5C8','#899AA1'],['#473430','#C54B2C','#D89845','#C8D197','#11BAAC'],['#F1C694','#EDECCF','#207178','#101652','#DC6378'],['#CCBD9E','#D8CCB2','#495168','#2A2344','#260729'],['#F2B8A0','#DACDBD','#D4486F','#DF5C7E','#EF97A3'],['#F09580','#FDF2B4','#101942','#80043A','#F60C49'],['#6F0B00','#241714','#BE3100','#C96823','#C9B849'],['#F8F5C1','#C8CE13','#349E97','#DE1A72','#2C0D1A'],['#FEF7D5','#0EC0C1','#210123','#6C043C','#910142'],['#736558','#FEF5C6','#AAF2E4','#31D5DE','#FD65A0'],['#FFDBD7','#F7F1E1','#855E6E','#CE7095','#FFB2C1'],['#810E0B','#FEBEA3','#FCE5B1','#E8DE92','#F6F5DA'],['#C42311','#F2502C','#FCF59B','#CAD17A','#91C494'],['#3C363B','#F9EBF2','#F3E2E8','#F58F9A','#FCD7DA'],['#4A3D3D','#FF6161','#F2E9E6','#F4F8E6','#D8DEC3'],['#F8D9BD','#7F440A','#E6BC56','#6A9277','#FF275E'],['#000000','#F58723','#C7BA99','#D4C9AD','#F1ECDF'],['#B39E58','#E8DBAD','#99822D','#80AB99','#8C0E48'],['#F0A991','#B9D9B4','#288D85','#B05574','#D18E8F'],['#FF695C','#CCBCA1','#2E1E45','#612A52','#BA3259'],['#E4491C','#FFB727','#67B79E','#538A95','#565175'],['#514442','#AEF055','#E0FFC3','#3F8978','#25E4BC'],['#E6D1CA','#EEE9C7','#ED7B83','#EC8A90','#EBA2A4'],['#EDD58F','#C2BF92','#66AC92','#686077','#641F5E'],['#FCA699','#FFE4AA','#583B7E','#C9729F','#E2869B'],['#454545','#A22365','#FF0084','#743455','#D11174'],['#DAE2CB','#96C3A6','#6CB6A5','#221D34','#90425C'],['#001848','#301860','#483078','#604878','#906090'],['#F76E2A','#F0C505','#651366','#A71A5B','#E7204E'],['#F4F4F4','#594433','#A68C69','#F0E5C9','#9BA657'],['#6B6B6B','#FF7857','#F7C081','#CEF781','#95DE90'],['#444444','#B52C00','#A9A17A','#FCF7D1','#8C0005'],['#FFFFFF','#000000','#AC4A00','#F8F0AF','#002930'],['#BFA374','#E3BA6A','#6D756A','#4D686F','#364461'],['#E5EAD4','#9ACC77','#45936C','#334F53','#1F0A1D'],['#43204A','#422343','#7F1E47','#C22047','#EA284B'],['#3D3C3B','#DDE3CA','#7C8071','#B2D9F7','#487AA1'],['#C0CC39','#DBF73B','#2B2628','#EB0258','#A6033F'],['#E4E6C3','#88BAA3','#361F2D','#63203D','#BA1E4A'],['#2C2321','#FFFAB3','#9DAB34','#63B397','#A2E5D2'],['#FFABAB','#FFDAAB','#DDFFAB','#ABE4FF','#D9ABFF'],['#9C8680','#F98F6F','#DBBF6B','#C8EB6A','#EB5E7F'],['#D5CA98','#B3C262','#768A4F','#66424C','#C72546'],['#F7DECE','#EED7C5','#CCCCBB','#2D2E2C','#9EC4BB'],['#F0F0D8','#A8C030','#184848','#006060','#007878'],['#ECE488','#F6F5CD','#91C68D','#74AA9B','#796C86'],['#DDCAA2','#AEBEA3','#4E5C69','#D83957','#B97479'],['#B18272','#63594D','#C2B291','#EAE3D1','#D6E4C3'],['#D8D8D8','#ECDAD8','#E2D9D8','#FFDCD8','#F5DBD8'],['#D6B3B1','#E6E1CD','#C6D8C0','#231B42','#F97992'],['#D7DFC3','#D2DFC8','#CDDFCD','#C8DFD2','#C3DFD7'],['#B1E1E9','#96D7EB','#839CB5','#F2E4F9','#686466'],['#EFD2BE','#EFBC98','#917F6E','#EFE1D1','#D9DDCD'],['#A73E2B','#482C21','#D07E0E','#E9DEB0','#2F615E'],['#F4E196','#A6BF91','#5F9982','#78576B','#400428'],['#F3D915','#E9E4BB','#A89907','#BFD4B7','#1A1C27'],['#7A6248','#FFFBF0','#968F4B','#030506','#AB9597'],['#F77C3E','#FABA66','#FCE185','#A2CCA5','#50232E'],['#FF6A5A','#FFB350','#83B8AA','#272D4D','#B83564'],['#D9A071','#CFC88F','#A5B090','#607873','#AB505E'],['#FA3C08','#FC7D23','#678D6C','#772A53','#BD0A41'],['#FFFFFF','#757575','#000000','#A1AC88','#464D70'],['#B9340B','#3F261C','#CEA45C','#C5BE8B','#498379'],['#EA2A15','#FAEDD9','#808F12','#2A5C0B','#042608'],['#9D9F89','#CCEE8D','#B2DE93','#8BC59B','#84AF97'],['#F86254','#FEA189','#F3D5A5','#BAB997','#FF0F35'],['#FF695C','#FFC391','#F6F4C2','#8DC9B5','#8C315D'],['#D96831','#E6B33D','#172C3C','#274862','#995052'],['#A8A878','#CDCD76','#939E78','#839074','#061013'],['#7C7B6C','#F8F69F','#BAB986','#3E3E53','#000039'],['#693726','#80B3FF','#A2122F','#FFC2CE','#FD6E8A'],['#EFB0A9','#FFE6DB','#CBC8B5','#D1EAEE','#BDA0A2'],['#FE6960','#FEBF97','#FEFAC2','#D2FDFE','#AFFBFF'],['#FC694D','#FC8D4D','#FABA32','#F5DD7E','#0DB2AC'],['#EBF74F','#B0C65A','#6D8D76','#66666E','#6A3D5A'],['#EC6C2B','#FEAE4B','#35352B','#BDBF90','#E7E9C4'],['#FF9966','#D99973','#B39980','#8C998C','#669999'],['#D4BE99','#E0FFCC','#171133','#581E44','#C5485A'],['#000000','#FCAE11','#B2A700','#770493','#ED0B65'],['#FFFAE3','#C1D9D0','#141827','#736681','#62455B'],['#D1DAB9','#92BEA5','#31233E','#6F646C','#671045'],['#5F3711','#E2D5C1','#D4C098','#F7F6E4','#F6F6E2'],['#20130A','#E9F0C9','#142026','#3B657A','#123142'],['#5ADB94','#0BA18C','#368986','#2E0331','#8A034D'],['#4A2512','#F4DDB4','#F1AE2B','#72BCA5','#BC0B27'],['#E03E36','#EECCBB','#F1731F','#730662','#BD0D59'],['#C27B57','#FFC978','#D1A664','#FFE7BF','#C9C987'],['#302727','#BA2D2D','#F2511B','#F2861B','#C7C730'],['#330A04','#6C1305','#B32900','#DE8531','#EFAC41'],['#615050','#776A6A','#FCFCFC','#F5F1E8','#AD9A6F'],['#52423C','#D3AD98','#EDD4BE','#B9C3C4','#AD5C70'],['#FFCC33','#CCFF33','#B877A8','#B8008A','#FF3366'],['#7C917F','#93BD9A','#3D1C33','#210518','#5E4B55'],['#FF9934','#FFC018','#B3C631','#CDE54E','#F8FEF4'],['#996666','#FF3366','#E64066','#CC4D66','#B35966'],['#FFFFFF','#BDD1DE','#4180AB','#8AB3CF','#E4EBF0'],['#DADAD8','#CBE65B','#1EA49D','#FE6196','#FF2C69'],['#D2E7AA','#A4CA8B','#66997B','#27081D','#47232C'],['#EB9D8D','#EFD8A9','#93865A','#C5CBA6','#A8BB9A'],['#FDD87F','#C6D38E','#5C966E','#315E61','#0F314C'],['#0D0502','#85685A','#CB8E5F','#E0DEAB','#ECF8D4'],['#E2C99F','#A39B7E','#7A7B7C','#53576B','#353437'],['#EDEADE','#DDEADD','#CDEADC','#BDEADB','#ADEADA'],['#FC3903','#FC7F03','#FFAB03','#A6026C','#D1024E'],['#000000','#F4A854','#FFF8BC','#CF023B','#F3214E'],['#AC0D0D','#320606','#AC8D49','#DDE29F','#A2C7BB'],['#C97C7A','#1F1106','#B8C2A0','#D1DBC8','#DA3754'],['#700808','#CC4E00','#FF8030','#FFDD8C','#6E9167'],['#FBBAA4','#F9E5C0','#B6D0A0','#2C171C','#FF667C'],['#FAFAD7','#EDF79E','#BCD9A0','#85CC9C','#2B9EB3'],['#000000','#E7EBB0','#C6C99D','#A8AB84','#0C0D05'],['#FC8C77','#F8DFBD','#130716','#9A2848','#EC4B59'],['#330C0C','#61290E','#A84818','#A89048','#A8C078'],['#D8D9C0','#8FC9B9','#91334F','#AB5C72','#D18E8F'],['#D1BD95','#DBDEA6','#D1F7BA','#391B4A','#8C686B'],['#FB6F24','#8CA315','#0A4B75','#1E6495','#5191C1'],['#C2685F','#FBD7A3','#D4C46D','#722249','#932B4E'],['#C1A2A0','#E3CEBD','#FCFDEB','#725B75','#322030'],['#DE4C45','#D9764D','#CC9E8A','#EBDFC6','#C1C5C7'],['#AD8484','#D9D5BB','#B05574','#D24D6C','#C1858F'],['#390039','#820081','#FE1CAC','#FE40B9','#FE59C2'],['#F6BE5F','#CFBF9E','#F7DEA8','#D45E80','#C6838C'],['#FCE7D2','#E0DBBD','#C0CEAA','#EB5874','#FD8086'],['#926D40','#FF9F15','#C4D004','#ABECE4','#FB7991'],['#B56A65','#D5A57F','#E9D7A9','#D2D09F','#4B3132'],['#F1EBEB','#EEE8E8','#CACACA','#24C0EB','#5CCEEE'],['#E8ACAC','#DFD0AF','#A1C0A1','#A45785','#85586C'],['#DEC790','#200E38','#6A0E47','#B50D57','#FF0D66'],['#D6D578','#9DAD42','#B1BF63','#258A60','#0A3740'],['#FBE2B9','#FCF6D2','#FCF6D2','#C6C39A','#281F20'],['#EC6349','#F8DB7E','#310A26','#6F1B2C','#CE2340'],['#99CCCC','#A8BDC2','#B8AEB8','#C79EAD','#D78FA3'],['#EB9961','#FCF4B6','#331436','#7A1745','#CB4F57'],['#F9F9E7','#505045','#161613','#C1E0E0','#C0A1AE'],['#F9DED3','#FDD1B6','#89ABB4','#C7B6BE','#FAB4B6'],['#B3544F','#D6C396','#E7FCCF','#300511','#1F0B0C'],['#F59982','#FACB97','#F3DCB2','#F2116C','#ED616F'],['#FFFFFF','#FF97CA','#FF348E','#BE0049','#770021']]},"./node_modules/@boldgrid/controls/src/controls/color/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js');a.d(o,'ColorPalette',function(){return n.b}),a.d(o,'Renderer',function(){return n.a});var r=a('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js');a.d(o,'Palettes',function(){return r.a});var l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js');a.d(o,'Generate',function(){return l.a});var s=a('./node_modules/@boldgrid/controls/src/controls/color/js/selection.js');a.d(o,'Selection',function(){return s.a});var i=a('./node_modules/@boldgrid/controls/src/controls/color/js/config.js');a.d(o,'Config',function(){return i.a});var d=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js');a.d(o,'Material',function(){return d.a})},"./node_modules/@boldgrid/controls/src/controls/color/js/button.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return d});var r=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),s=function(){function e(e,o){var a=[],n=!0,r=!1,l;try{for(var s=e[Symbol.iterator](),i;!(n=(i=s.next()).done)&&(a.push(i.value),!(o&&a.length===o));n=!0);}catch(e){r=!0,l=e}finally{try{!n&&s['return']&&s['return']()}finally{if(r)throw l}}return a}return function(o,a){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,a);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=function(){function e(o){n(this,e),o=o||{},this.files=['color-palette-scss/buttons/buttons.scss','color-palette-scss/buttons/_options.scss','color-palette-scss/buttons/types/_3d.scss','color-palette-scss/buttons/types/_border.scss','color-palette-scss/buttons/types/_borderless.scss','color-palette-scss/buttons/types/_dropdown.scss','color-palette-scss/buttons/types/_glow.scss','color-palette-scss/buttons/types/_groups.scss','color-palette-scss/buttons/types/_longshadow.scss','color-palette-scss/buttons/types/_raised.scss','color-palette-scss/buttons/types/_shapes.scss','color-palette-scss/buttons/types/_sizes.scss','color-palette-scss/buttons/types/_wrapper.scss','color-palette-scss/buttons/_layout.scss','color-palette-scss/buttons/_base.scss','color-palette-scss/buttons/_mixins.scss'],this.namespace='.btn',this._defaultColors=[{name:'color-dark',val:'#252525'},{name:'color-light',val:'#eff0f1'}],this.sassCompiler=o.sassCompiler?o.sassCompiler:new r.a}return i(e,[{key:'init',value:function(){return this.preload()}},{key:'preload',value:function(){return this.sassCompiler.preload(this.files)}},{key:'convertColorState',value:function(e){var o=[],a=e.palettes['palette-primary']['neutral-color'],n=!0,r=!1,l;try{for(var i=e.palettes['palette-primary'].colors.entries()[Symbol.iterator](),d;!(n=(d=i.next()).done);n=!0){var c=s(d.value,2),p=c[0],u=c[1];o.push({name:'color-'+(p+1),val:u})}}catch(e){r=!0,l=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw l}}var g=!0,m=!1,b;try{for(var C=this._defaultColors[Symbol.iterator](),h,u;!(g=(h=C.next()).done);g=!0)u=h.value,o.push(u)}catch(e){m=!0,b=e}finally{try{!g&&C.return&&C.return()}finally{if(m)throw b}}return a&&o.push({name:'color-neutral',val:a}),o}},{key:'formatColorSass',value:function(e){var o=new l.a,a='',n;e=e||[];var r=!0,s=!1,i;try{for(var d=e[Symbol.iterator](),c,p;!(r=(c=d.next()).done);r=!0)p=c.value,n=o.getContrast(p.val),a+='(\''+p.name+'\' '+p.val+' '+n+')'}catch(e){s=!0,i=e}finally{try{!r&&d.return&&d.return()}finally{if(s)throw i}}return a&&(a='$ubtn-colors: '+a+';'),a}},{key:'getCompileString',value:function(e){var o=this.formatColorSass(this.convertColorState(e)),a='$ubtn-namespace: \''+this.namespace+'\';';return a+o+'@import "color-palette-scss/buttons/buttons.scss";'}},{key:'compile',value:function(e,o){this.sassCompiler.compiler.compile(compileString,function(e){o(e)})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/config.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return i});var r=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),l=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),s=window.jQuery,i=function(){function e(){n(this,e),this.material=new r.a,this.defaultColor='blue',this.samplePalettesColors=['blue','teal','red','pink','grey','brown']}return l(e,[{key:'createSimpleConfig',value:function(e){var o={},a=this.getPresetPalettes(),n;return o.palettes=[],e?(n=this.createPalette(e),o.palettes.push(n),o.palettes=o.palettes.concat(a)):o.palettes=a,o.palettes[0].isActive=!0,o['color-palette-size']=o.palettes[0].colors.length,o.palette_formats=['palette-primary'],o}},{key:'getPresetPalettes',value:function(){var e=[],o=!0,a=!1,n;try{for(var r=this.samplePalettesColors[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e.push(this._createDefault(s))}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'createPalette',value:function(e){var o=_.defaults(e,{default:!0,copyOnMod:!0,isActive:!1,format:'palette-primary',colors:this.material.getPalette(this.defaultColor)});return o.palette_id=btoa(o.colors),o}},{key:'mergeDefaults',value:function(e){return e.palettes=e.palettes.concat(this.getPresetPalettes()),e}},{key:'createSavableState',value:function(e){var o=this.createSimpleConfig(),a=e.palettes['palette-primary'];o.palettes=[],a.isActive=!0,a.default=!1,o.palettes[0]=this.createPalette(a),o.saved_palettes=[],e.saved_palettes=e.saved_palettes||[];var n=!0,r=!1,l;try{for(var s=e.saved_palettes[Symbol.iterator](),i;!(n=(i=s.next()).done);n=!0){var d=i.value,c=this.createPalette(d);c.palette_id!==o.palettes[0].palette_id&&(c.default=!1,c.copyOnMod=!1,o.saved_palettes.push(c))}}catch(e){r=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw l}}return o}},{key:'_createDefault',value:function(e){return this.createPalette({isActive:!1,colors:this.material.getPalette(e),"neutral-color":'white'})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/control.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js'),r=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),s=a('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),i=a('./node_modules/color-js/color.js'),d=a.n(i),c=a('./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass'),p=a.n(c),u='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e};window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},window.BOLDGRIDSass=window.BOLDGRIDSass||{};var g=jQuery,m=g(window),b=BOLDGRID.COLOR_PALETTE.Modify,C=b;b.pickerCompileDelay=100,b.pendingCompile=!1,b.palette_generator=BOLDGRID.COLOR_PALETTE.Generate,b.generated_color_palettes=6,b.state=null,b.active_body_class='',b.first_update=!0,b.prelockNeutral=!1,b.themePalettes=[];var h=['#232323','#FFFFFF','#FF5F5F','#FFDBB8','#FFFFB2','#bad6b1','#99acbf','#cdb5e2'];b.init=function(e,o){b.first_update=!0,C.configs=C.initConfigs(o),C.$control=e,C.sassCompiler=new r.a,C.colorPicker=new s.a,C.pausePickerChanges(),C.classProperties(),C.setupEvents()},b.classProperties=function(){C.$palette_control_wrapper=g('.bgctrl-color-palette'),C.$colorPickerWrap=C.$palette_control_wrapper.find('.color-picker-wrap'),C.$palette_option_field=C.$palette_control_wrapper.find('.palette-option-field'),C.generated_palettes_container=C.$palette_control_wrapper.find('.generated-palettes-container'),C.$accoridon_section_colors=g('#accordion-section-colors'),C.$paletteWrapper=C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper'),C.hasNeutral=C.$paletteWrapper.data('has-neutral'),C.numColors=C.$paletteWrapper.data('num-colors')},b.setupEvents=function(){b.duplicate_modification_icons(),b.themePalettes=b.getThemePalettes(),b.bind_palette_duplicate_remove(),b.bind_palette_activation(),b.setup_color_picker(),b.setup_close_color_picker(),b.setup_palette_generation(),b.bind_generate_palette_action(),b.bind_help_section_visibility(),b.bind_help_link(),b.bindActiveColorClick(),b.bindTransitions(),b.bind_compile_done(),b.fetch_acceptable_palette_formats(),setTimeout(b.pickerPostInit,100)},b.initConfigs=function(e){return _.defaults({enableCustomizerTransitions:!1,boldgrid_light_text:'#FFF',boldgrid_dark_text:'#000'},e)},b.bind_help_section_visibility=function(){g('.accordion-section').on('click',function(){var e=g('.boldgrid-color-palette-help');C.$accoridon_section_colors.hasClass('open')&&!e.is(':visible')?e.show():!1===C.$accoridon_section_colors.hasClass('open')&&e.hide()})},b.setup_close_color_picker=function(){C.$close_palette_creator=g('<button type="button" class="button close-color-picker">Done</button>'),C.colorPicker.$input.after(C.$close_palette_creator),C.$close_palette_creator.on('click',function(){C.colorPicker.hide()})},b.getThemePalettes=function(){var e=[];return C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-copy-on-mod="1"]').each(function(){var o=[];g(this).find('[data-color]').each(function(){o.push(g(this).data('color'))}),C.hasNeutral&&o.splice(-1,1),e.push(o)}),e},b.setup_palette_generation=function(){C.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){!1===C.$paletteWrapper.hasClass('palette-generate-mode')&&(C.hasNeutral&&C.prelockNeutral&&(C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:last').addClass('selected-for-generation'),b.sync_locks()),C.$paletteWrapper.addClass('palette-generate-mode'))}),C.$palette_control_wrapper.on('click','.palette-generate-mode .current-palette-wrapper .color-lock',function(o){var e=g(this);o.stopPropagation(),C.$palette_control_wrapper.find('.boldgrid-active-palette li').eq(e.data('count')).toggleClass('selected-for-generation'),e.toggleClass('selected-for-generation')}),C.$palette_control_wrapper.find('.cancel-generated-palettes-button').on('click',function(o){var e=g(this);o.stopPropagation(),C.$palette_control_wrapper.find('.boldgrid-active-palette[data-auto-generated]').removeAttr('data-auto-generated'),C.generated_palettes_container.empty(),e.closest('.palette-generate-mode').removeClass('palette-generate-mode').find('.selected-for-generation').removeClass('selected-for-generation')})},b.duplicate_modification_icons=function(){b.$icon_set=C.$palette_control_wrapper.find('.boldgrid-duplicate-dashicons').first(),b.$icon_set&&(b.$icon_set=b.$icon_set.clone())},b.bind_generate_palette_action=function(){C.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){var e=b.paletteData(),o=null;C.hasNeutral&&(e.samplePalette.splice(-1,1),o=e.partialPalette.splice(-1,1),o=o[0]);var a=new l.a,n=a.generatePaletteCollection(e,b.generated_color_palettes);C.hasNeutral&&g.each(n,function(){o?this.push(o):this.push(a.generateNeutralColor(this))}),b.display_generated_palettes(n)})},b.display_generated_palettes=function(e){var o=C.generated_palettes_container.empty(),a=null;g.each(e,function(){C.hasNeutral&&(a=this[this.length-1]);var e=g('<div data-palette-wrapper="true"><ul><li class="boldgrid-palette-colors"></li></ul></div>'),n=e.find('ul').addClass('boldgrid-inactive-palette').attr('data-auto-generated','true').attr('data-neutral-color',a).attr('data-color-palette-format',b.get_random_format()),r=n.find('li');g.each(this,function(){var e=g('<span></span>').css('background-color',this).attr('data-color',!0);r.append(e)}),o.append(e)})},b.paletteData=function(){var e={samplePalette:[],partialPalette:[],additionalSamplePalattes:b.themePalettes};return C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(){var o=g(this);o.hasClass('selected-for-generation')?e.partialPalette.push(o.css('background-color')):e.partialPalette.push(null),e.samplePalette.push(o.css('background-color'))}),e},b.fetch_acceptable_palette_formats=function(){b.body_classes=C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').data('color-formats'),'object'===u(b.body_classes)&&(b.body_classes=g.map(b.body_classes,function(e){return[e]}))},b.revert_current_selection=function(e){e.removeClass('current-palette-wrapper');var o=e.find('> ul');o.removeClass('boldgrid-active-palette').addClass('boldgrid-inactive-palette'),o.find('.boldgrid-duplicate-dashicons').remove();var a=g('<li class="boldgrid-palette-colors"></li>');o.find('.boldgrid-palette-colors:not(.ui-sortable-helper)').not('.ui-sortable-placeholder').each(function(){var e=g(this);if('absolute'!==e.css('position')){var o=g('<span data-color="true"></span>').css('background-color',e.css('background-color'));a.append(o)}}),e.find('.bg-lock-controls').remove(),a.append(b.$icon_set.clone()),o.find('.boldgrid-palette-colors').remove(),o.append(a),o.data('ui-sortable')&&o.sortable('disable')},b.bind_help_link=function(){C.$palette_control_wrapper.on('click','[data-action="open-color-picker"]',function(o){o.stopPropagation();var e=C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:first');b.activate_color(null,e)})},b.sync_locks=function(){var e=C.$palette_control_wrapper.find('.bg-lock-controls .color-lock');e.removeClass('selected-for-generation'),C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){var a=g(this);a.hasClass('selected-for-generation')&&e.eq(o).addClass('selected-for-generation')})},b.activate_palette=function(e){b.addColorTransition(),C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),e.attr('data-auto-generated')&&(e=e.closest('div').clone().find('[data-auto-generated]'));var o=[];C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(e){var a=g(this);a.hasClass('selected-for-generation')&&o.push(e)}),e.find('span[data-color]').each(function(a){var n=g(this),r=n.css('background-color'),l='';-1!==o.indexOf(a)&&(l='selected-for-generation'),e.append('<li class="boldgrid-palette-colors '+l+' boldgrid-dashicon" style="background-color: '+r+'"></li>')}),e.append(b.$icon_set.clone()),e.find('li:first').remove();var a=e.closest('div').addClass('current-palette-wrapper').detach();C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').prepend(a);var n=C.$palette_control_wrapper.find('.palette-action-buttons');n.removeClass('hidden').insertAfter(e),C.$palette_control_wrapper.find('.boldgrid-active-palette').each(function(){var e=g(this);e.attr('data-auto-generated')?e.closest('div').remove():b.revert_current_selection(e.closest('div'))}),b.add_jquery_sortable(e),e.sortable('enable'),e.disableSelection(),e.removeClass('boldgrid-inactive-palette'),e.addClass('boldgrid-active-palette'),e.find('li').disableSelection();var r=g('<div class="bg-lock-controls"></div>');e.find('li').each(function(e){r.append('<div class="color-lock" data-count="'+e+'"><div class="lock unlock"><div class="top"></div><div class="mid"></div><div class="bottom"><div class="keyhole-top"></div><div class="keyhole-bottom"></div></div></div>')}),e.after(r),b.sync_locks(),b.first_update?(C.$control.trigger('rendered'),b.first_update=!1):b.update_theme_option({source:'activatePalette'})},b.add_jquery_sortable=function(e){var o=[],a=null;e.sortable({items:'.boldgrid-palette-colors',axis:'x',start:function(n,r){o=[],a=null,r.item&&(C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),!r.item.find('span').length&&b.modify_palette_action(r.item.closest('[data-palette-wrapper="true"]')),r.placeholder.css('background-color',r.item.css('background-color')).css('visibility','visible'),e.find('li').not(r.helper).not(r.placeholder).each(function(e){var n=g(this);o.push(n.css('background-color')),n.is(r.item)&&(a=e)}))},change:function(n,r){var l=e.find('li').not(r.helper).not(r.item);l.each(function(e){var n=g(this),s=o[e];n.is(r.placeholder)?l.eq(a).css('background-color',s):a!==e&&l.eq(e).css('background-color',s)})},helper:'clone',stop:function(e,o){if(b.addColorTransition(),b.update_theme_option({source:'dragColor'}),b.open_picker(),o.item){var a=o.item;if(!a.find('span').length){C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),a.addClass('active-palette-section'),a.siblings().each(function(){var e=g(this);e.toggleClass('boldgrid-dashicon'),setTimeout(function(){e.toggleClass('boldgrid-dashicon')},15)});var n=a.closest('.boldgrid-color-palette-wrapper');b.preselect_active_color(n),b.sync_locks(),b.updateNeutralData()}}}})},b.format_current_palette_state=function(){var e={},o=C.$palette_control_wrapper.find('.boldgrid-active-palette').first();e['active-palette']=o.attr('data-color-palette-format'),e['active-palette-id']=o.attr('data-palette-id'),e.palettes={},e.saved_palettes=[],C.active_body_class=e['active-palette'];var a=function(){var o=g(this),a={},n=parseInt(o.attr('data-copy-on-mod')),r=o.hasClass('boldgrid-active-palette');a=r?o.find('li.boldgrid-palette-colors'):o.find('.boldgrid-palette-colors > span');var l=[];a.not(C.hasNeutral?':last-of-type':'').each(function(){l.push(g(this).css('background-color'))});var s={format:o.attr('data-color-palette-format'),colors:l,"neutral-color":o.attr('data-neutral-color')};r&&(e.palettes[o.attr('data-color-palette-format')]=s),r||n||e.saved_palettes.push(s)};return C.$palette_control_wrapper.find('[data-color-palette-format]').not(o).not('[data-auto-generated="true"]').each(a),o.each(a),e},b.getContrastColor=function(e){return window.wp&&window.wp.customize?wp.customize('boldgrid_dark_text').get():C.configs[e]},b.create_color_scss_file=function(e){var o='',a='$colors: ';g.each(e.palettes,function(e){if(this.colors){var n=a;g.each(this.colors,function(a){var r=a+1;o+='$'+e+'_'+r.toString()+':'+this+';',n+='$'+e+'_'+r.toString()+' '}),n!=a&&(o+=n+';')}this['neutral-color']&&(o+='$'+e+'-neutral-color:'+this['neutral-color']+';')});var n=C.getContrastColor('boldgrid_light_text'),r=C.getContrastColor('boldgrid_dark_text');return o+='$light-text:'+n+';',o+='$dark-text:'+r+';',o=C.appendButtonRules(o),o},b.appendButtonRules=function(e){return BOLDGRIDSass.ButtonVariables&&(e+='$ubtn-namespace: "'+BOLDGRIDSass.ButtonVariables['ubtn-namespace']+'";',e+='$ubtn-bgcolor: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'],e+='$ubtn-font-color: '+BOLDGRIDSass.ButtonVariables['ubtn-font-color'],e+='$ubtn-theme-color: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'].replace(/\$/g,'')),'undefined'!=typeof BOLDGRIDSass.ButtonExtends&&('undefined'!=typeof BOLDGRIDSass.ButtonExtends.primary&&(e+='$button-primary-classes: "'+BOLDGRIDSass.ButtonExtends.primary+'";'),'undefined'!=typeof BOLDGRIDSass.ButtonExtends.secondary&&(e+='$button-secondary-classes: "'+BOLDGRIDSass.ButtonExtends.secondary+'";')),e},b.update_theme_option=function(e){e=e||{};var o=C.getScss();e.colorConfig=b.state,b.compile(o,e)},b.getScss=function(){b.state=b.format_current_palette_state();var e=b.create_color_scss_file(b.state),o=e+C.configs.renderer.getImportString();return o+C.configs.renderer.buttonColors.getCompileString(b.state)},b.compile=function(e,o){C.pendingCompile={content:e,options:o},b.doCompile()},b.doCompile=function(){var e=C.pendingCompile;e&&!C.sassCompiler.processing&&(C.sassCompiler.compile(e.content,e.options),C.pendingCompile=!1)},b.bind_palette_activation=function(){C.$palette_control_wrapper.on('click','.boldgrid-inactive-palette',function(){b.activate_palette(g(this))})},b.activate_color=function(o,e,a){var n;o?(n=g(this),o.stopPropagation()):n=e,!1===n.hasClass('active-palette-section')&&(C.hasNeutral&&n.is('.boldgrid-active-palette .boldgrid-palette-colors:last')?C.colorPicker.$input.iris({palettes:h}):C.colorPicker.$input.iris({palettes:!0}),b.modify_palette_action(n.closest('[data-palette-wrapper="true"]')),C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),n.addClass('active-palette-section'),b.open_picker(),a&&C.pausePickerChanges(),C.colorPicker.setColor(n.css('background-color')))},b.pausePickerChanges=function(){C.ignoreColorChange=!0,setTimeout(function(){C.ignoreColorChange=!1})},b.open_picker=function(){C.colorPicker.show()},b.updateNeutralData=function(){var e,o,a;e=!!C.$palette_control_wrapper.find('.boldgrid-active-palette').attr('data-neutral-color'),e&&(a=C.$palette_control_wrapper.find('.boldgrid-active-palette'),o=a.find('.boldgrid-palette-colors:last').css('background-color'),a.attr('data-neutral-color',o))},b.setup_color_picker=function(){var e=_.throttle(function(){b.update_theme_option({source:'updatePicker'})},100),o=b.themePalettes[0];C.hasNeutral&&o.push('#FFF');this.colorPicker.init(C.$palette_control_wrapper.find('.color-picker'),{secondaryPalette:o,change:function(o,a){if(C.fadeEffectInProgress)return!1;var n=a.color.toString();C.$palette_control_wrapper.find('.active-palette-section').css('background-color',n),b.updateNeutralData(),b.updateCustomPalettes(),C.ignoreColorChange||e()}})},b.updateCustomPalettes=function(){var e=C.$palette_control_wrapper.find('.secondary-colors .iris-palette');C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){e.eq(o).css('background-color',g(this).css('background-color'))})},b.preselect_active_color=function(e){C.colorPicker.setColor(e.find('.active-palette-section').css('background-color'))},b.bind_palette_duplicate_remove=function(){C.$palette_control_wrapper.on('click','.boldgrid-copy-palette, .boldgrid-remove-palette',function(o){o.stopPropagation();var e=g(this),a=e.closest('[data-palette-wrapper="true"]'),n=!0;e.hasClass('boldgrid-copy-palette')&&(n=!1),n?b.remove_palette(a):b.copy_palette(a)})},b.remove_palette=function(e){e.find('.boldgrid-inactive-palette').length&&(e.remove(),b.state=b.format_current_palette_state(),b.update_palette_settings())},b.modify_palette_action=function(e){e.find('[data-copy-on-mod="1"]').length&&b.copy_palette(e)},b.copy_palette=function(e){var o=e.find('.boldgrid-active-palette');if(o.length){var a=e.clone(!1);a.find('.palette-action-buttons').remove(),a.find('.boldgrid-active-palette').removeAttr('data-auto-generated'),b.clean_palette_clone(e.find('.boldgrid-active-palette')),b.revert_current_selection(a);var n=b.get_first_inactive();a.insertBefore(n)}else if(e.find('.boldgrid-inactive-palette').length){var r=e.clone(!1);b.clean_palette_clone(r.find('.boldgrid-inactive-palette')),e.after(r)}b.state=b.format_current_palette_state(),b.update_palette_settings()},b.clean_palette_clone=function(e){e.removeAttr('data-copy-on-mod data-palette-id')},b.get_first_inactive=function(){return C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper > [data-palette-wrapper="true"]').not('.current-palette-wrapper').first()},b.bind_compile_done=function(){m.on('boldgrid_sass_compile_done',function(e,o){b.doCompile(),'color_palette_focus'!==o.source&&(b.update_iframe(o),C.$control.trigger('sass_compiled',o))})},b.update_iframe=function(e){b.compiled_css=e.result.text,b.update_palette_settings()},b.update_palette_settings=function(){b.text_area_val=JSON.stringify({state:b.state}),window.wp&&window.wp.customize&&wp.customize('boldgrid_color_palette').set('').set(b.text_area_val)},b.get_random_format=function(){return b.body_classes[0]},b.pickerPostInit=function(){var e=C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-active="1"]').first(),o=C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-default="1"]').first(),a=o;e.length&&(a=e),a.click(),C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),g('body').on('click',function(){C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section')}),C.$palette_control_wrapper.find('.wp-color-result').on('click',function(){var e=g(this),o=e.parent().find('.iris-picker').is(':visible');o&&(e.removeClass('expanded-wp-colorpicker'),!C.$palette_control_wrapper.find('.active-palette-section').length&&C.$palette_control_wrapper.find('.boldgrid-active-palette li:first').click())}),C.active_body_class=C.$palette_control_wrapper.find('.boldgrid-active-palette').first().attr('data-color-palette-format')},b.bindActiveColorClick=function(){C.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){o.stopPropagation(),b.activate_color(null,g(this),!0)})}},"./node_modules/@boldgrid/controls/src/controls/color/js/generate.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}var r=Math.floor;a.d(o,'a',function(){return m}),a.d(o,'b',function(){return m});var l=a('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js'),s=a('./node_modules/color-js/color.js'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),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},p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=window.jQuery,g={},m=function(){function e(){n(this,e),this.contrast={light:'#1a1a1a',dark:'#ffffff'},this.colorSchemeMethods=['fiveToneAScheme','fiveToneBScheme','fiveToneCScheme','fiveToneDScheme','fiveToneEScheme','neutralScheme','neutralScheme','neutralScheme','analogousScheme','analogousScheme','analogousScheme'],this.internalPalettes=['monochromatic','intesity_and_hue','complementaryScheme','splitComplementaryScheme','splitComplementaryCWScheme','triadicScheme','tetradicScheme'],this.fillPaletteActions=['compliment','blend','copy'],this.methods=['saturateByAmount','lightenByAmount','shiftHue'],this.neutralColors=['#FFFFF2','#FBF5E6','#FFFFFF','#F6F9ED','#FDFDF0','#EBECE4','#ECF1EF','#FFFFFE','#FCF6CF','#FEFFEF','#FFFFFD','#FFFFF3','#FEF1E9','#FEF6E4','#EEF3E2','#292929','#4d4d4d','#1a1a1a']}var o=Math.abs;return p(e,[{key:'getRandomColor',value:function(){for(var e=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'],o='#',a=0;6>a;a++)o+=e[r(16*Math.random())];return o}},{key:'getContrast',value:function(e){var o=i()(e),a=this.contrast.light,n=o.getLightness();return 0.5>n&&(a=this.contrast.dark),a}},{key:'generateNeutralColor',value:function(e){var o=Math.random(),a=null,n,r;return o>0.5?(n=_.sample(e),r=i()(n),a=r.setLightness(0.9).toCSS()):a=_.sample(this.neutralColors),a}},{key:'colorDiff',value:function(e,a){e=i()(e).toHSL(),a=i()(a).toHSL();var n=e.hue-a.hue,r=e.saturation-a.saturation,l=e.lightness-a.lightness,s=o(n)/360,d=o(r),c=o(l);return{hue:n,saturationDiff:r,lightnessDiff:l,totalPercentageDiff:s+d+c}}},{key:'findMatches',value:function(e){var o={};return u.each(e,function(a,n){u.each(e,function(e,r){r===n&&e!==a&&(!o[r]&&(o[r]=[]),-1===o[r].indexOf(a)&&o[r].push(a),-1===o[r].indexOf(e)&&o[r].push(e))})}),o}},{key:'arrayMove',value:function(e,o,a){if(o>=e.length)for(var n=o-e.length;n--+1;)e.push(void 0);return e.splice(o,0,e.splice(a,1)[0]),e}},{key:'findRelations',value:function(e){var o=[],a;return a=this.findMatches(e),!1===u.isEmptyObject(a)&&u.each(a,function(){o.push({type:'match',values:this})}),o}},{key:'determineRelations',value:function(e){var o=this,a={},n=[],r=this.findRelations(e.samplePalette);return u.each(r,function(){var o=!0;u.each(this.values,function(){if(e.partialPalette[this])return o=!1,!1}),o&&n.push(this)}),n.length?a={type:'samplePalette',relationsData:n}:_.each(e.additionalSamplePalattes,function(e){if(n=o.findRelations(e),n.length)return a={type:'additionalSamplePalattes',relationsData:n},!1}),a}},{key:'applyRelationships',value:function(e,o,a){var n=e.slice(0);return u.each(o.relationsData,function(){var e=this,o=!1;'match'===e.type&&(u.each(e.values,function(){var e=a.indexOf(this);-1!==e&&(o=this)}),!1===o&&(o=e.values[r(Math.random()*e.values.length)]),u.each(e.values,function(){n[this]=n[o]}))}),n}},{key:'findLockedIndexes',value:function(e){var o=[];return u.each(e,function(e){this&&o.push(e)}),o}},{key:'determineRelationalCount',value:function(e,o){var a;return a=2/3,'additionalSamplePalattes'===e&&(a=1/3),r(o*a)}},{key:'findPalettesByColor',value:function(e){var a=this,n=[],r,l;return l=function(){return d.a[this.paletteIndex].slice(0)},_.each(d.a,function(o,r){_.each(o,function(o,s){var i=a.colorDiff(o,e);if(!(16<i.hue)){var d={paletteIndex:r,colorIndex:s,distance:i,getPalette:l};n.push(d)}})}),r=function(e,a){return o(e.distance.totalPercentageDiff)>o(a.distance.totalPercentageDiff)?1:o(e.distance.totalPercentageDiff)<o(a.distance.totalPercentageDiff)?-1:0},n.sort(r),n}},{key:'generatePaletteCollection',value:function(e,o){o||(o=5);for(var a=this.determineRelations(e),n=this.findLockedIndexes(e.partialPalette),r=this.determineRelationalCount(a.type,o),l=[],s=0,i;s<o;s++)if(i=this.generatePalette(e),'object'===('undefined'==typeof i?'undefined':c(i))&&i.length){var d='samplePalette'===a.type&&s<r||'additionalSamplePalattes'===a.type&&s>=o-r;d&&(i=this.applyRelationships(i,a,n)),i=this.fixLockedIndex(i,e.partialPalette),l.push(i)}return l}},{key:'fixLockedIndex',value:function(e,o){return u.each(o,function(o){this&&(e[o]=this)}),e}},{key:'generatePalette',value:function(e){var o=[],a=this.partialPaletteIntoColorsPalette(e.partialPalette),n=this.isPaletteEmpty(a.palette);if(n)o=this.getPaletteFromStaticList(a.palette);else if(1<a.generateKeys.length){var l=this.generatePaletteFromPartial(a.palette);o=this.randomizePalette(l,a.unchangedKeys)}else{var s=a.palette[a.generateKeys[0]];if(s.toCSS()!==g.color&&(g.color=s.toCSS(),g.palettes=this.findPalettesByColor(g.color),g.paletteCounter=0),g.palettes[g.paletteCounter])o=g.palettes[g.paletteCounter].getPalette(),o=this.arrayMove(o,a.generateKeys[0],this.colorIndex),o=this.truncateGeneratedPalette(o,a.palette),g.paletteCounter++;else{var i=r(3*Math.random())+1;if(1===i){var d=internalPalettes[r(Math.random()*internalPalettes.length)],c=new Palettes;o=c[d](s)}else if(2===i){var p=colorSchemeMethods[r(Math.random()*colorSchemeMethods.length)];o=s[p]()}else{var m=this.randomArray(4,5);m.unshift(0),o=s.schemeFromDegrees(m)}o=this.randomizePalette(o,[0]),o=this.formatPaletteToUnchanged(o,a.generateKeys[0]),o=this.truncateGeneratedPalette(o,a.palette)}}var b=o.slice(0);return u.each(a.unchangedKeys,function(){b[this]=e.partialPalette[this]}),b}},{key:'truncateGeneratedPalette',value:function(e,o){for(var a=[],n=0;n<o.length;n++)a.push(e[n]);return a}},{key:'formatPaletteToUnchanged',value:function(e,o){var a=e[0],n={};return n[o]=a,n[0]=e[o],u.each(e,function(e){0===e||e!==o&&(n[e]=this)}),n=u.map(n,function(e){return[e]}),n}},{key:'partialPaletteIntoColorsPalette',value:function(e){var o=[],a=[],n=[];return u.each(e,function(e){if(this){var r=i()(this);0.9>r.getLightness()&&0.1<r.getLightness()&&0.15<r.getSaturation()?(o.push(r),n.push(e)):o.push(null),a.push(e)}else o.push(null)}),{palette:o,unchangedKeys:a,generateKeys:n}}},{key:'getPaletteFromStaticList',value:function(e){for(var o=[],a=0,n;2>a;a++){if(n=d.a[r(Math.random()*d.a.length)],n.length>=e.length)if(n.length>e.length)for(var l=0;l<e.length;l++)o.push(n[l]);else n.length===e.length&&(o=n);o.length&&(a=2)}return o}},{key:'isPaletteEmpty',value:function(e){var o=!0;return u.each(e,function(){if(this)return o=!1,!1}),o}},{key:'getGrey',value:function(){var e=i()('#FFFFFF');return e.setBlue(0).setRed(0).setGreen(0).setLightness(Math.random()).toCSS()}},{key:'colorArrayToCss',value:function(e){var o=[];return u.each(e,function(e){5<e&&o.push(this.toCSS())}),o}},{key:'generatePaletteFromPartial',value:function(e){var o=this,a=[];u.each(e,function(e,o){o&&a.push(o)});var n=[];return _.each(e,function(e){if(!e){var r=_.sample(o.fillPaletteActions),l=_.sample(a),s=_.sample(a),i;i='compliment'===r?l.shiftHue(180):'blend'===r?l.blend(s,0.5):l,n.push(i)}else n.push(e)}),n}},{key:'randomizePalette',value:function(e,o){var a=this,n=[];return u.each(e,function(e,l){if(5<=e)return!1;if(-1!==o.indexOf(e))return void n.push(l.toCSS());for(var s=0;2>s;s++){var i=void 0,d=_.sample(a.methods);i='shiftHue'===d?r(45*Math.random())+1-23:(r(20*Math.random())+1)/100,l=l[d](i),1===s&&n.push(l.toCSS())}}),n}},{key:'randomArray',value:function(e,o){for(var a=[],n=45*o,l=0;l<e;l++)a.push(r(Math.random()*n)+1-n/2);return a}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/material.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return i});var r=a('./node_modules/google-material-color-palette-json/lib/palette.js'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=function(){function e(){n(this,e),this.paletteLayoutShades=['500','900','100','#eeeeee','#131313'],this.availableColors=_.without(_.keys(l.a),'black','white')}return s(e,[{key:'getRandomPalette',value:function(){var e=_.sample(this.availableColors);return this.getPalette(e)}},{key:'getPalette',value:function(e){var o=[],a=!0,n=!1,r;try{for(var s=this.paletteLayoutShades[Symbol.iterator](),i,d;!(a=(i=s.next()).done);a=!0)d=i.value,-1===d.indexOf('#')?-1===['black','white','#eeeeee'].indexOf(d)?o.push(l.a[e]['shade_'+d]):o.push(l.a[d]):o.push(d)}catch(e){n=!0,r=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw r}}return o}},{key:'getAllPalettes',value:function(){var e=[],o=!0,a=!1,n;try{for(var r=this.availableColors[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e.push(this.getPalette(s))}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e)}return r(e,[{key:'monochromatic',value:function(e){var o=[e,e.lightenByAmount(0.3),e.darkenByAmount(0.1),e.saturateByAmount(0.5),e.lightenByAmount(0.2)];return o}},{key:'intesityAndHue',value:function(e){var o=[e,e.shiftHue(20).lightenByAmount(0.15),e.shiftHue(-20).darkenByAmount(0.2),e.shiftHue(-33).darkenByAmount(0.25),e.shiftHue(10).lightenByAmount(0.05)];return o}},{key:'complementaryScheme',value:function(e){var o=[e,e.shiftHue(180),e.shiftHue(180).lightenByAmount(0.25),e.darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryScheme',value:function(e){var o=[e,e.shiftHue(150),e.shiftHue(320),e.shiftHue(320).darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryCWScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(210),e.darkenByAmount(0.1),e.shiftHue(60).darkenByAmount(0.15)];return o}},{key:'triadicScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(240),e.shiftHue(60).lightenByAmount(0.2),e.lightenByAmount(0.15)];return o}},{key:'tetradicScheme',value:function(e){var o=[e,e.shiftHue(90),e.shiftHue(180),e.shiftHue(270),e.saturateByAmount(-0.25)];return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return g}),a.d(o,'b',function(){return g});var r=a('./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),i=a('./node_modules/@boldgrid/controls/src/controls/color/js/config.js'),d=a('./node_modules/@boldgrid/controls/src/controls/color/js/button.js'),c=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=window.jQuery,g=function(){function e(o){n(this,e),this.preloadedFiles=!1,this.initialCompilesDone=!1,this.initialCompileCount=0,this.configs=_.defaults(o||{},{sassFiles:[],defaultSassFiles:['color-palette-scss/classes/color-classes.scss']}),this.configs.sassFiles=this.configs.sassFiles.concat(this.configs.defaultSassFiles),this.sassCompiler=new c.a(this.configs.sass||{}),this.buttonColors=new d.a({sassCompiler:this.sassCompiler})}return p(e,[{key:'init',value:function(){return this._preloadFiles()}},{key:'initialCompiles',value:function(e){var o=this,a=u.Deferred(),n=window.BOLDGRID.COLOR_PALETTE.Modify.getScss();return this.sassCompiler.compile(n,{source:'setup'}).done(function(){e>o.compileCount?(o.compileCount++,o.initialCompiles(e)):(o.initialCompilesDone=!0,a.resolve())}),a}},{key:'setPaletteSettings',value:function(e){this.palettes=this._createPaletteSetting(e),this.formatConfig()}},{key:'formatConfig',value:function(){this.palettes.saved_palettes=this.palettes.saved_palettes||[],this.palettes.palettes=this.palettes.saved_palettes.concat(this.palettes.palettes),this.palettes.hasNeutralColor=this.palettes.palettes[0]['neutral-color']?1:0,this.palettes.colorPaletteColumns=this.palettes['color-palette-size']+this.palettes.hasNeutralColor,this.assignNeutral()}},{key:'assignNeutral',value:function(){var e=!0,o=!1,a;try{for(var n=this.palettes.palettes[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,l['neutral-color']&&l.colors.push(l['neutral-color'])}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'getImportString',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.configs.sassFiles[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e+='@import "'+s+'";'}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'render',value:function(e,o){var a,n;return this.setPaletteSettings(o),n=this._createHtml(),a=u(n),e.append(n),window.BOLDGRID.COLOR_PALETTE.Modify.init(a,{renderer:this}),this.$control=a,a}},{key:'_createHtml',value:function(){var e=a('./node_modules/@boldgrid/controls/src/controls/color/template.html');return _.template(e)({config:this.palettes})}},{key:'_preloadFiles',value:function(){var e=this,o=u.Deferred(),a=this.configs.sassFiles.concat(this.buttonColors.files);return this.sassCompiler.preload(a).done(function(){e.preloadedFiles=!0,o.resolve(a)}),o}},{key:'_createPaletteSetting',value:function(e){var o=new i.a;return e=e?o.mergeDefaults(e):o.createSimpleConfig(),u.extend(!0,{},e)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/selection.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return b});var r=a('./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),c=a('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),p=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),u=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),g=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),m=window.jQuery,b=function(){function e(){n(this,e),this.material=new u.a,this.pageSize=6,this.maxPages=25,this.$control,this.$pagination,this.$selectedPalette,this.currentPage=0,this.currentCount=0,this.pages=[],this.colors=this._createAvailablePalettes(),this._paginatePalettes()}return g(e,[{key:'create',value:function(){return this.$control=m(a('./node_modules/@boldgrid/controls/src/controls/color/template/selection.html')),this.$paletteRows=this.$control.find('.palette-rows'),this.$pagination=this.$control.find('.bg-pagination'),this._bindEvents(),this.updatePage(this.currentPage),this.$control}},{key:'updatePage',value:function(e){this.currentPage=Math.min(e,this.maxPages),this._displayCurrentPage(),this.currPageAttr=this.currentPage,this.maxPages<=this.currentPage&&(this.currPageAttr='last'),this.$pagination.attr('data-page',this.currPageAttr)}},{key:'getSelectedPalette',value:function(){return this.$selectedPalette[0].colors}},{key:'randomSelection',value:function(){var e=this.material.getRandomPalette();return e.push('#FFF'),this._formatPalette(e)}},{key:'_createAvailablePalettes',value:function(){var e=[],o=new p.b,a=_.shuffle(c.a);a=_.union(this.material.getAllPalettes(),a);var n=!0,r=!1,l;try{for(var s=a[Symbol.iterator](),i,d;!(n=(i=s.next()).done);n=!0)d=i.value,d.push('#FFFFFF'),e.push(d)}catch(e){r=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw l}}return e}},{key:'_paginatePalette',value:function(){for(var e=[],o=this.currentCount+this.pageSize,a=this.currentCount;o>a;a++)e.push(this.colors[a]);this.currentCount=this.pageSize+this.currentCount,this.pages.push(e)}},{key:'_paginatePalettes',value:function(){for(var e=0;this.maxPages>=e;e++)this._paginatePalette()}},{key:'_displayCurrentPage',value:function(){var e=this.$paletteRows.find('[data-page-id="'+this.currentPage+'"]');if(this.$paletteRows.find('.palette-row').hide(),e.length)return void e.show();var o=this.pages[this.currentPage],a=!0,n=!1,r;try{for(var l=o[Symbol.iterator](),s;!(a=(s=l.next()).done);a=!0){var i=s.value,d=this._createPaletteRow(i);this.$paletteRows.append(d)}}catch(e){n=!0,r=e}finally{try{!a&&l.return&&l.return()}finally{if(n)throw r}}}},{key:'_bindEvents',value:function(){var e=this;this.$paletteRows.on('click','.palette-row',function(o){e._activate(m(o.currentTarget))}),this.$control.find('.next a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage+1)}),this.$control.find('.prev a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage-1)})}},{key:'_activate',value:function(e){var o=this.$control.find('.selected-palette');this.$selectedPalette=e,o.find('.palette-row').replaceWith(e.clone()),o.addClass('active'),this.$paletteRows.find('.active').removeClass('active'),this.selectedPalette=e.addClass('active'),this.$control.trigger('palette-selection',{palette:this.getSelectedPalette()})}},{key:'_formatPalette',value:function(e){var o=e.pop();return{colors:e,"neutral-color":o}}},{key:'_createPaletteRow',value:function(e){var o=m('<ul class="palette-row" data-page-id="'+this.currentPage+'">'),a=!0,n=!1,r,l;try{for(var s=e[Symbol.iterator](),i,d;!(a=(i=s.next()).done);a=!0)d=i.value,r=m('<li>').css('background-color',d),o.append(r)}catch(e){n=!0,l=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw l}}return o[0].colors=this._formatPalette(e),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js":function(e,o,a){'use strict';var n=a('./node_modules/color-js/color.js'),r=a.n(n),l=window.jQuery,s=l(window),i,d;window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},d=window.BOLDGRID.COLOR_PALETTE.Modify,i=d,d.getPreviewerBody=function(){return i.configs.enableCustomizerTransitions?l(wp.customize.previewer.container).find('iframe').last().contents().find('body'):l()},d.addColorTransition=function(){var e=new Date().getTime(),o;i.configs.enableCustomizerTransitions&&(o=d.getPreviewerBody(),o.addClass('color-palette-transitions duration-long'),i.lastTransitionTime=e,setTimeout(function(){i.lastTransitionTime===e&&o.removeClass('color-palette-transitions duration-long')},600))},d.bindTransitions=function(){i.configs.enableCustomizerTransitions&&i.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){var e=l(this),a=e.css('background-color'),n=!1,c=350,p=0.4,u,g,m,b;i.fadeEffectInProgress||!o.originalEvent||(m=d.getPreviewerBody(),i.hasNeutral&&e.is(':last-of-type')&&(n=!0),g=r()(a),g.getLuminance()>0.5?(u=g.darkenByAmount(p),u=u.toCSS()):(u=g.lightenByAmount(p),u=u.toCSS()),e.css('background-color',u),n&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',u),m.addClass('color-palette-transitions'),d.update_theme_option(),e.css('background-color',a),n&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',a),b=new Date().getTime(),i.fadeEffectInProgress=!0,s.one('boldgrid_sass_compile_done',function(){var e=0,o=new Date().getTime()-b;o<c&&(e=c),s.one('boldgrid_sass_compile_done',function(o,a){setTimeout(function(){d.update_iframe(a),setTimeout(function(){m.removeClass('color-palette-transitions'),i.fadeEffectInProgress=!1},250)},e)}),d.update_theme_option({source:'color_palette_focus'})}))})}},"./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/template.html":function(e){e.exports='<div class="bgctrl-color-palette boldgrid-control"> <h3>Active Palette</h3> <div class="boldgrid-color-palette-wrapper color-palette-columns-<%=config.colorPaletteColumns %>" data-color-formats=\'["<%=config.palette_formats %>"]\' data-has-neutral="<%=config.hasNeutralColor %>" data-num-colors="<%=config.colorPaletteColumns %>"> <%\n\t_.each( config.palettes, function ( palette, name ) { %> <div data-palette-wrapper=true> <ul class=boldgrid-inactive-palette data-is-default="<%= ~~palette.default %>" data-is-active="<%= ~~palette.isActive %>" data-color-palette-format="<%=palette.format %>" data-copy-on-mod="<%= ~~palette.copyOnMod %>" data-palette-id="<%=palette.palette_id %>" <% if ( palette[\'neutral-color\'] ) { %> data-neutral-color="<%= palette[\'neutral-color\'] %>" <% } %> > <li class=boldgrid-palette-colors> <% _.each( palette.colors, function ( color ) { %> <span data-color="<%=color %>" style="background: <%=color %>"></span> <% } ); %> <div class=boldgrid-duplicate-dashicons> <span class="dashicons dashicons-admin-post boldgrid-copy-palette" title="Save Palette"></span> <span class="dashicons dashicons-no boldgrid-remove-palette" title="Remove Palette"></span> </div> </li> </ul> </div> <% } ); %> <div class="palette-action-buttons hidden"> <button class="button button-primary palette-creator-button palette-generator-button" type=button>Suggest Palettes</button> <div class=color-picker data-value=ffffff></div> <input type=textarea class="hidden palette-option-field"/> <div class=generate-palettes-selection-section> <h3>Suggested Palettes</h3> <div class=generated-palettes-container></div> <input type=button class="button cancel-generated-palettes-button" value=Done> </div> <div class=saved-palettes-divider> <h3>Saved Palettes</h3> </div> </div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color/template/selection.html":function(e){e.exports='<div class=palette-selection> <h3>Choose a palette</h3> <p> Your chosen color palette will be used for default color selection. You can fully customize these colors later. </p> <div class=selected-palette> <div class=unselected> Select a Palette Below </div> <div class=selected> <p>Selected Palette</p> <ul class=palette-row> </ul> </div> </div> <div class=palette-rows> </div> <div class=bg-pagination> <div class=prev><a href=#>Previous</a></div> <div class=next><a href=#>Next</a></div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color/index.js');a.d(o,'d',function(){return n.ColorPalette}),a.d(o,'e',function(){return n.Selection}),a.d(o,'h',function(){return n.Config});var r=a('./node_modules/@boldgrid/controls/src/controls/padding/index.js');a.d(o,'g',function(){return r.Padding});var l=a('./node_modules/@boldgrid/controls/src/controls/border/index.js');a.d(o,'a',function(){return l.a});var s=a('./node_modules/@boldgrid/controls/src/controls/margin/index.js');a.d(o,'f',function(){return s.a});var i=a('./node_modules/@boldgrid/controls/src/controls/border-radius/index.js');a.d(o,'b',function(){return i.a});var d=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js');a.d(o,'c',function(){return d.a});var c=a('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),p=a('./node_modules/@boldgrid/controls/src/controls/style/index.js');a.d(o,'i',function(){return p.Updater});({Color:a('./node_modules/@boldgrid/controls/src/controls/color/index.js'),Style:a('./node_modules/@boldgrid/controls/src/controls/style/index.js'),Padding:a('./node_modules/@boldgrid/controls/src/controls/padding/index.js')})},"./node_modules/@boldgrid/controls/src/controls/margin/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/margin/margin.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/margin/margin.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return i});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Margin',name:'margin',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'margin-top'},{name:'right',label:'Right',cssProperty:'margin-right'},{name:'bottom',label:'Bottom',cssProperty:'margin-bottom'},{name:'left',label:'Left',cssProperty:'margin-left'}]},slider:{px:{min:-100,max:100,step:1},"%":{min:-20,max:20,step:0.1},em:{min:-5,max:5,step:0.1}}},a}return l(o,e),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js":function(e,o){'use strict';o.a={defaults:{control:{title:'Universal',linkable:!0,units:{default:'percentage',enabled:['px','percentage','em']},sliders:[{name:'top',label:'Top',cssProperty:'border-top-width'},{name:'right',label:'Right',cssProperty:'border-right-width'},{name:'bottom',label:'Bottom',cssProperty:'border-bottom-width'},{name:'left',label:'Left',cssProperty:'border-left-width'}]},slider:{px:{min:0,max:100},"%":{min:0,max:100},em:{min:0.1,max:5}}}}},"./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return v});var r=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html'),c=a.n(d),p=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js'),u=a('./node_modules/deepmerge/dist/es.js'),g=a('./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg'),m=a.n(g),b=a('./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg'),C=a.n(b),h=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),f=window.jQuery,v=function(){function e(o){if(n(this,e),this.options=o||{},this.slidersLinked=!1,this.$target=this.options.target,this.template=_.template(c.a),!this.$target)throw Error('Your must define a target element')}return h(e,[{key:'mergeDefaultConfigs',value:function(){this.controlOptions=Object(u.a)(p.a.defaults,this.controlOptions,{arrayMerge:function(e,o){return o}})}},{key:'render',value:function(){return this.mergeDefaultConfigs(),this.controlOptions.svg={},this.controlOptions.svg.link=C.a,this.controlOptions.svg.refresh=m.a,this.$control=f(this.template(this.controlOptions)),this.$sliderGroup=this.$control.find('.slider-group'),this.$units=this.$control.find('.unit'),this.$revert=this.$control.find('.refresh'),this._bindUnits(),this.setUnits(this.controlOptions.control.units.default),this._createSliders(),this.$links=this.$control.find('.link'),this._storeDefaultValues(),this._setDefaultLinkedState(),this._bindLinked(),this._bindRevert(),this.$control}},{key:'applySettings',value:function(e){for(var o in this.setUnits(e.unit),e.values){var a=e.values[o];this.sliders[o].$slider.slider('option','value',a)}}},{key:'updateTarget',value:function(e){this.$target=e}},{key:'setUnits',value:function(e){this.$units.filter('[value="'+e+'"]').prop('checked',!0).change()}},{key:'getValues',value:function(){var e={};for(var o in this.sliders)e[o]=this.sliders[o].$slider.slider('value')||0;return e}},{key:'getSliderConfig',value:function(e){var o=this.controlOptions.slider[this.selectedUnit],a=this.convertToSelectedUnit(this.$target.css(e.cssProperty));return o.value=a,o}},{key:'convertToSelectedUnit',value:function(e){var o=parseInt(e),a=o;return'%'===this.selectedUnit?a=new i.a().pxToPercentage(o,this.$target.parent()):'em'===this.selectedUnit&&(a=new i.a().pxToEm(o,this.$target.css('font-size'))),a}},{key:'_createSliders',value:function(){this.sliders={};var e=!0,o=!1,a;try{for(var n=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=n.next()).done);e=!0){var l=r.value,i=void 0;l.uiSettings=this.getSliderConfig(l),i=new s.a(f.extend(!0,{},l)),i.render(),this.$sliderGroup.append(i.$control),i.$input.after('<a class="link" href="#" title="Link all sliders">'+C.a+'</a>'),this.sliders[l.name]=i,this._bindSliderChange(i)}}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'_storeDefaultValues',value:function(){this.defaultValues={unit:this.controlOptions.control.units.default,values:this.getValues()}}},{key:'_bindRevert',value:function(){var e=this;this.$revert.on('click',function(o){o.preventDefault(),e.applySettings(e.defaultValues)})}},{key:'_bindUnits',value:function(){var o=this;this.$control.find('.unit').on('change',function(a){var e=f(a.target);o.selectedUnit=e.val(),o.sliders&&o._unitsChanged()})}},{key:'_unitsChanged',value:function(){var e=this;this.linkedDisabled=!0,this._resetOptions(),setTimeout(function(){e.linkedDisabled=!1})}},{key:'refreshValues',value:function(){var e=this;this.slideChangeDisabled=!0,this._resetOptions(),setTimeout(function(){e.slideChangeDisabled=!1})}},{key:'_resetOptions',value:function(){var e=!0,o=!1,a;try{for(var n=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=n.next()).done);e=!0){var l=r.value,s=this.getSliderConfig(l);this.sliders[l.name].$slider.slider('option',s)}}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'_setDefaultLinkedState',value:function(){if(this.controlOptions.control.linkable){var e=_.unique(_.values(this.getValues()));this.slidersLinked=1===e.length}}},{key:'_bindLinked',value:function(){var e=this;this.slidersLinked&&this.$links.addClass('linked'),this.$links.on('click',function(o){var a=f(o.target).closest('a');o.preventDefault(),a.toggleClass('linked'),e.slidersLinked=a.hasClass('linked'),e.$control.trigger('linked',{isLinked:e.slidersLinked})})}},{key:'_updateLinked',value:function(e){var o=this;this.slidersLinked&&!this.linkedDisabled&&(this.linkedDisabled=!0,_.each(this.sliders,function(o){e!==o&&o.$slider.slider('value',e.$slider.slider('value'))})),setTimeout(function(){o.linkedDisabled=!1})}},{key:'_updateCss',value:function(e){var o={};o[e.options.cssProperty]=e.$slider.slider('value')+this.selectedUnit,this.applyCssRules(o)}},{key:'applyCssRules',value:function(e){this.$target.css(e)}},{key:'_bindSliderChange',value:function(e){var o=this;e.$control.on('slide-change',function(){o.slideChangeDisabled||(o._updateLinked(e),o._updateCss(e))})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e)}return r(e,[{key:'pxToEm',value:function(e,o){var a=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(a=(e/o).toFixed(1)),a}},{key:'pxToPercentage',value:function(e,o){var a=o.width();return 100*(e/a)}},{key:'percentageToPixel',value:function(e,o){var a=o.width();return a*(e/100)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html":function(e){e.exports='<div class="directional-control <%=control.name %>-control boldgrid-control" data-linkable="<%= control.linkable %>"> <h3 class=control-name><%=control.title %><a href=# class=refresh title="Reset to Default"><%= svg.refresh %></a></h3> <p class=units> <% if ( -1 !== control.units.enabled.indexOf( \'px\' ) ) { %> <label title="Pixel Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=px><span>PX</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'em\' ) ) { %> <label title="Em Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=em><span>EM</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'%\' ) ) { %> <label title="Percentage Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=%><span>%</span></label> <% } %> </p> <div class=slider-group> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/padding/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/padding/padding.js');a.d(o,'Padding',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/padding/padding.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return i});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Padding',name:'padding',units:{default:'em',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'padding-top'},{name:'right',label:'Right',cssProperty:'padding-right'},{name:'bottom',label:'Bottom',cssProperty:'padding-bottom'},{name:'left',label:'Left',cssProperty:'padding-left'}]},slider:{px:{min:0,max:100,step:1},"%":{min:0,max:20,step:0.1},em:{min:0,max:5,step:0.1}}},a}return l(o,e),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/slider/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/@boldgrid/controls/src/controls/slider/template.html'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/slider/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(o){n(this,e),this.options=_.defaults(o||{},{name:'slider-name',label:'Slider Title',uiSettings:{min:0,max:100}}),this.template=_.template(l.a)}return d(e,[{key:'render',value:function(){return this.$control=c(this.template(this.options)),this.$input=this.$control.find('input'),this.$slider=this.$control.find('.slider'),this._bindInput(),this._bindSlider(),this.$control}},{key:'_bindInput',value:function(){var e=this;this.$input.on('input',function(){var o=e.$input.val();o=Math.min(e.$input.val(),e.$slider.slider('option','max')),o=Math.max(o,e.$slider.slider('option','min')),e.$input.val(o),e.$slider.slider('value',o)})}},{key:'_updateInput',value:function(){this.$input.val(this.$slider.slider('value'))}},{key:'getSliderConfig',value:function(){return this.options.uiSettings}},{key:'_bindSlider',value:function(){var e=this;this.$slider.slider(_.defaults(this.getSliderConfig(this.$slider.data('name')),{animate:'fast',slide:function(){return e._onSliderChange()},change:function(){return e._onSliderChange()}})),this._updateInput(this.$slider)}},{key:'_onSliderChange',value:function(){this._updateInput(this.$slider),this.$control.trigger('slide-change',{name:this.options.name,value:this.$slider.slider('value')})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/slider/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/slider/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/slider/template.html":function(e){e.exports='<div class="boldgrid-control slider-control"> <label><%= label %></label> <div class=slider-wrap> <div class=slider data-name="<%= name %>"></div> <input class=number type=number name="<%= name %>"> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/style/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js');a.d(o,'SassCompiler',function(){return n.a});var r=a('./node_modules/@boldgrid/controls/src/controls/style/js/updater.js');a.d(o,'Updater',function(){return r.a})},"./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return c});var r=a('./node_modules/sass.js/dist/sass.js'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=window.jQuery,d=d||{};d.Sass=d.Sass||{};var c=function(){function e(o){return n(this,e),d.Sass&&d.Sass.instance?d.Sass.instance:void this.init(o)}return s(e,[{key:'init',value:function(e){this.instance=this,this.options=_.defaults(e||{},{enableLogging:!1,basePath:'../scss/',workerURL:'./static/sass.worker.js'}),this.processing=!1,this.compileCount=0,this.log={},this.$window=i(window),this.compileDone=i.Event('boldgrid_sass_compile_done'),l.a.setWorkerUrl(this.options.workerURL),this.compiler=new l.a(this.options.workerURL),this.compiler.options({comments:!1,indent:'',linefeed:'',style:l.a.style.compressed}),d.Sass=this}},{key:'compile',value:function(e,o){var a=this,n=i.Deferred();return o=o||{},this.processing=!0,this.compileCount++,this.options.enableLogging&&(this.log.startTime=new Date().getTime()),this.compiler.compile(e,function(r){var l={result:r,scss:e,source:o.source,options:o};a.processing=!1,0!==r.status&&console.error(r.formatted),'setup'!==l.source&&a.$window.trigger(a.compileDone,l),a.outputLogs(r,e),n.resolve(l)}),n}},{key:'outputLogs',value:function(e,o){if(this.options.enableLogging){var a;this.log.endTime=new Date().getTime(),a=this.log.endTime-this.log.startTime,console.log(a,' milliseconds'),console.log(e),console.log(o)}}},{key:'resetCompiler',value:function(){50<this.compileCount&&(this.compileCount=0,l.a.setWorkerUrl(this.options.workerURL),this.compiler&&(this.compiler.destroy(),this.compiler=null),this.compiler=new l.a(this.options.workerURL))}},{key:'preload',value:function(e){var o=i.Deferred();return this.compiler.preloadFiles(this.options.basePath,'',e,function(e){o.resolve(e)}),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/style/js/updater.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=jQuery,s=function(){function e(o){n(this,e),this.$head=l(o).find('head'),this.registeredStyles=[],this.stylesState=[]}return r(e,[{key:'setup',value:function(){this._loadStyles()}},{key:'getStylesheetCss',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.stylesState[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e+=s.css}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'register',value:function(e){if(!e.id)throw'Register Sass: Must Provide Name value.';return this.registeredStyles.push(_.defaults(e,{priority:50})),_.last(this.registeredStyles)}},{key:'loadSavedConfig',value:function(e){e=JSON.parse(JSON.stringify(e));var o=!0,a=!1,n;try{for(var r=e[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,this.register(s)}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}}},{key:'update',value:function(e){var o=_.find(this.stylesState,function(o){return o.id===e.id});o||(o=this._createState(e)),o.$tag.html(e.css),o.css=e.css,o.scss=e.scss}},{key:'addAllStyles',value:function(){var e=!0,o=!1,a;try{for(var n=this.stylesState[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,l.$tag=this.createStyleTag(l.id),l.$tag.html(l.css),this.$head.append(l.$tag)}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'createStyleTag',value:function(e){return l('<style type="text/css" id="'+e+'"></style>')}},{key:'_loadStyles',value:function(){var e=!0,o=!1,a;try{for(var n=this.registeredStyles[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,this._pushComponent(l)}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}this._sort(),this.addAllStyles()}},{key:'_pushComponent',value:function(e){this.stylesState.push(e)}},{key:'_createState',value:function(e){return e=this.register(e),this._pushComponent(e),this._sort(),this._insertNewtag(e),e}},{key:'_insertNewtag',value:function(e){var o,a;a=_.findIndex(this.stylesState,function(o){return o.id===e.id}),e.$tag=this.createStyleTag(e.id),o=a-1,-1===o?this.$head.append(e.$tag):this.stylesState[o].$tag.after(e.$tag)}},{key:'_sort',value:function(){this.stylesState=_.sortBy(this.stylesState,'priority')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/@boldgrid/controls/src/controls/switch/template.html'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/switch/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(o){n(this,e),this.options=_.defaults(o||{},{name:_.random(0,1e4),label:'Off / On'}),this.template=_.template(l.a)}return d(e,[{key:'render',value:function(){return this.$element=c(this.template(this.options)),this.$input=this.$element.find('input'),this.$element}},{key:'isEnabled',value:function(){return this.$input.prop('checked')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/switch/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/switch/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/switch/template.html":function(e){e.exports='<div class="bg-control-switch <%=name %>-switch boldgrid-control"> <div class=mdc-switch> <input type=checkbox id="<%=name %>-switch" class=mdc-switch__native-control /> <div class=mdc-switch__background> <div class=mdc-switch__knob></div> </div> </div> <label for="<%=name %>-switch" class=mdc-switch-label><%=label %></label> </div> '},"./node_modules/color-js/color.js":function(e){var o=Math.max,a=Math.min;if('undefined'==typeof n)var n={};n.brehaut||(n.brehaut={}),function(){'use strict';function e(e,a){e=e.toString();for(var n=[],r=0,l=o(a-e.length,0);r<l;r++)n.push('0');return n.push(e),n.join('')}function r(e){return e.slice(0,1).toUpperCase()+e.slice(1)}function l(e){return e.replace(/^\s+|\s+$/g,'')}function s(e){return function(){var o=this.clone();return e.apply(o,arguments),o}}function i(e,o){function a(e){return function(){return e.apply(this[i](),arguments)}}function n(){}function l(){return new n}var s=k(w),d=[],i='to'+r(e);for(var c in o)if(o.hasOwnProperty(c)){s[c]=o[c];var p=s[c];if('_'==c.slice(0,1))continue;if(!(c in w)&&'function'==typeof p)w[c]=a(p);else if('function'!=typeof p){d.push(c);var u='get'+r(c),g='set'+r(c);w[u]=a(s[u]=function(e){return function(){return this[e]}}(c)),w[g]=a(s[g]=function(e){return function(o){var a=this.clone();return a[e]=o,a}}(c))}}return n.prototype=s,E[e]=l,s.clone=function(){for(var e=l(),o=0,a=d.length,n;o<a;o++)n=d[o],e[n]=this[n];return e},w[i]=function(){return l()},y.push(s),s}function d(e){return w.fromObject(e)}var c=Math.round,p=Math.pow,u={aliceblue:'#F0F8FF',antiquewhite:'#FAEBD7',aqua:'#00FFFF',aquamarine:'#7FFFD4',azure:'#F0FFFF',beige:'#F5F5DC',bisque:'#FFE4C4',black:'#000000',blanchedalmond:'#FFEBCD',blue:'#0000FF',blueviolet:'#8A2BE2',brown:'#A52A2A',burlywood:'#DEB887',cadetblue:'#5F9EA0',chartreuse:'#7FFF00',chocolate:'#D2691E',coral:'#FF7F50',cornflowerblue:'#6495ED',cornsilk:'#FFF8DC',crimson:'#DC143C',cyan:'#00FFFF',darkblue:'#00008B',darkcyan:'#008B8B',darkgoldenrod:'#B8860B',darkgray:'#A9A9A9',darkgrey:'#A9A9A9',darkgreen:'#006400',darkkhaki:'#BDB76B',darkmagenta:'#8B008B',darkolivegreen:'#556B2F',darkorange:'#FF8C00',darkorchid:'#9932CC',darkred:'#8B0000',darksalmon:'#E9967A',darkseagreen:'#8FBC8F',darkslateblue:'#483D8B',darkslategray:'#2F4F4F',darkslategrey:'#2F4F4F',darkturquoise:'#00CED1',darkviolet:'#9400D3',deeppink:'#FF1493',deepskyblue:'#00BFFF',dimgray:'#696969',dimgrey:'#696969',dodgerblue:'#1E90FF',firebrick:'#B22222',floralwhite:'#FFFAF0',forestgreen:'#228B22',fuchsia:'#FF00FF',gainsboro:'#DCDCDC',ghostwhite:'#F8F8FF',gold:'#FFD700',goldenrod:'#DAA520',gray:'#808080',grey:'#808080',green:'#008000',greenyellow:'#ADFF2F',honeydew:'#F0FFF0',hotpink:'#FF69B4',indianred:'#CD5C5C',indigo:'#4B0082',ivory:'#FFFFF0',khaki:'#F0E68C',lavender:'#E6E6FA',lavenderblush:'#FFF0F5',lawngreen:'#7CFC00',lemonchiffon:'#FFFACD',lightblue:'#ADD8E6',lightcoral:'#F08080',lightcyan:'#E0FFFF',lightgoldenrodyellow:'#FAFAD2',lightgray:'#D3D3D3',lightgrey:'#D3D3D3',lightgreen:'#90EE90',lightpink:'#FFB6C1',lightsalmon:'#FFA07A',lightseagreen:'#20B2AA',lightskyblue:'#87CEFA',lightslategray:'#778899',lightslategrey:'#778899',lightsteelblue:'#B0C4DE',lightyellow:'#FFFFE0',lime:'#00FF00',limegreen:'#32CD32',linen:'#FAF0E6',magenta:'#FF00FF',maroon:'#800000',mediumaquamarine:'#66CDAA',mediumblue:'#0000CD',mediumorchid:'#BA55D3',mediumpurple:'#9370D8',mediumseagreen:'#3CB371',mediumslateblue:'#7B68EE',mediumspringgreen:'#00FA9A',mediumturquoise:'#48D1CC',mediumvioletred:'#C71585',midnightblue:'#191970',mintcream:'#F5FFFA',mistyrose:'#FFE4E1',moccasin:'#FFE4B5',navajowhite:'#FFDEAD',navy:'#000080',oldlace:'#FDF5E6',olive:'#808000',olivedrab:'#6B8E23',orange:'#FFA500',orangered:'#FF4500',orchid:'#DA70D6',palegoldenrod:'#EEE8AA',palegreen:'#98FB98',paleturquoise:'#AFEEEE',palevioletred:'#D87093',papayawhip:'#FFEFD5',peachpuff:'#FFDAB9',peru:'#CD853F',pink:'#FFC0CB',plum:'#DDA0DD',powderblue:'#B0E0E6',purple:'#800080',rebeccapurple:'#663399',red:'#FF0000',rosybrown:'#BC8F8F',royalblue:'#4169E1',saddlebrown:'#8B4513',salmon:'#FA8072',sandybrown:'#F4A460',seagreen:'#2E8B57',seashell:'#FFF5EE',sienna:'#A0522D',silver:'#C0C0C0',skyblue:'#87CEEB',slateblue:'#6A5ACD',slategray:'#708090',slategrey:'#708090',snow:'#FFFAFA',springgreen:'#00FF7F',steelblue:'#4682B4',tan:'#D2B48C',teal:'#008080',thistle:'#D8BFD8',tomato:'#FF6347',turquoise:'#40E0D0',violet:'#EE82EE',wheat:'#F5DEB3',white:'#FFFFFF',whitesmoke:'#F5F5F5',yellow:'#FFFF00',yellowgreen:'#9ACD32'},g='(?:\\+|-)?\\d+',m='(?:\\+|-)?\\d*\\.\\d+',b='(?:'+g+')|(?:'+m+')';g='('+g+')',m='('+m+')',b='('+b+')';var C=b+'%',h='\\s*?',f=new RegExp(['^hsl(a?)\\(',b,',',C,',',C,'(,(',b,'))?\\)$'].join(h)),v=new RegExp(['^rgb(a?)\\(',g,',',g,',',g,'(,(',b,'))?\\)$'].join(h)),D=new RegExp(['^rgb(a?)\\(',C,',',C,',',C,'(,(',b,'))?\\)$'].join(h)),y=[],E={},w;this.object||(this.object=function(e){function o(){}return o.prototype=e,new o});var k=this.object;w={fromObject:function(e){if(!e)return k(w);for(var a=0,n=y.length,r;a<n;a++)if(r=y[a].fromObject(e),r)return r;return k(w)},toString:function(){return this.toCSS()}};var F=null;i('RGB',{red:0,green:0,blue:0,alpha:0,getLuminance:function(){return 0.2126*this.red+0.7152*this.green+0.0722*this.blue},blend:function(e,n){e=e.toRGB(),n=a(o(n,0),1);var r=this.clone();return r.red=r.red*(1-n)+e.red*n,r.green=r.green*(1-n)+e.green*n,r.blue=r.blue*(1-n)+e.blue*n,r.alpha=r.alpha*(1-n)+e.alpha*n,r},fromObject:function(e){return e instanceof Array?this._fromRGBArray(e):'string'==typeof e?this._fromCSS(l(e)):e.hasOwnProperty('red')&&e.hasOwnProperty('green')&&e.hasOwnProperty('blue')?this._fromRGB(e):void 0},_stringParsers:[function(e){function n(n,r){var l=e.match(n);if(!l||1===!!l[1]+!!l[5])return null;var s=E.RGB();return s.red=a(1,o(0,l[2]/r)),s.green=a(1,o(0,l[3]/r)),s.blue=a(1,o(0,l[4]/r)),s.alpha=l[5]?a(o(parseFloat(l[6]),0),1):1,s}e=l(e);var r=n(v,255);return r?r:n(D,100)},function(e){var o=e.toLowerCase();if(o in u&&(e=u[o]),!!e.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/)){e=e.replace(/^#/,'');var a=e.length/3,n=p(16,a)-1,r=E.RGB();return r.red=parseInt(e.slice(0,a),16)/n,r.green=parseInt(e.slice(1*a,2*a),16)/n,r.blue=parseInt(e.slice(2*a),16)/n,r.alpha=1,r}},function(e){return'transparent'===e.toLowerCase()?F:void 0}],_fromCSS:function(e){for(var o=null,a=0,n=this._stringParsers.length;a<n;a++)if(o=this._stringParsers[a](e),o)return o},_fromRGB:function(e){var o=E.RGB();return o.red=e.red,o.green=e.green,o.blue=e.blue,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_fromRGBArray:function(e){var n=E.RGB();return n.red=o(0,a(1,e[0]/255)),n.green=o(0,a(1,e[1]/255)),n.blue=o(0,a(1,e[2]/255)),n.alpha=void 0===e[3]?1:o(0,a(1,e[3])),n},toCSSHex:function(o){o=o||2;var a=p(16,o)-1,n=['#',e(c(this.red*a).toString(16).toUpperCase(),o),e(c(this.green*a).toString(16).toUpperCase(),o),e(c(this.blue*a).toString(16).toUpperCase(),o)];return n.join('')},toCSS:function(e){if(1===this.alpha)return this.toCSSHex(e);var n=255,r=['rgba(',o(0,a(n,c(this.red*n))),',',o(0,a(n,c(this.green*n))),',',o(0,a(n,c(this.blue*n))),',',o(0,a(1,this.alpha)),')'];return r.join('')},toHSV:function(){var e=E.HSV(),n,r,l;return n=a(this.red,this.green,this.blue),r=o(this.red,this.green,this.blue),e.value=r,l=r-n,0==l?e.hue=e.saturation=0:(e.saturation=l/r,e.hue=this.red==r?(this.green-this.blue)/l:this.green==r?2+(this.blue-this.red)/l:4+(this.red-this.green)/l,e.hue=(60*e.hue+360)%360),e.alpha=this.alpha,e},toHSL:function(){return this.toHSV().toHSL()},toRGB:function(){return this.clone()}}),F=w.fromObject({red:0,blue:0,green:0,alpha:0}),i('HSV',{hue:0,saturation:0,value:1,alpha:1,shiftHue:s(function(e){var o=(this.hue+e)%360;0>o&&(o=(360+o)%360),this.hue=o}),devalueByAmount:s(function(e){this.value=a(1,o(this.value-e,0))}),devalueByRatio:s(function(e){this.value=a(1,o(this.value*(1-e),0))}),valueByAmount:s(function(e){this.value=a(1,o(this.value+e,0))}),valueByRatio:s(function(e){this.value=a(1,o(this.value*(1+e),0))}),desaturateByAmount:s(function(e){this.saturation=a(1,o(this.saturation-e,0))}),desaturateByRatio:s(function(e){this.saturation=a(1,o(this.saturation*(1-e),0))}),saturateByAmount:s(function(e){this.saturation=a(1,o(this.saturation+e,0))}),saturateByRatio:s(function(e){this.saturation=a(1,o(this.saturation*(1+e),0))}),schemeFromDegrees:function(e){for(var o=[],a=0,n=e.length,r;a<n;a++)r=this.clone(),r.hue=(this.hue+e[a])%360,o.push(r);return o},complementaryScheme:function(){return this.schemeFromDegrees([0,180])},splitComplementaryScheme:function(){return this.schemeFromDegrees([0,150,320])},splitComplementaryCWScheme:function(){return this.schemeFromDegrees([0,150,300])},splitComplementaryCCWScheme:function(){return this.schemeFromDegrees([0,60,210])},triadicScheme:function(){return this.schemeFromDegrees([0,120,240])},clashScheme:function(){return this.schemeFromDegrees([0,90,270])},tetradicScheme:function(){return this.schemeFromDegrees([0,90,180,270])},fourToneCWScheme:function(){return this.schemeFromDegrees([0,60,180,240])},fourToneCCWScheme:function(){return this.schemeFromDegrees([0,120,180,300])},fiveToneAScheme:function(){return this.schemeFromDegrees([0,115,155,205,245])},fiveToneBScheme:function(){return this.schemeFromDegrees([0,40,90,130,245])},fiveToneCScheme:function(){return this.schemeFromDegrees([0,50,90,205,320])},fiveToneDScheme:function(){return this.schemeFromDegrees([0,40,155,270,310])},fiveToneEScheme:function(){return this.schemeFromDegrees([0,115,230,270,320])},sixToneCWScheme:function(){return this.schemeFromDegrees([0,30,120,150,240,270])},sixToneCCWScheme:function(){return this.schemeFromDegrees([0,90,120,210,240,330])},neutralScheme:function(){return this.schemeFromDegrees([0,15,30,45,60,75])},analogousScheme:function(){return this.schemeFromDegrees([0,30,60,90,120,150])},fromObject:function(e){if(e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('value')){var o=E.HSV();return o.hue=e.hue,o.saturation=e.saturation,o.value=e.value,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o}return null},_normalise:function(){this.hue%=360,this.saturation=a(o(0,this.saturation),1),this.value=a(o(0,this.value)),this.alpha=a(1,o(0,this.alpha))},toRGB:function(){this._normalise();var e=E.RGB(),o,a,n,r,l;if(0===this.saturation)return e.red=this.value,e.green=this.value,e.blue=this.value,e.alpha=this.alpha,e;var s=this.hue/60;switch(o=Math.floor(s),a=s-o,n=this.value*(1-this.saturation),r=this.value*(1-this.saturation*a),l=this.value*(1-this.saturation*(1-a)),o){case 0:e.red=this.value,e.green=l,e.blue=n;break;case 1:e.red=r,e.green=this.value,e.blue=n;break;case 2:e.red=n,e.green=this.value,e.blue=l;break;case 3:e.red=n,e.green=r,e.blue=this.value;break;case 4:e.red=l,e.green=n,e.blue=this.value;break;default:e.red=this.value,e.green=n,e.blue=r;}return e.alpha=this.alpha,e},toHSL:function(){this._normalise();var e=E.HSL();e.hue=this.hue;var o=(2-this.saturation)*this.value,a=this.saturation*this.value;return o&&2-o&&(a/=1>=o?o:2-o),o/=2,e.saturation=a,e.lightness=o,e.alpha=this.alpha,e},toHSV:function(){return this.clone()}}),i('HSL',{hue:0,saturation:0,lightness:0,alpha:1,darkenByAmount:s(function(e){this.lightness=a(1,o(this.lightness-e,0))}),darkenByRatio:s(function(e){this.lightness=a(1,o(this.lightness*(1-e),0))}),lightenByAmount:s(function(e){this.lightness=a(1,o(this.lightness+e,0))}),lightenByRatio:s(function(e){this.lightness=a(1,o(this.lightness*(1+e),0))}),fromObject:function(e){return'string'==typeof e?this._fromCSS(e):e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('lightness')?this._fromHSL(e):void 0},_fromCSS:function(e){var n=l(e).match(f);if(!n||1===!!n[1]+!!n[5])return null;var r=E.HSL();return r.hue=(n[2]%360+360)%360,r.saturation=o(0,a(parseInt(n[3],10)/100,1)),r.lightness=o(0,a(parseInt(n[4],10)/100,1)),r.alpha=n[5]?o(0,a(1,parseFloat(n[6]))):1,r},_fromHSL:function(e){var o=E.HSL();return o.hue=e.hue,o.saturation=e.saturation,o.lightness=e.lightness,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_normalise:function(){this.hue=(this.hue%360+360)%360,this.saturation=a(o(0,this.saturation),1),this.lightness=a(o(0,this.lightness)),this.alpha=a(1,o(0,this.alpha))},toHSL:function(){return this.clone()},toHSV:function(){this._normalise();var e=E.HSV();e.hue=this.hue;var o=2*this.lightness,a=this.saturation*(1>=o?o:2-o);return e.value=(o+a)/2,e.saturation=2*a/(o+a)||0,e.alpha=this.alpha,e},toRGB:function(){return this.toHSV().toRGB()}}),d.isValid=function(e){var o=d(e),a=0,n;for(n in o)o.hasOwnProperty(n)&&a++;return 0<a},n.brehaut.Color=d}.call(n.brehaut),e.exports=n.brehaut.Color},"./node_modules/deepmerge/dist/es.js":function(e,o){'use strict';function a(e){return!!e&&'object'===('undefined'==typeof e?'undefined':p(e))}function n(e){var o=Object.prototype.toString.call(e);return'[object RegExp]'===o||'[object Date]'===o||r(e)}function r(e){return e.$$typeof===m}function l(e){return Array.isArray(e)?[]:{}}function s(e,o){var a=!o||!1!==o.clone;return a&&u(e)?c(l(e),e,o):e}function i(e,o,a){return e.concat(o).map(function(e){return s(e,a)})}function d(e,o,a){var n={};return u(e)&&Object.keys(e).forEach(function(o){n[o]=s(e[o],a)}),Object.keys(o).forEach(function(r){n[r]=u(o[r])&&e[r]?c(e[r],o[r],a):s(o[r],a)}),n}function c(e,o,a){var n=Array.isArray(o),r=Array.isArray(e);if(!(n===r))return s(o,a);if(n){var l=(a||{arrayMerge:i}).arrayMerge||i;return l(e,o,a)}return d(e,o,a)}var p='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},u=function(e){return a(e)&&!n(e)},g='function'==typeof Symbol&&Symbol.for,m=g?Symbol.for('react.element'):60103;c.all=function(e,o){if(!Array.isArray(e))throw new Error('first argument should be an array');return e.reduce(function(e,a){return c(e,a,o)},{})};o.a=c},"./node_modules/fourpan/jquery.fourpan.js":function(){var e=Math.max;(function(o){'use strict';o.fourpan||(o.fourpan=function(a,n){var r=this;if(!o.fourpan.initiated){var l;a?(l=o(a).find('html'),!l.length&&(l=o(a).closest('html'))):l=o('html');var s='fourpan-overlays',i=!1,d={},c=o.extend({},o.fourpan.defaultOptions,n),p=s+' '+c.overlay_classes,u=o('<div class="forpan-close-button">Close</div>');u.css({position:'absolute',"z-index":'10000',"font-size":'16px',background:'rgb(213, 78, 33)',"border-radius":'25px',padding:'8px 15px',color:'white',display:'none'}).on('mouseenter',function(){o(this).css({"background-color":'#f95b26',cursor:'pointer'})}).on('mouseleave',function(){o(this).css({"background-color":'rgb(213, 78, 33)',cursor:'default'})}),l.append(u);var g=function(){d[c.id_prefix+'-top']={},d[c.id_prefix+'-right']={},d[c.id_prefix+'-bottom']={},d[c.id_prefix+'-left']={},o.fourpan.initiated=!0,m(),C()},m=function(){o.each(d,function(e){var o=l.find('#'+e);o.length?d[e]=o:(o=b(e),d[e]=o)})},b=function(e){var a=o('<div id="'+e+'" class="'+p+'"></div>');return l.append(a),a},C=function(){l.find('.'+s).add(u).on('click',h),l.keyup(function(o){27===o.keyCode&&h()})},h=function(){l.find('.'+s).add(u).fadeOut(),i=!1,c.deactivate(),D()},f=function(){var e=l.find('.'+s);e.css({position:'absolute',top:'0',right:'0',bottom:'0',left:'0',"z-index":'9999',"background-color":c.color}),i=!0};o.fourpan.dismiss=function(){h()};var v=function(){l.find('body').on('DOMSubtreeModified.fourpan',function(e){r.time=e.timeStamp,setTimeout(function(){var e=new Date().getTime();(!r.last_event||r.last_event<e-250)&&(r.last_event=e,o.fourpan.refresh())},250)})},D=function(){l.find('body').off('.fourpan')},y=function(o,a,n,r){0<a&&u.hide();var i=o[0].getBoundingClientRect();d[c.id_prefix+'-top'].stop().animate({height:e(i.top-n,0)},a),d[c.id_prefix+'-right'].stop().animate({top:e(i.top-n,0),left:i.left+o.outerWidth()+n},a),d[c.id_prefix+'-bottom'].stop().animate({top:i.top+o.outerHeight()+n,width:i.left+o.outerWidth()+n},a);var p=e(i.top-n,0)-(i.top-n);d[c.id_prefix+'-left'].stop().animate({width:e(i.left-n,0),top:e(i.top-n,0),height:o.outerHeight()+2*n-p},{duration:a,complete:function(){r&&u.css({left:i.left+(o.outerWidth()+n)/2-35,top:i.top+o.outerHeight()+n+20}).fadeIn(),l.find('.'+s).fadeIn()}})};return o.fourpan.highlight=function(e){var a;if(e instanceof jQuery){if(1<e.length||!e.length)return!1;a=e}else a=o(e);return 1===a.length&&a.is(':visible')?(o.fourpan.$recent_highlight=a,i||(f(),c.activate(),v(),l.find('.'+s).hide()),y(a,c.transition_speed,c.element_padding,!0),!0):(h(),!1)},o.fourpan.refresh=function(){i&&(l.find(o.fourpan.$recent_highlight).length?(y(o.fourpan.$recent_highlight,0,c.element_padding,!0),r.last_event=new Date().getTime()):h())},g(),l}},o.fourpan.defaultOptions={id_prefix:'fourpan-overlay',overlay_classes:'',color:'rgba(0,0,0,.7)',transition_speed:1e3,element_padding:20,activate:function(){},deactivate:function(){}},o.fn.fourpan=function(e){return this.each(function(){new o.fourpan(this,e)})})})(jQuery)},"./node_modules/google-material-color-palette-json/lib/palette.js":function(e){e.exports={red:{shade_50:'#ffebee',shade_100:'#ffcdd2',shade_200:'#ef9a9a',shade_300:'#e57373',shade_400:'#ef5350',shade_500:'#f44336',shade_600:'#e53935',shade_700:'#d32f2f',shade_800:'#c62828',shade_900:'#b71c1c',shade_A100:'#ff8a80',shade_A200:'#ff5252',shade_A400:'#ff1744',shade_A700:'#d50000'},pink:{shade_50:'#fce4ec',shade_100:'#f8bbd0',shade_200:'#f48fb1',shade_300:'#f06292',shade_400:'#ec407a',shade_500:'#e91e63',shade_600:'#d81b60',shade_700:'#c2185b',shade_800:'#ad1457',shade_900:'#880e4f',shade_A100:'#ff80ab',shade_A200:'#ff4081',shade_A400:'#f50057',shade_A700:'#c51162'},purple:{shade_50:'#f3e5f5',shade_100:'#e1bee7',shade_200:'#ce93d8',shade_300:'#ba68c8',shade_400:'#ab47bc',shade_500:'#9c27b0',shade_600:'#8e24aa',shade_700:'#7b1fa2',shade_800:'#6a1b9a',shade_900:'#4a148c',shade_A100:'#ea80fc',shade_A200:'#e040fb',shade_A400:'#d500f9',shade_A700:'#aa00ff'},deepPurple:{shade_50:'#ede7f6',shade_100:'#d1c4e9',shade_200:'#b39ddb',shade_300:'#9575cd',shade_400:'#7e57c2',shade_500:'#673ab7',shade_600:'#5e35b1',shade_700:'#512da8',shade_800:'#4527a0',shade_900:'#311b92',shade_A100:'#b388ff',shade_A200:'#7c4dff',shade_A400:'#651fff',shade_A700:'#6200ea'},indigo:{shade_50:'#e8eaf6',shade_100:'#c5cae9',shade_200:'#9fa8da',shade_300:'#7986cb',shade_400:'#5c6bc0',shade_500:'#3f51b5',shade_600:'#3949ab',shade_700:'#303f9f',shade_800:'#283593',shade_900:'#1a237e',shade_A100:'#8c9eff',shade_A200:'#536dfe',shade_A400:'#3d5afe',shade_A700:'#304ffe'},blue:{shade_50:'#e3f2fd',shade_100:'#bbdefb',shade_200:'#90caf9',shade_300:'#64b5f6',shade_400:'#42a5f5',shade_500:'#2196f3',shade_600:'#1e88e5',shade_700:'#1976d2',shade_800:'#1565c0',shade_900:'#0d47a1',shade_A100:'#82b1ff',shade_A200:'#448aff',shade_A400:'#2979ff',shade_A700:'#2962ff'},lightBlue:{shade_50:'#e1f5fe',shade_100:'#b3e5fc',shade_200:'#81d4fa',shade_300:'#4fc3f7',shade_400:'#29b6f6',shade_500:'#03a9f4',shade_600:'#039be5',shade_700:'#0288d1',shade_800:'#0277bd',shade_900:'#01579b',shade_A100:'#80d8ff',shade_A200:'#40c4ff',shade_A400:'#00b0ff',shade_A700:'#0091ea'},cyan:{shade_50:'#e0f7fa',shade_100:'#b2ebf2',shade_200:'#80deea',shade_300:'#4dd0e1',shade_400:'#26c6da',shade_500:'#00bcd4',shade_600:'#00acc1',shade_700:'#0097a7',shade_800:'#00838f',shade_900:'#006064',shade_A100:'#84ffff',shade_A200:'#18ffff',shade_A400:'#00e5ff',shade_A700:'#00b8d4'},teal:{shade_50:'#e0f2f1',shade_100:'#b2dfdb',shade_200:'#80cbc4',shade_300:'#4db6ac',shade_400:'#26a69a',shade_500:'#009688',shade_600:'#00897b',shade_700:'#00796b',shade_800:'#00695c',shade_900:'#004d40',shade_A100:'#a7ffeb',shade_A200:'#64ffda',shade_A400:'#1de9b6',shade_A700:'#00bfa5'},green:{shade_50:'#e8f5e9',shade_100:'#c8e6c9',shade_200:'#a5d6a7',shade_300:'#81c784',shade_400:'#66bb6a',shade_500:'#4caf50',shade_600:'#43a047',shade_700:'#388e3c',shade_800:'#2e7d32',shade_900:'#1b5e20',shade_A100:'#b9f6ca',shade_A200:'#69f0ae',shade_A400:'#00e676',shade_A700:'#00c853'},lightGreen:{shade_50:'#f1f8e9',shade_100:'#dcedc8',shade_200:'#c5e1a5',shade_300:'#aed581',shade_400:'#9ccc65',shade_500:'#8bc34a',shade_600:'#7cb342',shade_700:'#689f38',shade_800:'#558b2f',shade_900:'#33691e',shade_A100:'#ccff90',shade_A200:'#b2ff59',shade_A400:'#76ff03',shade_A700:'#64dd17'},lime:{shade_50:'#f9fbe7',shade_100:'#f0f4c3',shade_200:'#e6ee9c',shade_300:'#dce775',shade_400:'#d4e157',shade_500:'#cddc39',shade_600:'#c0ca33',shade_700:'#afb42b',shade_800:'#9e9d24',shade_900:'#827717',shade_A100:'#f4ff81',shade_A200:'#eeff41',shade_A400:'#c6ff00',shade_A700:'#aeea00'},yellow:{shade_50:'#fffde7',shade_100:'#fff9c4',shade_200:'#fff59d',shade_300:'#fff176',shade_400:'#ffee58',shade_500:'#ffeb3b',shade_600:'#fdd835',shade_700:'#fbc02d',shade_800:'#f9a825',shade_900:'#f57f17',shade_A100:'#ffff8d',shade_A200:'#ffff00',shade_A400:'#ffea00',shade_A700:'#ffd600'},amber:{shade_50:'#fff8e1',shade_100:'#ffecb3',shade_200:'#ffe082',shade_300:'#ffd54f',shade_400:'#ffca28',shade_500:'#ffc107',shade_600:'#ffb300',shade_700:'#ffa000',shade_800:'#ff8f00',shade_900:'#ff6f00',shade_A100:'#ffe57f',shade_A200:'#ffd740',shade_A400:'#ffc400',shade_A700:'#ffab00'},orange:{shade_50:'#fff3e0',shade_100:'#ffe0b2',shade_200:'#ffcc80',shade_300:'#ffb74d',shade_400:'#ffa726',shade_500:'#ff9800',shade_600:'#fb8c00',shade_700:'#f57c00',shade_800:'#ef6c00',shade_900:'#e65100',shade_A100:'#ffd180',shade_A200:'#ffab40',shade_A400:'#ff9100',shade_A700:'#ff6d00'},deepOrange:{shade_50:'#fbe9e7',shade_100:'#ffccbc',shade_200:'#ffab91',shade_300:'#ff8a65',shade_400:'#ff7043',shade_500:'#ff5722',shade_600:'#f4511e',shade_700:'#e64a19',shade_800:'#d84315',shade_900:'#bf360c',shade_A100:'#ff9e80',shade_A200:'#ff6e40',shade_A400:'#ff3d00',shade_A700:'#dd2c00'},brown:{shade_50:'#efebe9',shade_100:'#d7ccc8',shade_200:'#bcaaa4',shade_300:'#a1887f',shade_400:'#8d6e63',shade_500:'#795548',shade_600:'#6d4c41',shade_700:'#5d4037',shade_800:'#4e342e',shade_900:'#3e2723'},grey:{shade_50:'#fafafa',shade_100:'#f5f5f5',shade_200:'#eeeeee',shade_300:'#e0e0e0',shade_400:'#bdbdbd',shade_500:'#9e9e9e',shade_600:'#757575',shade_700:'#616161',shade_800:'#424242',shade_900:'#212121'},blueGrey:{shade_50:'#eceff1',shade_100:'#cfd8dc',shade_200:'#b0bec5',shade_300:'#90a4ae',shade_400:'#78909c',shade_500:'#607d8b',shade_600:'#546e7a',shade_700:'#455a64',shade_800:'#37474f',shade_900:'#263238'},black:'#000000',white:'#FFFFFF'}},"./node_modules/istyping/jquery.is-typing.js":function(){(function(e){e.fn.is_typing_boldgrid=function(){var o=this,a=e(this);jQuery.Event('end_typing_boldgrid'),jQuery.Event('start_typing_boldgrid');this.is_typing=!1;var n;return e(this).on('keydown is-typing-keydown',function(){o.is_typing||(o.is_typing=!0,a.trigger('start_typing_boldgrid')),n=new Date().getTime();setTimeout(function(e){n===e&&(o.is_typing=!1,a.trigger('end_typing_boldgrid'))},1e3,n)}),this}})(jQuery)},"./node_modules/jquery-slimscroll/jquery.slimscroll.js":function(){var e=Math.max,a=Math.min;(function(n){n.fn.extend({slimScroll:function(r){var l=n.extend({width:'auto',height:'250px',size:'7px',color:'#000',position:'right',distance:'1px',start:'top',opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:'#333',railOpacity:.2,railDraggable:!0,railClass:'slimScrollRail',barClass:'slimScrollBar',wrapperClass:'slimScrollDiv',allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:'7px',railBorderRadius:'7px'},r);return this.each(function(){function o(o){if(C){var o=o||window.event,e=0;o.wheelDelta&&(e=-o.wheelDelta/120),o.detail&&(e=o.detail/3);var a=o.target||o.srcTarget||o.srcElement;n(a).closest('.'+l.wrapperClass).is(b.parent())&&s(e,!0),o.preventDefault&&!m&&o.preventDefault(),m||(o.returnValue=!1)}}function s(o,n,r){m=!1;var s=o,i=b.outerHeight()-$.outerHeight();if(n&&(s=parseInt($.css('top'))+o*parseInt(l.wheelStep)/100*$.outerHeight(),s=a(e(s,0),i),s=0<o?Math.ceil(s):Math.floor(s),$.css({top:s+'px'})),F=parseInt($.css('top'))/(b.outerHeight()-$.outerHeight()),s=F*(b[0].scrollHeight-b.outerHeight()),r){s=o;var d=s/b[0].scrollHeight*b.outerHeight();d=a(e(d,0),i),$.css({top:d+'px'})}b.scrollTop(s),b.trigger('slimscrolling',~~s),c(),p()}function i(e){window.addEventListener?(e.addEventListener('DOMMouseScroll',o,!1),e.addEventListener('mousewheel',o,!1)):document.attachEvent('onmousewheel',o)}function d(){E=e(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),g),$.css({height:E+'px'});var o=E==b.outerHeight()?'none':'block';$.css({display:o})}function c(){if(d(),clearTimeout(D),F!=~~F)m=!1;else if(m=l.allowPageScroll,w!=F){var e=0==~~F?'top':'bottom';b.trigger('slimscroll',e)}return w=F,E>=b.outerHeight()?void(m=!0):void($.stop(!0,!0).fadeIn('fast'),l.railVisible&&O.stop(!0,!0).fadeIn('fast'))}function p(){l.alwaysVisible||(D=setTimeout(function(){l.disableFadeOut&&C||f||v||($.fadeOut('slow'),O.fadeOut('slow'))},1e3))}var u='<div></div>',g=30,m=!1,b=n(this),C,f,v,D,y,E,F,w;if(b.parent().hasClass(l.wrapperClass)){var k=b.scrollTop();if($=b.siblings('.'+l.barClass),O=b.siblings('.'+l.railClass),d(),n.isPlainObject(r)){if('height'in r&&'auto'==r.height){b.parent().css('height','auto'),b.css('height','auto');var B=b.parent().parent().height();b.parent().css('height',B),b.css('height',B)}else if('height'in r){var A=r.height;b.parent().css('height',A),b.css('height',A)}if('scrollTo'in r)k=parseInt(l.scrollTo);else if('scrollBy'in r)k+=parseInt(l.scrollBy);else if('destroy'in r)return $.remove(),O.remove(),void b.unwrap();s(k,!1,!0)}return}if(!(n.isPlainObject(r)&&'destroy'in r)){l.height='auto'==l.height?b.parent().height():l.height;var h=n(u).addClass(l.wrapperClass).css({position:'relative',overflow:'hidden',width:l.width,height:l.height});b.css({overflow:'hidden',width:l.width,height:l.height});var O=n(u).addClass(l.railClass).css({width:l.size,height:'100%',position:'absolute',top:0,display:l.alwaysVisible&&l.railVisible?'block':'none',"border-radius":l.railBorderRadius,background:l.railColor,opacity:l.railOpacity,zIndex:90}),$=n(u).addClass(l.barClass).css({background:l.color,width:l.size,position:'absolute',top:0,opacity:l.opacity,display:l.alwaysVisible?'block':'none',"border-radius":l.borderRadius,BorderRadius:l.borderRadius,MozBorderRadius:l.borderRadius,WebkitBorderRadius:l.borderRadius,zIndex:99}),R='right'==l.position?{right:l.distance}:{left:l.distance};O.css(R),$.css(R),b.wrap(h),b.parent().append($),b.parent().append(O),l.railDraggable&&$.bind('mousedown',function(o){var e=n(document);return v=!0,t=parseFloat($.css('top')),pageY=o.pageY,e.bind('mousemove.slimscroll',function(o){currTop=t+o.pageY-pageY,$.css('top',currTop),s(0,$.position().top,!1)}),e.bind('mouseup.slimscroll',function(){v=!1,p(),e.unbind('.slimscroll')}),!1}).bind('selectstart.slimscroll',function(o){return o.stopPropagation(),o.preventDefault(),!1}),O.hover(function(){c()},function(){p()}),$.hover(function(){f=!0},function(){f=!1}),b.hover(function(){C=!0,c(),p()},function(){C=!1,p()}),b.bind('touchstart',function(o){o.originalEvent.touches.length&&(y=o.originalEvent.touches[0].pageY)}),b.bind('touchmove',function(o){if(m||o.originalEvent.preventDefault(),o.originalEvent.touches.length){var e=(y-o.originalEvent.touches[0].pageY)/l.touchScrollStep;s(e,!0),y=o.originalEvent.touches[0].pageY}}),d(),'bottom'===l.start?($.css({top:b.outerHeight()-$.outerHeight()}),s(0,!0)):'top'!==l.start&&(s(n(l.start).position().top,null,!0),!l.alwaysVisible&&$.hide()),i(this)}}),this}}),n.fn.extend({slimscroll:n.fn.slimScroll})})(jQuery)},"./node_modules/jquery-ui-dist/jquery-ui.structure.css":function(){},"./node_modules/jquery-ui-dist/jquery-ui.theme.css":function(){},"./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass":function(e){e.exports='/**\n * Text Contrast\n * Compares contrast of a given color to the light/dark arguments and returns whichever is most "contrasty"\n */\n@function text-contrast( $color ) {\n\t@if $color == null {\n\t\t@return null;\n\t}\n\t@else {\n\t\t$color-brightness: brightness($color);\n\t\t$light-text-brightness: brightness($light_text);\n\t\t$dark-text-brightness: brightness($dark_text);\n\n\t\t@if (abs($color-brightness - $light-text-brightness) > abs($color-brightness - $dark-text-brightness)) {\n\t\t\t@return $light_text;\n\t\t} @else {\n\t\t\t@return $dark_text;\n\t\t}\n\t}\n}\n@function brightness( $color ) {\n\t@return ((red($color) * .299) + (green($color) * .587) + (blue($color) * .114)) / 255 * 100%;\n}\n\n$ubtn-colors: ();\n@if variable-exists( palette-primary_1 ) {\n\t$text-contrast-palette-primary_1: text-contrast( $palette-primary_1 );\n\t.color1-text-default { color: $text-contrast-palette-primary_1; }\n\t.color-1-text-contrast {\n\t\tcolor: $text-contrast-palette-primary_1 ! important;\n\t}\n\t.color-1-text-contrast-hover {\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: $text-contrast-palette-primary_1 ! important;\n\t\t}\n\t}\n\t$ubtn-colors: append($ubtn-colors,(\'color-1\' $palette-primary_1 $text-contrast-palette-primary_1));\n}\n@if variable-exists( palette-primary_2 ) {\n\t$text-contrast-palette-primary_2: text-contrast( $palette-primary_2 );\n\t.color2-text-default { color: $text-contrast-palette-primary_2; }\n\t.color-2-text-contrast {\n\t\tcolor: $text-contrast-palette-primary_2 ! important;\n\t}\n\t.color-2-text-contrast-hover {\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: $text-contrast-palette-primary_2 ! important;\n\t\t}\n\t}\n\t$ubtn-colors: append($ubtn-colors,(\'color-2\' $palette-primary_2 $text-contrast-palette-primary_2));\n}\n@if variable-exists( palette-primary_3 ) {\n\t$text-contrast-palette-primary_3: text-contrast( $palette-primary_3 );\n\t.color3-text-default { color: $text-contrast-palette-primary_3; }\n\t.color-3-text-contrast,\n\t.color-3-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_3 ! important;\n\t}\n\t@if $text-contrast-palette-primary_3 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-3\' $palette-primary_3 $text-contrast-palette-primary_3));\n\t}\n}\n@if variable-exists( palette-primary_4 ) {\n\t$text-contrast-palette-primary_4: text-contrast( $palette-primary_4 );\n\t.color4-text-default { color: $text-contrast-palette-primary_4; }\n\t.color-4-text-contrast,\n\t.color-4-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_4 ! important;\n\t}\n\t@if $text-contrast-palette-primary_4 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-4\' $palette-primary_4 $text-contrast-palette-primary_4));\n\t}\n}\n@if variable-exists( palette-primary_5 ) {\n\t$text-contrast-palette-primary_5: text-contrast( $palette-primary_5 );\n\t.color5-text-default { color: $text-contrast-palette-primary_5; }\n\t.color-5-text-contrast,\n\t.color-5-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_5 ! important;\n\t}\n\t@if $text-contrast-palette-primary_5 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-5\' $palette-primary_5 $text-contrast-palette-primary_5));\n\t}\n}\n@if variable-exists( palette-primary-neutral-color ) {\n\t$text-contrast-palette-primary-neutral-color: text-contrast( $palette-primary-neutral-color );\n\t.color-neutral-text-default { color: $text-contrast-palette-primary-neutral-color; }\n\t.color-neutral-text-contrast,\n\t.color-neutral-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary-neutral-color ! important;\n\t}\n\t@if $text-contrast-palette-primary-neutral-color != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'neutral-color\' $palette-primary-neutral-color $text-contrast-palette-primary-neutral-color));\n\t}\n}\n\n/*create single css classes to apply palettes on universal elements*/\n$names: color background background-color border-color;\n@for $i from 1 through length( $names ) {\n\t@for $color from 1 through length( $colors ) {\n\t\t.color#{$color}-#{nth( $names, $i )} { #{nth( $names, $i )}: #{nth($colors, $color)} ! important; }\n\t\t.color#{$color}-#{nth($names, $i)}-hover { &:focus, &:hover { #{nth( $names, $i )}: #{nth($colors, $color)} ! important; } }\n\t}\n\t@if variable-exists( palette-primary-neutral-color ) {\n\t\t.color-neutral-#{nth($names, $i)} { #{nth( $names, $i )}: $palette-primary-neutral-color !important; }\n\t}\n}\n'},"./node_modules/sass.js/dist/sass.js":function(e,o){(function(a){var 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},r,l,s;(function(a,n){'use strict';l=[],r=n,s='function'==typeof r?r.apply(o,l):r,!(void 0!==s&&(e.exports=s))})(this,function(){function e(e){if(!e&&!l)throw new Error('Sass needs to be initialized with the URL of sass.worker.js - either via Sass.setWorkerUrl(url) or by new Sass(url)');for(var o in l||(l=e),this)'function'==typeof this[o]&&(this[o]=this[o].bind(this));this._callbacks={},this._worker=new Worker(e||l),this._worker.addEventListener('message',this._handleWorkerMessage,!1)}var o=function(){'use strict';return a;var e=document.currentScript||function(){var e=document.getElementsByTagName('script');return e[e.length-1]}(),o=e&&e.src}()||'.';var n=function(){},r=[].slice,l;e.setWorkerUrl=function(e){l=e},e.style={nested:0,expanded:1,compact:2,compressed:3},e.comments={none:0,default:1},e.prototype={style:e.style,comments:e.comments,destroy:function(){this._worker&&this._worker.terminate(),this._worker=null,this._callbacks={},this._importer=null},_handleWorkerMessage:function(e){e.data.command&&this[e.data.command](e.data.args),this._callbacks[e.data.id]&&this._callbacks[e.data.id](e.data.result),delete this._callbacks[e.data.id]},_dispatch:function(e,o){if(!this._worker)throw new Error('Sass worker has been terminated');e.id='cb'+Date.now()+Math.random(),this._callbacks[e.id]=o,this._worker.postMessage(e)},_importerInit:function(e){var o=function(e){this._worker.postMessage({command:'_importerFinish',args:[e]})}.bind(this);try{this._importer(e[0],o)}catch(a){throw o({error:a.message}),a}},importer:function(e,o){if('function'!=typeof e&&null!==e)throw new Error('importer callback must either be a function or null');this._importer=e,this._worker.postMessage({command:'importer',args:[!!e]}),o&&o()}};return'writeFile readFile listFiles removeFile clearFiles lazyFiles preloadFiles options compile compileFile'.split(' ').forEach(function(o){e.prototype[o]=function(){var e=r.call(arguments,-1)[0],a=r.call(arguments,0,-1);'function'!=typeof e&&(a.push(e),e=n),this._dispatch({command:o,args:a},e)}}),e.setWorkerUrl(o+'/sass.worker.js'),e})}).call(o,'/')},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/background-color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M89.691,49.851c0.056-0.609-0.127-1.217-0.523-1.688L55.216,7.299c-0.813-0.983-2.271-1.114-3.256-0.302l-6.685,5.56 c-13.468-2.367-24.385,1.029-26.057,8.193c-0.782,3.392,0.74,6.969,3.922,10.195L1.917,48.582 c-0.985,0.817-1.114,2.271-0.301,3.254L35.568,92.7c0.396,0.478,0.963,0.765,1.575,0.823c0.064,0.006,0.139,0.012,0.203,0.012 c0.547,0,1.061-0.188,1.479-0.531l50.045-41.585C89.337,51.022,89.64,50.46,89.691,49.851z M23.718,21.793 c0.804-3.431,7.467-5.982,16.713-5.22l-13.723,11.41C24.436,25.793,23.311,23.581,23.718,21.793z M83.342,50.004L7.38,50.049 l19.381-16.103c3.889,2.722,9.021,4.992,14.944,6.363c3.718,0.869,7.406,1.289,10.832,1.289c3.439,0,6.567-0.466,9.269-1.302 c0.419,0.316,0.87,0.597,1.402,0.757c2.42,0.738,4.982-0.631,5.724-3.052c0.737-2.423-0.621-4.987-3.056-5.725 c-2.421-0.736-4.982,0.63-5.72,3.054c-0.077,0.229-0.033,0.46-0.064,0.693c-4.554,1.306-10.907,1.281-17.346-0.211 c-4.972-1.155-9.116-2.944-12.29-4.936l22.682-18.848l31.004,37.311L83.342,50.004z M90.263,50.445c0,0-8.66,19.28-8.66,24.057 c0,4.779,3.879,8.657,8.66,8.657c4.785,0,8.655-3.878,8.655-8.657C98.918,69.725,90.263,50.445,90.263,50.445z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/block-align.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><rect x="86.6" y="9.1" width="8.4" height="81.8"></rect><rect x="29.6" y="54.2" width="48.5" height="26.2"></rect><rect x="5" y="19.5" width="73.1" height="26.2"></rect></g></g></switch></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border-radius.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M72.5,50V40c0-6.9-5.6-12.5-12.5-12.5H50v-20C50,6.1,48.9,5,47.5,5h-40C6.1,5,5,6.1,5,7.5v40C5,48.9,6.1,50,7.5,50h20v10 c0,6.9,5.6,12.5,12.5,12.5h10C50,84.9,60.1,95,72.5,95S95,84.9,95,72.5S84.9,50,72.5,50z M27.5,40v5H10V10h35v17.5h-5 C33.1,27.5,27.5,33.1,27.5,40z M40,67.5c-4.1,0-7.5-3.4-7.5-7.5V40c0-4.1,3.4-7.5,7.5-7.5h20c4.1,0,7.5,3.4,7.5,7.5v10.6 c-8.4,1.9-15,8.5-16.9,16.9H40z M72.5,90C62.9,90,55,82.1,55,72.5S62.9,55,72.5,55S90,62.9,90,72.5S82.1,90,72.5,90z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" x="0px" y="0px"><g data-name="Layer 2"><path d="M92.087,85.3913a1.91314,1.91314,0,0,0-1.913,1.913v2.86957H87.30435a1.913,1.913,0,1,0,0,3.82609H92.087A1.91314,1.91314,0,0,0,94,92.087V87.30435A1.91314,1.91314,0,0,0,92.087,85.3913Z"></path><path d="M73.85,94h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85A1.913,1.913,0,0,0,73.85,94Z"></path><path d="M60.3961,94h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M33.48832,94H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M46.94221,94h6.11557a1.913,1.913,0,1,0,0-3.82609H51.913V87.30435a1.913,1.913,0,1,0-3.82609,0v2.86957H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.14954,90.17391H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M7.913,94h4.78261a1.913,1.913,0,1,0,0-3.82609H9.82609V87.30435a1.913,1.913,0,1,0-3.82609,0V92.087A1.91314,1.91314,0,0,0,7.913,94Z"></path><path d="M7.913,81.87908a1.91314,1.91314,0,0,0,1.913-1.913V73.85046a1.913,1.913,0,1,0-3.82609,0V79.966A1.91314,1.91314,0,0,0,7.913,81.87908Z"></path><path d="M7.913,68.42519a1.91314,1.91314,0,0,0,1.913-1.913V60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,68.42519Z"></path><path d="M7.913,54.97036a1.91314,1.91314,0,0,0,1.913-1.913V51.913h2.86957a1.913,1.913,0,1,0,0-3.82609H9.82609V46.94175a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,54.97036Z"></path><path d="M7.913,41.51647a1.91314,1.91314,0,0,0,1.913-1.913V33.48786a1.913,1.913,0,1,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,41.51647Z"></path><path d="M7.913,28.06258a1.91314,1.91314,0,0,0,1.913-1.913V20.034A1.913,1.913,0,1,0,6,20.034v6.11557A1.91314,1.91314,0,0,0,7.913,28.06258Z"></path><path d="M7.913,14.6087a1.91314,1.91314,0,0,0,1.913-1.913V9.82609h2.86957a1.913,1.913,0,1,0,0-3.82609H7.913A1.91314,1.91314,0,0,0,6,7.913v4.78261A1.91314,1.91314,0,0,0,7.913,14.6087Z"></path><path d="M33.48832,9.82609H39.6039A1.913,1.913,0,1,0,39.6039,6H33.48832a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.15,6H20.03443a1.913,1.913,0,1,0,0,3.82609H26.15A1.913,1.913,0,1,0,26.15,6Z"></path><path d="M60.3961,9.82609h6.11557a1.913,1.913,0,1,0,0-3.82609H60.3961a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M73.85046,9.82609h6.11511a1.913,1.913,0,1,0,0-3.82609H73.85046a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M92.087,6H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v2.86957a1.913,1.913,0,1,0,3.82609,0V7.913A1.91314,1.91314,0,0,0,92.087,6Z"></path><path d="M92.087,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,92.087,31.57481Z"></path><path d="M92.087,18.12092a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,1,0,3.82609,0V20.034A1.91314,1.91314,0,0,0,92.087,18.12092Z"></path><path d="M92.087,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966A1.913,1.913,0,1,0,94,79.966V73.85046A1.91314,1.91314,0,0,0,92.087,71.93742Z"></path><path d="M92.087,58.48353a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V60.39657A1.91314,1.91314,0,0,0,92.087,58.48353Z"></path><path d="M92.087,45.02964a1.91314,1.91314,0,0,0-1.913,1.913V48.087H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v1.14521a1.913,1.913,0,0,0,3.82609,0V46.94268A1.91314,1.91314,0,0,0,92.087,45.02964Z"></path><path d="M51.913,9.82609h1.14474a1.913,1.913,0,1,0,0-3.82609H46.94221a1.913,1.913,0,1,0,0,3.82609H48.087v2.86957a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M51.913,20.034a1.913,1.913,0,1,0-3.82609,0v6.11557a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M50,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,50,31.57481Z"></path><path d="M50,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966a1.913,1.913,0,1,0,3.82609,0V73.85046A1.91314,1.91314,0,0,0,50,71.93742Z"></path><path d="M51.913,60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557a1.913,1.913,0,0,0,3.82609,0Z"></path><path d="M73.85,51.913h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M60.3961,51.913h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M26.14954,48.087H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M46.94221,51.913H48.087v1.14521a1.913,1.913,0,0,0,3.82609,0V51.913h1.14474a1.913,1.913,0,1,0,0-3.82609H51.913V46.94268a1.913,1.913,0,1,0-3.82609,0V48.087H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M33.48832,51.913H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/box-shadow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 30 37.5" xml:space="preserve"><g transform="translate(-30 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="50,748 50,746 36,746 36,760 38,760 38,748 "></polygon><polygon points="54,746 54,748 57,748 57,767 38,767 38,764 36,764 36,769 59,769 59,746 "></polygon><path d="M30,740v23h23v-23H30z M51,761H32v-19h19V761z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M52.2,9.693L50,7.916l-2.2,1.777c-1.262,1.02-30.898,25.245-30.898,49.291c0,18.251,14.848,33.1,33.099,33.1 s33.099-14.849,33.099-33.1C83.099,34.938,53.462,10.713,52.2,9.693z M23.901,58.984c0-17.244,19.442-36.027,26.099-41.951v68.051 C35.609,85.084,23.901,73.376,23.901,58.984z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/custom-class.svg":function(e){e.exports='<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512.00001 640.0000124999999" version="1.1" x="0px" y="0px"><g transform="translate(0,-540.36216)"><path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" clip-path="none" d="M 92.792969 1 C 76.538969 1 63.142578 14.396441 63.142578 30.650391 L 63.142578 481.35156 C 63.142578 497.60556 76.538969 511 92.792969 511 L 419.20703 511 C 435.46103 511 448.85742 497.60556 448.85742 481.35156 L 448.85742 127.44336 L 446.01562 124.54688 L 324.80664 1 L 92.792969 1 z M 92.792969 20.863281 L 310.70508 20.863281 L 310.70508 111.28906 C 310.70508 127.66254 323.99953 141.43364 340.55273 141.43359 L 428.99414 141.43359 L 428.99414 481.35156 C 428.99414 486.94536 424.80083 491.13867 419.20703 491.13867 L 92.792969 491.13867 C 87.199169 491.13867 83.005859 486.94536 83.005859 481.35156 L 83.005859 30.650391 C 83.005859 25.056601 87.199169 20.863281 92.792969 20.863281 z M 330.56836 35.236328 L 415.26953 121.57031 L 340.55273 121.57031 C 335.25823 121.57033 330.56846 116.76328 330.56836 111.28906 L 330.56836 35.236328 z M 124.42188 47.574219 C 124.35287 47.574219 124.2858 47.584938 124.2168 47.585938 L 293.37305 145.24805 C 292.64965 144.11235 291.95757 142.95381 291.32227 141.75781 L 128.19531 47.576172 L 124.42188 47.576172 L 124.42188 47.574219 z M 139.51562 47.574219 L 287.71094 133.13672 C 287.42084 132.22392 287.15176 131.30063 286.91016 130.36523 L 143.51172 47.574219 L 139.51562 47.574219 z M 154.83398 47.574219 L 285.56445 123.05273 C 285.47245 122.24703 285.4017 121.43459 285.3457 120.61719 L 158.83008 47.574219 L 154.83398 47.574219 z M 170.15039 47.574219 L 285.20117 114 L 285.20117 111.69141 L 174.14844 47.574219 L 170.15039 47.574219 z M 185.46875 47.574219 L 285.20117 105.1543 L 285.20117 102.84961 L 189.4668 47.574219 L 185.46875 47.574219 z M 200.78711 47.574219 L 285.20117 96.3125 L 285.20117 94.003906 L 204.7832 47.574219 L 200.78711 47.574219 z M 216.10352 47.574219 L 285.20117 87.466797 L 285.20117 85.162109 L 220.10156 47.574219 L 216.10352 47.574219 z M 231.41992 47.574219 L 285.20117 78.625 L 285.20117 76.316406 L 235.41602 47.574219 L 231.41992 47.574219 z M 246.73828 47.574219 L 285.20117 69.783203 L 285.20117 67.474609 L 250.73438 47.574219 L 246.73828 47.574219 z M 262.05469 47.574219 L 285.20117 60.9375 L 285.20117 58.628906 L 266.05273 47.574219 L 262.05469 47.574219 z M 277.37109 47.574219 L 285.20117 52.095703 L 285.20117 49.787109 L 281.36914 47.574219 L 277.37109 47.574219 z M 116.61719 49.732422 C 115.98099 50.112122 115.36807 50.524734 114.79688 50.990234 L 402.80273 217.26953 L 402.80273 214.96289 L 313.89844 163.63281 C 311.79624 162.60021 309.77201 161.43804 307.84961 160.14062 L 116.61719 49.732422 z M 111.10938 55.400391 C 110.78628 55.982191 110.50557 56.590797 110.25977 57.216797 L 402.80273 226.11328 L 402.80273 223.80664 L 111.10938 55.400391 z M 109.19727 63.136719 L 109.19727 65.445312 L 402.80273 234.95703 L 402.80273 232.65039 L 109.19727 63.136719 z M 109.19727 71.978516 L 109.19727 74.287109 L 402.80273 243.80078 L 402.80273 241.49219 L 109.19727 71.978516 z M 109.19727 80.824219 L 109.19727 83.132812 L 393.25195 247.13086 L 397.25195 247.13086 L 109.19727 80.824219 z M 109.19727 89.666016 L 109.19727 91.974609 L 377.93555 247.13086 L 381.93359 247.13086 L 109.19727 89.666016 z M 109.19727 98.511719 L 109.19727 100.82031 L 362.61719 247.13086 L 366.61523 247.13086 L 109.19727 98.511719 z M 109.19727 107.35352 L 109.19727 109.66211 L 347.29883 247.13086 L 351.29883 247.13086 L 109.19727 107.35352 z M 109.19727 116.19922 L 109.19727 118.50781 L 331.98438 247.13086 L 335.98047 247.13086 L 109.19727 116.19922 z M 109.19727 125.04102 L 109.19727 127.34961 L 316.66602 247.13086 L 320.66211 247.13086 L 109.19727 125.04102 z M 109.19727 133.88672 L 109.19727 136.19531 L 301.34766 247.13086 L 305.34375 247.13086 L 109.19727 133.88672 z M 109.19727 142.72852 L 109.19727 145.03711 L 286.03125 247.13086 L 290.02734 247.13086 L 109.19727 142.72852 z M 109.19727 151.57031 L 109.19727 153.87891 L 270.71484 247.13086 L 274.71289 247.13086 L 109.19727 151.57031 z M 109.19727 160.41602 L 109.19727 162.72461 L 255.39453 247.13086 L 259.39258 247.13086 L 109.19727 160.41602 z M 334.31641 168.88672 L 402.80273 208.42578 L 402.80273 206.12109 L 338.4375 168.95703 L 337.0957 168.95703 C 336.1621 168.95703 335.23631 168.93332 334.31641 168.88672 z M 349.75586 168.95703 L 402.80273 199.58398 L 402.80273 197.27539 L 353.75391 168.95703 L 349.75586 168.95703 z M 365.07422 168.95703 L 402.80273 190.74023 L 402.80273 188.43359 L 369.07031 168.95703 L 365.07422 168.95703 z M 380.39062 168.95703 L 402.80273 181.89648 L 402.80273 179.58789 L 384.38867 168.95703 L 380.39062 168.95703 z M 395.70898 168.95703 L 402.80273 173.05273 L 402.80273 170.74609 L 399.70703 168.95703 L 395.70898 168.95703 z M 109.19727 169.25781 L 109.19727 171.56641 L 240.07812 247.13086 L 244.07617 247.13086 L 109.19727 169.25781 z M 109.19727 178.10352 L 109.19727 180.41211 L 224.75781 247.13086 L 228.75781 247.13086 L 109.19727 178.10352 z M 109.19727 186.94531 L 109.19727 189.25391 L 209.44336 247.13086 L 213.44141 247.13086 L 109.19727 186.94531 z M 109.19727 195.79102 L 109.19727 198.09961 L 194.12305 247.13086 L 198.12109 247.13086 L 109.19727 195.79102 z M 109.19727 204.63281 L 109.19727 206.94141 L 178.80859 247.13086 L 182.80664 247.13086 L 109.19727 204.63281 z M 109.19727 213.47852 L 109.19727 215.78516 L 163.49023 247.13086 L 167.48438 247.13086 L 109.19727 213.47852 z M 109.19727 222.32031 L 109.19727 224.62891 L 148.17188 247.13086 L 152.16992 247.13086 L 109.19727 222.32031 z M 109.19727 231.16211 L 109.19727 233.47266 L 132.85352 247.13086 L 136.85547 247.13086 L 109.19727 231.16211 z M 109.19727 240.00586 L 109.19727 242.31641 L 117.53711 247.13086 L 121.53906 247.13086 L 109.19727 240.00586 z M 144.33398 293.35352 C 135.81185 293.35352 128.93652 296.16243 123.70703 301.7793 C 118.47754 307.36849 115.86133 315.22656 115.86133 325.35352 C 115.86133 334.92708 118.46224 342.48177 123.66406 348.01562 C 128.86589 353.52181 135.50651 356.27344 143.58594 356.27344 C 150.11589 356.27344 155.49902 354.66862 159.73242 351.45898 C 163.99349 348.22168 167.03711 343.2832 168.86328 336.64258 L 156.95117 332.86523 C 155.92741 337.31999 154.23861 340.58496 151.88672 342.66016 C 149.53483 344.73535 146.72786 345.77344 143.46289 345.77344 C 139.03581 345.77344 135.4388 344.14193 132.67188 340.87695 C 129.90495 337.61198 128.52148 332.13346 128.52148 324.44141 C 128.52148 317.19206 129.91829 311.94824 132.71289 308.71094 C 135.53516 305.47363 139.20085 303.85547 143.71094 303.85547 C 146.97591 303.85547 149.74284 304.76758 152.01172 306.59375 C 154.30827 308.41992 155.81576 310.91016 156.53516 314.06445 L 168.69727 311.16016 C 167.3138 306.29036 165.23763 302.55404 162.4707 299.95312 C 157.82227 295.55371 151.77702 293.35352 144.33398 293.35352 z M 314.29297 293.35352 C 309.61686 293.35352 305.61719 294.05957 302.29688 295.4707 C 299.00423 296.88184 296.47396 298.94271 294.70312 301.6543 C 292.95996 304.33822 292.08789 307.23112 292.08789 310.33008 C 292.08789 315.14453 293.95605 319.22428 297.69141 322.57227 C 300.34766 324.95182 304.96745 326.95931 311.55273 328.5918 C 316.67155 329.86458 319.94987 330.75 321.38867 331.24805 C 323.49154 331.99512 324.95898 332.88053 325.78906 333.9043 C 326.64681 334.90039 327.07617 336.11784 327.07617 337.55664 C 327.07617 339.79785 326.06478 341.76139 324.04492 343.44922 C 322.05273 345.10938 319.07975 345.93945 315.12305 345.93945 C 311.3877 345.93945 308.41276 344.9987 306.19922 343.11719 C 304.01335 341.23568 302.5612 338.28939 301.8418 334.27734 L 289.88867 335.43945 C 290.69108 342.24609 293.15267 347.43457 297.27539 351.00391 C 301.39811 354.54557 307.30599 356.31641 314.99805 356.31641 C 320.28288 356.31641 324.69661 355.58171 328.23828 354.11523 C 331.77995 352.62109 334.51823 350.35221 336.45508 347.30859 C 338.39193 344.26497 339.36133 341 339.36133 337.51367 C 339.36133 333.66764 338.5446 330.44466 336.91211 327.84375 C 335.30729 325.21517 333.0651 323.1543 330.1875 321.66016 C 327.33757 320.13835 322.92578 318.6709 316.94922 317.25977 C 310.97266 315.84863 307.20964 314.49382 305.66016 313.19336 C 304.44271 312.1696 303.83398 310.9388 303.83398 309.5 C 303.83398 307.92285 304.48275 306.66341 305.7832 305.72266 C 307.80306 304.25618 310.59863 303.52344 314.16797 303.52344 C 317.62663 303.52344 320.21419 304.21419 321.92969 305.59766 C 323.67285 306.95345 324.80632 309.19564 325.33203 312.32227 L 337.61719 311.78125 C 337.4235 306.19206 335.38932 301.72493 331.51562 298.37695 C 327.6696 295.02897 321.92969 293.35352 314.29297 293.35352 z M 371.07031 293.35352 C 366.39421 293.35352 362.39453 294.05957 359.07422 295.4707 C 355.78158 296.88184 353.2513 298.94271 351.48047 301.6543 C 349.7373 304.33822 348.86523 307.23112 348.86523 310.33008 C 348.86523 315.14453 350.7334 319.22428 354.46875 322.57227 C 357.125 324.95182 361.74479 326.95931 368.33008 328.5918 C 373.44889 329.86458 376.72721 330.75 378.16602 331.24805 C 380.26888 331.99512 381.73633 332.88053 382.56641 333.9043 C 383.42415 334.90039 383.85352 336.11784 383.85352 337.55664 C 383.85352 339.79785 382.84212 341.76139 380.82227 343.44922 C 378.83008 345.10938 375.8571 345.93945 371.90039 345.93945 C 368.16504 345.93945 365.1901 344.9987 362.97656 343.11719 C 360.79069 341.23568 359.33854 338.28939 358.61914 334.27734 L 346.66602 335.43945 C 347.46842 342.24609 349.93001 347.43457 354.05273 351.00391 C 358.17546 354.54557 364.08333 356.31641 371.77539 356.31641 C 377.06022 356.31641 381.47396 355.58171 385.01562 354.11523 C 388.55729 352.62109 391.29557 350.35221 393.23242 347.30859 C 395.16927 344.26497 396.13867 341 396.13867 337.51367 C 396.13867 333.66764 395.32194 330.44466 393.68945 327.84375 C 392.08464 325.21517 389.84245 323.1543 386.96484 321.66016 C 384.11491 320.13835 379.70312 318.6709 373.72656 317.25977 C 367.75 315.84863 363.98698 314.49382 362.4375 313.19336 C 361.22005 312.1696 360.61133 310.9388 360.61133 309.5 C 360.61133 307.92285 361.26009 306.66341 362.56055 305.72266 C 364.5804 304.25618 367.37598 303.52344 370.94531 303.52344 C 374.40397 303.52344 376.99154 304.21419 378.70703 305.59766 C 380.4502 306.95345 381.58366 309.19564 382.10938 312.32227 L 394.39453 311.78125 C 394.20085 306.19206 392.16667 301.72493 388.29297 298.37695 C 384.44694 295.02897 378.70703 293.35352 371.07031 293.35352 z M 248.92383 294.39258 L 225.22461 355.23633 L 238.25781 355.23633 L 243.2793 341.41602 L 267.59961 341.41602 L 272.91211 355.23633 L 286.27734 355.23633 L 261.91406 294.39258 L 248.92383 294.39258 z M 179.77734 294.89062 L 179.77734 355.23633 L 222.60938 355.23633 L 222.60938 344.98438 L 192.0625 344.98438 L 192.0625 294.89062 L 179.77734 294.89062 z M 255.27344 308.58594 L 263.6582 331.16406 L 247.05664 331.16406 L 255.27344 308.58594 z M 117.2207 406.13086 L 218.1875 464.42578 L 222.18555 464.42578 L 121.2168 406.13086 L 117.2207 406.13086 z M 132.53906 406.13086 L 233.50586 464.42578 L 237.50391 464.42578 L 136.53516 406.13086 L 132.53906 406.13086 z M 147.85352 406.13086 L 248.82227 464.42578 L 252.81836 464.42578 L 151.85156 406.13086 L 147.85352 406.13086 z M 163.16992 406.13086 L 264.13867 464.42578 L 268.13672 464.42578 L 167.16992 406.13086 L 163.16992 406.13086 z M 178.48828 406.13086 L 279.45703 464.42578 L 283.45508 464.42578 L 182.48633 406.13086 L 178.48828 406.13086 z M 193.80469 406.13086 L 294.77344 464.42578 L 298.77148 464.42578 L 197.80469 406.13086 L 193.80469 406.13086 z M 209.12305 406.13086 L 310.0918 464.42578 L 314.08789 464.42578 L 213.12109 406.13086 L 209.12305 406.13086 z M 224.44141 406.13086 L 325.4082 464.42578 L 329.40625 464.42578 L 228.43945 406.13086 L 224.44141 406.13086 z M 239.75781 406.13086 L 340.72656 464.42578 L 344.72461 464.42578 L 243.75586 406.13086 L 239.75781 406.13086 z M 255.07617 406.13086 L 356.04492 464.42578 L 360.04102 464.42578 L 259.07422 406.13086 L 255.07617 406.13086 z M 270.39453 406.13086 L 371.36328 464.42578 L 375.35938 464.42578 L 274.39258 406.13086 L 270.39453 406.13086 z M 285.70898 406.13086 L 386.67969 464.42578 L 387.57617 464.42578 C 388.48967 464.42578 389.37965 464.32888 390.24805 464.17578 L 289.71094 406.13086 L 285.70898 406.13086 z M 301.02734 406.13086 L 396.71289 461.375 C 397.27969 460.9498 397.82497 460.49489 398.32617 459.99609 L 305.0293 406.13086 L 301.02734 406.13086 z M 316.3457 406.13086 L 401.52539 455.30859 C 401.79489 454.69151 402.02003 454.05159 402.20703 453.39453 L 320.34375 406.13086 L 316.3457 406.13086 z M 331.66211 406.13086 L 402.80273 447.20312 L 402.80273 444.89453 L 335.66211 406.13086 L 331.66211 406.13086 z M 346.98047 406.13086 L 402.80273 438.35938 L 402.80273 436.05078 L 350.98047 406.13086 L 346.98047 406.13086 z M 362.29883 406.13086 L 402.80273 429.51562 L 402.80273 427.20703 L 366.29688 406.13086 L 362.29883 406.13086 z M 377.61719 406.13086 L 402.80273 420.67188 L 402.80273 418.36328 L 381.61523 406.13086 L 377.61719 406.13086 z M 392.93555 406.13086 L 402.80273 411.82812 L 402.80273 409.51953 L 396.93359 406.13086 L 392.93555 406.13086 z M 109.19727 408.03516 L 109.19727 410.3418 L 202.87109 464.42578 L 206.86719 464.42578 L 109.19727 408.03516 z M 109.19727 416.87891 L 109.19727 419.18555 L 187.55273 464.42578 L 191.54883 464.42578 L 109.19727 416.87891 z M 109.19727 425.72266 L 109.19727 428.0293 L 172.23438 464.42578 L 176.23242 464.42578 L 109.19727 425.72266 z M 109.19727 434.56641 L 109.19727 436.87305 L 156.91602 464.42578 L 160.91406 464.42578 L 109.19727 434.56641 z M 109.19727 443.41016 L 109.19727 445.7168 L 141.59961 464.42578 L 145.59766 464.42578 L 109.19727 443.41016 z M 109.55273 452.45703 C 109.76613 453.44144 110.07224 454.3887 110.46484 455.29102 L 126.28125 464.42578 L 130.2793 464.42578 L 109.55273 452.45703 z " transform="translate(0,540.36216)"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/design.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="-949 951 100 125" style="enable-background:new -949 951 100 100;" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><path d="M-853.3,973.6c2-2,2-5.3,0-7.4l-10.9-10.9c-2-2-5.3-2-7.4,0l-4.5,4.5l18.3,18.3L-853.3,973.6z"></path><path d="M-852.1,1027.7l-27.7-27.7l19.4-19.4l-18.3-18.3l-19.4,19.4l-27.7-27.7c-0.7-0.7-1.9-0.7-2.7,0l-17.6,17.6 c-0.4,0.4-0.6,0.8-0.6,1.3s0.2,1,0.6,1.3l27.7,27.7l-22,22c-0.6,0.6-1,1.3-1.1,2.1l-3.6,17.5c-0.2,0.8,0,1.6,0.4,2.2 c0.6,0.9,1.8,1.4,2.8,1.2l17.6-3.6c0.8-0.2,1.6-0.6,2.1-1.1l22-22l27.7,27.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l17.6-17.6 c0.4-0.4,0.6-0.8,0.6-1.3C-851.5,1028.5-851.7,1028-852.1,1027.7z M-924.7,1039.9l-11.1,2.3l-4.3-4.3l2.3-11.1l0.1-0.1l3.8,0.7 l-0.1,3.3c0,0.3,0.2,0.5,0.5,0.5l4.7-0.2l-0.2,4.7c0,0.3,0.2,0.5,0.5,0.5l3.3-0.1L-924.7,1039.9L-924.7,1039.9z M-941.9,973 l14.9-14.9l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6c0.5,0,1-0.2,1.3-0.6l7.4-7.4l4.2,4.2l-14.9,14.9L-941.9,973z M-871,1043.9l-26.3-26.3l14.9-14.9 l4.2,4.2l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7L-871,1043.9z"></path></g></g></switch></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/font-size.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 64 80" enable-background="new 0 0 64 64" xml:space="preserve"><g><g><path d="M36,12H12c-1.104,0-2,0.896-2,2v4c0,1.104,0.896,2,2,2s2-0.896,2-2v-2h8v32h-2c-1.104,0-2,0.896-2,2s0.896,2,2,2h8 c1.104,0,2-0.896,2-2s-0.896-2-2-2h-2V16h8v2c0,1.104,0.896,2,2,2s2-0.896,2-2v-4C38,12.896,37.104,12,36,12z"></path><path d="M50.586,44.586L50,45.172V18.828l0.586,0.586C50.977,19.805,51.488,20,52,20s1.023-0.195,1.414-0.586 c0.781-0.781,0.781-2.047,0-2.828l-4-4c-0.781-0.781-2.047-0.781-2.828,0l-4,4c-0.781,0.781-0.781,2.047,0,2.828 c0.781,0.781,2.047,0.781,2.828,0L46,18.828v26.344l-0.586-0.586c-0.781-0.781-2.047-0.781-2.828,0s-0.781,2.047,0,2.828l4,4 C46.977,51.805,47.488,52,48,52s1.023-0.195,1.414-0.586l4-4c0.781-0.781,0.781-2.047,0-2.828S51.367,43.805,50.586,44.586z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/margin.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M37.5,40h35c1.4,0,2.5-1.1,2.5-2.5S73.9,35,72.5,35h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,40,37.5,40z"></path><path d="M92.5,50h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M37.5,70h35c1.4,0,2.5-1.1,2.5-2.5S73.9,65,72.5,65h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,70,37.5,70z"></path><path d="M92.5,80h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path><path d="M30,92.5v-80c0-1.4-1.1-2.5-2.5-2.5S25,11.1,25,12.5v80c0,1.4,1.1,2.5,2.5,2.5S30,93.9,30,92.5z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/padding.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-85C6.1,20,5,21.1,5,22.5S6.1,25,7.5,25h85c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M92.5,35h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,35,92.5,35z"></path><path d="M92.5,50h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M92.5,65h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,65,92.5,65z"></path><path d="M92.5,80h-85C6.1,80,5,81.1,5,82.5S6.1,85,7.5,85h85c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/rotate.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="#000000" d="M68,32H32v36h36V32z M64,64H36V36h28V64z"></path><path fill="#000000" d="M64,84c0,1.104,0.896,2,2,2h6c7.72,0,14-6.28,14-14v-9.172l4.586,4.586c0.78,0.781,2.048,0.781,2.828,0 c0.781-0.781,0.781-2.047,0-2.828l-8-8c-0.78-0.781-2.048-0.781-2.828,0l-8,8c-0.781,0.781-0.781,2.047,0,2.828 C74.976,67.805,75.488,68,76,68s1.024-0.195,1.414-0.586L82,62.828V72c0,5.514-4.486,10-10,10h-6C64.896,82,64,82.896,64,84z"></path><path fill="#000000" d="M6.586,35.414l8,8C14.977,43.805,15.488,44,16,44s1.023-0.195,1.414-0.586l8-8 c0.781-0.781,0.781-2.047,0-2.828c-0.781-0.781-2.047-0.781-2.828,0L18,37.172V28c0-5.514,4.486-10,10-10h6c1.104,0,2-0.896,2-2 s-0.896-2-2-2h-6c-7.72,0-14,6.28-14,14v9.172l-4.586-4.586c-0.781-0.781-2.047-0.781-2.828,0 C5.805,33.367,5.805,34.633,6.586,35.414z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/width.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 24 30" enable-background="new 0 0 24 24" xml:space="preserve"><g><path d="M21.333,23.833H2.667c-1.378,0-2.5-1.121-2.5-2.5V2.667c0-1.379,1.122-2.5,2.5-2.5h18.667c1.378,0,2.5,1.121,2.5,2.5 v18.666C23.833,22.712,22.712,23.833,21.333,23.833z M2.667,1.167c-0.827,0-1.5,0.673-1.5,1.5v18.666c0,0.827,0.673,1.5,1.5,1.5 h18.667c0.827,0,1.5-0.673,1.5-1.5V2.667c0-0.827-0.673-1.5-1.5-1.5H2.667z"></path><g><path d="M18.914,15.494c-0.128,0-0.256-0.049-0.354-0.146c-0.195-0.195-0.195-0.512,0-0.707L21.201,12L18.56,9.359 c-0.195-0.195-0.195-0.512,0-0.707s0.512-0.195,0.707,0l2.994,2.994c0.195,0.195,0.195,0.512,0,0.707l-2.994,2.994 C19.169,15.445,19.042,15.494,18.914,15.494z"></path><path d="M21.908,12.5h-8.346c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S22.184,12.5,21.908,12.5z"></path></g><g><path d="M5.087,15.494c-0.128,0-0.256-0.049-0.354-0.146l-2.995-2.994C1.645,12.26,1.592,12.133,1.592,12s0.053-0.26,0.146-0.354 l2.995-2.994c0.195-0.195,0.512-0.195,0.707,0s0.195,0.512,0,0.707L2.799,12l2.641,2.641c0.195,0.195,0.195,0.512,0,0.707 C5.343,15.445,5.215,15.494,5.087,15.494z"></path><path d="M10.438,12.5H2.092c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S10.715,12.5,10.438,12.5z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path d="M25.278 63.41L8.788 46.92c-5.095-5.093-7.9-11.865-7.9-19.068 0-7.203 2.805-13.975 7.9-19.067C13.877 3.692 20.65.887 27.852.887c7.203 0 13.975 2.805 19.067 7.898l16.49 16.49-7.07 7.07-16.49-16.49c-3.205-3.204-7.465-4.968-11.997-4.968-4.53 0-8.792 1.765-11.996 4.97-3.205 3.203-4.97 7.463-4.97 11.995 0 4.532 1.765 8.792 4.97 11.997l16.49 16.488-7.07 7.072zM72.146 99.1c-6.905 0-13.81-2.63-19.066-7.885L36.59 74.722l7.07-7.07 16.49 16.492c6.616 6.614 17.38 6.613 23.994 0 6.613-6.615 6.613-17.38 0-23.994l-16.49-16.49 7.07-7.07 16.49 16.49c10.513 10.513 10.513 27.62 0 38.135C85.96 96.47 79.053 99.1 72.147 99.1z"></path><g><path d="M33.976 26.903L73.094 66.02l-7.07 7.07-39.12-39.116z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M40.639,73.679c-6.373-6.379-9.324-14.869-8.893-23.215h15.467L23.606,26.857L0,50.464h14.714 c-0.04,9.1,3.371,18.217,10.313,25.162C35.904,86.506,52.097,88.77,65.234,82.5C56.451,83.343,47.368,80.406,40.639,73.679z"></path><path d="M85.286,50.486c0.04-9.1-3.371-18.217-10.313-25.162c-10.877-10.88-27.075-13.144-40.207-6.871 c8.783-0.845,17.866,2.091,24.59,8.818c6.379,6.379,9.33,14.869,8.898,23.215H52.781l23.606,23.609L100,50.486H85.286z"></path></g></svg>'},"./node_modules/textselect/jquery.text-select.js":function(){(function(e){e.fn.textSelect=function(o,a){var n,r,l,s;r=function(o){var e=o.originalEvent.originalTarget||o.originalEvent.srcElement;if(e){var a=jQuery(e);a.is('[draggable="true"]')||a.closest('[draggable="true"]').length||a.is('[unselectable="on"]')||a.closest('[unselectable="on"]').length||(n=o.timeStamp,r=!0)}},e(this).on('mousedown',r).on('mouseup dragend drop',function(){r=!1,l=!1,a()}).on('mousemove',function(a){!l&&r&&n+250<a.timeStamp&&(s=a.timeStamp,l=!0,o())})}})(jQuery)},"./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js":function(){(function(e){var o='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==';Color.fn.toString=function(){if(1>this._alpha)return this.toCSS('rgba',this._alpha).replace(/\s+/g,'');var e=parseInt(this._color,10).toString(16);return this.error?'':(6>e.length&&(e=('00000'+e).substr(-6)),'#'+e)},e.widget('wp.wpColorPicker',e.wp.wpColorPicker,{_create:function(){if(e.support.iris){var a=this,n=a.element;return e.extend(a.options,n.data()),'hue'===a.options.type?a._createHueOnly():void(a.close=e.proxy(a.close,a),a.initialValue=n.val(),n.addClass('wp-color-picker'),!n.parent('label').length&&(n.wrap('<label></label>'),a.wrappingLabelText=e('<span class="screen-reader-text"></span>').insertBefore(n).text(wpColorPickerL10n.defaultLabel)),a.wrappingLabel=n.parent(),a.wrappingLabel.wrap('<div class="wp-picker-container" />'),a.wrap=a.wrappingLabel.parent(),a.toggler=e('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(a.wrappingLabel).css({backgroundColor:a.initialValue}),a.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick),a.pickerContainer=e('<div class="wp-picker-holder" />').insertAfter(a.wrappingLabel),a.button=e('<input type="button" class="button button-small" />'),a.options.defaultColor?a.button.addClass('wp-picker-default').val(wpColorPickerL10n.defaultString).attr('aria-label',wpColorPickerL10n.defaultAriaLabel):a.button.addClass('wp-picker-clear').val(wpColorPickerL10n.clear).attr('aria-label',wpColorPickerL10n.clearAriaLabel),a.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(a.button),a.inputWrapper=n.closest('.wp-picker-input-wrap'),a.toggler.css({height:'24px',margin:'0 6px 6px 0',padding:'0 0 0 30px',"font-size":'11px'}),a.toggler.find('.wp-color-result-text').css({background:'#f7f7f7',"border-radius":'0 2px 2px 0',"border-left":'1px solid #ccc',color:'#555',display:'block',"line-height":'22px',padding:'0 6px',"text-align":'center'}),n.iris({target:a.pickerContainer,hide:a.options.hide,width:a.options.width,mode:a.options.mode,palettes:a.options.palettes,change:function(n,r){a.options.alpha?(a.toggler.css({"background-image":'url('+o+')',position:'relative'}),0==a.toggler.find('span.color-alpha').length&&a.toggler.append('<span class="color-alpha" />'),a.toggler.find('span.color-alpha').css({width:'30px',height:'24px',position:'absolute',top:0,left:0,"border-top-left-radius":'2px',"border-bottom-left-radius":'2px',background:r.color.toString()})):a.toggler.css({backgroundColor:r.color.toString()}),e.isFunction(a.options.change)&&a.options.change.call(this,n,r)}}),n.val(a.initialValue),a._addListeners(),!a.options.hide&&a.toggler.click())}},_addListeners:function(){var o=this;o.wrap.on('click.wpcolorpicker',function(e){e.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass('wp-picker-open')?o.close():o.open()}),o.element.on('change',function(a){(''===e(this).val()||o.element.hasClass('iris-error'))&&(o.options.alpha?o.toggler.find('span.color-alpha').css('backgroundColor',''):o.toggler.css('backgroundColor',''),e.isFunction(o.options.clear)&&o.options.clear.call(this,a))}),o.button.on('click',function(a){e(this).hasClass('wp-picker-clear')?(o.element.val(''),o.options.alpha?o.toggler.find('span.color-alpha').css('backgroundColor',''):o.toggler.css('backgroundColor',''),e.isFunction(o.options.clear)&&o.options.clear.call(this,a)):e(this).hasClass('wp-picker-default')&&o.element.val(o.options.defaultColor).change()})}}),e.widget('a8c.iris',e.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data('alpha')||!1,this.element.is(':input')||(this.options.alpha=!1),'undefined'!=typeof this.options.alpha&&this.options.alpha){var o=this,a=o.element,n=e('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(o.picker.find('.iris-picker-inner')),r=n.find('.iris-slider-offset-alpha');o.options.customWidth='undefined'==typeof a.data('custom-width')?100:parseInt(a.data('custom-width'))||0,o.options.defaultWidth=a.width(),(1>o._color._alpha||-1!=o._color.toString().indexOf('rgb'))&&a.width(parseInt(o.options.defaultWidth+o.options.customWidth)),e.each({aContainer:n,aSlider:r},function(e,a){o.controls[e]=a}),o.controls.square.css({"margin-right":'0'});var l=o.picker.width()-o.controls.square.width()-20,s=l/6;e.each(['aContainer','strip'],function(e,a){o.controls[a].width(l/2-s).css({"margin-left":s+'px'})}),o._initControls(),o._change()}},_initControls:function(){if(this._super(),this.options.alpha){var e=this,o=e.controls;o.aSlider.slider({orientation:'vertical',min:0,max:100,step:1,value:parseInt(100*e._color._alpha),slide:function(o,a){e._color._alpha=parseFloat(a.value/100),e._change.apply(e,arguments)}})}},_change:function(){this._super();var e=this,a=e.element;if(this.options.alpha){var n=e.controls,r=parseInt(100*e._color._alpha),l=e._color.toRgb(),s=['rgb('+l.r+','+l.g+','+l.b+') 0%','rgba('+l.r+','+l.g+','+l.b+', 0) 100%'],i=e.options.defaultWidth,d=e.options.customWidth,c=e.picker.closest('.wp-picker-container').find('.wp-color-result');n.aContainer.css({background:'linear-gradient(to bottom, '+s.join(', ')+'), url('+o+')'}),c.hasClass('wp-picker-open')&&(n.aSlider.slider('value',r),1>e._color._alpha?(n.strip.attr('style',n.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,'rgb($1$3$5)')),a.width(parseInt(i+d))):a.width(i))}var p=a.data('reset-alpha')||!1;p&&e.picker.find('.iris-palette-container').on('click.palette','.iris-palette',function(){e._color._alpha=1,e.active='external',e._change()})},_addInputListeners:function(e){var o=this,a=function(a){var n=new Color(e.val()),r=e.val();e.removeClass('iris-error'),n.error?''!==r&&e.addClass('iris-error'):n.toString()!==o._color.toString()&&!('keyup'===a.type&&r.match(/^[0-9a-fA-F]{3}$/))&&o._setOption('color',n.toString())};e.on('change',a).on('keyup',o._debounce(a,100)),o.options.hide&&e.on('focus',function(){o.show()})}})})(jQuery),jQuery(document).ready(function(e){e('.color-picker').wpColorPicker()})},0:function(e,o,a){e.exports=a('./assets/js/index.js')}});
|
1 |
+
(function(e){function o(n){if(a[n])return a[n].exports;var r=a[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var a={};return o.m=e,o.c=a,o.d=function(e,a,n){o.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var a=e&&e.__esModule?function(){return e['default']}:function(){return e};return o.d(a,'a',a),a},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p='/',o(o.s=0)})({"./assets/css/font-family-controls.min.css":function(){},"./assets/image/notice/plugin-icon-editor.png":function(e){e.exports='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKkAAABbCAYAAAAIj6U9AAANoklEQVR4nO2dabAU1RWAv4chiNtVcYuo5ULcprVIXIgYDTwEREHLJSbRadRoyrXUxFiSxVQlMRHLCtFS0ZgfLj1qQqFxQwwg4IILFTWGnpAY0bhARBG8Irsy+XG6eT09W/dM90zPTH9VU++9ft09h+F73X3vPefeHlJSGkCbxnnATcCOwJ+Ai5Rlr43yPXqiPFlKd6FN4xJgqm/zPGB8lKKmkqbURQVBXSIVNZU0JTQ1BHWZB5ykLHt9o+/Xr9ETpHQXAQUFGAlM06bx5UbfM72SpgRGm4YJ3BfysMeBM5Vlb6z3fVNJUwKhTeMcRNB67r4NiZpKmlKTBgV1qVvUVNKUqmjT6AVmE037pS5R04ZTSi0uIjpPJgDTwzamUklTarEp4vO5om4V9IBU0pRa3Eo8ot4XVNRU0pSqKMt+GTiT6EU9m4Cipg2nlC3obGYc8AdgMPAkcL7K5VcAaNM4BZgO9I/4bR8AJirL/qLSDqmkKQDobKachP8Ajle5vIbWiZre7lMqCQpwODBLZzMKQFn2Y7Tg1p9K2uVUEdTlaEpFPRfYHHEoFUVNJe1iAgjq4hf1QWAi8Yh6rzaNosfQVNIuJYSgLn5R7yceUc8BpnpFTRtOXYjOZnqR1vuAOg5fCIzxNKaiGNcvx53ApcqyC6mkXYYj6BPAwAq7zAOmANOq7NNUUdPbfRcRUNDxKpd/AhgPrKuw39HATJ3NbAOx3vovBn6ZXkm7hBCCrg15zASVy6+B2K6oa1JJu4AAsi0ETlC5/OrQx/b0rAIOVJbtjkxdDNwRQdgu6xN5u9emMUibxq6tjqMTCCjomHKCAqhcfi6Vbv09PQA7AW9o09gFQFn2ncClDQfex+2Ju5Jq0zgCWIC0PAvAKs/rA+B95/Uu8E/g38qyP2tNtMkmhKA6wLnGIknL0mXV41OnUHgWGOc+LoQo2KvGA8DEJEp6IfDHkIe9ByxGPvQXgYXu7adb0dnMMGAOsF2FXQIL6jnnKcDD9PQUjwoVCu53Rc+1DYq6ZTw/iZJug0zbsh+wCzAIuaXsFPJU/0GEnQPMUpa9PMo4k4wj6Cxghwq7hBYUtiSYPAz0SdonqEsUohYlnCRO0ko4Y7q7AfsAewL7A191XkOc7dV4FXgE+IuybDvGUFtKzIJ6R6gKFCr2s89CWv0bnWPDiFqSEdU2ktZCm8b2wFDgCGA4cCwiczkWAXcDOWXZHzUnwvhpoqDzKBTuAO6n8rCqFN2FE/URpFCvKGWvYyQthzaNA4ExwInAKGBr3y6bgD8DN7b71TWAoDYw0k1iDnzeUkFfBE5Qlr02wPi/X9RJwA1V9y1TSdrRknrRprEdMBb4DnAq4K9YfBK4Tln2q82OrVECCtqrcvlQdw1tGhOAh+iTUK7Elr3lShyRqFVLnbtGUi/aNHZG0sIuAw72/KqAPAb8yPsfkWRiFNTffVUiqCeGbyNzk1bqdy936/810vNwN3BltVr8rpTURZtGP6SjehJwjOdX7wFnKct+qSWBBURnM4chrelBFXaJXVBPLLWGRItEDUNXS+pFm8apwM3Avs6mdcApyrLntCyoKjiCzkW66crRNEE9MdUS9R6Vy58fJh5IJS3CeW69Bfi+uwkYqiz7vy0LqgxJFNQTWy1Rd1G5/Mdh4krk2H2rUJb9mbLsC4DfuZuAH7cwpBKSLKjDaqBieTJ1OJdKWp5JwErn+2GtDMRLAEGXIOPnjQq6iDoEDdDSnx42NoAvhT2g03Em07oG2NnZtKyF4WwhoKAjVC7/fqjzmsZIigW1gVExCDoPqTINTSopoE1jADJKNQ44D/CmCd7Wipi8xCjoMGSUxytob9hROJ3NnEBtQYsSqsPQ0ZI6Q6X9kT7ErRH59kD+swcjY/6HAIdS+llsAC5Xlj27aQGXQWczQ4CZxCOot3+1XkF7gceISVBocetem8buwF6IMLsh/X3uayeks9d9uR/mDvQ9Sw+gdKizUdYDDwK/VZb9ZsTnDoUj6Hzk8ylHEgQNVZJSD7FLqk1jH2RU5yDgQOf7/YC9KR2abAWfA68jrdlZwNPKsstmqTeTVNA+IpVUm4YCjgeOQrKRjkSukHGymr4qRY0MbQJsBNYCnwBrnO8/BJY6X5cBbwJvKcv+POYYQ9EBgi5Ekllav9iYk+P5DSTTaDRS6hp4Bl8PHyElIcsReZY721bSVzqyGhFuHbBOWfanjcSeVAIIuhQRNNSjSBlBlwDDlWV/GDK+yEpSghK64eRMf3IckqBxOsUt4WqsRv5y80ht0hLgLeBtZdlrwsbRicQo6FGUCjqiHQSFEFdSZ8jwQuAS5NmyGhuQTPgXgJeQmqN36w2yG4hRUH/3lStouEcFybaaR5MFhQBXUm0a2wJXA1fS18FdjsVITuYMYEEjK6B1Gzqb2Qt4imQLOosWCAo1rqTOMn03Al+psMtrSE3K9KQlYbQLjqDzgQMq7JIUQSMtSQlDWUm1aewB3IWsEuFnPVLbcruy7NfiCqwbSAUNRomkzkP2Y8jIjJeNyPQpNyrL/l+cQXUDAQRdBnwrwYLayHz6q8Kctx6KnkmdZIMZlD57zASuaPUITKcQQNAVwIkRCLoUSRaJQ9DeZggKniup8w983hfYOuAqZdl3NSOYbiCgoL0ql18U6rymcSjwDMWCjgh7YYmrZqoRemDLrCGvUdy1tAIY7yw2lRIBOpsZjIgUtaD+7qt6BT0MeBbYscIuTRcU+m73P6VYUI0Ml4X6sFIqo7OZXZFupiQLOpeECQrQo01jEPAOsK1n+2nKsh9pdjCdiiPoXMCosEtSBI20JCUq+gHfpVjQx1NBoyMVtHH6ASf7tv2+FYF0IgEEXUmyBV0CjG6loCCSfs3z81rkwTmlQQII+ilwUgSCrgBGxyToCJXLfxDmvHHQj+JO+3eqrZabEoyAgo5RuXyonhNtGvtSKmivsuzFIeOLpWYqLvwlzfXkgqZ40NnMIOIRdC9kQmC/oOGuxJJtNZs2ERRE0k88Pw9x+kxT6uce4hF0Pn3dV40IOh/YvcIuiRMURNJ/+X4+rkWxtD06m9ma0oaoSwGZuKHVgkZaktIM+gHP+bZd0IpAOoQNSKlLOXqAC3U2EybRvOsFBZH0Id+2051x/JSQqFy+QPW5o84HpgYRtYmCLkW6mRIpKPSN3b8CfN2zfR6SPVOytERKMc6EsIOBX7nVCDqbqTU/vKxALFKXO6df0E8RQV8JFVtMJSnNxm3d/8K3fSRwbZNjaTucyS2mAj8DpjvzSKFy+TuovircxVS4ojoJ5/MpFnRMtwoKjqTKsmcgV08v12vTOKn5IbUV3rzbCZSKenWVY0tEdZaqnE2poOEaW5IOOJsOEBSK+0l/gEyi4LIV8qEfQ0pQ/KJOAX5SZf8tojqCevtXGxF0Pn0zVvtpK0HBI6my7CXA5b7fDwSeduavTAmGX9TJ1Bb1bqIVNNKaqVZTNOKkLPseYIpvn4HAU9o0JjYrqA4gnKg9PeeSClqRcjM9X4OUKXvpD9yrTeNm94NPqUkwUYtXO95APIKuAMa2o6BQRlJl2ZuBiZSKCjJBxAJtGgeX+V1KKROAac6cWaWili7HPYBC4bQwbxCiZiof5rxJouyc+U4m1ESk9t7PkcDftWlcq02joyfhjYhTgft8ol5XRlD3u2t1NjM5yInjKupLGhUXdlCW/YWy7IuQv/zNvl8PACYDr2rTGBVjfJ3C2RSLej1SmSuULsddU1QnHfCvdLigEGD1EWXZk5G55MutvXMYMEebxpPpUGpNikW17OOABWUEdakoqidf9dAKx3aMoBBwiRxl2bOAw5EO4nKMQx4Bcto0MlEF14H4Rf0mMtdWJUpEjatmKskEXsdJWfYyZJXjS5C5Rsud6xzA1qbxqDaNY6MJsePw3/onUVvU66A7BYU6Z3rWpjEYuAn4Xo1dX0fGtu/vxIlynXKOt+s8/AFgoluu41wxq+VL/AZphFVLqB6tcvmFdcaTWBqdjnw4cCvFGVTlWA1MQ2bje8bp5mp7GpQUZA3O89xsswCiVqKujP92oeGFHZzluM9CMqkOCXDIUkTYR4Hn27nwLwJJwU3bq1/UjhYUIlx9pA5ZQXoMZiATZM1Rlr08qniaQUSSQqmotwGXBTiu4wWFGNZxcmQ9GbgKCJuYsgjpP3wOeEFZ9jsRhxcpEUoKHlGd9L2pSPJJJbpCUIh5sTGn7/RSpIGl6jjFCuBvzmsxsmrJG8qyI1kfqFEilhSCi9o1gkKTlm3UpjEQOANZXHYkjS1hXgDeRYR9C1n/6T3n6/vAcmXZnzUSb1BikBRqi9pVgkIL1hbVprEnIuxZwLExxbAJmWdpJZLIXan7SyH/6VOUZT8a9k1ikhRKRf0hMrHcx8DPVS4fqpSk3Wn1Ari7Is+vE5BV9bZrYThjnZG1wMQoKcCtyrKviOncbUVLJfXiZFQNA0YhDa6jqbxuUBw8rCz7jDAHxCwpyCIak2I8f1uQGEn9aNPojwwSDEdm/huKdG3FlR44U1l2qMLDJkgKcJCy7Ddifo9Ek9h8UGXZm4CXnRcA2jQGIMOCQ5EMrAOAIcD+NL4suX+SjCBsRqZuj4tFSCOxq0nslTQMTt/s3kiF5J5IKe8eztcdgO2drzt6vnf/QFcBtyCTO6STYSSQ/wN53Ls4vhWTywAAAABJRU5ErkJggg=='},"./assets/js/builder recursive \\.js$":function(e,o,a){function n(e){return a(r(e))}function r(e){var o=l[e];if(!(o+1))throw new Error('Cannot find module \''+e+'\'.');return o}var l={"./browser/ie-version.js":'./assets/js/builder/browser/ie-version.js',"./controls.js":'./assets/js/builder/controls.js',"./controls/add.js":'./assets/js/builder/controls/add.js',"./controls/advanced.js":'./assets/js/builder/controls/advanced.js',"./controls/background.js":'./assets/js/builder/controls/background.js',"./controls/box.js":'./assets/js/builder/controls/box.js',"./controls/button.js":'./assets/js/builder/controls/button.js',"./controls/color.js":'./assets/js/builder/controls/color.js',"./controls/color/palette.js":'./assets/js/builder/controls/color/palette.js',"./controls/container.js":'./assets/js/builder/controls/container.js',"./controls/font.js":'./assets/js/builder/controls/font.js',"./controls/generic.js":'./assets/js/builder/controls/generic.js',"./controls/generic/background-color.js":'./assets/js/builder/controls/generic/background-color.js',"./controls/generic/block-alignment.js":'./assets/js/builder/controls/generic/block-alignment.js',"./controls/generic/border.js":'./assets/js/builder/controls/generic/border.js',"./controls/generic/custom-classes.js":'./assets/js/builder/controls/generic/custom-classes.js',"./controls/generic/font-color.js":'./assets/js/builder/controls/generic/font-color.js',"./controls/generic/font-size.js":'./assets/js/builder/controls/generic/font-size.js',"./controls/generic/link.js":'./assets/js/builder/controls/generic/link.js',"./controls/generic/margin.js":'./assets/js/builder/controls/generic/margin.js',"./controls/generic/rotate.js":'./assets/js/builder/controls/generic/rotate.js',"./controls/generic/width.js":'./assets/js/builder/controls/generic/width.js',"./controls/global.js":'./assets/js/builder/controls/global.js',"./controls/help.js":'./assets/js/builder/controls/help.js',"./controls/hr.js":'./assets/js/builder/controls/hr.js',"./controls/icon.js":'./assets/js/builder/controls/icon.js',"./controls/image/change.js":'./assets/js/builder/controls/image/change.js',"./controls/image/design.js":'./assets/js/builder/controls/image/design.js',"./controls/image/filter.js":'./assets/js/builder/controls/image/filter.js',"./controls/information.js":'./assets/js/builder/controls/information.js',"./controls/media/edit.js":'./assets/js/builder/controls/media/edit.js',"./controls/media/map.js":'./assets/js/builder/controls/media/map.js',"./controls/section.js":'./assets/js/builder/controls/section.js',"./controls/template.js":'./assets/js/builder/controls/template.js',"./customize/navigation.js":'./assets/js/builder/customize/navigation.js',"./drag.js":'./assets/js/builder/drag.js',"./drag/column.js":'./assets/js/builder/drag/column.js',"./drag/content.js":'./assets/js/builder/drag/content.js',"./drag/row.js":'./assets/js/builder/drag/row.js',"./drag/section.js":'./assets/js/builder/drag/section.js',"./feedback.js":'./assets/js/builder/feedback.js',"./gridblock/add.js":'./assets/js/builder/gridblock/add.js',"./gridblock/category.js":'./assets/js/builder/gridblock/category.js',"./gridblock/create.js":'./assets/js/builder/gridblock/create.js',"./gridblock/delete.js":'./assets/js/builder/gridblock/delete.js',"./gridblock/drag.js":'./assets/js/builder/gridblock/drag.js',"./gridblock/filter.js":'./assets/js/builder/gridblock/filter.js',"./gridblock/generate.js":'./assets/js/builder/gridblock/generate.js',"./gridblock/image.js":'./assets/js/builder/gridblock/image.js',"./gridblock/lead.js":'./assets/js/builder/gridblock/lead.js',"./gridblock/loader.js":'./assets/js/builder/gridblock/loader.js',"./gridblock/save.js":'./assets/js/builder/gridblock/save.js',"./gridblock/view.js":'./assets/js/builder/gridblock/view.js',"./library/save.js":'./assets/js/builder/library/save.js',"./menu.js":'./assets/js/builder/menu.js',"./notice/base.js":'./assets/js/builder/notice/base.js',"./notice/intro.js":'./assets/js/builder/notice/intro.js',"./notice/update.js":'./assets/js/builder/notice/update.js',"./panel.js":'./assets/js/builder/panel.js',"./popover/actions/clone.js":'./assets/js/builder/popover/actions/clone.js',"./popover/actions/delete.js":'./assets/js/builder/popover/actions/delete.js',"./popover/actions/general.js":'./assets/js/builder/popover/actions/general.js',"./popover/base.js":'./assets/js/builder/popover/base.js',"./popover/column.js":'./assets/js/builder/popover/column.js',"./popover/content.js":'./assets/js/builder/popover/content.js',"./popover/row.js":'./assets/js/builder/popover/row.js',"./popover/section.js":'./assets/js/builder/popover/section.js',"./render-fonts.js":'./assets/js/builder/render-fonts.js',"./resize/row.js":'./assets/js/builder/resize/row.js',"./service.js":'./assets/js/builder/service.js',"./style/remote.js":'./assets/js/builder/style/remote.js',"./style/updater.js":'./assets/js/builder/style/updater.js',"./tinymce/loading.js":'./assets/js/builder/tinymce/loading.js',"./tinymce/width.js":'./assets/js/builder/tinymce/width.js',"./tinymce/wp-mce-draggable.js":'./assets/js/builder/tinymce/wp-mce-draggable.js',"./tooltips.js":'./assets/js/builder/tooltips.js',"./util.js":'./assets/js/builder/util.js',"./validation/section.js":'./assets/js/builder/validation/section.js'};n.keys=function(){return Object.keys(l)},n.resolve=r,e.exports=n,n.id='./assets/js/builder recursive \\.js$'},"./assets/js/builder/browser/ie-version.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(){var e=window.navigator.userAgent,o,a,n,r;return(n=e.indexOf('MSIE '),0<n)?parseInt(e.substring(n+5,e.indexOf('.',n)),10):(o=e.indexOf('Trident/'),0<o)?(r=e.indexOf('rv:'),parseInt(e.substring(r+3,e.indexOf('.',r)),10)):(a=e.indexOf('Edge/'),0<a?parseInt(e.substring(a+5,e.indexOf('.',a)),10):void 0)}},"./assets/js/builder/controls.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR;BOLDGRID.EDITOR.Controls={$panel:null,$menu:null,$colorControl:null,controls:[],indexedControls:{},$container:null,init:function(o){this.$container=o,this.$container.find('body').css('marginTop','50px'),this.$menu=BOLDGRID.EDITOR.Menu.init(),this.$panel=BOLDGRID.EDITOR.Panel.init(),this.onEditibleClick(),this.setupSliders(),e.$window.trigger('boldgrid_editor_preload'),this.setupControls(),e.CONTROLS.Generic.setupInputCustomization(),e.CONTROLS.Generic.setupInputInitialization(),e.NOTICE.Update.init(),this.browser=e.Util.checkBrowser(),e.$window.trigger('boldgrid_editor_loaded')},hasThemeFeature:function(e){return-1!==BoldgridEditor.builder_config.theme_features.indexOf(e)},addStyle:function(e,o,a){e.css(o,a),BOLDGRID.EDITOR.mce.dom.setStyle(e,o,a)},setupSliders:function(){this.$panel.on('slide','.section .slider',function(e,a){var n=o(this);n.siblings('.value').html(a.value)})},registerControl:function(e){this.controls.push(e),this.indexedControls[e.name]=e},get:function(e){return this.indexedControls[e]||this.indexedControls[e.toLowerCase()]},editorMceInstance:function(){var e=!1;return IMHWPB.WP_MCE_Draggable&&IMHWPB.WP_MCE_Draggable.instance&&(e=IMHWPB.WP_MCE_Draggable.instance),e},clearMenuItems:function(){this.$menu.items=[]},_setupUpdateMenu:function(){var a=this;this.$container.on('click',function(n){a.$menu.find('li[data-action]').hide(),a.$menu.items.length?a.$menu.show():(a.$menu.hide(),BOLDGRID.EDITOR.Panel.closePanel()),o.each(a.$menu.items,function(){a.$menu.find('[data-action="menu-'+this+'"]').show(),BOLDGRID.EDITOR.Menu.reactivateMenu()}),a._closeOpenControl(),n.boldgridRefreshPanel||BOLDGRID.EDITOR.CONTROLS.Color.closePicker(),a.clearMenuItems()})},onEditibleClick:function(){this._setupUpdateMenu()},_closeOpenControl:function(){e.Panel.currentControl&&-1===this.$menu.items.indexOf(e.Panel.currentControl.name)&&e.Panel.closePanel()},setupControls:function(){var e=this;this.controls=_.sortBy(this.controls,'priority'),o.each(this.controls,function(){e.setupControl(this)}),BoldgridEditor.display_intro||this.$container.find('body').click()},setupControl:function(o){this.bindControlHandler(o),BOLDGRID.EDITOR.Menu.createListItem(o),o.setup&&o.setup(),e.Panel.setupPanelClick(o)},bindControlHandler:function(e){e.selectors&&this.setupElementClick(e),e.onMenuClick&&this.$menu.on('click','[data-action="menu-'+e.name+'"]',e.onMenuClick)},setupElementClick:function(a){var n=this;this.$container.on('click',a.selectors.join(),function(r){var e=o(this);if('box'===a.name){var l,s;if(r.boxFound)return;if(l=e.closest('.editing-as-row').length,s=e.is('.row .row [class*="col-md"]'),l&&!1===s)return;if(l&&(r.boxFound=!0),!r.boxFound&&e.parent().closest('[class*="col-md"]').length){var i=BOLDGRID.EDITOR.CONTROLS.Box.findModule(e),d=i.css('background-color');if(!BOLDGRID.EDITOR.CONTROLS.Color.isColorTransparent(d))r.boxFound=!0;else return}}e.closest('.wpview').length&&'edit-media'!==a.name||a.exceptionSelector&&r.target&&o(r.target).is(a.exceptionSelector)||(n.$menu.targetData=n.$menu.targetData||{},n.$menu.targetData[a.name]=e,a.elementClick&&a.elementClick(r),n.$menu.items.push(a.name))})}}}(jQuery)},"./assets/js/builder/controls/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.CONTROLS.Add={$element:null,name:'add',tooltip:'Add New Item',priority:1,iconClasses:'genericon genericon-plus add-element-trigger',selectors:['html'],menuDropDown:{title:'Add New',options:[{name:'Media',class:'action add-media dashicons dashicons-admin-media'},{name:'Button',class:'action font-awesome add-button'},{name:'Icon',class:'action font-awesome add-icon'},{name:'Block',class:'action add-gridblock'},{name:'Section',class:'action add-row'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupMenuClick()},_setupMenuClick:function(){o.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.add-gridblock',a.addGridblock).on('click','.action.add-row',a.addSection).on('click','.action.add-button',o.CONTROLS.Button.insertNew).on('click','.action.add-media',a.openAddMedia).on('click','.action.add-icon',o.CONTROLS.Icon.insertNew)},openAddMedia:function(){wp.media.editor.open(),wp.media.frame.setState('insert')},scrollToElement:function(o,a){e('html, body').animate({scrollTop:o.offset().top},a)},addSection:function(){var n=BOLDGRID.EDITOR.Controls.$container,r=e(wp.template('boldgrid-editor-empty-section')());n.$body.prepend(r),a.scrollToElement(r,200),o.CONTROLS.Section.transistionSection(r)},addGridblock:function(){var e=BOLDGRID.EDITOR.Controls.editorMceInstance();e&&e.insert_layout_action()}},BOLDGRID.EDITOR.CONTROLS.Add.init(),a=BOLDGRID.EDITOR.CONTROLS.Add}(jQuery)},"./assets/js/builder/controls/advanced.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Advanced',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e),this.name='Advanced',this.panel={title:'Advanced',height:'600px',width:'375px',customizeCallback:!0,customizeSupport:['margin','padding','border','width','box-shadow','border-radius','background-color','blockAlignment','customClasses']}}return r(e,[{key:'init',value:function(){s.Controls.registerControl(this)}},{key:'_setTargetType',value:function(e){s.Panel.$element.find('.customize-navigation').attr('data-element-type',e)}},{key:'openPanel',value:function(e,o){this.$target=e,s.Menu.$element.targetData[this.name]=e,s.Panel.clear(),s.Panel.showFooter(),s.Panel.open(this),this._setTargetType(o),s.Panel.enterCustomization(),s.Panel.customizeOpenEvent()}}]),e}()},"./assets/js/builder/controls/background.js":function(){var e=Math.floor;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Background={name:'background',tooltip:'Section Background',uploadFrame:null,priority:10,iconClasses:'genericon genericon-picture',selectors:['.boldgrid-section'],availableEffects:['background-parallax','background-fixed'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Section Background',height:'600px',width:'325px',scrollTarget:'.presets',customizeSupport:['margin','padding','border','width','box-shadow','border-radius','blockAlignment','customClasses'],sizeOffset:-230},onMenuClick:function(){n.openPanel()},_setupAddImage:function(){a.Panel.$element.on('click','.background-design .add-image-controls',function(){return n.uploadFrame?void n.uploadFrame.open():void(n.uploadFrame=wp.media({title:'Select Background Image',library:{type:'image'},button:{text:'Use this media'},multiple:!1}),n.uploadFrame.on('select',function(){var e=n.uploadFrame.state().get('selection').first().toJSON();n.setImageBackground(e.url),n.setImageSelection('image')}),n.uploadFrame.open())})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},setup:function(){n._setupBackgroundClick(),n._setupFilterClick(),n._setupCustomizeLeave(),n._setupBackgroundSize(),n._setupBackgroundColor(),n._setupGradientColor(),n._setupOverlayColor(),n._setupOverlayReset(),n._setupScrollEffects(),n._setupGradientDirection(),n._setupCustomization(),n._setupAddImage()},_setupBackgroundColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name="section-background-color"]',function(){var e=o(this),r=a.Menu.$element.targetData[n.name],l=e.val(),s=e.attr('data-type'),i=a.Panel.$element.find('.current-selection'),d=i.attr('data-type');n.removeColorClasses(r),a.Controls.addStyle(r,'background-color',''),'pattern'!==d&&(a.Controls.addStyle(r,'background-image',''),r.removeAttr('data-bg-color-1'),r.removeAttr('data-bg-color-2'),r.removeAttr('data-bg-direction')),'pattern'!==d&&a.Panel.$element.find('.presets .selected').removeClass('selected'),'class'===s?r.addClass('bg-background-color').addClass(a.CONTROLS.Color.getColorClass('background-color',l)).addClass(a.CONTROLS.Color.getColorClass('text-contrast',l)):a.Controls.addStyle(r,'background-color',l),n.setImageSelection(d,r.css('background'))})},_setupOverlayReset:function(){var e=a.Panel;e.$element.on('click','.background-design .overlay-color .default-color',function(r){var e=o(this),l=a.Menu.$element.targetData[n.name];r.preventDefault(),e.closest('.color-controls').find('label').css('background-color','rgba(255,255,255,.5)'),l.removeAttr('data-bg-overlaycolor'),n.updateBackgroundImage()})},_setupOverlayColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name="overlay-color"]',function(){var e=o(this),r=e.attr('data-type'),l=e.val(),s=a.Menu.$element.targetData[n.name];'class'===r&&(l=BoldgridEditor.colors.defaults[l-1]),s.attr('data-bg-overlaycolor',l),n.updateBackgroundImage()})},updateBackgroundImage:function(){var e=a.Menu.$element.targetData[n.name],o=e.attr('data-bg-overlaycolor'),r=e.attr('data-image-url');o&&r?a.Controls.addStyle(e,'background-image',n.getOverlayImage(o)+', url("'+r+'")'):r&&a.Controls.addStyle(e,'background-image','url("'+r+'")')},getOverlayImage:function(e){return'linear-gradient(to left, '+e+', '+e+')'},_setupGradientColor:function(){var e=a.Panel;e.$element.on('change','.background-design [name^="gradient-color"]',function(){var e=o(this),r=a.Menu.$element.targetData[n.name],l=e.val(),s=e.attr('name'),i=e.attr('data-type');'class'===i&&(l=BoldgridEditor.colors.defaults[l-1]),'gradient-color-1'===s?r.attr('data-bg-color-1',l):r.attr('data-bg-color-2',l),a.Controls.addStyle(r,'background-image',n.createGradientCss(r))})},_setupCustomization:function(){var e=a.Panel;e.$element.on('click','.current-selection .settings .panel-button',function(o){o.preventDefault(),n.openCustomization()})},_setupScrollEffects:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="scroll-effects"]',function(){var e=o(this),r=a.Menu.getTarget(n);'none'===e.val()?r.removeClass(n.availableEffects.join(' ')):(r.removeClass(n.availableEffects.join(' ')),r.addClass(e.val()))})},_setupGradientDirection:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="bg-direction"]',function(){var e=o(this),r=a.Menu.getTarget(n);r.attr('data-bg-direction',e.val()),a.Controls.addStyle(r,'background-image',n.createGradientCss(r))})},createGradientCss:function(e){return'linear-gradient('+e.attr('data-bg-direction')+','+e.attr('data-bg-color-1')+','+e.attr('data-bg-color-2')+')'},_setupBackgroundSize:function(){var e=a.Panel;e.$element.on('change','.background-design input[name="background-size"]',function(){var e=o(this),r=a.Menu.getTarget(n);'tiled'===e.val()?(a.Controls.addStyle(r,'background-size','auto auto'),a.Controls.addStyle(r,'background-repeat','repeat')):'cover'===e.val()&&(a.Controls.addStyle(r,'background-size','cover'),a.Controls.addStyle(r,'background-repeat',''))})},_setupCustomizeLeave:function(){var o=a.Panel;o.$element.on('click','.background-design .back .panel-button',function(r){r.preventDefault(),o.$element.find('.preset-wrapper').show(),o.$element.find('.background-design .customize').hide(),o.initScroll(),n.preselectBackground(),o.scrollToSelected(),a.Service.customize.navigation.disable()})},_setupFilterClick:function(){var n=a.Panel;n.$element.on('click','.background-design .filter',function(a){a.preventDefault();var e=o(this),r=e.data('type'),l=e.data('label'),s=n.$element.find('.current-selection'),i=n.$element.find('.presets .background-color.section');n.$element.find('.filter').removeClass('selected'),e.addClass('selected'),n.$element.find('.presets .selection').hide(),o.each(r,function(){n.$element.find('.presets .selection[data-type="'+this+'"]').show()}),n.$element.find('.presets .title > *').text(l),n.$element.find('.presets').attr('data-filter',r),s.attr('data-filter',r),r.length&&-1!==r.indexOf('image')?i.hide():i.show(),n.scrollToSelected()})},removeColorClasses:function(e){e.removeClass('bg-background-color'),e.removeClass(a.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(a.CONTROLS.Color.textContrastClasses.join(' '))},_setupBackgroundClick:function(){var e=a.Panel;e.$element.on('click','.background-design .selection',function(){var r=o(this),l=a.Menu.getTarget(n),s=r.attr('data-image-url'),i=r.css('background-image'),d=r.css('background');return r.hasClass('selected')?(n.removeColorClasses(l),a.Controls.addStyle(l,'background',''),l.removeAttr('data-image-url'),r.removeClass('selected'),void n.preselectBackground(!0)):void(e.$element.find('.presets .selected').removeClass('selected'),r.addClass('selected'),l.removeAttr('data-bg-color-1').removeAttr('data-image-url').removeAttr('data-bg-color-2').removeAttr('data-bg-direction'),'pattern'!==r.data('type')&&n.removeColorClasses(l),'image'===r.data('type')?n.setImageBackground(s):'color'===r.data('type')?(l.addClass(r.data('class')),l.addClass(a.CONTROLS.Color.getColorClass('text-contrast',r.data('class').replace(/\D/g,''))),l.addClass('bg-background-color'),a.Controls.addStyle(l,'background-image',''),n.setDefaultBackgroundColors()):'pattern'===r.data('type')?(a.Controls.addStyle(l,'background-size','auto auto'),a.Controls.addStyle(l,'background-repeat','repeat'),a.Controls.addStyle(l,'background-image',i)):'gradients'===r.data('type')?(a.Controls.addStyle(l,'background-image',i),l.attr('data-bg-color-1',r.data('color1')).attr('data-bg-color-2',r.data('color2')).attr('data-bg-direction',r.data('direction'))):a.Controls.addStyle(l,'background-image',i),n.setImageSelection(r.data('type'),d))})},activateFilter:function(e){var r=!1,l=a.Menu.getTarget(n),s;a.Panel.$element.find('.current-selection .filter').each(function(){var a=o(this),n=a.data('type');if(e&&-1!==n.indexOf(e))return a.click(),r=!0,!1}),r||e||(s=l.css('background-image'),s&&'none'!==s&&(a.Panel.$element.find('.filter[data-type]:first-of-type').click(),r=!0)),!1==r&&a.Panel.$element.find('.filter[data-default="1"]').click()},setImageSelection:function(e,o){var r=a.Panel.$element.find('.current-selection'),l=a.Menu.getTarget(n);r.css('background',''),'color'===e?r.css('background-color',o):(r.css('background-color',l.css('background-color')),r.css('background-image',l[0].style['background-image'])),r.attr('data-type',e)},setImageBackground:function(e){var o=a.Menu.getTarget(n);o.attr('data-image-url',e),a.Controls.addStyle(o,'background',''),n.updateBackgroundImage(),a.Controls.addStyle(o,'background-size','cover'),a.Controls.addStyle(o,'background-position','50% 50%')},_initSliders:function(){n._initVerticleSlider()},_initVerticleSlider:function(){var e=a.Menu.getTarget(n),o=e.css('background-position-y'),r=e.css('background-position-x');o=o?parseInt(o):50,r=r?parseInt(r):50,a.Panel.$element.find('.background-design .vertical-position .slider').slider({min:0,max:100,value:o,range:'max',slide:function(o,n){e.css('background-image')&&a.Controls.addStyle(e,'background-position',r+'% '+n.value+'%')}}).siblings('.value').html(o)},openCustomization:function(){a.Panel.$element.find('.preset-wrapper').hide(),a.Panel.$element.find('.background-design .customize').show(),a.Panel.$element.find('.preset-wrapper').attr('data-type',a.Panel.$element.find('.current-selection').attr('data-type')),n._initSliders(),n.selectDefaults(),a.Panel.enterCustomization(),a.Panel.customizeOpenEvent(),a.Panel.createScrollbar('.customize',{height:n.panel.height})},selectDefaults:function(){n.setScrollEffect(),n.setSize(),n.setDefaultDirection(),n.setDefaultBackgroundColors(),n.setDefaultOverlayColor()},setDefaultOverlayColor:function(){var e=a.Menu.getTarget(n),o=a.Panel.$element.find('.overlay-color'),r=e.attr('data-bg-overlaycolor');r&&o.find('input').attr('value',r)},setSize:function(){var e=a.Panel.$element.find('input[name="background-size"]'),o=a.Menu.getTarget(n);-1===o.css('background-size').indexOf('cover')&&e.filter('[value="tiled"]').prop('checked',!0)},setScrollEffect:function(){var e=a.Menu.getTarget(n);o.each(n.availableEffects,function(){if(e.hasClass(this))return a.Panel.$element.find('input[name="scroll-effects"][value="'+this+'"]').prop('checked',!0),!1})},setDefaultDirection:function(){var e=a.Menu.getTarget(n),o=e.attr('data-bg-direction');n.backgroundIsGradient(e.css('background-image'))&&o&&a.Panel.$element.find('input[name="bg-direction"][value="'+o+'"]').prop('checked',!0)},setDefaultBackgroundColors:function(){var e=a.Menu.getTarget(n),o,r;n.backgroundIsGradient(e.css('background-image'))?(a.Panel.$element.find('input[name="gradient-color-1"]').attr('value',e.attr('data-bg-color-1')),a.Panel.$element.find('input[name="gradient-color-2"]').attr('value',e.attr('data-bg-color-2'))):(o=a.CONTROLS.Color.findAncestorColor(e,'background-color'),r=a.Panel.$element.find('input[name="section-background-color"]'),r.prev('label').css('background-color',o),r.attr('value',o))},randomGradientDirection:function(){var o=['to left','to bottom'];return o[e(Math.random()*o.length)]},_createGradients:function(){var e=[];o.each(BoldgridEditor.sample_backgrounds.default_gradients,function(){var o=this.colors[0],a=this.colors[1],r=n.randomGradientDirection();e.push({color1:o,color2:a,direction:r,css:'linear-gradient('+r+','+o+','+a+')'})}),console.log(JSON.stringify(e))},setPaletteGradients:function(){var a=[];BoldgridEditor.colors.defaults&&BoldgridEditor.colors.defaults.length&&o.each([0,1],function(){var o,r,l;o=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],r=BoldgridEditor.colors.defaults[e(Math.random()*BoldgridEditor.colors.defaults.length)],o!==r&&(l=n.randomGradientDirection(),a.push({color1:o,color2:r,direction:l,css:'linear-gradient('+l+','+o+','+r+')'}))}),o.each(a,function(){BoldgridEditor.sample_backgrounds.gradients.unshift(this)})},backgroundIsGradient:function(e){return-1!==e.indexOf('linear-gradient')&&-1===e.indexOf('url')},preselectBackground:function(e){var r='color',l=a.Menu.getTarget(n),s=l.css('background-color'),i=l.css('background-image'),d=a.Panel.$element.find('.current-selection'),c=n.backgroundIsGradient(i),p=!1;n.setImageSelection('image'),d.css('background-color',s),a.Panel.$element.find('.selection').each(function(){var e=o(this),a=e.data('type'),s=e.data('class');switch(a){case'color':if(s&&l.hasClass(s)&&'none'===l.css('background-image'))return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;break;case'image':if(e.attr('data-image-url')===l.attr('data-image-url'))return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;break;case'gradients':case'pattern':if(e.css('background-image')===i)return e.addClass('selected'),r=a,p=!0,n.activateFilter(r),!1;}}),p||(c?r='gradients':'none'!==i&&(r='image'),!e&&n.activateFilter(r)),d.attr('data-type',r)},openPanel:function(){var e=a.Panel,o=wp.template('boldgrid-editor-background');BoldgridEditor.sample_backgrounds.color=a.CONTROLS.Color.getPaletteBackgroundColors(),e.clear(),n.setPaletteGradients(),e.$element.find('.panel-body').html(o({images:BoldgridEditor.sample_backgrounds,imageData:BoldgridEditor.builder_config.background_images})),n.preselectBackground(),n.setDefaultBackgroundColors(),e.open(n)}},BOLDGRID.EDITOR.CONTROLS.Background.init(),n=BOLDGRID.EDITOR.CONTROLS.Background}(jQuery)},"./assets/js/builder/controls/box.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Box={uiBoxDimensions:{"bg-box bg-box-rounded":'box-wide',"bg-box bg-box-rounded-bottom-left bg-box-rounded-bottom-right":'box-long',"bg-box bg-box-rounded-bottom-right bg-box-rounded-top-right":'box-wide',"bg-box bg-box-edged bg-box-shadow-bottom-right":'box-wide',"bg-box bg-box-square bg-box-border-thin":'box-long',"bg-box bg-box-square bg-box-border-thick":'box-wide',"bg-box bg-box-square bg-box-border-dashed":'box-wide',"bg-box bg-box-rounded bg-box-border-dashed":'box-long',"bg-box bg-box-square bg-box-border-dashed-thick":'box-long',"bg-box bg-box-square bg-box-border-double-thick":'box-wide'},namespace:'bg-box',name:'box',priority:20,iconClasses:'genericon genericon-gallery',tooltip:'Column Background',selectors:['.row [class*="col-md"]'],panel:{title:'Column Background',height:'550px',width:'325px',customizeSupport:['width','margin','padding','box-shadow','border','border-radius','blockAlignment','background-color','customClasses'],includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},colorControls:null,targetClasses:null,targetColor:null,$presets:null,onMenuClick:function(){n.openPanel()},setup:function(){n._setupPresetClick(),n._setupPresetHover(),n._setupPanelLeave(),n._setupSliderChange(),a.Panel.$element.on('bg-customize-exit',function(){return a.Panel.showFooter()}),a.Panel.$element.on('box-background-color-change box-border-color-change box-css-change',function(){return n._saveModuleClasses()}),n.presetsMarkup=n.getBoxMarkup()},_setupSliderChange:function(){a.Panel.$element.on('slidechange','.box-design .slider',function(){n._saveModuleClasses()})},_setupPanelLeave:function(){var e=a.Panel;e.$element.on('mouseleave','.box-design',function(o){o.preventDefault();var e=a.Menu.getTarget(n),r;r=n.findModule(e),n.removeModuleClasses(r),r.addClass(n.targetClasses),n.targetClasses&&-1!==n.targetClasses.indexOf('-background-color')||a.Controls.addStyle(r,'background-color',n.targetColor),n._applyCloneStyles(r)})},_applyCloneStyles:function(e){n.$targetModuleClone&&(e.attr('style',n.$targetModuleClone.attr('style')||''),e.attr('data-mce-style',n.$targetModuleClone.attr('style')||''))},_setupPresetHover:function(){var e=a.Panel;e.$element.hoverIntent({out:function(){},over:function(a){var e=o(this);a.preventDefault(),n.addBox(e)},selector:'.box-design .presets .'+n.namespace})},_setupPresetClick:function(){var r=a.Panel;r.$element.on('click','.box-design .presets .'+n.namespace,function(l){var e=o(this),s;l.preventDefault(),e.hasClass('selected')?(s=n.findModule(a.Menu.getTarget(n)),a.CONTROLS.Color.resetBorderClasses(s),r.clearSelected(),n.removeModuleClasses(s),n._clearModuleClasses(),n._clearInlineStyles(s)):(n.addBox(e),r.clearSelected(),n._saveModuleClasses(),e.addClass('selected'))})},_clearInlineStyles:function(e){e.css('padding',''),e.css('margin',''),e.css('background-color',''),e.css('border-color','')},_clearModuleClasses:function(){n.targetClasses='',n.targetColor='',n.$targetModuleClone=!1},_saveModuleClasses:function(){var e=n.findModule(a.Menu.getTarget(n));n.targetClasses=e.attr('class'),n.targetColor=e[0].style['background-color'],n.$targetModuleClone=e.clone()},findModule:function(e){var a=e.find('> div'),n=e.find('> *'),r=1===a.length&&a.not('.row').length&&a.not('[class*="col-md"]').length&&1===n.length,l;return r&&(l=a),l||(l=o('<div></div>'),l.html(n),e.html(l)),l},addBox:function(e){var o=a.Menu.getTarget(n),r=e.data('value'),l=e.css('background-color'),s=n.findModule(o),i;n._clearInlineStyles(s),a.CONTROLS.Color.resetBorderClasses(s),n.removeModuleClasses(s),e.parent('.my-designs').length&&(i=BoldgridEditor.builder_config.components_used.box[e.data('id')].style,s.attr('style',i)),s.addClass(r),s.attr('class')&&-1===s.attr('class').indexOf('-background-color')&&a.Controls.addStyle(s,'background-color',l)},removeModuleClasses:function(e){e.removeClass(function(e,o){return(o.match(/(^|\s)bg-box?\S+/g)||[]).join(' ')}),e.removeClass('bg-background-color'),e.removeClass(a.CONTROLS.Color.backgroundColorClasses.join(' ')),e.removeClass(a.CONTROLS.Color.textContrastClasses.join(' ')),a.Controls.addStyle(e,'background-color','')},getTarget:function(){var e=a.Menu.getTarget(n);return n.findModule(e)},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&n.openPanel()},updateUiStyles:function(){var e=n.presetsMarkup,r='',l=0,s=[],i=a.CONTROLS.Color.getBackgroundForegroundColors(),d;return o.each(i,function(){s.push({color:this.color,colorClass:this.background+' '+this.text})}),o.each(['#fff','#000','rgb(236, 236, 236)'],function(){s.push({color:this})}),o.each(e,function(e){d=o(this),s[l].colorClass?(d.attr('data-value',d.data('value')+' '+s[l].colorClass),d.css('background-color',s[l].color)):d.css('background-color',s[l].color),d.attr('data-id',e),0==e%4&&0!==e&&l++,s[l]||(l=0),r+=d[0].outerHTML}),n.$presets=r,r},getBoxMarkup:function(){var e=BoldgridEditor.builder_config.boxes,a=[],r;return o.each(e,function(){r=n.uiBoxDimensions[this]||'',r+=' ',a.push('<div data-value=\''+this+'\' class=\''+r+this+'\'></div>')}),a},preselectBox:function(){var e=a.Menu.getTarget(n),r=n.findModule(e),l=r.attr('class'),s=[];l=l?l.split(' '):[],o.each(l,function(){0===this.indexOf('bg-box')&&s.push(this)}),s=!!s.length&&'.'+s.join('.'),a.Panel.$element.find('.presets > div').each(function(){var e=o(this);if(s&&e.filter(s).length&&e.css('background-color')===r.css('background-color'))return e.addClass('selected'),!1})},styleMyDesigns:function(){var e=a.Controls.$container.$body;a.Panel.$element.find('.my-designs > *').each(function(){var a=o(this),n=a.data('id'),r=a.clone();r.css('display','none'),r.attr('style',BoldgridEditor.builder_config.components_used.box[n].style),e.append(r),a.css('background-color',r.css('background-color')),a.css('border-color',r.css('border-color')),r.remove()})},removeInvalid:function(){var e=[],n=a.Panel.$element.find('.my-designs');n.find('> *').each(function(){var n=o(this),r=n.css('background-color'),l=n.attr('data-value')+r;-1!==e.indexOf(l)||a.CONTROLS.Color.isColorTransparent(r)?n.remove():e.push(l)}),e.length||(n.remove(),a.Panel.$element.find('.my-designs-title').remove())},_updateMyDesigns:function(){a.Controls.$container.$body.find('.bg-box').each(function(){var e=o(this),a,n;a={classes:e.attr('class'),style:e.attr('style')},n=!1,o.each(BoldgridEditor.builder_config.components_used.box,function(){if(this.style===a.style&&this.classes===a.classes)return n=!0,!1}),n||BoldgridEditor.builder_config.components_used.box.push(a)})},openPanel:function(){var e=a.Panel,o=wp.template('boldgrid-editor-box');n.updateUiStyles(),n._saveModuleClasses(),n._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(o({presets:n.$presets,myPresets:BoldgridEditor.builder_config.components_used.box,colorControls:n.colorControls})),n.styleMyDesigns(),n.removeInvalid(),BOLDGRID.EDITOR.Panel.open(n),n.preselectBox(),e.$element.find('.grid').masonry({itemSelector:'.'+n.namespace}),e.initScroll(n),e.scrollToSelected(),a.Panel.showFooter()}},BOLDGRID.EDITOR.CONTROLS.Box.init(),n=BOLDGRID.EDITOR.CONTROLS.Box}(jQuery)},"./assets/js/builder/controls/button.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Button={name:'button',priority:80,tooltip:'Button Design',iconClasses:'fa fa-cog',selectors:['.btn','a.button','a.button-secondary','a.button-primary'],defaultColorClasses:[{color:'#eee',number:0},{color:'#229ffd',number:1},{color:'#ff414f',number:2},{color:'#a5de37',number:3},{color:'#feae1b',number:4},{color:'#7b72e9',number:5}],classes:[{name:'btn btn-3d btn-rounded'},{name:'btn btn-3d btn-pill'},{name:'btn btn-3d'},{name:'btn btn-raised btn-rounded'},{name:'btn btn-raised btn-pill'},{name:'btn btn-raised btn-small-caps'},{name:'btn btn-rounded btn-small-caps'},{name:'btn btn-pill'},{name:'btn'},{name:'btn btn-longshadow btn-rounded'},{name:'btn btn-longshadow btn-small-caps btn-pill'},{name:'btn btn-longshadow btn-uppercase'},{name:'btn btn-glow btn-rounded'},{name:'btn btn-glow btn-pill btn-uppercase'},{name:'btn btn-glow'},{name:'btn btn-block btn-rounded'},{name:'btn btn-block btn-pill'},{name:'btn btn-block btn-small-caps'}],sizeClasses:['btn-tiny','btn-small','','btn-large','btn-jumbo','btn-giant'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Button Design',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['margin','padding','border','box-shadow','customClasses']},setup:function(){a.applyColors(),a._setupPresetClick(),a._setupColorClick(),a._setupCustomizeOpen(),a.removeSizeClasses()},removeSizeClasses:function(){var e=BoldgridEditor.builder_config.components_used.button;_.each(e,function(o,a){o.classes=o.classes.replace(/btn-(giant|jumbo)/g,''),e[a]=o}),e=_.uniq(e,!1,function(e){return e.classes}),BoldgridEditor.builder_config.components_used.button=e.slice(0,20)},_setupCustomizeOpen:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-open',function(){e.currentControl===a&&(a.sizeSlider.init(),o.Menu.getTarget(a).removeClass('bg-control-element'))}),e.$element.on('bg-customize-exit',function(){e.currentControl===a&&(a.preselect(),o.Panel.scrollToSelected(),a.toggleFooter())})},removeColorClasses:function(){var e=o.Menu.getTarget(a);e.removeClass('btn-neutral-color'),e.removeClass(function(e,o){return(o.match(/(^|\s)btn-color\S+/g)||[]).join(' ')})},_setupColorClick:function(){o.Panel.$element.on('click','.customize .button-color-controls .panel-selection',function(){var n=e(this),r=o.Menu.getTarget(a);a.removeColorClasses(),n.siblings().removeClass('selected'),n.addClass('selected'),r.addClass('btn-color-'+n.attr('data-preset'))})},_setupPresetClick:function(){var n=o.Panel;n.$element.on('click','.button-design .presets .panel-selection',function(){var r=e(this),l=r.data('preset'),s=o.Menu.getTarget(a);o.Controls.addStyle(s,'border',''),o.Controls.addStyle(s,'box-shadow',''),n.clearSelected(),r.addClass('selected'),s.attr('class',''),s.addClass(l),a.toggleFooter()})},insertNew:function(){var e;send_to_editor('<a class="btn btn-color-1 bg-inserted-button" href="#">Button</a>'),e=o.Controls.$container.find('.bg-inserted-button').last(),o.Controls.$container.find('.bg-inserted-button').removeClass('bg-inserted-button'),o.Controls.$menu.targetData[a.name]=e,e.click(),a.openPanel()},onMenuClick:function(){a.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},applyColors:function(){var o=5,n=0,r;BoldgridEditor.colors.defaults.length&&(o=BoldgridEditor.colors.defaults.length,n=1),r=n,e.each(a.classes,function(e){o<r&&(r=n),0!==r&&(this.name+=' btn-color-'+r),0==(e+1)%4&&r++})},sizeSlider:{getDefault:function(){var n=2,r=o.Menu.getCurrentTarget();return e.each(a.sizeClasses,function(e){if(r.hasClass(this))return n=e,!1}),n},init:function(){var e=this.getDefault()+1,n=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.button-size-control .value').html(e),o.Panel.$element.find('.section.button-size-control .slider').slider({min:1,max:6,value:e,range:'max',slide:function(e,o){n.removeClass(a.sizeClasses.join(' ')),o.value&&n.addClass(a.sizeClasses[o.value-1])}})}},getColorsMarkup:function(){var e=a.defaultColorClasses;return(BoldgridEditor.features.button_colors&&!BoldgridEditor.is_boldgrid_theme||o.Controls.hasThemeFeature('button-lib'))&&(e=o.CONTROLS.Color.getColorsFormatted()),o.CONTROLS.Color.colorTemplate({colors:e,customColors:[]})},preselect:function(){var n=o.Menu.getTarget(a),r=o.Util.getClassesLike(n,'btn');r=e('<div>').addClass(r.join(' ')).removeClass('bg-control-element '+a.sizeClasses.join(' ')).attr('class'),n.hasClass('button-primary')?r='button-primary':n.hasClass('button-secondary')&&(r='button-secondary'),o.Panel.clearSelected(),o.Panel.$element.find('[data-preset="'+r+'"]:first').addClass('selected')},toggleFooter:function(){var e=o.Menu.getTarget(a);e.hasClass('btn')?o.Panel.showFooter():o.Panel.hideFooter()},_updateMyDesigns:function(){a.usedComponents=BoldgridEditor.builder_config.components_used.button.slice(0),o.Controls.$container.$body.find('.btn').each(function(){var o=e(this),n=o.clone().removeClass('bg-control-element '+a.sizeClasses.join(' ')),r=n.attr('class'),l=a.usedComponents,s=_.findIndex(l,function(e){return e.classes===r});-1===s&&l.push({style:n.attr('style'),classes:r})})},openPanel:function(){var e=o.Panel,n=wp.template('boldgrid-editor-button');a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(n({text:'Button',presets:a.classes,myPresets:a.usedComponents,colors:a.getColorsMarkup()})),a.preselect(),e.open(a),a.toggleFooter(),e.$element.removeClass('ui-widget-content')}},BOLDGRID.EDITOR.CONTROLS.Button.init(),a=BOLDGRID.EDITOR.CONTROLS.Button}(jQuery)},"./assets/js/builder/controls/color.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});a('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){var a=BOLDGRID.EDITOR,n;a.CONTROLS.Color={$currentInput:null,$colorPanel:null,$colorPicker:null,colorTemplate:wp.template('boldgrid-editor-color'),transparentColors:['rgba(0, 0, 0, 0)','transparent'],colorClasses:['color1-color','color2-color','color3-color','color4-color','color5-color'],textContrastClasses:['color-neutral-text-default','color1-text-default','color2-text-default','color3-text-default','color4-text-default','color5-text-default','color-neutral-text-contrast','color-1-text-contrast','color-2-text-contrast','color-3-text-contrast','color-4-text-contrast','color-5-text-contrast'],backgroundColorClasses:['color-neutral-background-color','color1-background-color','color2-background-color','color3-background-color','color4-background-color','color5-background-color'],borderColorClasses:['color1-border-color','color2-border-color','color3-border-color','color4-border-color','color5-border-color'],customColors:BoldgridEditor.saved_colors,init:function(){var e=a.Service.colorPalette.getPaletteSettings();return n.importPaletteSettings(e),n._create(),n._setupClosePicker(),n._renderColorOptions(),n._setupPanelDrag(),n._setupAddNew(),n._setupColorPicker(),n._setupCallback(),n._setupColorPreview(),n._setupRemove(),n._setupAutoHide(),n._setupResetDefault(),n._addPanelClasses(),n._setupOpenCustomization(),n},updatePaletteSettings:function(e){this.importPaletteSettings(e),this._renderColorOptions()},importPaletteSettings:function(e){!BoldgridEditor.is_boldgrid_theme&&e&&(BoldgridEditor.colors={defaults:e.palettes[0].colors,neutral:e.palettes[0]['neutral-color']})},resetBorderClasses:function(e){e.removeClass(n.borderColorClasses.join(' ')),a.Controls.addStyle(e,'border-color','')},_addPanelClasses:function(){BoldgridEditor.is_boldgrid_theme||n.$colorPanel.addClass('non-bg-theme')},_setupResetDefault:function(){n.$colorPanel.find('.wp-picker-default').on('click',function(o){o.preventDefault(),o.stopPropagation(),n.$currentInput.attr('data-type','color'),n.$currentInput.val('').change(),n.$colorPanel.find('.selected').removeClass('selected'),n.$currentInput.parent().find('label').css('background-color','#333')})},_setupOpenCustomization:function(){a.Panel.$element.on('bg-customize-open',function(){n.initColorControls()})},_setupAutoHide:function(){o('body').on('click',function(){n.closePicker()}),n.$colorPanel.on('click',function(o){o.stopPropagation()})},getColorClass:function(e,o){var a='text-contrast'===e?'-':'';return'color'+a+o+'-'+e},openPicker:function(e){n.$colorPanel.show(),n.$currentInput=e,BOLDGRID.EDITOR.mce.undoManager.add()},closePicker:function(){n.$colorPanel.is(':visible')&&(BOLDGRID.EDITOR.mce.undoManager.add(),n.$colorPanel.hide(),n.$currentInput=null,n.saveCustomColors())},saveCustomColors:function(){o('#post input[name="boldgrid-custom-colors"]').val(JSON.stringify(n.customColors))},_setupColorPreview:function(){a.Panel.$element.on('click','.color-preview',function(r){r.stopPropagation();var e=o(this),l=a.Panel.$element.find('input[name="'+e.attr('for')+'"]'),s;'color'!==l.attr('data-type')&&l.attr('data-type')?'class'===l.attr('data-type')&&(s=n.$colorPanel.find('.panel-selection[data-preset="'+l.val()+'"]')):n.$colorPanel.find('[data-type="custom"].panel-selection').each(function(){var a=o(this);if(e.css('background-color')===a.css('background-color'))return s=a,!1}),n.$colorPanel.find('.panel-selection.selected').removeClass('selected'),n.updatePicker(e.css('background-color')),n.openPicker(l),s&&s.length&&n.selectColor(s)}),a.Panel.$element.on('change','input.color-control',function(){var e=o(this),r=a.Panel.$element.find('.color-preview[for="'+e.attr('name')+'"]');r.css('background-color',n.$colorPicker.iris('color'))})},_setupClosePicker:function(){n.$colorPanel.find('.panel-title .close-icon').on('click',function(){n.closePicker()})},_setupPanelDrag:function(){this.$colorPanel.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},findAncestorColor:function(e,a){var r=[],l;return r.push(e),e.parents().each(function(){r.push(this)}),o.each(r,function(){var e=o(this),r=e.css(a);if(!1===n.isColorTransparent(r))return l=r,!1}),l},getPaletteBackgroundColors:function(){var e={};return o.each(BoldgridEditor.colors.defaults,function(o){e['color'+(o+1)+'-background-color']=this}),e},getBackgroundForegroundColors:function(){var e=[],n;return o.each(BoldgridEditor.colors.defaults,function(o){n=o+1,e.push({color:this,colorNum:n,text:a.CONTROLS.Color.getColorClass('text-default',n),background:a.CONTROLS.Color.getColorClass('background-color',n)})}),e},isColorTransparent:function(e){return-1!==a.CONTROLS.Color.transparentColors.indexOf(e)||!e},initColorControls:function(){a.Panel.$element.find('input.color-control').each(function(){var e=o(this),a=e.val(),r=e.prev('label');!1===n.isColorTransparent(a)&&r.css('background-color',a),e.attr('data-type','color')})},_setupColorPicker:function(){var e='#e3e',a=n.$colorPanel.find('.panel-selection.selected[data-preset]');a.length&&(e=a.css('background-color')),n.$colorPicker=n.$colorPanel.find('.boldgrid-color-picker'),n.$colorPicker.val(e),n.$colorPicker.wpColorPicker({mode:'hsl',defaultColor:e,change:function(e,a){var r=o(this),l=a.color.toCSS(),s=r.closest('.color-control').find('.colors .panel-selection.selected[data-preset]');return s.length&&s.is('[data-type="default"]')?void n._copyColor():void(s=n.$colorPanel.find('.colors .panel-selection.selected[data-preset]'),s.length&&(s.css('background-color',l),s.attr('data-preset',l),n.customColors[s.attr('data-index')]=l),n.$currentInput&&(n.$currentInput.attr('data-type','color'),n.$currentInput.attr('value',l),n.$currentInput.change()))},hide:!1,palettes:!0})},_copyColor:function(){var e,o;o=n.$colorPanel.find('.colors .panel-selection.selected').css('background-color'),o||(o=n.$colorPicker.iris('color')),n.customColors.push(o),n._renderColorOptions(),e=n.$colorPanel.find('.color-control'),e.find('ul.colors').removeClass('selected'),n.updatePicker(o),n.selectColor(e.find('.my-colors li:last-of-type'))},updatePicker:function(e){var o;n.$colorPicker.iris('color',e),o=parseInt(100*Color(e)._alpha),n.$colorPanel.find('.iris-slider-offset-alpha').slider('value',o)},_setupAddNew:function(){n.$colorPanel.on('click','.colors .panel-selection.custom-color',function(){n._copyColor()})},_renderColorOptions:function(){n.$colorPanel.find('.colors-wrap').html(n.colorTemplate({colors:n.getColorsFormatted(),customColors:n.customColors})),BOLDGRID.EDITOR.Tooltip.renderTooltips()},getColorsFormatted:function(){var e=[];return o.each(BoldgridEditor.colors.defaults,function(o){e.push({color:this,paletteNum:o+1})}),e},getGridblockColors:function(){var e=n.getColorsFormatted();return BoldgridEditor.colors.neutral&&e.push({paletteNum:'neutral',color:BoldgridEditor.colors.neutral}),e},_create:function(){var e=wp.template('boldgrid-editor-color-panel');n.$colorPanel=o(e()),o('body').append(n.$colorPanel)},_setupRemove:function(){n.$colorPanel.on('click','.color-picker-wrap .cancel',function(a){var e=o(this),r,l,s;a.preventDefault(),l=e.closest('.color-control'),l.find('.custom-color').removeClass('selected'),r=l.find('.colors .selected[data-type="custom"]'),r.length&&(n.customColors.splice(r.attr('data-index'),1),r.remove(),s=n.$colorPanel.find('.panel-selection').first(),n.$colorPicker.iris('color',s.css('background-color')),n.selectColor(s))})},selectColor:function(e){n.$colorPanel.find('.selected').removeClass('selected'),e.addClass('selected'),e.is('[data-type="custom"]')?n.$colorPanel.attr('current-selection','custom'):n.$colorPanel.attr('current-selection','default')},_setupCallback:function(){n.$colorPanel.on('click','.colors .panel-selection',function(){var e=o(this),a;e.hasClass('custom-color')||(a='default'===e.data('type')?'class':'color',n.$colorPanel.find('ul.colors .panel-selection').removeClass('selected'),n.updatePicker(e.css('background-color')),n.selectColor(e),n.$currentInput.val(e.attr('data-preset')),n.$currentInput.attr('data-type',a),n.$currentInput.change())})}},n=BOLDGRID.EDITOR.CONTROLS.Color}(jQuery)},"./assets/js/builder/controls/color/palette.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Palette',function(){return d}),a.d(o,'default',function(){return d});var r=a('./node_modules/@boldgrid/controls/src/controls/index.js'),l=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),s=window.jQuery,i=BOLDGRID.EDITOR,d=function(){function e(){n(this,e),this.paletteConfig=new r.h,this.name='Palette',this.panel={title:'Color Palette',height:'600px',width:'325px'},this.workerUrl=BoldgridEditor.plugin_url+'/assets/js/sass-js/sass.worker.js?'+BoldgridEditor.version,this.colorPalette=new r.d({sass:{workerURL:this.workerUrl,basePath:BoldgridEditor.plugin_url+'/assets/scss'}}),this.colorPalette.init()}return l(e,[{key:'init',value:function(){return i.Controls.registerControl(this),this}},{key:'setup',value:function(){this._setupParentLoader()}},{key:'openPanel',value:function(){i.Panel.clear(),this.colorPalette.initialCompilesDone||i.Panel.showLoading(),this.renderCustomization(i.Panel.$element.find('.panel-body')),i.Panel.showFooter(),i.Panel.open(this)}},{key:'getPaletteSettings',value:function(){var e=this.getSavedSettings();return e||(e=this.paletteConfig.createSimpleConfig()),e}},{key:'getSavedSettings',value:function(){return this.updatedPaletteSettings||this.getLivePalettes()||!1}},{key:'getLivePalettes',value:function(){var e=BoldgridEditor.control_styles.configuration,o,a;return e&&e.length&&(o=_.find(e,function(e){return'bg-controls-colors'===e.id}),a=!!o.options&&o.options.paletteSettings),a}},{key:'renderCustomization',value:function(e){var o=this,a=this.colorPalette.render(e,this.getSavedSettings());return this.colorPalette.initialCompilesDone||a.on('rendered',function(){o.colorPalette.initialCompiles(3).done(function(){i.Panel.hideLoading()})}),a.on('sass_compiled',function(a,e){i.Service.styleUpdater.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss}),o.styleUpdaterParent.update({id:'bg-controls-colors',css:e.result.text,scss:e.scss,priority:60}),o._postPaletteUpdate()}),a}},{key:'_savePaletteSettings',value:function(){var e;e=this.paletteConfig.createSavableState(BOLDGRID.COLOR_PALETTE.Modify.format_current_palette_state()),i.Service.styleUpdater.stylesState[0].options=i.Service.styleUpdater.stylesState[0].options||{},i.Service.styleUpdater.stylesState[0].options.paletteSettings=e,i.CONTROLS.Color.updatePaletteSettings(e),this.updatedPaletteSettings=e}},{key:'_postPaletteUpdate',value:function(){this._savePaletteSettings(),i.Service.styleUpdater.updateInput()}},{key:'_setupParentLoader',value:function(){var e=BoldgridEditor.control_styles.configuration||[],o=_.find(e,function(e){return'bg-controls-colors'===e.id});o=o?[o]:[],this.styleUpdaterParent=new r.i(document),this.styleUpdaterParent.loadSavedConfig(o),this.styleUpdaterParent.setup()}}]),e}()},"./assets/js/builder/controls/container.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Container={name:'container',tooltip:'Section Width',priority:15,iconClasses:'fa fa-arrows-h',selectors:['.boldgrid-section .container','.boldgrid-section .container-fluid'],init:function(){},onMenuClick:function(){a.toggleSectionWidth()},transitionSize:function(a){o.Controls.$container.find('html').addClass('bg-disabled-handles'),a.css('transition','width .5s'),setTimeout(function(){a.css('transition',''),e(window).trigger('resize'),o.Controls.$container.find('html').removeClass('bg-disabled-handles')},600)},toggleSectionWidth:function(e){e||(e=o.Controls.$menu.targetData[a.name].closest('.container, .container-fluid')),e.hasClass('container')?(a.transitionSize(e),e.addClass('container-fluid'),e.removeClass('container')):(a.transitionSize(e),e.addClass('container'),e.removeClass('container-fluid'))}},BOLDGRID.EDITOR.CONTROLS.Container.init(),a=BOLDGRID.EDITOR.CONTROLS.Container}(jQuery)},"./assets/js/builder/controls/font.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Font={name:'font',tooltip:'Font',priority:30,iconClasses:'fa fa-text-width',selectors:['p, h1, h2, h3, h4, h5, h6, table, section, ul, ol, dl'],exceptionSelector:'img, .draggable-tools-imhwpb *',templateMarkup:null,fontClasses:['bg-font-family-alt','bg-font-family-body','bg-font-family-heading','bg-font-family-menu'],disabledTextContrast:!0,init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Text Setting',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['width','margin','padding','box-shadow','border','border-radius','background-color','blockAlignment','customClasses'],customizeCallback:!0},setup:function(){a._setupEffectClick(),o.CONTROLS.GENERIC.Fontcolor.bind(),a.templateMarkup=wp.template('boldgrid-editor-font')({textEffectClasses:BoldgridEditor.builder_config.textEffectClasses,fonts:BoldgridEditor.builder_config.fonts,themeFonts:a.getThemeFonts(),myFonts:BoldgridEditor.builder_config.components_used.font}),a.bindFontCollpase(),o.FontRender.updateFontLink(o.Controls.$container)},bindFontCollpase:function(){var o=_.debounce(function(){var o=e('.font-family-dropdown');o.hasClass('ui-selectmenu-open')&&o.removeClass('ui-selectmenu-open')},50);e(window).on('scroll',o)},getThemeFonts:function(){var e=[];return-1!==BoldgridEditor.builder_config.theme_features.indexOf('theme-fonts-classes')&&(e=BoldgridEditor.builder_config.theme_fonts),e},_setupEffectClick:function(){var n=o.Panel;n.$element.on('click','.section.effects .panel-selection',function(){var n=e(this),r=o.Menu.$element.targetData[a.name];e.each(BoldgridEditor.builder_config.textEffectClasses,function(){r.removeClass(this.name)}),r.addClass(n.data('preset')),n.siblings().removeClass('selected'),n.addClass('selected')})},onMenuClick:function(){a.openPanel()},charSpacingSlider:function(e){var a=e.css('letter-spacing'),n=a?parseInt(a):0;o.Panel.$element.find('.section.spacing .character .value').html(n),o.Panel.$element.find('.section.spacing .character .slider').slider({step:0.1,min:-0.3,max:5,value:n,range:'max',slide:function(a,n){o.Controls.addStyle(e,'letter-spacing',n.value)}})},lineSpacingSlider:function(e){var a=e.css('line-height'),n=o.Util.convertPxToEm(a,e.css('line-height'));o.Panel.$element.find('.section.spacing .line .value').html(n),o.Panel.$element.find('.section.spacing .line .slider').slider({step:0.1,min:0.5,max:3,value:n,range:'max',slide:function(a,n){o.Controls.addStyle(e,'line-height',n.value+'em')}})},elementClick:function(n){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&(a.openPanel(),o.Panel.$element.find('label[for="font-color"]').is(':visible')&&(n.boldgridRefreshPanel=!0,o.CONTROLS.Color.$currentInput=o.Panel.$element.find('input[name="font-color"]')))},_initTextColor:function(){o.Panel.$element.find('[name="font-color"]').data('type','color').val('#333'),a._hideButtonColor()},_hideButtonColor:function(){var e='> .btn, > .button-primary, > .button-secondary, > a',n=o.Panel.$element.find('.color-preview'),r=o.Menu.getTarget(a),l;l=r.clone(),l.find(e).remove(),!l.text().replace(/ /g,'').length&&r.find(e).length&&n.hide()},_initFamilyDropdown:function(){var n=o.Panel,r;e.widget('custom.fontfamilyselect',e.ui.selectmenu,{_renderItem:function(o,a){return e('<li>').data('ui-autocomplete-item',a).attr('data-value',a.label).attr('data-type',a.element.data('type')).attr('data-index',a.element.data('index')).append(a.label).appendTo(o)},_renderMenu:function(o,a){var n=this;e.each(a,function(e,a){n._renderItemData(o,a)}),o.parent().addClass('font-family-dropdown'),o.addClass('selectize-dropdown-content'),o.find('[data-type="theme"]:first').before('<h3 class="seperator">Theme Fonts</h3>'),o.find('[data-type="custom"]:first').before('<h3 class="seperator">My Fonts</h3>'),o.find('[data-type="all"]:first').before('<h3 class="seperator">All Fonts</h3>'),setTimeout(function(){o.find('.seperator').removeClass('ui-menu-item')})}}),n.$element.find('.selectize-dropdown-content select').fontfamilyselect({select:function(e,n){var l=o.Menu.getTarget(a);return r.attr('data-value',n.item.label),l.removeAttr('data-font-family').removeAttr('data-font-class'),l.removeClass(a.fontClasses.join(' ')),'Default'===n.item.label?void o.Controls.addStyle(l,'font-family',''):void('theme'===n.item.element.data('type')?(l.addClass(n.item.element.data('index')),l.attr('data-font-class',n.item.element.data('index')),o.Controls.addStyle(l,'font-family','')):(l.attr('data-font-family',n.item.label),o.Controls.addStyle(l,'font-family',n.item.label)),o.FontRender.updateFontLink(o.Controls.$container))}}),r=a.getFamilySelection(),a.preselectFamily()},getFamilySelection:function(){return o.Panel.$element.find('.section.family .ui-selectmenu-button')},preselectFamily:function(){var e='Default',n=a.getFamilySelection(),r=o.Menu.getTarget(a),l;r.is('.'+a.fontClasses.join(',.'))?(l=r.attr('data-font-class'),e=o.Panel.$element.find('.section.family [data-index="'+l+'"]').data('value')):r.attr('data-font-family')&&(e=r.attr('data-font-family')),n.attr('data-value',e)},setTextColorInput:function(){var e=o.Menu.getTarget(a),n;n=o.CONTROLS.Color.findAncestorColor(e,'color'),o.Panel.$element.find('input[name="font-color"]').attr('value',n)},setTextEffect:function(){var e=o.Menu.getTarget(a),n=o.Panel.$element.find('.panel-body .section.effects'),r=o.Util.getClassesLike(e,'bg-text-fx');n.find('.panel-selection.selected').removeClass('selected'),r.length?n.find('.panel-selection').find('.'+r.join('.')).closest('.panel-selection').addClass('selected'):n.find('.none-selected').addClass('selected')},selectPresets:function(){a.setTextColorInput(),a.setTextEffect()},openPanel:function(){var e=o.Panel,n=o.Menu.getTarget(a);e.clear(),e.$element.find('.panel-body').html(a.templateMarkup),a.charSpacingSlider(n),a.lineSpacingSlider(n),a._initTextColor(n),a._initFamilyDropdown(),a.selectPresets(),e.open(a),e.scrollTo(0),o.CONTROLS.GENERIC.Fontsize.bind()}},BOLDGRID.EDITOR.CONTROLS.Font.init(),a=BOLDGRID.EDITOR.CONTROLS.Font}(jQuery)},"./assets/js/builder/controls/generic.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/index.js'),r=a('./assets/js/builder/controls/generic/background-color.js'),l=a('./assets/js/builder/controls/generic/border.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){var o=BOLDGRID.EDITOR,a;o.CONTROLS.Generic={defaultCustomize:wp.template('boldgrid-editor-default-customize'),basicControlInstances:[],bgControls:{margin:n.f,padding:n.g,"box-shadow":n.c,"border-radius":n.b,border:l.Border,"background-color":r.BackgroundColor},allControls:['background-color','fontColor','margin','padding','border','box-shadow','border-radius','width','blockAlignment','customClasses'],appendBasicBGControl:function(e,n){var r=new n({target:o.Menu.getCurrentTarget(),colorPicker:{width:215}}),l;return r.applyCssRules=function(e){o.Controls.addStyle(r.$target,e),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')},a.basicControlInstances.push(r),l=r.render(),a.appendControl(l),l},appendControl:function(e){o.Panel.$element.find('.panel-body .customize').append(e)},createCustomizeSection:function(){var e=o.Panel.$element.find('.choices'),n=a.defaultCustomize();return e.length||(e=o.Panel.$element.find('.panel-body')),e.append(n),n},initControls:function(){var n=o.Panel.currentControl.panel.customizeSupport||[],r=o.Panel.currentControl.panel.customizeSupportOptions||!1;a.basicControlInstances=[],n.length&&!o.Panel.$element.find('.panel-body .customize').length&&a.createCustomizeSection(),e.each(n,function(){var e=this,n={},l;r&&r[this]&&(n=r[this]),a.bgControls[e]?l=a.appendBasicBGControl(n,a.bgControls[e]):(e=e.replace('-',''),e=e.toLowerCase(),e=e.charAt(0).toUpperCase()+e.slice(1),l=o.CONTROLS.GENERIC[e].render(n),o.CONTROLS.GENERIC[e].bind(n)),o.Tooltip.renderTooltips(),l.attr('data-control-name',this)}),a.bindControlRefresh()},bindControlRefresh:function(){o.Panel.$element.on('bg-customize-open',function(){_.each(a.basicControlInstances,function(e){e.refreshValues&&e.refreshValues()})})},setupInputCustomization:function(){o.Panel.$element.on('change','.class-control input',function(){var a=e(this),n=a.attr('name'),r=o.Menu.getCurrentTarget(),l=[],s=a.closest('.class-control').find('input[name="'+n+'"]');s.each(function(){l.push(e(this).val())}),r.removeClass(l.join(' ')),r.addClass(a.val())})},setupInputInitialization:function(){var a=BOLDGRID.EDITOR.Panel;a.$element.on('bg-customize-open',function(){var n=o.Menu.getCurrentTarget();a.$element.find('.class-control input[default]').prop('checked',!0),a.$element.find('.class-control input').each(function(){var o=e(this);n.hasClass(o.val())&&o.prop('checked',!0)})})}},a=BOLDGRID.EDITOR.CONTROLS.Generic}(jQuery)},"./assets/js/builder/controls/generic/background-color.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'BackgroundColor',function(){return c}),a.d(o,'default',function(){return c});var r=a('./includes/template/customize/background-color.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=BOLDGRID.EDITOR,d=window.jQuery,c=function(){function e(){n(this,e)}return s(e,[{key:'render',value:function(){return this.$target=i.Menu.getCurrentTarget(),this.$control=this.createControl(),this.$input=this.$control.find('[name="generic-bg-color"]'),this._bind(),this.$control}},{key:'createControl',value:function(){var e=this,o=d(l.a);return i.Panel.$element.find('.panel-body .customize .generic-bg-color').remove(),i.Panel.$element.find('.panel-body .customize').append(o),i.Panel.$element.on('bg-customize-open',function(){var o=e.$target.css('background-color');i.Controls.$container.color_is(o,'transparent')&&(o='#FFFFFF'),e.$control.find('label.color-preview').css('background-color',o)}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),a=e.$input.attr('data-type');e.$target.removeClass(i.CONTROLS.Color.textContrastClasses.join(' ')),e.$target.removeClass(i.CONTROLS.Color.backgroundColorClasses.join(' ')),i.Controls.addStyle(e.$target,'background-color',''),'class'===a?(!i.Panel.currentControl.disabledTextContrast&&e.$target.addClass(i.CONTROLS.Color.getColorClass('text-contrast',o)),e.$target.addClass(i.CONTROLS.Color.getColorClass('background-color',o))):i.Controls.addStyle(e.$target,'background-color',o),i.Panel.$element.trigger(i.Panel.currentControl.name+'-background-color-change')})}}]),e}()},"./assets/js/builder/controls/generic/block-alignment.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment={template:wp.template('boldgrid-editor-horizontal-block-alignment'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.horizontal-block-alignment').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var n=o.Menu.getCurrentTarget(),r=n.is('hr')?'center':'left',l=o.Panel.$element.find('.section.horizontal-block-alignment input'),s=parseInt(n.css('margin-left')),i=parseInt(n.css('margin-right'));0===s&&0!==i?r='left':0===i&&0!==s&&(r='right'),l.filter('[value="'+r+'"]').prop('checked',!0),o.Panel.$element.find('.section [name="horizontal-block-alignment"]').on('change',function(){var r=e(this),l=r.val();a._applyMargin(n,l),o.Panel.$element.trigger(o.Panel.currentControl.name+'-css-change')})},_applyMargin:function(e,o){e.removeAttr('align'),'center'===o?(e.css('margin-left','auto'),e.css('margin-right','auto')):'left'===o?(e.css('margin-right','auto'),e.css('margin-left','0')):(e.css('margin-right','0'),e.css('margin-left','auto'))}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Blockalignment}(jQuery)},"./assets/js/builder/controls/generic/border.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Border',function(){return m}),a.d(o,'default',function(){return m});var s=a('./includes/template/customize/color.html'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/index.js'),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=BOLDGRID.EDITOR,g=window.jQuery,m=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.configs={name:'generic-border-color',label:'Border Color',propertyName:'border-color'},a}return l(o,e),c(o,[{key:'render',value:function(){var e=p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this);return this.$target=u.Menu.getCurrentTarget(),this.$colorControl=this.createControl(),this.$control.append(this.$colorControl),this.$input=this.$colorControl.find('[name="'+this.configs.name+'"]'),this._bind(),e}},{key:'createControl',value:function(){var e=this,o=g(_.template(i.a)(this.configs));return u.Panel.$element.on('bg-customize-open',function(){e.$control.find('label.color-preview').css('background-color',e.$target.css(e.configs.propertyName))}),o}},{key:'_bind',value:function(){var e=this;this.$input.on('change',function(){var o=e.$input.val(),a=e.$input.attr('data-type');u.CONTROLS.Color.resetBorderClasses(e.$target),'class'===a?e.$target.addClass(u.CONTROLS.Color.getColorClass(e.configs.propertyName,o)):u.Controls.addStyle(e.$target,e.configs.propertyName,o),u.Panel.$element.trigger(u.Panel.currentControl.name+'-'+e.configs.propertyName+'-change')})}}]),o}(d.a)},"./assets/js/builder/controls/generic/custom-classes.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Customclasses={template:wp.template('boldgrid-editor-custom-classes'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.custom-classes').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var a=o.Panel,n=o.Menu.getCurrentTarget(),r=n.attr('custom-classes');a.$element.find('[name="custom-classes"]').on('input',function(){var o=e(this),a=n.attr('custom-classes'),r=o.val();r=r.replace(',',' '),n.removeClass(a),n.attr('custom-classes',r),n.addClass(r)}).val(r),a.$element.find('.custom-classes').show()}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Classes}(jQuery)},"./assets/js/builder/controls/generic/font-color.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor={bound:!1,template:wp.template('boldgrid-editor-font-color'),render:function(){var a=e(this.template()),n=o.Menu.getTarget(o.Panel.currentControl);return o.Panel.$element.find('.panel-body .customize').find('.section.font-color').remove(),o.Panel.$element.find('.panel-body .customize').append(a),o.Panel.$element.on('bg-customize-open',function(){o.Panel.$element.find('.panel-body .customize').find('.section.font-color label').css('background-color',n.css('color'))}),a},bind:function(){var a=o.Panel;return!this.bound&&void(a.$element.on('change','.section [name="font-color"]',function(){var a=e(this),n=o.Menu.getCurrentTarget(),r=a.val(),l=a.attr('data-type');n.removeClass(o.CONTROLS.Color.colorClasses.join(' ')),o.Controls.addStyle(n,'color',''),'class'===l?n.addClass(o.CONTROLS.Color.getColorClass('color',r)):o.Controls.addStyle(n,'color',r)}),this.bound=!0)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontcolor}(jQuery)},"./assets/js/builder/controls/generic/font-size.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize={template:wp.template('boldgrid-editor-font-size'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.size').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var e=o.Menu.getTarget(o.Panel.currentControl),a=e.css('font-size'),n=a?parseInt(a):14;n=5<=n?n:14,o.Panel.$element.find('.section.size .value').html(n),o.Panel.$element.find('.section.size .slider').slider({min:5,max:115,value:n,range:'max',slide:function(a,n){o.Panel.$element.find('.section.size .value').html(n.value),o.Controls.addStyle(e,'font-size',n.value)}})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Fontsize}(jQuery)},"./assets/js/builder/controls/generic/link.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Link={template:wp.template('boldgrid-editor-insert-link'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.insert-link').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){o.Panel.$element.find('.section.insert-link').on('click',function(){var e=o.Menu.getTarget(o.Panel.currentControl);BOLDGRID.EDITOR.mce.selection.select(e[0]),BOLDGRID.EDITOR.mce.execCommand('WP_Link')})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Link}(jQuery)},"./assets/js/builder/controls/generic/margin.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin={template:wp.template('boldgrid-editor-margin'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.margin-control').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(e){e||(e={});var a=e.vertMin||0,n=e.horMin||-15,r=e.horMax||50,l=e.vertMax||200,s=o.Menu.getCurrentTarget(),i=s.css('margin-top'),d=s.css('margin-left');!1===e.horizontal&&o.Panel.$element.find('.margin-horizontal').hide(),!1===e.vertical&&o.Panel.$element.find('.margin-top').hide(),i=i&&'auto'!==i?parseInt(i):0,d=d&&'auto'!==d?parseInt(d):0,o.Panel.$element.find('.panel-body .customize .margin-horizontal .slider').slider({min:n,max:r,value:d,range:'max',slide:function(e,a){s=o.Menu.getCurrentTarget(),o.Controls.addStyle(s,'margin-left',a.value),o.Controls.addStyle(s,'margin-right',a.value)}}).siblings('.value').html(d),o.Panel.$element.find('.panel-body .customize .margin-top .slider').slider({min:a,max:l,value:i,range:'max',slide:function(e,a){s=o.Menu.getCurrentTarget(),o.Controls.addStyle(s,'margin-top',a.value),o.Controls.addStyle(s,'margin-bottom',a.value)}}).siblings('.value').html(i)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Margin}(jQuery)},"./assets/js/builder/controls/generic/rotate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate={classes:['fa-rotate-90','fa-rotate-180','fa-rotate-270'],getDefault:function(){var e=o.Menu.getCurrentTarget(),a=0;return e.hasClass('fa-rotate-90')?a=90:e.hasClass('fa-rotate-180')?a=180:e.hasClass('fa-rotate-270')&&(a=270),a},template:wp.template('boldgrid-editor-rotate'),render:function(){var a=e(this.template());return o.Panel.$element.find('.panel-body .customize').find('.section.rotate-control').remove(),o.Panel.$element.find('.panel-body .customize').append(a),a},bind:function(){var e=this.getDefault(),n=o.Menu.getCurrentTarget();o.Panel.$element.find('.section.rotate-control .value').html(e),o.Panel.$element.find('.section.rotate-control .slider').slider({min:0,step:90,max:270,value:e,range:'max',slide:function(e,o){n.removeClass(a.classes.join(' ')),o.value&&n.addClass('fa-rotate-'+o.value)}})}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Rotate}(jQuery)},"./assets/js/builder/controls/generic/width.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.GENERIC=BOLDGRID.EDITOR.CONTROLS.GENERIC||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.GENERIC.Width={template:wp.template('boldgrid-editor-generic-width'),render:function(){var a=e(this.template()),n=o.Panel.$element.find('.panel-body .customize');return n.find('.section.width-control').remove(),n.append(a),a},bind:function(){var e=100,a=o.Menu.getCurrentTarget(),n=a[0].style.width||a.attr('width');n=n?parseInt(n):e,n=Math.min(n,e),n=Math.max(n,0),o.Panel.$element.find('.panel-body .customize .width .slider').slider({min:10,max:100,value:n,range:'max',slide:function(e,n){100===n.value?o.Controls.addStyle(a,'width','auto'):o.Controls.addStyle(a,'width',n.value+'%')}}).siblings('.value').html(n)}},a=BOLDGRID.EDITOR.CONTROLS.GENERIC.Width}(jQuery)},"./assets/js/builder/controls/global.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});a('./assets/js/builder/controls/color/palette.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){var e=BOLDGRID.EDITOR,o;e.CONTROLS.Global={$element:null,name:'global-options',tooltip:'Global Options',priority:2,iconClasses:'fa fa-globe',selectors:['html'],menuDropDown:{title:'Global Options',options:[{name:'Color Palette',class:'action open-color-palette font-awesome fa-paint-brush'},{name:'Delete Post Content',class:'action delete-all-content font-awesome fa-trash'}]},init:function(){BoldgridEditor.is_boldgrid_theme&&this.menuDropDown.options.splice(0,1),e.Controls.registerControl(this)},deleteContent:function(){e.Controls.$container.find('body').html('<p></p>'),e.Controls.$container.validate_markup(),IMHWPB.WP_MCE_Draggable.instance.add_tiny_mce_history()},setup:function(){var o=this;e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.open-color-palette',function(){e.Controls.get('Palette').openPanel()}),e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.delete-all-content,.action.edit-page-settings',function(){var e=confirm('Are you sure you want to clear this post\'s content?');e&&o.deleteContent()})}},BOLDGRID.EDITOR.CONTROLS.Global.init(),o=BOLDGRID.EDITOR.CONTROLS.Global}(jQuery)},"./assets/js/builder/controls/help.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Help={name:'help',tooltip:'Help',priority:3,iconClasses:'fa fa-question',selectors:['html'],menuDropDown:{title:'Help',options:[{name:'Editing Guide',class:'action font-awesome fa-question support-center'},{name:'Information',class:'action font-awesome fa-info bg-editor-information'}]},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){e.Menu.$element.find('.bg-editor-menu-dropdown').on('click','.action.support-center',o.openSupportCenter).on('click','.action.bg-editor-information',o.iconHelp)},openSupportCenter:function(){window.open('https://www.boldgrid.com/support/editing-your-pages/wordpress-page-post-editor/?source=boldgrid-editor_drop-tab','_blank')},iconHelp:function(){e.CONTROLS.Information.activate()}},BOLDGRID.EDITOR.CONTROLS.Help.init(),o=BOLDGRID.EDITOR.CONTROLS.Help}()},"./assets/js/builder/controls/hr.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Hr={name:'hr',tooltip:'Horizontal Line',priority:80,iconClasses:'genericon genericon-minus',selectors:['.bg-editor-hr-wrap'],componentPrefix:'bg-hr',panel:{title:'Horizontal Line',height:'550px',width:'325px',includeFooter:!0,customizeLeaveCallback:!0,customizeSupport:['fontColor','margin','padding','border','box-shadow','width','blockAlignment','customClasses'],customizeSupportOptions:{margin:{horizontal:!1}},customizeCallback:!0,preselectCallback:!0,styleCallback:!0},maxMyDesigns:10,init:function(){o.Controls.registerControl(this),a.myDesigns=[],a.userDesigns._format(),a.template=wp.template('boldgrid-editor-hr')},getTarget:function(){return a.$currentTarget},onMenuClick:function(){var e=o.Panel;a.$currentTarget=BOLDGRID.EDITOR.Menu.getTarget(a).find('hr:first'),a.userDesigns._update(),e.clear(),e.$element.find('.panel-body').html(a.template({text:'Horizontal Rule',presets:BoldgridEditor.builder_config.component_library.hr.styles,myPresets:a.myDesigns})),e.showFooter(),e.open(a)},userDesigns:{append:function(e){var n=o.Util.getComponentClasses(e,a.componentPrefix).join(' ');n&&-1===a.myDesigns.indexOf(n)&&a.myDesigns.push(n)},_format:function(){var e=BoldgridEditor.builder_config,o=BoldgridEditor.builder_config.components_used.hr||[];_.each(o.slice(0,a.maxMyDesigns),function(e){a.userDesigns.append(e.classes)})},_update:function(){a.myDesigns.length>=a.maxMyDesigns||o.Controls.$container.$body.find('hr').each(function(){a.userDesigns.append(e(this).attr('class'))})}}},a=BOLDGRID.EDITOR.CONTROLS.Hr,BOLDGRID.EDITOR.CONTROLS.Hr.init()}(jQuery)},"./assets/js/builder/controls/icon.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.Icon={name:'icon',priority:80,tooltip:'Icon Design',iconClasses:'fa fa-cog',selectors:['.fa'],panel:{title:'Change Icon',height:'575px',width:'335px',includeFooter:!0,customizeLeaveCallback:!0,customizeCallback:!0,customizeSupport:['fontColor','fontSize','margin','padding','rotate','box-shadow','border','border-radius','background-color','customClasses']},template:wp.template('boldgrid-editor-icon'),init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupClosePanel(),a._setupCustomizeLeave()},elementClick:function(){a.openPanel()},_setupCustomizeLeave:function(){o.Panel.$element.on('bg-customize-exit',function(){a.name===o.Panel.currentControl.name&&a.highlightElement()})},_setupClosePanel:function(){o.Panel.$element.on('bg-panel-close',function(){o.Panel.currentControl&&a.name===o.Panel.currentControl.name&&a.collapseSelection()})},collapseSelection:function(){BOLDGRID.EDITOR.mce.execCommand('wp_link_cancel')},insertNew:function(){var e;send_to_editor('<i class="fa fa-cog bg-inserted-icon" aria-hidden="true"><span style="display:none;"> </span></i>'),e=o.Controls.$container.find('.bg-inserted-icon').last(),o.Controls.$container.find('.bg-inserted-icon').removeClass('bg-inserted-icon'),o.Controls.$menu.targetData[a.name]=e,e.click()},setupPanelClick:function(){var o=BOLDGRID.EDITOR.Controls,n=BOLDGRID.EDITOR.Panel;n.$element.on('click','.icon-controls .panel-selection',function(){var r=o.$menu,l=r.targetData[a.name],s=e(this),i=l.hasClass('fa-li')?'fa-li':'';l.removeClass(function(e,o){return(o.match(/(^|\s)fa-\S+/g)||[]).join(' ')}),l.addClass(s.find('i').attr('class')+' '+i),n.$element.find('.selected').removeClass('selected'),s.addClass('selected')})},highlightElement:function(){var e=o.Menu.getTarget(a);BOLDGRID.EDITOR.mce.selection.select(e[0])},onMenuClick:function(){a.openPanel()},openPanel:function(){var e=o.Panel.$element,n=o.Controls.$menu,r=n.targetData[a.name],l;a.highlightElement(),a.setupPanelClick(),e.find('.panel-body').html(a.template({presets:BoldgridEditor.icons})),e.find('.selected').removeClass('selected'),l=e.find('i[class="'+r.attr('class')+'"]').closest('.panel-selection').addClass('selected'),BOLDGRID.EDITOR.Panel.open(a)}},BOLDGRID.EDITOR.CONTROLS.Icon.init(),a=BOLDGRID.EDITOR.CONTROLS.Icon}(jQuery)},"./assets/js/builder/controls/image/change.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.IMAGE.Change={name:'image-change',tooltip:'Change Image',priority:85,iconClasses:'genericon genericon-image',selectors:['img'],init:function(){e.Controls.registerControl(this)},openModal:function(){var o=BOLDGRID.EDITOR.mce.selection.getNode();o&&'IMG'!==o.nodeName&&1===o.childElementCount&&'IMG'===o.firstChild.nodeName&&BOLDGRID.EDITOR.mce.selection.select(o.firstChild),BOLDGRID.EDITOR.mce.buttons.wp_img_edit.onclick(),wp.media.frame.setState('replace-image'),wp.media.frame.state('replace-image').on('replace',function(o){e.CropInstance.onReplace(o)})},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Change.init(),o=BOLDGRID.EDITOR.CONTROLS.IMAGE.Change}(jQuery)},"./assets/js/builder/controls/image/design.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.IMAGE.Design={classes:BoldgridEditor.builder_config.image,name:'image',tooltip:'Image Design',priority:80,iconClasses:'fa fa-cog',selectors:['img'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},panel:{title:'Image Design',height:'550px',width:'325px',includeFooter:!0,customizeCallback:!0,customizeLeaveCallback:!0,customizeSupport:['background-color','margin','border-radius','padding','border','box-shadow','customClasses']},onMenuClick:function(){a.openPanel()},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},setup:function(){a.validateComponentsUsed(),a._setupPanelClick(),a._setupCustomizeHandlers()},_setupCustomizeHandlers:function(){var e=BOLDGRID.EDITOR.Panel;e.$element.on('bg-customize-exit',function(){e.currentControl===a&&o.Panel.showFooter()})},validateComponentsUsed:function(){var o=BoldgridEditor.builder_config.components_used;e.each(o.image,function(){var o=e('<div>').attr('class',this.classes);a.removeImageClass(o),this.classes=o.attr('class')}),o.image=_.uniq(o.image,function(e){return e.a})},removeImageClass:function(e){return e.removeClass(function(e,o){return(o.match(/(^|\s)wp-image-\S+/g)||[]).join(' ')}),e},_setupPanelClick:function(){var n=BOLDGRID.EDITOR.Panel;n.$element.on('click','.image-design .panel-selection',function(){var r=e(this),l=r.data('preset'),s=BOLDGRID.EDITOR.Menu.getTarget(a);o.Controls.addStyle(s,'border',''),o.Controls.addStyle(s,'border-radius',''),s.removeClass(function(e,o){return(o.match(/(^|\s)bg-img-\S+/g)||[]).join(' ')}),a.removeModClasses(s),s.removeClass(function(e,o){return(o.match(/(^|\s)img-\S+/g)||[]).join(' ')}),BOLDGRID.EDITOR.mce.selection.collapse(!1),r.hasClass('selected')?n.clearSelected():(n.clearSelected(),s.addClass(l),r.addClass('selected'))})},removeModClasses:function(e){e.parent('[class^="mod-img"]').removeClass(function(e,o){return(o.match(/(^|\s)mod-img-\S+/g)||[]).join(' ')})},preselectImage:function(){var n=o.Menu.getTarget(a),r=n.attr('class'),l=[];if(r=r?r.split(' '):[],e.each(r,function(){0===this.indexOf('bg-img')&&l.push(this)}),l=l.join(' '),l)return o.Panel.$element.find('[data-preset="'+l+'"]:first').addClass('selected'),!1},_updateMyDesigns:function(){a.usedComponents=BoldgridEditor.builder_config.components_used.image.slice(0),o.Controls.$container.$body.find('.bg-img').each(function(){var o=e(this),n=o.clone().removeClass('bg-control-element'),r,l,s,i;n=a.removeImageClass(n),r=n.attr('class'),l=a.usedComponents,i=function(e){return e.classes===r},s=_.findIndex(l,i),-1===s&&l.push({style:n.attr('style'),classes:r})})},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,o=BOLDGRID.EDITOR.Menu.getTarget(a),n=wp.template('boldgrid-editor-image');a._updateMyDesigns(),e.clear(),e.$element.find('.panel-body').html(n({src:o.attr('src'),presets:a.classes,myPresets:a.usedComponents})),a.preselectImage(),e.open(a)}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Design.init(),a=BOLDGRID.EDITOR.CONTROLS.IMAGE.Design}(jQuery)},"./assets/js/builder/controls/image/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.IMAGE=BOLDGRID.EDITOR.CONTROLS.IMAGE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter={name:'image-filter',priority:90,iconClasses:'fa fa-magic',tooltip:'Image Filter',sliderHistory:{},preview:null,presetIntensity:'50%',panel:{title:'Image Filters',height:'536px',width:'800px',scrollTarget:'.presets ul',sizeOffset:-130},selectors:['img'],presets:[{name:'none',title:'None'},{name:'vintage',title:'Vintage'},{name:'lomo',title:'Lomo'},{name:'clarity',title:'Clarity'},{name:'sinCity',title:'Sin City'},{name:'sunrise',title:'Sunrise'},{name:'crossProcess',title:'Cross Process'},{name:'orangePeel',title:'Orange Peel'},{name:'love',title:'Love'},{name:'grungy',title:'Grungy'},{name:'jarques',title:'Jarques'},{name:'pinhole',title:'Pinhole'},{name:'oldBoot',title:'Old Boot'},{name:'glowingSun',title:'Glowing Sun'},{name:'hazyDays',title:'Hazy Days'},{name:'herMajesty',title:'Her Majesty'},{name:'nostalgia',title:'Nostalgia'},{name:'hemingway',title:'Hemingway'},{name:'concentrate',title:'Concentrate'}],customizeSettings:{brightness:{title:'Brightness',range:{min:-50,max:50}},vibrance:{title:'Vibrance',range:{min:-50,max:50}},contrast:{title:'Contrast',range:{min:-10,max:10}},saturation:{title:'Saturation',range:{min:-50,max:50}},exposure:{title:'Exposure',range:{min:-50,max:50}},hue:{title:'Hue',range:{min:0,max:100}},gamma:{title:'Gamma',range:{min:1,max:4,val:1}},clip:{title:'Clip',range:{min:0,max:50}},stackBlur:{title:'Blur',range:{min:0,max:30}},sepia:{title:'Sepia',range:{min:0,max:100}},noise:{title:'Noise',range:{min:0,max:50}},sharpen:{title:'Sharpen',range:{min:0,max:50}}},init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},setup:function(){a._setupInsertClick(),a._setupToggleCustomize(),a._setupPanelClick()},_setupToggleCustomize:function(){var e=BOLDGRID.EDITOR.Panel,o;e.$element.on('click','.presets .activate-customize',function(){e.$element.find('.choices').addClass('customizing'),a.preview.revert(),a.applySliderSettings()}),e.$element.on('click','.customize .activate-presets',function(){e.$element.find('.choices').removeClass('customizing'),a.preview.revert(),o=e.$element.find('.selected').data('preset'),o&&'none'!==o?a.renderPreset(o):(e.clearSelected(),e.$element.find('[data-preset="none"]').addClass('selected'))})},renderPreset:function(e){var o=BOLDGRID.EDITOR.Panel;o.$element.addClass('rendering'),a.preview.revert(!1),a.preview[e](a.presetIntensity).render(function(){o.$element.removeClass('rendering')})},_setupPanelClick:function(){var o=BOLDGRID.EDITOR.Panel;o.$element.on('click','.image-filter .panel-selection',function(){var n=e(this),r=n.data('preset');return!o.$element.hasClass('rendering')&&void(o.clearSelected(),n.addClass('selected'),'none'===r?a.preview.revert():a.renderPreset(r))})},_setupInsertClick:function(){BOLDGRID.EDITOR.Panel.$element.on('click','.preview .insert-image',function(){a.insertImage()})},_setupSliders:function(){a.sliderHistory={},BOLDGRID.EDITOR.Panel.$element.find('.slider').each(function(){var o=e(this),n=o.data('control'),r=a.customizeSettings[n].range;o.slider({min:r.min,max:r.max,value:r.val||0,change:function(o,e){a.sliderHistory[n]=e.value,a.applySliderSettings()}})})},applySliderSettings:function(){a.preview.revert(!1),e.each(a.sliderHistory,function(e){a.preview[e](this)}),a.preview.render()},insertImage:function(){var o=BOLDGRID.EDITOR.Panel,n=BOLDGRID.EDITOR.Menu.getTarget(a);o.$element.addClass('rendering'),e.ajax({type:'post',url:ajaxurl,dataType:'json',data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,attachement_id:n.attachment_id,image_data:a.preview.canvas.toDataURL()},success:function(e){e&&e.success&&(e=e.data,n.removeClass('wp-image-'+n.attachment_id),n.addClass('wp-image-'+e.attachment_id),n.attachment_id=e.attachment_id,n.attr('src',e.url),n.attr('data-mce-src',e.url),BoldgridEditor.images=e.images)}}).always(function(){o.$element.removeClass('rendering')})},elementClick:function(){BOLDGRID.EDITOR.Panel.isOpenControl(this)&&a.openPanel()},_renderPanelThumbnails:function(){var e=1,n;n=function(){var r='[data-preset="'+a.presets[e].name+'"] img';o.Panel.$element.find(r).length&&Caman(r,function(){this[a.presets[e].name]('50%').render(function(){e++,a.presets[e]&&n()})})},n()},getImageSrc:function(){var o=BOLDGRID.EDITOR.Menu.getTarget(a),n=o.attr('src'),r;return e.each(BoldgridEditor.images,function(){if(o.hasClass('wp-image-'+this.attachment_id))return o.attachment_id=this.attachment_id,r=this.thumbnail,!1}),r||(r=n),{src:r,fullSrc:n}},openPanel:function(){var e=BOLDGRID.EDITOR.Panel,n=wp.template('boldgrid-editor-image-filter'),r;e.clear(),r=this.getImageSrc(),e.$element.removeClass('rendering'),e.$element.find('.panel-body').html(n({fullSrc:r.fullSrc,src:r.src,presets:a.presets,customizeSettings:a.customizeSettings})),!r.fullSrc||Caman.IO.isURLRemote(r.fullSrc)?o.Panel.$element.find('.panel-body .remote-image-error').addClass('error-active'):(a._setupSliders(),a._renderPanelThumbnails(),e.$element.find('[data-preset="none"]').addClass('selected'),a.preview=Caman(e.$element.find('.preview img')[0])),BOLDGRID.EDITOR.mce.selection.collapse(!1),e.open(a),e.centerPanel()},onMenuClick:function(){a.openPanel()}},BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter.init(),a=BOLDGRID.EDITOR.CONTROLS.IMAGE.Filter}(jQuery)},"./assets/js/builder/controls/information.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;e.CONTROLS.Information={name:'information',panel:{title:'Controls Information',height:'575px',icon:'fa fa-info',width:'750px'},init:function(){e.Controls.registerControl(this)},activate:function(){o.onMenuClick()},setup:function(){o.templateHTML=wp.template('boldgrid-editor-information')()},onMenuClick:function(){var a=e.Panel;a.clear(),a.$element.find('.panel-body').html(o.templateHTML),a.open(o),a.centerPanel()}},BOLDGRID.EDITOR.CONTROLS.Information.init(),o=BOLDGRID.EDITOR.CONTROLS.Information}(jQuery)},"./assets/js/builder/controls/media/edit.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit={name:'edit-media',tooltip:'Edit',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['[data-wpview-type="gallery"]','[data-wpview-type="ninja_forms"]'],init:function(){e.Controls.registerControl(this)},openModal:function(){var a=e.Menu.getTarget(o).get(0);a&&wp.mce.views.edit(BOLDGRID.EDITOR.mce,a)},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Edit}(jQuery)},"./assets/js/builder/controls/media/map.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},BOLDGRID.EDITOR.CONTROLS.MEDIA=BOLDGRID.EDITOR.CONTROLS.MEDIA||{},function(){'use strict';var e=BOLDGRID.EDITOR,o;BOLDGRID.EDITOR.CONTROLS.MEDIA.Map={name:'edit-maps',tooltip:'Edit Map',priority:85,iconClasses:'dashicons dashicons-edit',selectors:['.boldgrid-google-maps'],init:function(){BOLDGRID.EDITOR.Controls.registerControl(this)},openModal:function(){wp.media.editor.open(),wp.media.frame.setState('iframe:google_map'),o.setContent()},setContent:function(){var o=e.Menu.getTarget(this);e.Controls.$container.find(o).length&&BOLDGRID.EDITOR.mce.selection.select(o[0])},onMenuClick:function(){o.openModal()}},BOLDGRID.EDITOR.CONTROLS.MEDIA.Map.init(),o=BOLDGRID.EDITOR.CONTROLS.MEDIA.Map}(jQuery)},"./assets/js/builder/controls/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.CONTROLS=BOLDGRID.EDITOR.CONTROLS||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.CONTROLS.Section={$container:null,$popover:null,$currentSection:[],zoomSliderSettings:{min:1,max:6,defaultVal:3},init:function(e){n.renderZoomTools(),n.$container=e,n.bindHandlers()},bindHandlers:function(){var e=o('.bg-zoom-controls'),r=e.find('.zoom-in'),l=e.find('.zoom-out');a.Service.popover.section.$element.find('.move-sections').on('click',n.enableSectionDrag),o('.exit-row-dragging, .bg-close-zoom-view').on('click',n.exitSectionDrag),r.on('click',n.zoom.zoomIn),l.on('click',n.zoom.zoomOut),o(window).on('resize',n.updateHtmlSize)},updateHtmlSize:function(){var e,r;!o('body').hasClass('boldgrid-zoomout')||'Firefox'===a.Controls.browser&&n.$container.$body.find('.wpview').length||(e=n.$container.$body[0].getBoundingClientRect(),r=e.bottom-e.top+50,n.$container.find('html').css('max-height',r),o('#content_ifr').css('max-height',r))},zoom:{change:function(e){var o=parseInt(n.$slider.slider('value'));n.$slider.slider('value',e(o)).trigger('change')},zoomIn:function(){n.zoom.change(function(e){return e+1})},zoomOut:function(){n.zoom.change(function(e){return e-1})}},renderZoomTools:function(){var e=wp.template('boldgrid-editor-zoom-tools');o('#wp-content-editor-tools').append(e())},exitSectionDrag:function(r){var e=o('body'),l=o(window),s=n.$container.find('html');r.preventDefault(),n.$container.validate_markup(),n.$container.$body.find('.loading-gridblock').remove(),n.sectionDragEnabled=!1,e.removeClass('focus-on boldgrid-zoomout'),l.trigger('resize'),s.removeClass('zoomout dragging-section'),n.$container.$body.attr('contenteditable','true'),a.Controls.$menu.hide(),n.$container.$body.css('transform',''),s.css('max-height',''),o('#content_ifr').css('max-height',''),o('html, body').animate({scrollTop:o('#postdivrich').offset().top},0)},zoomDisabled:function(){if(IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.draggable_inactive)return alert('Add Block requires that BoldGrid Editing be enabled on this page. You can enable it by clicking the move icon \u2629 on your editor toolbar.'),!0},enableSectionDrag:function(){var e;n.zoomDisabled()||(o.fourpan.dismiss(),n.sectionDragEnabled=!0,n.$container.find('html').addClass('zoomout dragging-section'),n.$container.$body.removeAttr('contenteditable'),n.$slider=o('.bg-zoom-controls .slider'),a.Controls.$menu.addClass('section-dragging'),o('body').addClass('focus-on boldgrid-zoomout').find('#wpadminbar').addClass('focus-off'),o(window).trigger('resize').scrollTop(0),n.updateHtmlSize(),BOLDGRID.EDITOR.GRIDBLOCK.Loader.firstOpen(),a.GRIDBLOCK.View.onOpen(),e=function(e){n.removeZoomClasses(),n.$container.$body.addClass('zoom-scale-'+e),n.updateHtmlSize()},n.$slider.slider({min:n.zoomSliderSettings.min,max:n.zoomSliderSettings.max,value:n.zoomSliderSettings.defaultVal,orientation:'vertical',range:'max',change:function(o,a){e(a.value)},slide:function(o,a){e(a.value)}}))},removeZoomClasses:function(){n.$container.$body.removeClass(function(e,o){return(o.match(/(^|\s)zoom-scale-\S+/g)||[]).join(' ')})}},n=BOLDGRID.EDITOR.CONTROLS.Section}(jQuery)},"./assets/js/builder/controls/template.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Template',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=jQuery,s=l('body'),i=function(){function e(){n(this,e),this.bodyClassName='boldgrid-editor-template',this.$templateInput=l('#page_template')}return r(e,[{key:'init',value:function(){var o=this;this.updateBodyClass(),this.updateDefaultContainer(),this.$templateInput.on('change',function(a){o.updateBodyClass(),o.updateDefaultContainer(),BoldgridEditor.features.template_via_url&&(BOLDGRID.EDITOR.Service.loading.show(),BOLDGRID.EDITOR.Service.editorWidth.updateIframeUrl(BoldgridEditor.site_url+'&template_choice='+l(a.target).val()))})}},{key:'updateDefaultContainer',value:function(){var e=BoldgridEditor.builder_config.templateContainers;BoldgridEditor.is_boldgrid_template||(e[this.$templateInput.val()]?BoldgridEditor.default_container=e[this.$templateInput.val()]:BoldgridEditor.default_container='container-fluid')}},{key:'updateBodyClass',value:function(){this.isBoldgridTemplate(this.$templateInput.val())?s.addClass(this.bodyClassName):s.removeClass(this.bodyClassName)}},{key:'isBoldgridTemplate',value:function(e){return!!BoldgridEditor.internalPageTemplates[e]}}]),e}();new i().init()},"./assets/js/builder/customize/navigation.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Navigation',function(){return L}),a.d(o,'default',function(){return L});var r=a('./includes/template/customize/navigation.html'),l=a.n(r),s=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/margin.svg'),i=a.n(s),d=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/padding.svg'),c=a.n(d),p=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border.svg'),u=a.n(p),g=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/box-shadow.svg'),m=a.n(g),b=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border-radius.svg'),C=a.n(b),h=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/custom-class.svg'),f=a.n(h),v=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/width.svg'),D=a.n(v),y=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/block-align.svg'),E=a.n(y),F=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/color.svg'),w=a.n(F),k=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/background-color.svg'),B=a.n(k),A=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/rotate.svg'),O=a.n(A),R=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/font-size.svg'),I=a.n(R),T=a('./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/design.svg'),S=a.n(T),P=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),x=window.jQuery,$=BOLDGRID.EDITOR,L=function(){function e(){n(this,e),this.template=_.template(l.a),this.data={controls:[{name:'design',icon:S.a,label:'Element Design'},{name:'padding',icon:c.a,label:'Padding'},{name:'margin',icon:i.a,label:'Margin'},{name:'fontSize',icon:I.a,label:'Font Size'},{name:'fontColor',icon:w.a,label:'Color'},{name:'background-color',icon:B.a,label:'Background Color'},{name:'rotate',icon:O.a,label:'Rotate'},{name:'border',icon:u.a,label:'Border'},{name:'border-radius',icon:C.a,label:'Border Radius'},{name:'box-shadow',icon:m.a,label:'Box Shadow'},{name:'width',icon:D.a,label:'Width'},{name:'blockAlignment',icon:E.a,label:'Block Alignment'},{name:'customClasses',icon:f.a,label:'Custom CSS Classes'}]}}return P(e,[{key:'init',value:function(){return this._render(),this._setupClick(),this._bindEvents(),this}},{key:'enable',value:function(){this.$element.show()}},{key:'disable',value:function(){this.$element.hide()}},{key:'onPanelOpen',value:function(){this._enableMenuOptions(),this.activateFirstControl(),this.disable()}},{key:'activateFirstControl',value:function(){return this.$element.find('.item.enabled').first().click()}},{key:'displayControl',value:function(e){$.Panel.$element.find('.customize [data-control-name="'+e+'"]').show()}},{key:'_bindEvents',value:function(){var e=this;$.Panel.$element.on('open',function(){return e.onPanelOpen()})}},{key:'_enableMenuOptions',value:function(){var e=this,o=this.$element.find('.item').removeClass('enabled'),a=$.Panel.$element.find('.customize');a.find('[data-control-name]').each(function(o,a){var n=x(a),r=n.data('control-name');e.$element.find('[data-control-name="'+r+'"]').addClass('enabled')})}},{key:'_render',value:function(){this.$element=x(this.template(this.data)),this.$element.hide(),$.Panel.$element.find('.panel-title').after(this.$element)}},{key:'_setupClick',value:function(){var o=this;this.$element.find('.item').on('click',function(a){var e=x(a.target).closest('.item'),n=e.data('control-name');a.preventDefault(),o.$activeControl&&(o.$activeControl.removeClass('active'),$.Panel.$element.find('.customize [data-control-name]').hide()),e.addClass('active'),o.$activeControl=e,o.displayControl(n)})}}]),e}()},"./assets/js/builder/drag.js":function(e,o,a){'use strict';var n=Math.floor;Object.defineProperty(o,'__esModule',{value:!0});var r=a('./assets/js/builder/drag/content.js'),l=a('./assets/js/builder/drag/column.js'),s=a('./assets/js/builder/browser/ie-version.js'),i=BOLDGRID.EDITOR;jQuery.fn.IMHWPB_Draggable=function(e,o){var a=this,i=BOLDGRID.EDITOR,d=[];a.ie_version=null,a.isSafari=null,a.$master_container=this,a.$window=o(window),a.$iframe=o('#content_ifr'),a.$body=a.find('body'),a.$html=a.find('html'),a.$validatedInput=o('input[name="boldgrid-in-page-containers"]'),a.resizeOverlay=wp.template('boldgrid-editor-mce-tools')(),a.find('html').append(a.resizeOverlay),a.original_selector_strings={},a.scrollInterval=!1,a.$mce_32=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),a.$post_status_info=o('#post-status-info'),a.additional_menu_items=e.menu_items||[],this.hover_timout=e.hover_timout||175,this.$interaction_container=null,this.$boldgrid_menu_action_clicked=null,this.last_auto_scroll_event=null,this.editting_as_row=!1,this.hover_elements={content:{add_element:null},column:{add_element:null},row:{add_element:null}},this.color_alias={white:['rgb(255, 255, 255)','white'],transparent:['rgba(0, 0, 0, 0)','transparent']},this.master_container_id='',this.resize_finish_event=o.Event('resize_done_dwpb'),this.resize_start_event=o.Event('resize_start_dwpb'),this.boldgrid_modify_event=o.Event('boldgrid_modify_content'),this.add_row_event=o.Event('add_row_event_dwpb'),this.delete_event=o.Event('delete_dwpb'),this.clear_event=o.Event('clear_dwpb'),this.add_column_event=o.Event('add_column_dwpb'),this.drag_start_event=o.Event('drag_start_dwpb'),this.popovers_disabled=!1,this.right_resize_buffer=10,this.drag_end_event=o.Event('drag_end_dwpb'),this.nest_row=!1,this.drag_drop_triggered=!1,this.debug=e.debug,this.draggable_selectors_string=null,this.row_selectors_string=null,this.content_selectors_string=null,this.column_selectors_string=null,this.dragging_selector_class_name='dragging-imhwpb',this.dragging_selector='.'+this.dragging_selector_class_name,this.$current_drag=null,this.resize=!1,this.valid_drag=null,this.border_hover_buffer=15,this.resize_buffer=0.0213,this.max_row_size=12,this.$most_recent_row_enter_add=null,this.window_width=null,this.window_height=null,this.active_resize_class=null,this.restore_row=null,this.$temp_insertion=null,this.$cloned_drag_image=null,this.row_selector=e.row_selector||['.row:not(.row .row)'],this.add_media_event_handler=e.add_media_event_handler||function(){},this.insert_layout_event_handler=e.insert_layout_event_handler||function(){},this.general_column_selectors=e.general_column_selectors||['[class*="col-md"]'],this.nested_row_selector_string='.row .row:not(.row .row .row)',this.sectionSelectorString='.boldgrid-section',this.nestedColumnSelector='.row .row > [class*="col-md"]:not(.row .row .row [class*="col-md"])',this.general_content_selectors=['h1','h2','h3','h4','h5','h6','h7','a:not(p a)','img:not(p img):not(a img)','p:not(blockquote p)','button:not(p button):not(a button)','ul','ol','dl','form','table','.row .row','[data-imhwpb-draggable="true"]','.wpview-wrap','.wpview','blockquote','code','abbr'],this.content_selectors=e.content_selectors||['h1:not(.row .row h1)','h2:not(.row .row h2)','h3:not(.row .row h3)','h4:not(.row .row h4)','h5:not(.row .row h5)','h6:not(.row .row h6)','h7:not(.row .row h7)','a:not(.row .row a):not(p a)','img:not(.row .row img):not(p img):not(a img)','p:not(.row .row p):not(blockquote p)','button:not(.row .row button):not(p button):not(a button)','ul:not(.row .row ul):not(.draggable-tools-imhwpb ul)','ol:not(.row .row ol)','dl:not(.row .row dl)','form:not(.row .row form)','table:not(.row .row table)','.row .row:not(.row .row .row)','[data-imhwpb-draggable="true"]:not(.row .row [data-imhwpb-draggable="true"])','.wpview-wrap:not(.row .row .wpview-wrap)','.wpview:not(.row .row .wpview)','blockquote:not(.row .row blockquote)','code:not(.row .row code)','abbr:not(.row .row abbr)'];var c=['.row .row h1','.row .row h2','.row .row h3','.row .row h4','.row .row h5','.row .row h6','.row .row h7','.row .row a','.row .row img:not(p img):not(a img)','.row .row p','.row .row button:not(p button):not(a button)','.row .row ul','.row .row ol','.row .row dl','.row .row form','.row .row table','.row .row .row','.row .row [data-imhwpb-draggable="true"]','.row .row .wpview-wrap','.row .row .wpview','.row .row code','.row .row blockquote','.row .row abbr'],p=['> h1','> h2','> h3','> h4','> h5','> h6','> h7','> a','> img','> p','> button','> ul','> ol','> dl','> form','> table','> .row','> dl','> form','> table','.row:not(.row .row)','> [data-imhwpb-draggable="true"]','> .wpview-wrap','> .wpview','> code','> blockquote','> abbr'];this.column_sizes={0:0,1:0.083,2:0.167,3:0.25,4:0.333,5:0.416,6:0.5,7:0.583,8:0.667,9:0.75,10:0.833,11:0.917,12:1,13:1.083},this.dragTypeSetting=e.dragType||'dragEnter',this.layout_translation={"[12]":{12:'6',new:'6'},"[6,6]":{6:'4',new:'4'},"[4,4,4]":{4:'3',new:'3'},"[3,3,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]},"[6,3,3]":{current:'3',current_transform:'2',new:'2',additional_transform:[{count:'1',from:'3',to:'2'}]}},this.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},this.init=function(){return a.fourpan({element_padding:0,transition_speed:0,activate:b,deactivate:m}),a.ie_version=Object(s['default'])(),a.isSafari=a.checkIsSafari(),a.create_selector_strings(),g(),a.bind_events(),a.setup_additional_plugins(),a.validate_markup(),a.track_window_size(),u(),i.RESIZE.Row.init(a),i.Controls.init(a),i.DRAG.Section.init(a),a};var u=function(){BoldgridEditor.is_boldgrid_theme||a.find('html').addClass('non-bg-theme')},g=function(){a.original_selector_strings={general_content_selector_string:a.general_content_selector_string,unformatted_content_selectors_string:a.unformatted_content_selectors_string,content_selectors_string:a.content_selectors_string,immediate_row_siblings_string:a.immediate_row_siblings_string,row_selectors_string:a.row_selectors_string,column_selectors_string:a.column_selectors_string,unformatted_column_selectors_string:a.unformatted_column_selectors_string,general_column_selectors_string:a.general_column_selectors_string,immediate_column_selectors_string:a.immediate_column_selectors_string,draggable_selectors_string:a.draggable_selectors_string}};this.create_selector_strings=function(){a.general_content_selector_string=a.general_content_selectors.join(),a.unformatted_content_selectors_string=a.content_selectors.join(),a.content_selectors_string=a.format_selectors(a.content_selectors).join(),a.immediate_row_siblings_string=p.join(),a.row_selectors_string=a.row_selector.join(),a.column_selectors_string=a.format_column_selectors(a.general_column_selectors,!0).join(),a.unformatted_column_selectors_string=a.column_selectors_string.replace(/:visible/,''),a.general_column_selectors_string=a.general_column_selectors.join(),a.immediate_column_selectors_string=a.format_immediate_column_selectors(a.general_column_selectors).join(),a.draggable_selectors_string=a.format_draggable_selectors_string()},this.set_background_colors=function(){var e=a.$body.css('background-color');(a.color_is(e,'transparent')||a.color_is(e,'white'))&&(a.$body.css('background-color','white'),a.color_is(a.$body.css('color'),'white')&&a.$body.css('color','black'))},this.validate_markup=function(){(!BoldgridEditor.is_boldgrid_theme||i.Controls.hasThemeFeature('variable-containers'))&&(i.VALIDATION.Section.updateContent(a.$body),a.$validatedInput.attr('value',1)),a.wrap_hr_tags(),a.wrap_content_elements(),a.add_redundant_classes(),a.removeClasses(a),a.remove_resizing_classes(a)},this.removeClasses=function(e){e.find('.bg-control-element').removeClass('bg-control-element')},this.failSafeCleanup=function(){a.find('body .dragging-started-imhwpb').remove(),a.find('.cloned-div-imhwpb').removeClass('cloned-div-imhwpb')},this.wrap_content_elements=function(){a.find('img, a').each(function(){var e=o(this);e.parent().closest_context(a.original_selector_strings.content_selectors_string,a).length||e.wrap('<p class=\'mod-reset\'></p>')})},this.wrap_hr_tags=function(){a.find('hr').each(function(){var e=o(this);if(!e.closest_context(a.original_selector_strings.content_selectors_string,a).length){var n=e.closest_context(a.original_selector_strings.row_selectors_string+', '+a.original_selector_strings.general_column_selectors_string,a);n.is(a.original_selector_strings.row_selectors_string)?e.wrap('<div class=\'col-md-12\'><div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div></div>'):e.wrap('<div class=\'row bg-editor-hr-wrap\'><div class=\'col-md-12\'></div></div>')}else e.closest('.row').addClass('bg-editor-hr-wrap')})},this.bind_events=function(){a.bind_drag_listeners(),a.bind_container_events(),a.bind_additional_menu_items(),setTimeout(function(){a.set_background_colors()},1e3)};var m=function(){a.editting_as_row&&(a.content_selectors=a.original_selectors.content,a.row_selector=a.original_selectors.row,a.create_selector_strings(),a.off('.draggable'),a.$body.off('.draggable'),a.bind_events(),o.fourpan.$recent_highlight.removeClass('current-edit-as-row'),a.editting_as_row=!1,a.$html.removeClass('editing-as-row'),a.window_mouse_leave(),a.trigger('edit-as-row-leave'))},b=function(){a.original_selectors={},a.original_selectors.content=a.content_selectors,a.original_selectors.row=a.row_selector,a.content_selectors=c,a.row_selector=[a.nested_row_selector_string],a.create_selector_strings(),a.off('.draggable'),a.$body.off('.draggable'),a.bind_events(),a.find('.current-edit-as-row').removeClass('current-edit-as-row'),o.fourpan.$recent_highlight.addClass('current-edit-as-row'),a.editting_as_row=o.fourpan.$recent_highlight,a.$html.addClass('editing-as-row'),a.trigger('edit-as-row-enter'),a.window_mouse_leave()};this.unbind_all_events=function(){a.off('.draggable'),a.$body.off('.draggable'),a.off('.draggable_mce'),a.$body.attr('style','')},this.hide_menus=function(n){var e=!1,r;if(n&&n.target&&(r=o(n.target),r.closest('.popover-menu-imhwpb').length?e=!0:r.closest('.context-menu-imhwpb').siblings('.popover-menu-imhwpb:visible').length&&(e=!0)),!e){var l=a.find('.popover-menu-imhwpb');r&&l.not(r.closest('.popover-menu-imhwpb')).addClass('hidden')}},this.setup_additional_plugins=function(){o.fn.is_typing_boldgrid&&a.is_typing_boldgrid()},this.bind_container_events=function(){a.on('mousedown.draggable','.drag-handle-imhwpb',a.drag_handle_mousedown).on('mouseup.draggable','.drag-handle-imhwpb',a.drag_handle_mouseup).on('click.draggable',a.hide_menus).on('click.draggable',a.failSafeCleanup).on('click.draggable','.context-menu-imhwpb',a.setup_context_menu).on('boldgrid_modify_content.draggable',a.refresh_fourpan),a.on('mouseleave.draggable',a.window_mouse_leave).on('mouseup.draggable',a.master_container_mouse_up).on('mousemove.draggable',a.mousemove_container),a.on('start_typing_boldgrid.draggable',a.typing_events.start).on('end_typing_boldgrid.draggable',a.typing_events.end),(11<a.ie_version||!a.ie_version)&&a.on(a.resize_event_map,a.column_selectors_string)},this.bind_additional_menu_items=function(){o.each(a.additional_menu_items,function(e,o){a.on('click.draggable','li[data-action="'+o.title+'"]',o.callback)})},this.bind_drag_listeners=function(){a.$window.on('dragover.draggable',a.drag_handlers.over),a.on('dragstart.draggable','.drag-handle-imhwpb, [data-action="nest-row"]',a.drag_handlers.start).on('dragstart.draggable','img, a',a.drag_handlers.hide_tooltips).on('drop.draggable',a.drag_handlers.drop).on('dragend.draggable',a.drag_handlers.end).on('dragleave.draggable',a.drag_handlers.leave_dragging).on('dragenter.draggable',a.drag_handlers.record_drag_enter)},this.refresh_fourpan=function(){a.editting_as_row&&o.fourpan.refresh()},o.fn.reverse=[].reverse,o.fn.remove_popover_imhwpb=function(){},o.fn.is_after=function(e){return 0!==this.prevAll().filter(e).length},o.fn.is_before=function(e){return 0!==this.nextAll().filter(e).length},o.fn.closest_context=function(e,o){var a;return a=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),a},this.add_redundant_classes=function(){a.find(a.original_selector_strings.general_column_selectors_string).each(function(){var e=o(this);e.addClass(a.find_column_sizes(e))})},this.track_window_size=function(){a.active_resize_class=a.determine_class_sizes(),a.$window.on('load resize',function(){setTimeout(function(){a.active_resize_class=a.determine_class_sizes()},300)})},this.prevent_default=function(e){e.preventDefault&&e.preventDefault()},this.format_draggable_selectors_string=function(){var e=[a.content_selectors_string,a.column_selectors_string,a.row_selectors_string];return e.join()},this.format_immediate_column_selectors=function(e){var n=a.format_selectors(e).slice();return o.each(n,function(e,o){o='> '+o,n[e]=o}),n},this.find_column_sizes=function(e){var o=e.attr('class'),a=[],n=o.match(/col-xs-([\d]+)/i),r=o.match(/col-sm-([\d]+)/i),l=o.match(/col-md-([\d]+)/i),s=12;return n?s=n[1]:a.push('col-xs-'+s),r?s=r[1]:a.push('col-sm-'+s),l||a.push('col-md-'+s),a.join(' ')},this.format_column_selectors=function(e,n){var r=e;return n&&(r=a.format_selectors(e).slice()),o.each(r,function(e,o){o=a.row_selectors_string+' > '+o,r[e]=o}),r},this.format_selectors=function(e){var a=e.slice();return o.each(a,function(e,o){o+=':visible',a[e]=o}),a},this.before_or_after_drop=function(e,o){var a=e.get(0).getBoundingClientRect(),r=-(a.height/a.width),l=n(a.bottom)-r*a.left,s=r*o.x+l,i;return i=s<=o.y?'after':'before',i},this.remove_receptor_containers=function(){a.find('.receptor-containers-imhwpb').removeClass('receptor-containers-imhwpb')},this.finish_dragging=function(){a.$cloned_drag_image&&a.$cloned_drag_image.remove&&a.$cloned_drag_image.remove(),a.$temp_insertion&&a.$temp_insertion.removeClass('cloned-div-imhwpb'),a.find(a.dragging_selector).removeClass(a.dragging_selector_class_name),a.valid_drag=!1,a.remove_receptor_containers(),a.trigger(a.boldgrid_modify_event)},this.array_equal=function(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(e.length!=o.length)return!1;for(var a=0;a<e.length;++a)if(e[a]!==o[a])return!1;return!0},this.drag_cleanup=function(){a.ie_version||a.validate_markup(),a.$current_drag.remove(),a.finish_dragging(),a.trigger(a.drag_end_event,a.$temp_insertion),a.$current_drag=null,a.$temp_insertion.trigger('mouseenter'),a.removeClass('drag-progress'),clearInterval(a.scrollInterval)},this.determine_current_drag_properties=function(){var e='',o='';a.$current_drag.IMHWPB.is_row?e=a.row_selectors_string:a.$current_drag.IMHWPB.is_column?(o=a.row_selectors_string,e=a.general_column_selectors_string):a.$current_drag.IMHWPB.is_content&&(o=a.column_selectors_string,e=a.content_selectors_string),a.$current_drag.properties={sibling:e,parent:o}},this.between=function(e,o,a){return e>=o&&e<=a},this.delete_popovers=function(){a.find('body .draggable-tools-imhwpb').each(function(){var e=o(this),a=e.next();a.length&&(a[0].popover=null),setTimeout(function(){e.remove()})})},this.setup_context_menu=function(e){var n;e.preventDefault(),e.stopPropagation(),a.hide_menus(e),n=o(this).closest('.draggable-tools-imhwpb, .bg-drag-popover'),n.find('.popover-menu-imhwpb').toggleClass('hidden'),a.setMenuPosition(n),a.setMenuState(n)},this.setMenuState=function(e){e.removeClass('menu-open'),!1===e.find('.popover-menu-imhwpb').hasClass('hidden')&&e.addClass('menu-open')},this.setMenuPosition=function(e){var o=e[0].getBoundingClientRect(),n=e.find('.side-menu'),r=a.$html.width(),l,s;n.length&&(e.removeClass('side-menu-left menu-align-left'),l=e.find('.popover-menu-imhwpb ul').width(),s=o.right+n.width(),s+=100,s>a.$html.width()&&e.addClass('side-menu-left'),l+o.right>r&&e.addClass('menu-align-left'))},this.get_element_type=function(e){var o='';return e.is(a.content_selectors_string)?o='content':e.is(a.row_selectors_string)?o='row':e.is(a.column_selectors_string)&&(o='column'),o},this.get_tooltip_type=function(e){if(e.is(a.nested_row_selector_string)&&0==e.find('> .col-md-12 > hr:only-child').length&&!a.editting_as_row)var o='nested-row';else var o=a.get_element_type(e);return o},this.get_top_level_elements=function(){return a.$body.find('> *').not('.draggable-tools-imhwpb')},this.find_row_layout=function(e){var n=[],r=[],l=0;return e.find(a.immediate_column_selectors_string).each(function(){var e={},s=o(this),i=a.find_column_size(s);12>=i+l?(e.size=i,e.object=s[0],r.push(e),l+=i):(n.push(r),r=[],e.size=l=i,e.object=s[0],r.push(e))}),r.length&&n.push(r),n},this.find_column_stack=function(e,n){var r=[],l=null,s=a.find_row_layout(e);return o.each(s,function(e,a){if(o.each(a,function(o,s){if(n==s.object)return r=a,l=e,!1}),r.length)return!1}),{stack:r,stack_index:l}},this.check_adjacent_column=function(e,a){var n=!1;return a&&a.length&&o.each(e,function(e,o){if(a[0]==o.object)return n=!0,!1}),n},this.elementIsEmpty=function(e){var o=e.is(':empty');return o||e.find('img, i, hr, a').length||!(e.text().length<4)||(o=!0),o},this.getNewColumnString=function(){var e='col-md-1 col-sm-12 col-xs-12';switch(a.active_resize_class){case'col-sm':e='col-md-12 col-sm-1 col-xs-12';break;case'col-xs':e='col-md-12 col-sm-12 col-xs-1';}return e},this.mousemove_container=function(e){if(a.pageX=e.originalEvent.clientX,a.pageY=e.originalEvent.clientY,a.resize){a.resize.triggered||(a.trigger(a.resize_start_event),a.resize.triggered=!0);var n=a.resize.element.closest_context(a.row_selectors_string,a),r,l,s,i;if(!n.length)return;var d=n[0].getBoundingClientRect().width,c=a.find_column_size(a.resize.element),p=a.find_column_size(a.resize.sibling),u=a.resize.element[0].getBoundingClientRect(),g=a.find_row_size(n),m=a.column_sizes[c]*d,b=a.column_sizes[c+1]*d,C=a.column_sizes[c-1]*d;a.resize.left?(r=b-m+u.left,l=C-m+u.left,s=a.pageX>r,i=a.pageX<l):(r=C-m+u.right,l=b-m+u.right,s=a.pageX<r,i=a.pageX>l||n[0].getBoundingClientRect().right+a.right_resize_buffer<a.pageX);var h=d*a.resize_buffer,f=s||a.between(r,a.pageX-h,a.pageX+h),v=i||a.between(l,a.pageX-h,a.pageX+h),D=f&&1<c,y=v&&c<a.max_row_size;if(a.resize.left&&y){var E=a.find_column_stack(n,a.resize.element[0]);if(a.resize.element[0]==E.stack[0].object)return!1}if(1===c&&f){if(a.elementIsEmpty(a.resize.element)){var F=a.resize.element,w;a.resize.element.remove(),a.change_column_size(a.resize.sibling),a.resize.element=a.resize.sibling,a.resize.right?(a.resize.left=a.resize.right,a.resize.element.addClass('resize-border-left-imhwpb'),a.resize.right=null,w=a.resize.sibling.prev()):(a.resize.right=a.resize.left,a.resize.element.addClass('resize-border-right-imhwpb'),a.resize.left=null,w=a.resize.sibling.next()),a.resize.sibling=w}return!1}if(D||y){var E=a.find_column_stack(n,a.resize.element[0]);if(a.resize.left&&a.resize.element[0]==E.stack[0].object&&f)return!!(12>=g)&&(a.change_column_size(a.resize.element,!1),a.resize.sibling=o('<div>').addClass(a.getNewColumnString()),a.resize.sibling.addClass('content-border-imhwpb'),a.resize.element.before(a.resize.sibling),!1);if(v&&1==p){if(a.elementIsEmpty(a.resize.sibling)){var k='next';a.resize.left&&(k='prev');var B=a.resize.sibling[k]();a.resize.sibling.remove(),a.resize.sibling=B,a.change_column_size(a.resize.element)}return!1}var A=E.stack[E.stack.length-1].object==a.resize.element[0];if(a.resize.right&&12==g&&y&&'col-md'==a.active_resize_class&&A)return!1;if(12>=g&&a.resize.right&&A&&f)return a.change_column_size(a.resize.element,!1),a.resize.sibling=o('<div>').addClass(a.getNewColumnString()),n.append(a.resize.sibling),!1;var O=a.check_adjacent_column(E.stack,a.resize.sibling)}if(D){a.change_column_size(a.resize.element,!1),a.resize.sibling&&a.resize.sibling.length&&p<a.max_row_size&&O&&a.change_column_size(a.resize.sibling);var $=a.find_column_stack(n,a.resize.element[0]);E.stack_index!=$.stack_index&&a.end_resize()}else if(y){if(!a.resize.sibling||a.resize.sibling.length&&1==p)return;a.change_column_size(a.resize.element),O&&a.change_column_size(a.resize.sibling,!1);var $=a.find_column_stack(n,a.resize.element[0]);E.stack_index!=$.stack_index&&a.end_resize()}}},this.frame_cleanup=function(e){var n=o('<div>'+e+'</div>');return a.remove_resizing_classes(n),a.remove_border_classes(n),a.removeClasses(n),n.html()},this.remove_resizing_classes=function(e){e.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},this.remove_border_classes=function(e){e.find('.resize-border-left-imhwpb, .resizing-imhwpb, .popover-hover, .resize-border-right-imhwpb, .content-border-imhwpb').removeClass('resize-border-right-imhwpb resizing-imhwpb popover-hover resize-border-left-imhwpb content-border-imhwpb')},this.end_resize=function(){a.resize=!1,a.remove_border_classes(a),a.$html.removeClass('no-select-imhwpb'),a.remove_resizing_classes(a),a.removeClass('resizing-imhwpb cursor-not-allowed-imhwpb'),a.trigger(a.resize_finish_event)},this.window_mouse_leave=function(){a.resize&&a.end_resize(),a.remove_resizing_classes(a),a.hover_elements={content:null,column:null,row:null}},this.drag_handle_mousedown=function(){a.valid_drag=!0,a.$current_clicked_element=BOLDGRID.EDITOR.Service.popover.selection.$target,a.$current_clicked_element.is('a')&&a.$current_clicked_element.find('img, button').length?a.$current_clicked_element.find('img, button').first().addClass('dragging-imhwpb'):a.$current_clicked_element.addClass('dragging-imhwpb'),a.$current_clicked_element.is(a.content_selectors_string)?a.find(a.column_selectors_string).addClass('receptor-containers-imhwpb'):a.$current_clicked_element.is(a.row_selectors_string)?a.find(a.row_selectors_string).addClass('receptor-containers-imhwpb'):a.$current_clicked_element.is(a.column_selectors_string)&&(a.find(a.column_selectors_string).addClass('receptor-containers-imhwpb'),a.find(a.row_selectors_string).addClass('receptor-containers-imhwpb'))},this.drag_handle_mouseup=function(){a.remove_receptor_containers(),a.valid_drag=!1},this.master_container_mouse_up=function(){a.resize&&a.end_resize(),a.$current_clicked_element&&a.$current_clicked_element.removeClass('dragging-imhwpb')},this.decrease_row_size=function(e){var n=!1;return e.find(a.immediate_column_selectors_string).reverse().each(function(){var e=o(this);if(2<=a.find_column_size(e))return a.change_column_size(e,!1),n=!0,!1}),n},this.get_border_mouse_location=function(e,o){var r=e[0].getBoundingClientRect(),l=n(r.left),s=n(r.right),i,d;return i=a.between(o,s-a.border_hover_buffer,s),d=a.between(o,l,l+a.border_hover_buffer),{left:d,right:i}},this.transform_layout=function(e,n){o.each(n,function(n,r){e.find(a.immediate_column_selectors_string).each(function(){var e=o(this);n==a.find_column_size(e)&&a.change_column_size(e,null,r)})})},this.find_layout_transform=function(e,o){var n=JSON.stringify(e),r=a.layout_translation[n];return'undefined'!=typeof o&&'undefined'!=typeof r&&'undefined'!=typeof r.current&&r.current!=o?r=null:'undefined'==typeof o&&'undefined'!=typeof r&&r.current&&(r=null),r},this.get_layout_format=function(e){var n=[];return e.find(a.immediate_column_selectors_string).each(function(){n.push(a.find_column_size(o(this)))}),n},this.change_column_size=function(e,n,r){if(e.length){var l=new RegExp(a.active_resize_class+'-[\\d]+','i');o.each(e.attr('class').split(' '),function(o,a){if(a.match(l)){var s=parseInt(a.replace(/\D/g,''));r?s=r:!1===n?s--:s++;var i=a.replace(/\d+/g,s),d=e.attr('class').replace(a,i);return e.attr('class',d),!1}}),a.trigger(a.boldgrid_modify_event)}},this.find_column_size=function(e){var o=0,n,r;return e&&e.length?(n=new RegExp(a.active_resize_class+'-([\\d]+)','i'),r=e.attr('class').match(n),r&&(o=r[1]),parseInt(o)):o},this.find_row_size=function(e){var n=0;return e.find(a.immediate_column_selectors_string).not('.dragging-imhwpb').each(function(){n+=a.find_column_size(o(this))}),n},this.determine_class_sizes=function(){var e=a.width(),o;return o=1061<e?'col-md':837<e?'col-sm':'col-xs',o},this.color_is=function(e,o){return-1!==a.color_alias[o].indexOf(e)};var C=function(e,o){if(200<=o)var a=1.25*o;else var a=250;e.css({"max-height":a+'px',overflow:'hidden'})};this.add_max_heights=function(){'column'==a.$current_drag.IMHWPB.type?a.find(a.row_selectors_string).each(function(){var e=o(this),n=a.find_row_size(e);if(12>=n){var r=e.outerHeight();C(e,r)}}):'content'==a.$current_drag.IMHWPB.type&&C(a.$temp_insertion,a.$current_drag.IMHWPB.height)};var h=function(e){e.css({"max-height":'',overflow:''})};return this.remove_max_heights=function(){'column'==a.$current_drag.IMHWPB.type?h(a.find(a.row_selectors_string)):'content'==a.$current_drag.IMHWPB.type&&h(a.$temp_insertion)},this.get_other_top_level_elements=function(){return a.$body.find(a.immediate_row_siblings_string).not(a.$current_drag)},this.find_page_min_max=function(){var e={};if(a.$current_drag.IMHWPB.is_row){var o=a.get_other_top_level_elements(),n=o.eq(0),r=o.last();e={offset_top:n[0].getBoundingClientRect().top,offset_bottom:r[0].getBoundingClientRect().top+r.outerHeight(!0)}}return e},this.find_row_min_max=function(){var e={};if(a.$current_drag.IMHWPB.is_column){var o=a.$current_drag.closest('.row'),n=o.get(0),r=n.getBoundingClientRect();e={offset_left:r.left,offset_right:r.left+o.outerWidth(!0),offset_top:Math.max(0,r.top-150),offset_bottom:r.top+o.outerHeight(!0)}}return e},this.find_top_level_positions=function(){var e=[];if(a.$current_drag.IMHWPB.is_row){var n=a.get_other_top_level_elements();n.each(function(){var a=o(this),n=a.outerHeight(!0);e.push({max:this.getBoundingClientRect().top+n,element:a})})}return e},this.find_column_sibling_positions=function(){var e=[];return a.$current_drag.IMHWPB.is_column&&a.$current_drag.siblings(a.general_column_selectors_string).each(function(){var a=o(this),n=a.outerWidth(!0),r=this.getBoundingClientRect();e.push({max:r.left+n,element:a})}),e},this.recalc_col_pos=function(){a.$current_drag.IMHWPB.col_pos=a.find_column_sibling_positions(),a.$current_drag.IMHWPB.row_min_max=a.find_row_min_max()},this.recalc_row_pos=function(){a.$current_drag.IMHWPB.row_pos=a.find_top_level_positions(),a.$current_drag.IMHWPB.row_min_max=a.find_page_min_max()},this.reposition_column=function(e,n){if(a.$current_drag.IMHWPB.is_column&&!1==a.$current_drag.IMHWPB.unlock_column){if(a.$current_drag.IMHWPB.row_min_max.offset_top>n||a.$current_drag.IMHWPB.row_min_max.offset_bottom<n){a.$current_drag.IMHWPB.unlock_column=!0;var r=a.entered_target.closest(a.row_selectors_string);return void(r.length&&a.move_column_to(a.entered_target))}if(e<a.$current_drag.IMHWPB.row_min_max.offset_left){var l=a.$current_drag.closest(a.row_selectors_string).find(a.immediate_column_selectors_string).not(a.$current_drag).eq(0);return void(l.get(0)!=a.$temp_insertion[0]&&(l.before(a.$temp_insertion),a.recalc_col_pos(),a.trigger(a.boldgrid_modify_event)))}if(e>a.$current_drag.IMHWPB.row_min_max.offset_right){var s=a.$current_drag.closest(a.row_selectors_string).find(a.immediate_column_selectors_string).not(a.$current_drag).last();return void(s.get(0)!=a.$temp_insertion[0]&&(s.after(a.$temp_insertion),a.recalc_col_pos(),a.trigger(a.boldgrid_modify_event)))}o.each(a.$current_drag.IMHWPB.col_pos,function(){if(e<this.max)return d[0]!=this.element[0]&&(d=this.element,this.element.nextAll().not(a.$current_drag).filter(a.$temp_insertion).length?this.element.before(a.$temp_insertion):this.element.prevAll(a.general_column_selectors_string).not(a.$current_drag).get(0)==a.$temp_insertion[0]?this.element.after(a.$temp_insertion):this.element.before(a.$temp_insertion),a.trigger(a.boldgrid_modify_event),a.recalc_col_pos(),!1)})}},this.fill_row=function(e,n){var r;return e<a.max_row_size&&(r=o('<div class="col-md-'+(a.max_row_size-e)+' col-sm-12 col-xs-12"></div>'),n.append(r)),r},this.setInheritedBg=function(e,n){a.color_is(e.css('background-color'),'transparent')&&e.parents().each(function(){var n=o(this),r=n.css('background-color');if(!a.color_is(r,'transparent'))return e.css('background-color',r),!1}),setTimeout(function(){a.color_is(e.css('background-color'),'transparent')&&e.css({"background-color":'white',color:'#333'})},n||100)},this.drag_handlers={hide_tooltips:function(){a.$current_drag||setTimeout(function(){a.$body.find('.draggable-tools-imhwpb').addClass('hidden')},100)},drop:function(e){a.$current_drag&&(a.prevent_default(e),a.drag_handlers.end(e),a.drag_drop_triggered=!0)},end:function(){if(!a.drag_drop_triggered)return a.$current_drag?(a.restore_row=null,a.$most_recent_row_enter_add=null,a.remove_max_heights(),a.drag_cleanup(),!0):void 0},start:function(e){var n,r;a.valid_drag=!0,a.drag_drop_triggered=!1;var l=o(this);if(a.$current_drag=i.Service.popover.selection.$target,a.$current_drag.addClass('dragging-imhwpb'),a.addClass('drag-progress'),a.original_html=a.$current_drag.parent('a').length?a.$current_drag.parent('a')[0].outerHTML:a.$current_drag[0].outerHTML,a.$current_drag.IMHWPB={is_column:'column'===i.Service.popover.selection.name,is_row:'row'===i.Service.popover.selection.name,is_content:'content'===i.Service.popover.selection.name,height:a.$current_drag.outerHeight(),width:a.$current_drag.outerWidth(),dragStarted:!0},a.$current_drag.IMHWPB.is_row&&l.hasClass('action-list')&&(a.$current_drag.IMHWPB.is_row=!1,a.$current_drag.IMHWPB.is_content=!0),a.$current_drag.IMHWPB.is_column){a.$current_drag.IMHWPB.column_size=a.find_column_size(a.$current_drag);var s=a.$current_drag.closest_context(a.row_selectors_string,a);s.length&&(a.$current_drag.IMHWPB.original_row=s[0])}if(a.determine_current_drag_properties(),e.originalEvent.dataTransfer.setData('text',''),e.originalEvent.dataTransfer.dropEffect='copy',a.$temp_insertion=o(a.original_html),a.$temp_insertion.removeClass('dragging-imhwpb popover-hover'),a.$temp_insertion.addClass('cloned-div-imhwpb'),a.$current_drag.css({height:a.$current_drag.IMHWPB.height,width:a.$current_drag.IMHWPB.width}).addClass('hidden dragging-started-imhwpb'),a.$current_drag.attr('data-mce-bogus','all'),a.setInheritedBg(a.$current_drag),'undefined'!=typeof e.originalEvent.dataTransfer.setDragImage&&!a.isSafari){var d=document.createElement('img');d.src='',e.originalEvent.dataTransfer.setDragImage(d,0,0)}a.$current_drag.before(a.$temp_insertion),a.$current_drag.IMHWPB.is_column?(a.$current_drag.IMHWPB.type='column',a.recalc_col_pos(),n=a.$current_drag.closest('.row'),r=a.find_row_size(n),r<a.max_row_size&&a.fill_row(r,n),a.$current_drag.IMHWPB.unlock_column=12>=r&&'col-md'==a.active_resize_class&&a.$current_drag.siblings(a.unformatted_column_selectors_string).not(a.$temp_insertion).length?!1:!0):a.$current_drag.IMHWPB.is_row?(a.$current_drag.IMHWPB.type='row',a.recalc_row_pos()):a.$current_drag.IMHWPB.type='content',a.add_max_heights();var c=100;a.ie_version&&(c=150),setTimeout(function(){a.$current_drag.removeClass('hidden'),a.trigger(a.drag_start_event),a.find('.resizing-imhwpb').removeClass('resizing-imhwpb')},c),a.drag_handlers.initSmoothScroll()},over:function(e){if(a.$current_drag&&a.valid_drag&&(e.preventDefault(),!a.last_auto_scroll_event||a.last_auto_scroll_event+10<=new Date().getTime())){if(a.last_auto_scroll_event=new Date().getTime(),a.$current_drag.IMHWPB.dragStarted&&(i.Controls.$container.$current_drag.IMHWPB.is_row&&i.DRAG.Row.dragCursorPosition(e.originalEvent.pageY),a.reposition_column(e.originalEvent.pageX,e.originalEvent.pageY)),a.$html.hasClass('editing-as-row'))return;a.drag_handlers.autoScroll(e)}},initSmoothScroll:function(){a.autoScrollSpeed=!1,a.scrollInterval=setInterval(function(){a.autoScrollSpeed&&window.scrollBy(0,a.autoScrollSpeed)},1)},autoScroll:function(e){var o='fixed'===a.$mce_32.css('position'),n=a.$mce_32[0].getBoundingClientRect(),r=e.originalEvent.screenY;-100>window.screenY||(r<n.bottom+150&&o?a.autoScrollSpeed=-1:r>window.innerHeight-100?a.autoScrollSpeed=1:a.autoScrollSpeed=!1)},leave_dragging:function(e){if(a.$current_drag){a.ie_version||e.preventDefault();var n=o(e.target),s=a.entered_target;return a.prevent_duplicate_location_events(e)||!a.$current_drag?!1:a.$temp_insertion[0]==s[0]?(a.$most_recent_row_enter_add=null,!0):!1==a.has(s).length&&!1==a.$current_drag.IMHWPB.is_content||void(a.$current_drag.IMHWPB.is_row?i.DRAG.Row.dragEnter(s):a.$current_drag.IMHWPB.is_content?Object(r['default'])(e,n,s):a.$current_drag.IMHWPB.is_column&&a.$current_drag.IMHWPB.unlock_column&&Object(l['default'])(e,n,s))}},record_drag_enter:function(e){a.$current_drag&&(!a.ie_version&&e.preventDefault(),a.entered_target=o(e.target))}},this.checkIsSafari=function(){return /^((?!chrome|android).)*safari/i.test(navigator.userAgent)},this.move_column_to=function(e){var o=e.is(a.unformatted_column_selectors_string),n=e.is(a.$current_drag.properties.parent),r=e.closest_context(a.row_selectors_string,a),l=a.$temp_insertion.closest_context(a.row_selectors_string,a),s=a.find_row_size(r);if(r.length&&l[0]!=r[0]){if(n&&s>=a.max_row_size)return!1;var d=a.$temp_insertion[0].innerHTML;a.restore_row&&(l.html(a.restore_row),a.$temp_insertion.html(d));var c=a.$current_drag.IMHWPB.original_row!=r[0];a.restore_row=c?r.html():null;var p=s+a.$current_drag.IMHWPB.column_size<=a.max_row_size;if(!1==p&&c){var u=a.max_row_size-s,g=null;if(0<u)g=u;else if(r.find(a.immediate_column_selectors_string).length<=9){g=3,a.$current_drag.IMHWPB.column_size<g&&(g=a.$current_drag.IMHWPB.column_size);for(var m=0;m<g;m++)a.decrease_row_size(r)}if(g)a.change_column_size(a.$temp_insertion,null,g);else return a.restore_row=null,!0}else a.change_column_size(a.$temp_insertion,null,a.$current_drag.IMHWPB.column_size);o?e.before(a.$temp_insertion):r.append(a.$temp_insertion),a.record_recent_column_insertion()}else o&&(e.is_before(a.$temp_insertion)?e.before(a.$temp_insertion):e.after(a.$temp_insertion),a.record_recent_column_insertion())},this.record_recent_column_insertion=function(){a.recent_event={},a.insertion_time=new Date().getTime(),a.trigger(a.boldgrid_modify_event)},this.prevent_duplicate_location_events=function(e){var o=[e.originalEvent.pageX,e.originalEvent.pageY],n;return a.array_equal(a.current_drag_enter_event_loc,o)?n=!0:(a.current_drag_enter_event_loc=o,n=!1),n},this.createEmptyRow=function(){return o('<div class="row"><div class="col-md-12"></div></div>')},this.postAddRow=function(e){setTimeout(function(){a.find('.added-element').removeClass('added-element')},1e3),a.trigger(a.add_row_event,e.find('.col-md-12'))},this.typing_events={start:function(){a.find('html').addClass('boldgrid-is-typing')},end:function(){a.validate_markup(),a.find('html').removeClass('boldgrid-is-typing')}},this.resize_event_map={"mousemove.draggable":function(e,n){if(!a.resize){var r=a.pageX,l=!1;'undefined'!=typeof e&&null!=e&&(r=e.originalEvent.clientX,n=o(this),l=a.get_border_mouse_location(n,r)),l&&(l.left||l.right)?(n.addClass('resizing-imhwpb'),a.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.boldgridResize=!0)):(n.removeClass('resizing-imhwpb'),a.ie_version&&tinymce&&(BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),BOLDGRID.EDITOR.mce.boldgridResize=!1))}a.$current_drag},"mousedown.draggable":function(e){var n=o(e.target);if(!n.closest('.draggable-tools-imhwpb').length){var r=o(this),l=a.get_border_mouse_location(r,e.originalEvent.clientX),s=null;l.left?(s=r.prevAll(a.column_selectors_string).first(),r.addClass('resize-border-left-imhwpb')):l.right&&(s=r.nextAll(a.column_selectors_string).first(),r.addClass('resize-border-right-imhwpb')),(l.left||l.right)&&(s.length&&s.addClass('content-border-imhwpb'),r.addClass('content-border-imhwpb'),a.addClass('resizing-imhwpb'),a.find('.resizing-imhwpb').removeClass('resizing-imhwpb'),a.$html.addClass('no-select-imhwpb'),a.trigger('resize_clicked'),a.resize={element:r,sibling:s,left:l.left,right:l.right})}}},this}},"./assets/js/builder/drag/column.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var a=jQuery;o['default']=function(e,o,n){var r=BOLDGRID.EDITOR.Controls.$container;if(r.recent_event&&r.recent_event.entered==n[0]&&r.recent_event.left==o[0])return!0;if(r.recent_event={entered:n[0],left:o[0]},r.insertion_time+20>new Date().getTime())return!0;if(!1==n.is(r.unformatted_column_selectors_string)&&!1==n.is(r.row_selectors_string)){var l=n.closest_context(r.column_selectors_string,r);l.length&&(n=l)}if(!1==r.has(n).length)return!0;if(n[0]!=r.$temp_insertion[0]){if(n.siblings().filter(r.$temp_insertion).length&&n.is(r.unformatted_column_selectors_string)&&n[0]!=r.$current_drag[0]){var s=a(e.target);if(n.find(s).length||n[0]==s[0])return!0}r.move_column_to(n)}}},"./assets/js/builder/drag/content.js":function(e,o){'use strict';Object.defineProperty(o,'__esModule',{value:!0}),o['default']=function(e,o,a){var n=BOLDGRID.EDITOR.Controls.$container,r=o.closest_context(n.row_selectors_string,n),l=!!r.parent().closest(a).length;if(l){o=o.closest_context(n.row_selectors_string,n);var s=n.before_or_after_drop(o,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==s?o.before(n.$temp_insertion):o.after(n.$temp_insertion)}else{if(!1==n.has(a).length)return!0;var i=a.parents(n.content_selectors_string).last();if(!0==i.length&&(a=i),a.is(n.unformatted_content_selectors_string)&&a[0]!=n.$current_drag[0]&&(a.find(o).length||a[0]==o[0]))return!0;var d=a.closest_context(n.$current_drag.properties.parent,n),c=d.length,p=!1,u=[];if(c){if(!1==n.editting_as_row){var u=d.find(n.content_selectors_string+', .row:not(.row .row .row)').not('.dragging-imhwpb');p=0<u.length}else{var u=d.find(n.general_content_selector_string).not('.dragging-imhwpb');p=0<u.length,1==u.length&&u.find('[data-action]')&&(p=!1)}!1==p&&(a=d)}var g=a.is(n.unformatted_column_selectors_string);g&&u.length&&!1==a.find(o).length&&(a=u.last(),p=!1);var m=a.is(n.unformatted_content_selectors_string+',hr:not('+n.master_container_id+'.row .row hr)');if(!m&&!0==p)return!0;var b=a.closest('.cloned-div-imhwpb'),C=b.length&&b[0]==n.$temp_insertion[0];if(C)return n.$most_recent_row_enter_add=null,!0;if(m)a.is_before(n.$temp_insertion)?a.before(n.$temp_insertion):a.is_after(n.$temp_insertion)?a.after(n.$temp_insertion):a.before(n.$temp_insertion),n.trigger(n.boldgrid_modify_event);else if(g){var h=a.find('>:first-child');var f=a.find('> div');if(h.length&&1===f.length&&!1==h.is(n.column_selectors_string+', .draggable-tools-imhwpb')&&h.is('div'))h.prepend(n.$temp_insertion);else{var s=n.before_or_after_drop(a,{x:e.originalEvent.clientX,y:e.originalEvent.clientY});'before'==s?a.prepend(n.$temp_insertion):a.append(n.$temp_insertion)}n.trigger(n.boldgrid_modify_event)}}}},"./assets/js/builder/drag/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.DRAG.Row={$recentRowElement:[],dragEnter:function(e){e=a.remapDragEnter(e),a.validateDragEnter(e)&&(a.moveIntoSection(e),a.postRowInsert())},dragCursorPosition:function(n){var r=o.Controls.$container,l=r.$current_drag;a.insertTopBottom(n)||e.each(l.IMHWPB.row_pos,function(){if(n<this.max)return a.$recentRowElement[0]!==this.element[0]&&(a.$recentRowElement=this.element,a._reorderRows(this.element),a.postRowInsert(),!1)})},postRowInsert:function(){o.Controls.$container.recalc_row_pos(),o.Controls.$container.trigger(o.Controls.$container.boldgrid_modify_event)},remapDragEnter:function(e){var o=e.closest('.boldgrid-section');return o.length&&(e=o),e},validateDragEnter:function(e){var a;return a=e.hasClass('boldgrid-section')&&0===e.find('.row:not(.dragging-imhwpb,.row .row)').not(o.Controls.$container.$current_drag).length&&0!==e.find('.container-fluid, .container').length,a},moveIntoSection:function(e){e.find('.container-fluid, .container').first().prepend(o.Controls.$container.$temp_insertion)},_insertRow:function(e,n){var r=o.Controls.$container.$temp_insertion;e.get(0)!==r[0]&&(e[n](r),a.postRowInsert())},insertTopBottom:function(e){var n=o.Controls.$container,r=n.$current_drag.IMHWPB.row_min_max,l=e<r.offset_top,s=e>r.offset_bottom,i=l?'before':'after',d=l?'first':'last',c=!1;return(l||s)&&(a._insertRow(n.get_other_top_level_elements()[d](),i),c=!0),c},_reorderRows:function(e){var a=o.Controls.$container,n=a.$temp_insertion,r=a.get_other_top_level_elements(),l=r.index(e),s=r.index(n),i='after',d,c,p,u,g;p=n.closest('.boldgrid-section')[0]!==e.closest('.boldgrid-section')[0],d=l<s,u=l>s,c=u&&l-1!==s,g=d&&l+1!==s,(d||c)&&!g&&(i='before'),u&&p&&(i='before'),d&&p&&(i='after'),e[i](n)}},a=BOLDGRID.EDITOR.DRAG.Row}(jQuery)},"./assets/js/builder/drag/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.DRAG=BOLDGRID.EDITOR.DRAG||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a;a=e.DRAG.Section={currentDrag:!1,$container:null,$dragHelper:null,sectionLocations:[],init:function(e){a.$container=e,a.$dragHelper=a.renderHelpers(),a.bind()},renderHelpers:function(){var e=o('<div id="boldgrid-drag-pointer"></div>');return a.$container.find('html').append(e),e},isDragging:function(){return!!e.DRAG.Section.currentDrag},bind:function(){a.$container.on('dragstart','.dragging-section',function(){return!1}).on('mousedown','.dragging-section .boldgrid-section',a.start).on('mousemove','.dragging-section',a.over).on('mouseup dragend','.dragging-section',a.end).on('mousemove','.dragging-section',a.overHelper)},overHelper:function(o){(a.currentDrag||a.showDragHelper)&&(!a.lastPosEvent||a.lastPosEvent+25<=o.timeStamp)&&(a.lastPosEvent=o.timeStamp,a.positionHelper(o.originalEvent,a.$dragHelper))},end:function(){a.currentDrag&&(a.currentDrag.$element.removeClass('section-drag-element'),a.currentDrag=!1,a.$container.$html.removeClass('no-select-imhwpb section-dragging-active'),BOLDGRID.EDITOR.mce.undoManager.add(),e.CONTROLS.Section.updateHtmlSize())},drag:function(n){var e=n.originalEvent.pageY,r=null;a.sectionLocations.length&&(o.each(a.sectionLocations,function(){this.midPoint<e&&(r=this)}),!r&&e>a.sectionLocations[a.sectionLocations.length-1].midPoint&&(r=a.sectionLocations[a.sectionLocations.length-1]),!r&&e<a.sectionLocations[0].midPoint&&(a.sectionLocations[0].$section.before(a.currentDrag.$element),a.calcSectionLocs()),r&&(r.$section.after(a.currentDrag.$element),a.calcSectionLocs()))},over:function(o){a.currentDrag&&(!a.lastDragEvent||a.lastDragEvent+100<=o.timeStamp)&&(a.lastDragEvent=o.timeStamp,a.drag(o))},positionHelper:function(o,e){e.css({top:o.pageY-15,left:o.pageX-15})},calcSectionLocs:function(){var e=[];a.$container.$body.find('> .boldgrid-section').each(function(){var a=this.getBoundingClientRect(),n=(a.bottom-a.top)/2+a.top;e.push({$section:o(this),midPoint:n})}),a.sectionLocations=e},start:function(n){a.positionHelper(n.originalEvent,a.$dragHelper),a.startDrag(o(this))},startDrag:function(o){a.currentDrag={$element:o},a.currentDrag.$element.addClass('section-drag-element'),a.$container.find('html').addClass('section-dragging-active'),a.$container.$html.addClass('no-select-imhwpb'),a.$container.$body.removeAttr('contenteditable'),a.$dragHelper.css('display',''),a.calcSectionLocs(),e.CONTROLS.Section.updateHtmlSize()}}}(jQuery)},"./assets/js/builder/feedback.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.Feedback={init:function(){a.$input=e('[name="boldgrid-record-feedback"]'),a.bindEvents()},bindEvents:function(){e(window).on('boldgrid_added_gridblock',a.addGridblock)},add:function(e){var o=a.$input.val()||'[]';o=JSON.parse(o),o.push(e),a.$input.attr('value',JSON.stringify(o))},addGridblock:function(e,o){o&&o.template&&a.add({action:'installed_gridblock',data:{template:o.template}})}},a=BOLDGRID.EDITOR.Feedback,BOLDGRID.EDITOR.Feedback.init()}(jQuery)},"./assets/js/builder/gridblock/add.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$window:e(window),init:function(){a.setupInsertClick()},setupInsertClick:function(){e('.boldgrid-zoomout-section').on('click','.add-gridblock',a.onGridblockClick)},onGridblockClick:function(){var n=e(this),r=n.closest('.gridblock'),l=r.attr('data-id'),s;o.GRIDBLOCK.Generate.needsUpgrade(r)?window.open(BoldgridEditor.plugin_configs.urls.premium_key+'?source=plugin-add-gridblock','_blank'):(s=a.insertPlaceHolder(l),a.replaceGridblock(s,l))},replaceGridblock:function(e,n){var r=o.GRIDBLOCK.Create.getHtml(n);IMHWPB.tinymce_undo_disabled=!0,a.$window.trigger('resize'),'string'==typeof r?a.sendGridblock(r,e,n):r.always(function(o){a.sendGridblock(o,e,n)})},insertPlaceHolder:function(e){var a=o.GRIDBLOCK.configs.gridblocks[e].getPreviewPlaceHolder();return IMHWPB.WP_MCE_Draggable.draggable_instance.$body.prepend(a),a},sendGridblock:function(n,r,l){var s=e(n),i=IMHWPB.WP_MCE_Draggable.draggable_instance;s&&i?r.replaceWith(s.html()):window.send_to_editor(s.html()),i.validate_markup(),BOLDGRID.EDITOR.mce.fire('setContent'),BOLDGRID.EDITOR.mce.focus(),setTimeout(function(){o.CONTROLS.Add.scrollToElement(s,0)}),a.$window.trigger('resize'),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add(),a.$window.trigger('boldgrid_added_gridblock',o.GRIDBLOCK.configs.gridblocks[l])}};o.GRIDBLOCK.Add=a,e(o.GRIDBLOCK.Add.init)}(jQuery)},"./assets/js/builder/gridblock/category.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(){'use strict';var e=BOLDGRID.EDITOR.GRIDBLOCK,o={currentCategory:null,savedCategories:['library','saved'],init:function(){o.onSelectChange()},isSavedCategory:function(e){return-1!==o.savedCategories.indexOf(e)},onSelectChange:function(){var a=e.View.$gridblockNav.find('.boldgrid-gridblock-categories select');o.currentCategory=a.val(),a.on('change',function(){o.currentCategory=a.val(),o.showByCategory()})},canDisplayGridblock:function(a){var n=e.Category.currentCategory||'all',r=o.isSavedCategory(a.type);return a.type===n||'all'===n&&!r},showByCategory:function(){var a=e.View.$gridblockSection.find('.gridblock'),n=e.View.$gridblockSection.find('.gridblocks'),r;n.attr('filter',o.currentCategory),'all'===o.currentCategory?(a.filter(':not(.gridblock-loading)').filter(':not([data-type="saved"])').filter(':not([data-type="library"])').show(),e.View.$gridblockSection.scrollTop(0)):(r=a.hide().filter('[data-type="'+o.currentCategory+'"]:not(.gridblock-loading)').show().length,e.View.$gridblockSection.scrollTop(0),4>r&&e.View.updateDisplay())},getSearchType:function(){return'all'===o.currentCategory?null:o.currentCategory}};e.Category=o}(jQuery)},"./assets/js/builder/gridblock/create.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$window:e(window),getHtml:function(e){var n='',r={};return o.GRIDBLOCK.configs.gridblocks[e]&&(r=o.GRIDBLOCK.configs.gridblocks[e]),n=a.getDynamicElements(r).length?a.installImages(r):a.getStaticHtml(r),n},getStaticHtml:function(e){var o=e.html;return e.$html&&(o=e.getHtml()),o},getDynamicElements:function(e){var o=e.$html.find('[dynamicImage]');return e.$html[0].hasAttribute('dynamicImage')&&'none'!==e.$html.css('background-image')&&o.push(e.$html),o},installImages:function(n){var r=e.Deferred(),l=0,s=a.getDynamicElements(n);return s.each(function(){var a=e(this);a.removeAttr('dynamicimage'),e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_canvas_image',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,image_data:o.GRIDBLOCK.Image.getEncodedSrc(a)}}).done(function(e){e&&e.success&&o.GRIDBLOCK.Image.addImageUrl(a,e.data),l++,l===s.length&&r.resolve(n.getHtml())}).fail(function(){l++,l===s.length&&r.resolve(n.getHtml())})}),r}};o.GRIDBLOCK.Create=a}(jQuery)},"./assets/js/builder/gridblock/delete.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a={$mceContainer:null,$deleteIcon:null,init:function(){a.$mceContainer=e.Controls.$container,a.$deleteIcon=a.$mceContainer.find('.delete-icon-wrap'),a.bindEvents()},bindEvents:function(){a.$mceContainer.on('mouseenter','.dragging-section .boldgrid-section',a.section.mouseEnter).on('mouseleave','.dragging-section .boldgrid-section',a.section.mouseLeave).on('click','.delete-icon-wrap',a.icon.click).on('mouseenter','.delete-icon-wrap',a.icon.mouseEnter).on('mouseleave','.delete-icon-wrap',a.icon.mouseLeave)},section:{mouseEnter:function(){var e=o(this),n=this.getBoundingClientRect();a.$deleteIcon.css({left:n.right,display:'block',top:n.top+n.height/2}),a.$deleteIcon.$section=e},mouseLeave:function(n){var e=o(n.relatedTarget||n.toElement);!1===e.hasClass('delete-icon')&&(o(this).removeClass('delete-overlay'),a.$deleteIcon.hide())}},icon:{mouseEnter:function(){a.$deleteIcon.$section.addClass('delete-overlay')},mouseLeave:function(){a.$deleteIcon.$section.removeClass('delete-overlay'),a.$deleteIcon.hide()},click:function(){a.$deleteIcon.$section.removeClass('delete-overlay'),a.$deleteIcon.hide(),a.$deleteIcon.$section.remove(),BOLDGRID.EDITOR.mce.undoManager.add(),e.GRIDBLOCK.Add.$window.trigger('resize')}}};e.GRIDBLOCK.Delete=a}(jQuery)},"./assets/js/builder/gridblock/drag.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(o){'use strict';function a(a){var e=!0,n=o(a.target||a.srcElement);return n&&n.hasClass('add-gridblock')&&(e=!1),e}var n=BOLDGRID.EDITOR,r={$body:o('body'),$window:o(window),$dragHelper:null,currentDrag:null,$mceContainer:null,init:function(){r.$mceContainer=n.Controls.$container,r.$dragHelper=r.createDragHelper(),r.bindEvents()},createDragHelper:function(){var e=o('<div id="boldgrid-drag-pointer"></div>').hide();return r.$body.append(e),e},bindEvents:function(){o('html').on('dragstart','.gridblock',function(){return!1}).on('mousemove','.section-dragging-active',r.mouseMove).on('mouseup','.section-dragging-active',r.endDrag).on('mouseleave','.section-dragging-active',r.endDrag).on('mousedown','body.boldgrid-zoomout .gridblock',r.startDrag),r.$mceContainer.on('mouseup','.dragging-section.dragging-gridblock-iframe',r.endDrag).on('mousemove','.dragging-section.dragging-gridblock-iframe',r.overIframe).on('mouseenter','.dragging-section.dragging-gridblock-iframe > body',r.enterIframeBody).on('mouseleave','.dragging-section.dragging-gridblock-iframe',r.leaveIframeBody)},enterIframeBody:function(){n.DRAG.Section.isDragging()||(r.$mceContainer.find('body').append(r.currentDrag.$element),n.DRAG.Section.startDrag(r.currentDrag.$element))},leaveIframeBody:function(){n.DRAG.Section.isDragging()&&(n.DRAG.Section.end(),r.currentDrag.$element.detach())},overIframe:function(){r.currentDrag&&(r.$dragHelper.hide(),n.DRAG.Section.showDragHelper=!0,n.DRAG.Section.$dragHelper.show())},endDrag:function(){r.currentDrag&&(IMHWPB.tinymce_undo_disabled=!1,n.DRAG.Section.$dragHelper.hide(),n.DRAG.Section.showDragHelper=!1,n.DRAG.Section.end(),r.$dragHelper.hide(),r.installGridblock(),r.$body.removeClass('section-dragging-active'),r.currentDrag.$gridblockUi.removeClass('dragging-gridblock'),r.$mceContainer.$html.removeClass('dragging-gridblock-iframe'),r.currentDrag=!1)},installGridblock:function(){r.$mceContainer.$body.find(r.currentDrag.$element).length&&(n.GRIDBLOCK.Add.replaceGridblock(r.currentDrag.$element,r.currentDrag.gridblockId),r.currentDrag.$element.removeClass('dragging-gridblock-placeholder'))},startDrag:function(l){var e=o(this),s=e.attr('data-id'),i;!1===a(l)||n.GRIDBLOCK.Generate.needsUpgrade(e)||(IMHWPB.tinymce_undo_disabled=!0,i=n.GRIDBLOCK.configs.gridblocks[s],r.currentDrag={$gridblockUi:e,gridblockId:s,gridblock:i,$element:i.getPreviewPlaceHolder()},r.currentDrag.$gridblockUi.addClass('dragging-gridblock'),r.$mceContainer.$html.addClass('dragging-gridblock-iframe'),r.currentDrag.$element.addClass('dragging-gridblock-placeholder'),r.$body.addClass('section-dragging-active'),n.DRAG.Section.positionHelper(l,r.$dragHelper),r.$dragHelper.show())},mouseMove:function(o){r.$dragHelper.show(),n.DRAG.Section.$dragHelper.hide(),n.DRAG.Section.positionHelper(o,r.$dragHelper)}};n.GRIDBLOCK.Drag=r}(jQuery)},"./assets/js/builder/gridblock/filter.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={configs:BoldgridEditor.gridblocks,removedGridlocks:{},setupConfigs:function(){o.GRIDBLOCK.configs={},o.GRIDBLOCK.configs.gridblocks={},a.loadingTemplate=wp.template('boldgrid-editor-gridblock-loading'),e.each(a.configs,function(o){this.html=a.unsetImageUrls(this.html),this.$html=e(this.html),a.removeInvalidGridblocks(this,o)}),a.setConfig()},unsetImageUrls:function(e){var o=e.match(/<img.*?>/g);return o=o||[],_.each(o,function(o){e=e.replace(o,o.replace(/\ssrc=/,' data-src='))}),e},removeInvalidGridblocks:function(e,o){var n=a.isSimpleGridblock(e.$html);n&&a.removeGridblock(o)},configMethods:{getHtml:function(){var e='';return this.$html.each(function(){this.outerHTML&&(e+=this.outerHTML)}),'<div class="temp-gridblock-wrapper">'+e+'</div>'},getPreviewPlaceHolder:function(){var o;return o=e(this.getHtml()),o.prepend(a.loadingTemplate()),o},getTitle:function(){var e=this.template,o;return e&&(o=e.replace(/[-_]/g,' '),o=o.charAt(0).toUpperCase()+o.slice(1)),o}},setConfig:function(){e.each(a.configs,function(e){!a.removedGridlocks[e]&&this.html&&(delete this.html,this.gridblockId=e,this.uniqueMarkup=a.createUniqueMarkup(this.$html),_.extend(this,a.configMethods),o.GRIDBLOCK.configs.gridblocks[e]=this)})},addGridblockConfig:function(e,n){var r='remote-'+n;e=_.defaults(e,{dynamicImages:!0,gridblockId:r,$html:e['html-jquery']}),delete e.html,delete e['html-jquery'],_.extend(e,a.configMethods),o.GRIDBLOCK.configs.gridblocks[r]=e},removeGridblock:function(e){a.removedGridlocks[e]=a.configs[e]},createUniqueMarkup:function(e){return e=e.clone(),e.find('img').removeAttr('src').removeAttr('data-src').removeAttr('class'),e[0].outerHTML.replace(/\s/g,'')},setPlaceholderSrc:function(e){var o=e.attr('data-width')?e.attr('data-width'):'300',a=e.attr('data-height')?e.attr('data-height'):'300';e.attr('src','https://placehold.it/'+o+'x'+a+'/cccccc/?text=+')},removeAttributionAttributes:function(e){e.removeAttr('data-boldgrid-asset-id').removeAttr('data-pending-boldgrid-attribution')},isSimpleGridblock:function(o){var a=!1,n=e('<div>').html(o.clone());return n.find('.mod-space').remove(),n.find('.row:not(.row .row)').each(function(){var o=e(this),n;if(!o.siblings().length&&(n=o.find('*'),n.length<=3))return a=!0,!1}),n.find('.row:not(.row .row) > [class^="col-"] > .row').each(function(){var o=e(this),n;if(!o.siblings().length&&(n=o.find('hr'),!n.siblings().length))return a=!0,!1}),n.find('.row:not(.row .row):only-of-type > [class^="col-"]:empty:only-of-type').each(function(){return a=!0,!1}),a}};o.GRIDBLOCK.Filter=a,o.GRIDBLOCK.Filter.setupConfigs()}(jQuery)},"./assets/js/builder/gridblock/generate.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={gridblockCount:0,failure:!1,licenseTypes:[],fetch:function(){return a.fetching||a.failure?!1:(a.fetching=!0,a.gridblockLoadingUI.start(),a.requestGridblocks().done(function(e,n,r){a.licenseTypes=r.getResponseHeader('License-Types')||'[]',a.licenseTypes=JSON.parse(a.licenseTypes),a.addToConfig(e),o.GRIDBLOCK.View.createGridblocks()}).always(function(){a.fetching=!1,a.gridblockLoadingUI.finish()}).fail(function(){a.failure=!0,o.GRIDBLOCK.View.$gridblockSection.append(wp.template('boldgrid-editor-gridblock-error')())}))},needsUpgrade:function(e){return parseInt(e.attr('data-is-premium'))&&parseInt(e.attr('data-requires-premium'))},requestGridblocks:function(n){var r=o.GRIDBLOCK.Category.getSearchType();return n=n||{},e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_generate,dataType:'json',timeout:1e4,data:_.defaults(n,{quantity:r?30:50,color_palettes:1,include_temporary_resources:1,release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key,transparent_backgrounds:'post'===BoldgridEditor.post_type?1:0,type:r,color:JSON.stringify({colors:o.CONTROLS.Color.getGridblockColors()}),category:a.getCategory()})})},gridblockLoadingUI:{start:function(){e('body').addClass('loading-remote-body')},finish:function(){e('body').removeClass('loading-remote-body')}},getCategory:function(){var e;return BoldgridEditor&&BoldgridEditor.inspiration&&BoldgridEditor.inspiration.subcategory_key&&(e=BoldgridEditor.inspiration.subcategory_key),e},addToConfig:function(e){_.each(e,function(n,r){a.canDisplayGridblock(n)&&(e[r]=a.addRequiredProperties(n),o.GRIDBLOCK.Filter.addGridblockConfig(e[r],'generated-'+a.gridblockCount),a.gridblockCount++)})},canDisplayGridblock:function(e){var o=!0;return e.is_premium&&!BoldgridEditor.inspiration_active&&(o=!1),o},updateBackgroundImages:function(e){var o=e.attr('gb-background-image');o&&e.removeAttr('gb-background-image').css('background-image',o)},addRequiredProperties:function(o){var n=e(o.html);return a.updateBackgroundImages(n),o['html-jquery']=n,o}};o.GRIDBLOCK.Generate=a}(jQuery)},"./assets/js/builder/gridblock/image.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BoldgridEditor.builder_config.gridblock,a=BOLDGRID.EDITOR,n={translateImages:function(e){e.dynamicImages?(n.replaceImages(e),n.replaceBackgrounds(e)):n.transferSrcAttr(e)},transferSrcAttr:function(o){o.$html.find('img[data-src]').each(function(){var o=e(this),a=o.attr('data-src');o.removeAttr('data-src').attr('src',a)})},replaceImages:function(r){r.$html.find('img').each(function(){var r=e(this),l=r.attr('data-src');return(r.removeAttr('data-src'),r.attr('dynamicImage',''),!n.isRandomUnsplash(l))?void r.attr('src',l):void(a.GRIDBLOCK.Filter.setPlaceholderSrc(r),o.disabledUnsplashImages||n.getDataURL(l).done(function(e){r.attr('src',e)}).fail(function(){n.getRedirectURL(l).done(function(e){r.attr('src',e)}).fail(function(){a.GRIDBLOCK.Filter.setPlaceholderSrc(r)})}))})},replaceBackgrounds:function(e){var a=e.$html,r=a.css('background-image')||'',l=r.match(/url\(?.+?\)/),s=n.getBackgroundUrl(a),i;if(i=function(e){r=n.replaceBackgroundUrl(r,e),a.css('background-image',r)},l){if(a.attr('dynamicImage',''),!n.isRandomUnsplash(s))return;if(a.css('background-image',''),o.disabledUnsplashImages)return;n.getDataURL(s).done(function(e){i(e)}).fail(function(){n.getRedirectURL(s).done(function(e){i(e)})})}},replaceBackgroundUrl:function(e,o){return e.replace(/url\(.+?\)/,'url('+o+')')},getBackgroundUrl:function(e){var o=e.css('background-image')||'';return o.replace(/.*\s?url\([\'\"]?/,'').replace(/[\'\"]?\).*/,'')},isRandomUnsplash:function(e){return e&&-1!==e.indexOf('source.unsplash')},getEncodedSrc:function(e){var o='';return o=n.isBackgroundImage(e)?n.getBackgroundUrl(e):e.attr('src'),o},isBackgroundImage:function(e){return'IMG'!==e[0].nodeName},addImageUrl:function(e,o){var a;e.removeAttr('dynamicimage'),n.isBackgroundImage(e)?(a=e.css('background-image')||'',a=n.replaceBackgroundUrl(a,o.url),e.attr('data-image-url',o.url).css('background-image',a)):(e.attr('src',o.url),'undefined'!=typeof o.attachment_id&&o.attachment_id&&e.addClass('wp-image-'+o.attachment_id))},getDataURL:function(o){var a=e.Deferred(),n=new XMLHttpRequest;return n.open('get',o),n.responseType='blob',n.onload=function(){var e=new FileReader,o;e.onload=function(){o=n.getResponseHeader('content-type')||'',200===n.status&&-1!==o.indexOf('image')?a.resolve(this.result):a.reject()},e.readAsDataURL(n.response)},n.onerror=function(){a.reject()},n.send(),a},getRedirectURL:function(o){var a=e.Deferred();return e.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:8e3,data:{action:'boldgrid_redirect_url',boldgrid_gridblock_image_ajax_nonce:BoldgridEditor.grid_block_nonce,urls:[o]}}).done(function(e){var n=e.data[o]||!1;n?a.resolve(n):a.reject()}).fail(function(){a.reject()}),a}};a.GRIDBLOCK.Image=n}(jQuery)},"./assets/js/builder/gridblock/lead.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Lead',function(){return c}),a.d(o,'default',function(){return Save});var r=a('./includes/template/gridblock/lead.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=jQuery,d=BOLDGRID.EDITOR,c=function(){function e(){n(this,e),this.$template=i()}return s(e,[{key:'init',value:function(){BoldgridEditor.display_gridblock_lead&&(this.$template=this._insert(),this._bind())}},{key:'dismissPrompt',value:function(){this.$template.hide()}},{key:'_bind',value:function(){this._bindDismiss(),this._bindAddGridblock()}},{key:'_bindDismiss',value:function(){var e=this;this.$template.find('.add-blank').add('#insert-media-button, #insert-gridblocks-button').one('click',function(){e.dismissPrompt(),d.VALIDATION.Section.updateContainers(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_bindAddGridblock',value:function(){var e=this;this.$template.find('.add-gridblock').one('click',function(){d.CONTROLS.Section.enableSectionDrag(),e.dismissPrompt()})}},{key:'_insert',value:function(){var e=d.Controls.$container.$iframe,o=i(l.a);return e.after(o),o}}]),e}()},"./assets/js/builder/gridblock/loader.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./assets/js/builder/gridblock/save.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){var o=BOLDGRID.EDITOR.GRIDBLOCK,a={$window:e(window),openInit:!1,placeholderHtml:{},countGidblocksLoaded:0,loadingGridblocks:!1,creatingIframe:!1,$iframeTemp:!1,firstOpen:function(){!1===a.openInit&&(a.openInit=!0,a.placeholderHtml.before=wp.template('gridblock-redacted-before')(),a.placeholderHtml.after=wp.template('gridblock-redacted-after')(),o.View.init(),o.Delete.init(),o.Drag.init(),o.Generate.fetch(),new n.Save().init())},getPendingGridblockIds:function(){var a=[],n=0;return e.each(o.configs.gridblocks,function(e){!this.renderScheduled&&n<4&&o.Category.canDisplayGridblock(this)&&(n++,this.renderScheduled=!0,a.push(e))}),a},loadGridblocks:function(){var e=0,n,r,l;!0!==a.loadingGridblocks&&(l=a.getPendingGridblockIds(),0===l.length||(a.loadingGridblocks=!0,r=function(){var r=l[e],s=!!r&&o.configs.gridblocks[r];return!0===a.creatingIframe?void 0:s?void('iframeCreated'!==s.state&&a.createIframe(s),e++):(clearInterval(n),a.loadingGridblocks=!1,void o.View.$gridblockSection.trigger('scroll'))},n=window.setInterval(r,100)))},createIframe:function(n){var r=o.View.$gridblockSection.find('[data-id="'+n.gridblockId+'"]'),l=a.$iframeTemp?a.$iframeTemp:e('<iframe></iframe>'),s,i,d;a.creatingIframe=!0,o.View.$gridblockSection.find('.gridblocks').append(r),r.prepend(l),s=function(){d=l.contents(),o.Image.translateImages(n),d.find('body').html(e('<div>').html(n.$html).prepend(a.placeholderHtml.before).append(a.placeholderHtml.after)),o.View.addStyles(d),o.View.addBodyClasses(d),a.$iframeTemp=l.clone(),o.Category.canDisplayGridblock(n)&&r.css('display',''),n.state='iframeCreated',n.$iframeContents=d,setTimeout(function(){r.removeClass('gridblock-loading'),a.creatingIframe=!1},200)},i=function(){!1===o.View.headMarkup?a.$window.on('boldgrid_head_styles',s):s()},'Firefox'===BOLDGRID.EDITOR.Controls.browser?l.on('load',i):i()}};o.Loader=a}(jQuery)},"./assets/js/builder/gridblock/save.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Save',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'init',value:function(){this._setupSaveGridblock()}},{key:'_setupSaveGridblock',value:function(){s.GRIDBLOCK.View.$gridblockSection.find('.gridblocks').on('mousedown','.gridblock .save',function(o){o.stopPropagation();var e=l(o.target),a=e.closest('.gridblock').data('id'),n=s.GRIDBLOCK.configs.gridblocks[a];s.Controls.get('Library').openPanel({title:n.getTitle(),type:n.type,html:s.GRIDBLOCK.Create.getHtml(a)})})}}]),e}()},"./assets/js/builder/gridblock/view.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.GRIDBLOCK=BOLDGRID.EDITOR.GRIDBLOCK||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={$tinymceBody:null,$gridblockSection:null,$gridblockNav:null,headMarkup:!1,siteMarkup:'',init:function(){a.$filterSelectWrap=e('.boldgrid-gridblock-categories'),a.gridblockTemplate=wp.template('boldgrid-editor-gridblock'),a.$filterSelect=a.$filterSelectWrap.find('select'),a.fetchTypes(),a.findElements(),a.positionGridblockContainer(),a.setupUndoRedo(),a.createGridblocks(),o.GRIDBLOCK.Loader.loadGridblocks(),o.GRIDBLOCK.Category.init(),a.endlessScroll(),a.templateClass=a.getTemplateClass()},fetchTypes:function(){var o=this;return e.ajax({url:BoldgridEditor.plugin_configs.asset_server+BoldgridEditor.plugin_configs.ajax_calls.gridblock_types,dataType:'json',timeout:4e3,data:{release_channel:BoldgridEditor.boldgrid_settings.theme_release_channel,key:BoldgridEditor.boldgrid_settings.api_key}}).done(function(e){o.setFilterOptions(e)}).fail(function(){o.setFilterOptions()})},setFilterOptions:function(e){var o='',n=[],r=BoldgridEditor.builder_config.gridblock.filters;e=e||[],n=r.concat(e);var l=!0,s=!1,i;try{for(var d=n[Symbol.iterator](),c,p;!(l=(c=d.next()).done);l=!0)p=c.value,o+='<option value="'+p.slug+'">'+p.title+'</option>'}catch(e){s=!0,i=e}finally{try{!l&&d.return&&d.return()}finally{if(s)throw i}}a.$filterSelect.html(o),a.$filterSelectWrap.fadeIn()},onOpen:function(){a.$gridblockSection.trigger('scroll'),a.updateCustomStyles()},updateCustomStyles:function(){var e=o.Service.styleUpdater.getStylesheetCss();_.each(o.GRIDBLOCK.configs.gridblocks,function(o){'iframeCreated'===o.state&&o.$iframeContents.find('#boldgrid-custom-styles').html(e)})},setGridblockCount:function(){var e=_.countBy(BOLDGRID.EDITOR.GRIDBLOCK.configs.gridblocks||[],'type');a.$gridblockSection.find('.gridblocks').attr('my-gridblocks-count',(e.saved||0).toString()).attr('library-gridblocks-count',(e.library||0).toString())},onLoad:function(){a.setupAddGridblock(),o.STYLE.Remote.getStyles(BoldgridEditor.site_url)},hasGridblocks:function(){var e=0;return _.each(o.GRIDBLOCK.configs.gridblocks,function(a){'ready'===a.state&&o.GRIDBLOCK.Category.canDisplayGridblock(a)&&e++}),5<=e},endlessScroll:function(){var e=a.$gridblockSection.find('.gridblocks'),n;n=_.throttle(function(){var n=a.$gridblockSection.scrollTop(),r=e.height();r-n<1500&&!0===o.CONTROLS.Section.sectionDragEnabled&&a.updateDisplay()},800),a.$gridblockSection.on('scroll',n)},updateDisplay:function(){var e=o.GRIDBLOCK.Category.isSavedCategory(o.GRIDBLOCK.Category.currentCategory);o.GRIDBLOCK.Loader.loadGridblocks(),e||a.hasGridblocks()||o.GRIDBLOCK.Generate.fetch()},setupAddGridblock:function(){e('#insert-gridblocks-button').on('click',function(){e('.wp-switch-editor.switch-tmce').click(),o.CONTROLS.Section.$container?o.CONTROLS.Section.enableSectionDrag():e(window).one('boldgrid_editor_loaded',function(){o.CONTROLS.Section.enableSectionDrag()})})},setupUndoRedo:function(){var o=e('.history-controls');o.find('.redo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.redo(),e(window).trigger('resize'),a.updateHistoryStates()}),o.find('.undo-link').on('click',function(){BOLDGRID.EDITOR.mce.undoManager.undo(),e(window).trigger('resize'),a.updateHistoryStates()})},updateHistoryStates:function(){var o=e('.history-controls');BOLDGRID.EDITOR.mce.undoManager&&(o.find('.redo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasRedo()),o.find('.undo-link').attr('disabled',!BOLDGRID.EDITOR.mce.undoManager.hasUndo()))},findElements:function(){a.$gridblockSection=e('.boldgrid-zoomout-section'),a.$gridblockNav=e('.zoom-navbar'),a.$pageTemplate=e('#page_template')},getTemplateClass:function(){var e=a.$pageTemplate.val()||'default';return e=e.split('.'),'page-template-'+e[0]},addBodyClasses:function(e){e.find('body').addClass(BoldgridEditor.body_class).addClass('mce-content-body entry-content centered-section').addClass(a.templateClass).css('overflow','hidden')},addStyles:function(e){var n=a.headMarkup;n+='<style id="boldgrid-custom-styles">'+o.Service.styleUpdater.getCachedCss()+'</style>',e.find('head').html(n)},positionGridblockContainer:function(){e('#wpcontent').after(a.$gridblockSection)},createGridblocks:function(){var e,o;a.$gridblockSection&&(o=a.$gridblockSection.find('.gridblocks'),e=a.generateInitialMarkup(),o.append(e),a.$gridblockSection.trigger('scroll'),a.setGridblockCount())},generateInitialMarkup:function(){var n='';return e.each(o.GRIDBLOCK.configs.gridblocks,function(){this.state||(this.state='ready',n+=a.getGridblockHtml(this))}),n},getGridblockHtml:function(e){return e.requires_premium=-1===o.GRIDBLOCK.Generate.licenseTypes.indexOf('premium'),a.gridblockTemplate(e)}};o.GRIDBLOCK.View=a,e(o.GRIDBLOCK.View.onLoad)}(jQuery)},"./assets/js/builder/library/save.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Save',function(){return p}),a.d(o,'default',function(){return p});var r=a('./includes/template/gridblock-library.html'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=window.jQuery,d=BOLDGRID.EDITOR,c=i(window),p=function(){function e(){n(this,e),this.name='Library',this.panel={title:'Block Library',icon:'gridblock-grid-icon',height:'430px',width:'600px',autoCenter:!0,showOverlay:!0}}return s(e,[{key:'init',value:function(){d.Controls.registerControl(this)}},{key:'setup',value:function(){this._bindHandlers()}},{key:'openPanel',value:function(e){this.gridblockData=e,this.$html=i(l.a),this._setState('save-prompt'),e.title&&this.$html.find('input').val(e.title).change(),d.Panel.setContent(this.$html).open(this),d.Panel.centerPanel()}},{key:'ajax',value:function(e){return e.action='boldgrid_editor_save_gridblock',e.boldgrid_editor_gridblock_save=BoldgridEditor.nonce_gridblock_save,i.ajax({url:ajaxurl,dataType:'json',method:'POST',timeout:5e3,data:e})}},{key:'save',value:function(e){var o=this,a=i.Deferred();return'string'==typeof e.html?(e.html=i(e.html).html(),this.ajax(e)):(e.html.always(function(n){e.html=i(n).html(),o.ajax(e).fail(function(e){a.reject(e)}).done(function(e){a.resolve(e)})}),a)}},{key:'_addToConfig',value:function(e){var o={html:e.post_content,post:e,dynamicImages:!1,type:'library',"html-jquery":i(e.post_content)};d.GRIDBLOCK.Filter.addGridblockConfig(o,'ui-saved-'+e.ID),d.GRIDBLOCK.View.createGridblocks()}},{key:'_setState',value:function(e){this.$html.attr('state',e)}},{key:'_bindHandlers',value:function(){this._setupFormSubmit()}},{key:'_setupFormSubmit',value:function(){var o=this;d.Panel.$element.on('submit','.save-gridblock form',function(a){var e=i(a.target),n=e.find('.bg-editor-button'),r=e.find('input');a.preventDefault(),d.Panel.showLoading(),n.attr('disabled','disabled'),o.gridblockData.title=r.val(),o.save(o.gridblockData).fail(function(){o._setState('save-failed')}).done(function(e){o._setState('save-success'),o._addToConfig(e.data)}).always(function(){d.Panel.hideLoading(),n.removeAttr('disabled')})})}}]),e}()},"./assets/js/builder/menu.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(o){'use strict';var e=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Menu={$element:null,$activeElement:null,$mceContainer:null,init:function(){return this.create(),this.setupMenuDrag(),this.setupDimiss(),this.setupDropmenuOpen(),this.$element},getTarget:function(e){return this.$element.targetData[e.name]},getCurrentTarget:function(){var o;return e.Panel.currentControl&&(e.Panel.currentControl.getTarget?o=e.Panel.currentControl.getTarget():o=a.getTarget(e.Panel.currentControl)),o},create:function(){this.$mceContainer=o('#'+BOLDGRID.EDITOR.mce.theme.panel._items[0]._id),this.$element=o(wp.template('boldgrid-editor-control-menu')()),this.$mceContainer.append(this.$element),this.$element.items=[],this.$element.targetData=!1},setupMenuDrag:function(){this.$element.find('ul').draggable({containment:'#wp-content-editor-container',scroll:!1,axis:'x',cancel:'li'})},createListItem:function(e){var a=o('<li></li>').attr('data-action','menu-'+e.name),n=o('<span></span>').addClass(e.iconClasses),r;a.append(n),e.menuDropDown&&(r=o('<ul class="bg-editor-menu-dropdown"></ul>'),a.addClass('menu-dropdown-parent'),n.addClass('menu-dropdown-icon'),r.html('<li class="title">'+e.menuDropDown.title+'</li>'),o.each(e.menuDropDown.options,function(){r.append('<li class="'+this.class+'">'+this.name+'</li>')}),a.append(r)),e.tooltip&&a.append(wp.template('boldgrid-editor-tooltip')({message:e.tooltip})),this.$element.find('> ul').append(a)},setupDimiss:function(){o(document).on('click',function(n){!1===o(n.target).hasClass('menu-dropdown-icon')&&a.$element.find('.menu-dropdown-parent').removeClass('active')}),e.Controls.$container.on('click',function(){a.$element.find('.menu-dropdown-parent').removeClass('active')})},setupDropmenuOpen:function(){this.$element.on('click','.menu-dropdown-parent',function(){o(this).toggleClass('active').siblings().removeClass('active')})},activateControl:function(e){a.deactivateControl(),this.$activeElement=BOLDGRID.EDITOR.Menu.$element.find('[data-action="menu-'+e.name+'"]').addClass('active')},deactivateControl:function(){this.$activeElement&&(this.$activeElement.removeClass('active'),this.$activeElement=null)},reactivateMenu:function(){var e=BOLDGRID.EDITOR.Panel.$element;this.$activeElement&&e.is(':visible')&&this.$element.find('[data-action="menu-'+e.attr('data-type')+'"]').addClass('active')}},a=BOLDGRID.EDITOR.Menu}(jQuery)},"./assets/js/builder/notice/base.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Base',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'bindDismissButton',value:function(){var e=this;s.Panel.$element.find('.bg-upgrade-notice, .setup').find('.dismiss').one('click',function(){e.dismissPanel()})}},{key:'removeEffects',value:function(){l('body').removeClass('bg-editor-intro-1-3 fadeout-background bg-editor-intro'),s.Panel.resetPosition(),s.Panel.closePanel(),s.Panel.$element.removeClass('animated bounceOutDown bounceInDown')}},{key:'dismissPanel',value:function(){var e=this,o=l('body');o.addClass('fadeout-background'),s.Panel.$element.addClass('bounceOutDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e.removeEffects()}),setTimeout(function(){e.removeEffects()},1e3)}}]),e}()},"./assets/js/builder/notice/intro.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Intro',function(){return b}),a.d(o,'default',function(){return b});var s=a('./includes/template/intro.html'),i=a.n(s),d=a('./assets/js/builder/notice/base.js'),c=a('./node_modules/@boldgrid/controls/src/controls/index.js'),p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},g=window.jQuery,m=BOLDGRID.EDITOR,b=function(e){function o(){n(this,o);var e=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.name='intro',e.panel={title:'Post and Page Builder - Setup',height:'285px',width:'650px',disabledClose:!0,autoCenter:!0},e}return l(o,e),p(o,[{key:'init',value:function(){BoldgridEditor.display_intro&&(this.selection=new c.e,this.$body=g('body'),this.settings=this.getDefaults(),this.templateMarkup=_.template(i.a)(),this.$panelHtml=g(this.templateMarkup),this.$templateInputs=this.$panelHtml.find('input[name="template"]'),this.openPanel(),this._setupNav(),this._addPanelSettings('welcome'),this.bindDismissButton(),this._setupStepActions())}},{key:'getDefaults',value:function(){return{template:{choice:'fullwidth'},palette:{choice:null}}}},{key:'openPanel',value:function(){m.Panel.currentControl=this,this.$body.addClass('bg-editor-intro'),m.Panel.setDimensions(this.panel.width,this.panel.height),m.Panel.setTitle(this.panel.title),m.Panel.setContent(this.$panelHtml),m.Panel.centerPanel(),m.Panel.$element.show()}},{key:'dismissPanel',value:function(){if(u(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'dismissPanel',this).call(this),this.settings.template.choice=this.$templateInputs.filter(':checked').val(),'auto-draft'===BoldgridEditor.post.post_status&&'default'!==this.settings.template.choice){var e='template/page/'+this.settings.template.choice+'.php';g('#page_template').val(e).change()}this.saveSettings()}},{key:'saveSettings',value:function(){g.ajax({type:'post',url:ajaxurl,dataType:'json',timeout:1e4,data:{action:'boldgrid_editor_setup',boldgrid_editor_setup:BoldgridEditor.setupNonce,settings:this.settings}})}},{key:'_setupStepActions',value:function(){var e=this;this.$panelHtml.on('boldgrid-editor-choose-color-palette',function(){var o;o=e.selection.create(),e.$panelHtml.find('.choose-palette').html(o),o.one('palette-selection',function(){e.$currentStep.find('[data-action-step]').removeAttr('disabled')}),o.on('palette-selection',function(){e.settings.palette.choice=e.selection.getSelectedPalette()})})}},{key:'_addPanelSettings',value:function(e){this.$currentStep=this.$panelHtml.find('[data-step="'+e+'"]'),m.Panel.setTitle(this.$currentStep.data('panel-title')),m.Panel.setInfo(this.$currentStep.data('panel-info')),m.Panel.setDimensions(this.$currentStep.data('panel-width')||this.panel.width,this.$currentStep.data('panel-height')||this.panel.height)}},{key:'_setupNav',value:function(){var o=this;this.$panelHtml.find('[data-action-step]').on('click',function(a){var e=g(a.target),n=e.data('action-step');o._addPanelSettings(n),o.$panelHtml.trigger('boldgrid-editor-'+n),o.$panelHtml.find('.step').removeClass('active'),m.Panel.centerPanel(),o.$currentStep.addClass('active')})}}]),o}(d.Base)},"./assets/js/builder/notice/update.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./assets/js/builder/notice/base.js');window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.NOTICE=BOLDGRID.EDITOR.NOTICE||{},function(e){var o=BOLDGRID.EDITOR,a;o.NOTICE.Update={title:'New Release: Post and Page Builder',template:wp.template('boldgrid-upgrade-notice'),init:function(){BoldgridEditor.display_update_notice&&(this.notice=new n.Base,a.displayPanel(),setTimeout(function(){a.bindEvents()},1e3))},bindEvents:function(){this.notice.bindDismissButton(),a.bodyClick()},bodyClick:function(){var a=this;e('body').one('click',function(){a.notice.dismissPanel()}),o.Panel.$element.on('click',function(o){o.stopPropagation()})},displayPanel:function(){e('body').addClass('bg-editor-intro-1-3 bg-editor-intro'),a.initPanel(),a.renderPanel()},animatePanel:function(){o.Panel.$element.addClass('animated bounceInDown').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){e('.bg-editor-loading').hide()})},renderPanel:function(){o.Panel.$element.show(),a.animatePanel()},initPanel:function(){o.Panel.setDimensions(800,400),o.Panel.setTitle(a.title),o.Panel.setContent(a.template())}},a=o.NOTICE.Update}(jQuery)},"./assets/js/builder/panel.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Panel={$element:null,currentControl:null,init:function(){return this.$body=e('body'),this.create(),this._setupPanelClose(),this._setupDrag(),this._setupCustomizeLeave(),this._setupCustomizeDefault(),this._lockPanelScroll(),this._setupAutoCenter(),this._setupEscapeClose(),this.$element},create:function(){this.$element=e(wp.template('boldgrid-editor-panel')()),this.$loading=this.$element.find('.bg-loading-spinner'),this.$body.append(this.$element)},setContent:function(e){return this.$element.find('.panel-body').html(e),this},setTitle:function(e){this.$element.find('.panel-title .name').html(e)},setInfo:function(e){this.$element.find('.panel-title .info').html(e)},showLoading:function(){this.$element.find('.panel-body').addClass('block-access-overlay'),this.$loading.addClass('enabled')},hideLoading:function(){this.$element.find('.panel-body').removeClass('block-access-overlay'),this.$loading.removeClass('enabled')},resetPosition:function(){this.$element.css({top:'',left:''})},setDimensions:function(e,o){this.$element.width(e),this.$element.height(o)},centerPanel:function(){var o=e(window),a=parseInt(this.$element.css('width')),n=parseInt(this.$element.css('height')),r=o.width(),l=o.height();this.$element.css({top:l/2-n/2,left:r/2-a/2})},initScroll:function(){a.createScrollbar(a.getScrollTarget(),this.currentControl.panel||{})},createScrollbar:function(e,o){var n=-66,r=this.$element.find(e);o&&o.sizeOffset&&(n=o.sizeOffset),a.$element.find('.slimScrollDiv >:first-child').slimScroll({destroy:!0}).attr('style',''),r.slimScroll({color:'#32373c',size:'8px',height:parseInt(o.height)+n,alwaysVisible:!0,disableFadeOut:!0,wheelStep:5})},isOpenControl:function(e){var o=!1;return this.$element.is(':visible')&&this.$element.attr('data-type')===e.name&&(o=!0),o},_setupEscapeClose:function(){var n=this,e=function(o){27===o.keyCode&&n.currentControl&&n.currentControl.panel&&!n.currentControl.panel.disabledClose&&n.$element.is(':visible')&&a.closePanel()};o.$window.on('keyup',e),o.Controls.$container.on('keyup',e)},_setupDrag:function(){this.$element.draggable({containment:'#wpwrap',handle:'.panel-title',scroll:!1})},clearSelected:function(){this.$element.find('.selected').removeClass('selected')},_setupPanelResize:function(){this.$element.resizable()},_setupPanelClose:function(){this.$element.on('click','.close-icon, button.dismiss',function(){a.closePanel()})},removeClasses:function(){o.Controls.$container.find('.bg-control-element').removeClass('bg-control-element')},closePanel:function(){a.$element.hide(),o.Panel.hideLoading(),BOLDGRID.EDITOR.Menu.deactivateControl(),a.removeClasses(),a.$element.hasClass('customize-open')&&(this.$element.trigger('bg-customize-exit'),a.$element.removeClass('customize-open')),this.$element.find('.panel-body').empty(),this.$element.removeClass('drag-disabled'),this.$element.trigger('bg-panel-close'),this.$body.removeClass('bg-editor-overlay'),BOLDGRID.EDITOR.mce.undoManager.add()},scrollToSelected:function(){var e=a.$element.find('.selected:not(.filters .selected):visible'),o,n;a.scrollTo(0),e.length&&(n=0,a.currentControl.panel.scrollOffset&&(n=a.currentControl.panel.scrollOffset),o=e.position().top+n,a.scrollTo(o+'px'))},getScrollTarget:function(){var e='.panel-body';return a.currentControl&&a.currentControl.panel.scrollTarget&&(e=a.currentControl.panel.scrollTarget),e},scrollTo:function(e){this.$element.find(a.getScrollTarget()).slimScroll({scrollTo:e,alwaysVisible:!0,disableFadeOut:!0})},clear:function(){this.$element.find('.panel-title .name').empty(),this.$element.find('.panel-title .info').empty(),this.$element.find('.panel-body').empty(),this.$element.find('.panel-title .icon').attr('class','')},_enableFooter:function(e){e&&e.includeFooter?a.showFooter():a.hideFooter()},hideFooter:function(){this.$element.find('.panel-footer').hide()},showFooter:function(){this.$element.find('.panel-footer').show()},_setupCustomize:function(o){o.panel.customizeCallback&&a.$element.find('.panel-footer .customize .panel-button').on('click',function(n){n.preventDefault(),a.customizeOpenEvent(),a.$element.attr('data-type')===o.name&&!0!==a.currentControl.panel.customizeCallback&&o.panel.customizeCallback()})},customizeOpenEvent:function(){a.$element.trigger('bg-customize-open'),a.$element.addClass('customize-open')},enterCustomization:function(){a.$element.find('.panel-body .customize').show(),a.$element.find('.presets').hide(),a.$element.find('.title').hide(),a.scrollTo(0),a.hideFooter(),o.Service.customize.navigation.enable()},_setupCustomizeDefault:function(){a.$element.find('.panel-footer .customize .panel-button').on('click',function(o){o.preventDefault(),a.currentControl&&a.currentControl.panel&&!0===a.currentControl.panel.customizeCallback&&a.enterCustomization()})},_setupCustomizeLeave:function(){a.$element.on('click','.back .panel-button',function(n){n.preventDefault(),a.$element.removeClass('customize-open'),a.currentControl&&a.currentControl.panel&&!0===a.currentControl.panel.customizeLeaveCallback&&(a.$element.find('.presets').show(),a.$element.find('.title').show(),a.$element.find('.panel-body .customize').hide(),o.Service.customize.navigation.disable(),a.toggleFooter(),a.scrollToSelected(),a.$element.trigger('bg-customize-exit'))})},setupPanelClick:function(a){var n=BOLDGRID.EDITOR.Panel;a.panel&&a.panel.styleCallback&&n.$element.on('click','[data-control-name="'+a.name+'"] .panel-selection',function(){var r=o.Menu.getCurrentTarget(),l=e(this);o.Util.removeComponentClasses(r,a.componentPrefix),r.addClass(l.attr('data-preset')),n.$element.find('.selected').removeClass('selected'),l.addClass('selected')})},toggleFooter:function(){a.$element.find('.panel-body .selected').length?a.showFooter():a.hideFooter()},collapseSelection:function(){'icon'!==a.currentControl.name&&(BOLDGRID.EDITOR.mce.selection.collapse(!1),BOLDGRID.EDITOR.mce.nodeChanged())},_lockPanelScroll:function(){window.addEventListener&&(this.$element[0].addEventListener('DOMMouseScroll',a._onWheel,!1),this.$element[0].addEventListener('mousewheel',a._onWheel,!1))},_onWheel:function(o){o=o||window.event,o.preventDefault&&o.preventDefault(),o.returnValue=!1},preselect:function(){var e,a;this.currentControl.panel.preselectCallback&&(e=o.Menu.getCurrentTarget(),a=o.Util.getClassesLike(e,this.currentControl.componentPrefix),a=a.join(' '),this.clearSelected(),this.$element.find('[data-preset="'+a+'"]:first').addClass('selected'))},showOverlay:function(){this.currentControl.panel&&this.currentControl.panel.showOverlay&&(this.$body.addClass('bg-editor-overlay'),this.$element.addClass('drag-disabled'))},_setupAutoCenter:function(){var o=this,a=_.debounce(function(){o.currentControl&&o.currentControl.panel.autoCenter&&o.centerPanel()},500);e(window).on('resize',a)},_setIcon:function(){this.currentControl.panel&&this.currentControl.panel.icon&&this.$element.find('.panel-title [data-id="icon"]').attr('class',this.currentControl.panel.icon).addClass('icon')},open:function(n){var r;BOLDGRID.EDITOR.mce.undoManager.add(),BOLDGRID.EDITOR.Menu.activateControl(n),this.currentControl=n,this.$element.addClass('ui-widget-content'),this.setDimensions(n.panel.width,n.panel.height),this.setTitle(n.panel.title),this.$element.attr('data-type',n.name),this.$element.find('.panel-body').attr('data-control-name',n.name),this._enableFooter(n.panel),this._setupCustomize(n),o.Tooltip.renderTooltips(),this.$element.show(),this.initScroll(n),this.preselect(),this.scrollToSelected(),this.collapseSelection(),this.showOverlay(),this._setIcon(),BOLDGRID.EDITOR.CONTROLS.Generic.initControls(),a.removeClasses(),r=o.Menu.$element.targetData[n.name]||e(),r.addClass('bg-control-element'),o.CONTROLS.Color.initColorControls(),this.$element.trigger('open')}},a=BOLDGRID.EDITOR.Panel}(jQuery)},"./assets/js/builder/popover/actions/clone.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Clone',function(){return s}),a.d(o,'default',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=function(){function e(o){n(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="duplicate"]').on('click',function(){e.clone(),e.postClone()})}},{key:'clone',value:function(){var e=this.popover.$target.clone();this.popover.$target.after(e)}},{key:'postClone',value:function(){l.Controls.$container.trigger('boldgrid_clone_element'),this.popover.updatePosition()}}]),e}()},"./assets/js/builder/popover/actions/delete.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Delete',function(){return s}),a.d(o,'default',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=function(){function e(o){n(this,e),this.popover=o}return r(e,[{key:'init',value:function(){var e=this;this.popover.$element.find('[data-action="delete"]').on('click',function(o){o.preventDefault(),e.delete()})}},{key:'delete',value:function(){this.popover.$target.remove(),this.popover.$element.hide(),this.popover.updatePosition(),l.Controls.$container.trigger('delete_dwpb')}}]),e}()},"./assets/js/builder/popover/actions/general.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'GeneralActions',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=BOLDGRID.EDITOR,s=jQuery,i=function(){function e(){n(this,e)}return r(e,[{key:'bind',value:function(e){var o=this;this.popover=e,e.$element.find('li[data-action="add-column"]').on('click',u.add_column),e.$element.find('li[data-action="duplicate-column"]').on('click',u.duplicateColumn),e.$element.find('li[data-action="clear"]').on('click',u.clear),e.$element.find('li[data-action="insert-layout"]').on('click',u.insert_layout),e.$element.find('li[data-action="add-row"]').on('click',u.add_row),e.$element.find('li[data-action="clone-as-row"]').on('click',u.unnest_row),e.$element.find('li[data-action]').on('click',u.trigger_action_click),e.$element.find('li[data-action="add-media"]').on('click',u.add_media),e.$element.find('li[data-action="align-top"]').on('click',u.alignTop),e.$element.find('li[data-action="Box"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="Advanced"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="Font"]').on('click',function(a){return o.generalMacro(a)}),e.$element.find('li[data-action="align-default"]').on('click',u.alignDefault),e.$element.find('li[data-action="align-bottom"]').on('click',u.alignBottom),e.$element.find('li[data-action="align-center"]').on('click',u.alignCenter),g=l.Controls.$container}},{key:'generalMacro',value:function(o){var e;o.stopPropagation(),e=s(o.target).data('action'),l.Service.popover.selection.$target.click(),l.Controls.get(e).openPanel(l.Service.popover.selection.$target,this.popover.name)}}]),e}(),d=['duplicate','add-row','add-column','nest-row','clear','delete','clone-as-row','align-top','align-bottom','align-default','align-center'],c=function(e,o){var a=BOLDGRID.EDITOR.Service.popover.selection.$target;a.removeClass('align-column-top align-column-bottom align-column-center'),o&&a.addClass('align-column-'+o),e.closest('.popover-menu-imhwpb').addClass('hidden')},p=function(e,o){e.preventDefault(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.window_mouse_leave()},u={alignTop:function(){c(s(this),'top')},alignBottom:function(){c(s(this),'bottom')},alignCenter:function(){c(s(this),'center')},alignDefault:function(){c(s(this))},unnest_row:function(e){var o=BOLDGRID.EDITOR.Service.popover.selection.$target;o.length&&(s(o[0].outerHTML).insertBefore(o.parent().closest('.row')),p(e,o))},add_row:function(){var e=g.createEmptyRow();BOLDGRID.EDITOR.Service.popover.selection.$target.before(e),g.postAddRow(e)},add_column:function(e){e.preventDefault();var o=s(this),a=BOLDGRID.EDITOR.Service.popover.selection.$target,n=g.find_row_size(a),r=a.find('> *'),l;if(1===r.length&&'BR'==r[0].tagName&&a.empty(),n<g.max_row_size&&n>=0)l=g.fill_row(n,a);else if(n>=g.max_row_size){var i=g.get_layout_format(a),d=g.find_layout_transform(i);d&&!d.current?(g.transform_layout(a,d),l=s('<div class="col-md-'+d.new+' col-sm-12 col-xs-12"></div>'),a.append(l)):(g.decrease_row_size(a),l=s('<div class="col-md-1 col-sm-12 col-xs-12"></div>'),a.append(l))}l.html('<p><br> </p>'),l.addClass('added-element'),setTimeout(function(){l.removeClass('added-element')},1e3),g.trigger(g.add_column_event,l),o.closest('.popover-menu-imhwpb').addClass('hidden')},duplicateColumn:function(e){e.preventDefault();var o=BOLDGRID.EDITOR.Service.popover.selection.$target,a=o.closest_context(g.row_selectors_string,g),n=g.find_column_size(o),r=g.get_layout_format(a),l=g.find_layout_transform(r,n),i=1;if(g.find_row_size(a)+n<=g.max_row_size){var d=o.before(o[0].outerHTML);d[0].popover=null}else if(l){if(!l.current){g.transform_layout(a,l),i=l.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}else{g.change_column_size(o,null,l.current_transform),i=l.new;var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i),s.each(l.additional_transform,function(e,o){var n=0;a.find(g.immediate_column_selectors_string).reverse().each(function(){if(n<o.count){var e=s(this);g.find_column_size(e)==o.from&&(g.change_column_size(e,null,o.to),n++)}else return!1})})}}else if(0==n%2&&n){g.change_column_size(o,null,parseInt(n/2));var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,parseInt(n/2))}else if(g.decrease_row_size(a)){var d=o.before(o[0].outerHTML);d[0].popover=null,g.change_column_size(d,null,i)}g.trigger(g.add_column_event)},clear:function(e){e.preventDefault();var o=s(this),a=BOLDGRID.EDITOR.Service.popover.selection.$target,n=g.get_element_type(a);'column'==BOLDGRID.EDITOR.Service.popover.selection.name?(a.html('<p><br> </p>'),c(o)):a.find(':not('+g.column_selectors_string+'):not( '+g.row_selectors_string+')').remove(),o.closest('.popover-menu-imhwpb').addClass('hidden'),g.trigger(g.clear_event,a)},add_media:function(){g.add_media_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},insert_layout:function(){g.insert_layout_event_handler(BOLDGRID.EDITOR.Service.popover.selection.$target[0])},trigger_action_click:function(e){var o=s(this);-1===d.indexOf(o.data('action'))&&(g.$boldgrid_menu_action_clicked=BOLDGRID.EDITOR.Service.popover.selection.$target[0],p(e,o)),g.trigger(g.boldgrid_modify_event)}},g},"./assets/js/builder/popover/base.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Base',function(){return p}),a.d(o,'default',function(){return p});var r=a('./assets/js/builder/popover/actions/clone.js'),l=a('./assets/js/builder/popover/actions/delete.js'),s=a('./assets/js/builder/popover/actions/general.js'),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=window.jQuery,c=BOLDGRID.EDITOR,p=function(){function e(o){n(this,e),o=o||{},o.actions=o.actions||{},o.actions.clone=o.actions.clone||new r['default'](this),o.actions.delete=o.actions.delete||new l['default'](this),this.options=o,this.selectors=['.must-be-defined'],this.debounceTime=300,this._hideCb=this._getDebouncedHide(),this._showCb=this._getDebouncedUpdate(),this.hideHandleEvents=['bge_row_resize_start','start_typing_boldgrid','boldgrid_modify_content','resize_clicked','drag_end_dwpb','history_change_boldgrid','clear_dwpb','add_column_dwpb']}return i(e,[{key:'init',value:function(){return this.$target,this.$element=this._render(),this.$element.hide(),this._bindEvents(),this.options.actions.clone.init(),this.options.actions.delete.init(),new s['default']().bind(this),this}},{key:'hideHandles',value:function(e){var o;e&&e.relatedTarget&&(o=d(e.relatedTarget)),this.preventMouseLeave&&this.preventMouseLeave(o)||(this._removeBorder(),this.$element.$menu.addClass('hidden'),this.$element.hide(),this.$element.trigger('hide'),this.$element.removeClass('menu-open'))}},{key:'updatePosition',value:function(e){var o,a;return this._removeBorder(),e&&(a=d(e.target)),this._isInvalidTarget(a||this.$target)?void this.$element.hide():c.Controls.$container.$current_drag||c.Controls.$container.resize||this.disableAddPopover?!1:void(a&&(a=a.closest(this.getSelectorString()),this.$target&&a[0]!==this.$target[0]&&(this.$element.removeClass('menu-open'),this.$element.$menu.addClass('hidden')),this.$target=a),this.$element.trigger('updatePosition'),o=this.$target[0].getBoundingClientRect(),this.$element.css(this.getPositionCss(o)).show(),this.$target.addClass('popover-hover'))}},{key:'bindSelectorEvents',value:function(){var e=this;this.$element.on('mouseenter',function(){e.debouncedUpdate()}),c.Controls.$container.$body.on('mouseenter.draggable',this.getSelectorString(),function(o){e.debouncedUpdate(o)}),c.Controls.$container.$body.on('mouseleave.draggable',this.getSelectorString(),function(o){e.debouncedHide(o)})}},{key:'debouncedHide',value:function(e){this._hideCb(e),this.mostRecentAction='leave'}},{key:'debouncedUpdate',value:function(e){this._showCb(e),this.mostRecentAction='enter'}},{key:'_getDebouncedHide',value:function(){var e=this;return _.debounce(function(o){'leave'===e.mostRecentAction&&e.hideHandles(o)},this.debounceTime)}},{key:'_getDebouncedUpdate',value:function(){var e=this;return _.debounce(function(o){'enter'===e.mostRecentAction&&e.updatePosition(o)},this.debounceTime)}},{key:'_bindEvents',value:function(){this.bindSelectorEvents(),this._universalEvents()}},{key:'_universalEvents',value:function(){var e=this;this.$element.on('mousedown',function(){c.Service.popover.selection=e}),c.Controls.$container.on('edit-as-row-enter edit-as-row-leave',function(){e.bindSelectorEvents(),e.hideHandles()}),c.Controls.$container.on('end_typing_boldgrid',function(){'start_typing_boldgrid'===e.hideEventType&&e.updatePosition()}),c.Controls.$container.on('history_change_boldgrid',function(){e.disableAddPopover=!0,setTimeout(function(){e.disableAddPopover=!1},500)}),this.$element.on('mouseleave',function(o){e.debouncedHide(o)}),c.Controls.$container.find('[data-action]').on('click',function(o){e.hideHandles(o)}),c.Controls.$container.on('mouseleave',function(o){e.hideEventType=o.type,e.debouncedHide()}),c.Controls.$container.on(this.hideHandleEvents.join(' '),function(o){e.hideEventType=o.type,e.hideHandles()})}},{key:'_isInvalidTarget',value:function(e){return!e||!e.length||!c.Controls.$container.find(e).length}},{key:'_removeBorder',value:function(){this.$target&&this.$target.length&&this.$target.removeClass('popover-hover')}},{key:'_render',value:function(){var e=d(_.template(this.template)({actions:c.Controls.$container.additional_menu_items}));return e.$menu=e.find('.popover-menu-imhwpb'),c.Controls.$container.$body.after(e),e}}]),e}()},"./assets/js/builder/popover/column.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Column',function(){return g}),a.d(o,'default',function(){return g});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/column.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=window.jQuery,u=BOLDGRID.EDITOR,g=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='column',(e=a,r(a,e))}return l(o,e),c(o,[{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left}}},{key:'getSelectorString',value:function(){return u.Controls.$container.editting_as_row?u.Controls.$container.nestedColumnSelector:u.Controls.$container.original_selector_strings.unformatted_column_selectors_string}}]),o}(s.Base)},"./assets/js/builder/popover/content.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Content',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/content.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='content',a.nestedSelector=a.createNestedSelector(),(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){return e._onUpdatePosition()}),this.$element.find('.edit-as-row').on('click',function(){return e._onEditRow()})}},{key:'getPositionCss',value:function(e){var o=40;return 80>e.height&&(o=e.height/2),{top:e.top+o,left:e.left}}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.unformatted_content_selectors_string;return g.Controls.$container.editting_as_row&&(e=this.nestedSelector),e}},{key:'createNestedSelector',value:function(){var e=[];return _.each(g.Controls.$container.content_selectors,function(o){'.row .row:not(.row .row .row)'!==o&&e.push(o.replace('not(.row .row','not(.row .row .row'))}),e.join(',')}},{key:'preventMouseLeave',value:function(e){return e&&1===e.closest(this.$target).length}},{key:'_onUpdatePosition',value:function(){var e=this.$target.parents(this.getSelectorString()).last();e.length&&(this.$target=e),this.$target.hasClass('row')&&!g.Controls.$container.editting_as_row?this.$element.addClass('nested-row-popover-imhwpb'):this.$element.removeClass('nested-row-popover-imhwpb')}},{key:'_onEditRow',value:function(){g.Controls.$container.trigger('boldgrid_edit_row',this.$target),g.Controls.$container.editting_as_row?u.fourpan.dismiss():u.fourpan.highlight(this.$target)}}]),o}(s.Base)},"./assets/js/builder/popover/row.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Row',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/row.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='row',(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var e=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this),this.$element.on('updatePosition',function(){g.RESIZE.Row.positionHandles(e.$target)}),this.$element.on('hide',function(){g.RESIZE.Row.hideHandles()})}},{key:'getPositionCss',value:function(e){return{top:e.top,left:e.left+e.width}}},{key:'preventMouseLeave',value:function(e){return e&&e.hasClass('draghandle')&&this.$target.is(g.RESIZE.Row.$currentRow)}},{key:'getSelectorString',value:function(){var e=g.Controls.$container.original_selector_strings.row_selectors_string;return g.Controls.$container.editting_as_row&&(e=g.Controls.$container.nested_row_selector_string),e}}]),o}(s.Base)},"./assets/js/builder/popover/section.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Section',function(){return m}),a.d(o,'default',function(){return m});var s=a('./assets/js/builder/popover/base.js'),i=a('./includes/template/popover/section.html'),d=a.n(i),c=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),p=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},u=window.jQuery,g=BOLDGRID.EDITOR,m=function(e){function o(){var e;n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a.template=d.a,a.name='section',a.selectors=['.boldgrid-section'],a.emptySectionTemplate=wp.template('boldgrid-editor-empty-section'),a.selectorsString=a.selectors.join(','),(e=a,r(a,e))}return l(o,e),c(o,[{key:'_bindEvents',value:function(){var a=this;p(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'_bindEvents',this).call(this);this.$element.find('[data-action]').on('click',function(o){o.stopPropagation()}),this.$element.find('[data-action="section-width"]').on('click',function(o){return a.sectionWidth(o)}),this.$element.find('[data-action="move-up"]').on('click',function(){return a.moveUp()}),this.$element.find('[data-action="move-down"]').on('click',function(){return a.moveDown()}),this.$element.find('[data-action="background"]').on('click',function(){return a.background()}),this.$element.find('[data-action="save-gridblock"]').on('click',function(o){return a._saveGridblock(o)}),this.$element.find('[data-action="add-new"]').on('click',function(){return a.addNewSection()}),this.$element.find('.context-menu-imhwpb').on('click',function(o){return a.menuDirection(o)})}},{key:'getSelectorString',value:function(){return this.selectorsString}},{key:'getPositionCss',value:function(e){return{top:e.bottom+35,left:'calc(50% - 38px)',transform:'translateX(-50%)'}}},{key:'addNewSection',value:function(){var e=u(this.emptySectionTemplate());this.$target.after(e),this.transistionSection(e)}},{key:'transistionSection',value:function(e){IMHWPB.tinymce_undo_disabled=!0,e.animate({"background-color":'transparent'},1500,'swing',function(){g.Controls.addStyle(e,'background-color',''),IMHWPB.tinymce_undo_disabled=!1,BOLDGRID.EDITOR.mce.undoManager.add()})}},{key:'menuDirection',value:function(o){var e=o.screenY-window.screenY,a=g.Menu.$mceContainer[0].getBoundingClientRect();e-a.bottom<340?this.$element.find('.popover-menu-imhwpb').addClass('menu-down'):this.$element.find('.popover-menu-imhwpb').removeClass('menu-down')}},{key:'moveUp',value:function(){var e=this.$target.prev();e.length&&e.before(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'_saveGridblock',value:function(){g.Controls.get('Library').openPanel({html:this.$target[0].outerHTML})}},{key:'moveDown',value:function(){var e=this.$target.next();e.length&&e.after(this.$target),g.Controls.$container.trigger(g.Controls.$container.delete_event)}},{key:'background',value:function(){this.$target.click(),BOLDGRID.EDITOR.CONTROLS.Background.openPanel()}},{key:'sectionWidth',value:function(){g.CONTROLS.Container.toggleSectionWidth(this.$target.find('.container, .container-fluid')),this.$target.trigger(g.Controls.$container.delete_event)}}]),o}(s.Base)},"./assets/js/builder/render-fonts.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR.FontRender={createLinkList:function(o){var a={};return o.find('[data-font-family]').each(function(){var o=e(this),n=o.attr('data-font-family');n&&(a[n]=a[n]||{})}),a},updateFontLink:function(a){var n=a.find('head'),r=n.find('#boldgrid-google-fonts'),l,s,i;r.length||(r=e('<link id="boldgrid-google-fonts" rel="stylesheet">'),n.append(r)),l=o.createLinkList(a),s=[],e.each(l,function(e){s.push(e)}),s=s.join('|'),s&&(i=jQuery.param({family:s}),r.attr('href','https://fonts.googleapis.com/css?'+i))}}}(jQuery)},"./assets/js/builder/resize/row.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.RESIZE=BOLDGRID.EDITOR.RESIZE||{},function(o){'use strict';var a=BOLDGRID.EDITOR,n;BOLDGRID.EDITOR.RESIZE.Row={$body:null,handleSize:20,$container:null,$topHandle:null,$bottomHandle:null,handleOffset:null,currentlyDragging:!1,$currentRow:null,init:function(e){n.$container=e,n.handleOffset=n.handleSize,n.createHandles(),n.initDraggable()},createHandles:function(){n.$topHandle=o('<span class="draghandle top" title="Drag Resize Row" data-setting="padding-top"></span>'),n.$bottomHandle=o('<span class="draghandle bottom" title="Drag Resize Row" data-setting="padding-bottom"></span>'),o.each([n.$topHandle,n.$bottomHandle],function(){this.css({position:'fixed',height:n.handleSize,width:n.handleSize})}),n.$container.find('body').after(n.$topHandle).after(n.$bottomHandle),n.hideHandles()},initDraggable:function(){var r,l;n.$container.find('.draghandle').draggable({scroll:!1,axis:'y',start:function(){n.currentlyDragging=!0,l=o(this).data('setting'),r=parseInt(n.$currentRow.css(l)),n.$currentRow.addClass('changing-padding'),n.$container.$html.addClass('no-select-imhwpb'),n.$container.$html.addClass('changing-'+l),a.Controls.$container.trigger('bge_row_resize_start')},stop:function(){a.Controls.$container.trigger('bge_row_resize_end'),n.currentlyDragging=!1,n.$currentRow.removeClass('changing-padding'),n.$container.$html.removeClass('no-select-imhwpb'),n.$container.$html.removeClass('changing-'+l),n.hideHandles()},drag:function(s,e){var i=e.position.top-e.originalPosition.top,d,c,p;'padding-top'===l?(d=parseInt(n.$currentRow.css(l))-i,p='top',0<d&&i&&window.scrollBy(0,-i)):(d=r+i,p='bottom'),0>d&&(c=n.$currentRow[0].getBoundingClientRect(),e.position.top=c[p]-(e.helper.hasClass('top')?0:n.handleOffset),d=0),a.Controls.addStyle(n.$currentRow,l,d),n.$container.$html.hasClass('editing-as-row')&&o.fourpan&&o.fourpan.refresh()}})},positionHandles:function(e){var o,a;return e&&e.length?(o=e[0].getBoundingClientRect(),a=o.right-100,!n.currentlyDragging&&void(n.$currentRow=e,n.$topHandle.css({top:o.top-1,left:a}),n.$bottomHandle.css({top:o.bottom-n.handleOffset+1,left:a}),n.$topHandle.show(),n.$bottomHandle.show())):(n.$topHandle.hide(),void n.$bottomHandle.hide())},hideHandles:function(){return!n.currentlyDragging&&void(n.$topHandle.hide(),n.$bottomHandle.hide())}},n=BOLDGRID.EDITOR.RESIZE.Row}(jQuery)},"./assets/js/builder/service.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Service',function(){return D});var r=a('./assets/js/builder/tinymce/width.js'),l=a('./assets/js/builder/style/updater.js'),s=a('./assets/js/builder/tinymce/loading.js'),i=a('./assets/js/builder/controls/color/palette.js'),d=a('./assets/js/builder/notice/intro.js'),c=a('./assets/js/builder/library/save.js'),p=a('./assets/js/builder/controls/advanced.js'),u=a('./assets/js/builder/gridblock/lead.js'),g=a('./assets/js/builder/popover/content.js'),m=a('./assets/js/builder/popover/column.js'),b=a('./assets/js/builder/popover/row.js'),C=a('./assets/js/builder/popover/section.js'),h=a('./assets/js/builder/customize/navigation.js'),f=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),v=window.BOLDGRID.EDITOR,D=function(){function e(){n(this,e)}return f(e,[{key:'init',value:function(){return this.editorWidth=null,this.styleUpdater=null,this._onWindowLoad(),this._onEditorLoad(),this._onEditorPreload(),this}},{key:'_onWindowLoad',value:function(){this.editorWidth=new r['default']().init(),this.loading=new s['default']().init()}},{key:'_onEditorLoad',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_loaded',function(){e.styleUpdater=new l['default'](BOLDGRID.EDITOR.Controls.$container).init(),e.popover={},e.popover.selection=!1,e.popover.content=new g['default']().init(),e.popover.column=new m['default']().init(),e.popover.row=new b['default']().init(),e.popover.section=new C['default']().init(),BOLDGRID.EDITOR.CONTROLS.Section.init(BOLDGRID.EDITOR.Controls.$container)})}},{key:'_onEditorPreload',value:function(){var e=this;BOLDGRID.EDITOR.$window.on('boldgrid_editor_preload',function(){e.colorPalette=new i.Palette().init(),v.Controls.colorControl=v.CONTROLS.Color.init(),new d.Intro().init(),new c.Save().init(),new u.Lead().init(),new p.Advanced().init(),v.Service.customize=v.Service.customize||{},v.Service.customize.navigation=new h.Navigation().init()})}}]),e}();BOLDGRID.EDITOR.Service=new D().init()},"./assets/js/builder/style/remote.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.STYLE=BOLDGRID.EDITOR.STYLE||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a={getStyles:function(n){var r=function(e){a.siteMarkup=e,o.GRIDBLOCK.View.headMarkup=a.getHeadElements(e),o.$window.trigger('boldgrid_page_html',a.siteMarkup),o.$window.trigger('boldgrid_head_styles',a.headMarkup)};e.get(n).success(function(e){r(e)}).fail(function(e){r(e.responseText||'')})},getHeadElements:function(o){var a,n;return o=o.replace(/<body\b[^<]*(?:(?!<\/body>)<[^<]*)*<\/body>/,''),a=e('<div>').html(o),n='',a.find('link, style').each(function(){var o=e(this),a=this.outerHTML,r=o.prop('tagName');'LINK'===r&&'stylesheet'!==o.attr('rel')&&'boldgrid-custom-styles-css'!==o.attr('id')&&(a=''),n+=a}),n+=wp.template('gridblock-iframe-styles')(),n}};o.STYLE.Remote=a}(jQuery)},"./assets/js/builder/style/updater.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Updater',function(){return c}),a.d(o,'default',function(){return c});var s=a('./node_modules/@boldgrid/controls/src/controls/index.js'),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=jQuery,c=function(e){function o(){return n(this,o),r(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return l(o,e),i(o,[{key:'init',value:function(){return this.$input=d('#boldgrid-control-styles'),this.loadSavedConfig(BoldgridEditor.control_styles.configuration||[]),this.setup(),this.updateInput(),this}},{key:'updateInput',value:function(){this.$input.val(JSON.stringify(this.stylesState)),this.updateCachedCss()}},{key:'updateCachedCss',value:function(){this.cachedCss=this.getStylesheetCss()}},{key:'getCachedCss',value:function(){return this.cachedCss||(this.cachedCss=this.getStylesheetCss()),this.cachedCss}}]),o}(s.i)},"./assets/js/builder/tinymce/loading.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Loading',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){return n(this,e),this.failsafeTimeout=3e3,this.$element=l('.bg-editor-loading-main'),this}return r(e,[{key:'init',value:function(){return this._setupFailsafe(),this}},{key:'hide',value:function(){var e=this;this.$element.removeClass('active'),setTimeout(function(){e.$element.addClass('disabled')},500)}},{key:'show',value:function(){var e=this;this.$element.removeClass('disabled'),setTimeout(function(){e.$element.addClass('active')})}},{key:'_setupFailsafe',value:function(){var e=this;setTimeout(function(){e.hide()},this.failsafeTimeout)}}]),e}()},"./assets/js/builder/tinymce/width.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(o,'__esModule',{value:!0}),a.d(o,'Width',function(){return i}),a.d(o,'default',function(){return i});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=window.jQuery,s=BOLDGRID.EDITOR,i=function(){function e(){n(this,e)}return r(e,[{key:'init',value:function(){return this.$postContainer,this.$resizeiframe,this.resizable=!1,this.stylesheetWaitTime=500,this.updateIframeUrl(),this}},{key:'createIframe',value:function(){var e=l('<iframe id="resizer-iframe"></iframe>');return e.attr('width',window.innerWidth),e.attr('height',window.innerHeight),l('html').append(e),e}},{key:'_findPostContainer',value:function(){var e=this.$resizeiframe.contents(),o=e.find('body'),a=e.find('.post-'+BoldgridEditor.post_id+', article').first(),n=a.find('.entry-content'),r=e.find('.site-content'),l=a.find('.boldgrid-section:first');return l.length?o=l:n.length?o=n:a.length?o=a:r.length&&(o=r),o}},{key:'getWidth',value:function(){var e='auto';return this.$postContainer&&this.$postContainer.width()&&(e=this.$postContainer.width()),e}},{key:'_postIframeProcess',value:function(){this.$postContainer=this._findPostContainer(),this.resizable=this.$postContainer.length&&this.$postContainer.width(),IMHWPB.WP_MCE_Draggable.instance&&IMHWPB.WP_MCE_Draggable.instance.resize_done_event(),s.$window.trigger('boldgrid_post_width',{width:this.getWidth()}),s.Service.loading.hide()}},{key:'updateIframeUrl',value:function(e){var o=this;e=e||BoldgridEditor.site_url,BoldgridEditor.is_boldgrid_theme&&'post'!==BoldgridEditor.post_type||(!this.$resizeiframe&&(this.$resizeiframe=this.createIframe()),this._setIframeData(e).done(function(){o._postIframeProcess()}))}},{key:'_setIframeData',value:function(e){var o=l.Deferred();return this.$resizeiframe[0].src=e,this.$resizeiframe[0].onload=function(){o.resolve()},setTimeout(function(){o.resolve()},3e3),o}}]),e}()},"./assets/js/builder/tinymce/wp-mce-draggable.js":function(){var e=BOLDGRID.EDITOR;window.IMHWPB=IMHWPB||{},IMHWPB.WP_MCE_Draggable=function(){var o=this,a=jQuery;this.resize_selector='.mce-resizehandle',this.draggable_instance=!1;var n=a(window);this.draggable_inactive=!1,this.last_resize=null,this.phone_width_needed=620,this.tablet_width_needed=1250,this.desktop_width_needed=1270;var r=[];this.bind_window_resize=function(){var e=_.debounce(o.resize_done_event,300);n.on('resize',e)},this.highlight_screen_size=function(e){o.remove_icon_highlights(),a('.mce-boldgrid-'+e).addClass('boldgrid-highlighted-mce-icon')},this.remove_icon_highlights=function(){a('.mce-displaysize-imhwpb').removeClass('boldgrid-highlighted-mce-icon')};var l=a.Event('BoldGridPreInit');this.load_draggable=function(e){!1==o.draggable_instance&&(a(document).trigger(l,this),IMHWPB.WP_MCE_Draggable.draggable_instance=e.IMHWPB_Draggable({add_media_event_handler:o.add_media_action,insert_layout_event_handler:o.insert_layout_action,menu_items:r,main_container:!0},a).init(),o.draggable_instance=IMHWPB.WP_MCE_Draggable.draggable_instance),o.bind_events()},this.add_media_action=function(){o.insert_from_media_modal_tab('insert')},this.insert_from_media_modal_tab=function(e){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o.draggable_instance.$boldgrid_menu_action_clicked,0),wp.media.editor.open(),wp.media.frame.setState(e)},this.insert_layout_action=function(){e.CONTROLS.Section.enableSectionDrag()},this.set_button_cursor=function(n){if(n.clientX){var e=a(this),r=o.draggable_instance.$master_container.find('button:not([data-mce-bogus])').not(e);o.replace_all_buttons(r),BOLDGRID.EDITOR.mce.selection.setCursorLocation(this,1)}},this.replace_all_buttons=function(e){e.each(function(){var e=this.outerHTML;a(this).replaceWith(e)})},this.bind_events=function(){o.draggable_instance.$master_container.on('mousedown.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('mouseup.draggable_mce','.draggable-tools-imhwpb',o.boldgrid_tool_click).on('add_column_dwpb.draggable_mce',o.add_column_done).on('drag_start_dwpb.draggable_mce',o.drag_start).on('delete_dwpb.draggable_mce',o.add_history).on('boldgrid_clone_element',o.add_history).on('drag_end_dwpb.draggable_mce',o.drag_end_event).on('add_row_event_dwpb.draggable_mce',o.set_cursor).on('boldgrid_edit_row.draggable_mce',o.edit_row).on('click.draggable_mce','button:not([data-mce-bogus])',o.set_button_cursor).on('click.draggable_mce','a',function(o){o.preventDefault()}).on('resize_start_dwpb.draggable_mce',o.prevent_edit).on('resize_done_dwpb.draggable_mce',o.column_resize_done),o.draggable_instance.$master_container.textSelect(o.text_select_start,o.text_select_end)},this.add_history=function(){o.add_tiny_mce_history()},this.drag_start=function(){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1),BOLDGRID.EDITOR.mce.selection.collapse(!1),o.end_undo_level_mce(),o.draggable_instance.$master_container.find('html').addClass('drag-progress')},this.text_select_start=function(){o.draggable_instance.$master_container.find('html').addClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_start')},this.text_select_end=function(){o.draggable_instance.$master_container.find('html').removeClass('selecting'),o.draggable_instance.$master_container.trigger('text_select_end')},this.set_cursor=function(e,o){BOLDGRID.EDITOR.mce.selection.setCursorLocation(o,0)},this.prevent_edit=function(){BOLDGRID.EDITOR.mce.selection.collapse(!1),o.draggable_instance.ie_version||BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!1)},this.end_undo_level_mce=function(){IMHWPB.tinymce_undo_disabled=!0},this.drag_end_event=function(e,a){BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0),IMHWPB.tinymce_undo_disabled=!1,o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),o.draggable_instance.$master_container.find('html').removeClass('drag-progress'),tinymce&&BOLDGRID.EDITOR.mce.selection&&a&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(a,0)},this.column_resize_done=function(){var e;if(!o.draggable_instance.ie_version){BOLDGRID.EDITOR.mce.getBody().blur(),BOLDGRID.EDITOR.mce.getBody().setAttribute('contenteditable',!0);var e=a('<a>temp</a>');a(BOLDGRID.EDITOR.mce.getBody()).append(e),BOLDGRID.EDITOR.mce.selection.setCursorLocation(e[0],0),e.focus(),e.remove()}n.trigger('resize')},this.add_column_done=function(e,a){o.add_tiny_mce_history(),o.initialize_gallery_objects(o.draggable_instance.$master_container),BOLDGRID.EDITOR.mce.selection.setCursorLocation(a,0)},this.add_tiny_mce_history=function(){BOLDGRID.EDITOR.mce.execCommand('mceAddUndoLevel')},this.initialize_gallery_objects=function(e){'undefined'!=typeof IMHWPBGallery&&'undefined'!=typeof IMHWPBGallery.init_gallery&&(e.find('.masonry').removeClass('masonry'),IMHWPBGallery.init_gallery(e))},this.boldgrid_tool_click=function(){o.remove_mce_resize_handles(),o.draggable_instance.ie_version||(BOLDGRID.EDITOR.mce.selection.select(BOLDGRID.EDITOR.mce.getBody(),!0),BOLDGRID.EDITOR.mce.selection.collapse(!1))},this.remove_mce_resize_handles=function(){o.draggable_instance.$master_container.find('[data-mce-selected]').removeAttr('data-mce-selected'),o.draggable_instance.$master_container.find('.mce-resizehandle').remove(),a('.mce-wp-image-toolbar').hide(),o.draggable_instance.$master_container.find(o.resize_selector).hide()},this.addDeactivateClasses=function(){a('html').addClass('draggable-inactive'),a(BOLDGRID.EDITOR.mce.iframeElement).contents().find('html').addClass('draggable-inactive')},this.resize_done_event=function(){o.updateScreenLayout(),o.updateResizingIframe(),o.update_device_highlighting(),o.$window.trigger('resize.boldgrid-gallery')},this.updateResizingIframe=function(){e.Service.editorWidth.resizable&&(e.Service.editorWidth.$resizeiframe.attr('width',e.Controls.$container.$html.width()),e.Controls.$container.$body.css('width',e.Service.editorWidth.getWidth()))},this.updateScreenLayout=function(){IMHWPB.Editor.instance.currently_selected_size?'monitor'==IMHWPB.Editor.instance.currently_selected_size?1470<window.innerWidth?s():1355<window.innerWidth?i():d():'tablet'==IMHWPB.Editor.instance.currently_selected_size?1250<window.innerWidth?s():1134<window.innerWidth?i():d():'phone'==IMHWPB.Editor.instance.currently_selected_size&&s():1470<window.innerWidth?s():1355<window.innerWidth?i():1041<window.innerWidth?d():1040>=window.innerWidth&&o.set_num_columns(2)};var s=function(){o.set_num_columns(2),o.$body.removeClass('folded'),o.$window.trigger('scroll')},i=function(){o.set_num_columns(2),o.$body.addClass('folded'),o.$window.trigger('scroll')},d=function(){o.set_num_columns(1),o.$body.addClass('folded'),o.$window.trigger('scroll')};this.set_num_columns=function(e){1==e?o.$post_body.addClass('columns-1').removeClass('columns-2'):o.$post_body.addClass('columns-2').removeClass('columns-1')},this.update_device_highlighting=function(){if(e.Controls.$container.$iframe&&!o.draggable_inactive){var a=e.Controls.$container.$iframe.width();1061<a?o.highlight_screen_size('desktop'):837<a?o.highlight_screen_size('tablet'):o.highlight_screen_size('phone')}},this.bind_collapse_click=function(){a('#collapse-menu').on('click',function(){!IMHWPB.Editor.instance.currently_selected_size&&1355<window.innerWidth&&1470>window.innerWidth&&(o.$body.hasClass('folded')?(o.set_num_columns(2),o.$window.trigger('scroll')):(o.set_num_columns(1),o.$window.trigger('scroll'))),o.update_device_highlighting()})},this.bind_column_switch=function(){a('[name="screen_columns"]').on('click',function(){o.update_device_highlighting()})},this.add_menu_item=function(e,o,a){r.push({title:e,element_type:o,callback:a})},this.edit_row=function(e,o){var n=a(o).find('p, a');n.length&&BOLDGRID.EDITOR.mce.selection.setCursorLocation(n[0],0)},this.bind_min_max_controls=function(){var e=a('#max-row-overlay'),n=a('#min-row-overlay');e.on('click',function(){o.$resize_div.animate({height:'1000px'},1e3)}),n.on('click',function(){o.$resize_div.animate({height:'0px'},1e3)})},this.create_resize_handle=function(){var e=a('.temp-overlay');o.$resize_div.resizable({handles:{n:a('.resizable-n')},start:function(){e.addClass('active')},stop:function(){e.removeClass('active')}}).bind('resize',function(){a(this).css('top','auto')}).removeClass('ui-resizable')},a(function(){o.$window=a(window),o.$body=a('body'),o.$post_body=a('#post-body'),o.$editor_content_container=a('#poststuff'),o.$overlay_preview=a('#boldgrid-overlay-preview'),o.$resize_div=a('#resizable'),o.bind_column_switch(),o.bind_window_resize(),o.bind_collapse_click(),o.bind_min_max_controls(),o.create_resize_handle(),o.$window.trigger('resize')})}},"./assets/js/builder/tooltips.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;BOLDGRID.EDITOR.Tooltip={template:wp.template('boldgrid-editor-tooltip'),renderTooltips:function(){a._configTooltips(),a._inlineTooltips()},addTooltip:function(e,o){!1===e.children().first().hasClass('boldgrid-tooltip-wrap')&&e.prepend(a.template({message:o}))},_inlineTooltips:function(){o.Panel.$element.find('[data-tooltip-inline]').each(function(o,n){var r=e(n);a.addTooltip(r,r.data('tooltip-inline'))})},_configTooltips:function(){_.each(BoldgridEditor.builder_config.helpTooltip,function(n,r){o.Panel.$element.add(BOLDGRID.EDITOR.CONTROLS.Color.$colorPanel).find(r).each(function(){a.addTooltip(e(this),n)})})}},a=BOLDGRID.EDITOR.Tooltip}(jQuery)},"./assets/js/builder/util.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},function(e){'use strict';var o=BOLDGRID.EDITOR,a;o.Util={convertPxToEm:function(e,o){var a=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(a=(e/o).toFixed(1)),a},getClassesLike:function(o,a){var n=o.attr('class'),r=[],l=[];return r=n?n.split(' '):[],e.each(r,function(){0===this.indexOf(a)&&l.push(this)}),l},getComponentClasses:function(o,n){var r=e('<div>').attr('class',o),l=a.getClassesLike(r,n);return r.remove(),l},removeComponentClasses:function(e,o){var a=new RegExp('(^|\\s)'+o+'\\S+','g');e.removeClass(function(e,o){return(o.match(a)||[]).join(' ')})},checkBrowser:function(){var e=navigator.userAgent.search('Chrome'),o=navigator.userAgent.search('Firefox'),a=navigator.userAgent.search('MSIE 8.0'),n=navigator.userAgent.search('MSIE 9.0'),r;return-1<e?r='Chrome':-1<o?r='Firefox':-1<n?r='MSIE 9.0':-1<a&&(r='MSIE 8.0'),r}},a=BOLDGRID.EDITOR.Util}(jQuery)},"./assets/js/builder/validation/section.js":function(){window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR=BOLDGRID.EDITOR||{},BOLDGRID.EDITOR.VALIDATION=BOLDGRID.EDITOR.VALIDATION||{},function(e){'use strict';BOLDGRID.EDITOR.VALIDATION.Section={};var o=BOLDGRID.EDITOR.VALIDATION.Section;e.fn.closestContext=function(e,o){var a;return a=this.is(e)?this:this.parentsUntil(o).filter(e).eq(0),a};var a='container',n='boldgrid-section',r='<div class="'+n+'"></div>',l='<div class="'+a+'"></div>',s=function(){var n=[],r;r=function(){e(n).wrapAll('<div class="'+a+'"><div class="row"><div class="col-md-12">'),n=[]},o.$context.find('> *').each(function(){var o=e(this);o.is('h1,h2,h3,h4,h5,h6,h7,a,img,p,button,ul,ol,dl,form,table,[data-imhwpb-draggable="true"],.wpview-wrap,.wpview,blockquote,code,abbr')?n.push(this):r()}),r()};o.updateContent=function(e){a=BoldgridEditor.default_container||'container-fluid',l='<div class="'+a+'"></div>',o.$context=e,s(),d(),p(),c(),i()},o.updateContainers=function(o){o.find(' .container, .container-fluid').each(function(){e(this).removeClass('container container-fluid').addClass(BoldgridEditor.default_container)})};var i=function(){o.$context.find('.boldgrid-section > .container-fluid').each(function(){var o=e(this),a=o.attr('class').replace('container-fluid','');o.attr('class','container-fluid'),o.parent().addClass(a)})},d=function(){o.$context.find('.container').each(function(){var a=e(this),r=a.parent();r.length&&r[0]!==o.$context[0]&&!1===r.hasClass(n)&&r.addClass(n)})},c=function(){o.$context.find('.row:not(.row .row)').each(function(){var a=e(this),s=a.parent();a.closestContext('.container, .container-fluid',o.$context).length||a.wrap(l),a.closestContext('.boldgrid-section',o.$context).length||(s.length&&s[0]!==o.$context[0]?s.addClass(n):a.parent().wrap(r))})},p=function(){o.$context.find('.container, .container-fluid').each(function(){var o=e(this);o.parent('.boldgrid-section').length||!1!==o.hasClass(n)||o.wrap(r)})}}(jQuery)},"./assets/js/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/istyping/jquery.is-typing.js'),r=a.n(n),l=a('./node_modules/fourpan/jquery.fourpan.js'),s=a.n(l),i=a('./node_modules/textselect/jquery.text-select.js'),d=a.n(i),c=a('./node_modules/jquery-slimscroll/jquery.slimscroll.js'),p=a.n(c),u=a('./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js'),g=a.n(u),m=a('./node_modules/jquery-ui-dist/jquery-ui.structure.css'),b=a.n(m),C=a('./node_modules/jquery-ui-dist/jquery-ui.theme.css'),h=a.n(C),f=a('./assets/css/font-family-controls.min.css'),v=a.n(f),D=a('./assets/js/builder/tinymce/wp-mce-draggable.js'),y=a.n(D),E=a('./assets/js/builder/util.js'),F=a.n(E),w=jQuery;window.BOLDGRID=window.BOLDGRID||{},BOLDGRID.EDITOR.$window=w(window),function(e){e.keys().forEach(e)}(a('./assets/js/builder recursive \\.js$'))},"./includes/template/customize/background-color.html":function(e){e.exports='<div class="color-controls section generic-bg-color"> <h4>Background Color</h4> <label for=generic-bg-color class=color-preview></label> <input type=text data-type="" name=generic-bg-color class=color-control value=""> </div> '},"./includes/template/customize/color.html":function(e){e.exports='<div class="color-controls section <%=name %>"> <h4><%=label %></h4> <label for="<%=name %>" class=color-preview></label> <input type=text data-type="" name="<%=name %>" class=color-control value=""> </div> '},"./includes/template/customize/navigation.html":function(e){e.exports='<div class=customize-navigation> <% _.each( controls, function ( control, index ) { %> <div class=item data-tooltip-inline="<%=control.label %>" data-control-name="<%=control.name %>"> <a href=#><%=control.icon %></a> </div> <% } ); %> </div> '},"./includes/template/gridblock-library.html":function(e){e.exports='<div class=save-gridblock> <div class="save-prompt save-state"> <h2>Save Block to Your Library</h2> <h4>Any designs you save can be reused on any page or website.</h4> <form> <input required type=text placeholder="Enter title here"> <button class="bg-editor-button bg-primary-color btn btn-rounded save">Save</button> </form> </div> <div class="save-failed save-state"> <h2>Oops! An error occured.</h2> <h4>We were unable to add the Block to you library. Please try again later.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> <div class="save-success save-state"> <h2>Block Saved!</h2> <h4>Your Block can be found in the admin area under Post and Page Builder, and will also be available in "Block Library" within the Add Blocks interface.</h4> <button class="bg-editor-button bg-primary-color btn btn-rounded dismiss">Okay, Got it!</button> </div> </div> '},"./includes/template/gridblock/lead.html":function(e){e.exports='<div class=editing-blocker> <div class=gridblock-lead> <p>Get Started with a Block</p> <p class=desc>Adding a Block will help you create your new page faster.</p> <div class=actions> <a class="button add-blank">Blank Page</a> <a class="boldgrid-color button button-primary gridblock-icon add-gridblock"><span class=wp-media-buttons-icon></span> Add Block</a> </div> </div> </div> '},"./includes/template/intro.html":function(e,o,a){e.exports='<div class=setup> <div data-step=welcome class="step active welcome" data-panel-width=600 data-panel-info="Step 1/3"> <img src='+a('./assets/image/notice/plugin-icon-editor.png')+'> <div class=step-content> <h2>Welcome to the Page & Post Editor</h2> <p class=lead> In order to optimize your experience, let\'s setup your plugin with some preferences. If you choose to skip the setup we\'ll set default options that you can easily modify later. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-secondary-color dismiss">Skip Setup</a> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=choose-template>Okay, Let\'s Go!</a> </p> </div> </div> <div data-step=choose-template data-panel-info="Step 2/3" class="step choose-template" data-panel-width=350 data-panel-height=550 data-panel-title="Post and Page Builder - Templates"> <h3>Choose your default template:</h3> <p class=lead>The Post and Page Builder includes 3 custom page templates provide more layout control. Choose your default page template to use on new pages.</p> <div class=template-control> <span class=radio> <span class=label>Full Width (Recommended)</span> <input class="template sidebar none" type=radio name=template checked=checked value=fullwidth> </span> <span class=radio> <span class=label>Right Sidebar</span> <input class="template sidebar right" type=radio name=template value=right-sidebar> </span> <span class=radio> <span class=label>Left Sidebar</span> <input class="template sidebar left" type=radio name=template value=left-sidebar> </span> <span class=radio> <span class=label>Theme Default</span> <input class="template default" type=radio name=template value=default> </span> </div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" data-action-step=done>Next Step</a> </p> </div> <div data-step=choose-color-palette data-panel-info="Step 2/3" data-panel-width=400 data-panel-height=675 class=step data-panel-title="Post and Page Builder - Colors"> <div class=choose-palette></div> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color" disabled=disabled data-action-step=done>Next Step</a> </p> </div> <div class="done step" data-step=done data-panel-info="Step 3/3" data-panel-height=250 data-panel-width=525 data-panel-title="Post and Page Builder - Help"> <h2>Your done!</h2> <p> For help exploring the many features of this plugin please visit our support site: <a class=support-link target=_blank href="https://www.boldgrid.com/support/editing-your-pages/wordpress-page-post-editor/?source=boldgrid-editor_setup">BoldGrid Page & Post Editor</a>. </p> <p class=buttons> <a class="btn bg-editor-button btn-rounded bg-primary-color dismiss">Okay, Got It!</a> </p> </div> </div> '},"./includes/template/popover/column.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb style=top:82px;left:754.5px> <span class="popover-imhwpb top-popover-imhwpb column-popover-imhwpb"> <div title="Drag Column" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Column</li> <li class="no-select-imhwpb action-list" data-action=duplicate-column>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=add-media>Insert Media</li> <li class="no-select-imhwpb action-list side-menu-parent" data-action=vertical-alignment>Vertical Alignment</li> <div class=side-menu> <ul> <li class="no-select-imhwpb action-list" data-action=align-default>Default</li> <li class="no-select-imhwpb action-list" data-action=align-top>Top</li> <li class="no-select-imhwpb action-list" data-action=align-center>Center</li> <li class="no-select-imhwpb action-list" data-action=align-bottom>Bottom</li> </ul> </div> <li class="no-select-imhwpb action-list" data-action=Box>Background</li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'column\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% } ); %> </ul> </div> <div title="Edit Column" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/content.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <div class="bg-drag-popover content-drag-handle"> <span class="popover-imhwpb content-popover-imhwpb left-popover-imhwpb"> <div title=Move contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Content</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=Font>Font</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\t\tif ( \'content\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Content" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> <div title="Edit As Row" class="edit-as-row draggable-button"> <span class="genericon genericon-expand" aria-hidden=true></span></div> </span> </div> </div> '},"./includes/template/popover/row.html":function(e){e.exports='<div spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on class=draggable-tools-imhwpb> <span class="popover-imhwpb row-popover-imhwpb right-popover-imhwpb"> <div title="Drag Row" contenteditable=false draggable=true class="no-select-imhwpb drag-handle-imhwpb draggable-button"> <span class="genericon genericon-move" aria-hidden=true> </span></div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Row</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=clear>Clear Contents</li> <li class="no-select-imhwpb action-list" data-action=insert-layout>Insert Block</li> <li class="no-select-imhwpb action-list" data-action=add-column>Add Column</li> <li class="no-select-imhwpb action-list" data-action=add-row>Add Empty Row</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <li class="no-select-imhwpb action-list" draggable=true data-action=nest-row></li> <% _.each( actions, function ( value ) {\n\t\t\t\tif ( \'row\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Row" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span></div> </span> </div> '},"./includes/template/popover/section.html":function(e){e.exports='<div class="bg-drag-popover section-drag-handle draggable-tools-imhwpb" spellcheck=false data-mce-bogus=all contenteditable=false unselectable=on> <span class="popover-imhwpb section-popover-imhwpb bottom-popover-imhwpb"> <div title="Drag Sections" contenteditable=false class="move-sections no-select-imhwpb draggable-button"> <span class="genericon genericon-unzoom" aria-hidden=true></span> </div> <div class="popover-menu-imhwpb hidden"> <ul> <li class="no-select-imhwpb action-list" data-action="">Edit Section</li> <li class="no-select-imhwpb action-list" data-action=duplicate>Clone</li> <li class="no-select-imhwpb action-list" data-action=delete>Delete</li> <li class="no-select-imhwpb action-list" data-action=section-width>Section Width</li> <li class="no-select-imhwpb action-list" data-action=move-up>Move Up</li> <li class="no-select-imhwpb action-list" data-action=move-down>Move Down</li> <li class="no-select-imhwpb action-list" data-action=add-new>Add Empty Section</li> <li class="no-select-imhwpb action-list" data-action=save-gridblock>Save Block</li> <li class="no-select-imhwpb action-list" data-action=background>Change Background</li> <li class="no-select-imhwpb action-list" data-action=Advanced>Advanced Control</li> <% _.each( actions, function ( value ) {\n\t\t\t\t\tif ( \'section\' === value.element_type ) { %> <li class="no-select-imhwpb action-list" data-action="<%=value.title%>"><%=value.title%></li> <% } %> <% } ); %> </ul> </div> <div title="Edit Section" class="context-menu-imhwpb draggable-button"> <span class="genericon genericon-menu" aria-hidden=true></span> </div> </span> </div> '},"./node_modules/@boldgrid/controls/src/controls/border-radius/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return p});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},p=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Border Radius',name:'border-radius',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top-left',label:'Top Left',cssProperty:'border-top-left-radius'},{name:'top-right',label:'Top Right',cssProperty:'border-top-right-radius'},{name:'bottom-right',label:'Bottom Right',cssProperty:'border-bottom-right-radius'},{name:'bottom-left',label:'Bottom Left',cssProperty:'border-bottom-left-radius'}]},slider:{px:{min:0,max:50,step:1},em:{step:0.1,min:0,max:5},"%":{min:0,max:50,step:1}}},a}return l(o,e),d(o,[{key:'convertToSelectedUnit',value:function(e){var a,n;return-1!==e.indexOf('%')&&(e=parseInt(e),e=new i.a().percentageToPixel(e,this.$target)),'%'===this.selectedUnit?(n=parseInt(e),a=new i.a().pxToPercentage(n,this.$target)):a=c(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'convertToSelectedUnit',this).call(this,e),a}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/border-radius/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/border-radius/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/border/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return b});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/border/template.html'),d=a.n(i),c=a('./node_modules/@boldgrid/controls/src/controls/border/style.scss'),p=a.n(c),u=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),g=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},m=window.jQuery,b=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Border Width',name:'border-width',units:{default:'px',enabled:['px','em']}},slider:{px:{step:0.1,min:0,max:15},em:{min:0,max:5,step:0.1}}},a.borderDirections=['left','top','right','bottom'],a}return l(o,e),u(o,[{key:'render',value:function(){var e;return g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this.$typeControl=m(d.a),this.bindEvents(),e=this.$typeControl.append(this.$control),e}},{key:'bindEvents',value:function(){this._bindTypeChange(),this.refreshValues(),this._setType()}},{key:'_setType',value:function(){var e=this._getBorderStyle();return e='none'===e?'':e,this.$typeControl.find('.border-type-control input').filter('[value="'+e+'"]').prop('checked',!0)}},{key:'_getBorderStyle',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.borderDirections[Symbol.iterator](),l;!(o=(l=r.next()).done);o=!0){var s=l.value,i=this.$target.css('border-'+s+'-style');if('none'!==i){e=i;break}}}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'refreshValues',value:function(){var e;g(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),e=this._setType(),this._toggleWidthControl(e.val())}},{key:'_toggleWidthControl',value:function(e){e?this.$control.show():this.$control.hide()}},{key:'_bindTypeChange',value:function(){var o=this;this.$typeControl.find('input').on('change',function(a){var e=m(a.target),n=e.val();o.applyCssRules({"border-style":n}),o._toggleWidthControl(n),o.$control.trigger('type-change',n)})}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/border/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/border/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/border/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/border/template.html":function(e){e.exports='<div class="boldgrid-control border-control"> <div class=border-type-control> <h4 class=control-title>Border Type</h4> <ul> <li><label><input type=radio name=border-type checked=checked value="">None</label></li> <li><label><input type=radio name=border-type value=dashed>Dashed</label></li> <li><label><input type=radio name=border-type value=double>Double</label></li> <li><label><input type=radio name=border-type value=solid>Solid</label></li> <li><label><input type=radio name=border-type value=dotted>Dotted</label></li> </ul> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js":function(e,o){'use strict';o.a={controlOptions:{control:{title:'Box Shadow',name:'box-shadow',linkable:!1,units:{default:'px',enabled:['px']},sliders:[{name:'horizontal-position',label:'Horizontal Position',cssProperty:'border-top-left-radius'},{name:'vertical-position',label:'Vertical Position',cssProperty:'border-top-right-radius'},{name:'blur-radius',label:'Blur Radius',cssProperty:'border-bottom-right-radius'},{name:'spread-radius',label:'Spread Radius',cssProperty:'border-bottom-right-radius'}]},slider:{px:{min:-200,max:200},em:{min:0.1,max:5}}},sliderConfig:{"horizontal-position":{min:-50,max:50},"vertical-position":{min:-50,max:50},"blur-radius":{min:0,max:100},"spread-radius":{min:-25,max:25}}}},"./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return C});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/switch/index.js'),d=a('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),c=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js'),p=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/config.js'),u=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss'),g=a.n(u),m=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),b=function e(o,a,n){null===o&&(o=Function.prototype);var r=Object.getOwnPropertyDescriptor(o,a);if(void 0===r){var l=Object.getPrototypeOf(o);return null===l?void 0:e(l,a,n)}if('value'in r)return r.value;var s=r.get;return void 0===s?void 0:s.call(n)},C=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.parser=new c.a,a.slidersLinked=!1,a.controlOptions=p.a.controlOptions,a.sliderConfig=p.a.sliderConfig,a.currentValues=a.getCurrentValues(),a.shadowType=a.currentValues.inset?'inset':'',a.shadowColor=a.getShadowColor(),a.switchControl=new i.a({name:'box-shadow-outline',label:'Outline / Inset'}),a.colorPicker=new d.a,a}return l(o,e),m(o,[{key:'getShadowColor',value:function(){return this.currentValues.color||'#cecece'}},{key:'getSliderConfig',value:function(e){return this.currentValues=this.getCurrentValues(),this.currentValues&&(this.sliderConfig[e.name].value=this.currentValues[e.name]),this.sliderConfig[e.name]}},{key:'getCurrentValues',value:function(){return this.parser.parse(this.$target.css('box-shadow'))}},{key:'render',value:function(){var e;return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'render',this).call(this),this._setupOutlineSwitch(),this._setupColorPicker(),e=this.$control.add(this.switchControl.$element),e=e.add(this.colorPicker.$element),e}},{key:'refreshValues',value:function(){var e;b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),'refreshValues',this).call(this),this.updateCheckedSetting(),this.updateShadowType(),e=this.colorPicker.$input.iris('option','change'),this.colorPicker.$input.iris('option','change',function(){}),this.colorPicker.$input.iris('color',this.getShadowColor()),this.colorPicker.$input.iris('option','change',e)}},{key:'_updateCss',value:function(){var e=this.getValues(),o=this.controlOptions.control.name,a=[];a.push(this.shadowType),a.push(e['horizontal-position']+this.selectedUnit),a.push(e['vertical-position']+this.selectedUnit),a.push(e['blur-radius']+this.selectedUnit),a.push(e['spread-radius']+this.selectedUnit),a.push(this.shadowColor),a=a.join(' '),this.applyCssRules({"box-shadow":a})}},{key:'_setupColorPicker',value:function(){var o=this,e=_.defaults(this.options.colorPicker||{},{defaultColor:this.shadowColor,hide:!1,change:function(){}});this.colorPicker.init(!1,e),this.colorPicker.$input.iris('option','change',function(a,e){o.shadowColor=e.color.toString(),o._updateCss()})}},{key:'updateCheckedSetting',value:function(){this.switchControl.$input.prop('checked',this.currentValues.inset)}},{key:'updateShadowType',value:function(){this.shadowType=this.switchControl.isEnabled()?'inset':''}},{key:'_setupOutlineSwitch',value:function(){var e=this;this.switchControl.render(),this.updateCheckedSetting(),this.switchControl.$input.on('change',function(){e.updateShadowType(),e._updateCss()})}}]),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/box-shadow/parser.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e),this.regex=/(-?\d+px)|(rgb\(.+\))/g,this.propertyOrder=['horizontal-position','vertical-position','blur-radius','spread-radius'],this.default={inset:!1,"horizontal-position":0,"vertical-position":0,"blur-radius":0,"spread-radius":0,color:!1}}return r(e,[{key:'parse',value:function(e){var o=this.default,a=e.match(this.regex),n=0;if(o.inset=-1!==e.indexOf('inset'),!a||2>=a.length)return!1;var r=!0,l=!1,s;try{for(var i=a[Symbol.iterator](),d,c;!(r=(d=i.next()).done);r=!0)c=d.value,-1===c.indexOf('rgb')?'inset'===c?o.inset=!0:-1!==c.indexOf('px')&&(o[this.propertyOrder[n]]=parseInt(c),n++):o.color=c}catch(e){l=!0,s=e}finally{try{!r&&i.return&&i.return()}finally{if(l)throw s}}return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/box-shadow/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color-picker/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/color-picker/js/picker.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/color-js/color.js'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(){n(this,e)}return d(e,[{key:'init',value:function(e,o){return this.options=_.defaults(o||{},{clear:!1,width:255,mode:'hsv',type:'full',slider:'horizontal',hide:!0,defaultColor:!1,palettes:!0,secondaryPalette:[]}),this.$element=e||c('<div data-value="'+this.options.defaultColor+'"></div>'),this.$input=this.createColorInput(),this.setupIris(),o.hide&&this.setupAutoCollapse(),this}},{key:'setupAutoCollapse',value:function(){var e=this;c('body').on('click',function(){e.hide(),e.$element.addClass()}),this.$element.on('click',function(o){return o.stopPropagation()})}},{key:'hide',value:function(){c.contains(document,this.$input[0])&&(this.$element.hide(),this.$element.attr('data-state','hidden'),this.$input.iris('hide'))}},{key:'show',value:function(){this.$element.show(),this.$element.attr('data-state','visible'),this.$input.iris('show')}},{key:'setupIris',value:function(){this.$input.iris(this.options),this.createPickerPalettes(),this.bindCustomPalettes()}},{key:'createColorInput',value:function(){var e=this.$element.attr('data-value'),o=c('<input type="text" data-alpha="true" class="pluto-color-control color-control-input"/>');return o.val(e).change(),this.$element.html(o),o.wrapAll('<div class="custom-input bg-color-picker-control boldgrid-control"></div>'),o}},{key:'createPickerPalettes',value:function(){for(var e=c('<div class="secondary-colors"></div>'),o=0;o<this.options.secondaryPalette.length;o++)e.append('<a class="iris-palette" tabindex="0"></a>');e.prependTo(this.$element.find('.iris-picker-inner')),this.$input.iris('option','width',this.options.width)}},{key:'bindCustomPalettes',value:function(){var o=this;this.$element.find('.secondary-colors .iris-palette').on('click',function(a){o.setColor(c(a.target).css('background-color'))})}},{key:'setColor',value:function(e){var o=l()(e);this.$input.iris('color',o.toString())}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color-picker/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js":function(e,o){'use strict';o.a=[['#DB3E3E','#030000','#E97070','#6E0E0E','#FEBCA3'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FA6900','#F38630','#E0E4CC','#A7DBD8','#69D2E7'],['#FC9D9A','#F9CDAD','#C8C8A9','#83AF9B','#FE4365'],['#D95B43','#ECD078','#53777A','#542437','#C02942'],['#FF6B6B','#C7F464','#4ECDC4','#556270','#C44D58'],['#E08E79','#774F38','#F1D4AF','#ECE5CE','#C5E0DC'],['#E8DDCB','#CDB380','#036564','#033649','#031634'],['#E97F02','#F8CA00','#8A9B0F','#490A3D','#BD1550'],['#594F4F','#E5FCC2','#9DE0AD','#45ADA8','#547980'],['#EB6841','#6A4A3C','#EDC951','#00A0B0','#CC333F'],['#C6A49A','#F4EAD5','#C6E5D9','#E94E77','#D68189'],['#7A6A53','#D9CEB2','#948C75','#D5DED9','#99B2B7'],['#FF9E9D','#DAD8A7','#7FC7AF','#3FB8AF','#FF3D7F'],['#FFFFFF','#1C140D','#F2E9E1','#CBE86B','#CBE86B'],['#DCE9BE','#EFFFCD','#2E2633','#99173C','#555152'],['#343838','#005F6B','#008C9E','#00DFFC','#00B4CC'],['#F0B49E','#F7E4BE','#413E4A','#73626E','#B38184'],['#FF847C','#FECEA8','#99B898','#2A363B','#E84A5F'],['#FC913A','#F9D423','#EDE574','#E1F5C4','#FF4E50'],['#554236','#F77825','#D3CE3D','#F1EFA5','#60B99A'],['#E8CAA4','#64908A','#424254','#351330','#CC2A41'],['#F9F2E7','#8FBE00','#AEE239','#40C0CB','#00A8C6'],['#BF4D28','#655643','#E6AC27','#F6F7BD','#80BCA3'],['#FF4242','#F4FAD2','#D4EE5E','#E1EDB9','#F0F2EB'],['#8C2318','#F2C45A','#BFB35A','#88A65E','#5E8C6A'],['#F5634A','#FF9C5B','#FAD089','#3B8183','#ED303C'],['#FFFFFF','#000000','#D1E751','#4DBCE9','#26ADE4'],['#F27435','#CFBE27','#BCBDAC','#3B2D38','#F02475'],['#424242','#E9E9E9','#BCBCBC','#FF9900','#3299BB'],['#EBE3AA','#CAD7B2','#A8CABA','#838689','#5D4157'],['#5E412F','#F07818','#F0A830','#FCEBB6','#78C0A8'],['#F8B195','#355C7D','#6C5B7B','#C06C84','#F67280'],['#BEF202','#88C425','#EAFDE6','#519548','#1B676B'],['#C5BC8E','#EEE6AB','#696758','#36393B','#45484B'],['#E4844A','#E8BF56','#E2F7CE','#91204D','#452632'],['#FF823A','#FFF7BD','#F2F26F','#95CFB7','#F04155'],['#FA2A00','#3D1C00','#F0D8A8','#F2D694','#86B8B1'],['#A0C55F','#7AB317','#0D6759','#0B2E59','#2A044A'],['#CCBF82','#B8AF03','#67917A','#170409','#E33258'],['#7B3B3B','#493736','#B9D7D9','#668284','#2A2829'],['#EEAA88','#EEC290','#EEDD99','#CCC68D','#BBBB88'],['#F85931','#EDB92E','#A3A948','#009989','#CE1836'],['#E8D5B9','#E8D5B7','#F5B349','#0E2430','#FC3A51'],['#EF746F','#FFBE40','#ECF081','#B3CC57','#AB3E5B'],['#BCA297','#F0E2A4','#F4EBC3','#C5CEAE','#AB526B'],['#604848','#F0F0D8','#C0D860','#789048','#607848'],['#5A2E2E','#DFBA69','#FFFEDF','#3E4147','#2A2C31'],['#C04848','#F07241','#300030','#480048','#601848'],['#E8CAAF','#EEE0B7','#EBEFC9','#C4CBB7','#AAB3AB'],['#FFAAA6','#FFD3B5','#DCEDC2','#A8E6CE','#FF8C94'],['#D3643B','#403B33','#EDEBE6','#D6E1C7','#94C7B6'],['#D14334','#FFEAAD','#B3E099','#028F76','#1C2130'],['#987F69','#E3AD40','#FDF1CC','#FCD036','#C6D6B8'],['#29221F','#FCF7C5','#0ABFBC','#13747D','#FC354C'],['#E6781E','#C8CF02','#F8FCC1','#1693A7','#CC0C39'],['#E6F9BC','#BCDEA5','#83988E','#574951','#3A111C'],['#F88F79','#F6AA93','#B28774','#B9D3B0','#81BDA4'],['#EBEBBC','#BCE3C5','#82B3AE','#230F2B','#F21D41'],['#5E3929','#CD8C52','#FCF7D3','#DEE8BE','#B7D1A3'],['#E15E32','#E5F04C','#C0D23E','#5C323E','#A82743'],['#DAD6CA','#1BB0CE','#4F8699','#6A5E72','#563444'],['#C6A9A3','#EBD8B7','#99BBAD','#5B527F','#9A8194'],['#DC5B3E','#CCFC8E','#8EBE94','#4E395D','#827085'],['#FEDCBA','#ECDBBC','#DADABD','#C8D9BF','#B6D8C0'],['#EB7B59','#E5DDCB','#A7C5BD','#524656','#CF4647'],['#FEA6A2','#F9D6AC','#988864','#FFE9AF','#8DCCAD'],['#C21A01','#F03C02','#1C0113','#A30006','#6B0103'],['#E5625C','#F9BF76','#8EB2C5','#615375','#D1313D'],['#9D7E79','#CCAC95','#9A947C','#748B83','#5B756C'],['#C2412D','#D1AA34','#A7A844','#5A1E4A','#A46583'],['#CFFFDD','#B4DEC1','#5C5863','#A85163','#FF1F4C'],['#A8A7A7','#474747','#363636','#E8175D','#CC527A'],['#E3DFBA','#C8D6BF','#1A1F1E','#93CCC6','#6CBDB5'],['#FFEAF2','#FBC5D8','#FCD9E5','#382F32','#F1396D'],['#605951','#C1B398','#FBEEC2','#ACCEC0','#61A6AB'],['#413D3D','#C8FF00','#040004','#FA023C','#4B000F'],['#F56218','#FF9D2E','#FFFEC7','#919167','#9DC9AC'],['#A5A36C','#F5F4D7','#535233','#E0DFB1','#951F2B'],['#D34017','#F8F3BF','#DCE4F7','#BFCFF7','#75616B'],['#F87E7B','#FAB87F','#DCD1B4','#5E9FA3','#B05574'],['#F54828','#F7803C','#F8E4C1','#FFEDBF','#2E0D23'],['#412E28','#D1C089','#151101','#EDF6EE','#B3204D'],['#000000','#CCCCCC','#292C37','#B11623','#9F111B'],['#FFFBB7','#A6F6AF','#66B6AB','#5B7C8D','#4F2958'],['#EFF3CD','#B2D5BA','#61ADA0','#248F8D','#605063'],['#F8A13F','#E8F9A2','#A5AAD9','#7E5686','#BA3C3D'],['#4E3F30','#F8F4E4','#FEFEEB','#A5B3AA','#0CA5B0'],['#633D2E','#F7AF63','#DDD9AB','#BFD8AD','#9CDDC8'],['#353432','#4E4D4A','#94BA65','#2790B0','#2B4E72'],['#FAFBE3','#CDCFB7','#FCFEF5','#D6E6C3','#E9FFE1'],['#4D3B3B','#DE6262','#FFD0B3','#F5E0D3','#FFB88C'],['#AC2005','#2C1507','#BB8138','#ECCF8D','#84B295'],['#2D2D29','#92C7A3','#DFECE6','#3CA2A2','#215A6D'],['#F38A8A','#55443D','#F1EDD0','#CDE9CA','#A0CAB5'],['#FB6B41','#F6D86B','#339194','#A70267','#F10C49'],['#D88A8A','#F8EDD1','#9D9D93','#474843','#C5CFC6'],['#403831','#30261C','#36544F','#1F5F61','#0B8185'],['#FF9C97','#EEE9E5','#FAD3B2','#FFBA7F','#FFE181'],['#ECBE13','#93A42A','#2FB8AC','#309292','#046D8B'],['#1F1C0D','#BBB749','#E0FBAC','#78AE62','#379F7A'],['#E0E0E0','#82837E','#BDEB07','#94B053','#BFFA37'],['#8B7A5E','#FFEFD3','#FFFEE4','#9FD6D2','#D0ECEA'],['#E86E1C','#ECBA09','#B5AC01','#1B1521','#D41E45'],['#FF8A00','#FABE28','#88C100','#00C176','#FF003C'],['#86C28B','#859987','#77B885','#6DA67A','#4A4857'],['#A38A5F','#D1C5A5','#8C873E','#793A57','#4D3339'],['#BBB2A1','#A79B83','#8A7E66','#ADC0B4','#BED6C7'],['#D9D9D9','#C4FFEB','#312736','#D4838F','#D6ABB1'],['#FFA566','#395A4F','#432330','#853C43','#F25C5E'],['#E46F0A','#F0B300','#11766D','#410936','#A40B54'],['#C75233','#C78933','#D6CEAA','#79B5AC','#5E2F46'],['#CAFF42','#EBF7F8','#88ABC2','#49708A','#D0E0EB'],['#333333','#FBFFE3','#83A300','#E21B5A','#9E0C39'],['#FFD8D8','#F5A2A2','#805841','#FFFCDD','#DCF7F3'],['#F45D4C','#F7A541','#FACA66','#FEE5AD','#A1DBB2'],['#BD5532','#E1B866','#DEE1B6','#73C8A9','#373B44'],['#FAAD8E','#FFD6A3','#FFF0B8','#FDFFD9','#142F30'],['#F35F55','#FBC599','#CDBB93','#9EAE8A','#335650'],['#FDE6BD','#F4DD51','#A1C5AB','#632F53','#D11E48'],['#E6867A','#D9AB91','#D9D5A7','#C7FCD7','#ED4A6A'],['#E5EAA4','#A8C4A2','#69A5A4','#616382','#66245B'],['#2B2B2B','#FFC6A5','#F2E3C6','#353634','#E6324B'],['#8F9924','#ACC95F','#F3FFEB','#F1396D','#FD6081'],['#F34739','#FF6E27','#331327','#991766','#D90F5A'],['#D54B1A','#503D2E','#E3A72F','#F0ECC9','#058789'],['#DE4126','#EB9605','#6E1E62','#261C21','#B0254F'],['#595151','#B39C82','#F0D399','#B8C99D','#BF496A'],['#E47C5D','#F0DDAA','#59B390','#152B3C','#E32D40'],['#111625','#341931','#571B3C','#7A1E48','#9D2053'],['#D6A692','#292522','#A39081','#EFD9B4','#4D6160'],['#99A66D','#C0DE5D','#B5CC6A','#A9BD68','#6DA67A'],['#E4F5B1','#A7DBAB','#7BB0A8','#635274','#512B52'],['#68462B','#E9E0D1','#91A398','#33605A','#070001'],['#ED834E','#EBE1C5','#EBCC6E','#595643','#4E6B66'],['#EC4401','#CC9B25','#13CD4A','#7B6ED6','#5E525C'],['#E32F21','#E4DED0','#ABCCBD','#7DBEB8','#181619'],['#400403','#FE8B05','#EFEECC','#0AABBA','#FE0557'],['#FFAB07','#E9D558','#72AD75','#0E8D94','#434D53'],['#E4E4C5','#B9D48B','#D3E4C5','#8D2036','#CE0A31'],['#9B8E7E','#C3CCAF','#311D39','#67434F','#A51A41'],['#FFFFFF','#000000','#7DB4B5','#E0EFF1','#680148'],['#FC930A','#F7C41F','#E0E05A','#CCF390','#FF003D'],['#F24E4E','#F78145','#F2C94E','#A0B046','#11644D'],['#EFEAC5','#E7D84B','#1B8798','#360745','#D61C59'],['#CC5D4C','#5B5847','#FFFEC6','#C7D1AF','#96B49C'],['#FEA887','#FF824A','#D1D0D7','#F6E7F7','#FC284F'],['#FE857E','#EE9C92','#D3B9A3','#E3E8CD','#BCD8BF'],['#A69785','#807462','#665C49','#B8FAFF','#E8FDFF'],['#FFB884','#F5DF98','#FFF8D4','#C0D1C2','#2E4347'],['#E3CF9E','#AEB18E','#79927D','#79254A','#795C64'],['#615145','#C6CCA5','#8AB8A8','#6B9997','#54787D'],['#B1E6D1','#77B1A9','#3D7B80','#270A33','#451A3E'],['#F5B9AE','#F6F1DE','#C8CD3B','#95A131','#EE0B5B'],['#C9B180','#7A907C','#2A6E78','#3B4058','#4B1139'],['#EE887A','#E4E391','#9ABC8A','#2D1B33','#F36A71'],['#F06D61','#DA825F','#C4975C','#A8AB7B','#8CBF99'],['#2B2726','#BACCA4','#7DAD93','#018790','#0A516D'],['#703E3B','#D3C8B4','#FFF3DB','#E7E4D5','#C84648'],['#F9A799','#F4BFAD','#F5DABD','#8C886F','#B7CBBF'],['#C7956D','#F2D974','#2B222C','#5E4352','#965D62'],['#EB9C4D','#F2D680','#F3FFCF','#697060','#BAC9A9'],['#F5DD9D','#BCC499','#92A68A','#7B8F8A','#506266'],['#E6F99D','#C8E98E','#7FDA89','#259073','#041122'],['#49281F','#564334','#CFB590','#9E9A41','#758918'],['#FFA588','#027B7F','#572E4F','#BF1E62','#D62957'],['#A88C8C','#7A8C89','#80A8A8','#909D9E','#FF0D51'],['#FFB969','#EAF27E','#3B8C88','#452E3C','#FF3D5A'],['#FFFFFF','#EBE7E0','#BDB8AD','#44749D','#C6D4E1'],['#F0FFC9','#A9DA88','#62997A','#3B0819','#72243D'],['#FB0C06','#FFC52C','#E7EDEA','#CEECEF','#030D4F'],['#6B5D4D','#B0A18F','#DFCDB4','#FBEED3','#429398'],['#7E1C13','#E6E1C2','#6D9788','#1E2528','#BF0A0D'],['#F59D92','#E5B8AD','#C99E93','#D5D2C8','#9D9E94'],['#1D1313','#A3B808','#24B694','#30C4C9','#D22042'],['#EDD48E','#C2C092','#65AC92','#676077','#641F5E'],['#FF714B','#EAFF87','#ACFFE9','#540045','#C60052'],['#FEBF97','#F5ECB7','#23192D','#FD0A54','#F57576'],['#D28574','#E7A97E','#E0BA9B','#A69E80','#3B1922'],['#FCB653','#CEE879','#8CD19D','#5CACC4','#FF5254'],['#A14016','#CC883A','#CFC89A','#89A194','#322938'],['#A32C28','#BCA875','#7B8055','#384030','#1C090B'],['#FA6A64','#7A4E48','#4A4031','#F6E2BB','#9EC6B8'],['#6E6662','#879676','#A3C68C','#340735','#4F364A'],['#E0846D','#DBC092','#DBE7B4','#D4F7DC','#F51441'],['#F2E8C4','#98D9B6','#3EC9A7','#2B879E','#616668'],['#FF9036','#F6D76B','#FDEBA9','#D6254D','#FF5475'],['#353130','#85847E','#CBCFB4','#F7345B','#AB6A6E'],['#71443F','#8C7C62','#D3D5B0','#B5CEA4','#9DC19D'],['#E6B39A','#E6CBA5','#EDE3B4','#8B9E9B','#6D7578'],['#F2F0DF','#CACCB6','#8E9E82','#A9C1D9','#607890'],['#C21B12','#280904','#FC4B2A','#680E34','#9A151A'],['#E2DDD9','#8D7966','#D8C8B8','#F8F1E9','#A8A39D'],['#E6EBA9','#ABBB9F','#6F8B94','#706482','#703D6F'],['#FFAB98','#E5DBC0','#7F9CA0','#0B0E31','#F74553'],['#373737','#EFEAE4','#BADB73','#ACCE91','#8DB986'],['#FDCFBF','#FEB89F','#742365','#5F0D3B','#E23D75'],['#161616','#E7C049','#92B35A','#1F6764','#C94D65'],['#230B00','#F8ECD4','#A29D7F','#D4CFA5','#AABE9B'],['#C46564','#9B726F','#EEB15B','#F0E999','#B8C99D'],['#FF7474','#F59B71','#C7C77F','#E0E0A8','#F1F1C1'],['#D74F33','#C4AC30','#DBD8A2','#1E8C93','#4B3E4D'],['#9A927B','#EEDA95','#B7C27E','#805566','#8A6A6B'],['#F0F7DA','#C9DF8A','#77AB59','#36802D','#234D20'],['#F2643D','#F2A73D','#26251C','#A0E8B7','#EB0A44'],['#E16639','#AD860A','#E7DD96','#55024A','#B7023F'],['#D8A878','#E7E79D','#C0D890','#78A890','#606078'],['#E36B6B','#E3A56B','#574C41','#E3C77B','#96875A'],['#000000','#D31900','#FF6600','#FFF2AF','#7CB490'],['#FF7373','#F2A176','#CC9476','#948A71','#566965'],['#B3A176','#312C20','#E2CB92','#7C7052','#494D4B'],['#EBC588','#EBEAA9','#0E0B29','#3B0032','#7D2948'],['#EBC288','#489C79','#05676E','#1A081F','#4D1D4D'],['#875346','#FB9274','#F7E4C6','#CDDBC2','#F5565B'],['#EFB198','#7D5D4E','#EAD2A4','#F7E5BF','#BFCDB4'],['#6B6B6B','#8F9E6F','#B1CF72','#5E405F','#4F364C'],['#FAFAFA','#1F1F1F','#FA4B00','#7A5B3E','#CDBDAE'],['#FABDBD','#FAD6D6','#94654C','#FEFCD0','#F89FA1'],['#F7D683','#CCB24C','#FFFDC0','#FFFFFD','#457D97'],['#1F6764','#575A65','#8F4D65','#C74066','#FF3366'],['#BA3622','#F0DDBD','#1C997F','#520C30','#851E25'],['#ECE1C3','#8EBDB6','#195E63','#3E838C','#063940'],['#FF370F','#332717','#F0F0AF','#9DBCBC','#6BACBF'],['#B39980','#D9CC8C','#FFFF99','#663366','#8C6673'],['#A95A52','#F18052','#6F5846','#FFA446','#E35B5D'],['#666666','#F0F0D8','#B4DF37','#B4DEBE','#77CCA4'],['#CC3E18','#F0971C','#181419','#4A073C','#9E0B41'],['#7D1A0C','#A86B4C','#E8C382','#B39D69','#340A0B'],['#ED6464','#1A1B1C','#574759','#87586C','#BF6370'],['#DD423E','#3F2C26','#EAC388','#C5AD4B','#A2A384'],['#4DAB8C','#542638','#E86F9E','#C9306B','#8F244D'],['#F63700','#FB6900','#007E80','#00B9BD','#004853'],['#FFCDB8','#37260C','#FDEECF','#C8C696','#97BEA9'],['#937460','#AD8B32','#C6BE9A','#DDE0CF','#8C5B7B'],['#FFFFFF','#CFCFCF','#967C52','#FFFAEB','#F0F0D8'],['#F1DB42','#FCFCD7','#95D0B8','#67BE9B','#F04158'],['#F9EBC6','#B2AC96','#DDDCBD','#8CBFB8','#62B3B4'],['#ECBE13','#2C2B26','#6A6B5F','#738C79','#A43955'],['#F88863','#FFC27F','#FFE29A','#411F2D','#AC4147'],['#62A07B','#4F8B89','#536C8D','#5C4F79','#613860'],['#EB613B','#4D3B36','#F98F6F','#F7EADC','#C1D9CD'],['#F8BE00','#9BB61B','#057C46','#02483E','#2B1719'],['#E88460','#EDD269','#CDECCC','#321D2E','#F23460'],['#6E6460','#E39B7D','#E8D3A9','#BCBFA3','#89B399'],['#606D80','#DCE0E6','#2B4C7E','#567EBB','#1F1F20'],['#B8FD99','#7CF49A','#595B5A','#0DE5A8','#14C3A2'],['#FF7D10','#FFB238','#0A0310','#49007E','#FF005B'],['#E7EED0','#CAD1C3','#51425F','#948E99','#2E1437'],['#EAA353','#B9A173','#FFEFA9','#413040','#6C6368'],['#FAF6D0','#C7D8AB','#909A92','#744F78','#30091E'],['#FBC599','#CDBB93','#9EAE8A','#160E32','#ED5672'],['#FFFF00','#CCD91A','#99B333','#668C4D','#336666'],['#EA8676','#493831','#EAB05E','#FDEECD','#D24858'],['#E1E3AC','#A6B985','#648A64','#46685B','#213435'],['#17F9FF','#00B4FC','#005BC5','#012677','#001449'],['#4A403D','#EA804C','#A69A90','#FACF7D','#FFF1C1'],['#5A4E3C','#E9EBBF','#C4D428','#D8E472','#418E8E'],['#EDAD9E','#E1EAB5','#ACDEB2','#390D2D','#FE4B74'],['#FFC897','#F7EFA2','#BAC99A','#75C9A3','#42393B'],['#E47267','#8A8780','#D6D1AF','#E6E5C4','#D7D8C5'],['#8B911A','#FDFFD9','#0C0D02','#36BBA6','#73185E'],['#FFF5DE','#B8D9C8','#750E49','#4D002B','#917081'],['#D55C2B','#F6E7D3','#89A46F','#55203C','#9F0A28'],['#F15500','#D56F00','#B88000','#FF0C71','#FF2654'],['#574435','#F6AA3D','#E0DC8B','#6CC4B9','#ED4C57'],['#E6A06F','#9E9C71','#5E8271','#33454E','#242739'],['#000000','#F0371A','#F7E6A6','#B5B479','#3E6B48'],['#000000','#FBFFCD','#79AE92','#1C5560','#001F36'],['#FBFEE5','#A8E7CA','#25232D','#98173D','#C91842'],['#DED1B6','#6D997A','#6CA19E','#84ABAA','#42282C'],['#FC580C','#FC6B0A','#F8872E','#FFA927','#FDCA49'],['#DBD9B7','#949A8E','#A5B5AB','#C1C9C8','#615566'],['#FFF18C','#D0EAA3','#EEFFDB','#ADE4B5','#71DBD2'],['#C7EDE8','#A0DED6','#7ECECA','#45B5C4','#1693A5'],['#D15C57','#D9D4A8','#4A5F67','#5C374B','#CC3747'],['#D16344','#D7BF5E','#F1E8B4','#B2BB91','#83555E'],['#EEDEAD','#DDDEAD','#CCDEAD','#BBDEAD','#AADEAD'],['#84C1B1','#AD849A','#D64783','#40202A','#FD135A'],['#F6F0BC','#A3D95B','#AAE3AB','#442433','#1F0310'],['#B14623','#F6921D','#130912','#3E1C33','#602749'],['#9A736E','#E7A83E','#E0DF9F','#B2CBA3','#EA525F'],['#000000','#FA7F77','#F7A398','#F6C7B7','#B42529'],['#F07C19','#FFC219','#E5D599','#029DAF','#E32551'],['#E48B69','#E1B365','#674F23','#FFEEAC','#E5DB84'],['#A7321C','#352504','#CC982A','#FFDC68','#928941'],['#241811','#D4A979','#E3C88F','#C2C995','#A8BD95'],['#F27C7C','#FCF09F','#8DE0A6','#4EB3DE','#DE528C'],['#F18273','#4C3D31','#F2BD76','#F4F5DE','#C4CEB0'],['#FF703F','#F7BC05','#ECF6BB','#76BCAD','#FA2E59'],['#D96153','#FFB870','#FFF5D6','#84BFC3','#000511'],['#CA221F','#590F0C','#FEAD26','#FFFDC0','#B9D7A1'],['#F5886B','#5A3226','#F1C972','#F3E6BC','#72AE95'],['#F5F7BD','#DEDFC5','#B2B39F','#C8C9B5','#3D423C'],['#785D56','#E6D5C1','#C6B299','#FFF4E3','#BE4C54'],['#67594D','#718063','#79A687','#1D1016','#4F2B38'],['#F07868','#EBB970','#E7D3B0','#2197A3','#F71E6C'],['#D9CF85','#CDE4B3','#B4DFB3','#9BDAB3','#69D0B3'],['#F7E0AE','#2D2C26','#C3B457','#998496','#FA748F'],['#E2DF9A','#EBE54D','#4B490B','#757449','#FF0051'],['#FE6962','#F9BA84','#EEE097','#FFFFE5','#8E407A'],['#FA9B9B','#FFDABF','#F7F3D5','#635063','#E88087'],['#FF2121','#FFE8B3','#A3E3B1','#51BD9C','#244242'],['#F03813','#FF8826','#FFB914','#2C9FA3','#B31237'],['#DB1414','#E8591C','#332C26','#C5E65C','#7FB8B0'],['#003E4F','#33384E','#66324C','#992C4B','#CC2649'],['#FEAB8D','#F4C9A3','#D7B89C','#99C9BD','#15212A'],['#F88F89','#EEC276','#FBF6D0','#79C3AA','#1F0E1A'],['#D43B2D','#FE6C2B','#020001','#340016','#9F102C'],['#FCF9D8','#EDEBC9','#9DBFAF','#00CCBE','#09A6A3'],['#D4E2B6','#C4DBB4','#ABCCB1','#72B1A4','#539FA2'],['#D8523D','#75372D','#928854','#D4CE9E','#96A782'],['#F38264','#F2CC67','#75BAA8','#5F051F','#F40034'],['#E25858','#E9D6AF','#FFFFDD','#C0EFD2','#384252'],['#A7CD2C','#BADA5F','#CEE891','#E1F5C4','#50C8C6'],['#541F14','#938172','#CC9E61','#020304','#626266'],['#9E6D4E','#CFB699','#FFFEE1','#FA8CB1','#FDC5C9'],['#F7F7F7','#3B3737','#991818','#9DD3DF','#C9D1D3'],['#F06B50','#E1D772','#FAF4B1','#394240','#45AAB8'],['#FCA89D','#FAC7B4','#998B82','#FFE1C9','#AFC7B9'],['#F88D87','#FCDCB3','#A8BCBD','#823772','#D65981'],['#F7D7CD','#F3E7D7','#C7B9C5','#E0C0C7','#F8C7C9'],['#8A211D','#BF2A23','#CF872E','#F0CE4E','#A6AD3C'],['#5C493D','#3A352F','#E5F3BA','#BAFDC2','#80D3BB'],['#90FF17','#00C16C','#00755C','#004443','#002E34'],['#FF3D00','#FFBC11','#0A837F','#076461','#002C2B'],['#FF41A1','#F60069','#4D4A4B','#FF90AB','#FFCCD1'],['#706767','#E87474','#E6A37A','#D9C777','#C0DBAB'],['#1C0F0E','#DB5643','#C5BD99','#9FB38F','#70AA87'],['#755858','#FFC870','#F7F7C6','#9CAD9A','#C8E3C5'],['#BD9999','#9D8078','#414978','#13123E','#8E848C'],['#85AE72','#BCE1AB','#170132','#361542','#573E54'],['#E45635','#F7A21B','#15191D','#4B538B','#D60257'],['#FF4746','#E8DA5E','#92B55F','#487D76','#4B4452'],['#D1B68D','#5A5C75','#51445F','#492D49','#87555C'],['#000000','#9E906E','#AAB69B','#8870FF','#9684A3'],['#FF705F','#913F33','#FFAA67','#FFDFAB','#9FB9C2'],['#FF6543','#FFBA6B','#FFDC8A','#FFF19E','#B5F4BC'],['#481800','#F07E13','#E2D397','#0FC3E8','#0194BE'],['#E4DDD6','#E4E3CD','#ECECDD','#D4DDD6','#C4DDD6'],['#F59330','#FFEBBF','#F0D442','#85A29E','#B22148'],['#000000','#FF8830','#D1B8A0','#AECED2','#CBDCDF'],['#443A37','#F0823F','#E0D124','#F7F799','#BD374C'],['#FEC0AB','#FEE9A6','#9380B7','#660860','#FA5894'],['#8F8F8F','#ECECEC','#25020F','#FF1168','#9E1E4C'],['#FFE3B3','#CFCCA8','#97B59D','#B9113F','#A8636E'],['#D1E389','#B9DE51','#E1B7ED','#E04891','#F5E1E2'],['#BFAC8B','#000706','#0C7E7E','#134647','#00272D'],['#FFCD57','#E8ED76','#E6F0AF','#D7E8D5','#4A3A47'],['#FFCA1B','#B6FF00','#228DFF','#BA01FF','#FF0092'],['#FFFFFF','#59554E','#F3F4E5','#E2E3D9','#A1C1BE'],['#CD5B51','#F3A36B','#E9DFCC','#554865','#352630'],['#BAAB6A','#FBEA80','#FDFAC7','#426B65','#204B5E'],['#977E77','#EFAE54','#DBDA97','#4B1D37','#EF6771'],['#D95B45','#ECD079','#43777A','#442432','#C02948'],['#F7DB15','#2F2BAD','#AD2BAD','#E42692','#F71568'],['#FF4845','#FF745F','#FFC55F','#FFEC5E','#36173D'],['#F8F8EC','#AEDD2B','#066699','#0A5483','#02416D'],['#FE6C63','#EECAB1','#D3C8B4','#D4F1DB','#240910'],['#BDA2A2','#FBBE9A','#FAD889','#FAF5C8','#899AA1'],['#473430','#C54B2C','#D89845','#C8D197','#11BAAC'],['#F1C694','#EDECCF','#207178','#101652','#DC6378'],['#CCBD9E','#D8CCB2','#495168','#2A2344','#260729'],['#F2B8A0','#DACDBD','#D4486F','#DF5C7E','#EF97A3'],['#F09580','#FDF2B4','#101942','#80043A','#F60C49'],['#6F0B00','#241714','#BE3100','#C96823','#C9B849'],['#F8F5C1','#C8CE13','#349E97','#DE1A72','#2C0D1A'],['#FEF7D5','#0EC0C1','#210123','#6C043C','#910142'],['#736558','#FEF5C6','#AAF2E4','#31D5DE','#FD65A0'],['#FFDBD7','#F7F1E1','#855E6E','#CE7095','#FFB2C1'],['#810E0B','#FEBEA3','#FCE5B1','#E8DE92','#F6F5DA'],['#C42311','#F2502C','#FCF59B','#CAD17A','#91C494'],['#3C363B','#F9EBF2','#F3E2E8','#F58F9A','#FCD7DA'],['#4A3D3D','#FF6161','#F2E9E6','#F4F8E6','#D8DEC3'],['#F8D9BD','#7F440A','#E6BC56','#6A9277','#FF275E'],['#000000','#F58723','#C7BA99','#D4C9AD','#F1ECDF'],['#B39E58','#E8DBAD','#99822D','#80AB99','#8C0E48'],['#F0A991','#B9D9B4','#288D85','#B05574','#D18E8F'],['#FF695C','#CCBCA1','#2E1E45','#612A52','#BA3259'],['#E4491C','#FFB727','#67B79E','#538A95','#565175'],['#514442','#AEF055','#E0FFC3','#3F8978','#25E4BC'],['#E6D1CA','#EEE9C7','#ED7B83','#EC8A90','#EBA2A4'],['#EDD58F','#C2BF92','#66AC92','#686077','#641F5E'],['#FCA699','#FFE4AA','#583B7E','#C9729F','#E2869B'],['#454545','#A22365','#FF0084','#743455','#D11174'],['#DAE2CB','#96C3A6','#6CB6A5','#221D34','#90425C'],['#001848','#301860','#483078','#604878','#906090'],['#F76E2A','#F0C505','#651366','#A71A5B','#E7204E'],['#F4F4F4','#594433','#A68C69','#F0E5C9','#9BA657'],['#6B6B6B','#FF7857','#F7C081','#CEF781','#95DE90'],['#444444','#B52C00','#A9A17A','#FCF7D1','#8C0005'],['#FFFFFF','#000000','#AC4A00','#F8F0AF','#002930'],['#BFA374','#E3BA6A','#6D756A','#4D686F','#364461'],['#E5EAD4','#9ACC77','#45936C','#334F53','#1F0A1D'],['#43204A','#422343','#7F1E47','#C22047','#EA284B'],['#3D3C3B','#DDE3CA','#7C8071','#B2D9F7','#487AA1'],['#C0CC39','#DBF73B','#2B2628','#EB0258','#A6033F'],['#E4E6C3','#88BAA3','#361F2D','#63203D','#BA1E4A'],['#2C2321','#FFFAB3','#9DAB34','#63B397','#A2E5D2'],['#FFABAB','#FFDAAB','#DDFFAB','#ABE4FF','#D9ABFF'],['#9C8680','#F98F6F','#DBBF6B','#C8EB6A','#EB5E7F'],['#D5CA98','#B3C262','#768A4F','#66424C','#C72546'],['#F7DECE','#EED7C5','#CCCCBB','#2D2E2C','#9EC4BB'],['#F0F0D8','#A8C030','#184848','#006060','#007878'],['#ECE488','#F6F5CD','#91C68D','#74AA9B','#796C86'],['#DDCAA2','#AEBEA3','#4E5C69','#D83957','#B97479'],['#B18272','#63594D','#C2B291','#EAE3D1','#D6E4C3'],['#D8D8D8','#ECDAD8','#E2D9D8','#FFDCD8','#F5DBD8'],['#D6B3B1','#E6E1CD','#C6D8C0','#231B42','#F97992'],['#D7DFC3','#D2DFC8','#CDDFCD','#C8DFD2','#C3DFD7'],['#B1E1E9','#96D7EB','#839CB5','#F2E4F9','#686466'],['#EFD2BE','#EFBC98','#917F6E','#EFE1D1','#D9DDCD'],['#A73E2B','#482C21','#D07E0E','#E9DEB0','#2F615E'],['#F4E196','#A6BF91','#5F9982','#78576B','#400428'],['#F3D915','#E9E4BB','#A89907','#BFD4B7','#1A1C27'],['#7A6248','#FFFBF0','#968F4B','#030506','#AB9597'],['#F77C3E','#FABA66','#FCE185','#A2CCA5','#50232E'],['#FF6A5A','#FFB350','#83B8AA','#272D4D','#B83564'],['#D9A071','#CFC88F','#A5B090','#607873','#AB505E'],['#FA3C08','#FC7D23','#678D6C','#772A53','#BD0A41'],['#FFFFFF','#757575','#000000','#A1AC88','#464D70'],['#B9340B','#3F261C','#CEA45C','#C5BE8B','#498379'],['#EA2A15','#FAEDD9','#808F12','#2A5C0B','#042608'],['#9D9F89','#CCEE8D','#B2DE93','#8BC59B','#84AF97'],['#F86254','#FEA189','#F3D5A5','#BAB997','#FF0F35'],['#FF695C','#FFC391','#F6F4C2','#8DC9B5','#8C315D'],['#D96831','#E6B33D','#172C3C','#274862','#995052'],['#A8A878','#CDCD76','#939E78','#839074','#061013'],['#7C7B6C','#F8F69F','#BAB986','#3E3E53','#000039'],['#693726','#80B3FF','#A2122F','#FFC2CE','#FD6E8A'],['#EFB0A9','#FFE6DB','#CBC8B5','#D1EAEE','#BDA0A2'],['#FE6960','#FEBF97','#FEFAC2','#D2FDFE','#AFFBFF'],['#FC694D','#FC8D4D','#FABA32','#F5DD7E','#0DB2AC'],['#EBF74F','#B0C65A','#6D8D76','#66666E','#6A3D5A'],['#EC6C2B','#FEAE4B','#35352B','#BDBF90','#E7E9C4'],['#FF9966','#D99973','#B39980','#8C998C','#669999'],['#D4BE99','#E0FFCC','#171133','#581E44','#C5485A'],['#000000','#FCAE11','#B2A700','#770493','#ED0B65'],['#FFFAE3','#C1D9D0','#141827','#736681','#62455B'],['#D1DAB9','#92BEA5','#31233E','#6F646C','#671045'],['#5F3711','#E2D5C1','#D4C098','#F7F6E4','#F6F6E2'],['#20130A','#E9F0C9','#142026','#3B657A','#123142'],['#5ADB94','#0BA18C','#368986','#2E0331','#8A034D'],['#4A2512','#F4DDB4','#F1AE2B','#72BCA5','#BC0B27'],['#E03E36','#EECCBB','#F1731F','#730662','#BD0D59'],['#C27B57','#FFC978','#D1A664','#FFE7BF','#C9C987'],['#302727','#BA2D2D','#F2511B','#F2861B','#C7C730'],['#330A04','#6C1305','#B32900','#DE8531','#EFAC41'],['#615050','#776A6A','#FCFCFC','#F5F1E8','#AD9A6F'],['#52423C','#D3AD98','#EDD4BE','#B9C3C4','#AD5C70'],['#FFCC33','#CCFF33','#B877A8','#B8008A','#FF3366'],['#7C917F','#93BD9A','#3D1C33','#210518','#5E4B55'],['#FF9934','#FFC018','#B3C631','#CDE54E','#F8FEF4'],['#996666','#FF3366','#E64066','#CC4D66','#B35966'],['#FFFFFF','#BDD1DE','#4180AB','#8AB3CF','#E4EBF0'],['#DADAD8','#CBE65B','#1EA49D','#FE6196','#FF2C69'],['#D2E7AA','#A4CA8B','#66997B','#27081D','#47232C'],['#EB9D8D','#EFD8A9','#93865A','#C5CBA6','#A8BB9A'],['#FDD87F','#C6D38E','#5C966E','#315E61','#0F314C'],['#0D0502','#85685A','#CB8E5F','#E0DEAB','#ECF8D4'],['#E2C99F','#A39B7E','#7A7B7C','#53576B','#353437'],['#EDEADE','#DDEADD','#CDEADC','#BDEADB','#ADEADA'],['#FC3903','#FC7F03','#FFAB03','#A6026C','#D1024E'],['#000000','#F4A854','#FFF8BC','#CF023B','#F3214E'],['#AC0D0D','#320606','#AC8D49','#DDE29F','#A2C7BB'],['#C97C7A','#1F1106','#B8C2A0','#D1DBC8','#DA3754'],['#700808','#CC4E00','#FF8030','#FFDD8C','#6E9167'],['#FBBAA4','#F9E5C0','#B6D0A0','#2C171C','#FF667C'],['#FAFAD7','#EDF79E','#BCD9A0','#85CC9C','#2B9EB3'],['#000000','#E7EBB0','#C6C99D','#A8AB84','#0C0D05'],['#FC8C77','#F8DFBD','#130716','#9A2848','#EC4B59'],['#330C0C','#61290E','#A84818','#A89048','#A8C078'],['#D8D9C0','#8FC9B9','#91334F','#AB5C72','#D18E8F'],['#D1BD95','#DBDEA6','#D1F7BA','#391B4A','#8C686B'],['#FB6F24','#8CA315','#0A4B75','#1E6495','#5191C1'],['#C2685F','#FBD7A3','#D4C46D','#722249','#932B4E'],['#C1A2A0','#E3CEBD','#FCFDEB','#725B75','#322030'],['#DE4C45','#D9764D','#CC9E8A','#EBDFC6','#C1C5C7'],['#AD8484','#D9D5BB','#B05574','#D24D6C','#C1858F'],['#390039','#820081','#FE1CAC','#FE40B9','#FE59C2'],['#F6BE5F','#CFBF9E','#F7DEA8','#D45E80','#C6838C'],['#FCE7D2','#E0DBBD','#C0CEAA','#EB5874','#FD8086'],['#926D40','#FF9F15','#C4D004','#ABECE4','#FB7991'],['#B56A65','#D5A57F','#E9D7A9','#D2D09F','#4B3132'],['#F1EBEB','#EEE8E8','#CACACA','#24C0EB','#5CCEEE'],['#E8ACAC','#DFD0AF','#A1C0A1','#A45785','#85586C'],['#DEC790','#200E38','#6A0E47','#B50D57','#FF0D66'],['#D6D578','#9DAD42','#B1BF63','#258A60','#0A3740'],['#FBE2B9','#FCF6D2','#FCF6D2','#C6C39A','#281F20'],['#EC6349','#F8DB7E','#310A26','#6F1B2C','#CE2340'],['#99CCCC','#A8BDC2','#B8AEB8','#C79EAD','#D78FA3'],['#EB9961','#FCF4B6','#331436','#7A1745','#CB4F57'],['#F9F9E7','#505045','#161613','#C1E0E0','#C0A1AE'],['#F9DED3','#FDD1B6','#89ABB4','#C7B6BE','#FAB4B6'],['#B3544F','#D6C396','#E7FCCF','#300511','#1F0B0C'],['#F59982','#FACB97','#F3DCB2','#F2116C','#ED616F'],['#FFFFFF','#FF97CA','#FF348E','#BE0049','#770021']]},"./node_modules/@boldgrid/controls/src/controls/color/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js');a.d(o,'ColorPalette',function(){return n.b}),a.d(o,'Renderer',function(){return n.a});var r=a('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js');a.d(o,'Palettes',function(){return r.a});var l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js');a.d(o,'Generate',function(){return l.a});var s=a('./node_modules/@boldgrid/controls/src/controls/color/js/selection.js');a.d(o,'Selection',function(){return s.a});var i=a('./node_modules/@boldgrid/controls/src/controls/color/js/config.js');a.d(o,'Config',function(){return i.a});var d=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js');a.d(o,'Material',function(){return d.a})},"./node_modules/@boldgrid/controls/src/controls/color/js/button.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return d});var r=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),s=function(){function e(e,o){var a=[],n=!0,r=!1,l;try{for(var s=e[Symbol.iterator](),i;!(n=(i=s.next()).done)&&(a.push(i.value),!(o&&a.length===o));n=!0);}catch(e){r=!0,l=e}finally{try{!n&&s['return']&&s['return']()}finally{if(r)throw l}}return a}return function(o,a){if(Array.isArray(o))return o;if(Symbol.iterator in Object(o))return e(o,a);throw new TypeError('Invalid attempt to destructure non-iterable instance')}}(),i=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),d=function(){function e(o){n(this,e),o=o||{},this.files=['color-palette-scss/buttons/buttons.scss','color-palette-scss/buttons/_options.scss','color-palette-scss/buttons/types/_3d.scss','color-palette-scss/buttons/types/_border.scss','color-palette-scss/buttons/types/_borderless.scss','color-palette-scss/buttons/types/_dropdown.scss','color-palette-scss/buttons/types/_glow.scss','color-palette-scss/buttons/types/_groups.scss','color-palette-scss/buttons/types/_longshadow.scss','color-palette-scss/buttons/types/_raised.scss','color-palette-scss/buttons/types/_shapes.scss','color-palette-scss/buttons/types/_sizes.scss','color-palette-scss/buttons/types/_wrapper.scss','color-palette-scss/buttons/_layout.scss','color-palette-scss/buttons/_base.scss','color-palette-scss/buttons/_mixins.scss'],this.namespace='.btn',this._defaultColors=[{name:'color-dark',val:'#252525'},{name:'color-light',val:'#eff0f1'}],this.sassCompiler=o.sassCompiler?o.sassCompiler:new r.a}return i(e,[{key:'init',value:function(){return this.preload()}},{key:'preload',value:function(){return this.sassCompiler.preload(this.files)}},{key:'convertColorState',value:function(e){var o=[],a=e.palettes['palette-primary']['neutral-color'],n=!0,r=!1,l;try{for(var i=e.palettes['palette-primary'].colors.entries()[Symbol.iterator](),d;!(n=(d=i.next()).done);n=!0){var c=s(d.value,2),p=c[0],u=c[1];o.push({name:'color-'+(p+1),val:u})}}catch(e){r=!0,l=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw l}}var g=!0,m=!1,b;try{for(var C=this._defaultColors[Symbol.iterator](),h,u;!(g=(h=C.next()).done);g=!0)u=h.value,o.push(u)}catch(e){m=!0,b=e}finally{try{!g&&C.return&&C.return()}finally{if(m)throw b}}return a&&o.push({name:'color-neutral',val:a}),o}},{key:'formatColorSass',value:function(e){var o=new l.a,a='',n;e=e||[];var r=!0,s=!1,i;try{for(var d=e[Symbol.iterator](),c,p;!(r=(c=d.next()).done);r=!0)p=c.value,n=o.getContrast(p.val),a+='(\''+p.name+'\' '+p.val+' '+n+')'}catch(e){s=!0,i=e}finally{try{!r&&d.return&&d.return()}finally{if(s)throw i}}return a&&(a='$ubtn-colors: '+a+';'),a}},{key:'getCompileString',value:function(e){var o=this.formatColorSass(this.convertColorState(e)),a='$ubtn-namespace: \''+this.namespace+'\';';return a+o+'@import "color-palette-scss/buttons/buttons.scss";'}},{key:'compile',value:function(e,o){this.sassCompiler.compiler.compile(compileString,function(e){o(e)})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/config.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return i});var r=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),l=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),s=window.jQuery,i=function(){function e(){n(this,e),this.material=new r.a,this.defaultColor='blue',this.samplePalettesColors=['blue','teal','red','pink','grey','brown']}return l(e,[{key:'createSimpleConfig',value:function(e){var o={},a=this.getPresetPalettes(),n;return o.palettes=[],e?(n=this.createPalette(e),o.palettes.push(n),o.palettes=o.palettes.concat(a)):o.palettes=a,o.palettes[0].isActive=!0,o['color-palette-size']=o.palettes[0].colors.length,o.palette_formats=['palette-primary'],o}},{key:'getPresetPalettes',value:function(){var e=[],o=!0,a=!1,n;try{for(var r=this.samplePalettesColors[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e.push(this._createDefault(s))}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'createPalette',value:function(e){var o=_.defaults(e,{default:!0,copyOnMod:!0,isActive:!1,format:'palette-primary',colors:this.material.getPalette(this.defaultColor)});return o.palette_id=btoa(o.colors),o}},{key:'mergeDefaults',value:function(e){return e.palettes=e.palettes.concat(this.getPresetPalettes()),e}},{key:'createSavableState',value:function(e){var o=this.createSimpleConfig(),a=e.palettes['palette-primary'];o.palettes=[],a.isActive=!0,a.default=!1,o.palettes[0]=this.createPalette(a),o.saved_palettes=[],e.saved_palettes=e.saved_palettes||[];var n=!0,r=!1,l;try{for(var s=e.saved_palettes[Symbol.iterator](),i;!(n=(i=s.next()).done);n=!0){var d=i.value,c=this.createPalette(d);c.palette_id!==o.palettes[0].palette_id&&(c.default=!1,c.copyOnMod=!1,o.saved_palettes.push(c))}}catch(e){r=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw l}}return o}},{key:'_createDefault',value:function(e){return this.createPalette({isActive:!1,colors:this.material.getPalette(e),"neutral-color":'white'})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/control.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js'),r=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),l=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),s=a('./node_modules/@boldgrid/controls/src/controls/color-picker/index.js'),i=a('./node_modules/color-js/color.js'),d=a.n(i),c=a('./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass'),p=a.n(c),u='function'==typeof Symbol&&'symbol'==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&'function'==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeof e};window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},window.BOLDGRIDSass=window.BOLDGRIDSass||{};var g=jQuery,m=g(window),b=BOLDGRID.COLOR_PALETTE.Modify,C=b;b.pickerCompileDelay=100,b.pendingCompile=!1,b.palette_generator=BOLDGRID.COLOR_PALETTE.Generate,b.generated_color_palettes=6,b.state=null,b.active_body_class='',b.first_update=!0,b.prelockNeutral=!1,b.themePalettes=[];var h=['#232323','#FFFFFF','#FF5F5F','#FFDBB8','#FFFFB2','#bad6b1','#99acbf','#cdb5e2'];b.init=function(e,o){b.first_update=!0,C.configs=C.initConfigs(o),C.$control=e,C.sassCompiler=new r.a,C.colorPicker=new s.a,C.pausePickerChanges(),C.classProperties(),C.setupEvents()},b.classProperties=function(){C.$palette_control_wrapper=g('.bgctrl-color-palette'),C.$colorPickerWrap=C.$palette_control_wrapper.find('.color-picker-wrap'),C.$palette_option_field=C.$palette_control_wrapper.find('.palette-option-field'),C.generated_palettes_container=C.$palette_control_wrapper.find('.generated-palettes-container'),C.$accoridon_section_colors=g('#accordion-section-colors'),C.$paletteWrapper=C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper'),C.hasNeutral=C.$paletteWrapper.data('has-neutral'),C.numColors=C.$paletteWrapper.data('num-colors')},b.setupEvents=function(){b.duplicate_modification_icons(),b.themePalettes=b.getThemePalettes(),b.bind_palette_duplicate_remove(),b.bind_palette_activation(),b.setup_color_picker(),b.setup_close_color_picker(),b.setup_palette_generation(),b.bind_generate_palette_action(),b.bind_help_section_visibility(),b.bind_help_link(),b.bindActiveColorClick(),b.bindTransitions(),b.bind_compile_done(),b.fetch_acceptable_palette_formats(),setTimeout(b.pickerPostInit,100)},b.initConfigs=function(e){return _.defaults({enableCustomizerTransitions:!1,boldgrid_light_text:'#FFF',boldgrid_dark_text:'#000'},e)},b.bind_help_section_visibility=function(){g('.accordion-section').on('click',function(){var e=g('.boldgrid-color-palette-help');C.$accoridon_section_colors.hasClass('open')&&!e.is(':visible')?e.show():!1===C.$accoridon_section_colors.hasClass('open')&&e.hide()})},b.setup_close_color_picker=function(){C.$close_palette_creator=g('<button type="button" class="button close-color-picker">Done</button>'),C.colorPicker.$input.after(C.$close_palette_creator),C.$close_palette_creator.on('click',function(){C.colorPicker.hide()})},b.getThemePalettes=function(){var e=[];return C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-copy-on-mod="1"]').each(function(){var o=[];g(this).find('[data-color]').each(function(){o.push(g(this).data('color'))}),C.hasNeutral&&o.splice(-1,1),e.push(o)}),e},b.setup_palette_generation=function(){C.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){!1===C.$paletteWrapper.hasClass('palette-generate-mode')&&(C.hasNeutral&&C.prelockNeutral&&(C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:last').addClass('selected-for-generation'),b.sync_locks()),C.$paletteWrapper.addClass('palette-generate-mode'))}),C.$palette_control_wrapper.on('click','.palette-generate-mode .current-palette-wrapper .color-lock',function(o){var e=g(this);o.stopPropagation(),C.$palette_control_wrapper.find('.boldgrid-active-palette li').eq(e.data('count')).toggleClass('selected-for-generation'),e.toggleClass('selected-for-generation')}),C.$palette_control_wrapper.find('.cancel-generated-palettes-button').on('click',function(o){var e=g(this);o.stopPropagation(),C.$palette_control_wrapper.find('.boldgrid-active-palette[data-auto-generated]').removeAttr('data-auto-generated'),C.generated_palettes_container.empty(),e.closest('.palette-generate-mode').removeClass('palette-generate-mode').find('.selected-for-generation').removeClass('selected-for-generation')})},b.duplicate_modification_icons=function(){b.$icon_set=C.$palette_control_wrapper.find('.boldgrid-duplicate-dashicons').first(),b.$icon_set&&(b.$icon_set=b.$icon_set.clone())},b.bind_generate_palette_action=function(){C.$palette_control_wrapper.find('.palette-generator-button').on('click',function(){var e=b.paletteData(),o=null;C.hasNeutral&&(e.samplePalette.splice(-1,1),o=e.partialPalette.splice(-1,1),o=o[0]);var a=new l.a,n=a.generatePaletteCollection(e,b.generated_color_palettes);C.hasNeutral&&g.each(n,function(){o?this.push(o):this.push(a.generateNeutralColor(this))}),b.display_generated_palettes(n)})},b.display_generated_palettes=function(e){var o=C.generated_palettes_container.empty(),a=null;g.each(e,function(){C.hasNeutral&&(a=this[this.length-1]);var e=g('<div data-palette-wrapper="true"><ul><li class="boldgrid-palette-colors"></li></ul></div>'),n=e.find('ul').addClass('boldgrid-inactive-palette').attr('data-auto-generated','true').attr('data-neutral-color',a).attr('data-color-palette-format',b.get_random_format()),r=n.find('li');g.each(this,function(){var e=g('<span></span>').css('background-color',this).attr('data-color',!0);r.append(e)}),o.append(e)})},b.paletteData=function(){var e={samplePalette:[],partialPalette:[],additionalSamplePalattes:b.themePalettes};return C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(){var o=g(this);o.hasClass('selected-for-generation')?e.partialPalette.push(o.css('background-color')):e.partialPalette.push(null),e.samplePalette.push(o.css('background-color'))}),e},b.fetch_acceptable_palette_formats=function(){b.body_classes=C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').data('color-formats'),'object'===u(b.body_classes)&&(b.body_classes=g.map(b.body_classes,function(e){return[e]}))},b.revert_current_selection=function(e){e.removeClass('current-palette-wrapper');var o=e.find('> ul');o.removeClass('boldgrid-active-palette').addClass('boldgrid-inactive-palette'),o.find('.boldgrid-duplicate-dashicons').remove();var a=g('<li class="boldgrid-palette-colors"></li>');o.find('.boldgrid-palette-colors:not(.ui-sortable-helper)').not('.ui-sortable-placeholder').each(function(){var e=g(this);if('absolute'!==e.css('position')){var o=g('<span data-color="true"></span>').css('background-color',e.css('background-color'));a.append(o)}}),e.find('.bg-lock-controls').remove(),a.append(b.$icon_set.clone()),o.find('.boldgrid-palette-colors').remove(),o.append(a),o.data('ui-sortable')&&o.sortable('disable')},b.bind_help_link=function(){C.$palette_control_wrapper.on('click','[data-action="open-color-picker"]',function(o){o.stopPropagation();var e=C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors:first');b.activate_color(null,e)})},b.sync_locks=function(){var e=C.$palette_control_wrapper.find('.bg-lock-controls .color-lock');e.removeClass('selected-for-generation'),C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){var a=g(this);a.hasClass('selected-for-generation')&&e.eq(o).addClass('selected-for-generation')})},b.activate_palette=function(e){b.addColorTransition(),C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),e.attr('data-auto-generated')&&(e=e.closest('div').clone().find('[data-auto-generated]'));var o=[];C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(e){var a=g(this);a.hasClass('selected-for-generation')&&o.push(e)}),e.find('span[data-color]').each(function(a){var n=g(this),r=n.css('background-color'),l='';-1!==o.indexOf(a)&&(l='selected-for-generation'),e.append('<li class="boldgrid-palette-colors '+l+' boldgrid-dashicon" style="background-color: '+r+'"></li>')}),e.append(b.$icon_set.clone()),e.find('li:first').remove();var a=e.closest('div').addClass('current-palette-wrapper').detach();C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper').prepend(a);var n=C.$palette_control_wrapper.find('.palette-action-buttons');n.removeClass('hidden').insertAfter(e),C.$palette_control_wrapper.find('.boldgrid-active-palette').each(function(){var e=g(this);e.attr('data-auto-generated')?e.closest('div').remove():b.revert_current_selection(e.closest('div'))}),b.add_jquery_sortable(e),e.sortable('enable'),e.disableSelection(),e.removeClass('boldgrid-inactive-palette'),e.addClass('boldgrid-active-palette'),e.find('li').disableSelection();var r=g('<div class="bg-lock-controls"></div>');e.find('li').each(function(e){r.append('<div class="color-lock" data-count="'+e+'"><div class="lock unlock"><div class="top"></div><div class="mid"></div><div class="bottom"><div class="keyhole-top"></div><div class="keyhole-bottom"></div></div></div>')}),e.after(r),b.sync_locks(),b.first_update?(C.$control.trigger('rendered'),b.first_update=!1):b.update_theme_option({source:'activatePalette'})},b.add_jquery_sortable=function(e){var o=[],a=null;e.sortable({items:'.boldgrid-palette-colors',axis:'x',start:function(n,r){o=[],a=null,r.item&&(C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),!r.item.find('span').length&&b.modify_palette_action(r.item.closest('[data-palette-wrapper="true"]')),r.placeholder.css('background-color',r.item.css('background-color')).css('visibility','visible'),e.find('li').not(r.helper).not(r.placeholder).each(function(e){var n=g(this);o.push(n.css('background-color')),n.is(r.item)&&(a=e)}))},change:function(n,r){var l=e.find('li').not(r.helper).not(r.item);l.each(function(e){var n=g(this),s=o[e];n.is(r.placeholder)?l.eq(a).css('background-color',s):a!==e&&l.eq(e).css('background-color',s)})},helper:'clone',stop:function(e,o){if(b.addColorTransition(),b.update_theme_option({source:'dragColor'}),b.open_picker(),o.item){var a=o.item;if(!a.find('span').length){C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),a.addClass('active-palette-section'),a.siblings().each(function(){var e=g(this);e.toggleClass('boldgrid-dashicon'),setTimeout(function(){e.toggleClass('boldgrid-dashicon')},15)});var n=a.closest('.boldgrid-color-palette-wrapper');b.preselect_active_color(n),b.sync_locks(),b.updateNeutralData()}}}})},b.format_current_palette_state=function(){var e={},o=C.$palette_control_wrapper.find('.boldgrid-active-palette').first();e['active-palette']=o.attr('data-color-palette-format'),e['active-palette-id']=o.attr('data-palette-id'),e.palettes={},e.saved_palettes=[],C.active_body_class=e['active-palette'];var a=function(){var o=g(this),a={},n=parseInt(o.attr('data-copy-on-mod')),r=o.hasClass('boldgrid-active-palette');a=r?o.find('li.boldgrid-palette-colors'):o.find('.boldgrid-palette-colors > span');var l=[];a.not(C.hasNeutral?':last-of-type':'').each(function(){l.push(g(this).css('background-color'))});var s={format:o.attr('data-color-palette-format'),colors:l,"neutral-color":o.attr('data-neutral-color')};r&&(e.palettes[o.attr('data-color-palette-format')]=s),r||n||e.saved_palettes.push(s)};return C.$palette_control_wrapper.find('[data-color-palette-format]').not(o).not('[data-auto-generated="true"]').each(a),o.each(a),e},b.getContrastColor=function(e){return window.wp&&window.wp.customize?wp.customize('boldgrid_dark_text').get():C.configs[e]},b.create_color_scss_file=function(e){var o='',a='$colors: ';g.each(e.palettes,function(e){if(this.colors){var n=a;g.each(this.colors,function(a){var r=a+1;o+='$'+e+'_'+r.toString()+':'+this+';',n+='$'+e+'_'+r.toString()+' '}),n!=a&&(o+=n+';')}this['neutral-color']&&(o+='$'+e+'-neutral-color:'+this['neutral-color']+';')});var n=C.getContrastColor('boldgrid_light_text'),r=C.getContrastColor('boldgrid_dark_text');return o+='$light-text:'+n+';',o+='$dark-text:'+r+';',o=C.appendButtonRules(o),o},b.appendButtonRules=function(e){return BOLDGRIDSass.ButtonVariables&&(e+='$ubtn-namespace: "'+BOLDGRIDSass.ButtonVariables['ubtn-namespace']+'";',e+='$ubtn-bgcolor: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'],e+='$ubtn-font-color: '+BOLDGRIDSass.ButtonVariables['ubtn-font-color'],e+='$ubtn-theme-color: '+BOLDGRIDSass.ButtonVariables['ubtn-bgcolor'].replace(/\$/g,'')),'undefined'!=typeof BOLDGRIDSass.ButtonExtends&&('undefined'!=typeof BOLDGRIDSass.ButtonExtends.primary&&(e+='$button-primary-classes: "'+BOLDGRIDSass.ButtonExtends.primary+'";'),'undefined'!=typeof BOLDGRIDSass.ButtonExtends.secondary&&(e+='$button-secondary-classes: "'+BOLDGRIDSass.ButtonExtends.secondary+'";')),e},b.update_theme_option=function(e){e=e||{};var o=C.getScss();e.colorConfig=b.state,b.compile(o,e)},b.getScss=function(){b.state=b.format_current_palette_state();var e=b.create_color_scss_file(b.state),o=e+C.configs.renderer.getImportString();return o+C.configs.renderer.buttonColors.getCompileString(b.state)},b.compile=function(e,o){C.pendingCompile={content:e,options:o},b.doCompile()},b.doCompile=function(){var e=C.pendingCompile;e&&!C.sassCompiler.processing&&(C.sassCompiler.compile(e.content,e.options),C.pendingCompile=!1)},b.bind_palette_activation=function(){C.$palette_control_wrapper.on('click','.boldgrid-inactive-palette',function(){b.activate_palette(g(this))})},b.activate_color=function(o,e,a){var n;o?(n=g(this),o.stopPropagation()):n=e,!1===n.hasClass('active-palette-section')&&(C.hasNeutral&&n.is('.boldgrid-active-palette .boldgrid-palette-colors:last')?C.colorPicker.$input.iris({palettes:h}):C.colorPicker.$input.iris({palettes:!0}),b.modify_palette_action(n.closest('[data-palette-wrapper="true"]')),C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section'),n.addClass('active-palette-section'),b.open_picker(),a&&C.pausePickerChanges(),C.colorPicker.setColor(n.css('background-color')))},b.pausePickerChanges=function(){C.ignoreColorChange=!0,setTimeout(function(){C.ignoreColorChange=!1})},b.open_picker=function(){C.colorPicker.show()},b.updateNeutralData=function(){var e,o,a;e=!!C.$palette_control_wrapper.find('.boldgrid-active-palette').attr('data-neutral-color'),e&&(a=C.$palette_control_wrapper.find('.boldgrid-active-palette'),o=a.find('.boldgrid-palette-colors:last').css('background-color'),a.attr('data-neutral-color',o))},b.setup_color_picker=function(){var e=_.throttle(function(){b.update_theme_option({source:'updatePicker'})},100),o=b.themePalettes[0];C.hasNeutral&&o.push('#FFF');this.colorPicker.init(C.$palette_control_wrapper.find('.color-picker'),{secondaryPalette:o,change:function(o,a){if(C.fadeEffectInProgress)return!1;var n=a.color.toString();C.$palette_control_wrapper.find('.active-palette-section').css('background-color',n),b.updateNeutralData(),b.updateCustomPalettes(),C.ignoreColorChange||e()}})},b.updateCustomPalettes=function(){var e=C.$palette_control_wrapper.find('.secondary-colors .iris-palette');C.$palette_control_wrapper.find('.boldgrid-active-palette .boldgrid-palette-colors').each(function(o){e.eq(o).css('background-color',g(this).css('background-color'))})},b.preselect_active_color=function(e){C.colorPicker.setColor(e.find('.active-palette-section').css('background-color'))},b.bind_palette_duplicate_remove=function(){C.$palette_control_wrapper.on('click','.boldgrid-copy-palette, .boldgrid-remove-palette',function(o){o.stopPropagation();var e=g(this),a=e.closest('[data-palette-wrapper="true"]'),n=!0;e.hasClass('boldgrid-copy-palette')&&(n=!1),n?b.remove_palette(a):b.copy_palette(a)})},b.remove_palette=function(e){e.find('.boldgrid-inactive-palette').length&&(e.remove(),b.state=b.format_current_palette_state(),b.update_palette_settings())},b.modify_palette_action=function(e){e.find('[data-copy-on-mod="1"]').length&&b.copy_palette(e)},b.copy_palette=function(e){var o=e.find('.boldgrid-active-palette');if(o.length){var a=e.clone(!1);a.find('.palette-action-buttons').remove(),a.find('.boldgrid-active-palette').removeAttr('data-auto-generated'),b.clean_palette_clone(e.find('.boldgrid-active-palette')),b.revert_current_selection(a);var n=b.get_first_inactive();a.insertBefore(n)}else if(e.find('.boldgrid-inactive-palette').length){var r=e.clone(!1);b.clean_palette_clone(r.find('.boldgrid-inactive-palette')),e.after(r)}b.state=b.format_current_palette_state(),b.update_palette_settings()},b.clean_palette_clone=function(e){e.removeAttr('data-copy-on-mod data-palette-id')},b.get_first_inactive=function(){return C.$palette_control_wrapper.find('.boldgrid-color-palette-wrapper > [data-palette-wrapper="true"]').not('.current-palette-wrapper').first()},b.bind_compile_done=function(){m.on('boldgrid_sass_compile_done',function(e,o){b.doCompile(),'color_palette_focus'!==o.source&&(b.update_iframe(o),C.$control.trigger('sass_compiled',o))})},b.update_iframe=function(e){b.compiled_css=e.result.text,b.update_palette_settings()},b.update_palette_settings=function(){b.text_area_val=JSON.stringify({state:b.state}),window.wp&&window.wp.customize&&wp.customize('boldgrid_color_palette').set('').set(b.text_area_val)},b.get_random_format=function(){return b.body_classes[0]},b.pickerPostInit=function(){var e=C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-active="1"]').first(),o=C.$palette_control_wrapper.find('.boldgrid-inactive-palette[data-is-default="1"]').first(),a=o;e.length&&(a=e),a.click(),C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),g('body').on('click',function(){C.$palette_control_wrapper.find('.wp-color-result').addClass('expanded-wp-colorpicker'),C.$palette_control_wrapper.find('.active-palette-section').removeClass('active-palette-section')}),C.$palette_control_wrapper.find('.wp-color-result').on('click',function(){var e=g(this),o=e.parent().find('.iris-picker').is(':visible');o&&(e.removeClass('expanded-wp-colorpicker'),!C.$palette_control_wrapper.find('.active-palette-section').length&&C.$palette_control_wrapper.find('.boldgrid-active-palette li:first').click())}),C.active_body_class=C.$palette_control_wrapper.find('.boldgrid-active-palette').first().attr('data-color-palette-format')},b.bindActiveColorClick=function(){C.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){o.stopPropagation(),b.activate_color(null,g(this),!0)})}},"./node_modules/@boldgrid/controls/src/controls/color/js/generate.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}var r=Math.floor;a.d(o,'a',function(){return m}),a.d(o,'b',function(){return m});var l=a('./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js'),s=a('./node_modules/color-js/color.js'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),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},p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=window.jQuery,g={},m=function(){function e(){n(this,e),this.contrast={light:'#1a1a1a',dark:'#ffffff'},this.colorSchemeMethods=['fiveToneAScheme','fiveToneBScheme','fiveToneCScheme','fiveToneDScheme','fiveToneEScheme','neutralScheme','neutralScheme','neutralScheme','analogousScheme','analogousScheme','analogousScheme'],this.internalPalettes=['monochromatic','intesity_and_hue','complementaryScheme','splitComplementaryScheme','splitComplementaryCWScheme','triadicScheme','tetradicScheme'],this.fillPaletteActions=['compliment','blend','copy'],this.methods=['saturateByAmount','lightenByAmount','shiftHue'],this.neutralColors=['#FFFFF2','#FBF5E6','#FFFFFF','#F6F9ED','#FDFDF0','#EBECE4','#ECF1EF','#FFFFFE','#FCF6CF','#FEFFEF','#FFFFFD','#FFFFF3','#FEF1E9','#FEF6E4','#EEF3E2','#292929','#4d4d4d','#1a1a1a']}var o=Math.abs;return p(e,[{key:'getRandomColor',value:function(){for(var e=['0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'],o='#',a=0;6>a;a++)o+=e[r(16*Math.random())];return o}},{key:'getContrast',value:function(e){var o=i()(e),a=this.contrast.light,n=o.getLightness();return 0.5>n&&(a=this.contrast.dark),a}},{key:'generateNeutralColor',value:function(e){var o=Math.random(),a=null,n,r;return o>0.5?(n=_.sample(e),r=i()(n),a=r.setLightness(0.9).toCSS()):a=_.sample(this.neutralColors),a}},{key:'colorDiff',value:function(e,a){e=i()(e).toHSL(),a=i()(a).toHSL();var n=e.hue-a.hue,r=e.saturation-a.saturation,l=e.lightness-a.lightness,s=o(n)/360,d=o(r),c=o(l);return{hue:n,saturationDiff:r,lightnessDiff:l,totalPercentageDiff:s+d+c}}},{key:'findMatches',value:function(e){var o={};return u.each(e,function(a,n){u.each(e,function(e,r){r===n&&e!==a&&(!o[r]&&(o[r]=[]),-1===o[r].indexOf(a)&&o[r].push(a),-1===o[r].indexOf(e)&&o[r].push(e))})}),o}},{key:'arrayMove',value:function(e,o,a){if(o>=e.length)for(var n=o-e.length;n--+1;)e.push(void 0);return e.splice(o,0,e.splice(a,1)[0]),e}},{key:'findRelations',value:function(e){var o=[],a;return a=this.findMatches(e),!1===u.isEmptyObject(a)&&u.each(a,function(){o.push({type:'match',values:this})}),o}},{key:'determineRelations',value:function(e){var o=this,a={},n=[],r=this.findRelations(e.samplePalette);return u.each(r,function(){var o=!0;u.each(this.values,function(){if(e.partialPalette[this])return o=!1,!1}),o&&n.push(this)}),n.length?a={type:'samplePalette',relationsData:n}:_.each(e.additionalSamplePalattes,function(e){if(n=o.findRelations(e),n.length)return a={type:'additionalSamplePalattes',relationsData:n},!1}),a}},{key:'applyRelationships',value:function(e,o,a){var n=e.slice(0);return u.each(o.relationsData,function(){var e=this,o=!1;'match'===e.type&&(u.each(e.values,function(){var e=a.indexOf(this);-1!==e&&(o=this)}),!1===o&&(o=e.values[r(Math.random()*e.values.length)]),u.each(e.values,function(){n[this]=n[o]}))}),n}},{key:'findLockedIndexes',value:function(e){var o=[];return u.each(e,function(e){this&&o.push(e)}),o}},{key:'determineRelationalCount',value:function(e,o){var a;return a=2/3,'additionalSamplePalattes'===e&&(a=1/3),r(o*a)}},{key:'findPalettesByColor',value:function(e){var a=this,n=[],r,l;return l=function(){return d.a[this.paletteIndex].slice(0)},_.each(d.a,function(o,r){_.each(o,function(o,s){var i=a.colorDiff(o,e);if(!(16<i.hue)){var d={paletteIndex:r,colorIndex:s,distance:i,getPalette:l};n.push(d)}})}),r=function(e,a){return o(e.distance.totalPercentageDiff)>o(a.distance.totalPercentageDiff)?1:o(e.distance.totalPercentageDiff)<o(a.distance.totalPercentageDiff)?-1:0},n.sort(r),n}},{key:'generatePaletteCollection',value:function(e,o){o||(o=5);for(var a=this.determineRelations(e),n=this.findLockedIndexes(e.partialPalette),r=this.determineRelationalCount(a.type,o),l=[],s=0,i;s<o;s++)if(i=this.generatePalette(e),'object'===('undefined'==typeof i?'undefined':c(i))&&i.length){var d='samplePalette'===a.type&&s<r||'additionalSamplePalattes'===a.type&&s>=o-r;d&&(i=this.applyRelationships(i,a,n)),i=this.fixLockedIndex(i,e.partialPalette),l.push(i)}return l}},{key:'fixLockedIndex',value:function(e,o){return u.each(o,function(o){this&&(e[o]=this)}),e}},{key:'generatePalette',value:function(e){var o=[],a=this.partialPaletteIntoColorsPalette(e.partialPalette),n=this.isPaletteEmpty(a.palette);if(n)o=this.getPaletteFromStaticList(a.palette);else if(1<a.generateKeys.length){var l=this.generatePaletteFromPartial(a.palette);o=this.randomizePalette(l,a.unchangedKeys)}else{var s=a.palette[a.generateKeys[0]];if(s.toCSS()!==g.color&&(g.color=s.toCSS(),g.palettes=this.findPalettesByColor(g.color),g.paletteCounter=0),g.palettes[g.paletteCounter])o=g.palettes[g.paletteCounter].getPalette(),o=this.arrayMove(o,a.generateKeys[0],this.colorIndex),o=this.truncateGeneratedPalette(o,a.palette),g.paletteCounter++;else{var i=r(3*Math.random())+1;if(1===i){var d=internalPalettes[r(Math.random()*internalPalettes.length)],c=new Palettes;o=c[d](s)}else if(2===i){var p=colorSchemeMethods[r(Math.random()*colorSchemeMethods.length)];o=s[p]()}else{var m=this.randomArray(4,5);m.unshift(0),o=s.schemeFromDegrees(m)}o=this.randomizePalette(o,[0]),o=this.formatPaletteToUnchanged(o,a.generateKeys[0]),o=this.truncateGeneratedPalette(o,a.palette)}}var b=o.slice(0);return u.each(a.unchangedKeys,function(){b[this]=e.partialPalette[this]}),b}},{key:'truncateGeneratedPalette',value:function(e,o){for(var a=[],n=0;n<o.length;n++)a.push(e[n]);return a}},{key:'formatPaletteToUnchanged',value:function(e,o){var a=e[0],n={};return n[o]=a,n[0]=e[o],u.each(e,function(e){0===e||e!==o&&(n[e]=this)}),n=u.map(n,function(e){return[e]}),n}},{key:'partialPaletteIntoColorsPalette',value:function(e){var o=[],a=[],n=[];return u.each(e,function(e){if(this){var r=i()(this);0.9>r.getLightness()&&0.1<r.getLightness()&&0.15<r.getSaturation()?(o.push(r),n.push(e)):o.push(null),a.push(e)}else o.push(null)}),{palette:o,unchangedKeys:a,generateKeys:n}}},{key:'getPaletteFromStaticList',value:function(e){for(var o=[],a=0,n;2>a;a++){if(n=d.a[r(Math.random()*d.a.length)],n.length>=e.length)if(n.length>e.length)for(var l=0;l<e.length;l++)o.push(n[l]);else n.length===e.length&&(o=n);o.length&&(a=2)}return o}},{key:'isPaletteEmpty',value:function(e){var o=!0;return u.each(e,function(){if(this)return o=!1,!1}),o}},{key:'getGrey',value:function(){var e=i()('#FFFFFF');return e.setBlue(0).setRed(0).setGreen(0).setLightness(Math.random()).toCSS()}},{key:'colorArrayToCss',value:function(e){var o=[];return u.each(e,function(e){5<e&&o.push(this.toCSS())}),o}},{key:'generatePaletteFromPartial',value:function(e){var o=this,a=[];u.each(e,function(e,o){o&&a.push(o)});var n=[];return _.each(e,function(e){if(!e){var r=_.sample(o.fillPaletteActions),l=_.sample(a),s=_.sample(a),i;i='compliment'===r?l.shiftHue(180):'blend'===r?l.blend(s,0.5):l,n.push(i)}else n.push(e)}),n}},{key:'randomizePalette',value:function(e,o){var a=this,n=[];return u.each(e,function(e,l){if(5<=e)return!1;if(-1!==o.indexOf(e))return void n.push(l.toCSS());for(var s=0;2>s;s++){var i=void 0,d=_.sample(a.methods);i='shiftHue'===d?r(45*Math.random())+1-23:(r(20*Math.random())+1)/100,l=l[d](i),1===s&&n.push(l.toCSS())}}),n}},{key:'randomArray',value:function(e,o){for(var a=[],n=45*o,l=0;l<e;l++)a.push(r(Math.random()*n)+1-n/2);return a}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/material.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return i});var r=a('./node_modules/google-material-color-palette-json/lib/palette.js'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=function(){function e(){n(this,e),this.paletteLayoutShades=['500','900','100','#eeeeee','#131313'],this.availableColors=_.without(_.keys(l.a),'black','white')}return s(e,[{key:'getRandomPalette',value:function(){var e=_.sample(this.availableColors);return this.getPalette(e)}},{key:'getPalette',value:function(e){var o=[],a=!0,n=!1,r;try{for(var s=this.paletteLayoutShades[Symbol.iterator](),i,d;!(a=(i=s.next()).done);a=!0)d=i.value,-1===d.indexOf('#')?-1===['black','white','#eeeeee'].indexOf(d)?o.push(l.a[e]['shade_'+d]):o.push(l.a[d]):o.push(d)}catch(e){n=!0,r=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw r}}return o}},{key:'getAllPalettes',value:function(){var e=[],o=!0,a=!1,n;try{for(var r=this.availableColors[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e.push(this.getPalette(s))}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/palettes.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e)}return r(e,[{key:'monochromatic',value:function(e){var o=[e,e.lightenByAmount(0.3),e.darkenByAmount(0.1),e.saturateByAmount(0.5),e.lightenByAmount(0.2)];return o}},{key:'intesityAndHue',value:function(e){var o=[e,e.shiftHue(20).lightenByAmount(0.15),e.shiftHue(-20).darkenByAmount(0.2),e.shiftHue(-33).darkenByAmount(0.25),e.shiftHue(10).lightenByAmount(0.05)];return o}},{key:'complementaryScheme',value:function(e){var o=[e,e.shiftHue(180),e.shiftHue(180).lightenByAmount(0.25),e.darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryScheme',value:function(e){var o=[e,e.shiftHue(150),e.shiftHue(320),e.shiftHue(320).darkenByAmount(0.25),e.lightenByAmount(0.25)];return o}},{key:'splitComplementaryCWScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(210),e.darkenByAmount(0.1),e.shiftHue(60).darkenByAmount(0.15)];return o}},{key:'triadicScheme',value:function(e){var o=[e,e.shiftHue(60),e.shiftHue(240),e.shiftHue(60).lightenByAmount(0.2),e.lightenByAmount(0.15)];return o}},{key:'tetradicScheme',value:function(e){var o=[e,e.shiftHue(90),e.shiftHue(180),e.shiftHue(270),e.saturateByAmount(-0.25)];return o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/renderer.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return g}),a.d(o,'b',function(){return g});var r=a('./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),i=a('./node_modules/@boldgrid/controls/src/controls/color/js/config.js'),d=a('./node_modules/@boldgrid/controls/src/controls/color/js/button.js'),c=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js'),p=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),u=window.jQuery,g=function(){function e(o){n(this,e),this.preloadedFiles=!1,this.initialCompilesDone=!1,this.initialCompileCount=0,this.configs=_.defaults(o||{},{sassFiles:[],defaultSassFiles:['color-palette-scss/classes/color-classes.scss']}),this.configs.sassFiles=this.configs.sassFiles.concat(this.configs.defaultSassFiles),this.sassCompiler=new c.a(this.configs.sass||{}),this.buttonColors=new d.a({sassCompiler:this.sassCompiler})}return p(e,[{key:'init',value:function(){return this._preloadFiles()}},{key:'initialCompiles',value:function(e){var o=this,a=u.Deferred(),n=window.BOLDGRID.COLOR_PALETTE.Modify.getScss();return this.sassCompiler.compile(n,{source:'setup'}).done(function(){e>o.compileCount?(o.compileCount++,o.initialCompiles(e)):(o.initialCompilesDone=!0,a.resolve())}),a}},{key:'setPaletteSettings',value:function(e){this.palettes=this._createPaletteSetting(e),this.formatConfig()}},{key:'formatConfig',value:function(){this.palettes.saved_palettes=this.palettes.saved_palettes||[],this.palettes.palettes=this.palettes.saved_palettes.concat(this.palettes.palettes),this.palettes.hasNeutralColor=this.palettes.palettes[0]['neutral-color']?1:0,this.palettes.colorPaletteColumns=this.palettes['color-palette-size']+this.palettes.hasNeutralColor,this.assignNeutral()}},{key:'assignNeutral',value:function(){var e=!0,o=!1,a;try{for(var n=this.palettes.palettes[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,l['neutral-color']&&l.colors.push(l['neutral-color'])}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'getImportString',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.configs.sassFiles[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e+='@import "'+s+'";'}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'render',value:function(e,o){var a,n;return this.setPaletteSettings(o),n=this._createHtml(),a=u(n),e.append(n),window.BOLDGRID.COLOR_PALETTE.Modify.init(a,{renderer:this}),this.$control=a,a}},{key:'_createHtml',value:function(){var e=a('./node_modules/@boldgrid/controls/src/controls/color/template.html');return _.template(e)({config:this.palettes})}},{key:'_preloadFiles',value:function(){var e=this,o=u.Deferred(),a=this.configs.sassFiles.concat(this.buttonColors.files);return this.sassCompiler.preload(a).done(function(){e.preloadedFiles=!0,o.resolve(a)}),o}},{key:'_createPaletteSetting',value:function(e){var o=new i.a;return e=e?o.mergeDefaults(e):o.createSimpleConfig(),u.extend(!0,{},e)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/selection.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return b});var r=a('./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss'),i=a.n(s),d=a('./node_modules/@boldgrid/controls/src/controls/color/js/control.js'),c=a('./node_modules/@boldgrid/controls/src/controls/color/config/color-lover.js'),p=a('./node_modules/@boldgrid/controls/src/controls/color/js/generate.js'),u=a('./node_modules/@boldgrid/controls/src/controls/color/js/material.js'),g=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),m=window.jQuery,b=function(){function e(){n(this,e),this.material=new u.a,this.pageSize=6,this.maxPages=25,this.$control,this.$pagination,this.$selectedPalette,this.currentPage=0,this.currentCount=0,this.pages=[],this.colors=this._createAvailablePalettes(),this._paginatePalettes()}return g(e,[{key:'create',value:function(){return this.$control=m(a('./node_modules/@boldgrid/controls/src/controls/color/template/selection.html')),this.$paletteRows=this.$control.find('.palette-rows'),this.$pagination=this.$control.find('.bg-pagination'),this._bindEvents(),this.updatePage(this.currentPage),this.$control}},{key:'updatePage',value:function(e){this.currentPage=Math.min(e,this.maxPages),this._displayCurrentPage(),this.currPageAttr=this.currentPage,this.maxPages<=this.currentPage&&(this.currPageAttr='last'),this.$pagination.attr('data-page',this.currPageAttr)}},{key:'getSelectedPalette',value:function(){return this.$selectedPalette[0].colors}},{key:'randomSelection',value:function(){var e=this.material.getRandomPalette();return e.push('#FFF'),this._formatPalette(e)}},{key:'_createAvailablePalettes',value:function(){var e=[],o=new p.b,a=_.shuffle(c.a);a=_.union(this.material.getAllPalettes(),a);var n=!0,r=!1,l;try{for(var s=a[Symbol.iterator](),i,d;!(n=(i=s.next()).done);n=!0)d=i.value,d.push('#FFFFFF'),e.push(d)}catch(e){r=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw l}}return e}},{key:'_paginatePalette',value:function(){for(var e=[],o=this.currentCount+this.pageSize,a=this.currentCount;o>a;a++)e.push(this.colors[a]);this.currentCount=this.pageSize+this.currentCount,this.pages.push(e)}},{key:'_paginatePalettes',value:function(){for(var e=0;this.maxPages>=e;e++)this._paginatePalette()}},{key:'_displayCurrentPage',value:function(){var e=this.$paletteRows.find('[data-page-id="'+this.currentPage+'"]');if(this.$paletteRows.find('.palette-row').hide(),e.length)return void e.show();var o=this.pages[this.currentPage],a=!0,n=!1,r;try{for(var l=o[Symbol.iterator](),s;!(a=(s=l.next()).done);a=!0){var i=s.value,d=this._createPaletteRow(i);this.$paletteRows.append(d)}}catch(e){n=!0,r=e}finally{try{!a&&l.return&&l.return()}finally{if(n)throw r}}}},{key:'_bindEvents',value:function(){var e=this;this.$paletteRows.on('click','.palette-row',function(o){e._activate(m(o.currentTarget))}),this.$control.find('.next a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage+1)}),this.$control.find('.prev a').on('click',function(o){o.preventDefault(),e.updatePage(e.currentPage-1)})}},{key:'_activate',value:function(e){var o=this.$control.find('.selected-palette');this.$selectedPalette=e,o.find('.palette-row').replaceWith(e.clone()),o.addClass('active'),this.$paletteRows.find('.active').removeClass('active'),this.selectedPalette=e.addClass('active'),this.$control.trigger('palette-selection',{palette:this.getSelectedPalette()})}},{key:'_formatPalette',value:function(e){var o=e.pop();return{colors:e,"neutral-color":o}}},{key:'_createPaletteRow',value:function(e){var o=m('<ul class="palette-row" data-page-id="'+this.currentPage+'">'),a=!0,n=!1,r,l;try{for(var s=e[Symbol.iterator](),i,d;!(a=(i=s.next()).done);a=!0)d=i.value,r=m('<li>').css('background-color',d),o.append(r)}catch(e){n=!0,l=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw l}}return o[0].colors=this._formatPalette(e),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/color/js/transitions.js":function(e,o,a){'use strict';var n=a('./node_modules/color-js/color.js'),r=a.n(n),l=window.jQuery,s=l(window),i,d;window.BOLDGRID=window.BOLDGRID||{},window.BOLDGRID.COLOR_PALETTE=window.BOLDGRID.COLOR_PALETTE||{},window.BOLDGRID.COLOR_PALETTE.Modify=window.BOLDGRID.COLOR_PALETTE.Modify||{},d=window.BOLDGRID.COLOR_PALETTE.Modify,i=d,d.getPreviewerBody=function(){return i.configs.enableCustomizerTransitions?l(wp.customize.previewer.container).find('iframe').last().contents().find('body'):l()},d.addColorTransition=function(){var e=new Date().getTime(),o;i.configs.enableCustomizerTransitions&&(o=d.getPreviewerBody(),o.addClass('color-palette-transitions duration-long'),i.lastTransitionTime=e,setTimeout(function(){i.lastTransitionTime===e&&o.removeClass('color-palette-transitions duration-long')},600))},d.bindTransitions=function(){i.configs.enableCustomizerTransitions&&i.$palette_control_wrapper.on('click','.boldgrid-active-palette li',function(o){var e=l(this),a=e.css('background-color'),n=!1,c=350,p=0.4,u,g,m,b;i.fadeEffectInProgress||!o.originalEvent||(m=d.getPreviewerBody(),i.hasNeutral&&e.is(':last-of-type')&&(n=!0),g=r()(a),g.getLuminance()>0.5?(u=g.darkenByAmount(p),u=u.toCSS()):(u=g.lightenByAmount(p),u=u.toCSS()),e.css('background-color',u),n&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',u),m.addClass('color-palette-transitions'),d.update_theme_option(),e.css('background-color',a),n&&e.closest('.boldgrid-active-palette').attr('data-neutral-color',a),b=new Date().getTime(),i.fadeEffectInProgress=!0,s.one('boldgrid_sass_compile_done',function(){var e=0,o=new Date().getTime()-b;o<c&&(e=c),s.one('boldgrid_sass_compile_done',function(o,a){setTimeout(function(){d.update_iframe(a),setTimeout(function(){m.removeClass('color-palette-transitions'),i.fadeEffectInProgress=!1},250)},e)}),d.update_theme_option({source:'color_palette_focus'})}))})}},"./node_modules/@boldgrid/controls/src/controls/color/scss/control.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/pagination.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/scss/selection.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/color/template.html":function(e){e.exports='<div class="bgctrl-color-palette boldgrid-control"> <h3>Active Palette</h3> <div class="boldgrid-color-palette-wrapper color-palette-columns-<%=config.colorPaletteColumns %>" data-color-formats=\'["<%=config.palette_formats %>"]\' data-has-neutral="<%=config.hasNeutralColor %>" data-num-colors="<%=config.colorPaletteColumns %>"> <%\n\t_.each( config.palettes, function ( palette, name ) { %> <div data-palette-wrapper=true> <ul class=boldgrid-inactive-palette data-is-default="<%= ~~palette.default %>" data-is-active="<%= ~~palette.isActive %>" data-color-palette-format="<%=palette.format %>" data-copy-on-mod="<%= ~~palette.copyOnMod %>" data-palette-id="<%=palette.palette_id %>" <% if ( palette[\'neutral-color\'] ) { %> data-neutral-color="<%= palette[\'neutral-color\'] %>" <% } %> > <li class=boldgrid-palette-colors> <% _.each( palette.colors, function ( color ) { %> <span data-color="<%=color %>" style="background: <%=color %>"></span> <% } ); %> <div class=boldgrid-duplicate-dashicons> <span class="dashicons dashicons-admin-post boldgrid-copy-palette" title="Save Palette"></span> <span class="dashicons dashicons-no boldgrid-remove-palette" title="Remove Palette"></span> </div> </li> </ul> </div> <% } ); %> <div class="palette-action-buttons hidden"> <button class="button button-primary palette-creator-button palette-generator-button" type=button>Suggest Palettes</button> <div class=color-picker data-value=ffffff></div> <input type=textarea class="hidden palette-option-field"/> <div class=generate-palettes-selection-section> <h3>Suggested Palettes</h3> <div class=generated-palettes-container></div> <input type=button class="button cancel-generated-palettes-button" value=Done> </div> <div class=saved-palettes-divider> <h3>Saved Palettes</h3> </div> </div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/color/template/selection.html":function(e){e.exports='<div class=palette-selection> <h3>Choose a palette</h3> <p> Your chosen color palette will be used for default color selection. You can fully customize these colors later. </p> <div class=selected-palette> <div class=unselected> Select a Palette Below </div> <div class=selected> <p>Selected Palette</p> <ul class=palette-row> </ul> </div> </div> <div class=palette-rows> </div> <div class=bg-pagination> <div class=prev><a href=#>Previous</a></div> <div class=next><a href=#>Next</a></div> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/color/index.js');a.d(o,'d',function(){return n.ColorPalette}),a.d(o,'e',function(){return n.Selection}),a.d(o,'h',function(){return n.Config});var r=a('./node_modules/@boldgrid/controls/src/controls/padding/index.js');a.d(o,'g',function(){return r.Padding});var l=a('./node_modules/@boldgrid/controls/src/controls/border/index.js');a.d(o,'a',function(){return l.a});var s=a('./node_modules/@boldgrid/controls/src/controls/margin/index.js');a.d(o,'f',function(){return s.a});var i=a('./node_modules/@boldgrid/controls/src/controls/border-radius/index.js');a.d(o,'b',function(){return i.a});var d=a('./node_modules/@boldgrid/controls/src/controls/box-shadow/index.js');a.d(o,'c',function(){return d.a});var c=a('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),p=a('./node_modules/@boldgrid/controls/src/controls/style/index.js');a.d(o,'i',function(){return p.Updater});({Color:a('./node_modules/@boldgrid/controls/src/controls/color/index.js'),Style:a('./node_modules/@boldgrid/controls/src/controls/style/index.js'),Padding:a('./node_modules/@boldgrid/controls/src/controls/padding/index.js')})},"./node_modules/@boldgrid/controls/src/controls/margin/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/margin/margin.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/margin/margin.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return i});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Margin',name:'margin',units:{default:'px',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'margin-top'},{name:'right',label:'Right',cssProperty:'margin-right'},{name:'bottom',label:'Bottom',cssProperty:'margin-bottom'},{name:'left',label:'Left',cssProperty:'margin-left'}]},slider:{px:{min:-100,max:100,step:1},"%":{min:-20,max:20,step:0.1},em:{min:-5,max:5,step:0.1}}},a}return l(o,e),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js":function(e,o){'use strict';o.a={defaults:{control:{title:'Universal',linkable:!0,units:{default:'percentage',enabled:['px','percentage','em']},sliders:[{name:'top',label:'Top',cssProperty:'border-top-width'},{name:'right',label:'Right',cssProperty:'border-right-width'},{name:'bottom',label:'Bottom',cssProperty:'border-bottom-width'},{name:'left',label:'Left',cssProperty:'border-left-width'}]},slider:{px:{min:0,max:100},"%":{min:0,max:100},em:{min:0.1,max:5}}}}},"./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return v});var r=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/slider/index.js'),i=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js'),d=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html'),c=a.n(d),p=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/config.js'),u=a('./node_modules/deepmerge/dist/es.js'),g=a('./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg'),m=a.n(g),b=a('./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg'),C=a.n(b),h=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),f=window.jQuery,v=function(){function e(o){if(n(this,e),this.options=o||{},this.slidersLinked=!1,this.$target=this.options.target,this.template=_.template(c.a),!this.$target)throw Error('Your must define a target element')}return h(e,[{key:'mergeDefaultConfigs',value:function(){this.controlOptions=Object(u.a)(p.a.defaults,this.controlOptions,{arrayMerge:function(e,o){return o}})}},{key:'render',value:function(){return this.mergeDefaultConfigs(),this.controlOptions.svg={},this.controlOptions.svg.link=C.a,this.controlOptions.svg.refresh=m.a,this.$control=f(this.template(this.controlOptions)),this.$sliderGroup=this.$control.find('.slider-group'),this.$units=this.$control.find('.unit'),this.$revert=this.$control.find('.refresh'),this._bindUnits(),this.setUnits(this.controlOptions.control.units.default),this._createSliders(),this.$links=this.$control.find('.link'),this._storeDefaultValues(),this._setDefaultLinkedState(),this._bindLinked(),this._bindRevert(),this.$control}},{key:'applySettings',value:function(e){for(var o in this.setUnits(e.unit),e.values){var a=e.values[o];this.sliders[o].$slider.slider('option','value',a)}}},{key:'updateTarget',value:function(e){this.$target=e}},{key:'setUnits',value:function(e){this.$units.filter('[value="'+e+'"]').prop('checked',!0).change()}},{key:'getValues',value:function(){var e={};for(var o in this.sliders)e[o]=this.sliders[o].$slider.slider('value')||0;return e}},{key:'getSliderConfig',value:function(e){var o=this.controlOptions.slider[this.selectedUnit],a=this.convertToSelectedUnit(this.$target.css(e.cssProperty));return o.value=a,o}},{key:'convertToSelectedUnit',value:function(e){var o=parseInt(e),a=o;return'%'===this.selectedUnit?a=new i.a().pxToPercentage(o,this.$target.parent()):'em'===this.selectedUnit&&(a=new i.a().pxToEm(o,this.$target.css('font-size'))),a}},{key:'_createSliders',value:function(){this.sliders={};var e=!0,o=!1,a;try{for(var n=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=n.next()).done);e=!0){var l=r.value,i=void 0;l.uiSettings=this.getSliderConfig(l),i=new s.a(f.extend(!0,{},l)),i.render(),this.$sliderGroup.append(i.$control),i.$input.after('<a class="link" href="#" title="Link all sliders">'+C.a+'</a>'),this.sliders[l.name]=i,this._bindSliderChange(i)}}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'_storeDefaultValues',value:function(){this.defaultValues={unit:this.controlOptions.control.units.default,values:this.getValues()}}},{key:'_bindRevert',value:function(){var e=this;this.$revert.on('click',function(o){o.preventDefault(),e.applySettings(e.defaultValues)})}},{key:'_bindUnits',value:function(){var o=this;this.$control.find('.unit').on('change',function(a){var e=f(a.target);o.selectedUnit=e.val(),o.sliders&&o._unitsChanged()})}},{key:'_unitsChanged',value:function(){var e=this;this.linkedDisabled=!0,this._resetOptions(),setTimeout(function(){e.linkedDisabled=!1})}},{key:'refreshValues',value:function(){var e=this;this.slideChangeDisabled=!0,this._resetOptions(),setTimeout(function(){e.slideChangeDisabled=!1})}},{key:'_resetOptions',value:function(){var e=!0,o=!1,a;try{for(var n=this.controlOptions.control.sliders[Symbol.iterator](),r;!(e=(r=n.next()).done);e=!0){var l=r.value,s=this.getSliderConfig(l);this.sliders[l.name].$slider.slider('option',s)}}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'_setDefaultLinkedState',value:function(){if(this.controlOptions.control.linkable){var e=_.unique(_.values(this.getValues()));this.slidersLinked=1===e.length}}},{key:'_bindLinked',value:function(){var e=this;this.slidersLinked&&this.$links.addClass('linked'),this.$links.on('click',function(o){var a=f(o.target).closest('a');o.preventDefault(),a.toggleClass('linked'),e.slidersLinked=a.hasClass('linked'),e.$control.trigger('linked',{isLinked:e.slidersLinked})})}},{key:'_updateLinked',value:function(e){var o=this;this.slidersLinked&&!this.linkedDisabled&&(this.linkedDisabled=!0,_.each(this.sliders,function(o){e!==o&&o.$slider.slider('value',e.$slider.slider('value'))})),setTimeout(function(){o.linkedDisabled=!1})}},{key:'_updateCss',value:function(e){var o={};o[e.options.cssProperty]=e.$slider.slider('value')+this.selectedUnit,this.applyCssRules(o)}},{key:'applyCssRules',value:function(e){this.$target.css(e)}},{key:'_bindSliderChange',value:function(e){var o=this;e.$control.on('slide-change',function(){o.slideChangeDisabled||(o._updateLinked(e),o._updateCss(e))})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/conversion.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return l});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=function(){function e(){n(this,e)}return r(e,[{key:'pxToEm',value:function(e,o){var a=0;return o=o?parseInt(o):0,e=e?parseInt(e):0,o&&e&&(a=(e/o).toFixed(1)),a}},{key:'pxToPercentage',value:function(e,o){var a=o.width();return 100*(e/a)}},{key:'percentageToPixel',value:function(e,o){var a=o.width();return a*(e/100)}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/multi-slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/multi-slider/template.html":function(e){e.exports='<div class="directional-control <%=control.name %>-control boldgrid-control" data-linkable="<%= control.linkable %>"> <h3 class=control-name><%=control.title %><a href=# class=refresh title="Reset to Default"><%= svg.refresh %></a></h3> <p class=units> <% if ( -1 !== control.units.enabled.indexOf( \'px\' ) ) { %> <label title="Pixel Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=px><span>PX</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'em\' ) ) { %> <label title="Em Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=em><span>EM</span></label> <% } %> <% if ( -1 !== control.units.enabled.indexOf( \'%\' ) ) { %> <label title="Percentage Unit"><input type=radio name="<%=control.name %>-unit" class=unit value=%><span>%</span></label> <% } %> </p> <div class=slider-group> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/padding/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/padding/padding.js');a.d(o,'Padding',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/padding/padding.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}function r(e,o){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return o&&('object'==typeof o||'function'==typeof o)?o:e}function l(e,o){if('function'!=typeof o&&null!==o)throw new TypeError('Super expression must either be null or a function, not '+typeof o);e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(e,o):e.__proto__=o)}a.d(o,'a',function(){return i});var s=a('./node_modules/@boldgrid/controls/src/controls/multi-slider/index.js'),i=function(e){function o(e){n(this,o);var a=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return a.controlOptions={control:{title:'Padding',name:'padding',units:{default:'em',enabled:['px','em','%']},sliders:[{name:'top',label:'Top',cssProperty:'padding-top'},{name:'right',label:'Right',cssProperty:'padding-right'},{name:'bottom',label:'Bottom',cssProperty:'padding-bottom'},{name:'left',label:'Left',cssProperty:'padding-left'}]},slider:{px:{min:0,max:100,step:1},"%":{min:0,max:20,step:0.1},em:{min:0,max:5,step:0.1}}},a}return l(o,e),o}(s.a)},"./node_modules/@boldgrid/controls/src/controls/slider/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/@boldgrid/controls/src/controls/slider/template.html'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/slider/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(o){n(this,e),this.options=_.defaults(o||{},{name:'slider-name',label:'Slider Title',uiSettings:{min:0,max:100}}),this.template=_.template(l.a)}return d(e,[{key:'render',value:function(){return this.$control=c(this.template(this.options)),this.$input=this.$control.find('input'),this.$slider=this.$control.find('.slider'),this._bindInput(),this._bindSlider(),this.$control}},{key:'_bindInput',value:function(){var e=this;this.$input.on('input',function(){var o=e.$input.val();o=Math.min(e.$input.val(),e.$slider.slider('option','max')),o=Math.max(o,e.$slider.slider('option','min')),e.$input.val(o),e.$slider.slider('value',o)})}},{key:'_updateInput',value:function(){this.$input.val(this.$slider.slider('value'))}},{key:'getSliderConfig',value:function(){return this.options.uiSettings}},{key:'_bindSlider',value:function(){var e=this;this.$slider.slider(_.defaults(this.getSliderConfig(this.$slider.data('name')),{animate:'fast',slide:function(){return e._onSliderChange()},change:function(){return e._onSliderChange()}})),this._updateInput(this.$slider)}},{key:'_onSliderChange',value:function(){this._updateInput(this.$slider),this.$control.trigger('slide-change',{name:this.options.name,value:this.$slider.slider('value')})}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/slider/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/slider/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/slider/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/slider/template.html":function(e){e.exports='<div class="boldgrid-control slider-control"> <label><%= label %></label> <div class=slider-wrap> <div class=slider data-name="<%= name %>"></div> <input class=number type=number name="<%= name %>"> </div> </div> '},"./node_modules/@boldgrid/controls/src/controls/style/index.js":function(e,o,a){'use strict';Object.defineProperty(o,'__esModule',{value:!0});var n=a('./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js');a.d(o,'SassCompiler',function(){return n.a});var r=a('./node_modules/@boldgrid/controls/src/controls/style/js/updater.js');a.d(o,'Updater',function(){return r.a})},"./node_modules/@boldgrid/controls/src/controls/style/js/sass-compiler.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return c});var r=a('./node_modules/sass.js/dist/sass.js'),l=a.n(r),s=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),i=window.jQuery,d=d||{};d.Sass=d.Sass||{};var c=function(){function e(o){return n(this,e),d.Sass&&d.Sass.instance?d.Sass.instance:void this.init(o)}return s(e,[{key:'init',value:function(e){this.instance=this,this.options=_.defaults(e||{},{enableLogging:!1,basePath:'../scss/',workerURL:'./static/sass.worker.js'}),this.processing=!1,this.compileCount=0,this.log={},this.$window=i(window),this.compileDone=i.Event('boldgrid_sass_compile_done'),l.a.setWorkerUrl(this.options.workerURL),this.compiler=new l.a(this.options.workerURL),this.compiler.options({comments:!1,indent:'',linefeed:'',style:l.a.style.compressed}),d.Sass=this}},{key:'compile',value:function(e,o){var a=this,n=i.Deferred();return o=o||{},this.processing=!0,this.compileCount++,this.options.enableLogging&&(this.log.startTime=new Date().getTime()),this.compiler.compile(e,function(r){var l={result:r,scss:e,source:o.source,options:o};a.processing=!1,0!==r.status&&console.error(r.formatted),'setup'!==l.source&&a.$window.trigger(a.compileDone,l),a.outputLogs(r,e),n.resolve(l)}),n}},{key:'outputLogs',value:function(e,o){if(this.options.enableLogging){var a;this.log.endTime=new Date().getTime(),a=this.log.endTime-this.log.startTime,console.log(a,' milliseconds'),console.log(e),console.log(o)}}},{key:'resetCompiler',value:function(){50<this.compileCount&&(this.compileCount=0,l.a.setWorkerUrl(this.options.workerURL),this.compiler&&(this.compiler.destroy(),this.compiler=null),this.compiler=new l.a(this.options.workerURL))}},{key:'preload',value:function(e){var o=i.Deferred();return this.compiler.preloadFiles(this.options.basePath,'',e,function(e){o.resolve(e)}),o}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/style/js/updater.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return s});var r=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),l=jQuery,s=function(){function e(o){n(this,e),this.$head=l(o).find('head'),this.registeredStyles=[],this.stylesState=[]}return r(e,[{key:'setup',value:function(){this._loadStyles()}},{key:'getStylesheetCss',value:function(){var e='',o=!0,a=!1,n;try{for(var r=this.stylesState[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,e+=s.css}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}return e}},{key:'register',value:function(e){if(!e.id)throw'Register Sass: Must Provide Name value.';return this.registeredStyles.push(_.defaults(e,{priority:50})),_.last(this.registeredStyles)}},{key:'loadSavedConfig',value:function(e){e=JSON.parse(JSON.stringify(e));var o=!0,a=!1,n;try{for(var r=e[Symbol.iterator](),l,s;!(o=(l=r.next()).done);o=!0)s=l.value,this.register(s)}catch(e){a=!0,n=e}finally{try{!o&&r.return&&r.return()}finally{if(a)throw n}}}},{key:'update',value:function(e){var o=_.find(this.stylesState,function(o){return o.id===e.id});o||(o=this._createState(e)),o.$tag.html(e.css),o.css=e.css,o.scss=e.scss}},{key:'addAllStyles',value:function(){var e=!0,o=!1,a;try{for(var n=this.stylesState[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,l.$tag=this.createStyleTag(l.id),l.$tag.html(l.css),this.$head.append(l.$tag)}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}}},{key:'createStyleTag',value:function(e){return l('<style type="text/css" id="'+e+'"></style>')}},{key:'_loadStyles',value:function(){var e=!0,o=!1,a;try{for(var n=this.registeredStyles[Symbol.iterator](),r,l;!(e=(r=n.next()).done);e=!0)l=r.value,this._pushComponent(l)}catch(e){o=!0,a=e}finally{try{!e&&n.return&&n.return()}finally{if(o)throw a}}this._sort(),this.addAllStyles()}},{key:'_pushComponent',value:function(e){this.stylesState.push(e)}},{key:'_createState',value:function(e){return e=this.register(e),this._pushComponent(e),this._sort(),this._insertNewtag(e),e}},{key:'_insertNewtag',value:function(e){var o,a;a=_.findIndex(this.stylesState,function(o){return o.id===e.id}),e.$tag=this.createStyleTag(e.id),o=a-1,-1===o?this.$head.append(e.$tag):this.stylesState[o].$tag.after(e.$tag)}},{key:'_sort',value:function(){this.stylesState=_.sortBy(this.stylesState,'priority')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/control.js":function(e,o,a){'use strict';function n(e,o){if(!(e instanceof o))throw new TypeError('Cannot call a class as a function')}a.d(o,'a',function(){return p});var r=a('./node_modules/@boldgrid/controls/src/controls/switch/template.html'),l=a.n(r),s=a('./node_modules/@boldgrid/controls/src/controls/switch/style.scss'),i=a.n(s),d=function(){function e(e,o){for(var a=0,n;a<o.length;a++)n=o[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(o,a,n){return a&&e(o.prototype,a),n&&e(o,n),o}}(),c=window.jQuery,p=function(){function e(o){n(this,e),this.options=_.defaults(o||{},{name:_.random(0,1e4),label:'Off / On'}),this.template=_.template(l.a)}return d(e,[{key:'render',value:function(){return this.$element=c(this.template(this.options)),this.$input=this.$element.find('input'),this.$element}},{key:'isEnabled',value:function(){return this.$input.prop('checked')}}]),e}()},"./node_modules/@boldgrid/controls/src/controls/switch/index.js":function(e,o,a){'use strict';var n=a('./node_modules/@boldgrid/controls/src/controls/switch/control.js');a.d(o,'a',function(){return n.a})},"./node_modules/@boldgrid/controls/src/controls/switch/style.scss":function(){},"./node_modules/@boldgrid/controls/src/controls/switch/template.html":function(e){e.exports='<div class="bg-control-switch <%=name %>-switch boldgrid-control"> <div class=mdc-switch> <input type=checkbox id="<%=name %>-switch" class=mdc-switch__native-control /> <div class=mdc-switch__background> <div class=mdc-switch__knob></div> </div> </div> <label for="<%=name %>-switch" class=mdc-switch-label><%=label %></label> </div> '},"./node_modules/color-js/color.js":function(e){var o=Math.max,a=Math.min;if('undefined'==typeof n)var n={};n.brehaut||(n.brehaut={}),function(){'use strict';function e(e,a){e=e.toString();for(var n=[],r=0,l=o(a-e.length,0);r<l;r++)n.push('0');return n.push(e),n.join('')}function r(e){return e.slice(0,1).toUpperCase()+e.slice(1)}function l(e){return e.replace(/^\s+|\s+$/g,'')}function s(e){return function(){var o=this.clone();return e.apply(o,arguments),o}}function i(e,o){function a(e){return function(){return e.apply(this[i](),arguments)}}function n(){}function l(){return new n}var s=k(w),d=[],i='to'+r(e);for(var c in o)if(o.hasOwnProperty(c)){s[c]=o[c];var p=s[c];if('_'==c.slice(0,1))continue;if(!(c in w)&&'function'==typeof p)w[c]=a(p);else if('function'!=typeof p){d.push(c);var u='get'+r(c),g='set'+r(c);w[u]=a(s[u]=function(e){return function(){return this[e]}}(c)),w[g]=a(s[g]=function(e){return function(o){var a=this.clone();return a[e]=o,a}}(c))}}return n.prototype=s,E[e]=l,s.clone=function(){for(var e=l(),o=0,a=d.length,n;o<a;o++)n=d[o],e[n]=this[n];return e},w[i]=function(){return l()},y.push(s),s}function d(e){return w.fromObject(e)}var c=Math.round,p=Math.pow,u={aliceblue:'#F0F8FF',antiquewhite:'#FAEBD7',aqua:'#00FFFF',aquamarine:'#7FFFD4',azure:'#F0FFFF',beige:'#F5F5DC',bisque:'#FFE4C4',black:'#000000',blanchedalmond:'#FFEBCD',blue:'#0000FF',blueviolet:'#8A2BE2',brown:'#A52A2A',burlywood:'#DEB887',cadetblue:'#5F9EA0',chartreuse:'#7FFF00',chocolate:'#D2691E',coral:'#FF7F50',cornflowerblue:'#6495ED',cornsilk:'#FFF8DC',crimson:'#DC143C',cyan:'#00FFFF',darkblue:'#00008B',darkcyan:'#008B8B',darkgoldenrod:'#B8860B',darkgray:'#A9A9A9',darkgrey:'#A9A9A9',darkgreen:'#006400',darkkhaki:'#BDB76B',darkmagenta:'#8B008B',darkolivegreen:'#556B2F',darkorange:'#FF8C00',darkorchid:'#9932CC',darkred:'#8B0000',darksalmon:'#E9967A',darkseagreen:'#8FBC8F',darkslateblue:'#483D8B',darkslategray:'#2F4F4F',darkslategrey:'#2F4F4F',darkturquoise:'#00CED1',darkviolet:'#9400D3',deeppink:'#FF1493',deepskyblue:'#00BFFF',dimgray:'#696969',dimgrey:'#696969',dodgerblue:'#1E90FF',firebrick:'#B22222',floralwhite:'#FFFAF0',forestgreen:'#228B22',fuchsia:'#FF00FF',gainsboro:'#DCDCDC',ghostwhite:'#F8F8FF',gold:'#FFD700',goldenrod:'#DAA520',gray:'#808080',grey:'#808080',green:'#008000',greenyellow:'#ADFF2F',honeydew:'#F0FFF0',hotpink:'#FF69B4',indianred:'#CD5C5C',indigo:'#4B0082',ivory:'#FFFFF0',khaki:'#F0E68C',lavender:'#E6E6FA',lavenderblush:'#FFF0F5',lawngreen:'#7CFC00',lemonchiffon:'#FFFACD',lightblue:'#ADD8E6',lightcoral:'#F08080',lightcyan:'#E0FFFF',lightgoldenrodyellow:'#FAFAD2',lightgray:'#D3D3D3',lightgrey:'#D3D3D3',lightgreen:'#90EE90',lightpink:'#FFB6C1',lightsalmon:'#FFA07A',lightseagreen:'#20B2AA',lightskyblue:'#87CEFA',lightslategray:'#778899',lightslategrey:'#778899',lightsteelblue:'#B0C4DE',lightyellow:'#FFFFE0',lime:'#00FF00',limegreen:'#32CD32',linen:'#FAF0E6',magenta:'#FF00FF',maroon:'#800000',mediumaquamarine:'#66CDAA',mediumblue:'#0000CD',mediumorchid:'#BA55D3',mediumpurple:'#9370D8',mediumseagreen:'#3CB371',mediumslateblue:'#7B68EE',mediumspringgreen:'#00FA9A',mediumturquoise:'#48D1CC',mediumvioletred:'#C71585',midnightblue:'#191970',mintcream:'#F5FFFA',mistyrose:'#FFE4E1',moccasin:'#FFE4B5',navajowhite:'#FFDEAD',navy:'#000080',oldlace:'#FDF5E6',olive:'#808000',olivedrab:'#6B8E23',orange:'#FFA500',orangered:'#FF4500',orchid:'#DA70D6',palegoldenrod:'#EEE8AA',palegreen:'#98FB98',paleturquoise:'#AFEEEE',palevioletred:'#D87093',papayawhip:'#FFEFD5',peachpuff:'#FFDAB9',peru:'#CD853F',pink:'#FFC0CB',plum:'#DDA0DD',powderblue:'#B0E0E6',purple:'#800080',rebeccapurple:'#663399',red:'#FF0000',rosybrown:'#BC8F8F',royalblue:'#4169E1',saddlebrown:'#8B4513',salmon:'#FA8072',sandybrown:'#F4A460',seagreen:'#2E8B57',seashell:'#FFF5EE',sienna:'#A0522D',silver:'#C0C0C0',skyblue:'#87CEEB',slateblue:'#6A5ACD',slategray:'#708090',slategrey:'#708090',snow:'#FFFAFA',springgreen:'#00FF7F',steelblue:'#4682B4',tan:'#D2B48C',teal:'#008080',thistle:'#D8BFD8',tomato:'#FF6347',turquoise:'#40E0D0',violet:'#EE82EE',wheat:'#F5DEB3',white:'#FFFFFF',whitesmoke:'#F5F5F5',yellow:'#FFFF00',yellowgreen:'#9ACD32'},g='(?:\\+|-)?\\d+',m='(?:\\+|-)?\\d*\\.\\d+',b='(?:'+g+')|(?:'+m+')';g='('+g+')',m='('+m+')',b='('+b+')';var C=b+'%',h='\\s*?',f=new RegExp(['^hsl(a?)\\(',b,',',C,',',C,'(,(',b,'))?\\)$'].join(h)),v=new RegExp(['^rgb(a?)\\(',g,',',g,',',g,'(,(',b,'))?\\)$'].join(h)),D=new RegExp(['^rgb(a?)\\(',C,',',C,',',C,'(,(',b,'))?\\)$'].join(h)),y=[],E={},w;this.object||(this.object=function(e){function o(){}return o.prototype=e,new o});var k=this.object;w={fromObject:function(e){if(!e)return k(w);for(var a=0,n=y.length,r;a<n;a++)if(r=y[a].fromObject(e),r)return r;return k(w)},toString:function(){return this.toCSS()}};var F=null;i('RGB',{red:0,green:0,blue:0,alpha:0,getLuminance:function(){return 0.2126*this.red+0.7152*this.green+0.0722*this.blue},blend:function(e,n){e=e.toRGB(),n=a(o(n,0),1);var r=this.clone();return r.red=r.red*(1-n)+e.red*n,r.green=r.green*(1-n)+e.green*n,r.blue=r.blue*(1-n)+e.blue*n,r.alpha=r.alpha*(1-n)+e.alpha*n,r},fromObject:function(e){return e instanceof Array?this._fromRGBArray(e):'string'==typeof e?this._fromCSS(l(e)):e.hasOwnProperty('red')&&e.hasOwnProperty('green')&&e.hasOwnProperty('blue')?this._fromRGB(e):void 0},_stringParsers:[function(e){function n(n,r){var l=e.match(n);if(!l||1===!!l[1]+!!l[5])return null;var s=E.RGB();return s.red=a(1,o(0,l[2]/r)),s.green=a(1,o(0,l[3]/r)),s.blue=a(1,o(0,l[4]/r)),s.alpha=l[5]?a(o(parseFloat(l[6]),0),1):1,s}e=l(e);var r=n(v,255);return r?r:n(D,100)},function(e){var o=e.toLowerCase();if(o in u&&(e=u[o]),!!e.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/)){e=e.replace(/^#/,'');var a=e.length/3,n=p(16,a)-1,r=E.RGB();return r.red=parseInt(e.slice(0,a),16)/n,r.green=parseInt(e.slice(1*a,2*a),16)/n,r.blue=parseInt(e.slice(2*a),16)/n,r.alpha=1,r}},function(e){return'transparent'===e.toLowerCase()?F:void 0}],_fromCSS:function(e){for(var o=null,a=0,n=this._stringParsers.length;a<n;a++)if(o=this._stringParsers[a](e),o)return o},_fromRGB:function(e){var o=E.RGB();return o.red=e.red,o.green=e.green,o.blue=e.blue,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_fromRGBArray:function(e){var n=E.RGB();return n.red=o(0,a(1,e[0]/255)),n.green=o(0,a(1,e[1]/255)),n.blue=o(0,a(1,e[2]/255)),n.alpha=void 0===e[3]?1:o(0,a(1,e[3])),n},toCSSHex:function(o){o=o||2;var a=p(16,o)-1,n=['#',e(c(this.red*a).toString(16).toUpperCase(),o),e(c(this.green*a).toString(16).toUpperCase(),o),e(c(this.blue*a).toString(16).toUpperCase(),o)];return n.join('')},toCSS:function(e){if(1===this.alpha)return this.toCSSHex(e);var n=255,r=['rgba(',o(0,a(n,c(this.red*n))),',',o(0,a(n,c(this.green*n))),',',o(0,a(n,c(this.blue*n))),',',o(0,a(1,this.alpha)),')'];return r.join('')},toHSV:function(){var e=E.HSV(),n,r,l;return n=a(this.red,this.green,this.blue),r=o(this.red,this.green,this.blue),e.value=r,l=r-n,0==l?e.hue=e.saturation=0:(e.saturation=l/r,e.hue=this.red==r?(this.green-this.blue)/l:this.green==r?2+(this.blue-this.red)/l:4+(this.red-this.green)/l,e.hue=(60*e.hue+360)%360),e.alpha=this.alpha,e},toHSL:function(){return this.toHSV().toHSL()},toRGB:function(){return this.clone()}}),F=w.fromObject({red:0,blue:0,green:0,alpha:0}),i('HSV',{hue:0,saturation:0,value:1,alpha:1,shiftHue:s(function(e){var o=(this.hue+e)%360;0>o&&(o=(360+o)%360),this.hue=o}),devalueByAmount:s(function(e){this.value=a(1,o(this.value-e,0))}),devalueByRatio:s(function(e){this.value=a(1,o(this.value*(1-e),0))}),valueByAmount:s(function(e){this.value=a(1,o(this.value+e,0))}),valueByRatio:s(function(e){this.value=a(1,o(this.value*(1+e),0))}),desaturateByAmount:s(function(e){this.saturation=a(1,o(this.saturation-e,0))}),desaturateByRatio:s(function(e){this.saturation=a(1,o(this.saturation*(1-e),0))}),saturateByAmount:s(function(e){this.saturation=a(1,o(this.saturation+e,0))}),saturateByRatio:s(function(e){this.saturation=a(1,o(this.saturation*(1+e),0))}),schemeFromDegrees:function(e){for(var o=[],a=0,n=e.length,r;a<n;a++)r=this.clone(),r.hue=(this.hue+e[a])%360,o.push(r);return o},complementaryScheme:function(){return this.schemeFromDegrees([0,180])},splitComplementaryScheme:function(){return this.schemeFromDegrees([0,150,320])},splitComplementaryCWScheme:function(){return this.schemeFromDegrees([0,150,300])},splitComplementaryCCWScheme:function(){return this.schemeFromDegrees([0,60,210])},triadicScheme:function(){return this.schemeFromDegrees([0,120,240])},clashScheme:function(){return this.schemeFromDegrees([0,90,270])},tetradicScheme:function(){return this.schemeFromDegrees([0,90,180,270])},fourToneCWScheme:function(){return this.schemeFromDegrees([0,60,180,240])},fourToneCCWScheme:function(){return this.schemeFromDegrees([0,120,180,300])},fiveToneAScheme:function(){return this.schemeFromDegrees([0,115,155,205,245])},fiveToneBScheme:function(){return this.schemeFromDegrees([0,40,90,130,245])},fiveToneCScheme:function(){return this.schemeFromDegrees([0,50,90,205,320])},fiveToneDScheme:function(){return this.schemeFromDegrees([0,40,155,270,310])},fiveToneEScheme:function(){return this.schemeFromDegrees([0,115,230,270,320])},sixToneCWScheme:function(){return this.schemeFromDegrees([0,30,120,150,240,270])},sixToneCCWScheme:function(){return this.schemeFromDegrees([0,90,120,210,240,330])},neutralScheme:function(){return this.schemeFromDegrees([0,15,30,45,60,75])},analogousScheme:function(){return this.schemeFromDegrees([0,30,60,90,120,150])},fromObject:function(e){if(e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('value')){var o=E.HSV();return o.hue=e.hue,o.saturation=e.saturation,o.value=e.value,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o}return null},_normalise:function(){this.hue%=360,this.saturation=a(o(0,this.saturation),1),this.value=a(o(0,this.value)),this.alpha=a(1,o(0,this.alpha))},toRGB:function(){this._normalise();var e=E.RGB(),o,a,n,r,l;if(0===this.saturation)return e.red=this.value,e.green=this.value,e.blue=this.value,e.alpha=this.alpha,e;var s=this.hue/60;switch(o=Math.floor(s),a=s-o,n=this.value*(1-this.saturation),r=this.value*(1-this.saturation*a),l=this.value*(1-this.saturation*(1-a)),o){case 0:e.red=this.value,e.green=l,e.blue=n;break;case 1:e.red=r,e.green=this.value,e.blue=n;break;case 2:e.red=n,e.green=this.value,e.blue=l;break;case 3:e.red=n,e.green=r,e.blue=this.value;break;case 4:e.red=l,e.green=n,e.blue=this.value;break;default:e.red=this.value,e.green=n,e.blue=r;}return e.alpha=this.alpha,e},toHSL:function(){this._normalise();var e=E.HSL();e.hue=this.hue;var o=(2-this.saturation)*this.value,a=this.saturation*this.value;return o&&2-o&&(a/=1>=o?o:2-o),o/=2,e.saturation=a,e.lightness=o,e.alpha=this.alpha,e},toHSV:function(){return this.clone()}}),i('HSL',{hue:0,saturation:0,lightness:0,alpha:1,darkenByAmount:s(function(e){this.lightness=a(1,o(this.lightness-e,0))}),darkenByRatio:s(function(e){this.lightness=a(1,o(this.lightness*(1-e),0))}),lightenByAmount:s(function(e){this.lightness=a(1,o(this.lightness+e,0))}),lightenByRatio:s(function(e){this.lightness=a(1,o(this.lightness*(1+e),0))}),fromObject:function(e){return'string'==typeof e?this._fromCSS(e):e.hasOwnProperty('hue')&&e.hasOwnProperty('saturation')&&e.hasOwnProperty('lightness')?this._fromHSL(e):void 0},_fromCSS:function(e){var n=l(e).match(f);if(!n||1===!!n[1]+!!n[5])return null;var r=E.HSL();return r.hue=(n[2]%360+360)%360,r.saturation=o(0,a(parseInt(n[3],10)/100,1)),r.lightness=o(0,a(parseInt(n[4],10)/100,1)),r.alpha=n[5]?o(0,a(1,parseFloat(n[6]))):1,r},_fromHSL:function(e){var o=E.HSL();return o.hue=e.hue,o.saturation=e.saturation,o.lightness=e.lightness,o.alpha=e.hasOwnProperty('alpha')?e.alpha:1,o},_normalise:function(){this.hue=(this.hue%360+360)%360,this.saturation=a(o(0,this.saturation),1),this.lightness=a(o(0,this.lightness)),this.alpha=a(1,o(0,this.alpha))},toHSL:function(){return this.clone()},toHSV:function(){this._normalise();var e=E.HSV();e.hue=this.hue;var o=2*this.lightness,a=this.saturation*(1>=o?o:2-o);return e.value=(o+a)/2,e.saturation=2*a/(o+a)||0,e.alpha=this.alpha,e},toRGB:function(){return this.toHSV().toRGB()}}),d.isValid=function(e){var o=d(e),a=0,n;for(n in o)o.hasOwnProperty(n)&&a++;return 0<a},n.brehaut.Color=d}.call(n.brehaut),e.exports=n.brehaut.Color},"./node_modules/deepmerge/dist/es.js":function(e,o){'use strict';function a(e){return!!e&&'object'===('undefined'==typeof e?'undefined':p(e))}function n(e){var o=Object.prototype.toString.call(e);return'[object RegExp]'===o||'[object Date]'===o||r(e)}function r(e){return e.$$typeof===m}function l(e){return Array.isArray(e)?[]:{}}function s(e,o){var a=!o||!1!==o.clone;return a&&u(e)?c(l(e),e,o):e}function i(e,o,a){return e.concat(o).map(function(e){return s(e,a)})}function d(e,o,a){var n={};return u(e)&&Object.keys(e).forEach(function(o){n[o]=s(e[o],a)}),Object.keys(o).forEach(function(r){n[r]=u(o[r])&&e[r]?c(e[r],o[r],a):s(o[r],a)}),n}function c(e,o,a){var n=Array.isArray(o),r=Array.isArray(e);if(!(n===r))return s(o,a);if(n){var l=(a||{arrayMerge:i}).arrayMerge||i;return l(e,o,a)}return d(e,o,a)}var p='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},u=function(e){return a(e)&&!n(e)},g='function'==typeof Symbol&&Symbol.for,m=g?Symbol.for('react.element'):60103;c.all=function(e,o){if(!Array.isArray(e))throw new Error('first argument should be an array');return e.reduce(function(e,a){return c(e,a,o)},{})};o.a=c},"./node_modules/fourpan/jquery.fourpan.js":function(){var e=Math.max;(function(o){'use strict';o.fourpan||(o.fourpan=function(a,n){var r=this;if(!o.fourpan.initiated){var l;a?(l=o(a).find('html'),!l.length&&(l=o(a).closest('html'))):l=o('html');var s='fourpan-overlays',i=!1,d={},c=o.extend({},o.fourpan.defaultOptions,n),p=s+' '+c.overlay_classes,u=o('<div class="forpan-close-button">Close</div>');u.css({position:'absolute',"z-index":'10000',"font-size":'16px',background:'rgb(213, 78, 33)',"border-radius":'25px',padding:'8px 15px',color:'white',display:'none'}).on('mouseenter',function(){o(this).css({"background-color":'#f95b26',cursor:'pointer'})}).on('mouseleave',function(){o(this).css({"background-color":'rgb(213, 78, 33)',cursor:'default'})}),l.append(u);var g=function(){d[c.id_prefix+'-top']={},d[c.id_prefix+'-right']={},d[c.id_prefix+'-bottom']={},d[c.id_prefix+'-left']={},o.fourpan.initiated=!0,m(),C()},m=function(){o.each(d,function(e){var o=l.find('#'+e);o.length?d[e]=o:(o=b(e),d[e]=o)})},b=function(e){var a=o('<div id="'+e+'" class="'+p+'"></div>');return l.append(a),a},C=function(){l.find('.'+s).add(u).on('click',h),l.keyup(function(o){27===o.keyCode&&h()})},h=function(){l.find('.'+s).add(u).fadeOut(),i=!1,c.deactivate(),D()},f=function(){var e=l.find('.'+s);e.css({position:'absolute',top:'0',right:'0',bottom:'0',left:'0',"z-index":'9999',"background-color":c.color}),i=!0};o.fourpan.dismiss=function(){h()};var v=function(){l.find('body').on('DOMSubtreeModified.fourpan',function(e){r.time=e.timeStamp,setTimeout(function(){var e=new Date().getTime();(!r.last_event||r.last_event<e-250)&&(r.last_event=e,o.fourpan.refresh())},250)})},D=function(){l.find('body').off('.fourpan')},y=function(o,a,n,r){0<a&&u.hide();var i=o[0].getBoundingClientRect();d[c.id_prefix+'-top'].stop().animate({height:e(i.top-n,0)},a),d[c.id_prefix+'-right'].stop().animate({top:e(i.top-n,0),left:i.left+o.outerWidth()+n},a),d[c.id_prefix+'-bottom'].stop().animate({top:i.top+o.outerHeight()+n,width:i.left+o.outerWidth()+n},a);var p=e(i.top-n,0)-(i.top-n);d[c.id_prefix+'-left'].stop().animate({width:e(i.left-n,0),top:e(i.top-n,0),height:o.outerHeight()+2*n-p},{duration:a,complete:function(){r&&u.css({left:i.left+(o.outerWidth()+n)/2-35,top:i.top+o.outerHeight()+n+20}).fadeIn(),l.find('.'+s).fadeIn()}})};return o.fourpan.highlight=function(e){var a;if(e instanceof jQuery){if(1<e.length||!e.length)return!1;a=e}else a=o(e);return 1===a.length&&a.is(':visible')?(o.fourpan.$recent_highlight=a,i||(f(),c.activate(),v(),l.find('.'+s).hide()),y(a,c.transition_speed,c.element_padding,!0),!0):(h(),!1)},o.fourpan.refresh=function(){i&&(l.find(o.fourpan.$recent_highlight).length?(y(o.fourpan.$recent_highlight,0,c.element_padding,!0),r.last_event=new Date().getTime()):h())},g(),l}},o.fourpan.defaultOptions={id_prefix:'fourpan-overlay',overlay_classes:'',color:'rgba(0,0,0,.7)',transition_speed:1e3,element_padding:20,activate:function(){},deactivate:function(){}},o.fn.fourpan=function(e){return this.each(function(){new o.fourpan(this,e)})})})(jQuery)},"./node_modules/google-material-color-palette-json/lib/palette.js":function(e){e.exports={red:{shade_50:'#ffebee',shade_100:'#ffcdd2',shade_200:'#ef9a9a',shade_300:'#e57373',shade_400:'#ef5350',shade_500:'#f44336',shade_600:'#e53935',shade_700:'#d32f2f',shade_800:'#c62828',shade_900:'#b71c1c',shade_A100:'#ff8a80',shade_A200:'#ff5252',shade_A400:'#ff1744',shade_A700:'#d50000'},pink:{shade_50:'#fce4ec',shade_100:'#f8bbd0',shade_200:'#f48fb1',shade_300:'#f06292',shade_400:'#ec407a',shade_500:'#e91e63',shade_600:'#d81b60',shade_700:'#c2185b',shade_800:'#ad1457',shade_900:'#880e4f',shade_A100:'#ff80ab',shade_A200:'#ff4081',shade_A400:'#f50057',shade_A700:'#c51162'},purple:{shade_50:'#f3e5f5',shade_100:'#e1bee7',shade_200:'#ce93d8',shade_300:'#ba68c8',shade_400:'#ab47bc',shade_500:'#9c27b0',shade_600:'#8e24aa',shade_700:'#7b1fa2',shade_800:'#6a1b9a',shade_900:'#4a148c',shade_A100:'#ea80fc',shade_A200:'#e040fb',shade_A400:'#d500f9',shade_A700:'#aa00ff'},deepPurple:{shade_50:'#ede7f6',shade_100:'#d1c4e9',shade_200:'#b39ddb',shade_300:'#9575cd',shade_400:'#7e57c2',shade_500:'#673ab7',shade_600:'#5e35b1',shade_700:'#512da8',shade_800:'#4527a0',shade_900:'#311b92',shade_A100:'#b388ff',shade_A200:'#7c4dff',shade_A400:'#651fff',shade_A700:'#6200ea'},indigo:{shade_50:'#e8eaf6',shade_100:'#c5cae9',shade_200:'#9fa8da',shade_300:'#7986cb',shade_400:'#5c6bc0',shade_500:'#3f51b5',shade_600:'#3949ab',shade_700:'#303f9f',shade_800:'#283593',shade_900:'#1a237e',shade_A100:'#8c9eff',shade_A200:'#536dfe',shade_A400:'#3d5afe',shade_A700:'#304ffe'},blue:{shade_50:'#e3f2fd',shade_100:'#bbdefb',shade_200:'#90caf9',shade_300:'#64b5f6',shade_400:'#42a5f5',shade_500:'#2196f3',shade_600:'#1e88e5',shade_700:'#1976d2',shade_800:'#1565c0',shade_900:'#0d47a1',shade_A100:'#82b1ff',shade_A200:'#448aff',shade_A400:'#2979ff',shade_A700:'#2962ff'},lightBlue:{shade_50:'#e1f5fe',shade_100:'#b3e5fc',shade_200:'#81d4fa',shade_300:'#4fc3f7',shade_400:'#29b6f6',shade_500:'#03a9f4',shade_600:'#039be5',shade_700:'#0288d1',shade_800:'#0277bd',shade_900:'#01579b',shade_A100:'#80d8ff',shade_A200:'#40c4ff',shade_A400:'#00b0ff',shade_A700:'#0091ea'},cyan:{shade_50:'#e0f7fa',shade_100:'#b2ebf2',shade_200:'#80deea',shade_300:'#4dd0e1',shade_400:'#26c6da',shade_500:'#00bcd4',shade_600:'#00acc1',shade_700:'#0097a7',shade_800:'#00838f',shade_900:'#006064',shade_A100:'#84ffff',shade_A200:'#18ffff',shade_A400:'#00e5ff',shade_A700:'#00b8d4'},teal:{shade_50:'#e0f2f1',shade_100:'#b2dfdb',shade_200:'#80cbc4',shade_300:'#4db6ac',shade_400:'#26a69a',shade_500:'#009688',shade_600:'#00897b',shade_700:'#00796b',shade_800:'#00695c',shade_900:'#004d40',shade_A100:'#a7ffeb',shade_A200:'#64ffda',shade_A400:'#1de9b6',shade_A700:'#00bfa5'},green:{shade_50:'#e8f5e9',shade_100:'#c8e6c9',shade_200:'#a5d6a7',shade_300:'#81c784',shade_400:'#66bb6a',shade_500:'#4caf50',shade_600:'#43a047',shade_700:'#388e3c',shade_800:'#2e7d32',shade_900:'#1b5e20',shade_A100:'#b9f6ca',shade_A200:'#69f0ae',shade_A400:'#00e676',shade_A700:'#00c853'},lightGreen:{shade_50:'#f1f8e9',shade_100:'#dcedc8',shade_200:'#c5e1a5',shade_300:'#aed581',shade_400:'#9ccc65',shade_500:'#8bc34a',shade_600:'#7cb342',shade_700:'#689f38',shade_800:'#558b2f',shade_900:'#33691e',shade_A100:'#ccff90',shade_A200:'#b2ff59',shade_A400:'#76ff03',shade_A700:'#64dd17'},lime:{shade_50:'#f9fbe7',shade_100:'#f0f4c3',shade_200:'#e6ee9c',shade_300:'#dce775',shade_400:'#d4e157',shade_500:'#cddc39',shade_600:'#c0ca33',shade_700:'#afb42b',shade_800:'#9e9d24',shade_900:'#827717',shade_A100:'#f4ff81',shade_A200:'#eeff41',shade_A400:'#c6ff00',shade_A700:'#aeea00'},yellow:{shade_50:'#fffde7',shade_100:'#fff9c4',shade_200:'#fff59d',shade_300:'#fff176',shade_400:'#ffee58',shade_500:'#ffeb3b',shade_600:'#fdd835',shade_700:'#fbc02d',shade_800:'#f9a825',shade_900:'#f57f17',shade_A100:'#ffff8d',shade_A200:'#ffff00',shade_A400:'#ffea00',shade_A700:'#ffd600'},amber:{shade_50:'#fff8e1',shade_100:'#ffecb3',shade_200:'#ffe082',shade_300:'#ffd54f',shade_400:'#ffca28',shade_500:'#ffc107',shade_600:'#ffb300',shade_700:'#ffa000',shade_800:'#ff8f00',shade_900:'#ff6f00',shade_A100:'#ffe57f',shade_A200:'#ffd740',shade_A400:'#ffc400',shade_A700:'#ffab00'},orange:{shade_50:'#fff3e0',shade_100:'#ffe0b2',shade_200:'#ffcc80',shade_300:'#ffb74d',shade_400:'#ffa726',shade_500:'#ff9800',shade_600:'#fb8c00',shade_700:'#f57c00',shade_800:'#ef6c00',shade_900:'#e65100',shade_A100:'#ffd180',shade_A200:'#ffab40',shade_A400:'#ff9100',shade_A700:'#ff6d00'},deepOrange:{shade_50:'#fbe9e7',shade_100:'#ffccbc',shade_200:'#ffab91',shade_300:'#ff8a65',shade_400:'#ff7043',shade_500:'#ff5722',shade_600:'#f4511e',shade_700:'#e64a19',shade_800:'#d84315',shade_900:'#bf360c',shade_A100:'#ff9e80',shade_A200:'#ff6e40',shade_A400:'#ff3d00',shade_A700:'#dd2c00'},brown:{shade_50:'#efebe9',shade_100:'#d7ccc8',shade_200:'#bcaaa4',shade_300:'#a1887f',shade_400:'#8d6e63',shade_500:'#795548',shade_600:'#6d4c41',shade_700:'#5d4037',shade_800:'#4e342e',shade_900:'#3e2723'},grey:{shade_50:'#fafafa',shade_100:'#f5f5f5',shade_200:'#eeeeee',shade_300:'#e0e0e0',shade_400:'#bdbdbd',shade_500:'#9e9e9e',shade_600:'#757575',shade_700:'#616161',shade_800:'#424242',shade_900:'#212121'},blueGrey:{shade_50:'#eceff1',shade_100:'#cfd8dc',shade_200:'#b0bec5',shade_300:'#90a4ae',shade_400:'#78909c',shade_500:'#607d8b',shade_600:'#546e7a',shade_700:'#455a64',shade_800:'#37474f',shade_900:'#263238'},black:'#000000',white:'#FFFFFF'}},"./node_modules/istyping/jquery.is-typing.js":function(){(function(e){e.fn.is_typing_boldgrid=function(){var o=this,a=e(this);jQuery.Event('end_typing_boldgrid'),jQuery.Event('start_typing_boldgrid');this.is_typing=!1;var n;return e(this).on('keydown is-typing-keydown',function(){o.is_typing||(o.is_typing=!0,a.trigger('start_typing_boldgrid')),n=new Date().getTime();setTimeout(function(e){n===e&&(o.is_typing=!1,a.trigger('end_typing_boldgrid'))},1e3,n)}),this}})(jQuery)},"./node_modules/jquery-slimscroll/jquery.slimscroll.js":function(){var e=Math.max,a=Math.min;(function(n){n.fn.extend({slimScroll:function(r){var l=n.extend({width:'auto',height:'250px',size:'7px',color:'#000',position:'right',distance:'1px',start:'top',opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:'#333',railOpacity:.2,railDraggable:!0,railClass:'slimScrollRail',barClass:'slimScrollBar',wrapperClass:'slimScrollDiv',allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:'7px',railBorderRadius:'7px'},r);return this.each(function(){function o(o){if(C){var o=o||window.event,e=0;o.wheelDelta&&(e=-o.wheelDelta/120),o.detail&&(e=o.detail/3);var a=o.target||o.srcTarget||o.srcElement;n(a).closest('.'+l.wrapperClass).is(b.parent())&&s(e,!0),o.preventDefault&&!m&&o.preventDefault(),m||(o.returnValue=!1)}}function s(o,n,r){m=!1;var s=o,i=b.outerHeight()-$.outerHeight();if(n&&(s=parseInt($.css('top'))+o*parseInt(l.wheelStep)/100*$.outerHeight(),s=a(e(s,0),i),s=0<o?Math.ceil(s):Math.floor(s),$.css({top:s+'px'})),F=parseInt($.css('top'))/(b.outerHeight()-$.outerHeight()),s=F*(b[0].scrollHeight-b.outerHeight()),r){s=o;var d=s/b[0].scrollHeight*b.outerHeight();d=a(e(d,0),i),$.css({top:d+'px'})}b.scrollTop(s),b.trigger('slimscrolling',~~s),c(),p()}function i(e){window.addEventListener?(e.addEventListener('DOMMouseScroll',o,!1),e.addEventListener('mousewheel',o,!1)):document.attachEvent('onmousewheel',o)}function d(){E=e(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),g),$.css({height:E+'px'});var o=E==b.outerHeight()?'none':'block';$.css({display:o})}function c(){if(d(),clearTimeout(D),F!=~~F)m=!1;else if(m=l.allowPageScroll,w!=F){var e=0==~~F?'top':'bottom';b.trigger('slimscroll',e)}return w=F,E>=b.outerHeight()?void(m=!0):void($.stop(!0,!0).fadeIn('fast'),l.railVisible&&O.stop(!0,!0).fadeIn('fast'))}function p(){l.alwaysVisible||(D=setTimeout(function(){l.disableFadeOut&&C||f||v||($.fadeOut('slow'),O.fadeOut('slow'))},1e3))}var u='<div></div>',g=30,m=!1,b=n(this),C,f,v,D,y,E,F,w;if(b.parent().hasClass(l.wrapperClass)){var k=b.scrollTop();if($=b.siblings('.'+l.barClass),O=b.siblings('.'+l.railClass),d(),n.isPlainObject(r)){if('height'in r&&'auto'==r.height){b.parent().css('height','auto'),b.css('height','auto');var B=b.parent().parent().height();b.parent().css('height',B),b.css('height',B)}else if('height'in r){var A=r.height;b.parent().css('height',A),b.css('height',A)}if('scrollTo'in r)k=parseInt(l.scrollTo);else if('scrollBy'in r)k+=parseInt(l.scrollBy);else if('destroy'in r)return $.remove(),O.remove(),void b.unwrap();s(k,!1,!0)}return}if(!(n.isPlainObject(r)&&'destroy'in r)){l.height='auto'==l.height?b.parent().height():l.height;var h=n(u).addClass(l.wrapperClass).css({position:'relative',overflow:'hidden',width:l.width,height:l.height});b.css({overflow:'hidden',width:l.width,height:l.height});var O=n(u).addClass(l.railClass).css({width:l.size,height:'100%',position:'absolute',top:0,display:l.alwaysVisible&&l.railVisible?'block':'none',"border-radius":l.railBorderRadius,background:l.railColor,opacity:l.railOpacity,zIndex:90}),$=n(u).addClass(l.barClass).css({background:l.color,width:l.size,position:'absolute',top:0,opacity:l.opacity,display:l.alwaysVisible?'block':'none',"border-radius":l.borderRadius,BorderRadius:l.borderRadius,MozBorderRadius:l.borderRadius,WebkitBorderRadius:l.borderRadius,zIndex:99}),R='right'==l.position?{right:l.distance}:{left:l.distance};O.css(R),$.css(R),b.wrap(h),b.parent().append($),b.parent().append(O),l.railDraggable&&$.bind('mousedown',function(o){var e=n(document);return v=!0,t=parseFloat($.css('top')),pageY=o.pageY,e.bind('mousemove.slimscroll',function(o){currTop=t+o.pageY-pageY,$.css('top',currTop),s(0,$.position().top,!1)}),e.bind('mouseup.slimscroll',function(){v=!1,p(),e.unbind('.slimscroll')}),!1}).bind('selectstart.slimscroll',function(o){return o.stopPropagation(),o.preventDefault(),!1}),O.hover(function(){c()},function(){p()}),$.hover(function(){f=!0},function(){f=!1}),b.hover(function(){C=!0,c(),p()},function(){C=!1,p()}),b.bind('touchstart',function(o){o.originalEvent.touches.length&&(y=o.originalEvent.touches[0].pageY)}),b.bind('touchmove',function(o){if(m||o.originalEvent.preventDefault(),o.originalEvent.touches.length){var e=(y-o.originalEvent.touches[0].pageY)/l.touchScrollStep;s(e,!0),y=o.originalEvent.touches[0].pageY}}),d(),'bottom'===l.start?($.css({top:b.outerHeight()-$.outerHeight()}),s(0,!0)):'top'!==l.start&&(s(n(l.start).position().top,null,!0),!l.alwaysVisible&&$.hide()),i(this)}}),this}}),n.fn.extend({slimscroll:n.fn.slimScroll})})(jQuery)},"./node_modules/jquery-ui-dist/jquery-ui.structure.css":function(){},"./node_modules/jquery-ui-dist/jquery-ui.theme.css":function(){},"./node_modules/raw-loader/index.js!./node_modules/@boldgrid/controls/src/controls/color/scss/utilities/color-classes.sass":function(e){e.exports='/**\n * Text Contrast\n * Compares contrast of a given color to the light/dark arguments and returns whichever is most "contrasty"\n */\n@function text-contrast( $color ) {\n\t@if $color == null {\n\t\t@return null;\n\t}\n\t@else {\n\t\t$color-brightness: brightness($color);\n\t\t$light-text-brightness: brightness($light_text);\n\t\t$dark-text-brightness: brightness($dark_text);\n\n\t\t@if (abs($color-brightness - $light-text-brightness) > abs($color-brightness - $dark-text-brightness)) {\n\t\t\t@return $light_text;\n\t\t} @else {\n\t\t\t@return $dark_text;\n\t\t}\n\t}\n}\n@function brightness( $color ) {\n\t@return ((red($color) * .299) + (green($color) * .587) + (blue($color) * .114)) / 255 * 100%;\n}\n\n$ubtn-colors: ();\n@if variable-exists( palette-primary_1 ) {\n\t$text-contrast-palette-primary_1: text-contrast( $palette-primary_1 );\n\t.color1-text-default { color: $text-contrast-palette-primary_1; }\n\t.color-1-text-contrast {\n\t\tcolor: $text-contrast-palette-primary_1 ! important;\n\t}\n\t.color-1-text-contrast-hover {\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: $text-contrast-palette-primary_1 ! important;\n\t\t}\n\t}\n\t$ubtn-colors: append($ubtn-colors,(\'color-1\' $palette-primary_1 $text-contrast-palette-primary_1));\n}\n@if variable-exists( palette-primary_2 ) {\n\t$text-contrast-palette-primary_2: text-contrast( $palette-primary_2 );\n\t.color2-text-default { color: $text-contrast-palette-primary_2; }\n\t.color-2-text-contrast {\n\t\tcolor: $text-contrast-palette-primary_2 ! important;\n\t}\n\t.color-2-text-contrast-hover {\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tcolor: $text-contrast-palette-primary_2 ! important;\n\t\t}\n\t}\n\t$ubtn-colors: append($ubtn-colors,(\'color-2\' $palette-primary_2 $text-contrast-palette-primary_2));\n}\n@if variable-exists( palette-primary_3 ) {\n\t$text-contrast-palette-primary_3: text-contrast( $palette-primary_3 );\n\t.color3-text-default { color: $text-contrast-palette-primary_3; }\n\t.color-3-text-contrast,\n\t.color-3-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_3 ! important;\n\t}\n\t@if $text-contrast-palette-primary_3 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-3\' $palette-primary_3 $text-contrast-palette-primary_3));\n\t}\n}\n@if variable-exists( palette-primary_4 ) {\n\t$text-contrast-palette-primary_4: text-contrast( $palette-primary_4 );\n\t.color4-text-default { color: $text-contrast-palette-primary_4; }\n\t.color-4-text-contrast,\n\t.color-4-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_4 ! important;\n\t}\n\t@if $text-contrast-palette-primary_4 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-4\' $palette-primary_4 $text-contrast-palette-primary_4));\n\t}\n}\n@if variable-exists( palette-primary_5 ) {\n\t$text-contrast-palette-primary_5: text-contrast( $palette-primary_5 );\n\t.color5-text-default { color: $text-contrast-palette-primary_5; }\n\t.color-5-text-contrast,\n\t.color-5-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary_5 ! important;\n\t}\n\t@if $text-contrast-palette-primary_5 != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'color-5\' $palette-primary_5 $text-contrast-palette-primary_5));\n\t}\n}\n@if variable-exists( palette-primary-neutral-color ) {\n\t$text-contrast-palette-primary-neutral-color: text-contrast( $palette-primary-neutral-color );\n\t.color-neutral-text-default { color: $text-contrast-palette-primary-neutral-color; }\n\t.color-neutral-text-contrast,\n\t.color-neutral-text-contrast-hover:hover {\n\t\tcolor: $text-contrast-palette-primary-neutral-color ! important;\n\t}\n\t@if $text-contrast-palette-primary-neutral-color != null {\n\t\t$ubtn-colors: append($ubtn-colors,(\'neutral-color\' $palette-primary-neutral-color $text-contrast-palette-primary-neutral-color));\n\t}\n}\n\n/*create single css classes to apply palettes on universal elements*/\n$names: color background background-color border-color;\n@for $i from 1 through length( $names ) {\n\t@for $color from 1 through length( $colors ) {\n\t\t.color#{$color}-#{nth( $names, $i )} { #{nth( $names, $i )}: #{nth($colors, $color)} ! important; }\n\t\t.color#{$color}-#{nth($names, $i)}-hover { &:focus, &:hover { #{nth( $names, $i )}: #{nth($colors, $color)} ! important; } }\n\t}\n\t@if variable-exists( palette-primary-neutral-color ) {\n\t\t.color-neutral-#{nth($names, $i)} { #{nth( $names, $i )}: $palette-primary-neutral-color !important; }\n\t}\n}\n'},"./node_modules/sass.js/dist/sass.js":function(e,o){(function(a){var 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},r,l,s;(function(a,n){'use strict';l=[],r=n,s='function'==typeof r?r.apply(o,l):r,!(void 0!==s&&(e.exports=s))})(this,function(){function e(e){if(!e&&!l)throw new Error('Sass needs to be initialized with the URL of sass.worker.js - either via Sass.setWorkerUrl(url) or by new Sass(url)');for(var o in l||(l=e),this)'function'==typeof this[o]&&(this[o]=this[o].bind(this));this._callbacks={},this._worker=new Worker(e||l),this._worker.addEventListener('message',this._handleWorkerMessage,!1)}var o=function(){'use strict';return a;var e=document.currentScript||function(){var e=document.getElementsByTagName('script');return e[e.length-1]}(),o=e&&e.src}()||'.';var n=function(){},r=[].slice,l;e.setWorkerUrl=function(e){l=e},e.style={nested:0,expanded:1,compact:2,compressed:3},e.comments={none:0,default:1},e.prototype={style:e.style,comments:e.comments,destroy:function(){this._worker&&this._worker.terminate(),this._worker=null,this._callbacks={},this._importer=null},_handleWorkerMessage:function(e){e.data.command&&this[e.data.command](e.data.args),this._callbacks[e.data.id]&&this._callbacks[e.data.id](e.data.result),delete this._callbacks[e.data.id]},_dispatch:function(e,o){if(!this._worker)throw new Error('Sass worker has been terminated');e.id='cb'+Date.now()+Math.random(),this._callbacks[e.id]=o,this._worker.postMessage(e)},_importerInit:function(e){var o=function(e){this._worker.postMessage({command:'_importerFinish',args:[e]})}.bind(this);try{this._importer(e[0],o)}catch(a){throw o({error:a.message}),a}},importer:function(e,o){if('function'!=typeof e&&null!==e)throw new Error('importer callback must either be a function or null');this._importer=e,this._worker.postMessage({command:'importer',args:[!!e]}),o&&o()}};return'writeFile readFile listFiles removeFile clearFiles lazyFiles preloadFiles options compile compileFile'.split(' ').forEach(function(o){e.prototype[o]=function(){var e=r.call(arguments,-1)[0],a=r.call(arguments,0,-1);'function'!=typeof e&&(a.push(e),e=n),this._dispatch({command:o,args:a},e)}}),e.setWorkerUrl(o+'/sass.worker.js'),e})}).call(o,'/')},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/background-color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M89.691,49.851c0.056-0.609-0.127-1.217-0.523-1.688L55.216,7.299c-0.813-0.983-2.271-1.114-3.256-0.302l-6.685,5.56 c-13.468-2.367-24.385,1.029-26.057,8.193c-0.782,3.392,0.74,6.969,3.922,10.195L1.917,48.582 c-0.985,0.817-1.114,2.271-0.301,3.254L35.568,92.7c0.396,0.478,0.963,0.765,1.575,0.823c0.064,0.006,0.139,0.012,0.203,0.012 c0.547,0,1.061-0.188,1.479-0.531l50.045-41.585C89.337,51.022,89.64,50.46,89.691,49.851z M23.718,21.793 c0.804-3.431,7.467-5.982,16.713-5.22l-13.723,11.41C24.436,25.793,23.311,23.581,23.718,21.793z M83.342,50.004L7.38,50.049 l19.381-16.103c3.889,2.722,9.021,4.992,14.944,6.363c3.718,0.869,7.406,1.289,10.832,1.289c3.439,0,6.567-0.466,9.269-1.302 c0.419,0.316,0.87,0.597,1.402,0.757c2.42,0.738,4.982-0.631,5.724-3.052c0.737-2.423-0.621-4.987-3.056-5.725 c-2.421-0.736-4.982,0.63-5.72,3.054c-0.077,0.229-0.033,0.46-0.064,0.693c-4.554,1.306-10.907,1.281-17.346-0.211 c-4.972-1.155-9.116-2.944-12.29-4.936l22.682-18.848l31.004,37.311L83.342,50.004z M90.263,50.445c0,0-8.66,19.28-8.66,24.057 c0,4.779,3.879,8.657,8.66,8.657c4.785,0,8.655-3.878,8.655-8.657C98.918,69.725,90.263,50.445,90.263,50.445z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/block-align.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><rect x="86.6" y="9.1" width="8.4" height="81.8"></rect><rect x="29.6" y="54.2" width="48.5" height="26.2"></rect><rect x="5" y="19.5" width="73.1" height="26.2"></rect></g></g></switch></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border-radius.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M72.5,50V40c0-6.9-5.6-12.5-12.5-12.5H50v-20C50,6.1,48.9,5,47.5,5h-40C6.1,5,5,6.1,5,7.5v40C5,48.9,6.1,50,7.5,50h20v10 c0,6.9,5.6,12.5,12.5,12.5h10C50,84.9,60.1,95,72.5,95S95,84.9,95,72.5S84.9,50,72.5,50z M27.5,40v5H10V10h35v17.5h-5 C33.1,27.5,27.5,33.1,27.5,40z M40,67.5c-4.1,0-7.5-3.4-7.5-7.5V40c0-4.1,3.4-7.5,7.5-7.5h20c4.1,0,7.5,3.4,7.5,7.5v10.6 c-8.4,1.9-15,8.5-16.9,16.9H40z M72.5,90C62.9,90,55,82.1,55,72.5S62.9,55,72.5,55S90,62.9,90,72.5S82.1,90,72.5,90z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/border.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125" x="0px" y="0px"><g data-name="Layer 2"><path d="M92.087,85.3913a1.91314,1.91314,0,0,0-1.913,1.913v2.86957H87.30435a1.913,1.913,0,1,0,0,3.82609H92.087A1.91314,1.91314,0,0,0,94,92.087V87.30435A1.91314,1.91314,0,0,0,92.087,85.3913Z"></path><path d="M73.85,94h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85A1.913,1.913,0,0,0,73.85,94Z"></path><path d="M60.3961,94h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M33.48832,94H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M46.94221,94h6.11557a1.913,1.913,0,1,0,0-3.82609H51.913V87.30435a1.913,1.913,0,1,0-3.82609,0v2.86957H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.14954,90.17391H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M7.913,94h4.78261a1.913,1.913,0,1,0,0-3.82609H9.82609V87.30435a1.913,1.913,0,1,0-3.82609,0V92.087A1.91314,1.91314,0,0,0,7.913,94Z"></path><path d="M7.913,81.87908a1.91314,1.91314,0,0,0,1.913-1.913V73.85046a1.913,1.913,0,1,0-3.82609,0V79.966A1.91314,1.91314,0,0,0,7.913,81.87908Z"></path><path d="M7.913,68.42519a1.91314,1.91314,0,0,0,1.913-1.913V60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,68.42519Z"></path><path d="M7.913,54.97036a1.91314,1.91314,0,0,0,1.913-1.913V51.913h2.86957a1.913,1.913,0,1,0,0-3.82609H9.82609V46.94175a1.913,1.913,0,0,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,54.97036Z"></path><path d="M7.913,41.51647a1.91314,1.91314,0,0,0,1.913-1.913V33.48786a1.913,1.913,0,1,0-3.82609,0v6.11557A1.91314,1.91314,0,0,0,7.913,41.51647Z"></path><path d="M7.913,28.06258a1.91314,1.91314,0,0,0,1.913-1.913V20.034A1.913,1.913,0,1,0,6,20.034v6.11557A1.91314,1.91314,0,0,0,7.913,28.06258Z"></path><path d="M7.913,14.6087a1.91314,1.91314,0,0,0,1.913-1.913V9.82609h2.86957a1.913,1.913,0,1,0,0-3.82609H7.913A1.91314,1.91314,0,0,0,6,7.913v4.78261A1.91314,1.91314,0,0,0,7.913,14.6087Z"></path><path d="M33.48832,9.82609H39.6039A1.913,1.913,0,1,0,39.6039,6H33.48832a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M26.15,6H20.03443a1.913,1.913,0,1,0,0,3.82609H26.15A1.913,1.913,0,1,0,26.15,6Z"></path><path d="M60.3961,9.82609h6.11557a1.913,1.913,0,1,0,0-3.82609H60.3961a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M73.85046,9.82609h6.11511a1.913,1.913,0,1,0,0-3.82609H73.85046a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M92.087,6H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v2.86957a1.913,1.913,0,1,0,3.82609,0V7.913A1.91314,1.91314,0,0,0,92.087,6Z"></path><path d="M92.087,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,92.087,31.57481Z"></path><path d="M92.087,18.12092a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,1,0,3.82609,0V20.034A1.91314,1.91314,0,0,0,92.087,18.12092Z"></path><path d="M92.087,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966A1.913,1.913,0,1,0,94,79.966V73.85046A1.91314,1.91314,0,0,0,92.087,71.93742Z"></path><path d="M92.087,58.48353a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V60.39657A1.91314,1.91314,0,0,0,92.087,58.48353Z"></path><path d="M92.087,45.02964a1.91314,1.91314,0,0,0-1.913,1.913V48.087H87.30435a1.913,1.913,0,1,0,0,3.82609h2.86957v1.14521a1.913,1.913,0,0,0,3.82609,0V46.94268A1.91314,1.91314,0,0,0,92.087,45.02964Z"></path><path d="M51.913,9.82609h1.14474a1.913,1.913,0,1,0,0-3.82609H46.94221a1.913,1.913,0,1,0,0,3.82609H48.087v2.86957a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M51.913,20.034a1.913,1.913,0,1,0-3.82609,0v6.11557a1.913,1.913,0,1,0,3.82609,0Z"></path><path d="M50,31.57481a1.91314,1.91314,0,0,0-1.913,1.913v6.11557a1.913,1.913,0,0,0,3.82609,0V33.48786A1.91314,1.91314,0,0,0,50,31.57481Z"></path><path d="M50,71.93742a1.91314,1.91314,0,0,0-1.913,1.913V79.966a1.913,1.913,0,1,0,3.82609,0V73.85046A1.91314,1.91314,0,0,0,50,71.93742Z"></path><path d="M51.913,60.39657a1.913,1.913,0,0,0-3.82609,0v6.11557a1.913,1.913,0,0,0,3.82609,0Z"></path><path d="M73.85,51.913h6.11557a1.913,1.913,0,1,0,0-3.82609H73.85a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M60.3961,51.913h6.11557a1.913,1.913,0,0,0,0-3.82609H60.3961a1.913,1.913,0,0,0,0,3.82609Z"></path><path d="M26.14954,48.087H20.03443a1.913,1.913,0,0,0,0,3.82609h6.11511a1.913,1.913,0,1,0,0-3.82609Z"></path><path d="M46.94221,51.913H48.087v1.14521a1.913,1.913,0,0,0,3.82609,0V51.913h1.14474a1.913,1.913,0,1,0,0-3.82609H51.913V46.94268a1.913,1.913,0,1,0-3.82609,0V48.087H46.94221a1.913,1.913,0,1,0,0,3.82609Z"></path><path d="M33.48832,51.913H39.6039a1.913,1.913,0,0,0,0-3.82609H33.48832a1.913,1.913,0,0,0,0,3.82609Z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/box-shadow.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 30 37.5" xml:space="preserve"><g transform="translate(-30 -740)"><g xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="50,748 50,746 36,746 36,760 38,760 38,748 "></polygon><polygon points="54,746 54,748 57,748 57,767 38,767 38,764 36,764 36,769 59,769 59,746 "></polygon><path d="M30,740v23h23v-23H30z M51,761H32v-19h19V761z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/color.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M52.2,9.693L50,7.916l-2.2,1.777c-1.262,1.02-30.898,25.245-30.898,49.291c0,18.251,14.848,33.1,33.099,33.1 s33.099-14.849,33.099-33.1C83.099,34.938,53.462,10.713,52.2,9.693z M23.901,58.984c0-17.244,19.442-36.027,26.099-41.951v68.051 C35.609,85.084,23.901,73.376,23.901,58.984z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/custom-class.svg":function(e){e.exports='<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512.00001 640.0000124999999" version="1.1" x="0px" y="0px"><g transform="translate(0,-540.36216)"><path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" clip-path="none" d="M 92.792969 1 C 76.538969 1 63.142578 14.396441 63.142578 30.650391 L 63.142578 481.35156 C 63.142578 497.60556 76.538969 511 92.792969 511 L 419.20703 511 C 435.46103 511 448.85742 497.60556 448.85742 481.35156 L 448.85742 127.44336 L 446.01562 124.54688 L 324.80664 1 L 92.792969 1 z M 92.792969 20.863281 L 310.70508 20.863281 L 310.70508 111.28906 C 310.70508 127.66254 323.99953 141.43364 340.55273 141.43359 L 428.99414 141.43359 L 428.99414 481.35156 C 428.99414 486.94536 424.80083 491.13867 419.20703 491.13867 L 92.792969 491.13867 C 87.199169 491.13867 83.005859 486.94536 83.005859 481.35156 L 83.005859 30.650391 C 83.005859 25.056601 87.199169 20.863281 92.792969 20.863281 z M 330.56836 35.236328 L 415.26953 121.57031 L 340.55273 121.57031 C 335.25823 121.57033 330.56846 116.76328 330.56836 111.28906 L 330.56836 35.236328 z M 124.42188 47.574219 C 124.35287 47.574219 124.2858 47.584938 124.2168 47.585938 L 293.37305 145.24805 C 292.64965 144.11235 291.95757 142.95381 291.32227 141.75781 L 128.19531 47.576172 L 124.42188 47.576172 L 124.42188 47.574219 z M 139.51562 47.574219 L 287.71094 133.13672 C 287.42084 132.22392 287.15176 131.30063 286.91016 130.36523 L 143.51172 47.574219 L 139.51562 47.574219 z M 154.83398 47.574219 L 285.56445 123.05273 C 285.47245 122.24703 285.4017 121.43459 285.3457 120.61719 L 158.83008 47.574219 L 154.83398 47.574219 z M 170.15039 47.574219 L 285.20117 114 L 285.20117 111.69141 L 174.14844 47.574219 L 170.15039 47.574219 z M 185.46875 47.574219 L 285.20117 105.1543 L 285.20117 102.84961 L 189.4668 47.574219 L 185.46875 47.574219 z M 200.78711 47.574219 L 285.20117 96.3125 L 285.20117 94.003906 L 204.7832 47.574219 L 200.78711 47.574219 z M 216.10352 47.574219 L 285.20117 87.466797 L 285.20117 85.162109 L 220.10156 47.574219 L 216.10352 47.574219 z M 231.41992 47.574219 L 285.20117 78.625 L 285.20117 76.316406 L 235.41602 47.574219 L 231.41992 47.574219 z M 246.73828 47.574219 L 285.20117 69.783203 L 285.20117 67.474609 L 250.73438 47.574219 L 246.73828 47.574219 z M 262.05469 47.574219 L 285.20117 60.9375 L 285.20117 58.628906 L 266.05273 47.574219 L 262.05469 47.574219 z M 277.37109 47.574219 L 285.20117 52.095703 L 285.20117 49.787109 L 281.36914 47.574219 L 277.37109 47.574219 z M 116.61719 49.732422 C 115.98099 50.112122 115.36807 50.524734 114.79688 50.990234 L 402.80273 217.26953 L 402.80273 214.96289 L 313.89844 163.63281 C 311.79624 162.60021 309.77201 161.43804 307.84961 160.14062 L 116.61719 49.732422 z M 111.10938 55.400391 C 110.78628 55.982191 110.50557 56.590797 110.25977 57.216797 L 402.80273 226.11328 L 402.80273 223.80664 L 111.10938 55.400391 z M 109.19727 63.136719 L 109.19727 65.445312 L 402.80273 234.95703 L 402.80273 232.65039 L 109.19727 63.136719 z M 109.19727 71.978516 L 109.19727 74.287109 L 402.80273 243.80078 L 402.80273 241.49219 L 109.19727 71.978516 z M 109.19727 80.824219 L 109.19727 83.132812 L 393.25195 247.13086 L 397.25195 247.13086 L 109.19727 80.824219 z M 109.19727 89.666016 L 109.19727 91.974609 L 377.93555 247.13086 L 381.93359 247.13086 L 109.19727 89.666016 z M 109.19727 98.511719 L 109.19727 100.82031 L 362.61719 247.13086 L 366.61523 247.13086 L 109.19727 98.511719 z M 109.19727 107.35352 L 109.19727 109.66211 L 347.29883 247.13086 L 351.29883 247.13086 L 109.19727 107.35352 z M 109.19727 116.19922 L 109.19727 118.50781 L 331.98438 247.13086 L 335.98047 247.13086 L 109.19727 116.19922 z M 109.19727 125.04102 L 109.19727 127.34961 L 316.66602 247.13086 L 320.66211 247.13086 L 109.19727 125.04102 z M 109.19727 133.88672 L 109.19727 136.19531 L 301.34766 247.13086 L 305.34375 247.13086 L 109.19727 133.88672 z M 109.19727 142.72852 L 109.19727 145.03711 L 286.03125 247.13086 L 290.02734 247.13086 L 109.19727 142.72852 z M 109.19727 151.57031 L 109.19727 153.87891 L 270.71484 247.13086 L 274.71289 247.13086 L 109.19727 151.57031 z M 109.19727 160.41602 L 109.19727 162.72461 L 255.39453 247.13086 L 259.39258 247.13086 L 109.19727 160.41602 z M 334.31641 168.88672 L 402.80273 208.42578 L 402.80273 206.12109 L 338.4375 168.95703 L 337.0957 168.95703 C 336.1621 168.95703 335.23631 168.93332 334.31641 168.88672 z M 349.75586 168.95703 L 402.80273 199.58398 L 402.80273 197.27539 L 353.75391 168.95703 L 349.75586 168.95703 z M 365.07422 168.95703 L 402.80273 190.74023 L 402.80273 188.43359 L 369.07031 168.95703 L 365.07422 168.95703 z M 380.39062 168.95703 L 402.80273 181.89648 L 402.80273 179.58789 L 384.38867 168.95703 L 380.39062 168.95703 z M 395.70898 168.95703 L 402.80273 173.05273 L 402.80273 170.74609 L 399.70703 168.95703 L 395.70898 168.95703 z M 109.19727 169.25781 L 109.19727 171.56641 L 240.07812 247.13086 L 244.07617 247.13086 L 109.19727 169.25781 z M 109.19727 178.10352 L 109.19727 180.41211 L 224.75781 247.13086 L 228.75781 247.13086 L 109.19727 178.10352 z M 109.19727 186.94531 L 109.19727 189.25391 L 209.44336 247.13086 L 213.44141 247.13086 L 109.19727 186.94531 z M 109.19727 195.79102 L 109.19727 198.09961 L 194.12305 247.13086 L 198.12109 247.13086 L 109.19727 195.79102 z M 109.19727 204.63281 L 109.19727 206.94141 L 178.80859 247.13086 L 182.80664 247.13086 L 109.19727 204.63281 z M 109.19727 213.47852 L 109.19727 215.78516 L 163.49023 247.13086 L 167.48438 247.13086 L 109.19727 213.47852 z M 109.19727 222.32031 L 109.19727 224.62891 L 148.17188 247.13086 L 152.16992 247.13086 L 109.19727 222.32031 z M 109.19727 231.16211 L 109.19727 233.47266 L 132.85352 247.13086 L 136.85547 247.13086 L 109.19727 231.16211 z M 109.19727 240.00586 L 109.19727 242.31641 L 117.53711 247.13086 L 121.53906 247.13086 L 109.19727 240.00586 z M 144.33398 293.35352 C 135.81185 293.35352 128.93652 296.16243 123.70703 301.7793 C 118.47754 307.36849 115.86133 315.22656 115.86133 325.35352 C 115.86133 334.92708 118.46224 342.48177 123.66406 348.01562 C 128.86589 353.52181 135.50651 356.27344 143.58594 356.27344 C 150.11589 356.27344 155.49902 354.66862 159.73242 351.45898 C 163.99349 348.22168 167.03711 343.2832 168.86328 336.64258 L 156.95117 332.86523 C 155.92741 337.31999 154.23861 340.58496 151.88672 342.66016 C 149.53483 344.73535 146.72786 345.77344 143.46289 345.77344 C 139.03581 345.77344 135.4388 344.14193 132.67188 340.87695 C 129.90495 337.61198 128.52148 332.13346 128.52148 324.44141 C 128.52148 317.19206 129.91829 311.94824 132.71289 308.71094 C 135.53516 305.47363 139.20085 303.85547 143.71094 303.85547 C 146.97591 303.85547 149.74284 304.76758 152.01172 306.59375 C 154.30827 308.41992 155.81576 310.91016 156.53516 314.06445 L 168.69727 311.16016 C 167.3138 306.29036 165.23763 302.55404 162.4707 299.95312 C 157.82227 295.55371 151.77702 293.35352 144.33398 293.35352 z M 314.29297 293.35352 C 309.61686 293.35352 305.61719 294.05957 302.29688 295.4707 C 299.00423 296.88184 296.47396 298.94271 294.70312 301.6543 C 292.95996 304.33822 292.08789 307.23112 292.08789 310.33008 C 292.08789 315.14453 293.95605 319.22428 297.69141 322.57227 C 300.34766 324.95182 304.96745 326.95931 311.55273 328.5918 C 316.67155 329.86458 319.94987 330.75 321.38867 331.24805 C 323.49154 331.99512 324.95898 332.88053 325.78906 333.9043 C 326.64681 334.90039 327.07617 336.11784 327.07617 337.55664 C 327.07617 339.79785 326.06478 341.76139 324.04492 343.44922 C 322.05273 345.10938 319.07975 345.93945 315.12305 345.93945 C 311.3877 345.93945 308.41276 344.9987 306.19922 343.11719 C 304.01335 341.23568 302.5612 338.28939 301.8418 334.27734 L 289.88867 335.43945 C 290.69108 342.24609 293.15267 347.43457 297.27539 351.00391 C 301.39811 354.54557 307.30599 356.31641 314.99805 356.31641 C 320.28288 356.31641 324.69661 355.58171 328.23828 354.11523 C 331.77995 352.62109 334.51823 350.35221 336.45508 347.30859 C 338.39193 344.26497 339.36133 341 339.36133 337.51367 C 339.36133 333.66764 338.5446 330.44466 336.91211 327.84375 C 335.30729 325.21517 333.0651 323.1543 330.1875 321.66016 C 327.33757 320.13835 322.92578 318.6709 316.94922 317.25977 C 310.97266 315.84863 307.20964 314.49382 305.66016 313.19336 C 304.44271 312.1696 303.83398 310.9388 303.83398 309.5 C 303.83398 307.92285 304.48275 306.66341 305.7832 305.72266 C 307.80306 304.25618 310.59863 303.52344 314.16797 303.52344 C 317.62663 303.52344 320.21419 304.21419 321.92969 305.59766 C 323.67285 306.95345 324.80632 309.19564 325.33203 312.32227 L 337.61719 311.78125 C 337.4235 306.19206 335.38932 301.72493 331.51562 298.37695 C 327.6696 295.02897 321.92969 293.35352 314.29297 293.35352 z M 371.07031 293.35352 C 366.39421 293.35352 362.39453 294.05957 359.07422 295.4707 C 355.78158 296.88184 353.2513 298.94271 351.48047 301.6543 C 349.7373 304.33822 348.86523 307.23112 348.86523 310.33008 C 348.86523 315.14453 350.7334 319.22428 354.46875 322.57227 C 357.125 324.95182 361.74479 326.95931 368.33008 328.5918 C 373.44889 329.86458 376.72721 330.75 378.16602 331.24805 C 380.26888 331.99512 381.73633 332.88053 382.56641 333.9043 C 383.42415 334.90039 383.85352 336.11784 383.85352 337.55664 C 383.85352 339.79785 382.84212 341.76139 380.82227 343.44922 C 378.83008 345.10938 375.8571 345.93945 371.90039 345.93945 C 368.16504 345.93945 365.1901 344.9987 362.97656 343.11719 C 360.79069 341.23568 359.33854 338.28939 358.61914 334.27734 L 346.66602 335.43945 C 347.46842 342.24609 349.93001 347.43457 354.05273 351.00391 C 358.17546 354.54557 364.08333 356.31641 371.77539 356.31641 C 377.06022 356.31641 381.47396 355.58171 385.01562 354.11523 C 388.55729 352.62109 391.29557 350.35221 393.23242 347.30859 C 395.16927 344.26497 396.13867 341 396.13867 337.51367 C 396.13867 333.66764 395.32194 330.44466 393.68945 327.84375 C 392.08464 325.21517 389.84245 323.1543 386.96484 321.66016 C 384.11491 320.13835 379.70312 318.6709 373.72656 317.25977 C 367.75 315.84863 363.98698 314.49382 362.4375 313.19336 C 361.22005 312.1696 360.61133 310.9388 360.61133 309.5 C 360.61133 307.92285 361.26009 306.66341 362.56055 305.72266 C 364.5804 304.25618 367.37598 303.52344 370.94531 303.52344 C 374.40397 303.52344 376.99154 304.21419 378.70703 305.59766 C 380.4502 306.95345 381.58366 309.19564 382.10938 312.32227 L 394.39453 311.78125 C 394.20085 306.19206 392.16667 301.72493 388.29297 298.37695 C 384.44694 295.02897 378.70703 293.35352 371.07031 293.35352 z M 248.92383 294.39258 L 225.22461 355.23633 L 238.25781 355.23633 L 243.2793 341.41602 L 267.59961 341.41602 L 272.91211 355.23633 L 286.27734 355.23633 L 261.91406 294.39258 L 248.92383 294.39258 z M 179.77734 294.89062 L 179.77734 355.23633 L 222.60938 355.23633 L 222.60938 344.98438 L 192.0625 344.98438 L 192.0625 294.89062 L 179.77734 294.89062 z M 255.27344 308.58594 L 263.6582 331.16406 L 247.05664 331.16406 L 255.27344 308.58594 z M 117.2207 406.13086 L 218.1875 464.42578 L 222.18555 464.42578 L 121.2168 406.13086 L 117.2207 406.13086 z M 132.53906 406.13086 L 233.50586 464.42578 L 237.50391 464.42578 L 136.53516 406.13086 L 132.53906 406.13086 z M 147.85352 406.13086 L 248.82227 464.42578 L 252.81836 464.42578 L 151.85156 406.13086 L 147.85352 406.13086 z M 163.16992 406.13086 L 264.13867 464.42578 L 268.13672 464.42578 L 167.16992 406.13086 L 163.16992 406.13086 z M 178.48828 406.13086 L 279.45703 464.42578 L 283.45508 464.42578 L 182.48633 406.13086 L 178.48828 406.13086 z M 193.80469 406.13086 L 294.77344 464.42578 L 298.77148 464.42578 L 197.80469 406.13086 L 193.80469 406.13086 z M 209.12305 406.13086 L 310.0918 464.42578 L 314.08789 464.42578 L 213.12109 406.13086 L 209.12305 406.13086 z M 224.44141 406.13086 L 325.4082 464.42578 L 329.40625 464.42578 L 228.43945 406.13086 L 224.44141 406.13086 z M 239.75781 406.13086 L 340.72656 464.42578 L 344.72461 464.42578 L 243.75586 406.13086 L 239.75781 406.13086 z M 255.07617 406.13086 L 356.04492 464.42578 L 360.04102 464.42578 L 259.07422 406.13086 L 255.07617 406.13086 z M 270.39453 406.13086 L 371.36328 464.42578 L 375.35938 464.42578 L 274.39258 406.13086 L 270.39453 406.13086 z M 285.70898 406.13086 L 386.67969 464.42578 L 387.57617 464.42578 C 388.48967 464.42578 389.37965 464.32888 390.24805 464.17578 L 289.71094 406.13086 L 285.70898 406.13086 z M 301.02734 406.13086 L 396.71289 461.375 C 397.27969 460.9498 397.82497 460.49489 398.32617 459.99609 L 305.0293 406.13086 L 301.02734 406.13086 z M 316.3457 406.13086 L 401.52539 455.30859 C 401.79489 454.69151 402.02003 454.05159 402.20703 453.39453 L 320.34375 406.13086 L 316.3457 406.13086 z M 331.66211 406.13086 L 402.80273 447.20312 L 402.80273 444.89453 L 335.66211 406.13086 L 331.66211 406.13086 z M 346.98047 406.13086 L 402.80273 438.35938 L 402.80273 436.05078 L 350.98047 406.13086 L 346.98047 406.13086 z M 362.29883 406.13086 L 402.80273 429.51562 L 402.80273 427.20703 L 366.29688 406.13086 L 362.29883 406.13086 z M 377.61719 406.13086 L 402.80273 420.67188 L 402.80273 418.36328 L 381.61523 406.13086 L 377.61719 406.13086 z M 392.93555 406.13086 L 402.80273 411.82812 L 402.80273 409.51953 L 396.93359 406.13086 L 392.93555 406.13086 z M 109.19727 408.03516 L 109.19727 410.3418 L 202.87109 464.42578 L 206.86719 464.42578 L 109.19727 408.03516 z M 109.19727 416.87891 L 109.19727 419.18555 L 187.55273 464.42578 L 191.54883 464.42578 L 109.19727 416.87891 z M 109.19727 425.72266 L 109.19727 428.0293 L 172.23438 464.42578 L 176.23242 464.42578 L 109.19727 425.72266 z M 109.19727 434.56641 L 109.19727 436.87305 L 156.91602 464.42578 L 160.91406 464.42578 L 109.19727 434.56641 z M 109.19727 443.41016 L 109.19727 445.7168 L 141.59961 464.42578 L 145.59766 464.42578 L 109.19727 443.41016 z M 109.55273 452.45703 C 109.76613 453.44144 110.07224 454.3887 110.46484 455.29102 L 126.28125 464.42578 L 130.2793 464.42578 L 109.55273 452.45703 z " transform="translate(0,540.36216)"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/design.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="-949 951 100 125" style="enable-background:new -949 951 100 100;" xml:space="preserve"><switch><g xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" i:extraneous="self"><g><path d="M-853.3,973.6c2-2,2-5.3,0-7.4l-10.9-10.9c-2-2-5.3-2-7.4,0l-4.5,4.5l18.3,18.3L-853.3,973.6z"></path><path d="M-852.1,1027.7l-27.7-27.7l19.4-19.4l-18.3-18.3l-19.4,19.4l-27.7-27.7c-0.7-0.7-1.9-0.7-2.7,0l-17.6,17.6 c-0.4,0.4-0.6,0.8-0.6,1.3s0.2,1,0.6,1.3l27.7,27.7l-22,22c-0.6,0.6-1,1.3-1.1,2.1l-3.6,17.5c-0.2,0.8,0,1.6,0.4,2.2 c0.6,0.9,1.8,1.4,2.8,1.2l17.6-3.6c0.8-0.2,1.6-0.6,2.1-1.1l22-22l27.7,27.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l17.6-17.6 c0.4-0.4,0.6-0.8,0.6-1.3C-851.5,1028.5-851.7,1028-852.1,1027.7z M-924.7,1039.9l-11.1,2.3l-4.3-4.3l2.3-11.1l0.1-0.1l3.8,0.7 l-0.1,3.3c0,0.3,0.2,0.5,0.5,0.5l4.7-0.2l-0.2,4.7c0,0.3,0.2,0.5,0.5,0.5l3.3-0.1L-924.7,1039.9L-924.7,1039.9z M-941.9,973 l14.9-14.9l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6c0.5,0,1-0.2,1.3-0.6l7.4-7.4l4.2,4.2l-14.9,14.9L-941.9,973z M-871,1043.9l-26.3-26.3l14.9-14.9 l4.2,4.2l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4 c-0.7,0.7-0.7,1.9,0,2.7c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7l-7.4,7.4c-0.7,0.7-0.7,1.9,0,2.7 c0.4,0.4,0.9,0.6,1.3,0.6s1-0.2,1.3-0.6l7.4-7.4l4.7,4.7L-871,1043.9z"></path></g></g></switch></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/font-size.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 64 80" enable-background="new 0 0 64 64" xml:space="preserve"><g><g><path d="M36,12H12c-1.104,0-2,0.896-2,2v4c0,1.104,0.896,2,2,2s2-0.896,2-2v-2h8v32h-2c-1.104,0-2,0.896-2,2s0.896,2,2,2h8 c1.104,0,2-0.896,2-2s-0.896-2-2-2h-2V16h8v2c0,1.104,0.896,2,2,2s2-0.896,2-2v-4C38,12.896,37.104,12,36,12z"></path><path d="M50.586,44.586L50,45.172V18.828l0.586,0.586C50.977,19.805,51.488,20,52,20s1.023-0.195,1.414-0.586 c0.781-0.781,0.781-2.047,0-2.828l-4-4c-0.781-0.781-2.047-0.781-2.828,0l-4,4c-0.781,0.781-0.781,2.047,0,2.828 c0.781,0.781,2.047,0.781,2.828,0L46,18.828v26.344l-0.586-0.586c-0.781-0.781-2.047-0.781-2.828,0s-0.781,2.047,0,2.828l4,4 C46.977,51.805,47.488,52,48,52s1.023-0.195,1.414-0.586l4-4c0.781-0.781,0.781-2.047,0-2.828S51.367,43.805,50.586,44.586z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/margin.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M37.5,40h35c1.4,0,2.5-1.1,2.5-2.5S73.9,35,72.5,35h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,40,37.5,40z"></path><path d="M92.5,50h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M37.5,70h35c1.4,0,2.5-1.1,2.5-2.5S73.9,65,72.5,65h-35c-1.4,0-2.5,1.1-2.5,2.5S36.1,70,37.5,70z"></path><path d="M92.5,80h-55c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h55c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path><path d="M30,92.5v-80c0-1.4-1.1-2.5-2.5-2.5S25,11.1,25,12.5v80c0,1.4,1.1,2.5,2.5,2.5S30,93.9,30,92.5z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/padding.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" style="enable-background:new 0 0 100 100;" xml:space="preserve"><path d="M92.5,20h-85C6.1,20,5,21.1,5,22.5S6.1,25,7.5,25h85c1.4,0,2.5-1.1,2.5-2.5S93.9,20,92.5,20z"></path><path d="M92.5,35h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,35,92.5,35z"></path><path d="M92.5,50h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,50,92.5,50z"></path><path d="M92.5,65h-65c-1.4,0-2.5,1.1-2.5,2.5s1.1,2.5,2.5,2.5h65c1.4,0,2.5-1.1,2.5-2.5S93.9,65,92.5,65z"></path><path d="M92.5,80h-85C6.1,80,5,81.1,5,82.5S6.1,85,7.5,85h85c1.4,0,2.5-1.1,2.5-2.5S93.9,80,92.5,80z"></path><path d="M5.7,64.3C6.2,64.8,6.9,65,7.5,65s1.3-0.2,1.8-0.7l10-10c1-1,1-2.6,0-3.5l-10-10c-1-1-2.6-1-3.5,0c-1,1-1,2.6,0,3.5l8.2,8.2 l-8.2,8.2C4.8,61.7,4.8,63.3,5.7,64.3z"></path></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/rotate.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="#000000" d="M68,32H32v36h36V32z M64,64H36V36h28V64z"></path><path fill="#000000" d="M64,84c0,1.104,0.896,2,2,2h6c7.72,0,14-6.28,14-14v-9.172l4.586,4.586c0.78,0.781,2.048,0.781,2.828,0 c0.781-0.781,0.781-2.047,0-2.828l-8-8c-0.78-0.781-2.048-0.781-2.828,0l-8,8c-0.781,0.781-0.781,2.047,0,2.828 C74.976,67.805,75.488,68,76,68s1.024-0.195,1.414-0.586L82,62.828V72c0,5.514-4.486,10-10,10h-6C64.896,82,64,82.896,64,84z"></path><path fill="#000000" d="M6.586,35.414l8,8C14.977,43.805,15.488,44,16,44s1.023-0.195,1.414-0.586l8-8 c0.781-0.781,0.781-2.047,0-2.828c-0.781-0.781-2.047-0.781-2.828,0L18,37.172V28c0-5.514,4.486-10,10-10h6c1.104,0,2-0.896,2-2 s-0.896-2-2-2h-6c-7.72,0-14,6.28-14,14v9.172l-4.586-4.586c-0.781-0.781-2.047-0.781-2.828,0 C5.805,33.367,5.805,34.633,6.586,35.414z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./assets/image/icons/customize-nav/width.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 24 30" enable-background="new 0 0 24 24" xml:space="preserve"><g><path d="M21.333,23.833H2.667c-1.378,0-2.5-1.121-2.5-2.5V2.667c0-1.379,1.122-2.5,2.5-2.5h18.667c1.378,0,2.5,1.121,2.5,2.5 v18.666C23.833,22.712,22.712,23.833,21.333,23.833z M2.667,1.167c-0.827,0-1.5,0.673-1.5,1.5v18.666c0,0.827,0.673,1.5,1.5,1.5 h18.667c0.827,0,1.5-0.673,1.5-1.5V2.667c0-0.827-0.673-1.5-1.5-1.5H2.667z"></path><g><path d="M18.914,15.494c-0.128,0-0.256-0.049-0.354-0.146c-0.195-0.195-0.195-0.512,0-0.707L21.201,12L18.56,9.359 c-0.195-0.195-0.195-0.512,0-0.707s0.512-0.195,0.707,0l2.994,2.994c0.195,0.195,0.195,0.512,0,0.707l-2.994,2.994 C19.169,15.445,19.042,15.494,18.914,15.494z"></path><path d="M21.908,12.5h-8.346c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S22.184,12.5,21.908,12.5z"></path></g><g><path d="M5.087,15.494c-0.128,0-0.256-0.049-0.354-0.146l-2.995-2.994C1.645,12.26,1.592,12.133,1.592,12s0.053-0.26,0.146-0.354 l2.995-2.994c0.195-0.195,0.512-0.195,0.707,0s0.195,0.512,0,0.707L2.799,12l2.641,2.641c0.195,0.195,0.195,0.512,0,0.707 C5.343,15.445,5.215,15.494,5.087,15.494z"></path><path d="M10.438,12.5H2.092c-0.276,0-0.5-0.224-0.5-0.5s0.224-0.5,0.5-0.5h8.346c0.276,0,0.5,0.224,0.5,0.5 S10.715,12.5,10.438,12.5z"></path></g></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/link.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path d="M25.278 63.41L8.788 46.92c-5.095-5.093-7.9-11.865-7.9-19.068 0-7.203 2.805-13.975 7.9-19.067C13.877 3.692 20.65.887 27.852.887c7.203 0 13.975 2.805 19.067 7.898l16.49 16.49-7.07 7.07-16.49-16.49c-3.205-3.204-7.465-4.968-11.997-4.968-4.53 0-8.792 1.765-11.996 4.97-3.205 3.203-4.97 7.463-4.97 11.995 0 4.532 1.765 8.792 4.97 11.997l16.49 16.488-7.07 7.072zM72.146 99.1c-6.905 0-13.81-2.63-19.066-7.885L36.59 74.722l7.07-7.07 16.49 16.492c6.616 6.614 17.38 6.613 23.994 0 6.613-6.615 6.613-17.38 0-23.994l-16.49-16.49 7.07-7.07 16.49 16.49c10.513 10.513 10.513 27.62 0 38.135C85.96 96.47 79.053 99.1 72.147 99.1z"></path><g><path d="M33.976 26.903L73.094 66.02l-7.07 7.07-39.12-39.116z"></path></g></svg>'},"./node_modules/svg-inline-loader/index.js?classPrefix!./node_modules/@boldgrid/controls/src/controls/multi-slider/img/refresh.svg":function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 125" enable-background="new 0 0 100 100" xml:space="preserve"><g><path d="M40.639,73.679c-6.373-6.379-9.324-14.869-8.893-23.215h15.467L23.606,26.857L0,50.464h14.714 c-0.04,9.1,3.371,18.217,10.313,25.162C35.904,86.506,52.097,88.77,65.234,82.5C56.451,83.343,47.368,80.406,40.639,73.679z"></path><path d="M85.286,50.486c0.04-9.1-3.371-18.217-10.313-25.162c-10.877-10.88-27.075-13.144-40.207-6.871 c8.783-0.845,17.866,2.091,24.59,8.818c6.379,6.379,9.33,14.869,8.898,23.215H52.781l23.606,23.609L100,50.486H85.286z"></path></g></svg>'},"./node_modules/textselect/jquery.text-select.js":function(){(function(e){e.fn.textSelect=function(o,a){var n,r,l,s;r=function(o){var e=o.originalEvent.originalTarget||o.originalEvent.srcElement;if(e){var a=jQuery(e);a.is('[draggable="true"]')||a.closest('[draggable="true"]').length||a.is('[unselectable="on"]')||a.closest('[unselectable="on"]').length||(n=o.timeStamp,r=!0)}},e(this).on('mousedown',r).on('mouseup dragend drop',function(){r=!1,l=!1,a()}).on('mousemove',function(a){!l&&r&&n+250<a.timeStamp&&(s=a.timeStamp,l=!0,o())})}})(jQuery)},"./node_modules/wp-color-picker-alpha/src/wp-color-picker-alpha.js":function(){(function(e){var o='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==';Color.fn.toString=function(){if(1>this._alpha)return this.toCSS('rgba',this._alpha).replace(/\s+/g,'');var e=parseInt(this._color,10).toString(16);return this.error?'':(6>e.length&&(e=('00000'+e).substr(-6)),'#'+e)},e.widget('wp.wpColorPicker',e.wp.wpColorPicker,{_create:function(){if(e.support.iris){var a=this,n=a.element;return e.extend(a.options,n.data()),'hue'===a.options.type?a._createHueOnly():void(a.close=e.proxy(a.close,a),a.initialValue=n.val(),n.addClass('wp-color-picker'),!n.parent('label').length&&(n.wrap('<label></label>'),a.wrappingLabelText=e('<span class="screen-reader-text"></span>').insertBefore(n).text(wpColorPickerL10n.defaultLabel)),a.wrappingLabel=n.parent(),a.wrappingLabel.wrap('<div class="wp-picker-container" />'),a.wrap=a.wrappingLabel.parent(),a.toggler=e('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(a.wrappingLabel).css({backgroundColor:a.initialValue}),a.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick),a.pickerContainer=e('<div class="wp-picker-holder" />').insertAfter(a.wrappingLabel),a.button=e('<input type="button" class="button button-small" />'),a.options.defaultColor?a.button.addClass('wp-picker-default').val(wpColorPickerL10n.defaultString).attr('aria-label',wpColorPickerL10n.defaultAriaLabel):a.button.addClass('wp-picker-clear').val(wpColorPickerL10n.clear).attr('aria-label',wpColorPickerL10n.clearAriaLabel),a.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(a.button),a.inputWrapper=n.closest('.wp-picker-input-wrap'),a.toggler.css({height:'24px',margin:'0 6px 6px 0',padding:'0 0 0 30px',"font-size":'11px'}),a.toggler.find('.wp-color-result-text').css({background:'#f7f7f7',"border-radius":'0 2px 2px 0',"border-left":'1px solid #ccc',color:'#555',display:'block',"line-height":'22px',padding:'0 6px',"text-align":'center'}),n.iris({target:a.pickerContainer,hide:a.options.hide,width:a.options.width,mode:a.options.mode,palettes:a.options.palettes,change:function(n,r){a.options.alpha?(a.toggler.css({"background-image":'url('+o+')',position:'relative'}),0==a.toggler.find('span.color-alpha').length&&a.toggler.append('<span class="color-alpha" />'),a.toggler.find('span.color-alpha').css({width:'30px',height:'24px',position:'absolute',top:0,left:0,"border-top-left-radius":'2px',"border-bottom-left-radius":'2px',background:r.color.toString()})):a.toggler.css({backgroundColor:r.color.toString()}),e.isFunction(a.options.change)&&a.options.change.call(this,n,r)}}),n.val(a.initialValue),a._addListeners(),!a.options.hide&&a.toggler.click())}},_addListeners:function(){var o=this;o.wrap.on('click.wpcolorpicker',function(e){e.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass('wp-picker-open')?o.close():o.open()}),o.element.on('change',function(a){(''===e(this).val()||o.element.hasClass('iris-error'))&&(o.options.alpha?o.toggler.find('span.color-alpha').css('backgroundColor',''):o.toggler.css('backgroundColor',''),e.isFunction(o.options.clear)&&o.options.clear.call(this,a))}),o.button.on('click',function(a){e(this).hasClass('wp-picker-clear')?(o.element.val(''),o.options.alpha?o.toggler.find('span.color-alpha').css('backgroundColor',''):o.toggler.css('backgroundColor',''),e.isFunction(o.options.clear)&&o.options.clear.call(this,a)):e(this).hasClass('wp-picker-default')&&o.element.val(o.options.defaultColor).change()})}}),e.widget('a8c.iris',e.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data('alpha')||!1,this.element.is(':input')||(this.options.alpha=!1),'undefined'!=typeof this.options.alpha&&this.options.alpha){var o=this,a=o.element,n=e('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(o.picker.find('.iris-picker-inner')),r=n.find('.iris-slider-offset-alpha');o.options.customWidth='undefined'==typeof a.data('custom-width')?100:parseInt(a.data('custom-width'))||0,o.options.defaultWidth=a.width(),(1>o._color._alpha||-1!=o._color.toString().indexOf('rgb'))&&a.width(parseInt(o.options.defaultWidth+o.options.customWidth)),e.each({aContainer:n,aSlider:r},function(e,a){o.controls[e]=a}),o.controls.square.css({"margin-right":'0'});var l=o.picker.width()-o.controls.square.width()-20,s=l/6;e.each(['aContainer','strip'],function(e,a){o.controls[a].width(l/2-s).css({"margin-left":s+'px'})}),o._initControls(),o._change()}},_initControls:function(){if(this._super(),this.options.alpha){var e=this,o=e.controls;o.aSlider.slider({orientation:'vertical',min:0,max:100,step:1,value:parseInt(100*e._color._alpha),slide:function(o,a){e._color._alpha=parseFloat(a.value/100),e._change.apply(e,arguments)}})}},_change:function(){this._super();var e=this,a=e.element;if(this.options.alpha){var n=e.controls,r=parseInt(100*e._color._alpha),l=e._color.toRgb(),s=['rgb('+l.r+','+l.g+','+l.b+') 0%','rgba('+l.r+','+l.g+','+l.b+', 0) 100%'],i=e.options.defaultWidth,d=e.options.customWidth,c=e.picker.closest('.wp-picker-container').find('.wp-color-result');n.aContainer.css({background:'linear-gradient(to bottom, '+s.join(', ')+'), url('+o+')'}),c.hasClass('wp-picker-open')&&(n.aSlider.slider('value',r),1>e._color._alpha?(n.strip.attr('style',n.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,'rgb($1$3$5)')),a.width(parseInt(i+d))):a.width(i))}var p=a.data('reset-alpha')||!1;p&&e.picker.find('.iris-palette-container').on('click.palette','.iris-palette',function(){e._color._alpha=1,e.active='external',e._change()})},_addInputListeners:function(e){var o=this,a=function(a){var n=new Color(e.val()),r=e.val();e.removeClass('iris-error'),n.error?''!==r&&e.addClass('iris-error'):n.toString()!==o._color.toString()&&!('keyup'===a.type&&r.match(/^[0-9a-fA-F]{3}$/))&&o._setOption('color',n.toString())};e.on('change',a).on('keyup',o._debounce(a,100)),o.options.hide&&e.on('focus',function(){o.show()})}})})(jQuery),jQuery(document).ready(function(e){e('.color-picker').wpColorPicker()})},0:function(e,o,a){e.exports=a('./assets/js/index.js')}});
|
includes/media/class-boldgrid-editor-layout.php
CHANGED
@@ -53,7 +53,8 @@ class Boldgrid_Layout extends Boldgrid_Editor_Media_Tab {
|
|
53 |
global $shortcode_tags;
|
54 |
|
55 |
if ( 'bg_block' === $post->post_type ) {
|
56 |
-
|
|
|
57 |
}
|
58 |
|
59 |
$dom = new DOMDocument();
|
53 |
global $shortcode_tags;
|
54 |
|
55 |
if ( 'bg_block' === $post->post_type ) {
|
56 |
+
$block = self::format_gridblock_data( $post, $content );
|
57 |
+
return $block['html'] ? array( $block ) : array();
|
58 |
}
|
59 |
|
60 |
$dom = new DOMDocument();
|
post-and-page-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Post and Page Builder
|
4 |
* Plugin URI: https://www.boldgrid.com/boldgrid-editor/
|
5 |
* Description: Customized drag and drop editing for posts and pages. The Post and Page Builder adds functionality to the existing TinyMCE Editor to give you easier control over your content.
|
6 |
-
* Version: 1.6.
|
7 |
* Author: BoldGrid.com <support@boldgrid.com>
|
8 |
* Author URI: https://www.boldgrid.com/
|
9 |
* Text Domain: boldgrid-editor
|
3 |
* Plugin Name: Post and Page Builder
|
4 |
* Plugin URI: https://www.boldgrid.com/boldgrid-editor/
|
5 |
* Description: Customized drag and drop editing for posts and pages. The Post and Page Builder adds functionality to the existing TinyMCE Editor to give you easier control over your content.
|
6 |
+
* Version: 1.6.3
|
7 |
* Author: BoldGrid.com <support@boldgrid.com>
|
8 |
* Author URI: https://www.boldgrid.com/
|
9 |
* Text Domain: boldgrid-editor
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Post and Page Builder by BoldGrid - Visual Drag and Drop Editor ===
|
2 |
Contributors: boldgrid, rramo012, imh_brad, joemoto, timph
|
3 |
-
Tags: page builder, drag and drop, tinymce, editor, landing page
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to: 4.9.
|
6 |
Requires PHP: 5.3
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -123,6 +123,13 @@ WordPress Editor.
|
|
123 |
|
124 |
For more information, see changelog.txt.
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
= 1.6.2 =
|
127 |
|
128 |
Release Date: December 26th, 2017
|
1 |
=== Post and Page Builder by BoldGrid - Visual Drag and Drop Editor ===
|
2 |
Contributors: boldgrid, rramo012, imh_brad, joemoto, timph
|
3 |
+
Tags: boldgrid, page builder, drag and drop, tinymce, editor, landing page
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 4.9.2
|
6 |
Requires PHP: 5.3
|
7 |
+
Stable tag: 1.6.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
123 |
|
124 |
For more information, see changelog.txt.
|
125 |
|
126 |
+
= 1.6.3 =
|
127 |
+
|
128 |
+
Release Date: January 17th, 2018
|
129 |
+
|
130 |
+
* Bug Fix: Issue causing editor to fail when an empty block is saved to your block library.
|
131 |
+
* Bug Fix: Editor width is set incorrectly if front end of site is inaccessible.
|
132 |
+
|
133 |
= 1.6.2 =
|
134 |
|
135 |
Release Date: December 26th, 2017
|