Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer - Version 2.0.7

Version Description

Release date: 8 September 2019

Today we've released Buttonizer 2.0.7! Do you like to translate Buttonizer?

What's new? This release we've added two new button actions! - Copy page URL - Print page - Support for another WordPress popup-plugin

Updated: - Fix button label font size and border radius - Fix button box shadow - Small 'building up' menu style CSS tweak - Fixed localization bug - Multiple other bug fixes and improvements

If you experience bugs, problems or you have some feedback, let us know on our Buttonizer community!

Download this release

Release Info

Developer buttonizer
Plugin Icon wp plugin Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer
Version 2.0.7
Comparing to
See all releases

Code changes from version 2.0.6 to 2.0.7

app/Admin/Translations.php CHANGED
@@ -82,6 +82,8 @@ class Translations {
82
 
83
  'settings' => __('Settings', 'buttonizer-multifunctional-button'),
84
 
 
 
85
  'confirm' => __('Confirm', 'buttonizer-multifunctional-button'),
86
  'search' => __('Search', 'buttonizer-multifunctional-button'),
87
 
@@ -160,6 +162,8 @@ class Translations {
160
  'image' => __('Image', 'buttonizer-multifunctional-button'),
161
  'select_image' => __('Select image', 'buttonizer-multifunctional-button'),
162
  'change_image' => __('Change image', 'buttonizer-multifunctional-button'),
 
 
163
  'remove_image' => __('Click to remove this image', 'buttonizer-multifunctional-button'),
164
 
165
  // First and second button
@@ -353,7 +357,7 @@ class Translations {
353
  'description' => __('Change the border radius of the image.', 'buttonizer-multifunctional-button'),
354
  ],
355
  'icon_image_select' => [
356
- 'title' => __('Image', 'buttonizer-multifunctional-button'),
357
  'description' => __('Choose an image to use as this button or group icon. Recommended aspect ratio: square (1:1)', 'buttonizer-multifunctional-button'),
358
  ],
359
  'icon_image_size' => [
82
 
83
  'settings' => __('Settings', 'buttonizer-multifunctional-button'),
84
 
85
+ 'custom' => __('Custom', 'buttonizer-multifunctional-button'),
86
+
87
  'confirm' => __('Confirm', 'buttonizer-multifunctional-button'),
88
  'search' => __('Search', 'buttonizer-multifunctional-button'),
89
 
162
  'image' => __('Image', 'buttonizer-multifunctional-button'),
163
  'select_image' => __('Select image', 'buttonizer-multifunctional-button'),
164
  'change_image' => __('Change image', 'buttonizer-multifunctional-button'),
165
+ 'select_file' => __('Select file', 'buttonizer-multifunctional-button'),
166
+ 'change_file' => __('Change file', 'buttonizer-multifunctional-button'),
167
  'remove_image' => __('Click to remove this image', 'buttonizer-multifunctional-button'),
168
 
169
  // First and second button
357
  'description' => __('Change the border radius of the image.', 'buttonizer-multifunctional-button'),
358
  ],
359
  'icon_image_select' => [
360
+ 'title' => __('Icon', 'buttonizer-multifunctional-button'),
361
  'description' => __('Choose an image to use as this button or group icon. Recommended aspect ratio: square (1:1)', 'buttonizer-multifunctional-button'),
362
  ],
363
  'icon_image_size' => [
app/_README.php CHANGED
@@ -16,4 +16,10 @@
16
 
17
  Need support? Contact us on support@buttonizer.pro
18
 
 
 
 
 
 
 
19
  ===========================================================================*/
16
 
17
  Need support? Contact us on support@buttonizer.pro
18
 
19
+ Have you also checked our knowledge base or community?
20
+
21
+ Buttonizer Community: https://community.buttonizer.pro
22
+
23
+ Buttonizer Knowledge base: https://community.buttonizer.pro/knowledgebase
24
+
25
  ===========================================================================*/
assets/bundle.js CHANGED
@@ -10,4 +10,4 @@
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
- */!function(e){var l={};function o(r){if(l[r])return l[r].exports;var s=l[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=l,o.d=function(e,l,r){o.o(e,l)||Object.defineProperty(e,l,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,l){if(1&l&&(e=o(e)),8&l)return e;if(4&l&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&l&&"string"!=typeof e)for(var s in e)o.d(r,s,function(l){return e[l]}.bind(null,s));return r},o.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(l,"a",l),l},o.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},o.p="",o(o.s=0)}([function(e,l,o){o(1)},function(e,l,o){var r,s,t;s=[o(2)],void 0===(t="function"==typeof(r=function(e){"use strict";function l(l){if(r.webkit&&!l)return{height:0,width:0};if(!r.data.outer){var o={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};r.data.inner=e("<div>").css(e.extend({},o)),r.data.outer=e("<div>").css(e.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},o)).append(r.data.inner).appendTo("body")}return r.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(r.data.outer.offset().top-r.data.inner.offset().top||0),width:Math.ceil(r.data.outer.offset().left-r.data.inner.offset().left||0)}}function o(e){var l=e.originalEvent;return!(l.axis&&l.axis===l.HORIZONTAL_AXIS||l.wheelDeltaX)}var r={data:{index:0,name:"scrollbar"},macosx:/mac/i.test(navigator.platform),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};r.scrolls.add=function(e){this.remove(e).push(e)},r.scrolls.remove=function(l){for(;e.inArray(l,this)>=0;)this.splice(e.inArray(l,this),1);return this};var s={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onInit:null,onScroll:null,onUpdate:null},t=function(o){r.scroll||(r.overlay=function(){var e=l(!0);return!(e.height||e.width)}(),r.scroll=l(),n(),e(window).resize(function(){var e=!1;if(r.scroll&&(r.scroll.height||r.scroll.width)){var o=l();(o.height!==r.scroll.height||o.width!==r.scroll.width)&&(r.scroll=o,e=!0)}n(e)})),this.container=o,this.namespace=".scrollbar_"+r.data.index++,this.options=e.extend({},s,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},o.data(r.data.name,this),r.scrolls.add(this)};t.prototype={destroy:function(){if(this.wrapper){this.container.removeData(r.data.name),r.scrolls.remove(this);var l=this.container.scrollLeft(),o=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(l).scrollTop(o),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").andSelf().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").andSelf().off(this.namespace),this.wrapper.remove(),e(document).add("body").off(this.namespace),e.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(l){var s=this,t=this.container,i=this.containerWrapper||t,n=this.namespace,c=e.extend(this.options,l||{}),a={x:this.scrollx,y:this.scrolly},d=this.wrapper,u={scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop()};if(r.mobile&&c.ignoreMobile||r.overlay&&c.ignoreOverlay||r.macosx&&!r.webkit)return!1;if(d)i.css({height:"auto","margin-bottom":-1*r.scroll.height+"px","margin-right":-1*r.scroll.width+"px","max-height":""});else{if(this.wrapper=d=e("<div>").addClass("scroll-wrapper").addClass(t.attr("class")).css("position","absolute"==t.css("position")?"absolute":"relative").insertBefore(t).append(t),t.is("textarea")&&(this.containerWrapper=i=e("<div>").insertBefore(t).append(t),d.addClass("scroll-textarea")),i.addClass("scroll-content").css({height:"auto","margin-bottom":-1*r.scroll.height+"px","margin-right":-1*r.scroll.width+"px","max-height":""}),t.on("scroll"+n,function(l){e.isFunction(c.onScroll)&&c.onScroll.call(s,{maxScroll:a.y.maxScrollOffset,scroll:t.scrollTop(),size:a.y.size,visible:a.y.visible},{maxScroll:a.x.maxScrollOffset,scroll:t.scrollLeft(),size:a.x.size,visible:a.x.visible}),a.x.isVisible&&a.x.scroll.bar.css("left",t.scrollLeft()*a.x.kx+"px"),a.y.isVisible&&a.y.scroll.bar.css("top",t.scrollTop()*a.y.kx+"px")}),d.on("scroll"+n,function(){d.scrollTop(0).scrollLeft(0)}),c.disableBodyScroll){var p=function(e){o(e)?a.y.isVisible&&a.y.mousewheel(e):a.x.isVisible&&a.x.mousewheel(e)};d.on("MozMousePixelScroll"+n,p),d.on("mousewheel"+n,p),r.mobile&&d.on("touchstart"+n,function(l){var o=l.originalEvent.touches&&l.originalEvent.touches[0]||l,r={pageX:o.pageX,pageY:o.pageY},s={left:t.scrollLeft(),top:t.scrollTop()};e(document).on("touchmove"+n,function(e){var l=e.originalEvent.targetTouches&&e.originalEvent.targetTouches[0]||e;t.scrollLeft(s.left+r.pageX-l.pageX),t.scrollTop(s.top+r.pageY-l.pageY),e.preventDefault()}),e(document).on("touchend"+n,function(){e(document).off(n)})})}e.isFunction(c.onInit)&&c.onInit.apply(this,[t])}e.each(a,function(l,r){var i=null,d=1,u="x"===l?"scrollLeft":"scrollTop",p=c.scrollStep,f=function(){var e=t[u]();t[u](e+p),1==d&&e+p>=h&&(e=t[u]()),-1==d&&h>=e+p&&(e=t[u]()),t[u]()==e&&i&&i()},h=0;r.scroll||(r.scroll=s._getScroll(c["scroll"+l]).addClass("scroll-"+l),c.showArrows&&r.scroll.addClass("scroll-element_arrows_visible"),r.mousewheel=function(e){if(!r.isVisible||"x"===l&&o(e))return!0;if("y"===l&&!o(e))return a.x.mousewheel(e),!0;var i=-1*e.originalEvent.wheelDelta||e.originalEvent.detail,n=r.size-r.visible-r.offset;return(i>0&&n>h||0>i&&h>0)&&(0>(h+=i)&&(h=0),h>n&&(h=n),s.scrollTo=s.scrollTo||{},s.scrollTo[u]=h,setTimeout(function(){s.scrollTo&&(t.stop().animate(s.scrollTo,240,"linear",function(){h=t[u]()}),s.scrollTo=null)},1)),e.preventDefault(),!1},r.scroll.on("MozMousePixelScroll"+n,r.mousewheel).on("mousewheel"+n,r.mousewheel).on("mouseenter"+n,function(){h=t[u]()}),r.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+n,function(o){if(1!=o.which)return!0;d=1;var n={eventOffset:o["x"===l?"pageX":"pageY"],maxScrollValue:r.size-r.visible-r.offset,scrollbarOffset:r.scroll.bar.offset()["x"===l?"left":"top"],scrollbarSize:r.scroll.bar["x"===l?"outerWidth":"outerHeight"]()},a=0,v=0;return e(this).hasClass("scroll-arrow")?(d=e(this).hasClass("scroll-arrow_more")?1:-1,p=c.scrollStep*d,h=d>0?n.maxScrollValue:0):(d=n.eventOffset>n.scrollbarOffset+n.scrollbarSize?1:n.eventOffset<n.scrollbarOffset?-1:0,p=Math.round(.75*r.visible)*d,h=n.eventOffset-n.scrollbarOffset-(c.stepScrolling?1==d?n.scrollbarSize:0:Math.round(n.scrollbarSize/2)),h=t[u]()+h/r.kx),s.scrollTo=s.scrollTo||{},s.scrollTo[u]=c.stepScrolling?t[u]()+p:h,c.stepScrolling&&(i=function(){h=t[u](),clearInterval(v),clearTimeout(a),a=0,v=0},a=setTimeout(function(){v=setInterval(f,40)},c.duration+100)),setTimeout(function(){s.scrollTo&&(t.animate(s.scrollTo,c.duration),s.scrollTo=null)},1),s._handleMouseDown(i,o)}),r.scroll.bar.on("mousedown"+n,function(o){if(1!=o.which)return!0;var i=o["x"===l?"pageX":"pageY"],c=t[u]();return r.scroll.addClass("scroll-draggable"),e(document).on("mousemove"+n,function(e){var o=parseInt((e["x"===l?"pageX":"pageY"]-i)/r.kx,10);t[u](c+o)}),s._handleMouseDown(function(){r.scroll.removeClass("scroll-draggable"),h=t[u]()},o)}))}),e.each(a,function(e,l){var o="scroll-scroll"+e+"_visible",r="x"==e?a.y:a.x;l.scroll.removeClass(o),r.scroll.removeClass(o),i.removeClass(o)}),e.each(a,function(l,o){e.extend(o,"x"==l?{offset:parseInt(t.css("left"),10)||0,size:t.prop("scrollWidth"),visible:d.width()}:{offset:parseInt(t.css("top"),10)||0,size:t.prop("scrollHeight"),visible:d.height()})}),this._updateScroll("x",this.scrollx),this._updateScroll("y",this.scrolly),e.isFunction(c.onUpdate)&&c.onUpdate.apply(this,[t]),e.each(a,function(e,l){var o="x"===e?"left":"top",r="x"===e?"outerWidth":"outerHeight",s="x"===e?"width":"height",i=parseInt(t.css(o),10)||0,n=l.size,a=l.visible+i,d=l.scroll.size[r]()+(parseInt(l.scroll.size.css(o),10)||0);c.autoScrollSize&&(l.scrollbarSize=parseInt(d*a/n,10),l.scroll.bar.css(s,l.scrollbarSize+"px")),l.scrollbarSize=l.scroll.bar[r](),l.kx=(d-l.scrollbarSize)/(n-a)||1,l.maxScrollOffset=n-a}),t.scrollLeft(u.scrollLeft).scrollTop(u.scrollTop).trigger("scroll")},_getScroll:function(l){var o={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};return o[l]&&(l=o[l]),l||(l=o.simple),l="string"==typeof l?e(l).appendTo(this.wrapper):e(l),e.extend(l,{bar:l.find(".scroll-bar"),size:l.find(".scroll-element_size"),track:l.find(".scroll-element_track")}),l},_handleMouseDown:function(l,o){var r=this.namespace;return e(document).on("blur"+r,function(){e(document).add("body").off(r),l&&l()}),e(document).on("dragstart"+r,function(e){return e.preventDefault(),!1}),e(document).on("mouseup"+r,function(){e(document).add("body").off(r),l&&l()}),e("body").on("selectstart"+r,function(e){return e.preventDefault(),!1}),o&&o.preventDefault(),!1},_updateScroll:function(l,o){var s=this.container,t=this.containerWrapper||s,i="scroll-scroll"+l+"_visible",n="x"===l?this.scrolly:this.scrollx,c=parseInt(this.container.css("x"===l?"left":"top"),10)||0,a=this.wrapper,d=o.size,u=o.visible+c;o.isVisible=d-u>1,o.isVisible?(o.scroll.addClass(i),n.scroll.addClass(i),t.addClass(i)):(o.scroll.removeClass(i),n.scroll.removeClass(i),t.removeClass(i)),"y"===l&&(s.is("textarea")||u>d?t.css({height:u+r.scroll.height+"px","max-height":"none"}):t.css({"max-height":u+r.scroll.height+"px"})),(o.size!=s.prop("scrollWidth")||n.size!=s.prop("scrollHeight")||o.visible!=a.width()||n.visible!=a.height()||o.offset!=(parseInt(s.css("left"),10)||0)||n.offset!=(parseInt(s.css("top"),10)||0))&&(e.extend(this.scrollx,{offset:parseInt(s.css("left"),10)||0,size:s.prop("scrollWidth"),visible:a.width()}),e.extend(this.scrolly,{offset:parseInt(s.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:a.height()}),this._updateScroll("x"===l?"y":"x",n))}};var i=t;e.fn.scrollbar=function(l,o){return"string"!=typeof l&&(o=l,l="init"),void 0===o&&(o=[]),e.isArray(o)||(o=[o]),this.not("body, .scroll-wrapper").each(function(){var s=e(this),t=s.data(r.data.name);(t||"init"===l)&&(t||(t=new i(s)),t[l]&&t[l].apply(t,o))}),this},e.fn.scrollbar.options=s;var n=function(){var e=0;return function(l){var o,s,t,i,c,a,d;for(o=0;o<r.scrolls.length;o++)i=r.scrolls[o],s=i.container,t=i.options,c=i.wrapper,a=i.scrollx,d=i.scrolly,(l||t.autoUpdate&&c&&c.is(":visible")&&(s.prop("scrollWidth")!=a.size||s.prop("scrollHeight")!=d.size||c.width()!=a.visible||c.height()!=d.visible))&&(i.init(),t.debug&&window.console&&console.log({scrollHeight:s.prop("scrollHeight")+":"+i.scrolly.size,scrollWidth:s.prop("scrollWidth")+":"+i.scrollx.size,visibleHeight:c.height()+":"+i.scrolly.visible,visibleWidth:c.width()+":"+i.scrollx.visible},!0));clearTimeout(e),e=setTimeout(n,300)}}();window.angular&&function(e){e.module("jQueryScrollbar",[]).provider("jQueryScrollbar",function(){var l=s;return{setOptions:function(o){e.extend(l,o)},$get:function(){return{options:e.copy(l)}}}}).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(e,l){return{restrict:"AC",link:function(o,r,s){var t=l(s.jqueryScrollbar),i=t(o);r.scrollbar(i||e.options).on("$destroy",function(){r.scrollbar("destroy")})}}}])}(window.angular)})?r.apply(l,s):r)||(e.exports=t)},function(e,l){e.exports=jQuery}]);
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
+ */!function(l){var e={};function o(r){if(e[r])return e[r].exports;var s=e[r]={i:r,l:!1,exports:{}};return l[r].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=l,o.c=e,o.d=function(l,e,r){o.o(l,e)||Object.defineProperty(l,e,{enumerable:!0,get:r})},o.r=function(l){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},o.t=function(l,e){if(1&e&&(l=o(l)),8&e)return l;if(4&e&&"object"==typeof l&&l&&l.__esModule)return l;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:l}),2&e&&"string"!=typeof l)for(var s in l)o.d(r,s,function(e){return l[e]}.bind(null,s));return r},o.n=function(l){var e=l&&l.__esModule?function(){return l.default}:function(){return l};return o.d(e,"a",e),e},o.o=function(l,e){return Object.prototype.hasOwnProperty.call(l,e)},o.p="",o(o.s=0)}([function(l,e,o){o(1)},function(l,e,o){var r,s,t;s=[o(2)],void 0===(t="function"==typeof(r=function(l){"use strict";function e(e){if(r.webkit&&!e)return{height:0,width:0};if(!r.data.outer){var o={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};r.data.inner=l("<div>").css(l.extend({},o)),r.data.outer=l("<div>").css(l.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},o)).append(r.data.inner).appendTo("body")}return r.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(r.data.outer.offset().top-r.data.inner.offset().top||0),width:Math.ceil(r.data.outer.offset().left-r.data.inner.offset().left||0)}}function o(l){var e=l.originalEvent;return!(e.axis&&e.axis===e.HORIZONTAL_AXIS||e.wheelDeltaX)}var r={data:{index:0,name:"scrollbar"},macosx:/mac/i.test(navigator.platform),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};r.scrolls.add=function(l){this.remove(l).push(l)},r.scrolls.remove=function(e){for(;l.inArray(e,this)>=0;)this.splice(l.inArray(e,this),1);return this};var s={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onInit:null,onScroll:null,onUpdate:null},t=function(o){r.scroll||(r.overlay=function(){var l=e(!0);return!(l.height||l.width)}(),r.scroll=e(),n(),l(window).resize(function(){var l=!1;if(r.scroll&&(r.scroll.height||r.scroll.width)){var o=e();(o.height!==r.scroll.height||o.width!==r.scroll.width)&&(r.scroll=o,l=!0)}n(l)})),this.container=o,this.namespace=".scrollbar_"+r.data.index++,this.options=l.extend({},s,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},o.data(r.data.name,this),r.scrolls.add(this)};t.prototype={destroy:function(){if(this.wrapper){this.container.removeData(r.data.name),r.scrolls.remove(this);var e=this.container.scrollLeft(),o=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(e).scrollTop(o),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").andSelf().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").andSelf().off(this.namespace),this.wrapper.remove(),l(document).add("body").off(this.namespace),l.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(e){var s=this,t=this.container,i=this.containerWrapper||t,n=this.namespace,c=l.extend(this.options,e||{}),a={x:this.scrollx,y:this.scrolly},d=this.wrapper,u={scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop()};if(r.mobile&&c.ignoreMobile||r.overlay&&c.ignoreOverlay||r.macosx&&!r.webkit)return!1;if(d)i.css({height:"auto","margin-bottom":-1*r.scroll.height+"px","margin-right":-1*r.scroll.width+"px","max-height":""});else{if(this.wrapper=d=l("<div>").addClass("scroll-wrapper").addClass(t.attr("class")).css("position","absolute"==t.css("position")?"absolute":"relative").insertBefore(t).append(t),t.is("textarea")&&(this.containerWrapper=i=l("<div>").insertBefore(t).append(t),d.addClass("scroll-textarea")),i.addClass("scroll-content").css({height:"auto","margin-bottom":-1*r.scroll.height+"px","margin-right":-1*r.scroll.width+"px","max-height":""}),t.on("scroll"+n,function(e){l.isFunction(c.onScroll)&&c.onScroll.call(s,{maxScroll:a.y.maxScrollOffset,scroll:t.scrollTop(),size:a.y.size,visible:a.y.visible},{maxScroll:a.x.maxScrollOffset,scroll:t.scrollLeft(),size:a.x.size,visible:a.x.visible}),a.x.isVisible&&a.x.scroll.bar.css("left",t.scrollLeft()*a.x.kx+"px"),a.y.isVisible&&a.y.scroll.bar.css("top",t.scrollTop()*a.y.kx+"px")}),d.on("scroll"+n,function(){d.scrollTop(0).scrollLeft(0)}),c.disableBodyScroll){var p=function(l){o(l)?a.y.isVisible&&a.y.mousewheel(l):a.x.isVisible&&a.x.mousewheel(l)};d.on("MozMousePixelScroll"+n,p),d.on("mousewheel"+n,p),r.mobile&&d.on("touchstart"+n,function(e){var o=e.originalEvent.touches&&e.originalEvent.touches[0]||e,r=o.pageX,s=o.pageY,i=t.scrollLeft(),c=t.scrollTop();l(document).on("touchmove"+n,function(l){var e=l.originalEvent.targetTouches&&l.originalEvent.targetTouches[0]||l;t.scrollLeft(i+r-e.pageX),t.scrollTop(c+s-e.pageY),l.preventDefault()}),l(document).on("touchend"+n,function(){l(document).off(n)})})}l.isFunction(c.onInit)&&c.onInit.apply(this,[t])}l.each(a,function(e,r){var i=null,d=1,u="x"===e?"scrollLeft":"scrollTop",p=c.scrollStep,f=function(){var l=t[u]();t[u](l+p),1==d&&l+p>=h&&(l=t[u]()),-1==d&&h>=l+p&&(l=t[u]()),t[u]()==l&&i&&i()},h=0;r.scroll||(r.scroll=s._getScroll(c["scroll"+e]).addClass("scroll-"+e),c.showArrows&&r.scroll.addClass("scroll-element_arrows_visible"),r.mousewheel=function(l){if(!r.isVisible||"x"===e&&o(l))return!0;if("y"===e&&!o(l))return a.x.mousewheel(l),!0;var i=-1*l.originalEvent.wheelDelta||l.originalEvent.detail,n=r.size-r.visible-r.offset;return(i>0&&n>h||0>i&&h>0)&&(0>(h+=i)&&(h=0),h>n&&(h=n),s.scrollTo=s.scrollTo||{},s.scrollTo[u]=h,setTimeout(function(){s.scrollTo&&(t.stop().animate(s.scrollTo,240,"linear",function(){h=t[u]()}),s.scrollTo=null)},1)),l.preventDefault(),!1},r.scroll.on("MozMousePixelScroll"+n,r.mousewheel).on("mousewheel"+n,r.mousewheel).on("mouseenter"+n,function(){h=t[u]()}),r.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+n,function(o){if(1!=o.which)return!0;d=1;var n={eventOffset:o["x"===e?"pageX":"pageY"],maxScrollValue:r.size-r.visible-r.offset,scrollbarOffset:r.scroll.bar.offset()["x"===e?"left":"top"],scrollbarSize:r.scroll.bar["x"===e?"outerWidth":"outerHeight"]()},a=0,v=0;return l(this).hasClass("scroll-arrow")?(d=l(this).hasClass("scroll-arrow_more")?1:-1,p=c.scrollStep*d,h=d>0?n.maxScrollValue:0):(d=n.eventOffset>n.scrollbarOffset+n.scrollbarSize?1:n.eventOffset<n.scrollbarOffset?-1:0,p=Math.round(.75*r.visible)*d,h=n.eventOffset-n.scrollbarOffset-(c.stepScrolling?1==d?n.scrollbarSize:0:Math.round(n.scrollbarSize/2)),h=t[u]()+h/r.kx),s.scrollTo=s.scrollTo||{},s.scrollTo[u]=c.stepScrolling?t[u]()+p:h,c.stepScrolling&&(i=function(){h=t[u](),clearInterval(v),clearTimeout(a),a=0,v=0},a=setTimeout(function(){v=setInterval(f,40)},c.duration+100)),setTimeout(function(){s.scrollTo&&(t.animate(s.scrollTo,c.duration),s.scrollTo=null)},1),s._handleMouseDown(i,o)}),r.scroll.bar.on("mousedown"+n,function(o){if(1!=o.which)return!0;var i=o["x"===e?"pageX":"pageY"],c=t[u]();return r.scroll.addClass("scroll-draggable"),l(document).on("mousemove"+n,function(l){var o=parseInt((l["x"===e?"pageX":"pageY"]-i)/r.kx,10);t[u](c+o)}),s._handleMouseDown(function(){r.scroll.removeClass("scroll-draggable"),h=t[u]()},o)}))}),l.each(a,function(l,e){var o="scroll-scroll"+l+"_visible",r="x"==l?a.y:a.x;e.scroll.removeClass(o),r.scroll.removeClass(o),i.removeClass(o)}),l.each(a,function(e,o){l.extend(o,"x"==e?{offset:parseInt(t.css("left"),10)||0,size:t.prop("scrollWidth"),visible:d.width()}:{offset:parseInt(t.css("top"),10)||0,size:t.prop("scrollHeight"),visible:d.height()})}),this._updateScroll("x",this.scrollx),this._updateScroll("y",this.scrolly),l.isFunction(c.onUpdate)&&c.onUpdate.apply(this,[t]),l.each(a,function(l,e){var o="x"===l?"left":"top",r="x"===l?"outerWidth":"outerHeight",s="x"===l?"width":"height",i=parseInt(t.css(o),10)||0,n=e.size,a=e.visible+i,d=e.scroll.size[r]()+(parseInt(e.scroll.size.css(o),10)||0);c.autoScrollSize&&(e.scrollbarSize=parseInt(d*a/n,10),e.scroll.bar.css(s,e.scrollbarSize+"px")),e.scrollbarSize=e.scroll.bar[r](),e.kx=(d-e.scrollbarSize)/(n-a)||1,e.maxScrollOffset=n-a}),t.scrollLeft(u.scrollLeft).scrollTop(u.scrollTop).trigger("scroll")},_getScroll:function(e){var o={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};return o[e]&&(e=o[e]),e||(e=o.simple),e="string"==typeof e?l(e).appendTo(this.wrapper):l(e),l.extend(e,{bar:e.find(".scroll-bar"),size:e.find(".scroll-element_size"),track:e.find(".scroll-element_track")}),e},_handleMouseDown:function(e,o){var r=this.namespace;return l(document).on("blur"+r,function(){l(document).add("body").off(r),e&&e()}),l(document).on("dragstart"+r,function(l){return l.preventDefault(),!1}),l(document).on("mouseup"+r,function(){l(document).add("body").off(r),e&&e()}),l("body").on("selectstart"+r,function(l){return l.preventDefault(),!1}),o&&o.preventDefault(),!1},_updateScroll:function(e,o){var s=this.container,t=this.containerWrapper||s,i="scroll-scroll"+e+"_visible",n="x"===e?this.scrolly:this.scrollx,c=parseInt(this.container.css("x"===e?"left":"top"),10)||0,a=this.wrapper,d=o.size,u=o.visible+c;o.isVisible=d-u>1,o.isVisible?(o.scroll.addClass(i),n.scroll.addClass(i),t.addClass(i)):(o.scroll.removeClass(i),n.scroll.removeClass(i),t.removeClass(i)),"y"===e&&(s.is("textarea")||u>d?t.css({height:u+r.scroll.height+"px","max-height":"none"}):t.css({"max-height":u+r.scroll.height+"px"})),(o.size!=s.prop("scrollWidth")||n.size!=s.prop("scrollHeight")||o.visible!=a.width()||n.visible!=a.height()||o.offset!=(parseInt(s.css("left"),10)||0)||n.offset!=(parseInt(s.css("top"),10)||0))&&(l.extend(this.scrollx,{offset:parseInt(s.css("left"),10)||0,size:s.prop("scrollWidth"),visible:a.width()}),l.extend(this.scrolly,{offset:parseInt(s.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:a.height()}),this._updateScroll("x"===e?"y":"x",n))}};var i=t;l.fn.scrollbar=function(e,o){return"string"!=typeof e&&(o=e,e="init"),void 0===o&&(o=[]),l.isArray(o)||(o=[o]),this.not("body, .scroll-wrapper").each(function(){var s=l(this),t=s.data(r.data.name);(t||"init"===e)&&(t||(t=new i(s)),t[e]&&t[e].apply(t,o))}),this},l.fn.scrollbar.options=s;var n=function(){var l=0;return function(e){var o,s,t,i,c,a,d;for(o=0;o<r.scrolls.length;o++)s=(i=r.scrolls[o]).container,t=i.options,c=i.wrapper,a=i.scrollx,d=i.scrolly,(e||t.autoUpdate&&c&&c.is(":visible")&&(s.prop("scrollWidth")!=a.size||s.prop("scrollHeight")!=d.size||c.width()!=a.visible||c.height()!=d.visible))&&(i.init(),t.debug&&window.console&&console.log({scrollHeight:s.prop("scrollHeight")+":"+i.scrolly.size,scrollWidth:s.prop("scrollWidth")+":"+i.scrollx.size,visibleHeight:c.height()+":"+i.scrolly.visible,visibleWidth:c.width()+":"+i.scrollx.visible},!0));clearTimeout(l),l=setTimeout(n,300)}}();window.angular&&function(l){l.module("jQueryScrollbar",[]).provider("jQueryScrollbar",function(){var e=s;return{setOptions:function(o){l.extend(e,o)},$get:function(){return{options:l.copy(e)}}}}).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(l,e){return{restrict:"AC",link:function(o,r,s){var t=e(s.jqueryScrollbar)(o);r.scrollbar(t||l.options).on("$destroy",function(){r.scrollbar("destroy")})}}}])}(window.angular)})?r.apply(e,s):r)||(l.exports=t)},function(l,e){l.exports=jQuery}]);
assets/dashboard.css CHANGED
@@ -5870,6 +5870,9 @@ body.buttonizer-initialized #wpwrap {
5870
  color: #FFFFFF; }
5871
  .buttonizer-bar .container .button-group-styling .chosen-container .chosen-drop ul li.disabled-result {
5872
  color: #a5a5a5 !important; }
 
 
 
5873
  .buttonizer-bar .container .button-group-styling .advanced-settings {
5874
  display: block;
5875
  font-weight: 500;
5870
  color: #FFFFFF; }
5871
  .buttonizer-bar .container .button-group-styling .chosen-container .chosen-drop ul li.disabled-result {
5872
  color: #a5a5a5 !important; }
5873
+ .buttonizer-bar .container .button-group-styling .button-value .chosen-container .chosen-drop ul {
5874
+ max-height: 400px;
5875
+ height: auto; }
5876
  .buttonizer-bar .container .button-group-styling .advanced-settings {
5877
  display: block;
5878
  font-weight: 500;
assets/dashboard.js CHANGED
@@ -94,7 +94,7 @@
94
  /******/
95
  /******/
96
  /******/ // Load entry module and return exports
97
- /******/ return __webpack_require__(__webpack_require__.s = 16);
98
  /******/ })
99
  /************************************************************************/
100
  /******/ ([
@@ -154,7 +154,7 @@ exports._unrefActive = exports.active = function(item) {
154
  };
155
 
156
  // setimmediate attaches itself to the global object
157
- __webpack_require__(11);
158
  // On some exotic environments, it's not clear which object `setimmediate` was
159
  // able to install onto. Search each possibility in the same order as the
160
  // `setimmediate` library.
@@ -195,238 +195,6 @@ module.exports = g;
195
 
196
  /***/ }),
197
  /* 2 */
198
- /***/ (function(module, exports, __webpack_require__) {
199
-
200
- /*!
201
- * drag-tracker v1.0.0
202
- * https://github.com/Sphinxxxx/drag-tracker#readme
203
- *
204
- * Copyright 2017-2018 Andreas Borgen
205
- * Released under the MIT license.
206
- */
207
- (function (global, factory) {
208
- true ? module.exports = factory() :
209
- undefined;
210
- }(this, (function () { 'use strict';
211
-
212
- var root = window;
213
-
214
- function dragTracker(options) {
215
-
216
-
217
- var ep = Element.prototype;
218
- if (!ep.matches) ep.matches = ep.msMatchesSelector || ep.webkitMatchesSelector;
219
- if (!ep.closest) ep.closest = function (s) {
220
- var node = this;
221
- do {
222
- if (node.matches(s)) return node;
223
- node = node.tagName === 'svg' ? node.parentNode : node.parentElement;
224
- } while (node);
225
-
226
- return null;
227
- };
228
-
229
- options = options || {};
230
- var container = options.container || document.documentElement,
231
- selector = options.selector,
232
- callback = options.callback || console.log,
233
- callbackStart = options.callbackDragStart,
234
- callbackEnd = options.callbackDragEnd,
235
-
236
- callbackClick = options.callbackClick,
237
- propagate = options.propagateEvents,
238
- roundCoords = options.roundCoords !== false,
239
- dragOutside = options.dragOutside !== false,
240
-
241
- handleOffset = options.handleOffset || options.handleOffset !== false;
242
- var offsetToCenter = null;
243
- switch (handleOffset) {
244
- case 'center':
245
- offsetToCenter = true;break;
246
- case 'topleft':
247
- case 'top-left':
248
- offsetToCenter = false;break;
249
- }
250
-
251
- var dragState = void 0;
252
-
253
- function getMousePos(e, elm, offset, stayWithin) {
254
- var x = e.clientX,
255
- y = e.clientY;
256
-
257
- function respectBounds(value, min, max) {
258
- return Math.max(min, Math.min(value, max));
259
- }
260
-
261
- if (elm) {
262
- var bounds = elm.getBoundingClientRect();
263
- x -= bounds.left;
264
- y -= bounds.top;
265
-
266
- if (offset) {
267
- x -= offset[0];
268
- y -= offset[1];
269
- }
270
- if (stayWithin) {
271
- x = respectBounds(x, 0, bounds.width);
272
- y = respectBounds(y, 0, bounds.height);
273
- }
274
-
275
- if (elm !== container) {
276
- var center = offsetToCenter !== null ? offsetToCenter
277
- : elm.nodeName === 'circle' || elm.nodeName === 'ellipse';
278
-
279
- if (center) {
280
- x -= bounds.width / 2;
281
- y -= bounds.height / 2;
282
- }
283
- }
284
- }
285
- return roundCoords ? [Math.round(x), Math.round(y)] : [x, y];
286
- }
287
-
288
- function stopEvent(e) {
289
- e.preventDefault();
290
- if (!propagate) {
291
- e.stopPropagation();
292
- }
293
- }
294
-
295
- function onDown(e) {
296
- var target = void 0;
297
- if (selector) {
298
- target = selector instanceof Element ? selector.contains(e.target) ? selector : null : e.target.closest(selector);
299
- } else {
300
- target = {};
301
- }
302
-
303
- if (target) {
304
- stopEvent(e);
305
-
306
- var mouseOffset = selector && handleOffset ? getMousePos(e, target) : [0, 0],
307
- startPos = getMousePos(e, container, mouseOffset);
308
- dragState = {
309
- target: target,
310
- mouseOffset: mouseOffset,
311
- startPos: startPos,
312
- actuallyDragged: false
313
- };
314
-
315
- if (callbackStart) {
316
- callbackStart(target, startPos);
317
- }
318
- }
319
- }
320
-
321
- function onMove(e) {
322
- if (!dragState) {
323
- return;
324
- }
325
- stopEvent(e);
326
-
327
- var start = dragState.startPos,
328
- pos = getMousePos(e, container, dragState.mouseOffset, !dragOutside);
329
-
330
- dragState.actuallyDragged = dragState.actuallyDragged || start[0] !== pos[0] || start[1] !== pos[1];
331
-
332
- callback(dragState.target, pos, start);
333
- }
334
-
335
- function onEnd(e, cancelled) {
336
- if (!dragState) {
337
- return;
338
- }
339
-
340
- if (callbackEnd || callbackClick) {
341
- var isClick = !dragState.actuallyDragged,
342
- pos = isClick ? dragState.startPos : getMousePos(e, container, dragState.mouseOffset, !dragOutside);
343
-
344
- if (callbackClick && isClick && !cancelled) {
345
- callbackClick(dragState.target, pos);
346
- }
347
- if (callbackEnd) {
348
- callbackEnd(dragState.target, pos, dragState.startPos, cancelled || isClick && callbackClick);
349
- }
350
- }
351
- dragState = null;
352
- }
353
-
354
-
355
- addEvent(container, 'mousedown', function (e) {
356
- if (isLeftButton(e)) {
357
- onDown(e);
358
- } else {
359
- onEnd(e, true);
360
- }
361
- });
362
- addEvent(container, 'touchstart', function (e) {
363
- return relayTouch(e, onDown);
364
- });
365
-
366
- addEvent(root, 'mousemove', function (e) {
367
- if (!dragState) {
368
- return;
369
- }
370
-
371
- if (isLeftButton(e)) {
372
- onMove(e);
373
- }
374
- else {
375
- onEnd(e);
376
- }
377
- });
378
- addEvent(root, 'touchmove', function (e) {
379
- return relayTouch(e, onMove);
380
- });
381
-
382
- addEvent(container, 'mouseup', function (e) {
383
- if (dragState && !isLeftButton(e)) {
384
- onEnd(e);
385
- }
386
- });
387
- function onTouchEnd(e, cancelled) {
388
- onEnd(tweakTouch(e), cancelled);
389
- }
390
- addEvent(container, 'touchend', function (e) {
391
- return onTouchEnd(e);
392
- });
393
- addEvent(container, 'touchcancel', function (e) {
394
- return onTouchEnd(e, true);
395
- });
396
-
397
- function addEvent(target, type, handler) {
398
- target.addEventListener(type, handler);
399
- }
400
- function isLeftButton(e) {
401
- return e.buttons !== undefined ? e.buttons === 1 :
402
- e.which === 1;
403
- }
404
- function relayTouch(e, handler) {
405
- if (e.touches.length !== 1) {
406
- onEnd(e, true);return;
407
- }
408
-
409
- handler(tweakTouch(e));
410
- }
411
- function tweakTouch(e) {
412
- var touch = e.targetTouches[0];
413
- if (!touch) {
414
- touch = e.changedTouches[0];
415
- }
416
-
417
- touch.preventDefault = e.preventDefault.bind(e);
418
- touch.stopPropagation = e.stopPropagation.bind(e);
419
- return touch;
420
- }
421
- }
422
-
423
- return dragTracker;
424
-
425
- })));
426
-
427
-
428
- /***/ }),
429
- /* 3 */
430
  /***/ (function(module, exports) {
431
 
432
  // shim for using process in browser
@@ -616,7 +384,7 @@ process.umask = function() { return 0; };
616
 
617
 
618
  /***/ }),
619
- /* 4 */
620
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
621
 
622
  "use strict";
@@ -3227,514 +2995,124 @@ Popper.Defaults = Defaults;
3227
 
3228
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1)))
3229
 
 
 
 
 
 
 
3230
  /***/ }),
3231
  /* 5 */
3232
  /***/ (function(module, exports, __webpack_require__) {
3233
 
 
 
 
 
 
 
 
 
3234
  /*!
3235
- * @sphinxxxx/color-conversion v2.2.1
3236
- * https://github.com/Sphinxxxx/color-conversion
3237
  *
3238
- * Copyright 2017-2019 Joudee (https://github.com/Joudee), Andreas Borgen (https://github.com/Sphinxxxx), Michael Jackson (https://github.com/mjackson)
3239
- * Released under the ISC license.
3240
  */
3241
- (function (global, factory) {
3242
- true ? module.exports = factory() :
3243
- undefined;
3244
- }(this, (function () { 'use strict';
3245
-
3246
- var classCallCheck = function (instance, Constructor) {
3247
- if (!(instance instanceof Constructor)) {
3248
- throw new TypeError("Cannot call a class as a function");
3249
- }
3250
- };
3251
-
3252
- var createClass = function () {
3253
- function defineProperties(target, props) {
3254
- for (var i = 0; i < props.length; i++) {
3255
- var descriptor = props[i];
3256
- descriptor.enumerable = descriptor.enumerable || false;
3257
- descriptor.configurable = true;
3258
- if ("value" in descriptor) descriptor.writable = true;
3259
- Object.defineProperty(target, descriptor.key, descriptor);
3260
- }
3261
  }
3262
 
3263
- return function (Constructor, protoProps, staticProps) {
3264
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
3265
- if (staticProps) defineProperties(Constructor, staticProps);
3266
- return Constructor;
3267
- };
3268
- }();
3269
-
3270
- var slicedToArray = function () {
3271
- function sliceIterator(arr, i) {
3272
- var _arr = [];
3273
- var _n = true;
3274
- var _d = false;
3275
- var _e = undefined;
3276
-
3277
- try {
3278
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
3279
- _arr.push(_s.value);
3280
 
3281
- if (i && _arr.length === i) break;
3282
- }
3283
- } catch (err) {
3284
- _d = true;
3285
- _e = err;
3286
- } finally {
3287
- try {
3288
- if (!_n && _i["return"]) _i["return"]();
3289
- } finally {
3290
- if (_d) throw _e;
3291
- }
3292
  }
3293
-
3294
- return _arr;
3295
  }
3296
 
3297
- return function (arr, i) {
3298
- if (Array.isArray(arr)) {
3299
- return arr;
3300
- } else if (Symbol.iterator in Object(arr)) {
3301
- return sliceIterator(arr, i);
3302
- } else {
3303
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
3304
- }
3305
- };
3306
- }();
3307
-
3308
- String.prototype.startsWith = String.prototype.startsWith || function (needle) {
3309
- return this.indexOf(needle) === 0;
3310
- };
3311
- String.prototype.padStart = String.prototype.padStart || function (len, pad) {
3312
- var str = this;while (str.length < len) {
3313
- str = pad + str;
3314
- }return str;
3315
- };
3316
 
3317
- var colorNames = { 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', darkgreen: '#006400', darkgrey: '#a9a9a9', 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', green: '#008000', greenyellow: '#adff2f', grey: '#808080', 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', lightgreen: '#90ee90', lightgrey: '#d3d3d3', 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: '#9370db', 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: '#db7093', 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' };
 
 
3318
 
3319
- function printNum(num) {
3320
- var decs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3321
 
3322
- var str = decs > 0 ? num.toFixed(decs).replace(/0+$/, '').replace(/\.$/, '') : num.toString();
3323
- return str || '0';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3324
  }
 
 
 
3325
 
3326
- var Color = function () {
3327
- function Color(r, g, b, a) {
3328
- classCallCheck(this, Color);
3329
-
3330
-
3331
- var that = this;
3332
- function parseString(input) {
3333
-
3334
- if (input.startsWith('hsl')) {
3335
- var _input$match$map = input.match(/([\-\d\.e]+)/g).map(Number),
3336
- _input$match$map2 = slicedToArray(_input$match$map, 4),
3337
- h = _input$match$map2[0],
3338
- s = _input$match$map2[1],
3339
- l = _input$match$map2[2],
3340
- _a = _input$match$map2[3];
3341
-
3342
- if (_a === undefined) {
3343
- _a = 1;
3344
- }
3345
-
3346
- h /= 360;
3347
- s /= 100;
3348
- l /= 100;
3349
- that.hsla = [h, s, l, _a];
3350
- }
3351
-
3352
- else if (input.startsWith('rgb')) {
3353
- var _input$match$map3 = input.match(/([\-\d\.e]+)/g).map(Number),
3354
- _input$match$map4 = slicedToArray(_input$match$map3, 4),
3355
- _r = _input$match$map4[0],
3356
- _g = _input$match$map4[1],
3357
- _b = _input$match$map4[2],
3358
- _a2 = _input$match$map4[3];
3359
-
3360
- if (_a2 === undefined) {
3361
- _a2 = 1;
3362
- }
3363
-
3364
- that.rgba = [_r, _g, _b, _a2];
3365
- }
3366
-
3367
- else {
3368
- if (input.startsWith('#')) {
3369
- that.rgba = Color.hexToRgb(input);
3370
- } else {
3371
- that.rgba = Color.nameToRgb(input) || Color.hexToRgb(input);
3372
- }
3373
- }
3374
- }
3375
-
3376
- if (r === undefined) {}
3377
-
3378
-
3379
- else if (Array.isArray(r)) {
3380
- this.rgba = r;
3381
- }
3382
-
3383
- else if (b === undefined) {
3384
- var color = r && '' + r;
3385
- if (color) {
3386
- parseString(color.toLowerCase());
3387
- }
3388
- } else {
3389
- this.rgba = [r, g, b, a === undefined ? 1 : a];
3390
- }
3391
- }
3392
-
3393
-
3394
- createClass(Color, [{
3395
- key: 'printRGB',
3396
- value: function printRGB(alpha) {
3397
- var rgb = alpha ? this.rgba : this.rgba.slice(0, 3),
3398
- vals = rgb.map(function (x, i) {
3399
- return printNum(x, i === 3 ? 3 : 0);
3400
- });
3401
-
3402
- return alpha ? 'rgba(' + vals + ')' : 'rgb(' + vals + ')';
3403
- }
3404
- }, {
3405
- key: 'printHSL',
3406
- value: function printHSL(alpha) {
3407
- var mults = [360, 100, 100, 1],
3408
- suff = ['', '%', '%', ''];
3409
-
3410
- var hsl = alpha ? this.hsla : this.hsla.slice(0, 3),
3411
-
3412
- vals = hsl.map(function (x, i) {
3413
- return printNum(x * mults[i], i === 3 ? 3 : 1) + suff[i];
3414
- });
3415
-
3416
- return alpha ? 'hsla(' + vals + ')' : 'hsl(' + vals + ')';
3417
- }
3418
- }, {
3419
- key: 'printHex',
3420
- value: function printHex(alpha) {
3421
- var hex = this.hex;
3422
- return alpha ? hex : hex.substring(0, 7);
3423
- }
3424
-
3425
-
3426
-
3427
- }, {
3428
- key: 'rgba',
3429
- get: function get$$1() {
3430
- if (this._rgba) {
3431
- return this._rgba;
3432
- }
3433
- if (!this._hsla) {
3434
- throw new Error('No color is set');
3435
- }
3436
-
3437
- return this._rgba = Color.hslToRgb(this._hsla);
3438
- },
3439
- set: function set$$1(rgb) {
3440
- if (rgb.length === 3) {
3441
- rgb[3] = 1;
3442
- }
3443
-
3444
- this._rgba = rgb;
3445
- this._hsla = null;
3446
- }
3447
- }, {
3448
- key: 'rgbString',
3449
- get: function get$$1() {
3450
- return this.printRGB();
3451
- }
3452
- }, {
3453
- key: 'rgbaString',
3454
- get: function get$$1() {
3455
- return this.printRGB(true);
3456
- }
3457
-
3458
-
3459
- }, {
3460
- key: 'hsla',
3461
- get: function get$$1() {
3462
- if (this._hsla) {
3463
- return this._hsla;
3464
- }
3465
- if (!this._rgba) {
3466
- throw new Error('No color is set');
3467
- }
3468
-
3469
- return this._hsla = Color.rgbToHsl(this._rgba);
3470
- },
3471
- set: function set$$1(hsl) {
3472
- if (hsl.length === 3) {
3473
- hsl[3] = 1;
3474
- }
3475
-
3476
- this._hsla = hsl;
3477
- this._rgba = null;
3478
- }
3479
- }, {
3480
- key: 'hslString',
3481
- get: function get$$1() {
3482
- return this.printHSL();
3483
- }
3484
- }, {
3485
- key: 'hslaString',
3486
- get: function get$$1() {
3487
- return this.printHSL(true);
3488
- }
3489
-
3490
-
3491
- }, {
3492
- key: 'hex',
3493
- get: function get$$1() {
3494
- var rgb = this.rgba,
3495
- hex = rgb.map(function (x, i) {
3496
- return i < 3 ? x.toString(16) : Math.round(x * 255).toString(16);
3497
- });
3498
-
3499
- return '#' + hex.map(function (x) {
3500
- return x.padStart(2, '0');
3501
- }).join('');
3502
- },
3503
- set: function set$$1(hex) {
3504
- this.rgba = Color.hexToRgb(hex);
3505
- }
3506
- }], [{
3507
- key: 'hexToRgb',
3508
- value: function hexToRgb(input) {
3509
- var hex = (input.startsWith('#') ? input.slice(1) : input).replace(/^(\w{3})$/, '$1F')
3510
- .replace(/^(\w)(\w)(\w)(\w)$/, '$1$1$2$2$3$3$4$4')
3511
- .replace(/^(\w{6})$/, '$1FF');
3512
-
3513
- if (!hex.match(/^([0-9a-fA-F]{8})$/)) {
3514
- throw new Error('Unknown hex color; ' + input);
3515
- }
3516
-
3517
- var rgba = hex.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1)
3518
- .map(function (x) {
3519
- return parseInt(x, 16);
3520
- });
3521
-
3522
- rgba[3] = rgba[3] / 255;
3523
- return rgba;
3524
- }
3525
-
3526
-
3527
- }, {
3528
- key: 'nameToRgb',
3529
- value: function nameToRgb(input) {
3530
- var hex = colorNames[input];
3531
- if (hex) {
3532
- return Color.hexToRgb(hex);
3533
- }
3534
- }
3535
-
3536
-
3537
- }, {
3538
- key: 'rgbToHsl',
3539
- value: function rgbToHsl(_ref) {
3540
- var _ref2 = slicedToArray(_ref, 4),
3541
- r = _ref2[0],
3542
- g = _ref2[1],
3543
- b = _ref2[2],
3544
- a = _ref2[3];
3545
-
3546
- r /= 255;
3547
- g /= 255;
3548
- b /= 255;
3549
-
3550
- var max = Math.max(r, g, b),
3551
- min = Math.min(r, g, b);
3552
- var h = void 0,
3553
- s = void 0,
3554
- l = (max + min) / 2;
3555
-
3556
- if (max === min) {
3557
- h = s = 0;
3558
- } else {
3559
- var d = max - min;
3560
- s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
3561
- switch (max) {
3562
- case r:
3563
- h = (g - b) / d + (g < b ? 6 : 0);break;
3564
- case g:
3565
- h = (b - r) / d + 2;break;
3566
- case b:
3567
- h = (r - g) / d + 4;break;
3568
- }
3569
-
3570
- h /= 6;
3571
- }
3572
-
3573
- return [h, s, l, a];
3574
- }
3575
-
3576
-
3577
- }, {
3578
- key: 'hslToRgb',
3579
- value: function hslToRgb(_ref3) {
3580
- var _ref4 = slicedToArray(_ref3, 4),
3581
- h = _ref4[0],
3582
- s = _ref4[1],
3583
- l = _ref4[2],
3584
- a = _ref4[3];
3585
-
3586
- var r = void 0,
3587
- g = void 0,
3588
- b = void 0;
3589
-
3590
- if (s === 0) {
3591
- r = g = b = l;
3592
- } else {
3593
- var hue2rgb = function hue2rgb(p, q, t) {
3594
- if (t < 0) t += 1;
3595
- if (t > 1) t -= 1;
3596
- if (t < 1 / 6) return p + (q - p) * 6 * t;
3597
- if (t < 1 / 2) return q;
3598
- if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
3599
- return p;
3600
- };
3601
-
3602
- var q = l < 0.5 ? l * (1 + s) : l + s - l * s,
3603
- p = 2 * l - q;
3604
-
3605
- r = hue2rgb(p, q, h + 1 / 3);
3606
- g = hue2rgb(p, q, h);
3607
- b = hue2rgb(p, q, h - 1 / 3);
3608
- }
3609
-
3610
- var rgba = [r * 255, g * 255, b * 255].map(Math.round);
3611
- rgba[3] = a;
3612
-
3613
- return rgba;
3614
- }
3615
- }]);
3616
- return Color;
3617
- }();
3618
-
3619
- return Color;
3620
-
3621
- })));
3622
-
3623
-
3624
- /***/ }),
3625
- /* 6 */
3626
- /***/ (function(module, exports) {
3627
-
3628
-
3629
-
3630
- /***/ }),
3631
- /* 7 */
3632
- /***/ (function(module, exports, __webpack_require__) {
3633
-
3634
- "use strict";
3635
- /* WEBPACK VAR INJECTION */(function(global) {
3636
-
3637
- // compare and isBuffer taken from https://github.com/feross/buffer/blob/680e9e5e488f22aac27599a57dc844a6315928dd/index.js
3638
- // original notice:
3639
-
3640
- /*!
3641
- * The buffer module from node.js, for the browser.
3642
- *
3643
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
3644
- * @license MIT
3645
- */
3646
- function compare(a, b) {
3647
- if (a === b) {
3648
- return 0;
3649
- }
3650
-
3651
- var x = a.length;
3652
- var y = b.length;
3653
-
3654
- for (var i = 0, len = Math.min(x, y); i < len; ++i) {
3655
- if (a[i] !== b[i]) {
3656
- x = a[i];
3657
- y = b[i];
3658
- break;
3659
- }
3660
- }
3661
-
3662
- if (x < y) {
3663
- return -1;
3664
- }
3665
- if (y < x) {
3666
- return 1;
3667
- }
3668
- return 0;
3669
- }
3670
- function isBuffer(b) {
3671
- if (global.Buffer && typeof global.Buffer.isBuffer === 'function') {
3672
- return global.Buffer.isBuffer(b);
3673
- }
3674
- return !!(b != null && b._isBuffer);
3675
- }
3676
-
3677
- // based on node assert, original notice:
3678
-
3679
- // http://wiki.commonjs.org/wiki/Unit_Testing/1.0
3680
- //
3681
- // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
3682
- //
3683
- // Originally from narwhal.js (http://narwhaljs.org)
3684
- // Copyright (c) 2009 Thomas Robinson <280north.com>
3685
- //
3686
- // Permission is hereby granted, free of charge, to any person obtaining a copy
3687
- // of this software and associated documentation files (the 'Software'), to
3688
- // deal in the Software without restriction, including without limitation the
3689
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
3690
- // sell copies of the Software, and to permit persons to whom the Software is
3691
- // furnished to do so, subject to the following conditions:
3692
- //
3693
- // The above copyright notice and this permission notice shall be included in
3694
- // all copies or substantial portions of the Software.
3695
- //
3696
- // THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3697
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3698
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3699
- // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
3700
- // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
3701
- // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3702
-
3703
- var util = __webpack_require__(8);
3704
- var hasOwn = Object.prototype.hasOwnProperty;
3705
- var pSlice = Array.prototype.slice;
3706
- var functionsHaveNames = (function () {
3707
- return function foo() {}.name === 'foo';
3708
- }());
3709
- function pToString (obj) {
3710
- return Object.prototype.toString.call(obj);
3711
- }
3712
- function isView(arrbuf) {
3713
- if (isBuffer(arrbuf)) {
3714
- return false;
3715
- }
3716
- if (typeof global.ArrayBuffer !== 'function') {
3717
- return false;
3718
- }
3719
- if (typeof ArrayBuffer.isView === 'function') {
3720
- return ArrayBuffer.isView(arrbuf);
3721
- }
3722
- if (!arrbuf) {
3723
- return false;
3724
- }
3725
- if (arrbuf instanceof DataView) {
3726
- return true;
3727
- }
3728
- if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) {
3729
- return true;
3730
- }
3731
- return false;
3732
- }
3733
- // 1. The assert module provides functions that throw
3734
- // AssertionError's when particular conditions are not met. The
3735
- // assert module must conform to the following interface.
3736
-
3737
- var assert = module.exports = ok;
3738
 
3739
  // 2. The AssertionError is defined in assert.
3740
  // new assert.AssertionError({ message: message,
@@ -4115,6 +3493,18 @@ assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) {
4115
 
4116
  assert.ifError = function(err) { if (err) throw err; };
4117
 
 
 
 
 
 
 
 
 
 
 
 
 
4118
  var objectKeys = Object.keys || function (obj) {
4119
  var keys = [];
4120
  for (var key in obj) {
@@ -4126,7 +3516,104 @@ var objectKeys = Object.keys || function (obj) {
4126
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1)))
4127
 
4128
  /***/ }),
4129
- /* 8 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4130
  /***/ (function(module, exports, __webpack_require__) {
4131
 
4132
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -4664,7 +4151,7 @@ function isPrimitive(arg) {
4664
  }
4665
  exports.isPrimitive = isPrimitive;
4666
 
4667
- exports.isBuffer = __webpack_require__(9);
4668
 
4669
  function objectToString(o) {
4670
  return Object.prototype.toString.call(o);
@@ -4708,7 +4195,7 @@ exports.log = function() {
4708
  * prototype.
4709
  * @param {function} superCtor Constructor function to inherit prototype from.
4710
  */
4711
- exports.inherits = __webpack_require__(10);
4712
 
4713
  exports._extend = function(origin, add) {
4714
  // Don't do anything if add isn't an object
@@ -4833,10 +4320,10 @@ function callbackify(original) {
4833
  }
4834
  exports.callbackify = callbackify;
4835
 
4836
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(3)))
4837
 
4838
  /***/ }),
4839
- /* 9 */
4840
  /***/ (function(module, exports) {
4841
 
4842
  module.exports = function isBuffer(arg) {
@@ -4847,7 +4334,7 @@ module.exports = function isBuffer(arg) {
4847
  }
4848
 
4849
  /***/ }),
4850
- /* 10 */
4851
  /***/ (function(module, exports) {
4852
 
4853
  if (typeof Object.create === 'function') {
@@ -4876,7 +4363,7 @@ if (typeof Object.create === 'function') {
4876
 
4877
 
4878
  /***/ }),
4879
- /* 11 */
4880
  /***/ (function(module, exports, __webpack_require__) {
4881
 
4882
  /* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {
@@ -5066,10 +4553,10 @@ if (typeof Object.create === 'function') {
5066
  attachTo.clearImmediate = clearImmediate;
5067
  }(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));
5068
 
5069
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1), __webpack_require__(3)))
5070
 
5071
  /***/ }),
5072
- /* 12 */
5073
  /***/ (function(module, exports, __webpack_require__) {
5074
 
5075
  /**
@@ -7592,7 +7079,7 @@ if (typeof Object.create === 'function') {
7592
 
7593
 
7594
  /***/ }),
7595
- /* 13 */
7596
  /***/ (function(module, exports) {
7597
 
7598
  /*!
@@ -8957,16 +8444,16 @@ This file is generated by `grunt build`, do not edit it by hand.
8957
 
8958
 
8959
  /***/ }),
 
8960
  /* 14 */,
8961
- /* 15 */,
8962
- /* 16 */
8963
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8964
 
8965
  "use strict";
8966
  __webpack_require__.r(__webpack_exports__);
8967
 
8968
  // EXTERNAL MODULE: ./src/sass/admin/dashboard.scss
8969
- var dashboard = __webpack_require__(18);
8970
 
8971
  // CONCATENATED MODULE: ./src/js/admin/components/Debug.js
8972
 
@@ -10277,17 +9764,17 @@ class ButtonWindow_ButtonWindow extends SettingsWindow
10277
  }
10278
  }
10279
  // EXTERNAL MODULE: ./node_modules/popper.js/dist/esm/popper.js
10280
- var esm_popper = __webpack_require__(4);
10281
 
10282
  // CONCATENATED MODULE: ./node_modules/tippy.js/esm/index.all.js
10283
  /**!
10284
- * tippy.js v4.3.0
10285
  * (c) 2017-2019 atomiks
10286
  * MIT License
10287
  */
10288
 
10289
 
10290
- var css = ".tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px) rotateX(0);transform:perspective(700px) translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(60deg);transform:perspective(700px) translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px) rotateX(0);transform:perspective(700px) translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(-60deg);transform:perspective(700px) translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px) rotateY(0);transform:perspective(700px) translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(-60deg);transform:perspective(700px) translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px) rotateY(0);transform:perspective(700px) translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(60deg);transform:perspective(700px) translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:\"\";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}";
10291
 
10292
  function _extends() {
10293
  _extends = Object.assign || function (target) {
@@ -10307,7 +9794,7 @@ function _extends() {
10307
  return _extends.apply(this, arguments);
10308
  }
10309
 
10310
- var version = "4.3.0";
10311
 
10312
  var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
10313
  var ua = isBrowser ? navigator.userAgent : '';
@@ -10419,20 +9906,74 @@ var PADDING = 4; // Popper attributes
10419
  var PLACEMENT_ATTRIBUTE = 'x-placement';
10420
  var OUT_OF_BOUNDARIES_ATTRIBUTE = 'x-out-of-boundaries'; // Classes
10421
 
10422
- var IOS_CLASS = 'tippy-iOS';
10423
- var ACTIVE_CLASS = 'tippy-active'; // Selectors
 
 
 
 
 
 
 
 
 
 
 
 
 
10424
 
10425
- var POPPER_SELECTOR = '.tippy-popper';
10426
- var TOOLTIP_SELECTOR = '.tippy-tooltip';
10427
- var CONTENT_SELECTOR = '.tippy-content';
10428
- var BACKDROP_SELECTOR = '.tippy-backdrop';
10429
- var ARROW_SELECTOR = '.tippy-arrow';
10430
- var ROUND_ARROW_SELECTOR = '.tippy-roundarrow';
10431
 
10432
- var keys = Object.keys(defaultProps);
10433
- /**
10434
- * Returns an object of optional props from data-tippy-* attributes
10435
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10436
 
10437
  function getDataAttributeOptions(reference) {
10438
  return keys.reduce(function (acc, key) {
@@ -10464,6 +10005,7 @@ function polyfillElementPrototypeProperties(virtualReference) {
10464
  var polyfills = {
10465
  isVirtual: true,
10466
  attributes: virtualReference.attributes || {},
 
10467
  setAttribute: function setAttribute(key, value) {
10468
  virtualReference.attributes[key] = value;
10469
  },
@@ -10558,19 +10100,22 @@ function getValue(value, index, defaultValue) {
10558
  return value;
10559
  }
10560
  /**
10561
- * Debounce utility
 
 
10562
  */
10563
 
10564
  function debounce(fn, ms) {
10565
- var timeoutId;
10566
- return function () {
10567
- var _this = this,
10568
- _arguments = arguments;
10569
-
10570
- clearTimeout(timeoutId); // @ts-ignore
10571
 
10572
- timeoutId = setTimeout(function () {
10573
- return fn.apply(_this, _arguments);
 
 
 
10574
  }, ms);
10575
  };
10576
  }
@@ -10632,7 +10177,7 @@ function setFlipModifierEnabled(modifiers, value) {
10632
  */
10633
 
10634
  function canReceiveFocus(element) {
10635
- return element instanceof Element ? matches.call(element, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !element.hasAttribute('disabled') : true;
10636
  }
10637
  /**
10638
  * Returns a new `div` element
@@ -10696,14 +10241,14 @@ function validateOptions(options, defaultProps) {
10696
  */
10697
 
10698
  function setInnerHTML(element, html) {
10699
- element[innerHTML()] = html instanceof Element ? html[innerHTML()] : html;
10700
  }
10701
  /**
10702
  * Sets the content of a tooltip
10703
  */
10704
 
10705
  function index_all_setContent(contentEl, props) {
10706
- if (props.content instanceof Element) {
10707
  setInnerHTML(contentEl, '');
10708
  contentEl.appendChild(props.content);
10709
  } else if (typeof props.content !== 'function') {
@@ -10745,10 +10290,10 @@ function createArrowElement(arrowType) {
10745
  var arrow = index_all_div();
10746
 
10747
  if (arrowType === 'round') {
10748
- arrow.className = 'tippy-roundarrow';
10749
  setInnerHTML(arrow, '<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>');
10750
  } else {
10751
- arrow.className = 'tippy-arrow';
10752
  }
10753
 
10754
  return arrow;
@@ -10759,7 +10304,7 @@ function createArrowElement(arrowType) {
10759
 
10760
  function createBackdropElement() {
10761
  var backdrop = index_all_div();
10762
- backdrop.className = 'tippy-backdrop';
10763
  backdrop.setAttribute('data-state', 'hidden');
10764
  return backdrop;
10765
  }
@@ -10819,23 +10364,26 @@ function updateTheme(tooltip, action, theme) {
10819
 
10820
  function createPopperElement(id, props) {
10821
  var popper = index_all_div();
10822
- popper.className = 'tippy-popper';
10823
  popper.id = "tippy-".concat(id);
10824
  popper.style.zIndex = '' + props.zIndex;
 
 
 
10825
 
10826
  if (props.role) {
10827
  popper.setAttribute('role', props.role);
10828
  }
10829
 
10830
  var tooltip = index_all_div();
10831
- tooltip.className = 'tippy-tooltip';
10832
  tooltip.style.maxWidth = props.maxWidth + (typeof props.maxWidth === 'number' ? 'px' : '');
10833
  tooltip.setAttribute('data-size', props.size);
10834
  tooltip.setAttribute('data-animation', props.animation);
10835
  tooltip.setAttribute('data-state', 'hidden');
10836
  updateTheme(tooltip, 'add', props.theme);
10837
  var content = index_all_div();
10838
- content.className = 'tippy-content';
10839
  content.setAttribute('data-state', 'hidden');
10840
 
10841
  if (props.interactive) {
@@ -10933,7 +10481,6 @@ function updatePopperElement(popper, prevProps, nextProps) {
10933
 
10934
  function hideAll() {
10935
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
10936
- checkHideOnClick = _ref.checkHideOnClick,
10937
  excludedReferenceOrInstance = _ref.exclude,
10938
  duration = _ref.duration;
10939
 
@@ -10941,14 +10488,13 @@ function hideAll() {
10941
  var instance = popper._tippy;
10942
 
10943
  if (instance) {
10944
- var shouldHideDueToHideOnClickOption = checkHideOnClick ? instance.props.hideOnClick === true : true;
10945
  var isExcluded = false;
10946
 
10947
  if (excludedReferenceOrInstance) {
10948
  isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : popper === excludedReferenceOrInstance.popper;
10949
  }
10950
 
10951
- if (shouldHideDueToHideOnClickOption && !isExcluded) {
10952
  instance.hide(duration);
10953
  }
10954
  }
@@ -10983,99 +10529,9 @@ function getOffsetDistanceInPx(distance) {
10983
  return -(distance - 10) + 'px';
10984
  }
10985
 
10986
- var isUsingTouch = false;
10987
- function onDocumentTouch() {
10988
- if (isUsingTouch) {
10989
- return;
10990
- }
10991
-
10992
- isUsingTouch = true;
10993
-
10994
- if (isIOS) {
10995
- document.body.classList.add(IOS_CLASS);
10996
- }
10997
-
10998
- if (window.performance) {
10999
- document.addEventListener('mousemove', onDocumentMouseMove);
11000
- }
11001
- }
11002
- var lastMouseMoveTime = 0;
11003
- function onDocumentMouseMove() {
11004
- var now = performance.now(); // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
11005
-
11006
- if (now - lastMouseMoveTime < 20) {
11007
- isUsingTouch = false;
11008
- document.removeEventListener('mousemove', onDocumentMouseMove);
11009
-
11010
- if (!isIOS) {
11011
- document.body.classList.remove(IOS_CLASS);
11012
- }
11013
- }
11014
-
11015
- lastMouseMoveTime = now;
11016
- }
11017
- function onDocumentClick(event) {
11018
- // Simulated events dispatched on the document
11019
- if (!(event.target instanceof Element)) {
11020
- return hideAll();
11021
- } // Clicked on an interactive popper
11022
-
11023
-
11024
- var popper = closest(event.target, POPPER_SELECTOR);
11025
-
11026
- if (popper && popper._tippy && popper._tippy.props.interactive) {
11027
- return;
11028
- } // Clicked on a reference
11029
-
11030
-
11031
- var reference = closestCallback(event.target, function (el) {
11032
- return el._tippy && el._tippy.reference === el;
11033
- });
11034
-
11035
- if (reference) {
11036
- var instance = reference._tippy;
11037
-
11038
- if (instance) {
11039
- var isClickTrigger = includes(instance.props.trigger || '', 'click');
11040
-
11041
- if (isUsingTouch || isClickTrigger) {
11042
- return hideAll({
11043
- exclude: reference,
11044
- checkHideOnClick: true
11045
- });
11046
- }
11047
-
11048
- if (instance.props.hideOnClick !== true || isClickTrigger) {
11049
- return;
11050
- }
11051
-
11052
- instance.clearDelayTimeouts();
11053
- }
11054
- }
11055
-
11056
- hideAll({
11057
- checkHideOnClick: true
11058
- });
11059
- }
11060
- function onWindowBlur() {
11061
- var _document = document,
11062
- activeElement = _document.activeElement;
11063
-
11064
- if (activeElement && activeElement.blur && activeElement._tippy) {
11065
- activeElement.blur();
11066
- }
11067
- }
11068
- /**
11069
- * Adds the needed global event listeners
11070
- */
11071
-
11072
- function bindGlobalEventListeners() {
11073
- document.addEventListener('click', onDocumentClick, true);
11074
- document.addEventListener('touchstart', onDocumentTouch, PASSIVE);
11075
- window.addEventListener('blur', onWindowBlur);
11076
- }
11077
 
11078
- var idCounter = 1;
11079
  /**
11080
  * Creates and returns a Tippy object. We're using a closure pattern instead of
11081
  * a class so that the exposed object API is clean without private members
@@ -11095,9 +10551,9 @@ function createTippy(reference, collectionProps) {
11095
  var lastMouseMoveEvent;
11096
  var showTimeoutId;
11097
  var hideTimeoutId;
11098
- var animationFrameId;
11099
  var isScheduledToShow = false;
11100
- var currentParentNode;
11101
  var previousPlacement;
11102
  var wasVisibleDuringPreviousUpdate = false;
11103
  var hasMountCallbackRun = false;
@@ -11105,7 +10561,7 @@ function createTippy(reference, collectionProps) {
11105
  var currentTransitionEndListener;
11106
  var listeners = [];
11107
  var currentComputedPadding;
11108
- var debouncedOnMouseMove = props.interactiveDebounce > 0 ? debounce(onMouseMove, props.interactiveDebounce) : onMouseMove;
11109
  /* ======================= 🔑 Public members 🔑 ======================= */
11110
 
11111
  var id = idCounter++;
@@ -11147,7 +10603,6 @@ function createTippy(reference, collectionProps) {
11147
  };
11148
  reference._tippy = instance;
11149
  popper._tippy = instance;
11150
- getEventListenersTarget()._tippy = instance;
11151
  addTriggersToReference();
11152
 
11153
  if (!props.lazy) {
@@ -11156,10 +10611,10 @@ function createTippy(reference, collectionProps) {
11156
 
11157
  if (props.showOnInit) {
11158
  scheduleShow();
11159
- } // Ensure the reference element can receive focus (and is not a delegate)
11160
 
11161
 
11162
- if (props.a11y && !props.target && !canReceiveFocus(reference)) {
11163
  getEventListenersTarget().setAttribute('tabindex', '0');
11164
  } // Prevent a tippy with a delay from hiding if the cursor left then returned
11165
  // before it started hiding
@@ -11188,13 +10643,16 @@ function createTippy(reference, collectionProps) {
11188
  document.removeEventListener('mousemove', positionVirtualReferenceNearCursor);
11189
  }
11190
  /**
11191
- * Cleans up old listeners
11192
  */
11193
 
11194
 
11195
- function cleanupOldMouseListeners() {
11196
  document.body.removeEventListener('mouseleave', scheduleHide);
11197
  document.removeEventListener('mousemove', debouncedOnMouseMove);
 
 
 
11198
  }
11199
  /**
11200
  * Returns correct target used for event listeners
@@ -11204,6 +10662,22 @@ function createTippy(reference, collectionProps) {
11204
  function getEventListenersTarget() {
11205
  return instance.props.triggerTarget || reference;
11206
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11207
  /**
11208
  * Returns transitionable inner elements used in show/hide methods
11209
  */
@@ -11213,12 +10687,14 @@ function createTippy(reference, collectionProps) {
11213
  return [instance.popperChildren.tooltip, instance.popperChildren.backdrop, instance.popperChildren.content];
11214
  }
11215
  /**
11216
- * Determines if the instance is in `followCursor` mode
 
11217
  */
11218
 
11219
 
11220
- function hasFollowCursorBehavior() {
11221
- return instance.props.followCursor && !isUsingTouch && lastTriggerEventType !== 'focus';
 
11222
  }
11223
  /**
11224
  * Updates the tooltip's position on each animation frame
@@ -11227,14 +10703,19 @@ function createTippy(reference, collectionProps) {
11227
 
11228
  function makeSticky() {
11229
  setTransitionDuration([popper], isIE ? 0 : instance.props.updateDuration);
 
11230
 
11231
  function updatePosition() {
11232
- instance.popperInstance.scheduleUpdate();
 
 
 
 
 
 
11233
 
11234
  if (instance.state.isMounted) {
11235
  requestAnimationFrame(updatePosition);
11236
- } else {
11237
- setTransitionDuration([popper], 0);
11238
  }
11239
  }
11240
 
@@ -11247,7 +10728,7 @@ function createTippy(reference, collectionProps) {
11247
 
11248
  function onTransitionedOut(duration, callback) {
11249
  onTransitionEnd(duration, function () {
11250
- if (!instance.state.isVisible && currentParentNode && currentParentNode.contains(popper)) {
11251
  callback();
11252
  }
11253
  });
@@ -11365,14 +10846,6 @@ function createTippy(reference, collectionProps) {
11365
  });
11366
  listeners = [];
11367
  }
11368
- /**
11369
- * Returns corrected preventOverflow padding if the instance has an arrow
11370
- */
11371
-
11372
-
11373
- function getCorrectedPadding(placement) {
11374
- return instance.props.arrow ? currentComputedPadding[placement] + (instance.props.arrowType === 'round' ? 18 : 16) : currentComputedPadding[placement];
11375
- }
11376
  /**
11377
  * Positions the virtual reference near the cursor
11378
  */
@@ -11380,48 +10853,12 @@ function createTippy(reference, collectionProps) {
11380
 
11381
  function positionVirtualReferenceNearCursor(event) {
11382
  var _lastMouseMoveEvent = lastMouseMoveEvent = event,
11383
- clientX = _lastMouseMoveEvent.clientX,
11384
- clientY = _lastMouseMoveEvent.clientY; // Gets set once popperInstance `onCreate` has been called
11385
 
11386
 
11387
  if (!currentComputedPadding) {
11388
  return;
11389
- }
11390
-
11391
- var rect = reference.getBoundingClientRect();
11392
- var followCursor = instance.props.followCursor;
11393
- var isHorizontal = followCursor === 'horizontal';
11394
- var isVertical = followCursor === 'vertical'; // Ensure virtual reference is padded to prevent tooltip from overflowing.
11395
- // Seems to be a Popper.js issue
11396
-
11397
- var placement = getBasicPlacement(popper);
11398
- var isVerticalPlacement = includes(['top', 'bottom'], placement);
11399
- var isHorizontalPlacement = includes(['left', 'right'], placement);
11400
-
11401
- var padding = _extends({}, currentComputedPadding);
11402
-
11403
- if (isVerticalPlacement) {
11404
- padding.left = getCorrectedPadding('left');
11405
- padding.right = getCorrectedPadding('right');
11406
- }
11407
-
11408
- if (isHorizontalPlacement) {
11409
- padding.top = getCorrectedPadding('top');
11410
- padding.bottom = getCorrectedPadding('bottom');
11411
- } // TODO: Remove the following later if Popper.js changes/fixes the
11412
- // behavior
11413
- // Top / left boundary
11414
-
11415
-
11416
- var x = isVerticalPlacement ? Math.max(padding.left, clientX) : clientX;
11417
- var y = isHorizontalPlacement ? Math.max(padding.top, clientY) : clientY; // Bottom / right boundary
11418
-
11419
- if (isVerticalPlacement && x > padding.right) {
11420
- x = Math.min(clientX, window.innerWidth - padding.right);
11421
- }
11422
-
11423
- if (isHorizontalPlacement && y > padding.bottom) {
11424
- y = Math.min(clientY, window.innerHeight - padding.bottom);
11425
  } // If the instance is interactive, avoid updating the position unless it's
11426
  // over the reference element
11427
 
@@ -11429,23 +10866,39 @@ function createTippy(reference, collectionProps) {
11429
  var isCursorOverReference = closestCallback(event.target, function (el) {
11430
  return el === reference;
11431
  });
 
 
 
 
 
 
 
 
 
 
 
 
11432
 
11433
  if (isCursorOverReference || !instance.props.interactive) {
11434
  instance.popperInstance.reference = _extends({}, instance.popperInstance.reference, {
 
 
 
 
 
 
11435
  getBoundingClientRect: function getBoundingClientRect() {
11436
  return {
11437
- width: 0,
11438
- height: 0,
11439
- top: isHorizontal ? rect.top : y,
11440
- bottom: isHorizontal ? rect.bottom : y,
11441
- left: isVertical ? rect.left : x,
11442
- right: isVertical ? rect.right : x
11443
  };
11444
- },
11445
- clientWidth: 0,
11446
- clientHeight: 0
11447
  });
11448
- instance.popperInstance.scheduleUpdate();
11449
  }
11450
 
11451
  if (followCursor === 'initial' && instance.state.isVisible) {
@@ -11485,7 +10938,14 @@ function createTippy(reference, collectionProps) {
11485
  lastTriggerEventType = event.type;
11486
 
11487
  if (event instanceof MouseEvent) {
11488
- lastMouseMoveEvent = event;
 
 
 
 
 
 
 
11489
  }
11490
  } // Toggle show/hide when clicking click-triggered tooltips
11491
 
@@ -11503,18 +10963,17 @@ function createTippy(reference, collectionProps) {
11503
 
11504
 
11505
  function onMouseMove(event) {
11506
- var referenceTheCursorIsOver = closestCallback(event.target, function (el) {
11507
- return el._tippy;
11508
- });
11509
  var isCursorOverPopper = closest(event.target, POPPER_SELECTOR) === popper;
11510
- var isCursorOverReference = referenceTheCursorIsOver === reference;
 
 
11511
 
11512
  if (isCursorOverPopper || isCursorOverReference) {
11513
  return;
11514
  }
11515
 
11516
  if (isCursorOutsideInteractiveBorder(getBasicPlacement(popper), popper.getBoundingClientRect(), event, instance.props)) {
11517
- cleanupOldMouseListeners();
11518
  scheduleHide();
11519
  }
11520
  }
@@ -11531,6 +10990,7 @@ function createTippy(reference, collectionProps) {
11531
  if (instance.props.interactive) {
11532
  document.body.addEventListener('mouseleave', scheduleHide);
11533
  document.addEventListener('mousemove', debouncedOnMouseMove);
 
11534
  return;
11535
  }
11536
 
@@ -11685,16 +11145,16 @@ function createTippy(reference, collectionProps) {
11685
  }, getModifier(popperOptions, 'offset'))
11686
  }),
11687
  onCreate: function onCreate(data) {
11688
- runMountCallback();
11689
  applyMutations(data);
 
11690
 
11691
  if (popperOptions && popperOptions.onCreate) {
11692
  popperOptions.onCreate(data);
11693
  }
11694
  },
11695
  onUpdate: function onUpdate(data) {
11696
- runMountCallback();
11697
  applyMutations(data);
 
11698
 
11699
  if (popperOptions && popperOptions.onUpdate) {
11700
  popperOptions.onUpdate(data);
@@ -11711,58 +11171,30 @@ function createTippy(reference, collectionProps) {
11711
 
11712
  function mount() {
11713
  hasMountCallbackRun = false;
11714
- var shouldEnableListeners = !hasFollowCursorBehavior() && !(instance.props.followCursor === 'initial' && isUsingTouch);
11715
-
11716
- if (!instance.popperInstance) {
11717
- createPopperInstance();
11718
-
11719
- if (shouldEnableListeners) {
11720
- instance.popperInstance.enableEventListeners();
11721
- }
11722
- } else {
11723
- if (!hasFollowCursorBehavior()) {
11724
- instance.popperInstance.scheduleUpdate();
11725
-
11726
- if (shouldEnableListeners) {
11727
- instance.popperInstance.enableEventListeners();
11728
- }
11729
- }
11730
 
 
11731
  setFlipModifierEnabled(instance.popperInstance.modifiers, instance.props.flip);
11732
- } // If the instance previously had followCursor behavior, it will be
11733
- // positioned incorrectly if triggered by `focus` afterwards.
11734
- // Update the reference back to the real DOM element
11735
-
11736
-
11737
- instance.popperInstance.reference = reference;
11738
- var arrow = instance.popperChildren.arrow;
11739
-
11740
- if (hasFollowCursorBehavior()) {
11741
- if (arrow) {
11742
- arrow.style.margin = '0';
11743
- }
11744
 
11745
- if (lastMouseMoveEvent) {
11746
- positionVirtualReferenceNearCursor(lastMouseMoveEvent);
 
11747
  }
11748
- } else if (arrow) {
11749
- arrow.style.margin = '';
11750
- } // Allow followCursor: 'initial' on touch devices
11751
 
 
 
 
11752
 
11753
- if (isUsingTouch && lastMouseMoveEvent && instance.props.followCursor === 'initial') {
11754
- positionVirtualReferenceNearCursor(lastMouseMoveEvent);
11755
-
11756
- if (arrow) {
11757
- arrow.style.margin = '0';
11758
  }
11759
  }
11760
 
11761
  var appendTo = instance.props.appendTo;
11762
- currentParentNode = appendTo === 'parent' ? reference.parentNode : invokeWithArgsOrReturn(appendTo, [reference]);
11763
 
11764
- if (!currentParentNode.contains(popper)) {
11765
- currentParentNode.appendChild(popper);
11766
  instance.props.onMount(instance);
11767
  instance.state.isMounted = true;
11768
  }
@@ -11799,7 +11231,7 @@ function createTippy(reference, collectionProps) {
11799
  // called, it causes a jump.
11800
 
11801
 
11802
- if (hasFollowCursorBehavior() && !instance.state.isMounted) {
11803
  if (!instance.popperInstance) {
11804
  createPopperInstance();
11805
  }
@@ -11807,6 +11239,7 @@ function createTippy(reference, collectionProps) {
11807
  document.addEventListener('mousemove', positionVirtualReferenceNearCursor);
11808
  }
11809
 
 
11810
  var delay = getValue(instance.props.delay, 0, defaultProps.delay);
11811
 
11812
  if (delay) {
@@ -11826,7 +11259,9 @@ function createTippy(reference, collectionProps) {
11826
  clearDelayTimeouts();
11827
 
11828
  if (!instance.state.isVisible) {
11829
- return removeFollowCursorListener();
 
 
11830
  }
11831
 
11832
  isScheduledToShow = false;
@@ -11841,11 +11276,39 @@ function createTippy(reference, collectionProps) {
11841
  } else {
11842
  // Fixes a `transitionend` problem when it fires 1 frame too
11843
  // late sometimes, we don't want hide() to be called.
11844
- animationFrameId = requestAnimationFrame(function () {
11845
  hide();
11846
  });
11847
  }
11848
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11849
  /* ======================= 🔑 Public methods 🔑 ======================= */
11850
 
11851
  /**
@@ -11872,7 +11335,7 @@ function createTippy(reference, collectionProps) {
11872
  function clearDelayTimeouts() {
11873
  clearTimeout(showTimeoutId);
11874
  clearTimeout(hideTimeoutId);
11875
- cancelAnimationFrame(animationFrameId);
11876
  }
11877
  /**
11878
  * Sets new props for the instance and redraws the tooltip
@@ -11884,27 +11347,19 @@ function createTippy(reference, collectionProps) {
11884
  options = options || {};
11885
  validateOptions(options, defaultProps);
11886
  removeTriggersFromReference();
11887
-
11888
- if (instance.props.triggerTarget) {
11889
- delete instance.props.triggerTarget._tippy;
11890
- }
11891
-
11892
  var prevProps = instance.props;
11893
- var nextProps = evaluateProps(reference, _extends({}, instance.props, options, {
11894
  ignoreAttributes: true
11895
  }));
11896
  nextProps.ignoreAttributes = index_all_hasOwnProperty(options, 'ignoreAttributes') ? options.ignoreAttributes || false : prevProps.ignoreAttributes;
11897
  instance.props = nextProps;
11898
- getEventListenersTarget()._tippy = instance;
11899
  addTriggersToReference();
11900
- cleanupOldMouseListeners();
11901
- debouncedOnMouseMove = debounce(onMouseMove, options.interactiveDebounce || 0);
11902
  updatePopperElement(popper, prevProps, nextProps);
11903
  instance.popperChildren = getChildren(popper);
11904
 
11905
  if (instance.popperInstance) {
11906
- instance.popperInstance.update();
11907
-
11908
  if (POPPER_INSTANCE_DEPENDENCIES.some(function (prop) {
11909
  return index_all_hasOwnProperty(options, prop) && options[prop] !== prevProps[prop];
11910
  })) {
@@ -11918,6 +11373,8 @@ function createTippy(reference, collectionProps) {
11918
  if (instance.props.followCursor && lastMouseMoveEvent) {
11919
  positionVirtualReferenceNearCursor(lastMouseMoveEvent);
11920
  }
 
 
11921
  }
11922
  }
11923
  }
@@ -11954,6 +11411,7 @@ function createTippy(reference, collectionProps) {
11954
  return;
11955
  }
11956
 
 
11957
  popper.style.visibility = 'visible';
11958
  instance.state.isVisible = true;
11959
 
@@ -11968,10 +11426,14 @@ function createTippy(reference, collectionProps) {
11968
  currentMountCallback = function currentMountCallback() {
11969
  if (!instance.state.isVisible) {
11970
  return;
11971
- } // Double update will apply correct mutations
11972
 
 
11973
 
11974
- if (!hasFollowCursorBehavior()) {
 
 
 
11975
  instance.popperInstance.update();
11976
  }
11977
 
@@ -12006,14 +11468,15 @@ function createTippy(reference, collectionProps) {
12006
  function hide() {
12007
  var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getValue(instance.props.duration, 1, defaultProps.duration[1]);
12008
 
12009
- if (instance.state.isDestroyed || !instance.state.isEnabled) {
12010
  return;
12011
  }
12012
 
12013
- if (instance.props.onHide(instance) === false) {
12014
  return;
12015
  }
12016
 
 
12017
  popper.style.visibility = 'hidden';
12018
  instance.state.isVisible = false;
12019
  instance.state.isShown = false;
@@ -12037,7 +11500,7 @@ function createTippy(reference, collectionProps) {
12037
 
12038
  instance.popperInstance.disableEventListeners();
12039
  instance.popperInstance.options.placement = instance.props.placement;
12040
- currentParentNode.removeChild(popper);
12041
  instance.props.onHidden(instance);
12042
  instance.state.isMounted = false;
12043
  });
@@ -12050,9 +11513,10 @@ function createTippy(reference, collectionProps) {
12050
  function destroy(destroyTargetInstances) {
12051
  if (instance.state.isDestroyed) {
12052
  return;
12053
- } // If the popper is currently mounted to the DOM, we want to ensure it gets
12054
- // hidden and unmounted instantly upon destruction
12055
 
 
 
12056
 
12057
  if (instance.state.isMounted) {
12058
  hide(0);
@@ -12060,7 +11524,6 @@ function createTippy(reference, collectionProps) {
12060
 
12061
  removeTriggersFromReference();
12062
  delete reference._tippy;
12063
- delete getEventListenersTarget()._tippy;
12064
  var target = instance.props.target;
12065
 
12066
  if (target && destroyTargetInstances && isRealElement(reference)) {
@@ -12075,6 +11538,7 @@ function createTippy(reference, collectionProps) {
12075
  instance.popperInstance.destroy();
12076
  }
12077
 
 
12078
  instance.state.isDestroyed = true;
12079
  }
12080
  }
@@ -12111,7 +11575,10 @@ function group(instances) {
12111
  instance.set({
12112
  duration: duration
12113
  });
12114
- instance.hide();
 
 
 
12115
  });
12116
  setIsAnyTippyOpen(true);
12117
  }
@@ -12158,7 +11625,7 @@ function tippy(targets, options) {
12158
  globalEventListenersBound = true;
12159
  }
12160
 
12161
- var props = _extends({}, defaultProps, options); // If they are specifying a virtual positioning reference, we need to polyfill
12162
  // some native DOM props
12163
 
12164
 
@@ -12226,11 +11693,12 @@ function injectCSS(css) {
12226
  var style = document.createElement('style');
12227
  style.type = 'text/css';
12228
  style.textContent = css;
 
12229
  var head = document.head;
12230
- var firstChild = head.firstChild;
12231
 
12232
- if (firstChild) {
12233
- head.insertBefore(style, firstChild);
12234
  } else {
12235
  head.appendChild(style);
12236
  }
@@ -13005,32 +12473,152 @@ class Mail
13005
  }
13006
  }
13007
  }
13008
- // EXTERNAL MODULE: ./src/js/admin/ui/Button/ButtonOptions/ButtonAction/Javascript.js
13009
- var Javascript = __webpack_require__(6);
13010
-
13011
- // CONCATENATED MODULE: ./src/js/admin/ui/Button/ButtonOptions/ButtonAction/SocialSharing.js
13012
- class SocialSharing
13013
  {
13014
- constructor(ButtonAction)
13015
  {
13016
  this.buttonAction = ButtonAction;
 
13017
  }
13018
 
13019
- /**
13020
- * Build Sharing options
13021
- * @returns {HTMLSelectElement}
13022
- */
13023
  build()
13024
  {
13025
- // Create select
13026
- let select = document.createElement("select");
13027
- select.className = "buttonizer-select-action";
13028
-
13029
- // // Share on Facebook
13030
- // select.appendChild(this.add('facebook', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Facebook')));
13031
 
13032
- // // Twitter
13033
- // select.appendChild(this.add('twitter', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Twitter')));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13034
 
13035
  // // Whatsapp
13036
  // select.appendChild(this.add('whatsapp', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Whatsapp')));
@@ -13131,6 +12719,7 @@ class SocialSharing
13131
 
13132
 
13133
 
 
13134
  class Action_Action
13135
  {
13136
  /**
@@ -13213,7 +12802,6 @@ class Action_Action
13213
  {value: "snapchat", text: "Snapchat"},
13214
  {value: "linkedin", text: "LinkedIn"},
13215
  {value: "vk", text: "VKontakte"},
13216
- {value: "poptin", text: "Poptin"},
13217
  {value: "waze", text: "Waze"},
13218
  ]
13219
  )
@@ -13226,6 +12814,19 @@ class Action_Action
13226
  {value: "poptin", text: "Poptin"},
13227
  {value: "elementor_popup", text: "Elementor Popup"},
13228
  {value: "popup_maker", text: "Popup Maker"},
 
 
 
 
 
 
 
 
 
 
 
 
 
13229
  ]
13230
  )
13231
  );
@@ -13359,6 +12960,10 @@ class Action_Action
13359
  {
13360
  this.value = "";
13361
  }
 
 
 
 
13362
  else if(value === "messenger_chat")
13363
  {
13364
  for (let groups of window.Buttonizer.buttonGroups) {
@@ -13455,6 +13060,16 @@ class Action_Action
13455
 
13456
  this.element.appendChild(infoText);
13457
  }
 
 
 
 
 
 
 
 
 
 
13458
  else if(value === "mail")
13459
  {
13460
  this.element.appendChild((new Mail(this)).build(window.Buttonizer.translate('settings.button_action.placeholders.mail.recipient')));
@@ -13476,7 +13091,7 @@ class Action_Action
13476
  this.element.appendChild((new SocialSharing(this)).build());
13477
  }
13478
 
13479
- else if(value === "backtotop" || value === "gobackpage")
13480
  {
13481
  return;
13482
  }
@@ -13550,6 +13165,13 @@ class Action_Action
13550
 
13551
  this.addKnowledgeBaseLink(57, "Elementor popup");
13552
  }
 
 
 
 
 
 
 
13553
  else if(value === 'poptin') {
13554
  this.element.appendChild((new Url(this)).build('https://app.popt.in/APIRequest/click/0c768294b0605'));
13555
 
@@ -14002,730 +13624,938 @@ class Label_Label extends Setting_Setting
14002
  })
14003
  }
14004
  }
14005
- // EXTERNAL MODULE: ./node_modules/@sphinxxxx/color-conversion/dist/color-conversion.js
14006
- var color_conversion = __webpack_require__(5);
 
 
 
 
14007
 
14008
- // EXTERNAL MODULE: ./node_modules/drag-tracker/dist/drag-tracker.js
14009
- var drag_tracker = __webpack_require__(2);
 
 
 
 
 
 
 
 
14010
 
14011
- // CONCATENATED MODULE: ./node_modules/vanilla-picker/dist/vanilla-picker.mjs
14012
- /*global HTMLElement*/
 
 
 
 
14013
 
 
 
 
 
 
 
14014
 
 
 
 
14015
 
 
 
 
 
 
 
 
 
 
 
 
 
14016
 
 
 
14017
 
14018
- const BG_TRANSP = `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E")`;
14019
- const HUES = 360;
14020
- //We need to use keydown instead of keypress to handle Esc from the editor textbox:
14021
- const EVENT_KEY = 'keydown', //'keypress'
14022
- EVENT_CLICK_OUTSIDE = 'mousedown',
14023
- EVENT_TAB_MOVE = 'focusin';
 
 
 
 
14024
 
 
 
 
 
 
 
 
 
14025
 
14026
- function parseHTML(htmlString) {
14027
- //https://stackoverflow.com/questions/494143/creating-a-new-dom-element-from-an-html-string-using-built-in-dom-methods-or-pro
14028
- const div = document.createElement('div');
14029
- div.innerHTML = htmlString;
14030
- return div.firstElementChild;
14031
- }
14032
 
14033
- function $(selector, context) {
14034
- return (context || document).querySelector(selector);
14035
- }
14036
 
14037
- function addEvent(target, type, handler) {
14038
- target.addEventListener(type, handler, false);
14039
- }
14040
- function stopEvent(e) {
14041
- //Stop an event from bubbling up to the parent:
14042
- e.preventDefault();
14043
- e.stopPropagation();
14044
- }
14045
- function onKey(target, keys, handler, stop) {
14046
- addEvent(target, EVENT_KEY, function(e) {
14047
- if(keys.indexOf(e.key) >= 0) {
14048
- if(stop) { stopEvent(e); }
14049
- handler(e);
14050
- }
14051
- });
14052
  }
14053
 
 
 
 
14054
 
14055
- /* Inlined Picker CSS */
14056
- const _style = document.createElement('style');
14057
- _style.textContent = `.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.layout_default.picker_wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:6rem}.layout_default .picker_editor input{width:calc(100% + 2px);height:calc(100% + 2px)}.layout_default .picker_sample{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.layout_default .picker_done{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.picker_wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;background:#f2f2f2;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{margin:-1px}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;-webkit-box-shadow:0 0 3px 1px #67b9ff;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver}.picker_sl{position:relative;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E") left top/contain white;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:monospace;padding:.1em .2em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_done button{-webkit-box-sizing:border-box;box-sizing:border-box;padding:.2em .5em;cursor:pointer}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;-webkit-box-shadow:0 0 10px 1px rgba(0,0,0,0.4);box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;-webkit-box-shadow:none;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}`;
14058
- document.documentElement.firstElementChild //<head>, or <body> if there is no <head>
14059
- .appendChild(_style);
14060
 
 
 
14061
 
14062
- class vanilla_picker_Picker {
 
 
 
 
 
 
14063
 
14064
- //https://stackoverflow.com/questions/24214962/whats-the-proper-way-to-document-callbacks-with-jsdoc
14065
- /**
14066
- * A callback that gets the picker's current color value.
14067
- *
14068
- * @callback Picker~colorCallback
14069
- * @param {Object} color
14070
- * @param {number[]} color.rgba - RGBA color components.
14071
- * @param {number[]} color.hsla - HSLA color components (all values between 0 and 1, inclusive).
14072
- * @param {string} color.rgbString - RGB CSS value (e.g. `rgb(255,215,0)`).
14073
- * @param {string} color.rgbaString - RGBA CSS value (e.g. `rgba(255,215,0, .5)`).
14074
- * @param {string} color.hslString - HSL CSS value (e.g. `hsl(50.6,100%,50%)`).
14075
- * @param {string} color.hslaString - HSLA CSS value (e.g. `hsla(50.6,100%,50%, .5)`).
14076
- * @param {string} color.hex - 8 digit #RRGGBBAA (not supported in all browsers).
14077
- */
14078
-
14079
- /**
14080
- * Create a color picker.
14081
- *
14082
- * @example
14083
- * var picker = new Picker(myParentElement);
14084
- * picker.onDone = function(color) {
14085
- * myParentElement.style.backgroundColor = color.rgbaString;
14086
- * };
14087
- *
14088
- * @example
14089
- * var picker = new Picker({
14090
- * parent: myParentElement,
14091
- * color: 'gold',
14092
- * onChange: function(color) {
14093
- * myParentElement.style.backgroundColor = color.rgbaString;
14094
- * },
14095
- * });
14096
- *
14097
- * @param {Object} options - @see {@linkcode Picker#setOptions|setOptions()}
14098
- */
14099
- constructor(options) {
14100
 
14101
- //Default settings
14102
- this.settings = {
14103
- //Allow creating a popup without putting it on screen yet.
14104
- // parent: document.body,
14105
- popup: 'right',
14106
- layout: 'default',
14107
- alpha: true,
14108
- editor: true,
14109
- editorFormat: 'hex',
14110
- };
 
 
 
 
 
14111
 
14112
- //Keep openHandler() pluggable, but call it in the right context:
14113
- //https://stackoverflow.com/questions/46014034/es6-removeeventlistener-from-arrow-function-oop
14114
- this._openProxy = (e) => this.openHandler(e);
 
 
 
 
 
 
14115
 
14116
- /**
14117
- * Callback whenever the color changes.
14118
- * @member {Picker~colorCallback}
14119
- */
14120
- this.onChange = null;
14121
- /**
14122
- * Callback when the user clicks "Ok".
14123
- * @member {Picker~colorCallback}
14124
- */
14125
- this.onDone = null;
14126
- /**
14127
- * Callback when the popup opens.
14128
- * @member {Picker~colorCallback}
14129
- */
14130
- this.onOpen = null;
14131
- /**
14132
- * Callback when the popup closes.
14133
- * @member {Picker~colorCallback}
14134
- */
14135
- this.onClose = null;
14136
-
14137
- this.setOptions(options);
14138
  }
14139
 
 
 
 
 
 
 
 
14140
 
14141
- /**
14142
- * Set the picker options.
14143
- *
14144
- * @param {Object} options
14145
- * @param {HTMLElement} options.parent - Which element the picker should be attached to.
14146
- * @param {('top'|'bottom'|'left'|'right'|false)}
14147
- * [options.popup=right] - If the picker is used as a popup, where to place it relative to the parent. `false` to add the picker as a normal child element of the parent.
14148
- * @param {string} [options.template] - Custom HTML string from which to build the picker. See /src/picker.pug for required elements and class names.
14149
- * @param {string} [options.layout=default] - Suffix of a custom "layout_..." CSS class to handle the overall arrangement of the picker elements.
14150
- * @param {boolean} [options.alpha=true] - Whether to enable adjusting the alpha channel.
14151
- * @param {boolean} [options.editor=true] - Whether to show a text field for color value editing.
14152
- * @param {('hex'|'hsl'|'rgb')}
14153
- * [options.editorFormat=hex] - How to display the selected color in the text field (the text field still supports *input* in any format).
14154
- * @param {string} [options.color] - Initial color for the picker.
14155
- * @param {function} [options.onChange] - @see {@linkcode Picker#onChange|onChange}
14156
- * @param {function} [options.onDone] - @see {@linkcode Picker#onDone|onDone}
14157
- * @param {function} [options.onOpen] - @see {@linkcode Picker#onOpen|onOpen}
14158
- * @param {function} [options.onClose] - @see {@linkcode Picker#onClose|onClose}
14159
- */
14160
- setOptions(options) {
14161
- if(!options) { return; }
14162
- const settings = this.settings;
14163
 
14164
- function transfer(source, target, skipKeys) {
14165
- for (const key in source) {
14166
- if(skipKeys && (skipKeys.indexOf(key) >= 0)) { continue; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14167
 
14168
- target[key] = source[key];
 
 
 
 
14169
  }
14170
- }
14171
 
14172
- if(options instanceof HTMLElement) {
14173
- settings.parent = options;
14174
  }
14175
- else {
14176
- //const skipKeys = [];
14177
- //
14178
- //if(options.popup instanceof Object) {
14179
- // transfer(options.popup, settings.popup);
14180
- // skipKeys.push('popup');
14181
- //}
14182
-
14183
- /* //TODO: options.layout -> Object
14184
- {
14185
- mode: 'hsla', //'hsla', 'hasl', 'hsl'. Deprecate options.alpha
14186
- verticalHue: false,
14187
- verticalAlpha: true,
14188
- alphaOnSL: false,
14189
- editor: true, //Deprecate options.editor
14190
- css: undefined, //Same as old options.layout. Default from mode
14191
- //.template as well?
14192
  }
14193
- //*/
14194
-
14195
- //New parent?
14196
- if(settings.parent && options.parent && (settings.parent !== options.parent)) {
14197
- settings.parent.removeEventListener('click', this._openProxy, false);
14198
- this._popupInited = false;
14199
  }
14200
 
14201
- transfer(options, settings/*, skipKeys*/);
14202
-
14203
- //Event callbacks. Hook these up before setColor() below,
14204
- //because we'll need to fire onChange() if there is a color in the options
14205
- if(options.onChange) { this.onChange = options.onChange; }
14206
- if(options.onDone) { this.onDone = options.onDone; }
14207
- if(options.onOpen) { this.onOpen = options.onOpen; }
14208
- if(options.onClose) { this.onClose = options.onClose; }
14209
-
14210
- //Note: Look for color in 'options', as a color value in 'settings' may be an old one we don't want to revert to.
14211
- const col = options.color || options.colour;
14212
- if(col) { this._setColor(col); }
14213
  }
14214
-
14215
- //Init popup behavior once we have all the parts we need:
14216
- const parent = settings.parent;
14217
- if(parent && settings.popup && !this._popupInited) {
14218
-
14219
- addEvent(parent, 'click', this._openProxy);
14220
-
14221
- //Keyboard navigation: Open on [Space] or [Enter] (but stop the event to avoid typing a " " in the editor textbox).
14222
- //No, don't stop the event, as that would disable normal input behavior (typing a " " or clicking the Ok button with [Enter]).
14223
- //Fix: setTimeout() in openHandler()..
14224
- //
14225
- //https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values#Whitespace_keys
14226
- onKey(parent, [' ', 'Spacebar', 'Enter'], this._openProxy/*, true*/);
14227
-
14228
- //This must wait until we have created our DOM..
14229
- // addEvent(window, 'mousedown', (e) => this.closeHandler(e));
14230
- // addEvent(this._domOkay, 'click', (e) => this.closeHandler(e));
14231
-
14232
- this._popupInited = true;
14233
  }
14234
- else if(options.parent && !settings.popup) {
14235
- this.show();
 
 
14236
  }
14237
- }
14238
-
 
 
 
 
 
14239
 
14240
- /**
14241
- * Default behavior for opening the popup
14242
- */
14243
- openHandler(e) {
14244
- if(this.show()) {
14245
- //If the parent is an <a href="#"> element, avoid scrolling to the top:
14246
- e && e.preventDefault();
14247
-
14248
- //A trick to avoid re-opening the dialog if you click the parent element while the dialog is open:
14249
- this.settings.parent.style.pointerEvents = 'none';
14250
-
14251
- //Recommended popup behavior with keyboard navigation from http://whatsock.com/tsg/Coding%20Arena/Popups/Popup%20(Internal%20Content)/demo.htm
14252
- //Wait a little before focusing the textbox, in case the dialog was just opened with [Space] (would overwrite the color value with a " "):
14253
- const toFocus = (e && (e.type === EVENT_KEY)) ? this._domEdit : this.domElement;
14254
- setTimeout(() => toFocus.focus(), 100);
14255
-
14256
- if(this.onOpen) { this.onOpen(this.colour); }
14257
  }
14258
- }
 
 
14259
 
 
14260
 
14261
- /**
14262
- * Default behavior for closing the popup
14263
- */
14264
- closeHandler(e) {
14265
- const event = e && e.type;
14266
- let doHide = false;
 
14267
 
14268
- //Close programmatically:
14269
- if(!e) {
14270
- doHide = true;
14271
  }
14272
- /*
14273
- //Close by clicking/tabbing outside the popup:
14274
- else if((event === EVENT_CLICK_OUTSIDE) || (event === EVENT_TAB_MOVE)) {
14275
-
14276
- //Note: Now that we have added the 'focusin' event,
14277
- //this trick requires the picker wrapper to be focusable (via `tabindex` - see /src/picker.pug),
14278
- //or else the popup loses focus if you click anywhere on the picker's background.
14279
- if(!this.domElement.contains(e.target)) {
14280
- doHide = true;
14281
  }
14282
  }
14283
- /**/
14284
- //Close by mouse/touch or key events:
14285
- else {
14286
- //Don't bubble [Ok] clicks or [Enter] keys up to the parent, because that's the trigger to re-open the popup.
14287
- //However, we do need to propagate the other individual mouse events, or else the editor text box can't be clicked(!)
14288
- if((event === 'click') || (event === EVENT_KEY)) {
14289
- stopEvent(e);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14290
  }
14291
 
14292
- doHide = true;
14293
  }
14294
-
14295
- if(doHide && this.hide()) {
14296
- this.settings.parent.style.pointerEvents = '';
14297
-
14298
- //Recommended popup behavior from http://whatsock.com/tsg/Coding%20Arena/Popups/Popup%20(Internal%20Content)/demo.htm
14299
- //However, we don't re-focus the parent if the user closes the popup by clicking somewhere else on the screen,
14300
- //because they may have scrolled to a different part of the page by then, and focusing would then inadvertently scroll the parent back into view:
14301
- if(event !== EVENT_CLICK_OUTSIDE) {
14302
- this.settings.parent.focus();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14303
  }
14304
 
14305
- if(this.onClose) { this.onClose(this.colour); }
 
 
 
14306
  }
14307
- }
 
 
14308
 
 
14309
 
14310
- /**
14311
- * Move the popup to a different parent, optionally opening it at the same time.
14312
- *
14313
- * @param {Object} options - @see {@linkcode Picker#setOptions|setOptions()} (Usually a new `.parent` and `.color`).
14314
- * @param {boolean} open - Whether to open the popup immediately.
14315
- */
14316
- movePopup(options, open) {
14317
- //Cleanup if the popup is currently open (at least revert the current parent's .pointerEvents);
14318
- this.closeHandler();
14319
-
14320
- this.setOptions(options);
14321
- if(open) {
14322
- this.openHandler();
14323
- }
14324
- }
14325
 
 
 
14326
 
14327
- /**
14328
- * Set/initialize the picker's color.
14329
- *
14330
- * @param {string} color - Color name, RGBA/HSLA/HEX string, or RGBA array.
14331
- * @param {boolean} silent - If true, won't trigger onChange.
14332
- */
14333
- setColor(color, silent) {
14334
- this._setColor(color, { silent: silent });
14335
  }
14336
- _setColor(color, flags) {
14337
- if(typeof color === 'string') { color = color.trim(); }
14338
- if (!color) { return; }
14339
 
14340
- flags = flags || {};
14341
- let c;
14342
- try {
14343
- //Will throw on unknown colors:
14344
- c = new color_conversion(color);
14345
  }
14346
- catch (ex) {
14347
- if(flags.failSilently) { return; }
14348
- throw ex;
14349
  }
14350
 
14351
- if(!this.settings.alpha) {
14352
- const hsla = c.hsla;
14353
- hsla[3] = 1;
14354
- c.hsla = hsla;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14355
  }
14356
- this.colour = this.color = c;
14357
- this._setHSLA(null, null, null, null, flags);
14358
  }
14359
- /**
14360
- * @see {@linkcode Picker#setColor|setColor()}
14361
- */
14362
- setColour(colour, silent) {
14363
- this.setColor(colour, silent);
 
 
14364
  }
14365
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14366
 
14367
- /**
14368
- * Show/open the picker.
14369
- */
14370
- show() {
14371
- const parent = this.settings.parent;
14372
- if(!parent) { return false; }
14373
-
14374
- //Unhide html if it exists
14375
- if(this.domElement) {
14376
- const toggled = this._toggleDOM(true);
14377
 
14378
- //Things could have changed through setOptions():
14379
- this._setPosition();
 
 
 
 
 
14380
 
14381
- return toggled;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14382
  }
 
 
14383
 
14384
- const html = this.settings.template || `<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div></div>`;
14385
- const wrapper = parseHTML(html);
14386
-
14387
- this.domElement = wrapper;
14388
- this._domH = $('.picker_hue', wrapper);
14389
- this._domSL = $('.picker_sl', wrapper);
14390
- this._domA = $('.picker_alpha', wrapper);
14391
- this._domEdit = $('.picker_editor input', wrapper);
14392
- this._domSample = $('.picker_sample', wrapper);
14393
- this._domOkay = $('.picker_done button', wrapper);
14394
-
14395
- wrapper.classList.add('layout_' + this.settings.layout);
14396
- if(!this.settings.alpha) { wrapper.classList.add('no_alpha'); }
14397
- if(!this.settings.editor) { wrapper.classList.add('no_editor'); }
14398
- this._ifPopup(() => wrapper.classList.add('popup'));
14399
-
14400
- this._setPosition();
14401
 
 
 
 
14402
 
14403
- if(this.colour) {
14404
- this._updateUI();
14405
- }
14406
- else {
14407
- this._setColor('#0cf');
14408
- }
14409
- this._bindEvents();
14410
-
14411
- return true;
14412
- }
14413
 
14414
 
14415
- /**
14416
- * Hide the picker.
14417
- */
14418
- hide() {
14419
- return this._toggleDOM(false);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14420
  }
14421
 
 
 
 
 
 
 
 
14422
 
14423
- /*
14424
- * Handle user input.
14425
- *
14426
- * @private
14427
- */
14428
- _bindEvents() {
14429
- const that = this,
14430
- dom = this.domElement;
14431
-
14432
- //Prevent clicks while dragging from bubbling up to the parent:
14433
- addEvent(dom, 'click', e => e.preventDefault());
14434
 
 
 
 
14435
 
14436
- /* Draggable color selection */
 
 
 
14437
 
14438
- function createDragConfig(container, callbackRelative) {
14439
 
14440
- //Convert the px coordinates to relative coordinates (0-1) before invoking the callback:
14441
- function relayDrag(_, pos) {
14442
- const relX = pos[0]/container.clientWidth,
14443
- relY = pos[1]/container.clientHeight;
14444
- callbackRelative(relX, relY);
 
 
 
 
 
 
 
 
 
 
 
 
14445
  }
14446
 
14447
- const config = {
14448
- container: container,
14449
- dragOutside: false,
14450
- callback: relayDrag,
14451
- //Respond at once (mousedown), don't wait for click or drag:
14452
- callbackDragStart: relayDrag,
14453
- //When interacting with a picker, this allows other open picker popups to close:
14454
- propagateEvents: true,
14455
- };
14456
- return config;
14457
- }
14458
 
14459
- //Select hue
14460
- drag_tracker(createDragConfig(this._domH, (x, y) => that._setHSLA(x)));
14461
 
14462
- //Select saturation/lightness
14463
- drag_tracker(createDragConfig(this._domSL, (x, y) => that._setHSLA(null, x, 1 - y)));
14464
 
14465
- //Select alpha
14466
- if(this.settings.alpha) {
14467
- drag_tracker(createDragConfig(this._domA, (x, y) => that._setHSLA(null, null, null, 1 - y)));
 
14468
  }
14469
-
14470
-
14471
- /* Direct color value editing */
 
14472
 
14473
- //Always init the editor, for accessibility and screen readers (we'll hide it with CSS if `!settings.editor`)
14474
- const editInput = this._domEdit;
14475
- /*if(this.settings.editor)*/ {
14476
- addEvent(editInput, 'input', function(e) {
14477
- that._setColor(this.value, { fromEditor: true, failSilently: true });
14478
- });
14479
- //Select all text on focus:
14480
- addEvent(editInput, 'focus', function(e) {
14481
- const input = this;
14482
- //If no current selection:
14483
- if(input.selectionStart === input.selectionEnd) {
14484
- input.select();
14485
  }
14486
- });
14487
  }
 
 
 
 
 
14488
 
 
 
 
14489
 
14490
- /* Close the dialog */
14491
-
14492
- const onDoneProxy = (e) => {
14493
- this._ifPopup(() => this.closeHandler(e));
14494
- if(this.onDone) { this.onDone(this.colour); }
14495
- };
14496
 
14497
- this._ifPopup(() => {
14498
- //Keep closeHandler() pluggable, but call it in the right context:
14499
- const popupCloseProxy = (e) => this.closeHandler(e);
14500
-
14501
- addEvent(window, EVENT_CLICK_OUTSIDE, popupCloseProxy);
14502
- addEvent(window, EVENT_TAB_MOVE, popupCloseProxy);
14503
- onKey( dom, ['Esc', 'Escape'], popupCloseProxy);
14504
-
14505
-
14506
- //Above, we added events on `window` to close the popup.
14507
- //Now, we must make sure that events from within the picker don't reach the window and cause the popup to close.
14508
- //We do it this way instead of checking `e.target` in `closeHandler()` for two reasons:
14509
- // * If used in a shadow DOM, the original `target` isn't available once the event reaches `window` (issue #15)
14510
- // * Events bubble differently in different browsers. E.g. in Firefox, the parent gets a `focusin` event if you click the editor or Ok button (issue #17).
14511
- //
14512
- addEvent(dom, EVENT_CLICK_OUTSIDE, stopEvent);
14513
- //Note: Now that we have added the 'focusin' event, this trick requires the picker wrapper to be focusable (via `tabindex` - see /src/picker.pug),
14514
- //or else the popup loses focus if you click anywhere on the picker's background.
14515
- addEvent(dom, EVENT_TAB_MOVE, stopEvent);
14516
-
14517
-
14518
- //Just one thing.. The stopEvent() on clicks above makes the editor text box unresponsive to mouse clicks.
14519
- //So here's a hack to get around that:
14520
- addEvent(this._domEdit, EVENT_CLICK_OUTSIDE, e => this._domEdit.focus());
14521
- });
14522
 
14523
- addEvent(this._domOkay, 'click', onDoneProxy);
14524
- onKey( dom, ['Enter'], onDoneProxy);
14525
- }
14526
 
 
 
14527
 
14528
- /*
14529
- * Position the picker on screen.
14530
- *
14531
- * @private
14532
- */
14533
- _setPosition() {
14534
- const parent = this.settings.parent,
14535
- elm = this.domElement;
14536
 
14537
- if(parent !== elm.parentNode) { parent.appendChild(elm); }
 
 
 
 
 
 
 
14538
 
14539
- this._ifPopup((popup) => {
14540
 
14541
- //Allow for absolute positioning of the picker popup:
14542
- if(getComputedStyle(parent).position === 'static') {
14543
- parent.style.position = 'relative';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14544
  }
14545
 
14546
- const cssClass = (popup === true) ? 'popup_right' : 'popup_' + popup;
 
 
14547
 
14548
- ['popup_top', 'popup_bottom', 'popup_left', 'popup_right'].forEach(c => {
14549
- //Because IE doesn't support .classList.toggle()'s second argument...
14550
- if(c === cssClass) {
14551
- elm.classList.add(c);
14552
  }
14553
- else {
14554
- elm.classList.remove(c);
14555
- }
14556
- });
14557
 
14558
- //Allow for custom placement via CSS:
14559
- elm.classList.add(cssClass);
14560
- });
14561
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14562
 
 
 
14563
 
14564
- /*
14565
- * "Hub" for all color changes
14566
- *
14567
- * @private
14568
- */
14569
- _setHSLA(h, s, l, a, flags) {
14570
- flags = flags || {};
14571
 
14572
- const col = this.colour,
14573
- hsla = col.hsla;
14574
 
14575
- [h, s, l, a].forEach((x, i) => {
14576
- if(x || (x === 0)) { hsla[i] = x; }
14577
- });
14578
- col.hsla = hsla;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14579
 
14580
- this._updateUI(flags);
14581
 
14582
- if(this.onChange && !flags.silent) { this.onChange(col); }
14583
- }
 
 
 
 
14584
 
14585
- _updateUI(flags) {
14586
- if(!this.domElement) { return; }
14587
- flags = flags || {};
14588
-
14589
- const col = this.colour,
14590
- hsl = col.hsla,
14591
- cssHue = `hsl(${hsl[0] * HUES}, 100%, 50%)`,
14592
- cssHSL = col.hslString,
14593
- cssHSLA = col.hslaString;
14594
-
14595
- const uiH = this._domH,
14596
- uiSL = this._domSL,
14597
- uiA = this._domA,
14598
- thumbH = $('.picker_selector', uiH),
14599
- thumbSL = $('.picker_selector', uiSL),
14600
- thumbA = $('.picker_selector', uiA);
14601
-
14602
- function posX(parent, child, relX) {
14603
- child.style.left = (relX * 100) + '%'; //(parent.clientWidth * relX) + 'px';
14604
  }
14605
- function posY(parent, child, relY) {
14606
- child.style.top = (relY * 100) + '%'; //(parent.clientHeight * relY) + 'px';
 
 
14607
  }
 
 
 
 
14608
 
 
 
14609
 
14610
- /* Hue */
14611
-
14612
- posX(uiH, thumbH, hsl[0]);
14613
-
14614
- //Use the fully saturated hue on the SL panel and Hue thumb:
14615
- this._domSL.style.backgroundColor = this._domH.style.color = cssHue;
14616
 
 
 
 
14617
 
14618
- /* S/L */
14619
-
14620
- posX(uiSL, thumbSL, hsl[1]);
14621
- posY(uiSL, thumbSL, 1 - hsl[2]);
14622
-
14623
- //Use the opaque HSL on the SL thumb:
14624
- uiSL.style.color = cssHSL;
14625
 
 
 
 
 
 
14626
 
14627
- /* Alpha */
14628
-
14629
- posY(uiA, thumbA, 1 - hsl[3]);
 
 
 
 
 
14630
 
14631
- const opaque = cssHSL,
14632
- transp = opaque.replace('hsl', 'hsla').replace(')', ', 0)'),
14633
- bg = `linear-gradient(${[opaque, transp]})`;
 
 
14634
 
14635
- //Let the Alpha slider fade from opaque to transparent:
14636
- this._domA.style.backgroundImage = bg + ', ' + BG_TRANSP;
14637
 
 
 
 
14638
 
14639
- /* Editable value */
14640
-
14641
- //Don't update the editor if the user is typing.
14642
- //That creates too much noise because of our auto-expansion of 3/4/6 -> 8 digit hex codes.
14643
- if(!flags.fromEditor) {
14644
- const format = this.settings.editorFormat,
14645
- alpha = this.settings.alpha;
14646
-
14647
- let value;
14648
- switch (format) {
14649
- case 'rgb': value = col.printRGB(alpha); break;
14650
- case 'hsl': value = col.printHSL(alpha); break;
14651
- default: value = col.printHex(alpha);
14652
- }
14653
- this._domEdit.value = value;
 
 
 
 
 
 
 
 
 
14654
  }
 
 
 
 
 
 
 
 
 
14655
 
 
14656
 
14657
- /* Sample swatch */
14658
-
14659
- this._domSample.style.color = cssHSLA;
14660
- }
14661
-
14662
-
14663
- _ifPopup(actionIf, actionElse) {
14664
- if(this.settings.parent && this.settings.popup) {
14665
- actionIf && actionIf(this.settings.popup);
 
 
 
 
 
 
 
 
14666
  }
14667
- else {
14668
- actionElse && actionElse();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14669
  }
14670
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14671
 
 
14672
 
14673
- _toggleDOM(toVisible) {
14674
- const dom = this.domElement;
14675
- if(!dom) { return false; }
14676
 
14677
- const displayStyle = toVisible ? '' : 'none',
14678
- toggle = (dom.style.display !== displayStyle);
14679
-
14680
- if(toggle) { dom.style.display = displayStyle; }
14681
- return toggle;
14682
- }
14683
 
 
14684
 
14685
- /*
14686
- //Feature: settings to flip hue & alpha 90deg (i.e. vertical or horizontal mode)
14687
-
14688
-
14689
- function createDragConfig(container, callbackRelative) {
14690
- const flipped = true;
14691
 
14692
- function capRel(val) {
14693
- return (val < 0) ? 0
14694
- : (val > 1) ? 1 : val;
14695
- }
14696
 
14697
- //Convert the px coordinates to relative coordinates (0-1) before invoking the callback:
14698
- function relayDrag(_, pos) {
14699
- const w = container.clientWidth,
14700
- h = container.clientHeight;
14701
-
14702
- const relX = pos[0]/(flipped ? h : w),
14703
- relY = pos[1]/(flipped ? w : h);
14704
-
14705
- callbackRelative(capRel(relX), capRel(relY));
 
 
 
 
 
 
 
14706
  }
14707
 
14708
- const config = {
14709
- container: container,
14710
- //dragOutside: false,
14711
- callback: relayDrag,
14712
- //Respond at once (mousedown), don't wait for click or drag:
14713
- callbackDragStart: relayDrag,
14714
- };
14715
- return config;
14716
  }
14717
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14718
 
14719
- /**
14720
- * The inlined `<style>` element for picker CSS.
14721
- */
14722
- static get StyleElement() {
14723
- return _style;
14724
- }
14725
- }
14726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14727
 
14728
- /* harmony default export */ var vanilla_picker = (vanilla_picker_Picker);
14729
 
14730
  // CONCATENATED MODULE: ./src/js/admin/components/Inputs/Color.js
14731
  /**
@@ -15397,6 +15227,9 @@ class Image
15397
 
15398
  this.value = data.parentObject.get(data.dataEntry, '');
15399
 
 
 
 
15400
  this.callback = data.callback;
15401
 
15402
  this.parentObject.registerUI(this.dataEntry, this);
@@ -15424,7 +15257,7 @@ class Image
15424
  let button = document.createElement("a");
15425
  button.className = "button";
15426
  button.href = "javascript:void(0)";
15427
- button.innerHTML = '<i class="fa fa-image"></i>&nbsp;&nbsp;'+ window.Buttonizer.translate('utils.select_image') +' <small>(premium)</small>';
15428
  button.addEventListener("click", () => {
15429
  window.Buttonizer.showPremiumPopup('You can select images and set them as icon or as button background image.');
15430
  });
@@ -15629,7 +15462,7 @@ class IconOrImage_IconOrImage extends Setting_Setting
15629
  parentObject: this.parent,
15630
  state: false,
15631
  first: window.Buttonizer.translate('utils.icon'),
15632
- second: window.Buttonizer.translate('utils.image') + ' <small>(premium)</small>',
15633
  callback: () => {
15634
  window.Buttonizer.showPremiumPopup("You can select an custom image as icon for your buttons and groups.");
15635
  }
@@ -19822,7 +19655,7 @@ body, html {
19822
  }
19823
  });
19824
  // EXTERNAL MODULE: ./node_modules/assert/assert.js
19825
- var assert = __webpack_require__(7);
19826
 
19827
  // EXTERNAL MODULE: ./node_modules/timers-browserify/main.js
19828
  var main = __webpack_require__(0);
@@ -19831,7 +19664,7 @@ var main = __webpack_require__(0);
19831
 
19832
 
19833
 
19834
- const introJs = __webpack_require__(12);
19835
 
19836
  class Tour_Tour {
19837
  constructor() {
@@ -20768,7 +20601,7 @@ class Tour_Tour {
20768
 
20769
 
20770
  // CONCATENATED MODULE: ./src/js/admin/Buttonizer.js
20771
- // Import Buttonizer Dashboard style
20772
 
20773
 
20774
 
@@ -20785,7 +20618,7 @@ class Tour_Tour {
20785
 
20786
 
20787
 
20788
- __webpack_require__(13);
20789
 
20790
  window.bdebug = new components_Debug();
20791
 
@@ -21579,8 +21412,8 @@ window.Buttonizer = new Buttonizer_Buttonizer();
21579
 
21580
 
21581
  /***/ }),
21582
- /* 17 */,
21583
- /* 18 */
21584
  /***/ (function(module, exports) {
21585
 
21586
  // removed by extract-text-webpack-plugin
94
  /******/
95
  /******/
96
  /******/ // Load entry module and return exports
97
+ /******/ return __webpack_require__(__webpack_require__.s = 15);
98
  /******/ })
99
  /************************************************************************/
100
  /******/ ([
154
  };
155
 
156
  // setimmediate attaches itself to the global object
157
+ __webpack_require__(10);
158
  // On some exotic environments, it's not clear which object `setimmediate` was
159
  // able to install onto. Search each possibility in the same order as the
160
  // `setimmediate` library.
195
 
196
  /***/ }),
197
  /* 2 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  /***/ (function(module, exports) {
199
 
200
  // shim for using process in browser
384
 
385
 
386
  /***/ }),
387
+ /* 3 */
388
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
389
 
390
  "use strict";
2995
 
2996
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1)))
2997
 
2998
+ /***/ }),
2999
+ /* 4 */
3000
+ /***/ (function(module, exports) {
3001
+
3002
+
3003
+
3004
  /***/ }),
3005
  /* 5 */
3006
  /***/ (function(module, exports, __webpack_require__) {
3007
 
3008
+ "use strict";
3009
+ /* WEBPACK VAR INJECTION */(function(global) {
3010
+
3011
+ var objectAssign = __webpack_require__(6);
3012
+
3013
+ // compare and isBuffer taken from https://github.com/feross/buffer/blob/680e9e5e488f22aac27599a57dc844a6315928dd/index.js
3014
+ // original notice:
3015
+
3016
  /*!
3017
+ * The buffer module from node.js, for the browser.
 
3018
  *
3019
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
3020
+ * @license MIT
3021
  */
3022
+ function compare(a, b) {
3023
+ if (a === b) {
3024
+ return 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3025
  }
3026
 
3027
+ var x = a.length;
3028
+ var y = b.length;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3029
 
3030
+ for (var i = 0, len = Math.min(x, y); i < len; ++i) {
3031
+ if (a[i] !== b[i]) {
3032
+ x = a[i];
3033
+ y = b[i];
3034
+ break;
 
 
 
 
 
 
3035
  }
 
 
3036
  }
3037
 
3038
+ if (x < y) {
3039
+ return -1;
3040
+ }
3041
+ if (y < x) {
3042
+ return 1;
3043
+ }
3044
+ return 0;
3045
+ }
3046
+ function isBuffer(b) {
3047
+ if (global.Buffer && typeof global.Buffer.isBuffer === 'function') {
3048
+ return global.Buffer.isBuffer(b);
3049
+ }
3050
+ return !!(b != null && b._isBuffer);
3051
+ }
 
 
 
 
 
3052
 
3053
+ // based on node assert, original notice:
3054
+ // NB: The URL to the CommonJS spec is kept just for tradition.
3055
+ // node-assert has evolved a lot since then, both in API and behavior.
3056
 
3057
+ // http://wiki.commonjs.org/wiki/Unit_Testing/1.0
3058
+ //
3059
+ // THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
3060
+ //
3061
+ // Originally from narwhal.js (http://narwhaljs.org)
3062
+ // Copyright (c) 2009 Thomas Robinson <280north.com>
3063
+ //
3064
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
3065
+ // of this software and associated documentation files (the 'Software'), to
3066
+ // deal in the Software without restriction, including without limitation the
3067
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
3068
+ // sell copies of the Software, and to permit persons to whom the Software is
3069
+ // furnished to do so, subject to the following conditions:
3070
+ //
3071
+ // The above copyright notice and this permission notice shall be included in
3072
+ // all copies or substantial portions of the Software.
3073
+ //
3074
+ // THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3075
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3076
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3077
+ // AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
3078
+ // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
3079
+ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3080
 
3081
+ var util = __webpack_require__(7);
3082
+ var hasOwn = Object.prototype.hasOwnProperty;
3083
+ var pSlice = Array.prototype.slice;
3084
+ var functionsHaveNames = (function () {
3085
+ return function foo() {}.name === 'foo';
3086
+ }());
3087
+ function pToString (obj) {
3088
+ return Object.prototype.toString.call(obj);
3089
+ }
3090
+ function isView(arrbuf) {
3091
+ if (isBuffer(arrbuf)) {
3092
+ return false;
3093
+ }
3094
+ if (typeof global.ArrayBuffer !== 'function') {
3095
+ return false;
3096
+ }
3097
+ if (typeof ArrayBuffer.isView === 'function') {
3098
+ return ArrayBuffer.isView(arrbuf);
3099
+ }
3100
+ if (!arrbuf) {
3101
+ return false;
3102
+ }
3103
+ if (arrbuf instanceof DataView) {
3104
+ return true;
3105
+ }
3106
+ if (arrbuf.buffer && arrbuf.buffer instanceof ArrayBuffer) {
3107
+ return true;
3108
+ }
3109
+ return false;
3110
  }
3111
+ // 1. The assert module provides functions that throw
3112
+ // AssertionError's when particular conditions are not met. The
3113
+ // assert module must conform to the following interface.
3114
 
3115
+ var assert = module.exports = ok;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3116
 
3117
  // 2. The AssertionError is defined in assert.
3118
  // new assert.AssertionError({ message: message,
3493
 
3494
  assert.ifError = function(err) { if (err) throw err; };
3495
 
3496
+ // Expose a strict only variant of assert
3497
+ function strict(value, message) {
3498
+ if (!value) fail(value, true, message, '==', strict);
3499
+ }
3500
+ assert.strict = objectAssign(strict, assert, {
3501
+ equal: assert.strictEqual,
3502
+ deepEqual: assert.deepStrictEqual,
3503
+ notEqual: assert.notStrictEqual,
3504
+ notDeepEqual: assert.notDeepStrictEqual
3505
+ });
3506
+ assert.strict.strict = assert.strict;
3507
+
3508
  var objectKeys = Object.keys || function (obj) {
3509
  var keys = [];
3510
  for (var key in obj) {
3516
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1)))
3517
 
3518
  /***/ }),
3519
+ /* 6 */
3520
+ /***/ (function(module, exports, __webpack_require__) {
3521
+
3522
+ "use strict";
3523
+ /*
3524
+ object-assign
3525
+ (c) Sindre Sorhus
3526
+ @license MIT
3527
+ */
3528
+
3529
+
3530
+ /* eslint-disable no-unused-vars */
3531
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
3532
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
3533
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
3534
+
3535
+ function toObject(val) {
3536
+ if (val === null || val === undefined) {
3537
+ throw new TypeError('Object.assign cannot be called with null or undefined');
3538
+ }
3539
+
3540
+ return Object(val);
3541
+ }
3542
+
3543
+ function shouldUseNative() {
3544
+ try {
3545
+ if (!Object.assign) {
3546
+ return false;
3547
+ }
3548
+
3549
+ // Detect buggy property enumeration order in older V8 versions.
3550
+
3551
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
3552
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
3553
+ test1[5] = 'de';
3554
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
3555
+ return false;
3556
+ }
3557
+
3558
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3559
+ var test2 = {};
3560
+ for (var i = 0; i < 10; i++) {
3561
+ test2['_' + String.fromCharCode(i)] = i;
3562
+ }
3563
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
3564
+ return test2[n];
3565
+ });
3566
+ if (order2.join('') !== '0123456789') {
3567
+ return false;
3568
+ }
3569
+
3570
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3571
+ var test3 = {};
3572
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
3573
+ test3[letter] = letter;
3574
+ });
3575
+ if (Object.keys(Object.assign({}, test3)).join('') !==
3576
+ 'abcdefghijklmnopqrst') {
3577
+ return false;
3578
+ }
3579
+
3580
+ return true;
3581
+ } catch (err) {
3582
+ // We don't expect any of the above to throw, but better to be safe.
3583
+ return false;
3584
+ }
3585
+ }
3586
+
3587
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
3588
+ var from;
3589
+ var to = toObject(target);
3590
+ var symbols;
3591
+
3592
+ for (var s = 1; s < arguments.length; s++) {
3593
+ from = Object(arguments[s]);
3594
+
3595
+ for (var key in from) {
3596
+ if (hasOwnProperty.call(from, key)) {
3597
+ to[key] = from[key];
3598
+ }
3599
+ }
3600
+
3601
+ if (getOwnPropertySymbols) {
3602
+ symbols = getOwnPropertySymbols(from);
3603
+ for (var i = 0; i < symbols.length; i++) {
3604
+ if (propIsEnumerable.call(from, symbols[i])) {
3605
+ to[symbols[i]] = from[symbols[i]];
3606
+ }
3607
+ }
3608
+ }
3609
+ }
3610
+
3611
+ return to;
3612
+ };
3613
+
3614
+
3615
+ /***/ }),
3616
+ /* 7 */
3617
  /***/ (function(module, exports, __webpack_require__) {
3618
 
3619
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
4151
  }
4152
  exports.isPrimitive = isPrimitive;
4153
 
4154
+ exports.isBuffer = __webpack_require__(8);
4155
 
4156
  function objectToString(o) {
4157
  return Object.prototype.toString.call(o);
4195
  * prototype.
4196
  * @param {function} superCtor Constructor function to inherit prototype from.
4197
  */
4198
+ exports.inherits = __webpack_require__(9);
4199
 
4200
  exports._extend = function(origin, add) {
4201
  // Don't do anything if add isn't an object
4320
  }
4321
  exports.callbackify = callbackify;
4322
 
4323
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(2)))
4324
 
4325
  /***/ }),
4326
+ /* 8 */
4327
  /***/ (function(module, exports) {
4328
 
4329
  module.exports = function isBuffer(arg) {
4334
  }
4335
 
4336
  /***/ }),
4337
+ /* 9 */
4338
  /***/ (function(module, exports) {
4339
 
4340
  if (typeof Object.create === 'function') {
4363
 
4364
 
4365
  /***/ }),
4366
+ /* 10 */
4367
  /***/ (function(module, exports, __webpack_require__) {
4368
 
4369
  /* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {
4553
  attachTo.clearImmediate = clearImmediate;
4554
  }(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));
4555
 
4556
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(1), __webpack_require__(2)))
4557
 
4558
  /***/ }),
4559
+ /* 11 */
4560
  /***/ (function(module, exports, __webpack_require__) {
4561
 
4562
  /**
7079
 
7080
 
7081
  /***/ }),
7082
+ /* 12 */
7083
  /***/ (function(module, exports) {
7084
 
7085
  /*!
8444
 
8445
 
8446
  /***/ }),
8447
+ /* 13 */,
8448
  /* 14 */,
8449
+ /* 15 */
 
8450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8451
 
8452
  "use strict";
8453
  __webpack_require__.r(__webpack_exports__);
8454
 
8455
  // EXTERNAL MODULE: ./src/sass/admin/dashboard.scss
8456
+ var dashboard = __webpack_require__(17);
8457
 
8458
  // CONCATENATED MODULE: ./src/js/admin/components/Debug.js
8459
 
9764
  }
9765
  }
9766
  // EXTERNAL MODULE: ./node_modules/popper.js/dist/esm/popper.js
9767
+ var esm_popper = __webpack_require__(3);
9768
 
9769
  // CONCATENATED MODULE: ./node_modules/tippy.js/esm/index.all.js
9770
  /**!
9771
+ * tippy.js v4.3.5
9772
  * (c) 2017-2019 atomiks
9773
  * MIT License
9774
  */
9775
 
9776
 
9777
+ var css = ".tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px);transform:perspective(700px) translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(60deg);transform:perspective(700px) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px);transform:perspective(700px) translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(-60deg);transform:perspective(700px) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px);transform:perspective(700px) translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(-60deg);transform:perspective(700px) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px);transform:perspective(700px) translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(60deg);transform:perspective(700px) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:initial}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] .tippy-roundarrow path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:\"\";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}";
9778
 
9779
  function _extends() {
9780
  _extends = Object.assign || function (target) {
9794
  return _extends.apply(this, arguments);
9795
  }
9796
 
9797
+ var version = "4.3.5";
9798
 
9799
  var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
9800
  var ua = isBrowser ? navigator.userAgent : '';
9906
  var PLACEMENT_ATTRIBUTE = 'x-placement';
9907
  var OUT_OF_BOUNDARIES_ATTRIBUTE = 'x-out-of-boundaries'; // Classes
9908
 
9909
+ var IOS_CLASS = "tippy-iOS";
9910
+ var ACTIVE_CLASS = "tippy-active";
9911
+ var POPPER_CLASS = "tippy-popper";
9912
+ var TOOLTIP_CLASS = "tippy-tooltip";
9913
+ var CONTENT_CLASS = "tippy-content";
9914
+ var BACKDROP_CLASS = "tippy-backdrop";
9915
+ var ARROW_CLASS = "tippy-arrow";
9916
+ var ROUND_ARROW_CLASS = "tippy-roundarrow"; // Selectors
9917
+
9918
+ var POPPER_SELECTOR = ".".concat(POPPER_CLASS);
9919
+ var TOOLTIP_SELECTOR = ".".concat(TOOLTIP_CLASS);
9920
+ var CONTENT_SELECTOR = ".".concat(CONTENT_CLASS);
9921
+ var BACKDROP_SELECTOR = ".".concat(BACKDROP_CLASS);
9922
+ var ARROW_SELECTOR = ".".concat(ARROW_CLASS);
9923
+ var ROUND_ARROW_SELECTOR = ".".concat(ROUND_ARROW_CLASS);
9924
 
9925
+ var isUsingTouch = false;
9926
+ function onDocumentTouch() {
9927
+ if (isUsingTouch) {
9928
+ return;
9929
+ }
 
9930
 
9931
+ isUsingTouch = true;
9932
+
9933
+ if (isIOS) {
9934
+ document.body.classList.add(IOS_CLASS);
9935
+ }
9936
+
9937
+ if (window.performance) {
9938
+ document.addEventListener('mousemove', onDocumentMouseMove);
9939
+ }
9940
+ }
9941
+ var lastMouseMoveTime = 0;
9942
+ function onDocumentMouseMove() {
9943
+ var now = performance.now(); // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference
9944
+
9945
+ if (now - lastMouseMoveTime < 20) {
9946
+ isUsingTouch = false;
9947
+ document.removeEventListener('mousemove', onDocumentMouseMove);
9948
+
9949
+ if (!isIOS) {
9950
+ document.body.classList.remove(IOS_CLASS);
9951
+ }
9952
+ }
9953
+
9954
+ lastMouseMoveTime = now;
9955
+ }
9956
+ function onWindowBlur() {
9957
+ var _document = document,
9958
+ activeElement = _document.activeElement;
9959
+
9960
+ if (activeElement && activeElement.blur && activeElement._tippy) {
9961
+ activeElement.blur();
9962
+ }
9963
+ }
9964
+ /**
9965
+ * Adds the needed global event listeners
9966
+ */
9967
+
9968
+ function bindGlobalEventListeners() {
9969
+ document.addEventListener('touchstart', onDocumentTouch, PASSIVE);
9970
+ window.addEventListener('blur', onWindowBlur);
9971
+ }
9972
+
9973
+ var keys = Object.keys(defaultProps);
9974
+ /**
9975
+ * Returns an object of optional props from data-tippy-* attributes
9976
+ */
9977
 
9978
  function getDataAttributeOptions(reference) {
9979
  return keys.reduce(function (acc, key) {
10005
  var polyfills = {
10006
  isVirtual: true,
10007
  attributes: virtualReference.attributes || {},
10008
+ contains: function contains() {},
10009
  setAttribute: function setAttribute(key, value) {
10010
  virtualReference.attributes[key] = value;
10011
  },
10100
  return value;
10101
  }
10102
  /**
10103
+ * Debounce utility. To avoid bloating bundle size, we're only passing 1
10104
+ * argument here, a more generic function would pass all arguments. Only
10105
+ * `onMouseMove` uses this which takes the event object for now.
10106
  */
10107
 
10108
  function debounce(fn, ms) {
10109
+ // Avoid wrapping in `setTimeout` if ms is 0 anyway
10110
+ if (ms === 0) {
10111
+ return fn;
10112
+ }
 
 
10113
 
10114
+ var timeout;
10115
+ return function (arg) {
10116
+ clearTimeout(timeout);
10117
+ timeout = setTimeout(function () {
10118
+ fn(arg);
10119
  }, ms);
10120
  };
10121
  }
10177
  */
10178
 
10179
  function canReceiveFocus(element) {
10180
+ return isRealElement(element) ? matches.call(element, 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]') && !element.hasAttribute('disabled') : true;
10181
  }
10182
  /**
10183
  * Returns a new `div` element
10241
  */
10242
 
10243
  function setInnerHTML(element, html) {
10244
+ element[innerHTML()] = isRealElement(html) ? html[innerHTML()] : html;
10245
  }
10246
  /**
10247
  * Sets the content of a tooltip
10248
  */
10249
 
10250
  function index_all_setContent(contentEl, props) {
10251
+ if (isRealElement(props.content)) {
10252
  setInnerHTML(contentEl, '');
10253
  contentEl.appendChild(props.content);
10254
  } else if (typeof props.content !== 'function') {
10290
  var arrow = index_all_div();
10291
 
10292
  if (arrowType === 'round') {
10293
+ arrow.className = ROUND_ARROW_CLASS;
10294
  setInnerHTML(arrow, '<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>');
10295
  } else {
10296
+ arrow.className = ARROW_CLASS;
10297
  }
10298
 
10299
  return arrow;
10304
 
10305
  function createBackdropElement() {
10306
  var backdrop = index_all_div();
10307
+ backdrop.className = BACKDROP_CLASS;
10308
  backdrop.setAttribute('data-state', 'hidden');
10309
  return backdrop;
10310
  }
10364
 
10365
  function createPopperElement(id, props) {
10366
  var popper = index_all_div();
10367
+ popper.className = POPPER_CLASS;
10368
  popper.id = "tippy-".concat(id);
10369
  popper.style.zIndex = '' + props.zIndex;
10370
+ popper.style.position = 'absolute';
10371
+ popper.style.top = '0';
10372
+ popper.style.left = '0';
10373
 
10374
  if (props.role) {
10375
  popper.setAttribute('role', props.role);
10376
  }
10377
 
10378
  var tooltip = index_all_div();
10379
+ tooltip.className = TOOLTIP_CLASS;
10380
  tooltip.style.maxWidth = props.maxWidth + (typeof props.maxWidth === 'number' ? 'px' : '');
10381
  tooltip.setAttribute('data-size', props.size);
10382
  tooltip.setAttribute('data-animation', props.animation);
10383
  tooltip.setAttribute('data-state', 'hidden');
10384
  updateTheme(tooltip, 'add', props.theme);
10385
  var content = index_all_div();
10386
+ content.className = CONTENT_CLASS;
10387
  content.setAttribute('data-state', 'hidden');
10388
 
10389
  if (props.interactive) {
10481
 
10482
  function hideAll() {
10483
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
 
10484
  excludedReferenceOrInstance = _ref.exclude,
10485
  duration = _ref.duration;
10486
 
10488
  var instance = popper._tippy;
10489
 
10490
  if (instance) {
 
10491
  var isExcluded = false;
10492
 
10493
  if (excludedReferenceOrInstance) {
10494
  isExcluded = isReferenceElement(excludedReferenceOrInstance) ? instance.reference === excludedReferenceOrInstance : popper === excludedReferenceOrInstance.popper;
10495
  }
10496
 
10497
+ if (!isExcluded) {
10498
  instance.hide(duration);
10499
  }
10500
  }
10529
  return -(distance - 10) + 'px';
10530
  }
10531
 
10532
+ var idCounter = 1; // Workaround for IE11's lack of new MouseEvent constructor
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10533
 
10534
+ var mouseMoveListeners = [];
10535
  /**
10536
  * Creates and returns a Tippy object. We're using a closure pattern instead of
10537
  * a class so that the exposed object API is clean without private members
10551
  var lastMouseMoveEvent;
10552
  var showTimeoutId;
10553
  var hideTimeoutId;
10554
+ var scheduleHideAnimationFrameId;
10555
  var isScheduledToShow = false;
10556
+ var isBeingDestroyed = false;
10557
  var previousPlacement;
10558
  var wasVisibleDuringPreviousUpdate = false;
10559
  var hasMountCallbackRun = false;
10561
  var currentTransitionEndListener;
10562
  var listeners = [];
10563
  var currentComputedPadding;
10564
+ var debouncedOnMouseMove = debounce(onMouseMove, props.interactiveDebounce);
10565
  /* ======================= 🔑 Public members 🔑 ======================= */
10566
 
10567
  var id = idCounter++;
10603
  };
10604
  reference._tippy = instance;
10605
  popper._tippy = instance;
 
10606
  addTriggersToReference();
10607
 
10608
  if (!props.lazy) {
10611
 
10612
  if (props.showOnInit) {
10613
  scheduleShow();
10614
+ } // Ensure the event listeners target can receive focus
10615
 
10616
 
10617
+ if (props.a11y && !props.target && !canReceiveFocus(getEventListenersTarget())) {
10618
  getEventListenersTarget().setAttribute('tabindex', '0');
10619
  } // Prevent a tippy with a delay from hiding if the cursor left then returned
10620
  // before it started hiding
10643
  document.removeEventListener('mousemove', positionVirtualReferenceNearCursor);
10644
  }
10645
  /**
10646
+ * Cleans up interactive mouse listeners
10647
  */
10648
 
10649
 
10650
+ function cleanupInteractiveMouseListeners() {
10651
  document.body.removeEventListener('mouseleave', scheduleHide);
10652
  document.removeEventListener('mousemove', debouncedOnMouseMove);
10653
+ mouseMoveListeners = mouseMoveListeners.filter(function (listener) {
10654
+ return listener !== debouncedOnMouseMove;
10655
+ });
10656
  }
10657
  /**
10658
  * Returns correct target used for event listeners
10662
  function getEventListenersTarget() {
10663
  return instance.props.triggerTarget || reference;
10664
  }
10665
+ /**
10666
+ * Adds the document click event listener for the instance
10667
+ */
10668
+
10669
+
10670
+ function addDocumentClickListener() {
10671
+ document.addEventListener('click', onDocumentClick, true);
10672
+ }
10673
+ /**
10674
+ * Removes the document click event listener for the instance
10675
+ */
10676
+
10677
+
10678
+ function removeDocumentClickListener() {
10679
+ document.removeEventListener('click', onDocumentClick, true);
10680
+ }
10681
  /**
10682
  * Returns transitionable inner elements used in show/hide methods
10683
  */
10687
  return [instance.popperChildren.tooltip, instance.popperChildren.backdrop, instance.popperChildren.content];
10688
  }
10689
  /**
10690
+ * Determines if the instance is in `followCursor` mode.
10691
+ * NOTE: in v5, touch devices will use `initial` behavior no matter the value.
10692
  */
10693
 
10694
 
10695
+ function getIsInLooseFollowCursorMode() {
10696
+ var followCursor = instance.props.followCursor;
10697
+ return followCursor && lastTriggerEventType !== 'focus' || isUsingTouch && followCursor === 'initial';
10698
  }
10699
  /**
10700
  * Updates the tooltip's position on each animation frame
10703
 
10704
  function makeSticky() {
10705
  setTransitionDuration([popper], isIE ? 0 : instance.props.updateDuration);
10706
+ var prevRefRect = reference.getBoundingClientRect();
10707
 
10708
  function updatePosition() {
10709
+ var currentRefRect = reference.getBoundingClientRect(); // Only schedule an update if the reference rect has changed
10710
+
10711
+ if (prevRefRect.top !== currentRefRect.top || prevRefRect.right !== currentRefRect.right || prevRefRect.bottom !== currentRefRect.bottom || prevRefRect.left !== currentRefRect.left) {
10712
+ instance.popperInstance.scheduleUpdate();
10713
+ }
10714
+
10715
+ prevRefRect = currentRefRect;
10716
 
10717
  if (instance.state.isMounted) {
10718
  requestAnimationFrame(updatePosition);
 
 
10719
  }
10720
  }
10721
 
10728
 
10729
  function onTransitionedOut(duration, callback) {
10730
  onTransitionEnd(duration, function () {
10731
+ if (!instance.state.isVisible && popper.parentNode && popper.parentNode.contains(popper)) {
10732
  callback();
10733
  }
10734
  });
10846
  });
10847
  listeners = [];
10848
  }
 
 
 
 
 
 
 
 
10849
  /**
10850
  * Positions the virtual reference near the cursor
10851
  */
10853
 
10854
  function positionVirtualReferenceNearCursor(event) {
10855
  var _lastMouseMoveEvent = lastMouseMoveEvent = event,
10856
+ x = _lastMouseMoveEvent.clientX,
10857
+ y = _lastMouseMoveEvent.clientY; // Gets set once popperInstance `onCreate` has been called
10858
 
10859
 
10860
  if (!currentComputedPadding) {
10861
  return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10862
  } // If the instance is interactive, avoid updating the position unless it's
10863
  // over the reference element
10864
 
10866
  var isCursorOverReference = closestCallback(event.target, function (el) {
10867
  return el === reference;
10868
  });
10869
+ var rect = reference.getBoundingClientRect();
10870
+ var followCursor = instance.props.followCursor;
10871
+ var isHorizontal = followCursor === 'horizontal';
10872
+ var isVertical = followCursor === 'vertical'; // The virtual reference needs some size to prevent itself from overflowing
10873
+
10874
+ var isVerticalPlacement = includes(['top', 'bottom'], getBasicPlacement(popper));
10875
+ var fullPlacement = popper.getAttribute(PLACEMENT_ATTRIBUTE);
10876
+ var isVariation = fullPlacement ? !!fullPlacement.split('-')[1] : false;
10877
+ var size = isVerticalPlacement ? popper.offsetWidth : popper.offsetHeight;
10878
+ var halfSize = size / 2;
10879
+ var verticalIncrease = isVerticalPlacement ? 0 : isVariation ? size : halfSize;
10880
+ var horizontalIncrease = isVerticalPlacement ? isVariation ? size : halfSize : 0;
10881
 
10882
  if (isCursorOverReference || !instance.props.interactive) {
10883
  instance.popperInstance.reference = _extends({}, instance.popperInstance.reference, {
10884
+ // This will exist in next Popper.js feature release to fix #532
10885
+ // @ts-ignore
10886
+ referenceNode: reference,
10887
+ // These `client` values don't get used by Popper.js if they are 0
10888
+ clientWidth: 0,
10889
+ clientHeight: 0,
10890
  getBoundingClientRect: function getBoundingClientRect() {
10891
  return {
10892
+ width: isVerticalPlacement ? size : 0,
10893
+ height: isVerticalPlacement ? 0 : size,
10894
+ top: (isHorizontal ? rect.top : y) - verticalIncrease,
10895
+ bottom: (isHorizontal ? rect.bottom : y) + verticalIncrease,
10896
+ left: (isVertical ? rect.left : x) - horizontalIncrease,
10897
+ right: (isVertical ? rect.right : x) + horizontalIncrease
10898
  };
10899
+ }
 
 
10900
  });
10901
+ instance.popperInstance.update();
10902
  }
10903
 
10904
  if (followCursor === 'initial' && instance.state.isVisible) {
10938
  lastTriggerEventType = event.type;
10939
 
10940
  if (event instanceof MouseEvent) {
10941
+ lastMouseMoveEvent = event; // If scrolling, `mouseenter` events can be fired if the cursor lands
10942
+ // over a new target, but `mousemove` events don't get fired. This
10943
+ // causes interactive tooltips to get stuck open until the cursor is
10944
+ // moved
10945
+
10946
+ mouseMoveListeners.forEach(function (listener) {
10947
+ return listener(event);
10948
+ });
10949
  }
10950
  } // Toggle show/hide when clicking click-triggered tooltips
10951
 
10963
 
10964
 
10965
  function onMouseMove(event) {
 
 
 
10966
  var isCursorOverPopper = closest(event.target, POPPER_SELECTOR) === popper;
10967
+ var isCursorOverReference = closestCallback(event.target, function (el) {
10968
+ return el === reference;
10969
+ });
10970
 
10971
  if (isCursorOverPopper || isCursorOverReference) {
10972
  return;
10973
  }
10974
 
10975
  if (isCursorOutsideInteractiveBorder(getBasicPlacement(popper), popper.getBoundingClientRect(), event, instance.props)) {
10976
+ cleanupInteractiveMouseListeners();
10977
  scheduleHide();
10978
  }
10979
  }
10990
  if (instance.props.interactive) {
10991
  document.body.addEventListener('mouseleave', scheduleHide);
10992
  document.addEventListener('mousemove', debouncedOnMouseMove);
10993
+ mouseMoveListeners.push(debouncedOnMouseMove);
10994
  return;
10995
  }
10996
 
11145
  }, getModifier(popperOptions, 'offset'))
11146
  }),
11147
  onCreate: function onCreate(data) {
 
11148
  applyMutations(data);
11149
+ runMountCallback();
11150
 
11151
  if (popperOptions && popperOptions.onCreate) {
11152
  popperOptions.onCreate(data);
11153
  }
11154
  },
11155
  onUpdate: function onUpdate(data) {
 
11156
  applyMutations(data);
11157
+ runMountCallback();
11158
 
11159
  if (popperOptions && popperOptions.onUpdate) {
11160
  popperOptions.onUpdate(data);
11171
 
11172
  function mount() {
11173
  hasMountCallbackRun = false;
11174
+ var isInLooseFollowCursorMode = getIsInLooseFollowCursorMode();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11175
 
11176
+ if (instance.popperInstance) {
11177
  setFlipModifierEnabled(instance.popperInstance.modifiers, instance.props.flip);
 
 
 
 
 
 
 
 
 
 
 
 
11178
 
11179
+ if (!isInLooseFollowCursorMode) {
11180
+ instance.popperInstance.reference = reference;
11181
+ instance.popperInstance.enableEventListeners();
11182
  }
 
 
 
11183
 
11184
+ instance.popperInstance.scheduleUpdate();
11185
+ } else {
11186
+ createPopperInstance();
11187
 
11188
+ if (!isInLooseFollowCursorMode) {
11189
+ instance.popperInstance.enableEventListeners();
 
 
 
11190
  }
11191
  }
11192
 
11193
  var appendTo = instance.props.appendTo;
11194
+ var parentNode = appendTo === 'parent' ? reference.parentNode : invokeWithArgsOrReturn(appendTo, [reference]);
11195
 
11196
+ if (!parentNode.contains(popper)) {
11197
+ parentNode.appendChild(popper);
11198
  instance.props.onMount(instance);
11199
  instance.state.isMounted = true;
11200
  }
11231
  // called, it causes a jump.
11232
 
11233
 
11234
+ if (getIsInLooseFollowCursorMode() && !instance.state.isMounted) {
11235
  if (!instance.popperInstance) {
11236
  createPopperInstance();
11237
  }
11239
  document.addEventListener('mousemove', positionVirtualReferenceNearCursor);
11240
  }
11241
 
11242
+ addDocumentClickListener();
11243
  var delay = getValue(instance.props.delay, 0, defaultProps.delay);
11244
 
11245
  if (delay) {
11259
  clearDelayTimeouts();
11260
 
11261
  if (!instance.state.isVisible) {
11262
+ removeFollowCursorListener();
11263
+ removeDocumentClickListener();
11264
+ return;
11265
  }
11266
 
11267
  isScheduledToShow = false;
11276
  } else {
11277
  // Fixes a `transitionend` problem when it fires 1 frame too
11278
  // late sometimes, we don't want hide() to be called.
11279
+ scheduleHideAnimationFrameId = requestAnimationFrame(function () {
11280
  hide();
11281
  });
11282
  }
11283
  }
11284
+ /**
11285
+ * Listener to handle clicks on the document to determine if the
11286
+ * instance should hide
11287
+ */
11288
+
11289
+
11290
+ function onDocumentClick(event) {
11291
+ // Clicked on interactive popper
11292
+ if (instance.props.interactive && popper.contains(event.target)) {
11293
+ return;
11294
+ } // Clicked on the event listeners target
11295
+
11296
+
11297
+ if (getEventListenersTarget().contains(event.target)) {
11298
+ if (isUsingTouch) {
11299
+ return;
11300
+ }
11301
+
11302
+ if (instance.state.isVisible && includes(instance.props.trigger, 'click')) {
11303
+ return;
11304
+ }
11305
+ }
11306
+
11307
+ if (instance.props.hideOnClick === true) {
11308
+ clearDelayTimeouts();
11309
+ hide();
11310
+ }
11311
+ }
11312
  /* ======================= 🔑 Public methods 🔑 ======================= */
11313
 
11314
  /**
11335
  function clearDelayTimeouts() {
11336
  clearTimeout(showTimeoutId);
11337
  clearTimeout(hideTimeoutId);
11338
+ cancelAnimationFrame(scheduleHideAnimationFrameId);
11339
  }
11340
  /**
11341
  * Sets new props for the instance and redraws the tooltip
11347
  options = options || {};
11348
  validateOptions(options, defaultProps);
11349
  removeTriggersFromReference();
 
 
 
 
 
11350
  var prevProps = instance.props;
11351
+ var nextProps = evaluateProps(reference, _extends({}, instance.props, {}, options, {
11352
  ignoreAttributes: true
11353
  }));
11354
  nextProps.ignoreAttributes = index_all_hasOwnProperty(options, 'ignoreAttributes') ? options.ignoreAttributes || false : prevProps.ignoreAttributes;
11355
  instance.props = nextProps;
 
11356
  addTriggersToReference();
11357
+ cleanupInteractiveMouseListeners();
11358
+ debouncedOnMouseMove = debounce(onMouseMove, nextProps.interactiveDebounce);
11359
  updatePopperElement(popper, prevProps, nextProps);
11360
  instance.popperChildren = getChildren(popper);
11361
 
11362
  if (instance.popperInstance) {
 
 
11363
  if (POPPER_INSTANCE_DEPENDENCIES.some(function (prop) {
11364
  return index_all_hasOwnProperty(options, prop) && options[prop] !== prevProps[prop];
11365
  })) {
11373
  if (instance.props.followCursor && lastMouseMoveEvent) {
11374
  positionVirtualReferenceNearCursor(lastMouseMoveEvent);
11375
  }
11376
+ } else {
11377
+ instance.popperInstance.update();
11378
  }
11379
  }
11380
  }
11411
  return;
11412
  }
11413
 
11414
+ addDocumentClickListener();
11415
  popper.style.visibility = 'visible';
11416
  instance.state.isVisible = true;
11417
 
11426
  currentMountCallback = function currentMountCallback() {
11427
  if (!instance.state.isVisible) {
11428
  return;
11429
+ }
11430
 
11431
+ var isInLooseFollowCursorMode = getIsInLooseFollowCursorMode();
11432
 
11433
+ if (isInLooseFollowCursorMode && lastMouseMoveEvent) {
11434
+ positionVirtualReferenceNearCursor(lastMouseMoveEvent);
11435
+ } else if (!isInLooseFollowCursorMode) {
11436
+ // Double update will apply correct mutations
11437
  instance.popperInstance.update();
11438
  }
11439
 
11468
  function hide() {
11469
  var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getValue(instance.props.duration, 1, defaultProps.duration[1]);
11470
 
11471
+ if (instance.state.isDestroyed || !instance.state.isEnabled && !isBeingDestroyed) {
11472
  return;
11473
  }
11474
 
11475
+ if (instance.props.onHide(instance) === false && !isBeingDestroyed) {
11476
  return;
11477
  }
11478
 
11479
+ removeDocumentClickListener();
11480
  popper.style.visibility = 'hidden';
11481
  instance.state.isVisible = false;
11482
  instance.state.isShown = false;
11500
 
11501
  instance.popperInstance.disableEventListeners();
11502
  instance.popperInstance.options.placement = instance.props.placement;
11503
+ popper.parentNode.removeChild(popper);
11504
  instance.props.onHidden(instance);
11505
  instance.state.isMounted = false;
11506
  });
11513
  function destroy(destroyTargetInstances) {
11514
  if (instance.state.isDestroyed) {
11515
  return;
11516
+ }
 
11517
 
11518
+ isBeingDestroyed = true; // If the popper is currently mounted to the DOM, we want to ensure it gets
11519
+ // hidden and unmounted instantly upon destruction
11520
 
11521
  if (instance.state.isMounted) {
11522
  hide(0);
11524
 
11525
  removeTriggersFromReference();
11526
  delete reference._tippy;
 
11527
  var target = instance.props.target;
11528
 
11529
  if (target && destroyTargetInstances && isRealElement(reference)) {
11538
  instance.popperInstance.destroy();
11539
  }
11540
 
11541
+ isBeingDestroyed = false;
11542
  instance.state.isDestroyed = true;
11543
  }
11544
  }
11575
  instance.set({
11576
  duration: duration
11577
  });
11578
+
11579
+ if (instance.state.isVisible) {
11580
+ instance.hide();
11581
+ }
11582
  });
11583
  setIsAnyTippyOpen(true);
11584
  }
11625
  globalEventListenersBound = true;
11626
  }
11627
 
11628
+ var props = _extends({}, defaultProps, {}, options); // If they are specifying a virtual positioning reference, we need to polyfill
11629
  // some native DOM props
11630
 
11631
 
11693
  var style = document.createElement('style');
11694
  style.type = 'text/css';
11695
  style.textContent = css;
11696
+ style.setAttribute('data-tippy-stylesheet', '');
11697
  var head = document.head;
11698
+ var firstStyleOrLinkTag = head.querySelector('style,link');
11699
 
11700
+ if (firstStyleOrLinkTag) {
11701
+ head.insertBefore(style, firstStyleOrLinkTag);
11702
  } else {
11703
  head.appendChild(style);
11704
  }
12473
  }
12474
  }
12475
  }
12476
+ // CONCATENATED MODULE: ./src/js/admin/ui/Button/ButtonOptions/ButtonAction/Pages.js
12477
+
12478
+
12479
+ class Pages
 
12480
  {
12481
+ constructor(ButtonAction, numbersOnly = false)
12482
  {
12483
  this.buttonAction = ButtonAction;
12484
+ this.value = this.buttonAction.value;
12485
  }
12486
 
 
 
 
 
12487
  build()
12488
  {
12489
+ // Add container
12490
+ let container = document.createElement('div');
12491
+ container.className = 'button-value';
12492
+
12493
+ // Add dropdown
12494
+ let input = this.generateValue();
12495
 
12496
+ container.appendChild(input);
12497
+
12498
+ return container;
12499
+ }
12500
+
12501
+ /**
12502
+ * Triggered on change
12503
+ *
12504
+ * @param value
12505
+ */
12506
+ change(value)
12507
+ {
12508
+ this.buttonAction.updateButtonActionValue(value);
12509
+ }
12510
+
12511
+
12512
+ /**
12513
+ * Value text
12514
+ * @returns {HTMLElement}
12515
+ */
12516
+ generateValue()
12517
+ {
12518
+ let input = null;
12519
+
12520
+ input = document.createElement("select");
12521
+ input.style.width = '100%';
12522
+ input.style.maxHeight = '40px';
12523
+ input.className = 'buttonizer-select-action';
12524
+
12525
+ let placeholder = document.createElement('option');
12526
+ placeholder.value = '#'
12527
+
12528
+ let loadItems = 'pages'; // By default, load pages
12529
+
12530
+ let loading = document.createElement("option");
12531
+ loading.disabled = true;
12532
+ loading.innerText = window.Buttonizer.translate('loading.loading');
12533
+ input.appendChild(loading);
12534
+
12535
+ // Get results
12536
+ this.loadResults(loadItems, input, () => {
12537
+ setTimeout(() => {
12538
+ jQuery(input).chosen({
12539
+ placeholder_text_single: 'Select a page...',
12540
+ no_results_text: window.Buttonizer.translate('utils.search_not_found') + " ",
12541
+ hide_results_on_select: false
12542
+ }).change((evt, params) => {
12543
+ this.change(params.selected);
12544
+ });
12545
+ }, 200);
12546
+ });
12547
+
12548
+ return input;
12549
+ }
12550
+
12551
+ /**
12552
+ *
12553
+ * @param type
12554
+ * @param input
12555
+ * @param callback
12556
+ */
12557
+ loadResults(type, input, callback)
12558
+ {
12559
+ jQuery.ajax({
12560
+ url: buttonizer_admin.ajax + '?action=buttonizer_backend&item=WordpressOverview&get=' + type,
12561
+ dataType: 'json',
12562
+ success: (data) => {
12563
+ input.innerHTML = '';
12564
+
12565
+ jQuery.each(data.results, (i, val) => {
12566
+ if (typeof val.name !== 'undefined') {
12567
+ let placeholder = document.createElement('option');
12568
+
12569
+ let option = document.createElement("option");
12570
+
12571
+ option.value = val.id;
12572
+ option.innerText = val.name;
12573
+
12574
+ if(option.value === this.value)
12575
+ {
12576
+ option.selected = true;
12577
+ }
12578
+
12579
+ input.appendChild(placeholder);
12580
+ input.appendChild(option);
12581
+ }
12582
+ });
12583
+
12584
+
12585
+ callback();
12586
+ },
12587
+ error: (err) => {
12588
+
12589
+ }
12590
+ });
12591
+
12592
+ }
12593
+
12594
+
12595
+ }
12596
+ // EXTERNAL MODULE: ./src/js/admin/ui/Button/ButtonOptions/ButtonAction/Javascript.js
12597
+ var Javascript = __webpack_require__(4);
12598
+
12599
+ // CONCATENATED MODULE: ./src/js/admin/ui/Button/ButtonOptions/ButtonAction/SocialSharing.js
12600
+ class SocialSharing
12601
+ {
12602
+ constructor(ButtonAction)
12603
+ {
12604
+ this.buttonAction = ButtonAction;
12605
+ }
12606
+
12607
+ /**
12608
+ * Build Sharing options
12609
+ * @returns {HTMLSelectElement}
12610
+ */
12611
+ build()
12612
+ {
12613
+ // Create select
12614
+ let select = document.createElement("select");
12615
+ select.className = "buttonizer-select-action";
12616
+
12617
+ // // Share on Facebook
12618
+ // select.appendChild(this.add('facebook', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Facebook')));
12619
+
12620
+ // // Twitter
12621
+ // select.appendChild(this.add('twitter', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Twitter')));
12622
 
12623
  // // Whatsapp
12624
  // select.appendChild(this.add('whatsapp', window.Buttonizer.translate('settings.button_action.actions.share_page_on').format('Whatsapp')));
12719
 
12720
 
12721
 
12722
+
12723
  class Action_Action
12724
  {
12725
  /**
12802
  {value: "snapchat", text: "Snapchat"},
12803
  {value: "linkedin", text: "LinkedIn"},
12804
  {value: "vk", text: "VKontakte"},
 
12805
  {value: "waze", text: "Waze"},
12806
  ]
12807
  )
12814
  {value: "poptin", text: "Poptin"},
12815
  {value: "elementor_popup", text: "Elementor Popup"},
12816
  {value: "popup_maker", text: "Popup Maker"},
12817
+ {value: "popups", text: "Popups - WordPress Popup"},
12818
+ ]
12819
+ )
12820
+ );
12821
+
12822
+ // Actions
12823
+ this.dropdown.appendChild(
12824
+ this.selectGroup('Actions',
12825
+ [
12826
+ {value: "clipboard", text: "Copy URL to clipboard"},
12827
+ {value: "print", text: "Print page"},
12828
+ // {value: "woocommerce", text: "Add to Cart (WooCommerce)"},
12829
+ // {value: "page", text: "Select Page"},
12830
  ]
12831
  )
12832
  );
12960
  {
12961
  this.value = "";
12962
  }
12963
+ else if(this.buttonSettingsObject.buttonObject.data.type === "page")
12964
+ {
12965
+ this.value = "";
12966
+ }
12967
  else if(value === "messenger_chat")
12968
  {
12969
  for (let groups of window.Buttonizer.buttonGroups) {
13060
 
13061
  this.element.appendChild(infoText);
13062
  }
13063
+ else if(value === 'page')
13064
+ {
13065
+ this.element.appendChild((new Pages(this)).build());
13066
+ index_all(this.element.appendChild(new SettingHolder("<label for='label-always-open'>"+ window.Buttonizer.translate('settings.open_new_tab.title') +":</label>", boolean.build(), 'is-boolean-only').build()).firstChild.firstChild, {
13067
+ content: window.Buttonizer.translate('settings.open_new_tab.description'),
13068
+ animation: 'shift-away',
13069
+ arrow: true,
13070
+ hideOnClick: false
13071
+ });
13072
+ }
13073
  else if(value === "mail")
13074
  {
13075
  this.element.appendChild((new Mail(this)).build(window.Buttonizer.translate('settings.button_action.placeholders.mail.recipient')));
13091
  this.element.appendChild((new SocialSharing(this)).build());
13092
  }
13093
 
13094
+ else if(value === "backtotop" || value === "gobackpage" || value === 'clipboard' || value === 'print' || value === 'woocommerce')
13095
  {
13096
  return;
13097
  }
13165
 
13166
  this.addKnowledgeBaseLink(57, "Elementor popup");
13167
  }
13168
+ else if(value === 'popups') {
13169
+ this.element.appendChild((new input_Input(this)).build('ID'));
13170
+
13171
+ let info = document.createElement("p");
13172
+ info.innerHTML = `Copy and paste your popup ID here.`;
13173
+ this.element.appendChild(info);
13174
+ }
13175
  else if(value === 'poptin') {
13176
  this.element.appendChild((new Url(this)).build('https://app.popt.in/APIRequest/click/0c768294b0605'));
13177
 
13624
  })
13625
  }
13626
  }
13627
+ // CONCATENATED MODULE: ./node_modules/vanilla-picker/dist/vanilla-picker.mjs
13628
+ var classCallCheck = function (instance, Constructor) {
13629
+ if (!(instance instanceof Constructor)) {
13630
+ throw new TypeError("Cannot call a class as a function");
13631
+ }
13632
+ };
13633
 
13634
+ var createClass = function () {
13635
+ function defineProperties(target, props) {
13636
+ for (var i = 0; i < props.length; i++) {
13637
+ var descriptor = props[i];
13638
+ descriptor.enumerable = descriptor.enumerable || false;
13639
+ descriptor.configurable = true;
13640
+ if ("value" in descriptor) descriptor.writable = true;
13641
+ Object.defineProperty(target, descriptor.key, descriptor);
13642
+ }
13643
+ }
13644
 
13645
+ return function (Constructor, protoProps, staticProps) {
13646
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
13647
+ if (staticProps) defineProperties(Constructor, staticProps);
13648
+ return Constructor;
13649
+ };
13650
+ }();
13651
 
13652
+ var slicedToArray = function () {
13653
+ function sliceIterator(arr, i) {
13654
+ var _arr = [];
13655
+ var _n = true;
13656
+ var _d = false;
13657
+ var _e = undefined;
13658
 
13659
+ try {
13660
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
13661
+ _arr.push(_s.value);
13662
 
13663
+ if (i && _arr.length === i) break;
13664
+ }
13665
+ } catch (err) {
13666
+ _d = true;
13667
+ _e = err;
13668
+ } finally {
13669
+ try {
13670
+ if (!_n && _i["return"]) _i["return"]();
13671
+ } finally {
13672
+ if (_d) throw _e;
13673
+ }
13674
+ }
13675
 
13676
+ return _arr;
13677
+ }
13678
 
13679
+ return function (arr, i) {
13680
+ if (Array.isArray(arr)) {
13681
+ return arr;
13682
+ } else if (Symbol.iterator in Object(arr)) {
13683
+ return sliceIterator(arr, i);
13684
+ } else {
13685
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
13686
+ }
13687
+ };
13688
+ }();
13689
 
13690
+ String.prototype.startsWith = String.prototype.startsWith || function (needle) {
13691
+ return this.indexOf(needle) === 0;
13692
+ };
13693
+ String.prototype.padStart = String.prototype.padStart || function (len, pad) {
13694
+ var str = this;while (str.length < len) {
13695
+ str = pad + str;
13696
+ }return str;
13697
+ };
13698
 
13699
+ var colorNames = { 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', darkgreen: '#006400', darkgrey: '#a9a9a9', 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', green: '#008000', greenyellow: '#adff2f', grey: '#808080', 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', lightgreen: '#90ee90', lightgrey: '#d3d3d3', 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: '#9370db', 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: '#db7093', 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' };
 
 
 
 
 
13700
 
13701
+ function printNum(num) {
13702
+ var decs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
 
13703
 
13704
+ var str = decs > 0 ? num.toFixed(decs).replace(/0+$/, '').replace(/\.$/, '') : num.toString();
13705
+ return str || '0';
 
 
 
 
 
 
 
 
 
 
 
 
 
13706
  }
13707
 
13708
+ var vanilla_picker_Color = function () {
13709
+ function Color(r, g, b, a) {
13710
+ classCallCheck(this, Color);
13711
 
 
 
 
 
 
13712
 
13713
+ var that = this;
13714
+ function parseString(input) {
13715
 
13716
+ if (input.startsWith('hsl')) {
13717
+ var _input$match$map = input.match(/([\-\d\.e]+)/g).map(Number),
13718
+ _input$match$map2 = slicedToArray(_input$match$map, 4),
13719
+ h = _input$match$map2[0],
13720
+ s = _input$match$map2[1],
13721
+ l = _input$match$map2[2],
13722
+ _a = _input$match$map2[3];
13723
 
13724
+ if (_a === undefined) {
13725
+ _a = 1;
13726
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13727
 
13728
+ h /= 360;
13729
+ s /= 100;
13730
+ l /= 100;
13731
+ that.hsla = [h, s, l, _a];
13732
+ } else if (input.startsWith('rgb')) {
13733
+ var _input$match$map3 = input.match(/([\-\d\.e]+)/g).map(Number),
13734
+ _input$match$map4 = slicedToArray(_input$match$map3, 4),
13735
+ _r = _input$match$map4[0],
13736
+ _g = _input$match$map4[1],
13737
+ _b = _input$match$map4[2],
13738
+ _a2 = _input$match$map4[3];
13739
+
13740
+ if (_a2 === undefined) {
13741
+ _a2 = 1;
13742
+ }
13743
 
13744
+ that.rgba = [_r, _g, _b, _a2];
13745
+ } else {
13746
+ if (input.startsWith('#')) {
13747
+ that.rgba = Color.hexToRgb(input);
13748
+ } else {
13749
+ that.rgba = Color.nameToRgb(input) || Color.hexToRgb(input);
13750
+ }
13751
+ }
13752
+ }
13753
 
13754
+ if (r === undefined) ; else if (Array.isArray(r)) {
13755
+ this.rgba = r;
13756
+ } else if (b === undefined) {
13757
+ var color = r && '' + r;
13758
+ if (color) {
13759
+ parseString(color.toLowerCase());
13760
+ }
13761
+ } else {
13762
+ this.rgba = [r, g, b, a === undefined ? 1 : a];
13763
+ }
 
 
 
 
 
 
 
 
 
 
 
 
13764
  }
13765
 
13766
+ createClass(Color, [{
13767
+ key: 'printRGB',
13768
+ value: function printRGB(alpha) {
13769
+ var rgb = alpha ? this.rgba : this.rgba.slice(0, 3),
13770
+ vals = rgb.map(function (x, i) {
13771
+ return printNum(x, i === 3 ? 3 : 0);
13772
+ });
13773
 
13774
+ return alpha ? 'rgba(' + vals + ')' : 'rgb(' + vals + ')';
13775
+ }
13776
+ }, {
13777
+ key: 'printHSL',
13778
+ value: function printHSL(alpha) {
13779
+ var mults = [360, 100, 100, 1],
13780
+ suff = ['', '%', '%', ''];
13781
+
13782
+ var hsl = alpha ? this.hsla : this.hsla.slice(0, 3),
13783
+ vals = hsl.map(function (x, i) {
13784
+ return printNum(x * mults[i], i === 3 ? 3 : 1) + suff[i];
13785
+ });
 
 
 
 
 
 
 
 
 
 
13786
 
13787
+ return alpha ? 'hsla(' + vals + ')' : 'hsl(' + vals + ')';
13788
+ }
13789
+ }, {
13790
+ key: 'printHex',
13791
+ value: function printHex(alpha) {
13792
+ var hex = this.hex;
13793
+ return alpha ? hex : hex.substring(0, 7);
13794
+ }
13795
+ }, {
13796
+ key: 'rgba',
13797
+ get: function get$$1() {
13798
+ if (this._rgba) {
13799
+ return this._rgba;
13800
+ }
13801
+ if (!this._hsla) {
13802
+ throw new Error('No color is set');
13803
+ }
13804
 
13805
+ return this._rgba = Color.hslToRgb(this._hsla);
13806
+ },
13807
+ set: function set$$1(rgb) {
13808
+ if (rgb.length === 3) {
13809
+ rgb[3] = 1;
13810
  }
 
13811
 
13812
+ this._rgba = rgb;
13813
+ this._hsla = null;
13814
  }
13815
+ }, {
13816
+ key: 'rgbString',
13817
+ get: function get$$1() {
13818
+ return this.printRGB();
13819
+ }
13820
+ }, {
13821
+ key: 'rgbaString',
13822
+ get: function get$$1() {
13823
+ return this.printRGB(true);
13824
+ }
13825
+ }, {
13826
+ key: 'hsla',
13827
+ get: function get$$1() {
13828
+ if (this._hsla) {
13829
+ return this._hsla;
 
 
13830
  }
13831
+ if (!this._rgba) {
13832
+ throw new Error('No color is set');
 
 
 
 
13833
  }
13834
 
13835
+ return this._hsla = Color.rgbToHsl(this._rgba);
13836
+ },
13837
+ set: function set$$1(hsl) {
13838
+ if (hsl.length === 3) {
13839
+ hsl[3] = 1;
13840
+ }
13841
+
13842
+ this._hsla = hsl;
13843
+ this._rgba = null;
 
 
 
13844
  }
13845
+ }, {
13846
+ key: 'hslString',
13847
+ get: function get$$1() {
13848
+ return this.printHSL();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13849
  }
13850
+ }, {
13851
+ key: 'hslaString',
13852
+ get: function get$$1() {
13853
+ return this.printHSL(true);
13854
  }
13855
+ }, {
13856
+ key: 'hex',
13857
+ get: function get$$1() {
13858
+ var rgb = this.rgba,
13859
+ hex = rgb.map(function (x, i) {
13860
+ return i < 3 ? x.toString(16) : Math.round(x * 255).toString(16);
13861
+ });
13862
 
13863
+ return '#' + hex.map(function (x) {
13864
+ return x.padStart(2, '0');
13865
+ }).join('');
13866
+ },
13867
+ set: function set$$1(hex) {
13868
+ this.rgba = Color.hexToRgb(hex);
 
 
 
 
 
 
 
 
 
 
 
13869
  }
13870
+ }], [{
13871
+ key: 'hexToRgb',
13872
+ value: function hexToRgb(input) {
13873
 
13874
+ var hex = (input.startsWith('#') ? input.slice(1) : input).replace(/^(\w{3})$/, '$1F').replace(/^(\w)(\w)(\w)(\w)$/, '$1$1$2$2$3$3$4$4').replace(/^(\w{6})$/, '$1FF');
13875
 
13876
+ if (!hex.match(/^([0-9a-fA-F]{8})$/)) {
13877
+ throw new Error('Unknown hex color; ' + input);
13878
+ }
13879
+
13880
+ var rgba = hex.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function (x) {
13881
+ return parseInt(x, 16);
13882
+ });
13883
 
13884
+ rgba[3] = rgba[3] / 255;
13885
+ return rgba;
 
13886
  }
13887
+ }, {
13888
+ key: 'nameToRgb',
13889
+ value: function nameToRgb(input) {
13890
+
13891
+ var hex = colorNames[input];
13892
+ if (hex) {
13893
+ return Color.hexToRgb(hex);
 
 
13894
  }
13895
  }
13896
+ }, {
13897
+ key: 'rgbToHsl',
13898
+ value: function rgbToHsl(_ref) {
13899
+ var _ref2 = slicedToArray(_ref, 4),
13900
+ r = _ref2[0],
13901
+ g = _ref2[1],
13902
+ b = _ref2[2],
13903
+ a = _ref2[3];
13904
+
13905
+ r /= 255;
13906
+ g /= 255;
13907
+ b /= 255;
13908
+
13909
+ var max = Math.max(r, g, b),
13910
+ min = Math.min(r, g, b);
13911
+ var h = void 0,
13912
+ s = void 0,
13913
+ l = (max + min) / 2;
13914
+
13915
+ if (max === min) {
13916
+ h = s = 0;
13917
+ } else {
13918
+ var d = max - min;
13919
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
13920
+ switch (max) {
13921
+ case r:
13922
+ h = (g - b) / d + (g < b ? 6 : 0);break;
13923
+ case g:
13924
+ h = (b - r) / d + 2;break;
13925
+ case b:
13926
+ h = (r - g) / d + 4;break;
13927
+ }
13928
+
13929
+ h /= 6;
13930
  }
13931
 
13932
+ return [h, s, l, a];
13933
  }
13934
+ }, {
13935
+ key: 'hslToRgb',
13936
+ value: function hslToRgb(_ref3) {
13937
+ var _ref4 = slicedToArray(_ref3, 4),
13938
+ h = _ref4[0],
13939
+ s = _ref4[1],
13940
+ l = _ref4[2],
13941
+ a = _ref4[3];
13942
+
13943
+ var r = void 0,
13944
+ g = void 0,
13945
+ b = void 0;
13946
+
13947
+ if (s === 0) {
13948
+ r = g = b = l;
13949
+ } else {
13950
+ var hue2rgb = function hue2rgb(p, q, t) {
13951
+ if (t < 0) t += 1;
13952
+ if (t > 1) t -= 1;
13953
+ if (t < 1 / 6) return p + (q - p) * 6 * t;
13954
+ if (t < 1 / 2) return q;
13955
+ if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
13956
+ return p;
13957
+ };
13958
+
13959
+ var q = l < 0.5 ? l * (1 + s) : l + s - l * s,
13960
+ p = 2 * l - q;
13961
+
13962
+ r = hue2rgb(p, q, h + 1 / 3);
13963
+ g = hue2rgb(p, q, h);
13964
+ b = hue2rgb(p, q, h - 1 / 3);
13965
  }
13966
 
13967
+ var rgba = [r * 255, g * 255, b * 255].map(Math.round);
13968
+ rgba[3] = a;
13969
+
13970
+ return rgba;
13971
  }
13972
+ }]);
13973
+ return Color;
13974
+ }();
13975
 
13976
+ function parseHTML(htmlString) {
13977
 
13978
+ var div = document.createElement('div');
13979
+ div.innerHTML = htmlString;
13980
+ return div.firstElementChild;
13981
+ }
 
 
 
 
 
 
 
 
 
 
 
13982
 
13983
+ function dragTrack(area, callback) {
13984
+ var dragging = false;
13985
 
13986
+ function addEvent(target, type, handler) {
13987
+ target.addEventListener(type, handler, false);
13988
+ }
13989
+ function clamp(val, min, max) {
13990
+ return Math.max(min, Math.min(val, max));
 
 
 
13991
  }
 
 
 
13992
 
13993
+ function onMove(e, info, starting) {
13994
+ if (starting) {
13995
+ dragging = true;
 
 
13996
  }
13997
+ if (!dragging) {
13998
+ return;
 
13999
  }
14000
 
14001
+ e.preventDefault();
14002
+
14003
+ var bounds = area.getBoundingClientRect(),
14004
+ w = bounds.width,
14005
+ h = bounds.height,
14006
+ x = info.clientX,
14007
+ y = info.clientY;
14008
+
14009
+ var relX = clamp(x - bounds.left, 0, w),
14010
+ relY = clamp(y - bounds.top, 0, h);
14011
+
14012
+ callback(relX / w, relY / h);
14013
+ }
14014
+
14015
+ function onMouse(e, starting) {
14016
+ var button = e.buttons === undefined ? e.which : e.buttons;
14017
+ if (button === 1) {
14018
+ onMove(e, e, starting);
14019
+ } else {
14020
+ dragging = false;
14021
  }
 
 
14022
  }
14023
+
14024
+ function onTouch(e, starting) {
14025
+ if (e.touches.length === 1) {
14026
+ onMove(e, e.touches[0], starting);
14027
+ } else {
14028
+ dragging = false;
14029
+ }
14030
  }
14031
 
14032
+ addEvent(area, 'mousedown', function (e) {
14033
+ onMouse(e, true);
14034
+ });
14035
+ addEvent(area, 'touchstart', function (e) {
14036
+ onTouch(e, true);
14037
+ });
14038
+ addEvent(window, 'mousemove', onMouse);
14039
+ addEvent(area, 'touchmove', onTouch);
14040
+ addEvent(window, 'mouseup', function (e) {
14041
+ dragging = false;
14042
+ });
14043
+ addEvent(area, 'touchend', function (e) {
14044
+ dragging = false;
14045
+ });
14046
+ addEvent(area, 'touchcancel', function (e) {
14047
+ dragging = false;
14048
+ });
14049
+ }
14050
 
14051
+ var BG_TRANSP = 'url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'2\' height=\'2\'%3E%3Cpath d=\'M1,0H0V1H2V2H1\' fill=\'lightgrey\'/%3E%3C/svg%3E")';
14052
+ var HUES = 360;
 
 
 
 
 
 
 
 
14053
 
14054
+ var EVENT_KEY = 'keydown',
14055
+ EVENT_CLICK_OUTSIDE = 'mousedown',
14056
+ EVENT_TAB_MOVE = 'focusin';
14057
+
14058
+ function $(selector, context) {
14059
+ return (context || document).querySelector(selector);
14060
+ }
14061
 
14062
+ function addEvent(target, type, handler) {
14063
+ target.addEventListener(type, handler, false);
14064
+ }
14065
+ function stopEvent(e) {
14066
+
14067
+ e.preventDefault();
14068
+ e.stopPropagation();
14069
+ }
14070
+ function onKey(target, keys, handler, stop) {
14071
+ addEvent(target, EVENT_KEY, function (e) {
14072
+ if (keys.indexOf(e.key) >= 0) {
14073
+ if (stop) {
14074
+ stopEvent(e);
14075
+ }
14076
+ handler(e);
14077
  }
14078
+ });
14079
+ }
14080
 
14081
+ var _style = document.createElement('style');
14082
+ _style.textContent = '.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:\'\';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_sl::before{content:\'\';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{-webkit-box-ordinal-group:2;order:1;-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{-webkit-box-ordinal-group:2;order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px dodgerblue}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:whitesmoke;background-image:-webkit-gradient(linear, left bottom, left top, from(gainsboro), to(transparent));background-image:-webkit-linear-gradient(bottom, gainsboro, transparent);background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:-webkit-gradient(linear, left bottom, left top, from(transparent), to(gainsboro));background-image:-webkit-linear-gradient(bottom, transparent, gainsboro);background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:white}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:-webkit-linear-gradient(left, red, yellow, lime, cyan, blue, magenta, red);background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:-webkit-linear-gradient(top, white, rgba(255,255,255,0) 50%),-webkit-linear-gradient(bottom, black, rgba(0,0,0,0) 50%),-webkit-linear-gradient(left, gray, rgba(128,128,128,0));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'2\' height=\'2\'%3E%3Cpath d=\'M1,0H0V1H2V2H1\' fill=\'lightgrey\'/%3E%3C/svg%3E") left top/contain white;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:\'\';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}';
14083
+ document.documentElement.firstElementChild.appendChild(_style);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14084
 
14085
+ var Picker = function () {
14086
+ function Picker(options) {
14087
+ var _this = this;
14088
 
14089
+ classCallCheck(this, Picker);
 
 
 
 
 
 
 
 
 
14090
 
14091
 
14092
+ this.settings = {
14093
+
14094
+ popup: 'right',
14095
+ layout: 'default',
14096
+ alpha: true,
14097
+ editor: true,
14098
+ editorFormat: 'hex',
14099
+ cancelButton: false
14100
+ };
14101
+
14102
+ this._openProxy = function (e) {
14103
+ return _this.openHandler(e);
14104
+ };
14105
+
14106
+ this.onChange = null;
14107
+
14108
+ this.onDone = null;
14109
+
14110
+ this.onOpen = null;
14111
+
14112
+ this.onClose = null;
14113
+
14114
+ this.setOptions(options);
14115
  }
14116
 
14117
+ createClass(Picker, [{
14118
+ key: 'setOptions',
14119
+ value: function setOptions(options) {
14120
+ if (!options) {
14121
+ return;
14122
+ }
14123
+ var settings = this.settings;
14124
 
14125
+ function transfer(source, target, skipKeys) {
14126
+ for (var key in source) {
14127
+ if (skipKeys && skipKeys.indexOf(key) >= 0) {
14128
+ continue;
14129
+ }
14130
+
14131
+ target[key] = source[key];
14132
+ }
14133
+ }
 
 
14134
 
14135
+ if (options instanceof HTMLElement) {
14136
+ settings.parent = options;
14137
+ } else {
14138
 
14139
+ if (settings.parent && options.parent && settings.parent !== options.parent) {
14140
+ settings.parent.removeEventListener('click', this._openProxy, false);
14141
+ this._popupInited = false;
14142
+ }
14143
 
14144
+ transfer(options, settings);
14145
 
14146
+ if (options.onChange) {
14147
+ this.onChange = options.onChange;
14148
+ }
14149
+ if (options.onDone) {
14150
+ this.onDone = options.onDone;
14151
+ }
14152
+ if (options.onOpen) {
14153
+ this.onOpen = options.onOpen;
14154
+ }
14155
+ if (options.onClose) {
14156
+ this.onClose = options.onClose;
14157
+ }
14158
+
14159
+ var col = options.color || options.colour;
14160
+ if (col) {
14161
+ this._setColor(col);
14162
+ }
14163
  }
14164
 
14165
+ var parent = settings.parent;
14166
+ if (parent && settings.popup && !this._popupInited) {
 
 
 
 
 
 
 
 
 
14167
 
14168
+ addEvent(parent, 'click', this._openProxy);
 
14169
 
14170
+ onKey(parent, [' ', 'Spacebar', 'Enter'], this._openProxy);
 
14171
 
14172
+ this._popupInited = true;
14173
+ } else if (options.parent && !settings.popup) {
14174
+ this.show();
14175
+ }
14176
  }
14177
+ }, {
14178
+ key: 'openHandler',
14179
+ value: function openHandler(e) {
14180
+ if (this.show()) {
14181
 
14182
+ e && e.preventDefault();
14183
+
14184
+ this.settings.parent.style.pointerEvents = 'none';
14185
+
14186
+ var toFocus = e && e.type === EVENT_KEY ? this._domEdit : this.domElement;
14187
+ setTimeout(function () {
14188
+ return toFocus.focus();
14189
+ }, 100);
14190
+
14191
+ if (this.onOpen) {
14192
+ this.onOpen(this.colour);
 
14193
  }
14194
+ }
14195
  }
14196
+ }, {
14197
+ key: 'closeHandler',
14198
+ value: function closeHandler(e) {
14199
+ var event = e && e.type;
14200
+ var doHide = false;
14201
 
14202
+ if (!e) {
14203
+ doHide = true;
14204
+ } else if (event === EVENT_CLICK_OUTSIDE || event === EVENT_TAB_MOVE) {
14205
 
14206
+ var knownTime = (this.__containedEvent || 0) + 100;
14207
+ if (e.timeStamp > knownTime) {
14208
+ doHide = true;
14209
+ }
14210
+ } else {
 
14211
 
14212
+ stopEvent(e);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14213
 
14214
+ doHide = true;
14215
+ }
 
14216
 
14217
+ if (doHide && this.hide()) {
14218
+ this.settings.parent.style.pointerEvents = '';
14219
 
14220
+ if (event !== EVENT_CLICK_OUTSIDE) {
14221
+ this.settings.parent.focus();
14222
+ }
 
 
 
 
 
14223
 
14224
+ if (this.onClose) {
14225
+ this.onClose(this.colour);
14226
+ }
14227
+ }
14228
+ }
14229
+ }, {
14230
+ key: 'movePopup',
14231
+ value: function movePopup(options, open) {
14232
 
14233
+ this.closeHandler();
14234
 
14235
+ this.setOptions(options);
14236
+ if (open) {
14237
+ this.openHandler();
14238
+ }
14239
+ }
14240
+ }, {
14241
+ key: 'setColor',
14242
+ value: function setColor(color, silent) {
14243
+ this._setColor(color, { silent: silent });
14244
+ }
14245
+ }, {
14246
+ key: '_setColor',
14247
+ value: function _setColor(color, flags) {
14248
+ if (typeof color === 'string') {
14249
+ color = color.trim();
14250
+ }
14251
+ if (!color) {
14252
+ return;
14253
  }
14254
 
14255
+ flags = flags || {};
14256
+ var c = void 0;
14257
+ try {
14258
 
14259
+ c = new vanilla_picker_Color(color);
14260
+ } catch (ex) {
14261
+ if (flags.failSilently) {
14262
+ return;
14263
  }
14264
+ throw ex;
14265
+ }
 
 
14266
 
14267
+ if (!this.settings.alpha) {
14268
+ var hsla = c.hsla;
14269
+ hsla[3] = 1;
14270
+ c.hsla = hsla;
14271
+ }
14272
+ this.colour = this.color = c;
14273
+ this._setHSLA(null, null, null, null, flags);
14274
+ }
14275
+ }, {
14276
+ key: 'setColour',
14277
+ value: function setColour(colour, silent) {
14278
+ this.setColor(colour, silent);
14279
+ }
14280
+ }, {
14281
+ key: 'show',
14282
+ value: function show() {
14283
+ var parent = this.settings.parent;
14284
+ if (!parent) {
14285
+ return false;
14286
+ }
14287
 
14288
+ if (this.domElement) {
14289
+ var toggled = this._toggleDOM(true);
14290
 
14291
+ this._setPosition();
 
 
 
 
 
 
14292
 
14293
+ return toggled;
14294
+ }
14295
 
14296
+ var html = this.settings.template || '<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>';
14297
+ var wrapper = parseHTML(html);
14298
+
14299
+ this.domElement = wrapper;
14300
+ this._domH = $('.picker_hue', wrapper);
14301
+ this._domSL = $('.picker_sl', wrapper);
14302
+ this._domA = $('.picker_alpha', wrapper);
14303
+ this._domEdit = $('.picker_editor input', wrapper);
14304
+ this._domSample = $('.picker_sample', wrapper);
14305
+ this._domOkay = $('.picker_done button', wrapper);
14306
+ this._domCancel = $('.picker_cancel button', wrapper);
14307
+
14308
+ wrapper.classList.add('layout_' + this.settings.layout);
14309
+ if (!this.settings.alpha) {
14310
+ wrapper.classList.add('no_alpha');
14311
+ }
14312
+ if (!this.settings.editor) {
14313
+ wrapper.classList.add('no_editor');
14314
+ }
14315
+ if (!this.settings.cancelButton) {
14316
+ wrapper.classList.add('no_cancel');
14317
+ }
14318
+ this._ifPopup(function () {
14319
+ return wrapper.classList.add('popup');
14320
+ });
14321
 
14322
+ this._setPosition();
14323
 
14324
+ if (this.colour) {
14325
+ this._updateUI();
14326
+ } else {
14327
+ this._setColor('#0cf');
14328
+ }
14329
+ this._bindEvents();
14330
 
14331
+ return true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14332
  }
14333
+ }, {
14334
+ key: 'hide',
14335
+ value: function hide() {
14336
+ return this._toggleDOM(false);
14337
  }
14338
+ }, {
14339
+ key: '_bindEvents',
14340
+ value: function _bindEvents() {
14341
+ var _this2 = this;
14342
 
14343
+ var that = this,
14344
+ dom = this.domElement;
14345
 
14346
+ addEvent(dom, 'click', function (e) {
14347
+ return e.preventDefault();
14348
+ });
 
 
 
14349
 
14350
+ dragTrack(this._domH, function (x, y) {
14351
+ return that._setHSLA(x);
14352
+ });
14353
 
14354
+ dragTrack(this._domSL, function (x, y) {
14355
+ return that._setHSLA(null, x, 1 - y);
14356
+ });
 
 
 
 
14357
 
14358
+ if (this.settings.alpha) {
14359
+ dragTrack(this._domA, function (x, y) {
14360
+ return that._setHSLA(null, null, null, 1 - y);
14361
+ });
14362
+ }
14363
 
14364
+ var editInput = this._domEdit;
14365
+ {
14366
+ addEvent(editInput, 'input', function (e) {
14367
+ that._setColor(this.value, { fromEditor: true, failSilently: true });
14368
+ });
14369
+
14370
+ addEvent(editInput, 'focus', function (e) {
14371
+ var input = this;
14372
 
14373
+ if (input.selectionStart === input.selectionEnd) {
14374
+ input.select();
14375
+ }
14376
+ });
14377
+ }
14378
 
14379
+ this._ifPopup(function () {
 
14380
 
14381
+ var popupCloseProxy = function popupCloseProxy(e) {
14382
+ return _this2.closeHandler(e);
14383
+ };
14384
 
14385
+ addEvent(window, EVENT_CLICK_OUTSIDE, popupCloseProxy);
14386
+ addEvent(window, EVENT_TAB_MOVE, popupCloseProxy);
14387
+ onKey(dom, ['Esc', 'Escape'], popupCloseProxy);
14388
+
14389
+ var timeKeeper = function timeKeeper(e) {
14390
+ _this2.__containedEvent = e.timeStamp;
14391
+ };
14392
+ addEvent(dom, EVENT_CLICK_OUTSIDE, timeKeeper);
14393
+
14394
+ addEvent(dom, EVENT_TAB_MOVE, timeKeeper);
14395
+
14396
+ addEvent(_this2._domCancel, 'click', popupCloseProxy);
14397
+ });
14398
+
14399
+ var onDoneProxy = function onDoneProxy(e) {
14400
+ _this2._ifPopup(function () {
14401
+ return _this2.closeHandler(e);
14402
+ });
14403
+ if (_this2.onDone) {
14404
+ _this2.onDone(_this2.colour);
14405
+ }
14406
+ };
14407
+ addEvent(this._domOkay, 'click', onDoneProxy);
14408
+ onKey(dom, ['Enter'], onDoneProxy);
14409
  }
14410
+ }, {
14411
+ key: '_setPosition',
14412
+ value: function _setPosition() {
14413
+ var parent = this.settings.parent,
14414
+ elm = this.domElement;
14415
+
14416
+ if (parent !== elm.parentNode) {
14417
+ parent.appendChild(elm);
14418
+ }
14419
 
14420
+ this._ifPopup(function (popup) {
14421
 
14422
+ if (getComputedStyle(parent).position === 'static') {
14423
+ parent.style.position = 'relative';
14424
+ }
14425
+
14426
+ var cssClass = popup === true ? 'popup_right' : 'popup_' + popup;
14427
+
14428
+ ['popup_top', 'popup_bottom', 'popup_left', 'popup_right'].forEach(function (c) {
14429
+
14430
+ if (c === cssClass) {
14431
+ elm.classList.add(c);
14432
+ } else {
14433
+ elm.classList.remove(c);
14434
+ }
14435
+ });
14436
+
14437
+ elm.classList.add(cssClass);
14438
+ });
14439
  }
14440
+ }, {
14441
+ key: '_setHSLA',
14442
+ value: function _setHSLA(h, s, l, a, flags) {
14443
+ flags = flags || {};
14444
+
14445
+ var col = this.colour,
14446
+ hsla = col.hsla;
14447
+
14448
+ [h, s, l, a].forEach(function (x, i) {
14449
+ if (x || x === 0) {
14450
+ hsla[i] = x;
14451
+ }
14452
+ });
14453
+ col.hsla = hsla;
14454
+
14455
+ this._updateUI(flags);
14456
+
14457
+ if (this.onChange && !flags.silent) {
14458
+ this.onChange(col);
14459
+ }
14460
  }
14461
+ }, {
14462
+ key: '_updateUI',
14463
+ value: function _updateUI(flags) {
14464
+ if (!this.domElement) {
14465
+ return;
14466
+ }
14467
+ flags = flags || {};
14468
+
14469
+ var col = this.colour,
14470
+ hsl = col.hsla,
14471
+ cssHue = 'hsl(' + hsl[0] * HUES + ', 100%, 50%)',
14472
+ cssHSL = col.hslString,
14473
+ cssHSLA = col.hslaString;
14474
+
14475
+ var uiH = this._domH,
14476
+ uiSL = this._domSL,
14477
+ uiA = this._domA,
14478
+ thumbH = $('.picker_selector', uiH),
14479
+ thumbSL = $('.picker_selector', uiSL),
14480
+ thumbA = $('.picker_selector', uiA);
14481
+
14482
+ function posX(parent, child, relX) {
14483
+ child.style.left = relX * 100 + '%';
14484
+ }
14485
+ function posY(parent, child, relY) {
14486
+ child.style.top = relY * 100 + '%';
14487
+ }
14488
 
14489
+ posX(uiH, thumbH, hsl[0]);
14490
 
14491
+ this._domSL.style.backgroundColor = this._domH.style.color = cssHue;
 
 
14492
 
14493
+ posX(uiSL, thumbSL, hsl[1]);
14494
+ posY(uiSL, thumbSL, 1 - hsl[2]);
 
 
 
 
14495
 
14496
+ uiSL.style.color = cssHSL;
14497
 
14498
+ posY(uiA, thumbA, 1 - hsl[3]);
 
 
 
 
 
14499
 
14500
+ var opaque = cssHSL,
14501
+ transp = opaque.replace('hsl', 'hsla').replace(')', ', 0)'),
14502
+ bg = 'linear-gradient(' + [opaque, transp] + ')';
 
14503
 
14504
+ this._domA.style.backgroundImage = bg + ', ' + BG_TRANSP;
14505
+
14506
+ if (!flags.fromEditor) {
14507
+ var format = this.settings.editorFormat,
14508
+ alpha = this.settings.alpha;
14509
+
14510
+ var value = void 0;
14511
+ switch (format) {
14512
+ case 'rgb':
14513
+ value = col.printRGB(alpha);break;
14514
+ case 'hsl':
14515
+ value = col.printHSL(alpha);break;
14516
+ default:
14517
+ value = col.printHex(alpha);
14518
+ }
14519
+ this._domEdit.value = value;
14520
  }
14521
 
14522
+ this._domSample.style.color = cssHSLA;
 
 
 
 
 
 
 
14523
  }
14524
+ }, {
14525
+ key: '_ifPopup',
14526
+ value: function _ifPopup(actionIf, actionElse) {
14527
+ if (this.settings.parent && this.settings.popup) {
14528
+ actionIf && actionIf(this.settings.popup);
14529
+ } else {
14530
+ actionElse && actionElse();
14531
+ }
14532
+ }
14533
+ }, {
14534
+ key: '_toggleDOM',
14535
+ value: function _toggleDOM(toVisible) {
14536
+ var dom = this.domElement;
14537
+ if (!dom) {
14538
+ return false;
14539
+ }
14540
 
14541
+ var displayStyle = toVisible ? '' : 'none',
14542
+ toggle = dom.style.display !== displayStyle;
 
 
 
 
 
14543
 
14544
+ if (toggle) {
14545
+ dom.style.display = displayStyle;
14546
+ }
14547
+ return toggle;
14548
+ }
14549
+ }], [{
14550
+ key: 'StyleElement',
14551
+ get: function get$$1() {
14552
+ return _style;
14553
+ }
14554
+ }]);
14555
+ return Picker;
14556
+ }();
14557
 
14558
+ /* harmony default export */ var vanilla_picker = (Picker);
14559
 
14560
  // CONCATENATED MODULE: ./src/js/admin/components/Inputs/Color.js
14561
  /**
15227
 
15228
  this.value = data.parentObject.get(data.dataEntry, '');
15229
 
15230
+ this.selectText = (typeof data.selectText === "undefined" ? window.Buttonizer.translate('utils.select_image') : data.selectText);
15231
+ this.updateText = (typeof data.updateText === "undefined" ? window.Buttonizer.translate('utils.change_image') : data.updateText);
15232
+
15233
  this.callback = data.callback;
15234
 
15235
  this.parentObject.registerUI(this.dataEntry, this);
15257
  let button = document.createElement("a");
15258
  button.className = "button";
15259
  button.href = "javascript:void(0)";
15260
+ button.innerHTML = '<i class="fa fa-image"></i>&nbsp;&nbsp;'+ this.selectText +' <small>(premium)</small>';
15261
  button.addEventListener("click", () => {
15262
  window.Buttonizer.showPremiumPopup('You can select images and set them as icon or as button background image.');
15263
  });
15462
  parentObject: this.parent,
15463
  state: false,
15464
  first: window.Buttonizer.translate('utils.icon'),
15465
+ second: window.Buttonizer.translate('common.custom') + ' <small>(premium)</small>',
15466
  callback: () => {
15467
  window.Buttonizer.showPremiumPopup("You can select an custom image as icon for your buttons and groups.");
15468
  }
19655
  }
19656
  });
19657
  // EXTERNAL MODULE: ./node_modules/assert/assert.js
19658
+ var assert = __webpack_require__(5);
19659
 
19660
  // EXTERNAL MODULE: ./node_modules/timers-browserify/main.js
19661
  var main = __webpack_require__(0);
19664
 
19665
 
19666
 
19667
+ const introJs = __webpack_require__(11);
19668
 
19669
  class Tour_Tour {
19670
  constructor() {
20601
 
20602
 
20603
  // CONCATENATED MODULE: ./src/js/admin/Buttonizer.js
20604
+ // Import Buttonizer Dashboard style!
20605
 
20606
 
20607
 
20618
 
20619
 
20620
 
20621
+ __webpack_require__(12);
20622
 
20623
  window.bdebug = new components_Debug();
20624
 
21412
 
21413
 
21414
  /***/ }),
21415
+ /* 16 */,
21416
+ /* 17 */
21417
  /***/ (function(module, exports) {
21418
 
21419
  // removed by extract-text-webpack-plugin
assets/dashboard.min.js CHANGED
@@ -10,15 +10,7 @@
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
- */!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=16)}([function(t,e,i){(function(t){var n=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function s(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new s(o.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new s(o.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},i(11),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,i(1))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){
14
- /*!
15
- * drag-tracker v1.0.0
16
- * https://github.com/Sphinxxxx/drag-tracker#readme
17
- *
18
- * Copyright 2017-2018 Andreas Borgen
19
- * Released under the MIT license.
20
- */
21
- t.exports=function(){"use strict";var t=window;return function(e){var i=Element.prototype;i.matches||(i.matches=i.msMatchesSelector||i.webkitMatchesSelector),i.closest||(i.closest=function(t){var e=this;do{if(e.matches(t))return e;e="svg"===e.tagName?e.parentNode:e.parentElement}while(e);return null});var n=(e=e||{}).container||document.documentElement,o=e.selector,s=e.callback||console.log,r=e.callbackDragStart,a=e.callbackDragEnd,l=e.callbackClick,u=e.propagateEvents,c=!1!==e.roundCoords,d=!1!==e.dragOutside,p=e.handleOffset||!1!==e.handleOffset,h=null;switch(p){case"center":h=!0;break;case"topleft":case"top-left":h=!1}var m=void 0;function b(t,e,i,o){var s=t.clientX,r=t.clientY;function a(t,e,i){return Math.max(e,Math.min(t,i))}if(e){var l=e.getBoundingClientRect();if(s-=l.left,r-=l.top,i&&(s-=i[0],r-=i[1]),o&&(s=a(s,0,l.width),r=a(r,0,l.height)),e!==n){var u=null!==h?h:"circle"===e.nodeName||"ellipse"===e.nodeName;u&&(s-=l.width/2,r-=l.height/2)}}return c?[Math.round(s),Math.round(r)]:[s,r]}function f(t){t.preventDefault(),u||t.stopPropagation()}function w(t){var e=void 0;if(e=o?o instanceof Element?o.contains(t.target)?o:null:t.target.closest(o):{}){f(t);var i=o&&p?b(t,e):[0,0],s=b(t,n,i);m={target:e,mouseOffset:i,startPos:s,actuallyDragged:!1},r&&r(e,s)}}function g(t){if(m){f(t);var e=m.startPos,i=b(t,n,m.mouseOffset,!d);m.actuallyDragged=m.actuallyDragged||e[0]!==i[0]||e[1]!==i[1],s(m.target,i,e)}}function y(t,e){if(m){if(a||l){var i=!m.actuallyDragged,o=i?m.startPos:b(t,n,m.mouseOffset,!d);l&&i&&!e&&l(m.target,o),a&&a(m.target,o,m.startPos,e||i&&l)}m=null}}function v(t,e){y(B(t),e)}function _(t,e,i){t.addEventListener(e,i)}function k(t){return void 0!==t.buttons?1===t.buttons:1===t.which}function x(t,e){1===t.touches.length?e(B(t)):y(t,!0)}function B(t){var e=t.targetTouches[0];return e||(e=t.changedTouches[0]),e.preventDefault=t.preventDefault.bind(t),e.stopPropagation=t.stopPropagation.bind(t),e}_(n,"mousedown",function(t){k(t)?w(t):y(t,!0)}),_(n,"touchstart",function(t){return x(t,w)}),_(t,"mousemove",function(t){m&&(k(t)?g(t):y(t))}),_(t,"touchmove",function(t){return x(t,g)}),_(n,"mouseup",function(t){m&&!k(t)&&y(t)}),_(n,"touchend",function(t){return v(t)}),_(n,"touchcancel",function(t){return v(t,!0)})}}()},function(t,e){var i,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(t){n=r}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var t=a(p);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d<e;)l&&l[d].run();d=-1,e=u.length}l=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function b(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];u.push(new m(t,e)),1!==u.length||c||a(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,i){"use strict";(function(t){for(
22
  /**!
23
  * @fileOverview Kickass library to create and place poppers near their reference elements.
24
  * @version 1.15.0
@@ -43,22 +35,18 @@ t.exports=function(){"use strict";var t=window;return function(e){var i=Element.
43
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
44
  * SOFTWARE.
45
  */
46
- var i="undefined"!=typeof window&&"undefined"!=typeof document,n=["Edge","Trident","Firefox"],o=0,s=0;s<n.length;s+=1)if(i&&navigator.userAgent.indexOf(n[s])>=0){o=1;break}var r=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:c(u(t))}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),p=i&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?d:10===t?p:d||p}function m(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===l(i,"position")?m(i):i:t?t.ownerDocument.documentElement:document.documentElement}function b(t){return null!==t.parentNode?b(t.parentNode):t}function f(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&m(r.firstElementChild)!==r?m(l):l;var u=b(t);return u.host?f(u.host,e):f(t,b(e).host)}function w(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function g(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function y(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],h(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function v(t){var e=t.body,i=t.documentElement,n=h(10)&&getComputedStyle(i);return{height:y("Height",e,i,n),width:y("Width",e,i,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),x=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function E(t){return B({},t,{right:t.left+t.width,bottom:t.top+t.height})}function z(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var i=w(t,"top"),n=w(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?v(t.ownerDocument):{},r=s.width||t.clientWidth||o.right-o.left,a=s.height||t.clientHeight||o.bottom-o.top,u=t.offsetWidth-r,c=t.offsetHeight-a;if(u||c){var d=l(t);u-=g(d,"x"),c-=g(d,"y"),o.width-=u,o.height-=c}return E(o)}function C(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,s=z(t),r=z(e),a=c(t),u=l(e),d=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);i&&o&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var m=E({top:s.top-r.top-d,left:s.left-r.left-p,width:s.width,height:s.height});if(m.marginTop=0,m.marginLeft=0,!n&&o){var b=parseFloat(u.marginTop,10),f=parseFloat(u.marginLeft,10);m.top-=d-b,m.bottom-=d-b,m.left-=p-f,m.right-=p-f,m.marginTop=b,m.marginLeft=f}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=w(e,"top"),o=w(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}(m,e)),m}function j(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function S(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?j(t):f(t,e);if("viewport"===n)s=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=C(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),r=e?0:w(i),a=e?0:w(i,"left");return E({top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s})}(r,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(u(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var d=C(a,r,o);if("HTML"!==a.nodeName||function t(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===l(e,"position"))return!0;var n=u(e);return!!n&&t(n)}(r))s=d;else{var p=v(t.ownerDocument),h=p.height,m=p.width;s.top+=d.top-d.marginTop,s.bottom=h+d.top,s.left+=d.left-d.marginLeft,s.right=m+d.left}}var b="number"==typeof(i=i||0);return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function O(t,e,i,n,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=S(i,n,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map(function(t){return B({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function L(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return C(i,n?j(e):f(e,i),n)}function T(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function A(t,e,i){i=i.split("-")[0];var n=T(t),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return o[r]=e[r]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[u]:e[N(a)],o}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=I(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&a(i)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=i(e,t))}),e}function H(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function q(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function P(t){var e=t.ownerDocument;return e?e.defaultView:window}function D(t,e,i,n){i.updateBound=n,P(t).addEventListener("resize",i.updateBound,{passive:!0});var o=c(t);return function t(e,i,n,o){var s="BODY"===e.nodeName,r=s?e.ownerDocument.defaultView:e;r.addEventListener(i,n,{passive:!0}),s||t(c(r.parentNode),i,n,o),o.push(r)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function F(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,P(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function R(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&R(e[i])&&(n="px"),t.style[i]=e[i]+n})}var U=i&&/Firefox/i.test(navigator.userAgent);function G(t,e,i){var n=I(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var s="`"+e+"`",r="`"+i+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$=Q.slice(3);function Y(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=$.indexOf(t),n=$.slice(i+1).concat($.slice(0,i));return e?n.reverse():n}var V={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(t,e,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=r.indexOf(I(r,function(t){return-1!==t.search(/,|\s/)}));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return(u=u.map(function(t,n){var o=(1===n?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0===r.indexOf("%")){var a=void 0;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return E(a)[e]/100*s}if("vh"===r||"vw"===r)return("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s;return s}(t,o,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){R(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))})}),o}var K={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",u=a?"width":"height",c={start:x({},l,s[l]),end:x({},l,s[l]+s[u]-r[u])};t.offsets.popper=B({},r,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,s=o.popper,r=o.reference,a=n.split("-")[0],l=void 0;return l=R(+i)?[+i,0]:X(i,s,r,a),"left"===a?(s.top+=l[0],s.left-=l[1]):"right"===a?(s.top+=l[0],s.left+=l[1]):"top"===a?(s.left+=l[0],s.top-=l[1]):"bottom"===a&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||m(t.instance.popper);t.instance.reference===i&&(i=m(i));var n=q("transform"),o=t.instance.popper.style,s=o.top,r=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=S(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=s,o.left=r,o[n]=a,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(c[t],l[t])),x({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),x({},i,n)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=B({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",u=r?"width":"height";return i[a]<s(n[l])&&(t.offsets.popper[l]=s(n[l])-i[u]),i[l]>s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",p=d.toLowerCase(),h=u?"left":"top",m=u?"bottom":"right",b=T(n)[c];a[m]-b<r[p]&&(t.offsets.popper[p]-=r[p]-(a[m]-b)),a[p]+b>r[m]&&(t.offsets.popper[p]+=a[p]+b-r[m]),t.offsets.popper=E(t.offsets.popper);var f=a[p]+a[c]/2-b/2,w=l(t.instance.popper),g=parseFloat(w["margin"+d],10),y=parseFloat(w["border"+d+"Width"],10),v=f-t.offsets.popper[p]-g-y;return v=Math.max(Math.min(r[c]-b,v),0),t.arrowElement=n,t.offsets.arrow=(x(i={},p,Math.round(v)),x(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=S(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=N(n),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case V.FLIP:r=[n,o];break;case V.CLOCKWISE:r=Y(n);break;case V.COUNTERCLOCKWISE:r=Y(n,!0);break;default:r=e.behavior}return r.forEach(function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],o=N(n);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,p="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)<d(c.right)||"top"===n&&d(u.bottom)>d(c.top)||"bottom"===n&&d(u.top)<d(c.bottom),h=d(u.left)<d(i.left),m=d(u.right)>d(i.right),b=d(u.top)<d(i.top),f=d(u.bottom)>d(i.bottom),w="left"===n&&h||"right"===n&&m||"top"===n&&b||"bottom"===n&&f,g=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(g&&"start"===s&&h||g&&"end"===s&&m||!g&&"start"===s&&b||!g&&"end"===s&&f),v=!!e.flipVariationsByContent&&(g&&"start"===s&&m||g&&"end"===s&&h||!g&&"start"===s&&f||!g&&"end"===s&&b),_=y||v;(p||w||_)&&(t.flipped=!0,(p||w)&&(n=r[l+1]),_&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=n+(s?"-"+s:""),t.offsets.popper=B({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=M(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=N(e),t.offsets.popper=E(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==s?s:e.gpuAcceleration,a=m(t.instance.popper),l=z(a),u={position:o.position},c=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,s=Math.round,r=Math.floor,a=function(t){return t},l=s(o.width),u=s(n.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?c||d||l%2==u%2?s:r:a,h=e?s:a;return{left:p(l%2==1&&u%2==1&&!d&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:p(n.right)}}(t,window.devicePixelRatio<2||!U),d="bottom"===i?"top":"bottom",p="right"===n?"left":"right",h=q("transform"),b=void 0,f=void 0;if(f="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,b="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,r&&h)u[h]="translate3d("+b+"px, "+f+"px, 0)",u[d]=0,u[p]=0,u.willChange="transform";else{var w="bottom"===d?-1:1,g="right"===p?-1:1;u[d]=f*w,u[p]=b*g,u.willChange=d+", "+p}var y={"x-placement":t.placement};return t.attributes=B({},y,t.attributes),t.styles=B({},u,t.styles),t.arrowStyles=B({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return W(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&W(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=L(o,e,t,i.positionFixed),r=O(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),W(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},J=function(){function t(e,i){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=r(this.update.bind(this)),this.options=B({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(B({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=B({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return B({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=O(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=D(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return F.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=Q,J.Defaults=K,e.a=J}).call(this,i(1))},function(t,e,i){
47
- /*!
48
- * @sphinxxxx/color-conversion v2.2.1
49
- * https://github.com/Sphinxxxx/color-conversion
50
- *
51
- * Copyright 2017-2019 Joudee (https://github.com/Joudee), Andreas Borgen (https://github.com/Sphinxxxx), Michael Jackson (https://github.com/mjackson)
52
- * Released under the ISC license.
53
- */
54
- t.exports=function(){"use strict";var t=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(t){return 0===this.indexOf(t)},String.prototype.padStart=String.prototype.padStart||function(t,e){for(var i=this;i.length<t;)i=e+i;return i};var n={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",darkgreen:"#006400",darkgrey:"#a9a9a9",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",green:"#008000",greenyellow:"#adff2f",grey:"#808080",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",lightgreen:"#90ee90",lightgrey:"#d3d3d3",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:"#9370db",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:"#db7093",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"};function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=e>0?t.toFixed(e).replace(/0+$/,"").replace(/\.$/,""):t.toString();return i||"0"}return function(){function s(e,n,o,r){t(this,s);var a=this;if(void 0===e);else if(Array.isArray(e))this.rgba=e;else if(void 0===o){var l=e&&""+e;l&&function(t){if(t.startsWith("hsl")){var e=t.match(/([\-\d\.e]+)/g).map(Number),n=i(e,4),o=n[0],r=n[1],l=n[2],u=n[3];void 0===u&&(u=1),o/=360,r/=100,l/=100,a.hsla=[o,r,l,u]}else if(t.startsWith("rgb")){var c=t.match(/([\-\d\.e]+)/g).map(Number),d=i(c,4),p=d[0],h=d[1],m=d[2],b=d[3];void 0===b&&(b=1),a.rgba=[p,h,m,b]}else t.startsWith("#")?a.rgba=s.hexToRgb(t):a.rgba=s.nameToRgb(t)||s.hexToRgb(t)}(l.toLowerCase())}else this.rgba=[e,n,o,void 0===r?1:r]}return e(s,[{key:"printRGB",value:function(t){var e=t?this.rgba:this.rgba.slice(0,3),i=e.map(function(t,e){return o(t,3===e?3:0)});return t?"rgba("+i+")":"rgb("+i+")"}},{key:"printHSL",value:function(t){var e=[360,100,100,1],i=["","%","%",""],n=t?this.hsla:this.hsla.slice(0,3),s=n.map(function(t,n){return o(t*e[n],3===n?3:1)+i[n]});return t?"hsla("+s+")":"hsl("+s+")"}},{key:"printHex",value:function(t){var e=this.hex;return t?e:e.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=s.hslToRgb(this._hsla)},set:function(t){3===t.length&&(t[3]=1),this._rgba=t,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=s.rgbToHsl(this._rgba)},set:function(t){3===t.length&&(t[3]=1),this._hsla=t,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var t=this.rgba,e=t.map(function(t,e){return e<3?t.toString(16):Math.round(255*t).toString(16)});return"#"+e.map(function(t){return t.padStart(2,"0")}).join("")},set:function(t){this.rgba=s.hexToRgb(t)}}],[{key:"hexToRgb",value:function(t){var e=(t.startsWith("#")?t.slice(1):t).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!e.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+t);var i=e.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(t){return parseInt(t,16)});return i[3]=i[3]/255,i}},{key:"nameToRgb",value:function(t){var e=n[t];if(e)return s.hexToRgb(e)}},{key:"rgbToHsl",value:function(t){var e=i(t,4),n=e[0],o=e[1],s=e[2],r=e[3];n/=255,o/=255,s/=255;var a=Math.max(n,o,s),l=Math.min(n,o,s),u=void 0,c=void 0,d=(a+l)/2;if(a===l)u=c=0;else{var p=a-l;switch(c=d>.5?p/(2-a-l):p/(a+l),a){case n:u=(o-s)/p+(o<s?6:0);break;case o:u=(s-n)/p+2;break;case s:u=(n-o)/p+4}u/=6}return[u,c,d,r]}},{key:"hslToRgb",value:function(t){var e=i(t,4),n=e[0],o=e[1],s=e[2],r=e[3],a=void 0,l=void 0,u=void 0;if(0===o)a=l=u=s;else{var c=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},d=s<.5?s*(1+o):s+o-s*o,p=2*s-d;a=c(p,d,n+1/3),l=c(p,d,n),u=c(p,d,n-1/3)}var h=[255*a,255*l,255*u].map(Math.round);return h[3]=r,h}}]),s}()}()},function(t,e){},function(t,e,i){"use strict";(function(e){
55
  /*!
56
  * The buffer module from node.js, for the browser.
57
  *
58
  * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
59
  * @license MIT
60
- */
61
- function n(t,e){if(t===e)return 0;for(var i=t.length,n=e.length,o=0,s=Math.min(i,n);o<s;++o)if(t[o]!==e[o]){i=t[o],n=e[o];break}return i<n?-1:n<i?1:0}function o(t){return e.Buffer&&"function"==typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var s=i(8),r=Object.prototype.hasOwnProperty,a=Array.prototype.slice,l="foo"===function(){}.name;function u(t){return Object.prototype.toString.call(t)}function c(t){return!o(t)&&("function"==typeof e.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var d=t.exports=w,p=/\s*function\s+([^\(\s]*)\s*/;function h(t){if(s.isFunction(t)){if(l)return t.name;var e=t.toString().match(p);return e&&e[1]}}function m(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function b(t){if(l||!s.isFunction(t))return s.inspect(t);var e=h(t);return"[Function"+(e?": "+e:"")+"]"}function f(t,e,i,n,o){throw new d.AssertionError({message:i,actual:t,expected:e,operator:n,stackStartFunction:o})}function w(t,e){t||f(t,!0,e,"==",d.ok)}function g(t,e,i,r){if(t===e)return!0;if(o(t)&&o(e))return 0===n(t,e);if(s.isDate(t)&&s.isDate(e))return t.getTime()===e.getTime();if(s.isRegExp(t)&&s.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(c(t)&&c(e)&&u(t)===u(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===n(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(o(t)!==o(e))return!1;var l=(r=r||{actual:[],expected:[]}).actual.indexOf(t);return-1!==l&&l===r.expected.indexOf(e)||(r.actual.push(t),r.expected.push(e),function(t,e,i,n){if(null==t||null==e)return!1;if(s.isPrimitive(t)||s.isPrimitive(e))return t===e;if(i&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var o=y(t),r=y(e);if(o&&!r||!o&&r)return!1;if(o)return t=a.call(t),e=a.call(e),g(t,e,i);var l,u,c=k(t),d=k(e);if(c.length!==d.length)return!1;for(c.sort(),d.sort(),u=c.length-1;u>=0;u--)if(c[u]!==d[u])return!1;for(u=c.length-1;u>=0;u--)if(l=c[u],!g(t[l],e[l],i,n))return!1;return!0}(t,e,i,r))}return i?t===e:t==e}function y(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function v(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function _(t,e,i,n){var o;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof i&&(n=i,i=null),o=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(i&&i.name?" ("+i.name+").":".")+(n?" "+n:"."),t&&!o&&f(o,i,"Missing expected exception"+n);var r="string"==typeof n,a=!t&&o&&!i;if((!t&&s.isError(o)&&r&&v(o,i)||a)&&f(o,i,"Got unwanted exception"+n),t&&o&&i&&!v(o,i)||!t&&o)throw o}d.AssertionError=function(t){var e;this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=m(b((e=this).actual),128)+" "+e.operator+" "+m(b(e.expected),128),this.generatedMessage=!0);var i=t.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,i);else{var n=new Error;if(n.stack){var o=n.stack,s=h(i),r=o.indexOf("\n"+s);if(r>=0){var a=o.indexOf("\n",r+1);o=o.substring(a+1)}this.stack=o}}},s.inherits(d.AssertionError,Error),d.fail=f,d.ok=w,d.equal=function(t,e,i){t!=e&&f(t,e,i,"==",d.equal)},d.notEqual=function(t,e,i){t==e&&f(t,e,i,"!=",d.notEqual)},d.deepEqual=function(t,e,i){g(t,e,!1)||f(t,e,i,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(t,e,i){g(t,e,!0)||f(t,e,i,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(t,e,i){g(t,e,!1)&&f(t,e,i,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function t(e,i,n){g(e,i,!0)&&f(e,i,n,"notDeepStrictEqual",t)},d.strictEqual=function(t,e,i){t!==e&&f(t,e,i,"===",d.strictEqual)},d.notStrictEqual=function(t,e,i){t===e&&f(t,e,i,"!==",d.notStrictEqual)},d.throws=function(t,e,i){_(!0,t,e,i)},d.doesNotThrow=function(t,e,i){_(!1,t,e,i)},d.ifError=function(t){if(t)throw t};var k=Object.keys||function(t){var e=[];for(var i in t)r.call(t,i)&&e.push(i);return e}}).call(this,i(1))},function(t,e,i){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++)i[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return i},o=/%[sdj%]/g;e.format=function(t){if(!w(t)){for(var e=[],i=0;i<arguments.length;i++)e.push(a(arguments[i]));return e.join(" ")}i=1;for(var n=arguments,s=n.length,r=String(t).replace(o,function(t){if("%%"===t)return"%";if(i>=s)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}),l=n[i];i<s;l=n[++i])b(l)||!v(l)?r+=" "+l:r+=" "+a(l);return r},e.deprecate=function(i,n){if(void 0!==t&&!0===t.noDeprecation)return i;if(void 0===t)return function(){return e.deprecate(i,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),o=!0}return i.apply(this,arguments)}};var s,r={};function a(t,i){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(i)?n.showHidden=i:i&&e._extend(n,i),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,t,n.depth)}function l(t,e){var i=a.styles[e];return i?"["+a.colors[i][0]+"m"+t+"["+a.colors[i][1]+"m":t}function u(t,e){return t}function c(t,i,n){if(t.customInspect&&i&&x(i.inspect)&&i.inspect!==e.inspect&&(!i.constructor||i.constructor.prototype!==i)){var o=i.inspect(n,t);return w(o)||(o=c(t,o,n)),o}var s=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(w(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}if(f(e))return t.stylize(""+e,"number");if(m(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,i);if(s)return s;var r=Object.keys(i),a=function(t){var e={};return t.forEach(function(t,i){e[t]=!0}),e}(r);if(t.showHidden&&(r=Object.getOwnPropertyNames(i)),k(i)&&(r.indexOf("message")>=0||r.indexOf("description")>=0))return d(i);if(0===r.length){if(x(i)){var l=i.name?": "+i.name:"";return t.stylize("[Function"+l+"]","special")}if(y(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(_(i))return t.stylize(Date.prototype.toString.call(i),"date");if(k(i))return d(i)}var u,v="",B=!1,E=["{","}"];(h(i)&&(B=!0,E=["[","]"]),x(i))&&(v=" [Function"+(i.name?": "+i.name:"")+"]");return y(i)&&(v=" "+RegExp.prototype.toString.call(i)),_(i)&&(v=" "+Date.prototype.toUTCString.call(i)),k(i)&&(v=" "+d(i)),0!==r.length||B&&0!=i.length?n<0?y(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special"):(t.seen.push(i),u=B?function(t,e,i,n,o){for(var s=[],r=0,a=e.length;r<a;++r)C(e,String(r))?s.push(p(t,e,i,n,String(r),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(p(t,e,i,n,o,!0))}),s}(t,i,n,a,r):r.map(function(e){return p(t,i,n,a,e,B)}),t.seen.pop(),function(t,e,i){if(t.reduce(function(t,e){return 0,e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1];return i[0]+e+" "+t.join(", ")+" "+i[1]}(u,v,E)):E[0]+v+E[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,i,n,o,s){var r,a,l;if((l=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),C(n,o)||(r="["+o+"]"),a||(t.seen.indexOf(l.value)<0?(a=b(i)?c(t,l.value,null):c(t,l.value,i-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),g(r)){if(s&&o.match(/^\d+$/))return a;(r=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(r=r.substr(1,r.length-2),r=t.stylize(r,"name")):(r=r.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),r=t.stylize(r,"string"))}return r+": "+a}function h(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function f(t){return"number"==typeof t}function w(t){return"string"==typeof t}function g(t){return void 0===t}function y(t){return v(t)&&"[object RegExp]"===B(t)}function v(t){return"object"==typeof t&&null!==t}function _(t){return v(t)&&"[object Date]"===B(t)}function k(t){return v(t)&&("[object Error]"===B(t)||t instanceof Error)}function x(t){return"function"==typeof t}function B(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(i){if(g(s)&&(s=t.env.NODE_DEBUG||""),i=i.toUpperCase(),!r[i])if(new RegExp("\\b"+i+"\\b","i").test(s)){var n=t.pid;r[i]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",i,n,t)}}else r[i]=function(){};return r[i]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=h,e.isBoolean=m,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=f,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=g,e.isRegExp=y,e.isObject=v,e.isDate=_,e.isError=k,e.isFunction=x,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=i(9);var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,i;console.log("%s - %s",(t=new Date,i=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),z[t.getMonth()],i].join(" ")),e.format.apply(e,arguments))},e.inherits=i(10),e._extend=function(t,e){if(!e||!v(e))return t;for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t};var j="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function S(t,e){if(!t){var i=new Error("Promise was rejected with a falsy value");i.reason=t,t=i}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(j&&t[j]){var e;if("function"!=typeof(e=t[j]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,i,n=new Promise(function(t,n){e=t,i=n}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(t,n){t?i(t):e(n)});try{t.apply(this,o)}catch(t){i(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),j&&Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=j,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function i(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var o=i.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var s=this,r=function(){return o.apply(s,arguments)};e.apply(this,i).then(function(e){t.nextTick(r,null,e)},function(e){t.nextTick(S,e,r)})}return Object.setPrototypeOf(i,Object.getPrototypeOf(e)),Object.defineProperties(i,n(e)),i}}).call(this,i(3))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}},function(t,e,i){(function(t,e){!function(t,i){"use strict";if(!t.setImmediate){var n,o,s,r,a,l=1,u={},c=!1,d=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick(function(){m(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,i=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=i,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(t){m(t.data)},n=function(t){s.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,n=function(t){var e=d.createElement("script");e.onreadystatechange=function(){m(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):n=function(t){setTimeout(m,0,t)}:(r="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(r)&&m(+e.data.slice(r.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(r+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var o={callback:t,args:e};return u[l]=o,n(l),l++},p.clearImmediate=h}function h(t){delete u[t]}function m(t){if(c)setTimeout(m,0,t);else{var e=u[t];if(e){c=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(i,n)}}(e)}finally{h(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,i(1),i(3))},function(t,e,i){var n;n=function(){function t(t){this._targetElement=t,this._introItems=[],this._options={nextLabel:"Next &rarr;",prevLabel:"&larr; Back",skipLabel:"Skip",doneLabel:"Done",hidePrev:!1,hideNext:!1,tooltipPosition:"bottom",tooltipClass:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!0,keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.8,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintAnimation:!0,buttonClass:"introjs-button"}}function e(t,e){var r=t.querySelectorAll("*[data-intro]"),l=[];if(this._options.steps)w(this._options.steps,function(t){var e=o(t);if(e.step=l.length+1,"string"==typeof e.element&&(e.element=document.querySelector(e.element)),void 0===e.element||null===e.element){var i=document.querySelector(".introjsFloatingElement");null===i&&((i=document.createElement("div")).className="introjsFloatingElement",document.body.appendChild(i)),e.element=i,e.position="floating"}e.scrollTo=e.scrollTo||this._options.scrollTo,void 0===e.disableInteraction&&(e.disableInteraction=this._options.disableInteraction),null!==e.element&&l.push(e)}.bind(this));else{var u;if(r.length<1)return!1;w(r,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&"none"!==t.style.display){var i=parseInt(t.getAttribute("data-step"),10);u=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,i>0&&(l[i-1]={element:t,intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:u})}}.bind(this));var c=0;w(r,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&null===t.getAttribute("data-step")){for(;void 0!==l[c];)c++;u=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,l[c]={element:t,intro:t.getAttribute("data-intro"),step:c+1,tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:u}}}.bind(this))}for(var d=[],p=0;p<l.length;p++)l[p]&&d.push(l[p]);return(l=d).sort(function(t,e){return t.step-e.step}),this._introItems=l,function(t){var e=document.createElement("div"),i="",n=this;if(e.className="introjs-overlay",t.tagName&&"body"!==t.tagName.toLowerCase()){var o=I(t);o&&(i+="width: "+o.width+"px; height:"+o.height+"px; top:"+o.top+"px;left: "+o.left+"px;",e.style.cssText=i)}else i+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",e.style.cssText=i;return t.appendChild(e),e.onclick=function(){!0===n._options.exitOnOverlayClick&&a.call(n,t)},window.setTimeout(function(){i+="opacity: "+n._options.overlayOpacity.toString()+";",e.style.cssText=i},10),!0}.call(this,t)&&(s.call(this),this._options.keyboardNavigation&&v.on(window,"keydown",n,this,!0),v.on(window,"resize",i,this,!0)),!1}function i(){this.refresh.call(this)}function n(t){var e=null===t.code?t.which:t.code;if(null===e&&(e=null===t.charCode?t.keyCode:t.charCode),"Escape"!==e&&27!==e||!0!==this._options.exitOnEsc){if("ArrowLeft"===e||37===e)r.call(this);else if("ArrowRight"===e||39===e)s.call(this);else if("Enter"===e||13===e){var i=t.target||t.srcElement;i&&i.className.match("introjs-prevbutton")?r.call(this):i&&i.className.match("introjs-skipbutton")?(this._introItems.length-1===this._currentStep&&"function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),a.call(this,this._targetElement)):i&&i.getAttribute("data-stepnumber")?i.click():s.call(this),t.preventDefault?t.preventDefault():t.returnValue=!1}}else a.call(this,this._targetElement)}function o(t){if(null===t||"object"!=typeof t||void 0!==t.nodeType)return t;var e={};for(var i in t)void 0!==window.jQuery&&t[i]instanceof window.jQuery?e[i]=t[i]:e[i]=o(t[i]);return e}function s(){this._direction="forward",void 0!==this._currentStepNumber&&w(this._introItems,function(t,e){t.step===this._currentStepNumber&&(this._currentStep=e-1,this._currentStepNumber=void 0)}.bind(this)),void 0===this._currentStep?this._currentStep=0:++this._currentStep;var t=this._introItems[this._currentStep],e=!0;return void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e?(--this._currentStep,!1):this._introItems.length<=this._currentStep?("function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),void a.call(this,this._targetElement)):void m.call(this,t)}function r(){if(this._direction="backward",0===this._currentStep)return!1;--this._currentStep;var t=this._introItems[this._currentStep],e=!0;if(void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e)return++this._currentStep,!1;m.call(this,t)}function a(t,e){var o=!0;if(void 0!==this._introBeforeExitCallback&&(o=this._introBeforeExitCallback.call(this)),e||!1!==o){var s=t.querySelectorAll(".introjs-overlay");s&&s.length&&w(s,function(t){t.style.opacity=0,window.setTimeout(function(){this.parentNode&&this.parentNode.removeChild(this)}.bind(t),500)}.bind(this));var r=t.querySelector(".introjs-helperLayer");r&&r.parentNode.removeChild(r);var a=t.querySelector(".introjs-tooltipReferenceLayer");a&&a.parentNode.removeChild(a);var l=t.querySelector(".introjs-disableInteraction");l&&l.parentNode.removeChild(l);var u=document.querySelector(".introjsFloatingElement");u&&u.parentNode.removeChild(u),f(),w(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),v.off(window,"keydown",n,this,!0),v.off(window,"resize",i,this,!0),void 0!==this._introExitCallback&&this._introExitCallback.call(this),this._currentStep=void 0}}function l(t,e,i,n,o){var s,r,a,l,p,h="";if(o=o||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,i.style.display="inherit",null!=n&&(n.style.top=null,n.style.left=null),this._introItems[this._currentStep])switch(h="string"==typeof(s=this._introItems[this._currentStep]).tooltipClass?s.tooltipClass:this._options.tooltipClass,e.className=("introjs-tooltip "+h).replace(/^\s+|\s+$/g,""),e.setAttribute("role","dialog"),"floating"!==(p=this._introItems[this._currentStep].position)&&(p=function(t,e,i){var n=this._options.positionPrecedence.slice(),o=E(),s=I(e).height+10,r=I(e).width+20,a=t.getBoundingClientRect(),l="floating";a.bottom+s+s>o.height&&d(n,"bottom");a.top-s<0&&d(n,"top");a.right+r>o.width&&d(n,"right");a.left-r<0&&d(n,"left");var u=(c=i||"",p=c.indexOf("-"),-1!==p?c.substr(p):"");var c,p;i&&(i=i.split("-")[0]);n.length&&(l="auto"!==i&&n.indexOf(i)>-1?i:n[0]);-1!==["top","bottom"].indexOf(l)&&(l+=function(t,e,i,n){var o=e/2,s=Math.min(i.width,window.screen.width),r=["-left-aligned","-middle-aligned","-right-aligned"],a="";s-t<e&&d(r,"-left-aligned");(t<o||s-t<o)&&d(r,"-middle-aligned");t<e&&d(r,"-right-aligned");a=r.length?-1!==r.indexOf(n)?n:r[0]:"-middle-aligned";return a}(a.left,r,o,u));return l}.call(this,t,e,p)),a=I(t),r=I(e),l=E(),_(e,"introjs-"+p),p){case"top-right-aligned":i.className="introjs-arrow bottom-right";var m=0;c(a,m,r,e),e.style.bottom=a.height+20+"px";break;case"top-middle-aligned":i.className="introjs-arrow bottom-middle";var b=a.width/2-r.width/2;o&&(b+=5),c(a,b,r,e)&&(e.style.right=null,u(a,b,r,l,e)),e.style.bottom=a.height+20+"px";break;case"top-left-aligned":case"top":i.className="introjs-arrow bottom",u(a,o?0:15,r,l,e),e.style.bottom=a.height+20+"px";break;case"right":e.style.left=a.width+20+"px",a.top+r.height>l.height?(i.className="introjs-arrow left-bottom",e.style.top="-"+(r.height-a.height-20)+"px"):i.className="introjs-arrow left";break;case"left":o||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+r.height>l.height?(e.style.top="-"+(r.height-a.height-20)+"px",i.className="introjs-arrow right-bottom"):i.className="introjs-arrow right",e.style.right=a.width+20+"px";break;case"floating":i.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-"+r.width/2+"px",e.style.marginTop="-"+r.height/2+"px",null!=n&&(n.style.left="-"+(r.width/2+18)+"px",n.style.top="-"+(r.height/2+18)+"px");break;case"bottom-right-aligned":i.className="introjs-arrow top-right",c(a,m=0,r,e),e.style.top=a.height+20+"px";break;case"bottom-middle-aligned":i.className="introjs-arrow top-middle",b=a.width/2-r.width/2,o&&(b+=5),c(a,b,r,e)&&(e.style.right=null,u(a,b,r,l,e)),e.style.top=a.height+20+"px";break;default:i.className="introjs-arrow top",u(a,0,r,l,e),e.style.top=a.height+20+"px"}}function u(t,e,i,n,o){return t.left+e+i.width>n.width?(o.style.left=n.width-i.width-t.left+"px",!1):(o.style.left=e+"px",!0)}function c(t,e,i,n){return t.left+t.width-e-i.width<0?(n.style.left=-t.left+"px",!1):(n.style.right=e+"px",!0)}function d(t,e){t.indexOf(e)>-1&&t.splice(t.indexOf(e),1)}function p(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],i=I(e.element),n=this._options.helperElementPadding;B(e.element)?_(t,"introjs-fixedTooltip"):k(t,"introjs-fixedTooltip"),"floating"===e.position&&(n=0),t.style.cssText="width: "+(i.width+n)+"px; height:"+(i.height+n)+"px; top:"+(i.top-n/2)+"px;left: "+(i.left-n/2)+"px;"}}function h(t){t.setAttribute("role","button"),t.tabIndex=0}function m(t){void 0!==this._introChangeCallback&&this._introChangeCallback.call(this,t.element);var e,i,n,o,u=this,c=document.querySelector(".introjs-helperLayer"),d=document.querySelector(".introjs-tooltipReferenceLayer"),m="introjs-helperLayer";if("string"==typeof t.highlightClass&&(m+=" "+t.highlightClass),"string"==typeof this._options.highlightClass&&(m+=" "+this._options.highlightClass),null!==c){var g=d.querySelector(".introjs-helperNumberLayer"),y=d.querySelector(".introjs-tooltiptext"),v=d.querySelector(".introjs-arrow"),B=d.querySelector(".introjs-tooltip");if(n=d.querySelector(".introjs-skipbutton"),i=d.querySelector(".introjs-prevbutton"),e=d.querySelector(".introjs-nextbutton"),c.className=m,B.style.opacity=0,B.style.display="none",null!==g){var E=this._introItems[t.step-2>=0?t.step-2:0];(null!==E&&"forward"===this._direction&&"floating"===E.position||"backward"===this._direction&&"floating"===t.position)&&(g.style.opacity=0)}(o=M(t.element))!==document.body&&H(o,t.element),p.call(u,c),p.call(u,d),w(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),f(),u._lastShowElementTimer&&window.clearTimeout(u._lastShowElementTimer),u._lastShowElementTimer=window.setTimeout(function(){null!==g&&(g.innerHTML=t.step),y.innerHTML=t.intro,B.style.display="block",l.call(u,t.element,B,v,g),u._options.showBullets&&(d.querySelector(".introjs-bullets li > a.active").className="",d.querySelector('.introjs-bullets li > a[data-stepnumber="'+t.step+'"]').className="active"),d.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:"+q.call(u)+"%;",d.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",q.call(u)),B.style.opacity=1,g&&(g.style.opacity=1),null!=n&&/introjs-donebutton/gi.test(n.className)?n.focus():null!=e&&e.focus(),b.call(u,t.scrollTo,t,y)},350)}else{var z=document.createElement("div"),C=document.createElement("div"),j=document.createElement("div"),S=document.createElement("div"),O=document.createElement("div"),L=document.createElement("div"),T=document.createElement("div"),N=document.createElement("div");z.className=m,C.className="introjs-tooltipReferenceLayer",(o=M(t.element))!==document.body&&H(o,t.element),p.call(u,z),p.call(u,C),this._targetElement.appendChild(z),this._targetElement.appendChild(C),j.className="introjs-arrow",O.className="introjs-tooltiptext",O.innerHTML=t.intro,L.className="introjs-bullets",!1===this._options.showBullets&&(L.style.display="none");var A=document.createElement("ul");A.setAttribute("role","tablist");var I=function(){u.goToStep(this.getAttribute("data-stepnumber"))};w(this._introItems,function(e,i){var n=document.createElement("li"),o=document.createElement("a");n.setAttribute("role","presentation"),o.setAttribute("role","tab"),o.onclick=I,i===t.step-1&&(o.className="active"),h(o),o.innerHTML="&nbsp;",o.setAttribute("data-stepnumber",e.step),n.appendChild(o),A.appendChild(n)}),L.appendChild(A),T.className="introjs-progress",!1===this._options.showProgress&&(T.style.display="none");var P=document.createElement("div");P.className="introjs-progressbar",P.setAttribute("role","progress"),P.setAttribute("aria-valuemin",0),P.setAttribute("aria-valuemax",100),P.setAttribute("aria-valuenow",q.call(this)),P.style.cssText="width:"+q.call(this)+"%;",T.appendChild(P),N.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(N.style.display="none"),S.className="introjs-tooltip",S.appendChild(O),S.appendChild(L),S.appendChild(T);var D=document.createElement("span");!0===this._options.showStepNumbers&&(D.className="introjs-helperNumberLayer",D.innerHTML=t.step,C.appendChild(D)),S.appendChild(j),C.appendChild(S),(e=document.createElement("a")).onclick=function(){u._introItems.length-1!==u._currentStep&&s.call(u)},h(e),e.innerHTML=this._options.nextLabel,(i=document.createElement("a")).onclick=function(){0!==u._currentStep&&r.call(u)},h(i),i.innerHTML=this._options.prevLabel,(n=document.createElement("a")).className=this._options.buttonClass+" introjs-skipbutton ",h(n),n.innerHTML=this._options.skipLabel,n.onclick=function(){u._introItems.length-1===u._currentStep&&"function"==typeof u._introCompleteCallback&&u._introCompleteCallback.call(u),u._introItems.length-1!==u._currentStep&&"function"==typeof u._introExitCallback&&u._introExitCallback.call(u),"function"==typeof u._introSkipCallback&&u._introSkipCallback.call(u),a.call(u,u._targetElement)},N.appendChild(n),this._introItems.length>1&&(N.appendChild(i),N.appendChild(e)),S.appendChild(N),l.call(u,t.element,S,j,D),b.call(this,t.scrollTo,t,S)}var F=u._targetElement.querySelector(".introjs-disableInteraction");F&&F.parentNode.removeChild(F),t.disableInteraction&&function(){var t=document.querySelector(".introjs-disableInteraction");null===t&&((t=document.createElement("div")).className="introjs-disableInteraction",this._targetElement.appendChild(t)),p.call(this,t)}.call(u),0===this._currentStep&&this._introItems.length>1?(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),!0===this._options.hidePrev?(null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-hidden"),null!=e&&_(e,"introjs-fullbutton")):null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-disabled"),null!=n&&(n.innerHTML=this._options.skipLabel)):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=n&&(n.innerHTML=this._options.doneLabel,_(n,"introjs-donebutton")),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),!0===this._options.hideNext?(null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-hidden"),null!=i&&_(i,"introjs-fullbutton")):null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-disabled")):(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),null!=n&&(n.innerHTML=this._options.skipLabel)),i.setAttribute("role","button"),e.setAttribute("role","button"),n.setAttribute("role","button"),null!=e&&e.focus(),function(t){var e;if(t.element instanceof SVGElement)for(e=t.element.parentNode;null!==t.element.parentNode&&e.tagName&&"body"!==e.tagName.toLowerCase();)"svg"===e.tagName.toLowerCase()&&_(e,"introjs-showElement introjs-relativePosition"),e=e.parentNode;_(t.element,"introjs-showElement");var i=x(t.element,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&_(t.element,"introjs-relativePosition");e=t.element.parentNode;for(;null!==e&&e.tagName&&"body"!==e.tagName.toLowerCase();){var n=x(e,"z-index"),o=parseFloat(x(e,"opacity")),s=x(e,"transform")||x(e,"-webkit-transform")||x(e,"-moz-transform")||x(e,"-ms-transform")||x(e,"-o-transform");(/[0-9]+/.test(n)||o<1||"none"!==s&&void 0!==s)&&_(e,"introjs-fixParent"),e=e.parentNode}}(t),void 0!==this._introAfterChangeCallback&&this._introAfterChangeCallback.call(this,t.element)}function b(t,e,i){var n;if("off"!==t&&(this._options.scrollToElement&&(n="tooltip"===t?i.getBoundingClientRect():e.element.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(e.element)))){var o=E().height;n.bottom-(n.bottom-n.top)<0||e.element.clientHeight>o?window.scrollBy(0,n.top-(o/2-n.height/2)-this._options.scrollPadding):window.scrollBy(0,n.top-(o/2-n.height/2)+this._options.scrollPadding)}}function f(){w(document.querySelectorAll(".introjs-showElement"),function(t){k(t,/introjs-[a-zA-Z]+/g)})}function w(t,e,i){if(t)for(var n=0,o=t.length;n<o;n++)e(t[n],n);"function"==typeof i&&i()}var g,y=(g={},function(t,e){return g[e=e||"introjs-stamp"]=g[e]||0,void 0===t[e]&&(t[e]=g[e]++),t[e]}),v=function(){return new function(){var t="introjs_event";this._id=function(t,e,i,n){return e+y(i)+(n?"_"+y(n):"")},this.on=function(e,i,n,o,s){var r=this._id.apply(this,arguments),a=function(t){return n.call(o||e,t||window.event)};"addEventListener"in e?e.addEventListener(i,a,s):"attachEvent"in e&&e.attachEvent("on"+i,a),e[t]=e[t]||{},e[t][r]=a},this.off=function(e,i,n,o,s){var r=this._id.apply(this,arguments),a=e[t]&&e[t][r];a&&("removeEventListener"in e?e.removeEventListener(i,a,s):"detachEvent"in e&&e.detachEvent("on"+i,a),e[t][r]=null)}}}();function _(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i+" "+e)}else{if(void 0!==t.classList)w(e.split(" "),function(e){t.classList.add(e)});else t.className.match(e)||(t.className+=" "+e)}}function k(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var i="";return t.currentStyle?i=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),i&&i.toLowerCase?i.toLowerCase():i}function B(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===x(t,"position")||B(e))}function E(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function z(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function C(t){if(this._introItems=[],this._options.hints)w(this._options.hints,function(t){var e=o(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||this._options.hintPosition,e.hintAnimation=e.hintAnimation||this._options.hintAnimation,null!==e.element&&this._introItems.push(e)}.bind(this));else{var e=t.querySelectorAll("*[data-hint]");if(!e||!e.length)return!1;w(e,function(t){var e=t.getAttribute("data-hintanimation");e=e?"true"===e:this._options.hintAnimation,this._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hintposition")||this._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltipclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition})}.bind(this))}(function(){var t=this,e=document.querySelector(".introjs-hints");null===e&&((e=document.createElement("div")).className="introjs-hints");w(this._introItems,function(i,n){if(!document.querySelector('.introjs-hint[data-step="'+n+'"]')){var o=document.createElement("a");h(o),o.onclick=function(e){return function(i){var n=i||window.event;n.stopPropagation&&n.stopPropagation(),null!==n.cancelBubble&&(n.cancelBubble=!0),A.call(t,e)}}(n),o.className="introjs-hint",i.hintAnimation||_(o,"introjs-hint-no-anim"),B(i.element)&&_(o,"introjs-fixedhint");var s=document.createElement("div");s.className="introjs-hint-dot";var r=document.createElement("div");r.className="introjs-hint-pulse",o.appendChild(s),o.appendChild(r),o.setAttribute("data-step",n),i.targetElement=i.element,i.element=o,N.call(this,i.hintPosition,o,i.targetElement),e.appendChild(o)}}.bind(this)),document.body.appendChild(e),void 0!==this._hintsAddedCallback&&this._hintsAddedCallback.call(this)}).call(this),v.on(document,"click",z,this,!1),v.on(window,"resize",j,this,!0)}function j(){w(this._introItems,function(t){void 0!==t.targetElement&&N.call(this,t.hintPosition,t.element,t.targetElement)}.bind(this))}function S(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function O(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];z.call(this),e&&_(e,"introjs-hidehint"),void 0!==this._hintCloseCallback&&this._hintCloseCallback.call(this,t)}function L(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];e&&k(e,/introjs-hidehint/g)}function T(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];e&&e.parentNode.removeChild(e)}function N(t,e,i){var n=I.call(this,i);switch(t){default:case"top-left":e.style.left=n.left+"px",e.style.top=n.top+"px";break;case"top-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+"px";break;case"bottom-left":e.style.left=n.left+"px",e.style.top=n.top+n.height-20+"px";break;case"bottom-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+n.height-20+"px";break;case"middle-left":e.style.left=n.left+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"bottom-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+n.height-20+"px";break;case"top-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+"px"}}function A(t){var e=document.querySelector('.introjs-hint[data-step="'+t+'"]'),i=this._introItems[t];void 0!==this._hintClickCallback&&this._hintClickCallback.call(this,e,i,t);var n=z.call(this);if(parseInt(n,10)!==t){var o=document.createElement("div"),s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("div");o.className="introjs-tooltip",o.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext";var u=document.createElement("p");u.innerHTML=i.hint;var c=document.createElement("a");c.className=this._options.buttonClass,c.setAttribute("role","button"),c.innerHTML=this._options.hintButtonLabel,c.onclick=O.bind(this,t),s.appendChild(u),s.appendChild(c),r.className="introjs-arrow",o.appendChild(r),o.appendChild(s),this._currentStep=e.getAttribute("data-step"),a.className="introjs-tooltipReferenceLayer introjs-hintReference",a.setAttribute("data-step",e.getAttribute("data-step")),p.call(this,a),a.appendChild(o),document.body.appendChild(a),l.call(this,e,o,r,null,!0)}}function I(t){var e=document.body,i=document.documentElement,n=window.pageYOffset||i.scrollTop||e.scrollTop,o=window.pageXOffset||i.scrollLeft||e.scrollLeft,s=t.getBoundingClientRect();return{top:s.top+n,width:s.width,height:s.height,left:s.left+o}}function M(t){var e=window.getComputedStyle(t),i="absolute"===e.position,n=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var o=t;o=o.parentElement;)if(e=window.getComputedStyle(o),(!i||"static"!==e.position)&&n.test(e.overflow+e.overflowY+e.overflowX))return o;return document.body}function H(t,e){t.scrollTop=e.offsetTop-t.offsetTop}function q(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}var P=function(e){var i;if("object"==typeof e)i=new t(e);else if("string"==typeof e){var n=document.querySelector(e);if(!n)throw new Error("There is no element with given selector.");i=new t(n)}else i=new t(document.body);return P.instances[y(i,"introjs-instance")]=i,i};return P.version="2.9.3",P.instances={},P.fn=t.prototype={clone:function(){return new t(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var i,n={};for(i in t)n[i]=t[i];for(i in e)n[i]=e[i];return n}(this._options,t),this},start:function(t){return e.call(this,this._targetElement,t),this},goToStep:function(t){return function(t){this._currentStep=t-2,void 0!==this._introItems&&s.call(this)}.call(this,t),this},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(t){return function(t){this._currentStepNumber=t,void 0!==this._introItems&&s.call(this)}.call(this,t),this},nextStep:function(){return s.call(this),this},previousStep:function(){return r.call(this),this},exit:function(t){return a.call(this,this._targetElement,t),this},refresh:function(){return function(){if(p.call(this,document.querySelector(".introjs-helperLayer")),p.call(this,document.querySelector(".introjs-tooltipReferenceLayer")),p.call(this,document.querySelector(".introjs-disableInteraction")),void 0!==this._currentStep&&null!==this._currentStep){var t=document.querySelector(".introjs-helperNumberLayer"),e=document.querySelector(".introjs-arrow"),i=document.querySelector(".introjs-tooltip");l.call(this,this._introItems[this._currentStep].element,i,e,t)}return j.call(this),this}.call(this),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){return C.call(this,this._targetElement),this},hideHint:function(t){return O.call(this,t),this},hideHints:function(){return function(){w(S(".introjs-hint"),function(t){O.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},showHint:function(t){return L.call(this,t),this},showHints:function(){return function(){var t=S(".introjs-hint");t&&t.length?w(t,function(t){L.call(this,t.getAttribute("data-step"))}.bind(this)):C.call(this,this._targetElement)}.call(this),this},removeHints:function(){return function(){w(S(".introjs-hint"),function(t){T.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},removeHint:function(t){return T.call(this,t),this},showHintDialog:function(t){return A.call(this,t),this}},P},t.exports=n(),t.exports.introJs=function(){return console.warn('Deprecated: please use require("intro.js") directly, instead of the introJs method of the function'),n().apply(this,arguments)}},function(t,e){
 
 
 
 
62
  /*!
63
  Chosen, a Select Box Enhancer for jQuery and Prototype
64
  by Patrick Filler for Harvest, http://getharvest.com
@@ -70,9 +58,9 @@ Copyright (c) 2011-2018 Harvest http://getharvest.com
70
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
71
  This file is generated by `grunt build`, do not edit it by hand.
72
  */
73
- (function(){var t,e,i,n,o=function(t,e){return function(){return t.apply(e,arguments)}},s={}.hasOwnProperty;(n=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,i,n,o,s,r;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),r=[],i=0,n=(s=t.childNodes).length;i<n;i++)o=s[i],r.push(this.add_option(o,e,t.disabled));return r},t.prototype.add_option=function(t,e,i){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===i?i:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,i,o,s,r;for(s=new n,i=0,o=(r=t.childNodes).length;i<o;i++)e=r[i],s.add_node(e);return s.parsed},e=function(){function t(e,i){this.form_field=e,this.options=null!=i?i:{},this.label_click_handler=o(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=function(t){return function(e){return t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout((e=this,function(){return e.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var e},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((e=this,function(){return e.blur_test()}),100);var e},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,i,n,o,s,r,a;for(e="",a=0,o=0,s=(r=this.results_data).length;o<s&&(n="",""!==(n=(i=r[o]).group?this.result_add_group(i):this.result_add_option(i))&&(a++,e+=n),(null!=t?t.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(i))),!(a>=this.max_shown_results));o++);return e},t.prototype.result_add_option=function(t){var e,i;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),t.style&&(i.style.cssText=t.style),i.setAttribute("data-option-array-index",t.array_index),i.innerHTML=t.highlighted_html||t.html,t.title&&(i.title=t.title),this.outerHTML(i)):""},t.prototype.result_add_group=function(t){var e,i;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),i.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(i.title=t.title),this.outerHTML(i)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,i,n,o;for(o=[],t=0,e=(i=this.results_data).length;t<e;t++)(n=i[t]).selected?o.push(n.selected=!1):o.push(void 0);return o},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var e,i,n,o,s,r,a,l,u,c,d,p,h,m,b;for(this.no_results_clear(),c=0,e=(a=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),u=this.get_search_regex(e),n=0,o=(l=this.results_data).length;n<o;n++)(s=l[n]).search_match=!1,d=null,p=null,s.highlighted_html="",this.include_option_in_results(s)&&(s.group&&(s.group_match=!1,s.active_options=0),null!=s.group_array_index&&this.results_data[s.group_array_index]&&(0===(d=this.results_data[s.group_array_index]).active_options&&d.search_match&&(c+=1),d.active_options+=1),b=s.group?s.label:s.text,s.group&&!this.group_search||(p=this.search_string_match(b,u),s.search_match=null!=p,s.search_match&&!s.group&&(c+=1),s.search_match?(a.length&&(h=p.index,r=b.slice(0,h),i=b.slice(h,h+a.length),m=b.slice(h+a.length),s.highlighted_html=this.escape_html(r)+"<em>"+this.escape_html(i)+"</em>"+this.escape_html(m)),null!=d&&(d.group_match=!0)):null!=s.group_array_index&&this.results_data[s.group_array_index].search_match&&(s.search_match=!0)));return this.result_clear_highlight(),c<1&&a.length?(this.update_results_content(""),this.no_results(a)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,i;return i=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(i="^"+i),e=this.case_sensitive_search?"":"i",new RegExp(i,e)},t.prototype.search_string_match=function(t,e){var i;return i=e.exec(t),!this.search_contains&&(null!=i?i[1]:void 0)&&(i.index+=1),i},t.prototype.choices_count=function(){var t,e,i;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(i=this.form_field.options).length;t<e;t++)i[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keydown_checker=function(t){var e,i;switch(i=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==i&&this.pending_backstroke&&this.clear_backstroke(),i){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var e,i;switch(i=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),i){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){var e;if(!this.is_disabled)return setTimeout((e=this,function(){return e.results_search()}),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(n){return e.browser_is_supported()?this.each(function(e){var o,s;s=(o=t(this)).data("chosen"),"destroy"!==n?s instanceof i||o.data("chosen",new i(this,n)):s instanceof i&&s.destroy()}):this}}),i=function(i){function o(){return o.__super__.constructor.apply(this,arguments)}return function(t,e){for(var i in e)s.call(e,i)&&(t[i]=e[i]);function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype}(o,e),o.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},o.prototype.set_up_html=function(){var e,i;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),i={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",i),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},o.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},o.prototype.register_observers=function(){var t;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},o.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},o.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},o.prototype.container_mousedown=function(e){var i;if(!this.is_disabled)return!e||"mousedown"!==(i=e.type)&&"touchstart"!==i||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},o.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},o.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},o.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},o.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},o.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},o.prototype.test_active_click=function(e){var i;return(i=t(e.target).closest(".chosen-container")).length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},o.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=n.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},o.prototype.result_do_highlight=function(t){var e,i,n,o,s;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),o=(n=parseInt(this.search_results.css("maxHeight"),10))+(s=this.search_results.scrollTop()),(e=(i=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(e-n>0?e-n:0);if(i<s)return this.search_results.scrollTop(i)}},o.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},o.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},o.prototype.update_results_content=function(t){return this.search_results.html(t)},o.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},o.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},o.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},o.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},o.prototype.search_results_mouseup=function(e){var i;if((i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=i,this.result_select(e),this.search_field.focus()},o.prototype.search_results_mouseover=function(e){var i;if(i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(i)},o.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},o.prototype.choice_build=function(e){var i,n,o;return i=t("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?i.addClass("search-choice-disabled"):((n=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(o=this,function(t){return o.choice_destroy_link_click(t)})),i.append(n)),this.search_container.before(i)},o.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},o.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},o.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},o.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},o.prototype.result_select=function(t){var e,i;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(i=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(this.choice_label(i)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},o.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},o.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},o.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},o.prototype.get_search_field_value=function(){return this.search_field.val()},o.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},o.prototype.escape_html=function(e){return t("<div/>").text(e).html()},o.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},o.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},o.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},o.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},o.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},o.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},o.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},o.prototype.search_field_scale=function(){var e,i,n,o,s,r,a;if(this.is_multiple){for(s={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},i=0,n=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;i<n;i++)s[o=r[i]]=this.search_field.css(o);return(e=t("<div />").css(s)).text(this.get_search_field_value()),t("body").append(e),a=e.width()+25,e.remove(),this.container.is(":visible")&&(a=Math.min(this.container.outerWidth()-10,a)),this.search_field.width(a)}},o.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},o}()}).call(this)},,,function(t,e,i){"use strict";i.r(e);i(18);var n=class{startDebugging(){this.debugging=!0,this.log({data:"Buttonizer is debugging!",style:"font-size: 30px; color: #FF0000;"})}welcomeToTheConsole(){this.debugging=!0,this.log({data:"Welcome to Buttonizer. Please do not continue without any knowledge.",style:"font-size: 30px; color: #FF0000;"}),this.log({data:"You can find errors down here. If there is any error that is related to Buttonizer you can contact us at contact@buttonizer.pro",style:"font-size: 18px; color: #FF0000;"}),this.log({data:"Check https://community.buttonizer.pro",style:"font-size: 18px; color: #FF0000;"}),this.log({data:" ",style:"font-size: 18px; color: #FF0000;"}),this.log({data:" ",style:"font-size: 18px; color: #FF0000;"}),this.log({data:"----- Logs: -----",style:"font-size: 18px; color: #FF0000;"}),this.debugging=!1}log(t){this.debugging&&t.data&&(t.color&&(t.style=""),t.color||t.style?console.log("%c "+t.data,t.style):console.log(t.data))}warning(t){this.debugging&&console.warn(t)}warn(t){this.debugging&&console.warn(t)}error(t){console.error(t)}};var o=class{constructor(t,e){this.data=t,this.modal=e,this.validate()}validate(){void 0===this.data.onClick&&(this.data.onClick=function(){}),void 0===this.data.text&&(this.data.text="Button"),void 0===this.data.confirm&&(this.data.confirm=!1),void 0===this.data.focus&&(this.data.focus=!1)}render(){let t=document.createElement("a");return t.href="javascript:void(0)",t.innerHTML=this.data.text,t.className="button",t.style.marginLeft="5px",this.data.confirm&&(t.className+=" button-primary"),t.addEventListener("click",()=>{this.data.close&&this.modal.closeDialog(),this.data.confirm&&this.modal.confirmDialog(),this.data.cancel&&this.modal.cancelDialog(),this.data.onClick()}),setTimeout(()=>{this.data.focus&&t.focus()},50),t}};var s=class{constructor(t){this.data=t,this.element=HTMLElement,"function"==typeof this.data.onConfirm?this.onConfirm=this.data.onConfirm:this.onConfirm=function(){},"function"==typeof this.data.onCancel?this.onCancel=this.data.onCancel:this.onCancel=function(){},"function"==typeof this.data.onClose?this.onClose=this.data.onClose:this.onClose=function(){},void 0===this.data.class?this.class="":this.class=this.data.class,void 0!==this.data.video&&(this.class+=" has-video"),this.render()}render(){this.element=document.createElement("div"),this.element.classList="fs-modal active"+(""!==this.class?" "+this.class:"");let t=document.createElement("div");t.classList="fs-modal-dialog",t.appendChild(this.modalHeader()),t.appendChild(this.modalBody()),void 0!==this.data.video&&t.appendChild(this.clearBoth()),t.appendChild(this.modalFooter()),this.element.appendChild(t),document.body.appendChild(this.element)}modalHeader(){let t=document.createElement("div");t.classList="fs-modal-header";let e=document.createElement("h4");e.innerHTML=this.data.title,t.appendChild(e);let i=document.createElement("a");return i.className="fs-close",i.href="javascript:void(0)",i.innerHTML='<i class="dashicons dashicons-no" title="'+window.Buttonizer.translate("modal.dismiss")+'"></i>',i.addEventListener("click",()=>{this.closeDialog()}),t.appendChild(i),t}modalBody(){let t=document.createElement("div"),e=document.createElement("div");e.className="fs-modal-body fs-modal-body-text";let i=document.createElement("div");return i.className="fs-modal-panel active","object"==typeof this.data.content?i.appendChild(this.data.content):i.innerHTML=this.data.content,e.appendChild(i),void 0!==this.data.video?(t.appendChild(e),t.appendChild(this.video()),t):e}modalFooter(){let t=document.createElement("div");return t.className="fs-modal-footer",this.data.buttons&&t.appendChild(this.renderButtons()),t}renderButtons(){let t=document.createElement("div");for(var e=0;e<this.data.buttons.length;e++){let i=new o(this.data.buttons[e],this);t.appendChild(i.render())}return t}cancelDialog(){this.onCancel(),this.closeDialog()}confirmDialog(){this.onConfirm(),this.closeDialog()}closeDialog(){this.onClose(),this.element.remove()}video(){let t=document.createElement("div");t.className="fs-modal-body fs-modal-video";let e=document.createElement("div");e.className="fs-modal-panel active";let i=document.createElement("iframe");return i.width="100%",i.style.maxWidth="560px",i.height="315",i.src=`https://www.youtube.com/embed/${this.data.video}?&autoplay=1`,i.frameBorder="0",i.allow="accelerometer",i.setAttribute("autoplay",""),i.setAttribute("encrypted-media",""),i.setAttribute("gyroscope",""),i.setAttribute("picture-in-picture",""),i.setAttribute("allowfullscreen",""),e.appendChild(i),t.appendChild(e),t}clearBoth(){let t=document.createElement("div");return t.style.clear="both",t}};class r{constructor(t){this.table=document.createElement("table"),this.table.width="100%",""!==t&&(this.table.className=t),this.currentRow=document.createElement("tr")}newRow(){return this.table.appendChild(this.currentRow),this.currentRow=document.createElement("tr"),this}addColumn(t,e,i){let n=document.createElement("td");return n.appendChild(t),"undefined"!==e&&(n.className=e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}addColumnText(t,e,i){let n=document.createElement("td");return n.innerText=t,"undefined"!==e&&(n.className=""+e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}addColumnHTML(t,e,i){let n=document.createElement("td");return n.innerHTML=t,"undefined"!==e&&(n.className=e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}build(){return this.table.appendChild(this.currentRow),this.table}}class a{constructor(t){this.windowObject=t,this.onTriggerContainer=null,this.dropdown=document.createElement("select"),this.dropdown.className="window-select"}build(){let t=document.createElement("div");t.appendChild(this.dropdown),this.onChange();let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("page_rules.single_name")+(window.Buttonizer.hasPremium()?"":' <span class="buttonizer-premium premium-right">PRO</span>')+"</h2>","table-align-top",""),e.addColumn(t,"","370"),e.newRow(),e.build()}onChange(){this.dropdown.innerHTML="<option>"+window.Buttonizer.translate("page_rules.input_any_page")+"</option>",this.dropdown.readonly=!0,this.dropdown.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("page_rules.pro_description"),"SQnAhyBWLWg"))}}class l{constructor(t){this.windowObject=t,this.onTriggerContainer=null,this.dropdown=document.createElement("select"),this.dropdown.className="window-select"}build(){let t=document.createElement("div");t.appendChild(this.dropdown),this.onChange();let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("time_schedules.single_name")+(window.Buttonizer.hasPremium()?"":' <span class="buttonizer-premium premium-right">PRO</span>')+"</h2>","table-align-top",""),e.addColumn(t,"","370"),e.newRow(),e.build()}onChange(){this.dropdown.innerHTML="<option>Show on all times</option>",this.dropdown.readonly=!0,this.dropdown.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("time_schedules.pro_description"),"C-B9ITdY6A4"))}}class u{constructor(t){this.windowObject=t}build(){let t=this.buildElements();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("With this setting, you can make your button appear/hide after certain amount of time.","V4lvZ15ULWw")}),t}buildElements(){let t=document.createElement("input");t.type="checkbox",t.className="buttonizer-timeout-checkbox",t.checked=void 0!==this.windowObject.objectOwner.data.advanced_timeout&&!isNaN(this.windowObject.objectOwner.data.advanced_timeout)&&this.windowObject.objectOwner.data.advanced_timeout>0;let e=document.createElement("input");e.type="number",e.value=void 0===this.windowObject.objectOwner.data.advanced_timeout?"":this.windowObject.objectOwner.data.advanced_timeout,e.className="window-select",e.placeholder="miliseconds";let i=document.createElement("div");i.innerHTML=` Show Buttonizer after <b>${e.value/1e3}</b> seconds`,window.Buttonizer.hasPremium()||(t.setAttribute("disabled",""),e.setAttribute("readonly",""),e.value="",e.style.opacity="0.5",i.style.opacity="0.5");let n=new r("table-relative");return n.addColumnHTML("<h2>Timeout</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),n.addColumn(t,"","10"),n.addColumn(e,"","360"),n.newRow(),n.addColumnText(""),n.addColumnText(""),n.addColumn(i),n.build()}}class c{constructor(t){this.windowObject=t,this.checkbox,this.input,this.toggle,this.hide,this.toggleHide,this.select,this.info}build(){let t=this.elements().build();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("With this setting, you can make your button appear/hide after scrolling for a certain amount.","hh5LBF4C1pg")}),t}elements(){this.checkbox=document.createElement("input"),this.checkbox.type="checkbox",this.checkbox.className="buttonizer-scroll-checkbox",this.input=document.createElement("input"),this.input.type="number",this.input.className="window-select",this.input.placeholder="0",this.toggle=document.createElement("input"),this.toggle.type="checkbox",this.toggle.className="buttonizer-switch",this.toggle.style.display="inline-block",this.hide=document.createElement("div"),this.hide.style.display="inline-block",window.Buttonizer.hasPremium()||(this.hide.innerHTML="Starting visibility: <b>Show</b>"),this.toggleHide=document.createElement("div"),this.toggleHide.appendChild(this.toggle),this.toggleHide.appendChild(this.hide),this.select=document.createElement("select");let t=document.createElement("option");t.value="px",t.innerHTML="px";let e=document.createElement("option");e.value="%",e.innerHTML="%",this.select.classList="window-select",this.select.appendChild(e),this.select.appendChild(t),this.info=document.createElement("div"),this.info.innerHTML=` Scroll <b>${this.input.value<=0?"0":this.input.value} ${this.select.value}</b> from top of page to <b>${"true"==this.windowObject.objectOwner.data.advanced_scroll_hide?"hide":"show"}</b> Buttonizer`,window.Buttonizer.hasPremium()||(this.checkbox.setAttribute("disabled",""),this.input.setAttribute("readonly",""),this.toggle.setAttribute("disabled",""),this.select.setAttribute("disabled",""),this.input.value="",this.input.style.opacity="0.5",this.select.style.opacity="0.5",this.info.style.opacity="0.5",this.toggleHide.style.opacity="0.5");let i=new r("table-relative");return i.addColumnHTML("<h2>Scroll</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),i.addColumn(this.checkbox,"","10"),i.addColumn(this.input,"","284"),i.addColumn(this.select,"","70"),i.newRow(),i.addColumnText(""),i.addColumnText(""),i.addColumn(this.toggleHide),i.newRow(),i.addColumnText(""),i.addColumnText(""),i.addColumn(this.info),i}}class d{constructor(t,e){this.window=HTMLElement,this.body=HTMLElement,this.footer=HTMLElement,this.background=document.createElement("div"),this.background.className="background",this.background.addEventListener("click",()=>{this.hide()}),this.title=document.createElement("div"),this.title.innerHTML=e,this.settings={},this.objectOwner=t,this.menuItems=[],this.buttonFilter=document.createElement("div"),this.build()}header(){let t=document.createElement("div");t.className="header";let e=document.createElement("a");e.className="close-btn",e.href="javascript:void(0)";let i=document.createElement("i");return i.className="fa fa-times",e.appendChild(i),e.addEventListener("click",()=>{this.hide()}),t.appendChild(e),t.appendChild(this.title),t}createBody(){let t=document.createElement("div"),e=document.createElement("div");return e.className="window-menu",this.bodyMenu=e,this.body=document.createElement("div"),this.body.className="window-body",t.appendChild(this.bodyMenu),t.appendChild(this.body),t}build(){let t=document.createElement("div");t.className="buttonizer-settings-window",t.style.display="none",t.style.top="500px",t.appendChild(this.header()),t.appendChild(this.createBody()),t.appendChild(this.background),this.window=t,document.body.appendChild(this.window),jQuery(this.window).draggable({handle:".header",containment:"body",start:()=>this.topMeUp()}),this.window.addEventListener("click",()=>this.topMeUp()),this.afterBuild(),this.render()}addItem(t,e){let i=document.createElement("a");i.href="javascript:void(0)",i.innerHTML=t;let n=document.createElement("div");n.className="body-inner animated pulse",this.menuItems.length>=1&&(n.style.display="none"),n.appendChild(e),i.addEventListener("click",()=>{this.openMenuItem(t)}),0===this.menuItems.length&&i.classList.add("selected"),this.menuItems.push({unique:t,menu:i,body:n}),this.bodyMenu.appendChild(i),this.body.appendChild(n)}openMenuItem(t){for(let e=0;e<this.menuItems.length;e++)this.menuItems[e].unique===t?(this.menuItems[e].menu.classList.add("selected"),this.menuItems[e].body.style.display="block"):(this.menuItems[e].menu.classList.remove("selected"),this.menuItems[e].body.style.display="none")}show(){this.window.style.display="block"}hide(){this.window.style.display="none"}toggle(){"block"===this.window.style.display?this.hide():this.show()}topMeUp(){Buttonizer.windowsZindex!==this.window.style.zIndex&&(Buttonizer.windowsZindex++,this.window.style.zIndex=Buttonizer.windowsZindex)}render(){}afterBuild(){}}class p{constructor(t){this.windowObject=t}build(){let t=document.createElement("input");t.className="window-select",t.placeholder=window.Buttonizer.translate("settings.custom_id.placeholder");let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.custom_id.title")+" <span class='buttonizer-premium premium-right'>PRO</span></h2>"),t.addEventListener("mousedown",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.custom_id.pro_description"))),e.addColumn(t,"","370"),e.build()}}class h{constructor(t){this.windowObject=t}build(){let t=document.createElement("input");t.className="window-select",t.placeholder=window.Buttonizer.translate("settings.custom_class.placeholder");let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.custom_class.title")+" <span class='buttonizer-premium premium-right'>PRO</span></h2>","table-align-top",""),t.addEventListener("mousedown",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.custom_class.pro_description"))),e.addColumn(t,"","370"),e.build()}}class m extends d{constructor(t){super(t,window.Buttonizer.translate("utils.advanced_settings")+" - "+t.data.name+(window.Buttonizer.hasPremium()?"":" (premium)"))}render(){this.filter(),this.styling(),this.delay()}filter(){let t=document.createElement("div");this.pageRuleSelect=new a(this),this.timeSchedule=new l(this),t.appendChild(this.timeSchedule.build()),t.appendChild(this.pageRuleSelect.build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.filters"),t)}styling(){let t=document.createElement("div");t.appendChild(new h(this).build()),t.appendChild(new p(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.styling"),t)}delay(){let t=document.createElement("div");t.appendChild(new u(this.objectOwner.groupObject.windowObject).build()),t.appendChild(new c(this.objectOwner.groupObject.windowObject).build()),this.addItem("Timeout & Scroll",t),this.menuItems.forEach(t=>{"Timeout & Scroll"===t.unique&&(t.menu.style.display="none")})}}var b=i(4);
74
  /**!
75
- * tippy.js v4.3.0
76
  * (c) 2017-2019 atomiks
77
  * MIT License
78
- */function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}var w="undefined"!=typeof window&&"undefined"!=typeof document,g=w?navigator.userAgent:"",y=/MSIE |Trident\//.test(g),v=/UCBrowser\//.test(g),_=w&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,k={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,wait:null,zIndex:9999},x=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],B=w?Element.prototype:{},E=B.matches||B.matchesSelector||B.webkitMatchesSelector||B.mozMatchesSelector||B.msMatchesSelector;function z(t){return[].slice.call(t)}function C(t,e){return j(t,function(t){return E.call(t,e)})}function j(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}var S={passive:!0},O=4,L="x-placement",T="x-out-of-boundaries",N="tippy-iOS",A="tippy-active",I=".tippy-popper",M=".tippy-tooltip",H=".tippy-content",q=".tippy-backdrop",P=".tippy-arrow",D=".tippy-roundarrow",F=Object.keys(k);function R(t,e){return{}.hasOwnProperty.call(t,e)}function W(t,e,i){if(Array.isArray(t)){var n=t[e];return null==n?i:n}return t}function U(t,e){var i;return function(){var n=this,o=arguments;clearTimeout(i),i=setTimeout(function(){return t.apply(n,o)},e)}}function G(t,e){return t&&t.modifiers&&t.modifiers[e]}function Q(t,e){return t.indexOf(e)>-1}function $(t){return t instanceof Element}function Y(t){return!(!t||!R(t,"isVirtual"))||$(t)}function V(t,e){return"function"==typeof t?t.apply(null,e):t}function X(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function K(){return document.createElement("div")}function J(t,e){t.forEach(function(t){t&&(t.style.transitionDuration="".concat(e,"ms"))})}function Z(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function tt(t,e){var i=f({},e,{content:V(e.content,[t])},e.ignoreAttributes?{}:function(t){return F.reduce(function(e,i){var n=(t.getAttribute("data-tippy-".concat(i))||"").trim();if(!n)return e;if("content"===i)e[i]=n;else try{e[i]=JSON.parse(n)}catch(t){e[i]=n}return e},{})}(t));return(i.arrow||v)&&(i.animateFill=!1),i}function et(t,e){Object.keys(t).forEach(function(t){if(!R(e,t))throw new Error("[tippy]: `".concat(t,"` is not a valid option"))})}function it(t,e){t.innerHTML=e instanceof Element?e.innerHTML:e}function nt(t,e){if(e.content instanceof Element)it(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function ot(t){return{tooltip:t.querySelector(M),backdrop:t.querySelector(q),content:t.querySelector(H),arrow:t.querySelector(P)||t.querySelector(D)}}function st(t){t.setAttribute("data-inertia","")}function rt(t){var e=K();return"round"===t?(e.className="tippy-roundarrow",it(e,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):e.className="tippy-arrow",e}function at(){var t=K();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t}function lt(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function ut(t,e,i){var n=v&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](n,i)}function ct(t){var e=t.getAttribute(L);return e?e.split("-")[0]:""}function dt(t,e,i){i.split(" ").forEach(function(i){t.classList[e](i+"-theme")})}function pt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.checkHideOnClick,i=t.exclude,n=t.duration;z(document.querySelectorAll(I)).forEach(function(t){var o,s=t._tippy;if(s){var r=!e||!0===s.props.hideOnClick,a=!1;i&&(a=(o=i)._tippy&&!E.call(o,I)?s.reference===i:t===i.popper),r&&!a&&s.hide(n)}})}var ht=!1;function mt(){ht||(ht=!0,_&&document.body.classList.add(N),window.performance&&document.addEventListener("mousemove",ft))}var bt=0;function ft(){var t=performance.now();t-bt<20&&(ht=!1,document.removeEventListener("mousemove",ft),_||document.body.classList.remove(N)),bt=t}function wt(t){if(!(t.target instanceof Element))return pt();var e=C(t.target,I);if(!(e&&e._tippy&&e._tippy.props.interactive)){var i=j(t.target,function(t){return t._tippy&&t._tippy.reference===t});if(i){var n=i._tippy;if(n){var o=Q(n.props.trigger||"","click");if(ht||o)return pt({exclude:i,checkHideOnClick:!0});if(!0!==n.props.hideOnClick||o)return;n.clearDelayTimeouts()}}pt({checkHideOnClick:!0})}}function gt(){var t=document.activeElement;t&&t.blur&&t._tippy&&t.blur()}var yt=1;function vt(t,e){var i,n,o,s,r,a=tt(t,e);if(!a.multiple&&t._tippy)return null;var l,u,c,d,p,h,m=!1,w=!1,g=!1,v=[],_=a.interactiveDebounce>0?U(_t,a.interactiveDebounce):_t,B=yt++,N=function(t,e){var i=K();i.className="tippy-popper",i.id="tippy-".concat(t),i.style.zIndex=""+e.zIndex,e.role&&i.setAttribute("role",e.role);var n=K();n.className="tippy-tooltip",n.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),n.setAttribute("data-size",e.size),n.setAttribute("data-animation",e.animation),n.setAttribute("data-state","hidden"),dt(n,"add",e.theme);var o=K();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&lt(i,n),e.arrow&&n.appendChild(rt(e.arrowType)),e.animateFill&&(n.appendChild(at()),n.setAttribute("data-animatefill","")),e.inertia&&st(n),nt(o,e),n.appendChild(o),i.appendChild(n),i}(B,a),M=ot(N),H={id:B,reference:t,popper:N,popperChildren:M,popperInstance:null,props:a,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:Lt,set:Tt,setContent:function(t){Tt({content:t})},show:Nt,hide:At,enable:function(){H.state.isEnabled=!0},disable:function(){H.state.isEnabled=!1},destroy:function(e){if(H.state.isDestroyed)return;H.state.isMounted&&At(0);bt(),delete t._tippy,delete D()._tippy;var i=H.props.target;i&&e&&$(t)&&z(t.querySelectorAll(i)).forEach(function(t){t._tippy&&t._tippy.destroy()});H.popperInstance&&H.popperInstance.destroy();H.state.isDestroyed=!0}};return t._tippy=H,N._tippy=H,D()._tippy=H,mt(),a.lazy||jt(),a.showOnInit&&St(),a.a11y&&!a.target&&((h=t)instanceof Element&&(!E.call(h,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")||h.hasAttribute("disabled")))&&D().setAttribute("tabindex","0"),N.addEventListener("mouseenter",function(t){H.props.interactive&&H.state.isVisible&&"mouseenter"===i&&St(t,!0)}),N.addEventListener("mouseleave",function(){H.props.interactive&&"mouseenter"===i&&document.addEventListener("mousemove",_)}),H;function q(){document.removeEventListener("mousemove",wt)}function P(){document.body.removeEventListener("mouseleave",Ot),document.removeEventListener("mousemove",_)}function D(){return H.props.triggerTarget||t}function F(){return[H.popperChildren.tooltip,H.popperChildren.backdrop,H.popperChildren.content]}function Y(){return H.props.followCursor&&!ht&&"focus"!==i}function it(t,e){var i=H.popperChildren.tooltip;function n(t){t.target===i&&(ut(i,"remove",n),e())}if(0===t)return e();ut(i,"remove",d),ut(i,"add",n),d=n}function pt(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];D().addEventListener(t,e,i),v.push({eventType:t,handler:e,options:i})}function mt(){H.props.touchHold&&!H.props.target&&(pt("touchstart",gt,S),pt("touchend",kt,S)),H.props.trigger.trim().split(" ").forEach(function(t){if("manual"!==t)if(H.props.target)switch(t){case"mouseenter":pt("mouseover",Bt),pt("mouseout",Et);break;case"focus":pt("focusin",Bt),pt("focusout",Et);break;case"click":pt(t,Bt)}else switch(pt(t,gt),t){case"mouseenter":pt("mouseleave",kt);break;case"focus":pt(y?"focusout":"blur",xt)}})}function bt(){v.forEach(function(t){var e=t.eventType,i=t.handler,n=t.options;D().removeEventListener(e,i,n)}),v=[]}function ft(t){return H.props.arrow?p[t]+("round"===H.props.arrowType?18:16):p[t]}function wt(e){var i=n=e,o=i.clientX,s=i.clientY;if(p){var r=t.getBoundingClientRect(),a=H.props.followCursor,l="horizontal"===a,u="vertical"===a,c=ct(N),d=Q(["top","bottom"],c),h=Q(["left","right"],c),m=f({},p);d&&(m.left=ft("left"),m.right=ft("right")),h&&(m.top=ft("top"),m.bottom=ft("bottom"));var b=d?Math.max(m.left,o):o,w=h?Math.max(m.top,s):s;d&&b>m.right&&(b=Math.min(o,window.innerWidth-m.right)),h&&w>m.bottom&&(w=Math.min(s,window.innerHeight-m.bottom)),!j(e.target,function(e){return e===t})&&H.props.interactive||(H.popperInstance.reference=f({},H.popperInstance.reference,{getBoundingClientRect:function(){return{width:0,height:0,top:l?r.top:w,bottom:l?r.bottom:w,left:u?r.left:b,right:u?r.right:b}},clientWidth:0,clientHeight:0}),H.popperInstance.scheduleUpdate()),"initial"===a&&H.state.isVisible&&q()}}function gt(t){H.state.isEnabled&&!zt(t)&&(H.state.isVisible||(i=t.type,t instanceof MouseEvent&&(n=t)),"click"===t.type&&!1!==H.props.hideOnClick&&H.state.isVisible?Ot():St(t))}function _t(e){var i=j(e.target,function(t){return t._tippy});C(e.target,I)===N||i===t||function(t,e,i,n){if(!t)return!0;var o=i.clientX,s=i.clientY,r=n.interactiveBorder,a=n.distance,l=e.top-s>("top"===t?r+a:r),u=s-e.bottom>("bottom"===t?r+a:r),c=e.left-o>("left"===t?r+a:r),d=o-e.right>("right"===t?r+a:r);return l||u||c||d}(ct(N),N.getBoundingClientRect(),e,H.props)&&(P(),Ot())}function kt(t){if(!zt(t))return H.props.interactive?(document.body.addEventListener("mouseleave",Ot),void document.addEventListener("mousemove",_)):void Ot()}function xt(t){t.target===D()&&(H.props.interactive&&t.relatedTarget&&N.contains(t.relatedTarget)||Ot())}function Bt(t){C(t.target,H.props.target)&&St(t)}function Et(t){C(t.target,H.props.target)&&Ot()}function zt(t){var e="ontouchstart"in window,i=Q(t.type,"touch"),n=H.props.touchHold;return e&&ht&&n&&!i||ht&&!n&&i}function Ct(){!g&&c&&(g=!0,function(t){t.offsetHeight}(N),c())}function jt(){var e=H.props.popperOptions,i=H.popperChildren,n=i.tooltip,o=i.arrow,s=G(e,"preventOverflow");function r(t){H.props.flip&&!H.props.flipOnUpdate&&(t.flipped&&(H.popperInstance.options.placement=t.placement),X(H.popperInstance.modifiers,!1)),n.setAttribute(L,t.placement),!1!==t.attributes[T]?n.setAttribute(T,""):n.removeAttribute(T),u&&u!==t.placement&&w&&(n.style.transition="none",requestAnimationFrame(function(){n.style.transition=""})),u=t.placement,w=H.state.isVisible;var e=ct(N),i=n.style;i.top=i.bottom=i.left=i.right="",i[e]=-(H.props.distance-10)+"px";var o=s&&void 0!==s.padding?s.padding:O,r="number"==typeof o,a=f({top:r?o:o.top,bottom:r?o:o.bottom,left:r?o:o.left,right:r?o:o.right},!r&&o);a[e]=r?o+H.props.distance:(o[e]||0)+H.props.distance,H.popperInstance.modifiers.filter(function(t){return"preventOverflow"===t.name})[0].padding=a,p=a}var a=f({eventsEnabled:!1,placement:H.props.placement},e,{modifiers:f({},e?e.modifiers:{},{preventOverflow:f({boundariesElement:H.props.boundary,padding:O},s),arrow:f({element:o,enabled:!!o},G(e,"arrow")),flip:f({enabled:H.props.flip,padding:H.props.distance+O,behavior:H.props.flipBehavior},G(e,"flip")),offset:f({offset:H.props.offset},G(e,"offset"))}),onCreate:function(t){Ct(),r(t),e&&e.onCreate&&e.onCreate(t)},onUpdate:function(t){Ct(),r(t),e&&e.onUpdate&&e.onUpdate(t)}});H.popperInstance=new b.a(t,N,a)}function St(t,i){if(Lt(),!H.state.isVisible){if(H.props.target)return function(t){if(t){var i=C(t.target,H.props.target);i&&!i._tippy&&vt(i,f({},H.props,{content:V(e.content,[i]),appendTo:e.appendTo,target:"",showOnInit:!0}))}}(t);if(m=!0,t&&!i&&H.props.onTrigger(H,t),H.props.wait)return H.props.wait(H,t);Y()&&!H.state.isMounted&&(H.popperInstance||jt(),document.addEventListener("mousemove",wt));var n=W(H.props.delay,0,k.delay);n?o=setTimeout(function(){Nt()},n):Nt()}}function Ot(){if(Lt(),!H.state.isVisible)return q();m=!1;var t=W(H.props.delay,1,k.delay);t?s=setTimeout(function(){H.state.isVisible&&At()},t):r=requestAnimationFrame(function(){At()})}function Lt(){clearTimeout(o),clearTimeout(s),cancelAnimationFrame(r)}function Tt(e){et(e=e||{},k),bt(),H.props.triggerTarget&&delete H.props.triggerTarget._tippy;var i=H.props,o=tt(t,f({},H.props,e,{ignoreAttributes:!0}));o.ignoreAttributes=R(e,"ignoreAttributes")?e.ignoreAttributes||!1:i.ignoreAttributes,H.props=o,D()._tippy=H,mt(),P(),_=U(_t,e.interactiveDebounce||0),function(t,e,i){var n=ot(t),o=n.tooltip,s=n.content,r=n.backdrop,a=n.arrow;t.style.zIndex=""+i.zIndex,o.setAttribute("data-size",i.size),o.setAttribute("data-animation",i.animation),o.style.maxWidth=i.maxWidth+("number"==typeof i.maxWidth?"px":""),i.role?t.setAttribute("role",i.role):t.removeAttribute("role"),e.content!==i.content&&nt(s,i),!e.animateFill&&i.animateFill?(o.appendChild(at()),o.setAttribute("data-animatefill","")):e.animateFill&&!i.animateFill&&(o.removeChild(r),o.removeAttribute("data-animatefill")),!e.arrow&&i.arrow?o.appendChild(rt(i.arrowType)):e.arrow&&!i.arrow&&o.removeChild(a),e.arrow&&i.arrow&&e.arrowType!==i.arrowType&&o.replaceChild(rt(i.arrowType),a),!e.interactive&&i.interactive?lt(t,o):e.interactive&&!i.interactive&&function(t,e){t.removeAttribute("tabindex"),e.removeAttribute("data-interactive")}(t,o),!e.inertia&&i.inertia?st(o):e.inertia&&!i.inertia&&function(t){t.removeAttribute("data-inertia")}(o),e.theme!==i.theme&&(dt(o,"remove",e.theme),dt(o,"add",i.theme))}(N,i,o),H.popperChildren=ot(N),H.popperInstance&&(H.popperInstance.update(),x.some(function(t){return R(e,t)&&e[t]!==i[t]})&&(H.popperInstance.destroy(),jt(),H.state.isVisible&&H.popperInstance.enableEventListeners(),H.props.followCursor&&n&&wt(n)))}function Nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(H.props.duration,0,k.duration[1]);if(!H.state.isDestroyed&&H.state.isEnabled&&(!ht||H.props.touch)&&!D().hasAttribute("disabled")&&!1!==H.props.onShow(H)){N.style.visibility="visible",H.state.isVisible=!0,H.props.interactive&&D().classList.add(A);var i=F();J(i.concat(N),0),c=function(){H.state.isVisible&&(Y()||H.popperInstance.update(),H.popperChildren.backdrop&&(H.popperChildren.content.style.transitionDelay=Math.round(e/12)+"ms"),H.props.sticky&&(J([N],y?0:H.props.updateDuration),function t(){H.popperInstance.scheduleUpdate(),H.state.isMounted?requestAnimationFrame(t):J([N],0)}()),J([N],H.props.updateDuration),J(i,e),Z(i,"visible"),function(t,e){it(t,e)}(e,function(){H.props.aria&&D().setAttribute("aria-".concat(H.props.aria),N.id),H.props.onShown(H),H.state.isShown=!0}))},function(){g=!1;var e=!(Y()||"initial"===H.props.followCursor&&ht);H.popperInstance?(Y()||(H.popperInstance.scheduleUpdate(),e&&H.popperInstance.enableEventListeners()),X(H.popperInstance.modifiers,H.props.flip)):(jt(),e&&H.popperInstance.enableEventListeners()),H.popperInstance.reference=t;var i=H.popperChildren.arrow;Y()?(i&&(i.style.margin="0"),n&&wt(n)):i&&(i.style.margin=""),ht&&n&&"initial"===H.props.followCursor&&(wt(n),i&&(i.style.margin="0"));var o=H.props.appendTo;(l="parent"===o?t.parentNode:V(o,[t])).contains(N)||(l.appendChild(N),H.props.onMount(H),H.state.isMounted=!0)}()}}function At(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W(H.props.duration,1,k.duration[1]);if(!H.state.isDestroyed&&H.state.isEnabled&&!1!==H.props.onHide(H)){N.style.visibility="hidden",H.state.isVisible=!1,H.state.isShown=!1,w=!1,H.props.interactive&&D().classList.remove(A);var e=F();J(e,t),Z(e,"hidden"),function(t,e){it(t,function(){!H.state.isVisible&&l&&l.contains(N)&&e()})}(t,function(){m||q(),H.props.aria&&D().removeAttribute("aria-".concat(H.props.aria)),H.popperInstance.disableEventListeners(),H.popperInstance.options.placement=H.props.placement,l.removeChild(N),H.props.onHidden(H),H.state.isMounted=!1})}}}var _t=!1;function kt(t,e){et(e||{},k),_t||(document.addEventListener("click",wt,!0),document.addEventListener("touchstart",mt,S),window.addEventListener("blur",gt),_t=!0);var i,n=f({},k,e);i=t,"[object Object]"!=={}.toString.call(i)||i.addEventListener||function(t){var e={isVirtual:!0,attributes:t.attributes||{},setAttribute:function(e,i){t.attributes[e]=i},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},hasAttribute:function(e){return e in t.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){delete t.classList.classNames[e]},contains:function(e){return e in t.classList.classNames}}};for(var i in e)t[i]=e[i]}(t);var o=function(t){if(Y(t))return[t];if(t instanceof NodeList)return z(t);if(Array.isArray(t))return t;try{return z(document.querySelectorAll(t))}catch(t){return[]}}(t).reduce(function(t,e){var i=e&&vt(e,n);return i&&t.push(i),t},[]);return Y(t)?o[0]:o}kt.version="4.3.0",kt.defaults=k,kt.setDefaults=function(t){Object.keys(t).forEach(function(e){k[e]=t[e]})},kt.hideAll=pt,kt.group=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.delay,n=void 0===i?t[0].props.delay:i,o=e.duration,s=void 0===o?0:o,r=!1;function a(t){r=t,d()}function l(e){e._originalProps.onShow(e),t.forEach(function(t){t.set({duration:s}),t.hide()}),a(!0)}function u(t){t._originalProps.onHide(t),a(!1)}function c(t){t._originalProps.onShown(t),t.set({duration:t._originalProps.duration})}function d(){t.forEach(function(t){t.set({onShow:l,onShown:c,onHide:u,delay:r?[0,Array.isArray(n)?n[1]:n]:n,duration:r?s:t._originalProps.duration})})}t.forEach(function(t){t._originalProps?t.set(t._originalProps):t._originalProps=f({},t.props)}),d()},w&&setTimeout(function(){z(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&kt(t,{content:e})})}),function(t){if(w){var e=document.createElement("style");e.type="text/css",e.textContent=t;var i=document.head,n=i.firstChild;n?i.insertBefore(e,n):i.appendChild(e)}}('.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px) rotateX(0);transform:perspective(700px) translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(60deg);transform:perspective(700px) translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px) rotateX(0);transform:perspective(700px) translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(-60deg);transform:perspective(700px) translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px) rotateY(0);transform:perspective(700px) translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(-60deg);transform:perspective(700px) translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px) rotateY(0);transform:perspective(700px) translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(60deg);transform:perspective(700px) translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}');var xt=kt;var Bt=class{constructor(t){this.buttonObject=t,this.buttonObject.stylingObject=this,this.groupHolder=null,this.buttonTitle=null,this.manageButtonMenu=null}build(){let t=document.createElement("div");return t.className="button-group-holder",t.appendChild(this.createTitleField()),t.appendChild(this.createButtonMobileDesktop()),t.appendChild(this.createButtonHolderButton()),t.appendChild(this.createQuickMenu()),this.groupHolder=t,t}createButtonHolderButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button";let e=document.createElement("i");return e.className="fas fa-ellipsis-v",t.appendChild(e),t.addEventListener("click",()=>{let t=this.groupHolder.className.indexOf("holder-show-quick-menu");jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),-1===t&&this.groupHolder.classList.add("holder-show-quick-menu")}),t}createQuickMenu(){let t=document.createElement("div");return t.className="group-holder-quick-menu",t.addEventListener("click",()=>{this.groupHolder.classList.remove("holder-show-quick-menu")}),t.appendChild(this.createQuickMenuButton("fas fa-wrench",window.Buttonizer.translate("common.settings"),()=>this.revealSettings(),"settings")),t.appendChild(this.createQuickMenuButton("fas fa-cog",window.Buttonizer.translate("utils.advanced_settings"),()=>this.buttonObject.windowObject.toggle(),window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out")),t.appendChild(this.createQuickMenuButton("fas fa-pencil-alt",window.Buttonizer.translate("utils.rename"),()=>this.buttonRename(),"")),t.appendChild(this.createQuickMenuButton("far fa-copy",window.Buttonizer.translate("utils.duplicate"),()=>this.buttonDuplicate(),"")),t.appendChild(this.createQuickMenuButton("far fa-trash-alt",window.Buttonizer.translate("utils.delete"),()=>this.buttonDelete(),"delete")),this.manageButtonMenu=t,t}createQuickMenuButton(t,e,i,n=""){let o=document.createElement("a");o.href="javascript:void(0)",o.className=n;let s=document.createElement("i");return s.className=t,o.appendChild(s),o.innerHTML+=e,o.addEventListener("click",t=>i(t)),o}createTitleField(){let t=document.createElement("div");t.className+="button-title-holder";let e=document.createElement("input");e.type="text",e.className="group-title",e.value=this.buttonObject.data.name,e.setAttribute("readonly",""),e.id="buttonizer-button-title";let i=document.createElement("a");return i.href="javascript:void(0)",i.className="group-rename",i.innerHTML="<i class='fa fa-pencil-alt'></i>",e.addEventListener("change",()=>this.updateTitle()),e.addEventListener("blur",()=>this.updateTitle()),e.addEventListener("keyup",t=>{13===t.keyCode?this.updateTitle():27===t.keyCode&&(e.value=this.buttonObject.data.name,e.setAttribute("readonly",""))}),e.addEventListener("click",t=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),t.isTrusted&&e.hasAttribute("readonly")&&this.revealSettings()}),this.buttonTitle=e,t.appendChild(e),t.appendChild(i),e}updateTitle(){this.buttonObject.data.name=this.buttonTitle.value,window.Buttonizer.buttonChanges=!0,this.buttonTitle.setAttribute("readonly","")}buttonRename(){this.buttonTitle.hasAttribute("readonly")&&(this.buttonTitle.removeAttribute("readonly"),this.buttonTitle.focus())}buttonDelete(){1!==this.buttonObject.groupObject.getButtonsAlive()?new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_remove_button").format(this.buttonObject.data.name)+"</p>",onConfirm:()=>{this.buttonObject.removeButton()},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]}):new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]})}buttonDuplicate(){let t=new RegExp(this.buttonObject.data.name+" - Copy \\([0-9]+\\)"),e=this.buttonObject.data.name+" - Copy";for(let i=0;i<this.buttonObject.groupObject.buttons.length;i++)if(this.buttonObject.groupObject.buttons[i].data.name.match(t)){let n=this.buttonObject.groupObject.buttons[i].data.name.match(t).toString().match(/- Copy \([0-9]+\)/).toString(),o=parseInt(n.replace(/\D/g,""));e=this.buttonObject.data.name+` - Copy (${o+1})`}else this.buttonObject.groupObject.buttons[i].data.name!==e||this.buttonObject.groupObject.buttons[i].data.name.match(t)||(e+=" (2)");let i={};for(let t in this.buttonObject.data)i[t]=this.buttonObject.data[t];i.name=e,new ge(this.buttonObject.groupObject,i),window.Buttonizer.buttonChanges=!0}createButtonMobileDesktop(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="mobile-desktop",t.innerHTML="&nbsp;";let e=document.createElement("i");e.className="mobile-preview",e.innerHTML='<i class="fa fa-mobile-alt"></i>';let i=document.createElement("i");i.className="desktop-preview",i.innerHTML='<i class="fa fa-desktop"></i>',"true"!==this.buttonObject.data.show_mobile&&void 0!==this.buttonObject.data.show_mobile||(e.className+=" selected"),"true"!==this.buttonObject.data.show_desktop&&void 0!==this.buttonObject.data.show_desktop||(i.className+=" selected");let n=document.createElement("div");return n.className="new-button-visibility",n.appendChild(this.createMobile(e)),n.appendChild(this.createDesktop(i)),t.appendChild(n),t.appendChild(e),t.appendChild(i),t}createMobile(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className="visibility-deskmobi";let i=document.createElement("i");return i.className="fa fa-mobile-alt",e.appendChild(i),this.buttonObject.registerUI("show_mobile",{update:i=>{!0===i||"true"===i?(e.classList.add("selected"),t.classList.add("selected")):(e.classList.remove("selected"),t.classList.remove("selected"))}}),this.buttonObject.getUI("show_mobile").forEach(t=>t.update(this.buttonObject.get("show_mobile"))),e.addEventListener("click",()=>{let t=this.buttonObject.get("show_mobile",!0);this.buttonObject.set("show_mobile",!(!0===t||"true"===t))}),e}createDesktop(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className="visibility-deskmobi";let i=document.createElement("i");return i.className="fa fa-desktop",e.appendChild(i),this.buttonObject.registerUI("show_desktop",{update:i=>{!0===i||"true"===i?(e.classList.add("selected"),t.classList.add("selected")):(e.classList.remove("selected"),t.classList.remove("selected"))}}),this.buttonObject.getUI("show_desktop").forEach(t=>t.update(this.buttonObject.get("show_desktop"))),e.addEventListener("click",()=>{let t=this.buttonObject.get("show_desktop",!0);this.buttonObject.set("show_desktop",!(!0===t||"true"===t))}),e}revealSettings(){this.buttonObject.revealSettings()}};class Et{constructor(t){this.state=void 0!==t.state&&"true"==t.state,this.onChange=void 0===t.onChange?function(){console.log("FormBoolean: No binding. Use FormBoolean.onChange()")}:t.onChange,this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible,this.element=HTMLElement}build(){this.element=document.createElement("a"),this.element.href="javascript:void(0)",this.element.className="buttonizer-boolean "+(!0===this.state?"boolean-selected":""),this.element.addEventListener("click",()=>this.toggle());let t=document.createElement("div");return t.className="buttonizer-boolean-circle",this.element.appendChild(t),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}onToggle(t){this.onChange=t}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(this.state=!this.state,!0===this.state?this.element.classList.add("boolean-selected"):this.element.classList.remove("boolean-selected"),this.onChange(this.state))}}class zt{constructor(t,e,i){this.title=t,this.settingHolderContent=e,this.className=void 0!==i&&i}build(){let t=document.createElement("div");t.className="buttonizer-setting-row "+(!1===this.className?"":this.className),t.style.marginTop="10px";let e=document.createElement("div");e.className="buttonizer-setting-row-c1",e.innerHTML=this.title;let i=document.createElement("div");return i.className="buttonizer-setting-row-c2",i.appendChild(this.settingHolderContent),t.appendChild(e),t.appendChild(i),t}}class Ct{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"https://www.domain.ltd/page ":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return/(http|https):\/\/(\w+:{0,1}\w*)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%!\-\/]))?/.test(t)||"?"===t.substring(0,1)||"#"===t.substring(0,1)?-1===t.indexOf("https://")&&"#"!==t.substring(0,1)&&(e="<p>"+window.Buttonizer.translate("settings.button_action.actions.url.insecure")+'</p><p><a href="https://community.buttonizer.pro/knowledgebase/19" target="_blank" style="text-decoration: none;">More info &raquo;</a></p>'):e="<p>"+window.Buttonizer.translate("settings.button_action.actions.url.invalid")+"</p><p>"+window.Buttonizer.translate("settings.button_action.actions.url.invalid_tip")+"</p>",!1===e||(this.buttonAction.addError(e),!1)}}class jt{constructor(t,e=!1){this.buttonAction=t,this.numbersOnly=e}build(t){let e=document.createElement("div"),i=this.buttonAction.inputText();return i.placeholder=void 0===t?"Add text here":t,i.addEventListener("keyup",()=>this.change(i.value)),""!==this.buttonAction.value&&(i.value=this.buttonAction.value),e.appendChild(i),this.numbersOnly&&(this.numbersOnlyField=document.createElement("div"),this.numbersOnlyField.className="field-error",this.numbersOnlyField.innerHTML=window.Buttonizer.translate("warnings.only_numbers"),this.numbersOnlyField.style.display="none",e.appendChild(this.numbersOnlyField)),e}change(t){this.numbersOnly&&(isNaN(t)?this.numbersOnlyField.style.display="block":this.numbersOnlyField.style.display="none"),this.buttonAction.updateButtonActionValue(t)}}class St{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"(000) 123 456 78":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return t=(t=t.replace("+","")).replace(" ",""),/^(?=.*\d)[\d ]+$/.test(t)||(e="<p>"+window.Buttonizer.translate("warnings.invalid_phone_number")+"</p>"),!1===e||(this.buttonAction.addError(e),!1)}}class Ot{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"account@domain.tld":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return t=(t=t.replace("+","")).replace(" ",""),/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,10})+$/.test(t)||(e="<p>"+window.Buttonizer.translate("warnings.invalid_email")+"</p>"),!1===e||(this.buttonAction.addError(e),!1)}}i(6);class Lt{constructor(t){this.buttonAction=t}build(){let t=document.createElement("select");return t.className="buttonizer-select-action",t.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popular"),[{value:"facebook",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Facebook")},{value:"twitter",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Twitter")},{value:"whatsapp",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Whatsapp")},{value:"linkedin",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("LinkedIn")},{value:"pinterest",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Pinterest")},{value:"mail",text:window.Buttonizer.translate("settings.button_action.actions.share_page_via").format("email")}])),t.appendChild(this.selectGroup("New actions",[{value:"sms",text:"Share on SMS"},{value:"reddit",text:"Share on Reddit"},{value:"tumblr",text:"Share on Tumblr"},{value:"digg",text:"Share on Digg"},{value:"weibo",text:"Share on Weibo"},{value:"vk",text:"Share on VK"},{value:"ok",text:"Share on OK.ru (Odnoklassniki)"},{value:"xing",text:"Share on Xing"},{value:"blogger",text:"Share on Blogger"},{value:"flipboard",text:"Share on Flipboard"}])),t.addEventListener("change",()=>{this.buttonAction.updateButtonActionValue(t.value)}),t}add(t,e){let i=document.createElement("option");return i.text=e,t===this.buttonAction.value&&(i.selected=!0),i.value=t,i}selectGroup(t,e){let i=document.createElement("optgroup");i.label=t;for(let t of e)i.appendChild(this.add(t.value,t.text));return i}}class Tt{constructor(t){this.element=document.createElement("div"),this.errorElement=document.createElement("div"),this.buttonSettingsObject=t,this.dropdown=null,this.value=void 0!==this.buttonSettingsObject.buttonObject.data.action?this.buttonSettingsObject.buttonObject.data.action:"",this.unique=Array.apply(0,Array(15)).map(()=>(t=>t.charAt(Math.floor(Math.random()*t.length)))("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")).join("")}build(){this.element.style.marginTop="10px",this.dropdown=document.createElement("select"),this.dropdown.style.width="199px",this.dropdown.className="buttonizer-select-action",this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popular"),[{value:"url",text:"Website URL"},{value:"phone",text:window.Buttonizer.translate("settings.button_action.actions.phone_number")},{value:"mail",text:window.Buttonizer.translate("settings.button_action.actions.mail")},{value:"whatsapp",text:"WhatsApp chat"},{value:"backtotop",text:window.Buttonizer.translate("settings.button_action.actions.back_to_top")},{value:"gobackpage",text:window.Buttonizer.translate("settings.button_action.actions.go_back_one_page")},{value:"socialsharing",text:"Social sharing"},{value:"javascript_pro",text:"Javascript function"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_chat"),[{value:"sms",text:"SMS"},{value:"messenger_chat",text:"Facebook Messenger Chat Widget"},{value:"messenger",text:"Facebook Messenger Link"},{value:"twitter_dm",text:"Twitter DM"},{value:"skype",text:"Skype"},{value:"line",text:"LINE"},{value:"telegram",text:"Telegram"},{value:"wechat",text:"WeChat"},{value:"viber",text:"Viber"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_social_media"),[{value:"facebook",text:"Facebook"},{value:"twitter",text:"Twitter"},{value:"instagram",text:"Instagram"},{value:"snapchat",text:"Snapchat"},{value:"linkedin",text:"LinkedIn"},{value:"vk",text:"VKontakte"},{value:"poptin",text:"Poptin"},{value:"waze",text:"Waze"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popup"),[{value:"poptin",text:"Poptin"},{value:"elementor_popup",text:"Elementor Popup"},{value:"popup_maker",text:"Popup Maker"}]));let t=document.createElement("div");return xt(t.appendChild(new zt("<label for='label-always-open'>"+window.Buttonizer.translate("settings.button_action.title")+"</label>",this.dropdown).build()).firstChild.firstChild,{content:window.Buttonizer.translate("settings.button_action.description"),animation:"shift-away",arrow:!0,hideOnClick:!1}),t.appendChild(this.element),t.appendChild(this.errorElement),this.changeForm(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).chosen({placeholder_text_single:window.Buttonizer.translate("settings.button_action.select"),no_results_text:window.Buttonizer.translate("settings.button_action.search_not_found"),hide_results_on_select:!1}).change(()=>this.update(this.dropdown.value)),t}add(t,e){let i=document.createElement("option");return i.text=e,t===this.buttonSettingsObject.buttonObject.data.type&&(i.selected=!0),-1===t.indexOf("pro")||window.Buttonizer.hasPremium()?i.value=t:(i.disabled=!0,i.text+=" (PRO ONLY)"),i}update(t,e=!1){if("javascript_pro"===this.buttonSettingsObject.buttonObject.data.type&&"javascript_pro"!==t){if(!e)return void new s({title:"<i class='fas fa-exclamation window-icon'></i> "+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_modal_title"),content:"<p>"+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_intro")+"</p><p>"+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_question")+"</p>",class:"warning-red",buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0,cancel:!0},{text:window.Buttonizer.translate("modal.yes_please"),close:!0,confirm:!0}],onConfirm:()=>{this.value="",this.update(t,!0)},onCancel:()=>{this.buttonSettingsObject.buttonObject.data.type="javascript_pro",jQuery(this.dropdown).val(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).trigger("chosen:updated")}})}else if("socialsharing"===t)this.buttonSettingsObject.buttonObject.data.action="facebook";else if("socialsharing"===this.buttonSettingsObject.buttonObject.data.type)switch(t){case"elementor_popup":this.value="elementor"+this.unique,this.updateButtonActionValue(this.value);break;case"popup_maker":this.value="popupmaker"+this.unique,this.updateButtonActionValue(this.value);break;default:this.value=""}else if("elementor_popup"===t)this.value="elementor"+this.unique,this.updateButtonActionValue(this.value),console.log(this.value);else if("elementor_popup"===this.buttonSettingsObject.buttonObject.data.type&&"popup_maker"!==t)this.value="";else if("popup_maker"===t)this.value="popupmaker"+this.unique,this.updateButtonActionValue(this.value),console.log(this.value);else if("popup_maker"===this.buttonSettingsObject.buttonObject.data.type&&"elementor_popup"!==t)this.value="";else if("messenger_chat"===t)for(let t of window.Buttonizer.buttonGroups)for(let e of t.buttons){let t=`<br>Button: <b>${e.data.name}</b>`;if("messenger_chat"===e.data.type)return void new s({title:"This is getting out of hand. Now there are two of them!",content:`<p>You currently have a button with a Facebook Messenger Chat Widget action.\n <br>\n As of now, the Facebook Messenger SDK can only support 1 Facebook Messenger Chat Widget. \n <br><br>\n Button with Facebook Messenger Widget:\n ${t}\n <p>`,class:"warning-red",buttons:[{text:"I understand",close:!0,confirm:!0}],onConfirm:()=>{jQuery(this.dropdown).val(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).trigger("chosen:updated")}})}this.buttonSettingsObject.buttonObject.data.type=t,window.Buttonizer.buttonChanges=!0,this.removeError(),this.changeForm(t)}updateButtonActionValue(t){this.buttonSettingsObject.buttonObject.data.action=t,window.Buttonizer.buttonChanges=!0,this.value=t}changeForm(t){this.element.innerHTML="",this.element.className="";let e=new Et({state:void 0===typeof this.buttonSettingsObject.buttonObject.data.action_new_tab?"false":this.buttonSettingsObject.buttonObject.data.action_new_tab});if(e.onToggle(t=>{this.buttonSettingsObject.buttonObject.data.action_new_tab=t,window.Buttonizer.buttonChanges=!0}),"phone"===t||"sms"===t)this.element.appendChild(new St(this).build()),this.addKnowledgeBaseLink();else if("viber"===t){this.element.appendChild(new St(this).build("+00123456789"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.viber"),this.element.appendChild(t)}else if("mail"===t)this.element.appendChild(new Ot(this).build(window.Buttonizer.translate("settings.button_action.placeholders.mail.recipient")));else if("whatsapp_pro"===t||"whatsapp"===t){this.element.appendChild(new St(this).build());let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.whatsapp_info"),this.element.appendChild(t)}else if("socialsharing"===t)this.element.appendChild(new Lt(this).build());else{if("backtotop"===t||"gobackpage"===t)return;if("skype"===t||"telegram"===t||"twitter"===t||"snapchat"===t||"instagram"===t||"vk"===t)this.element.appendChild(new jt(this).build(window.Buttonizer.translate("settings.button_action.placeholders.username"))),this.addKnowledgeBaseLink();else if("twitter_dm"===t){this.element.appendChild(new jt(this,!0).build("Account ID"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.twitter_info"),this.element.appendChild(t)}else if("messenger"===t)this.element.appendChild(new Ct(this).build("https://m.me/YOUR-PAGE-NAME")),this.addKnowledgeBaseLink();else if("messenger_chat"===t){this.element.appendChild(new jt(this).build("Facebook page ID"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.messenger_chat"),this.element.appendChild(t),this.addKnowledgeBaseLink(59,"Facebook Messenger Chat Widget")}else if("facebook"===t)this.element.appendChild(new jt(this).build("Facebook username/page")),this.addKnowledgeBaseLink();else if("linkedin"===t)this.element.appendChild(new jt(this).build('"company/COMPANY-NAME" or "in/USERNAME"')),this.addKnowledgeBaseLink();else if("line"===t)this.element.appendChild(new jt(this).build("LINE ID"));else if("wechat"===t)this.element.appendChild(new jt(this).build("User ID"));else if("waze"===t)this.element.appendChild(new Ct(this).build("https://www.waze.com/ul?q=Netherlands"));else if("popup_maker"===t){let t=document.createElement("p");t.innerHTML=`In your <b>Popup Settings</b>, add a new <b>"Click to Open"</b> trigger and copy and paste this code in <b>"Extra CSS Selectors"</b> </br> <code style="font-size: 11px;">a[href="#${this.value}"]</code>`,this.element.appendChild(t),this.addKnowledgeBaseLink(57,"Popup maker")}else if("elementor_popup"===t){let t=document.createElement("p");t.innerHTML=`Copy and paste this into your Elementor Popup's <b>"Open By Selector"</b> option. </br> <code style="font-size: 11px;">a[href="#${this.value}"]</code>`,this.element.appendChild(t),this.addKnowledgeBaseLink(57,"Elementor popup")}else if("poptin"===t){this.element.appendChild(new Ct(this).build("https://app.popt.in/APIRequest/click/0c768294b0605"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.poptin"),this.element.appendChild(t),this.addKnowledgeBaseLink(57)}else this.element.appendChild(new Ct(this).build()),xt(this.element.appendChild(new zt("<label for='label-always-open'>"+window.Buttonizer.translate("settings.open_new_tab.title")+":</label>",e.build(),"is-boolean-only").build()).firstChild.firstChild,{content:window.Buttonizer.translate("settings.open_new_tab.description"),animation:"shift-away",arrow:!0,hideOnClick:!1}),this.addKnowledgeBaseLink()}}addKnowledgeBaseLink(t="",e=""){let i=document.createElement("a");i.className="info-link has-margin-everywhere",i.innerHTML=""===e?window.Buttonizer.translate("utils.visit_knowledgebase"):window.Buttonizer.translate("utils.knowledge_link").format(e),i.href="https://community.buttonizer.pro/knowledgebase"+(""===t?"":"/"+t),i.target="_blank",this.element.appendChild(i)}inputText(){let t=document.createElement("input");return t.type="text",t.style.display="block",t.style.width="100%",t.className="buttonizer-input-action",t}addError(t){this.errorElement.innerHTML="";let e=document.createElement("div");e.innerHTML=t,e.className="field-error-container",this.errorElement.appendChild(e)}removeError(){this.errorElement.innerHTML=""}selectGroup(t,e){let i=document.createElement("optgroup");i.label=t;for(let t of e)i.appendChild(this.add(t.value,t.text));return i}}class Nt{constructor(t){this.parentObject=void 0!==t.parentObject?t.parentObject:null,this.rowName=void 0!==t.rowName?t.rowName:null,this.title=void 0!==t.title?t.title:"",this.description=void 0!==t.description?t.description:null,this.wrap=void 0!==t.wrap&&t.wrap,this.content=void 0!==t.content?t.content:[],this.className=void 0!==t.class?t.class:[],this.customBuild=void 0!==t.useCustomBuild&&t.useCustomBuild,this.hidden=void 0!==t.hidden&&t.hidden,this.element=document.createElement("div"),null!==this.parentObject?null!==this.rowName&&this.parentObject.registerUI(this.rowName+"-container",this):null!==this.rowName&&null===this.parentObject&&console.error("Row name '"+this.rowName+"' is set, but no parent has been set")}build(){if(this.element.className="buttonizer-setting-row "+(!1===this.className?"":this.className),this.element.style.marginTop="10px",this.hidden)switch(this.rowName){case"background-color":case"border-radius":case"background-image":case"label-color":this.element.classList+=" disabled";break;default:this.element.style.display="none"}let t=document.createElement("div");t.className="buttonizer-setting-row-c1";let e=document.createElement("label");e.innerHTML=this.title,null!==this.description&&xt(e,{content:this.description,animation:"shift-away",arrow:!0,hideOnClick:!1}),t.appendChild(e);let i=document.createElement("div");i.className="buttonizer-setting-row-c2";for(const t in this.content)i.appendChild(this.customBuild?this.content[t]():this.content[t].build());return this.wrap&&(i.style["flex-wrap"]="wrap"),this.element.appendChild(t),this.element.appendChild(i),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="",this.element.classList.remove("disabled")}disable(){this.element.classList+=" disabled"}}class At{constructor(t){this.parent=t.parentObject,this.element=document.createElement("div"),this.dataEntry=t.dataEntry,this.default=void 0===t.default?"":t.default,this.callback=void 0===t.callback?()=>{}:t.callback,this.onClick=void 0===t.onClick?null:t.onClick,this.input=HTMLElement,this.onlyNumbers=void 0!==t.onlyNumbers&&t.onlyNumbers,this.parent.registerUI(this.dataEntry,this),this.placeholder=void 0===t.placeholder?"":t.placeholder,this.title=void 0===t.title?"":t.title,this.fieldWidth=void 0===t.width?"default":t.width,this.hidden=void 0!==t.hidden&&t.hidden}build(){this.element=document.createElement("div"),this.element.className="buttonizer-input-container is-textfield input-field-width-"+this.fieldWidth,this.element.style.marginRight="7px";let t=document.createElement("div");t.className="buttonizer-input-item";let e=document.createElement("input");e.type="text",e.value=this.parent.get(this.dataEntry,this.default),this.onlyNumbers&&e.addEventListener("keyup",t=>{(isNaN(e.value)||e.value<0)&&(e.value=this.default,new s({title:window.Buttonizer.translate("errors.forms.only_numbers"),content:"<p>"+window.Buttonizer.translate("errors.forms.only_numbers_info")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0}]}))}),null!==this.onClick&&e.addEventListener("click",t=>this.onClick(t,e)),e.addEventListener("change",()=>{this.onlyNumbers&&(isNaN(e.value)||e.value<0)&&(e.value=this.default),this.parent.set(this.dataEntry,e.value)}),""!==this.placeholder&&e.setAttribute("placeholder",this.placeholder),t.appendChild(e),this.element.appendChild(t);let i=document.createElement("div");return i.className="buttonizer-input-info",i.innerHTML=this.title,this.element.appendChild(i),this.input=e,this.hidden&&this.hide(),""!==this.title?this.element:(this.input.className="buttonizer-input-only",this.input)}hide(){this.element.style.display="none",this.input.style.display="none"}show(){this.element.style.display="",this.input.style.display=""}update(t){this.input.value=t,this.callback(t)}}class It{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("a"),this.dataEntry=t.dataEntry,this.state=this.parentObject.get(this.dataEntry,t.default),this.parentObject.registerUI(this.dataEntry,this),this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible,this.callback=void 0!==t.callback?t.callback:t=>{},this.class=void 0===t.class?"":t.class}build(){this.element.href="javascript:void(0)",this.element.className="buttonizer-boolean "+(!0===this.state||"true"===this.state?"boolean-selected":"")+" "+this.class,this.element.addEventListener("click",()=>this.toggle());let t=document.createElement("div");return t.className="buttonizer-boolean-circle",this.element.appendChild(t),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(!0===this.state||"true"===this.state?this.state=!1:this.state=!0,this.parentObject.set(this.dataEntry,this.state),void 0!==this.callback&&this.callback(this.state))}update(t){this.state=t,!0===t||"true"===t?this.element.classList.contains("boolean-selected")||this.element.classList.add("boolean-selected"):this.element.classList.contains("boolean-selected")&&this.element.classList.remove("boolean-selected"),this.callback(t)}enable(){this.disabled=!1}disable(){this.disabled=!0}}class Mt extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.label.title"),description:window.Buttonizer.translate("settings.label.description"),wrap:!0,class:"form-has-extra-fields",content:[new At({parentObject:t,dataEntry:"label",default:t.get("label"),placeholder:window.Buttonizer.translate("settings.label.placeholder")})]})}}var Ht=i(5),qt=i(2);const Pt="url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\")",Dt=360,Ft="keydown",Rt="mousedown",Wt="focusin";function Ut(t,e){return(e||document).querySelector(t)}function Gt(t,e,i){t.addEventListener(e,i,!1)}function Qt(t){t.preventDefault(),t.stopPropagation()}function $t(t,e,i,n){Gt(t,Ft,function(t){e.indexOf(t.key)>=0&&(n&&Qt(t),i(t))})}const Yt=document.createElement("style");Yt.textContent=".picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.layout_default.picker_wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;width:6rem}.layout_default .picker_editor input{width:calc(100% + 2px);height:calc(100% + 2px)}.layout_default .picker_sample{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.layout_default .picker_done{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.picker_wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;background:#f2f2f2;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{margin:-1px}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;-webkit-box-shadow:0 0 3px 1px #67b9ff;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver}.picker_sl{position:relative;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;-webkit-box-shadow:0 0 0 1px silver;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:monospace;padding:.1em .2em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_done button{-webkit-box-sizing:border-box;box-sizing:border-box;padding:.2em .5em;cursor:pointer}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;-webkit-box-shadow:0 0 10px 1px rgba(0,0,0,0.4);box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;-webkit-box-shadow:none;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}",document.documentElement.firstElementChild.appendChild(Yt);var Vt=class{constructor(t){this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex"},this._openProxy=(t=>this.openHandler(t)),this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(t)}setOptions(t){if(!t)return;const e=this.settings;if(t instanceof HTMLElement)e.parent=t;else{e.parent&&t.parent&&e.parent!==t.parent&&(e.parent.removeEventListener("click",this._openProxy,!1),this._popupInited=!1),function(t,e,i){for(const n in t)i&&i.indexOf(n)>=0||(e[n]=t[n])}(t,e),t.onChange&&(this.onChange=t.onChange),t.onDone&&(this.onDone=t.onDone),t.onOpen&&(this.onOpen=t.onOpen),t.onClose&&(this.onClose=t.onClose);const i=t.color||t.colour;i&&this._setColor(i)}const i=e.parent;i&&e.popup&&!this._popupInited?(Gt(i,"click",this._openProxy),$t(i,[" ","Spacebar","Enter"],this._openProxy),this._popupInited=!0):t.parent&&!e.popup&&this.show()}openHandler(t){if(this.show()){t&&t.preventDefault(),this.settings.parent.style.pointerEvents="none";const e=t&&t.type===Ft?this._domEdit:this.domElement;setTimeout(()=>e.focus(),100),this.onOpen&&this.onOpen(this.colour)}}closeHandler(t){const e=t&&t.type;let i=!1;t?("click"!==e&&e!==Ft||Qt(t),i=!0):i=!0,i&&this.hide()&&(this.settings.parent.style.pointerEvents="",e!==Rt&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}movePopup(t,e){this.closeHandler(),this.setOptions(t),e&&this.openHandler()}setColor(t,e){this._setColor(t,{silent:e})}_setColor(t,e){if("string"==typeof t&&(t=t.trim()),!t)return;let i;e=e||{};try{i=new Ht(t)}catch(t){if(e.failSilently)return;throw t}if(!this.settings.alpha){const t=i.hsla;t[3]=1,i.hsla=t}this.colour=this.color=i,this._setHSLA(null,null,null,null,e)}setColour(t,e){this.setColor(t,e)}show(){if(!this.settings.parent)return!1;if(this.domElement){const t=this._toggleDOM(!0);return this._setPosition(),t}const t=function(t){const e=document.createElement("div");return e.innerHTML=t,e.firstElementChild}(this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div></div>');return this.domElement=t,this._domH=Ut(".picker_hue",t),this._domSL=Ut(".picker_sl",t),this._domA=Ut(".picker_alpha",t),this._domEdit=Ut(".picker_editor input",t),this._domSample=Ut(".picker_sample",t),this._domOkay=Ut(".picker_done button",t),t.classList.add("layout_"+this.settings.layout),this.settings.alpha||t.classList.add("no_alpha"),this.settings.editor||t.classList.add("no_editor"),this._ifPopup(()=>t.classList.add("popup")),this._setPosition(),this.colour?this._updateUI():this._setColor("#0cf"),this._bindEvents(),!0}hide(){return this._toggleDOM(!1)}_bindEvents(){const t=this,e=this.domElement;function i(t,e){function i(i,n){const o=n[0]/t.clientWidth,s=n[1]/t.clientHeight;e(o,s)}return{container:t,dragOutside:!1,callback:i,callbackDragStart:i,propagateEvents:!0}}Gt(e,"click",t=>t.preventDefault()),qt(i(this._domH,(e,i)=>t._setHSLA(e))),qt(i(this._domSL,(e,i)=>t._setHSLA(null,e,1-i))),this.settings.alpha&&qt(i(this._domA,(e,i)=>t._setHSLA(null,null,null,1-i)));const n=this._domEdit;Gt(n,"input",function(e){t._setColor(this.value,{fromEditor:!0,failSilently:!0})}),Gt(n,"focus",function(t){const e=this;e.selectionStart===e.selectionEnd&&e.select()});const o=t=>{this._ifPopup(()=>this.closeHandler(t)),this.onDone&&this.onDone(this.colour)};this._ifPopup(()=>{const t=t=>this.closeHandler(t);Gt(window,Rt,t),Gt(window,Wt,t),$t(e,["Esc","Escape"],t),Gt(e,Rt,Qt),Gt(e,Wt,Qt),Gt(this._domEdit,Rt,t=>this._domEdit.focus())}),Gt(this._domOkay,"click",o),$t(e,["Enter"],o)}_setPosition(){const t=this.settings.parent,e=this.domElement;t!==e.parentNode&&t.appendChild(e),this._ifPopup(i=>{"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=!0===i?"popup_right":"popup_"+i;["popup_top","popup_bottom","popup_left","popup_right"].forEach(t=>{t===n?e.classList.add(t):e.classList.remove(t)}),e.classList.add(n)})}_setHSLA(t,e,i,n,o){o=o||{};const s=this.colour,r=s.hsla;[t,e,i,n].forEach((t,e)=>{(t||0===t)&&(r[e]=t)}),s.hsla=r,this._updateUI(o),this.onChange&&!o.silent&&this.onChange(s)}_updateUI(t){if(!this.domElement)return;t=t||{};const e=this.colour,i=e.hsla,n=`hsl(${i[0]*Dt}, 100%, 50%)`,o=e.hslString,s=e.hslaString,r=this._domH,a=this._domSL,l=this._domA,u=Ut(".picker_selector",r),c=Ut(".picker_selector",a),d=Ut(".picker_selector",l);function p(t,e,i){e.style.left=100*i+"%"}function h(t,e,i){e.style.top=100*i+"%"}p(0,u,i[0]),this._domSL.style.backgroundColor=this._domH.style.color=n,p(0,c,i[1]),h(0,c,1-i[2]),a.style.color=o,h(0,d,1-i[3]);const m=o,b=m.replace("hsl","hsla").replace(")",", 0)"),f=`linear-gradient(${[m,b]})`;if(this._domA.style.backgroundImage=f+", "+Pt,!t.fromEditor){const t=this.settings.editorFormat,i=this.settings.alpha;let n;switch(t){case"rgb":n=e.printRGB(i);break;case"hsl":n=e.printHSL(i);break;default:n=e.printHex(i)}this._domEdit.value=n}this._domSample.style.color=s}_ifPopup(t,e){this.settings.parent&&this.settings.popup?t&&t(this.settings.popup):e&&e()}_toggleDOM(t){const e=this.domElement;if(!e)return!1;const i=t?"":"none",n=e.style.display!==i;return n&&(e.style.display=i),n}static get StyleElement(){return Yt}};class Xt{constructor(t){this.parent=t.parentObject,this.element=document.createElement("div"),this.dataEntry=t.dataEntry,this.default=void 0===t.default?"":t.default,this.callback=void 0===t.callback?()=>{}:t.callback,this.style=void 0===t.style?{}:t.style,this.parent.registerUI(this.dataEntry,this),this.currentColor=this.parent.get(this.dataEntry,this.default),this.title=void 0===t.title?"Color":t.title,this.timer=setTimeout(()=>{},0),this.opened=!1,this.element=HTMLElement,this.colorView=HTMLElement,this.colorPicker=HTMLElement,("#fffff"===this.currentColor||"#FFFFF"===this.currentColor||this.currentColor.length<=6)&&(this.currentColor="#FFFFFF")}build(){this.buildVisiblePicker();let t=new Vt({parent:this.element,popup:"bottom",alpha:!0,color:this.currentColor,onChange:t=>{this.currentColor!==t.rgbaString&&(this.currentColor=t.rgbaString,this.parent.set(this.dataEntry,t.rgbaString))}});return this.element.addEventListener("click",()=>{t.show()}),this.colorPicker=t,this.element}buildVisiblePicker(){this.element=document.createElement("div"),this.element.className="buttonizer-input-container is-color-picker",this.element.style.marginRight="7px";let t=document.createElement("div");t.className="buttonizer-input-item",this.colorView=document.createElement("div"),this.colorView.style.background=this.currentColor,this.colorView.className="colored-background",t.appendChild(this.colorView),this.element.appendChild(t);let e=document.createElement("div");e.className="buttonizer-input-info",e.innerHTML=this.title,this.element.appendChild(e)}onSelect(t){this.callback=t}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}update(t){clearTimeout(this.timer),this.colorView.style.background=t,this.colorPicker.color=t,this.timer=setTimeout(()=>this.callback(t),1500)}}class Kt extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_color.title"),description:window.Buttonizer.translate("settings.icon_color.description"),rowName:"icon-color",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new Xt({parentObject:t,dataEntry:"icon_color",title:window.Buttonizer.translate("utils.base"),default:"#FFFFFF",width:"space"}),new Xt({parentObject:t,dataEntry:"icon_color_interaction",title:window.Buttonizer.translate("utils.interaction"),default:"#FFFFFF",width:"space"})]})}}class Jt extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_size.title"),description:window.Buttonizer.translate("settings.icon_size.description"),rowName:"icon-size",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new At({title:"px",placeholder:"button"===t.type?16:25,width:"space",dataEntry:"icon_size",parentObject:t,onlyNumbers:!0,default:"button"===t.type?16:25})]})}}class Zt extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.border_radius.title"),description:window.Buttonizer.translate("settings.border_radius.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"border-radius",parentObject:t,content:[new At({parentObject:t,dataEntry:"border_radius",default:"",placeholder:50,title:"%",width:"space",onlyNumbers:!0})]})}}class te extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.font_size_border_radius.title"),description:window.Buttonizer.translate("settings.font_size_border_radius.description"),content:[new At({title:"px",placeholder:12,width:"space",dataEntry:"label_font_size",parentObject:t,onlyNumbers:!0}),new At({title:"px",placeholder:3,width:"space",dataEntry:"label_border_radius",parentObject:t,onlyNumbers:!0})]})}}class ee{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("a"),this.dataEntry=t.dataEntry,this.default=t.default,this.callback=t.callback,this.type=t.type,this.data=t,this.title=t.title,this.state=this.parentObject.get(this.dataEntry,this.default),this.parentObject.registerUI(this.dataEntry,this),this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible}build(){this.element.href="javascript:void(0)",this.element.className=`buttonizer-checkbox ${"Mobile"===this.title?"mobile-checkbox":"desktop-checkbox"}`;let t=document.createElement("div");t.className="buttonizer-checkbox-box",t.innerHTML="&#10003;",this.element.appendChild(t),this.element.addEventListener("click",()=>this.toggle());let e=document.createElement("div");return e.className="buttonizer-checkbox-text",e.innerHTML=this.title,this.element.appendChild(e),this.update(this.state),this.eventListener(this.type),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(!0===this.state||"true"===this.state?this.parentObject.set(this.dataEntry,!1):this.parentObject.set(this.dataEntry,!0),"undefined"!=typeof callback&&this.callback(this.state))}update(t){this.state=t,!0===t||"true"===t?this.element.classList.contains("checkbox-selected")||this.element.classList.add("checkbox-selected"):this.element.classList.contains("checkbox-selected")&&this.element.classList.remove("checkbox-selected")}eventListener(t){"button"===t&&this.element.addEventListener("click",()=>{let t=this.parentObject.buttonHTMLObject.querySelector(".mobile-preview"),e=this.parentObject.buttonHTMLObject.querySelector(".fa-mobile-alt").parentElement,i=this.parentObject.buttonHTMLObject.querySelector(".desktop-preview"),n=this.parentObject.buttonHTMLObject.querySelector(".fa-desktop").parentElement;"Mobile"===this.title?t.classList.contains("selected")&&!1===this.state?(t.classList.remove("selected"),e.classList.remove("selected")):t.classList.contains("selected")||!0!==this.state||(t.classList+=" selected",e.classList+=" selected"):"Desktop"===this.title&&(i.classList.contains("selected")&&!1===this.state?(i.classList.remove("selected"),n.classList.remove("selected")):i.classList.contains("selected")||!0!==this.state||(i.classList+=" selected",n.classList+=" selected"))})}}class ie extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.show_mobile_desktop.title"),description:window.Buttonizer.translate("settings.show_mobile_desktop.description"),content:[new ee({parentObject:t,dataEntry:"show_mobile",title:window.Buttonizer.translate("settings.show_mobile_desktop.mobile"),default:!0,type:"button"===t.type?"button":"group"}),new ee({parentObject:t,dataEntry:"show_desktop",title:window.Buttonizer.translate("settings.show_mobile_desktop.desktop"),default:!0,type:"button"===t.type?"button":"group"})]})}}class ne extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.background_color.title"),description:window.Buttonizer.translate("settings.background_color.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"background-color",parentObject:t,content:[new Xt({parentObject:t,dataEntry:"background_color",title:window.Buttonizer.translate("utils.base"),default:"#f08419"}),new Xt({parentObject:t,dataEntry:"background_color_interaction",title:window.Buttonizer.translate("utils.interaction"),default:"#ff9d3c"})]})}}class oe{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("select"),this.dataEntry=t.dataEntry,this.default=t.default,this.callback=t.callback,this.style=t.style,this.list=t.list,this.width=void 0===t.width?"199px":t.width,this.class=void 0===t.class?"buttonizer-select-drawer":t.class,this.parentObject.registerUI(this.dataEntry,this)}build(){this.element.style.width=this.width,this.element.className=this.class,this.element.addEventListener("change",t=>{this.parentObject.set(this.dataEntry,this.element.value)});for(let t in this.list){let e=this.list[t],i=document.createElement("option");i.text=e.text,i.value=e.value,i.selected=void 0!==typeof this.selected&&this.selected===e.value,void 0!==e.disabled&&e.disabled&&(i.disabled=!0),this.element.appendChild(i)}return this.element.value=this.parentObject.get(this.dataEntry,this.default),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}update(t){this.element.value=t,void 0!==this.callback&&this.callback(t,this)}}class se extends Nt{constructor(t){super({title:'<span class="setting-icon"><i class="fa fa-desktop"></i></span> '+window.Buttonizer.translate("settings.label_desktop.title"),description:window.Buttonizer.translate("settings.label_desktop.description"),content:[new oe({parentObject:t,dataEntry:"show_label_desktop",default:"always",list:[{value:"always",text:window.Buttonizer.translate("settings.label_styles.always")},{value:"hover",text:window.Buttonizer.translate("settings.label_styles.hover")},{value:"hide",text:window.Buttonizer.translate("settings.label_styles.hide")}]})]})}}class re extends Nt{constructor(t){super({title:'<span class="setting-icon"><i class="fa fa-mobile-alt"></i></span> '+window.Buttonizer.translate("settings.label_mobile.title"),description:window.Buttonizer.translate("settings.label_mobile.description"),content:[new oe({parentObject:t,dataEntry:"show_label_mobile",default:"always",list:[{value:"always",text:window.Buttonizer.translate("settings.label_styles.always")},{value:"hide",text:window.Buttonizer.translate("settings.label_styles.hide")}]})]})}}class ae extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.label_color.title"),description:window.Buttonizer.translate("settings.label_color.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"label-color",parentObject:t,content:[new Xt({parentObject:t,dataEntry:"label_color",title:window.Buttonizer.translate("utils.text"),default:"#FFFFFF"}),new Xt({parentObject:t,dataEntry:"label_background_color",title:window.Buttonizer.translate("utils.background"),default:"#4E4C4C"})]})}}class le extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.icon.title"),description:window.Buttonizer.translate("settings.icon.description"),rowName:"icon",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new At({parentObject:t,dataEntry:"icon",default:"fa fa-user",onClick:(t,e)=>{window.Buttonizer.iconSelector.open(e)}})]})}}class ue{constructor(t){this.parentObject=t.parentObject,this.button=null,this.selectedImage=null,this.dataEntry=void 0===t.dataEntry?null:t.dataEntry,this.default=void 0===t.default?"":t.default,this.value=t.parentObject.get(t.dataEntry,""),this.callback=t.callback,this.parentObject.registerUI(this.dataEntry,this)}build(){return this.buildFree()}buildFree(){let t=document.createElement("a");return t.className="button",t.href="javascript:void(0)",t.innerHTML='<i class="fa fa-image"></i>&nbsp;&nbsp;'+window.Buttonizer.translate("utils.select_image")+" <small>(premium)</small>",t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("You can select images and set them as icon or as button background image.")}),t}}class ce extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.background_image.title"),description:window.Buttonizer.translate("settings.background_image.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"background-image",parentObject:t,content:[new ue({parentObject:t,dataEntry:"background_image"})]})}}class de extends Nt{constructor(t){super({parentObject:t,title:window.Buttonizer.translate("settings.use_main_button_style.title"),description:window.Buttonizer.translate("settings.use_main_button_style.description"),class:"is-boolean-only",rowName:"use_main_button_style",content:[new It({parentObject:t,dataEntry:"use_main_button_style",default:"true",callback:t=>this.update(t)})]}),this.parent=t}update(t){!0===t||"true"===t?(this.parent.getUI("background-color-container").forEach(t=>{t.disable()}),this.parent.getUI("label-color-container").forEach(t=>{t.disable()}),this.parent.getUI("border-radius-container").forEach(t=>{t.disable()}),this.parent.getUI("background-image-container").forEach(t=>{t.disable()})):(this.parent.getUI("background-color-container").forEach(t=>{t.show()}),this.parent.getUI("label-color-container").forEach(t=>{t.show()}),this.parent.getUI("border-radius-container").forEach(t=>{t.show()}),this.parent.getUI("background-image-container").forEach(t=>{t.show()}))}}class pe{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("div"),this.dataEntry=void 0===t.dataEntry?null:t.dataEntry,this.default=void 0!==t.default&&t.default,this.state=void 0!==t.state&&"true"==t.state,this.first=void 0===t.first?"First":t.first,this.second=void 0===t.second?"Second":t.second,this.callback=t.callback,null!==this.dataEntry&&this.parentObject.registerUI(this.dataEntry,this)}build(){this.element.className="buttonizer-toggle"+(!0===this.state?" right-selected":" left-selected");let t=document.createElement("a");t.href="javascript:void(0)",t.innerHTML=this.first,t.addEventListener("click",()=>this.toggle()),this.element.appendChild(t);let e=document.createElement("a");return e.href="javascript:void(0)",e.innerHTML=this.second,e.addEventListener("click",()=>this.toggle()),this.element.appendChild(e),this.element}toggle(){null!==this.dataEntry?this.parentObject.set(this.dataEntry,!this.state):this.callback(!1)}update(t){this.state=t,!1===t?(this.element.classList.add("left-selected"),this.element.classList.remove("right-selected")):(this.element.classList.remove("left-selected"),this.element.classList.add("right-selected")),this.callback(t)}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}}class he extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_or_image.title"),description:window.Buttonizer.translate("settings.icon_or_image.description"),useCustomBuild:!0,content:[()=>this.buildBoolean()]}),this.parent=t}buildBoolean(){return new pe({parentObject:this.parent,state:!1,first:window.Buttonizer.translate("utils.icon"),second:window.Buttonizer.translate("utils.image")+" <small>(premium)</small>",callback:()=>{window.Buttonizer.showPremiumPopup("You can select an custom image as icon for your buttons and groups.")}}).build()}}class me extends Nt{constructor(t){super({parentObject:t,title:window.Buttonizer.translate("settings.menu_position.title"),description:window.Buttonizer.translate("settings.menu_position.description"),wrap:!0,class:"form-has-extra-fields",rowName:"position",content:[new oe({parentObject:t,dataEntry:"position",default:"bottomright",callback:t=>this.changePosition(t),list:[{value:"bottomright",text:window.Buttonizer.translate("settings.menu_position.positions.bottomright")},{value:"bottomleft",text:window.Buttonizer.translate("settings.menu_position.positions.bottomleft")},{value:"topright",text:window.Buttonizer.translate("settings.menu_position.positions.topright")},{value:"topleft",text:window.Buttonizer.translate("settings.menu_position.positions.topleft")},{value:"advanced",text:window.Buttonizer.translate("settings.menu_position.positions.advanced")}]}),new At({parentObject:t,dataEntry:"horizontal",title:"X&nbsp;&lpar;&percnt;&rpar;",width:"space",hidden:"advanced"!==t.get("position"),onlyNumbers:!0}),new At({parentObject:t,dataEntry:"vertical",title:"Y&nbsp;&lpar;&percnt;&rpar;",width:"space",hidden:"advanced"!==t.get("position"),onlyNumbers:!0})]}),this.translatedPositions={topleft:{x:95,y:95},topright:{x:5,y:95},bottomleft:{x:95,y:5},bottomright:{x:5,y:5}},this.parentObject=t}changePosition(t){"advanced"===t?(this.parentObject.getUI("horizontal").forEach(t=>t.show()),this.parentObject.getUI("vertical").forEach(t=>t.show())):(this.parentObject.getUI("horizontal").forEach(t=>t.hide()),this.parentObject.getUI("vertical").forEach(t=>t.hide()),this.parentObject.set("horizontal",this.translatedPositions[t].x),this.parentObject.set("vertical",this.translatedPositions[t].y))}}class be extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.menu_animation.title"),description:window.Buttonizer.translate("settings.menu_animation.description"),parentObject:t,rowName:"animation",content:[new oe({parentObject:t,dataEntry:"menu_animation",default:"none",list:[{value:"none",text:window.Buttonizer.translate("settings.menu_animation.animations.none")},{value:"hello",text:window.Buttonizer.translate("settings.menu_animation.animations.hello")},{value:"bounce",text:window.Buttonizer.translate("settings.menu_animation.animations.bounce")},{value:"pulse",text:window.Buttonizer.translate("settings.menu_animation.animations.pulse")+(window.Buttonizer.hasPremium()?"":" (PRO)"),disabled:!window.Buttonizer.hasPremium()},{value:"jelly",text:window.Buttonizer.translate("settings.menu_animation.animations.jelly")+(window.Buttonizer.hasPremium()?"":" (PRO)"),disabled:!window.Buttonizer.hasPremium()}]})]})}}class fe extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.menu_style.title"),description:window.Buttonizer.translate("settings.menu_style.description"),parentObject:t,rowName:"style",content:[new oe({parentObject:t,dataEntry:"menu_style",default:"default",list:[{value:"default",text:window.Buttonizer.translate("settings.menu_style.styles.default")},{value:"faded",text:window.Buttonizer.translate("settings.menu_style.styles.faded"),hidden:!0},{value:"corner-circle",text:window.Buttonizer.translate("settings.menu_style.styles.cornercircle"),hidden:!0},{value:"building-up",text:window.Buttonizer.translate("settings.menu_style.styles.buildingup"),hidden:!0},{value:"pop",text:window.Buttonizer.translate("settings.menu_style.styles.pop"),hidden:!0},{value:"square",text:window.Buttonizer.translate("settings.menu_style.styles.square")},{value:"rectangle",text:window.Buttonizer.translate("settings.menu_style.styles.rectangle")}]})]})}}class we{constructor(t){this.buttonObject=t,this.groupSetting=HTMLElement,this.formElements={useMainButtonStyle:void 0,buttonColor:void 0,borderColor:void 0,borderRadius:void 0,backgroundImage:void 0,buttonIconSelect:void 0,buttonIconColor:void 0,buttonIconSize:void 0,buttonImageSelect:void 0,buttonImageIcon:void 0,buttonImageIconSelect:void 0,imageBorderRadius:void 0,imageSize:void 0,label:void 0,labelColor:void 0,labelFontSizeBorderRadius:void 0,show_label:void 0,showOnOpeningTimes:void 0,buttonCustomClass:void 0}}build(){let t=document.createElement("div");return t.className="button-group-styling",t.style.display="none",this.element=t,this.buildForm(),this.buttonObject.stylingObject=t,this.element}buildForm(){this.element.appendChild(this.generalSetting()),this.element.appendChild(this.buttonStyle()),this.element.appendChild(this.iconStyle()),this.element.appendChild(this.labelStyle()),this.element.appendChild(this.advancedSettings())}advancedSettings(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="advanced-settings"+(window.Buttonizer.hasPremium()?"":" buttonizer-premium-gray-out"),t.innerHTML="<i></i> "+window.Buttonizer.translate("utils.advanced_settings")+(window.Buttonizer.hasPremium()?"":" <span class='buttonizer-premium'>PRO</span>"),t.addEventListener("click",()=>{this.buttonObject.windowObject.toggle()}),t}generalSetting(){let t=document.createElement("div");return t.className="style-top",this.groupSetting=document.createElement("div"),this.groupSetting.className="style-group",this.formElements.menuPosition=new me(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuPosition.build()),this.formElements.menuPosition.element.style.display="none",this.formElements.menuAnimation=new be(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuAnimation.build()),this.formElements.menuAnimation.element.style.display="none",this.formElements.menuStyle=new fe(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuStyle.build()),this.formElements.menuStyle.element.style.display="none",t.appendChild(this.groupSetting),this.formElements.buttonAction=new Tt(this),t.appendChild(this.formElements.buttonAction.build()),this.formElements.isMobile=new ie(this.buttonObject),t.appendChild(this.formElements.isMobile.build()),t}buttonStyle(){let t=document.createElement("div");t.className="style-button";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.button_style")+"</span>",t.appendChild(e),this.formElements.useMainButtonStyle=new de(this.buttonObject),t.appendChild(this.formElements.useMainButtonStyle.build()),this.formElements.buttonColor=new ne(this.buttonObject),t.appendChild(this.formElements.buttonColor.build()),this.formElements.borderRadius=new Zt(this.buttonObject),t.appendChild(this.formElements.borderRadius.build()),this.formElements.backgroundImage=new ce(this.buttonObject),t.appendChild(this.formElements.backgroundImage.build()),this.formElements.labelColor=new ae(this.buttonObject),t.appendChild(this.formElements.labelColor.build()),t}iconStyle(){let t=document.createElement("div");t.className="style-icon";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.button_icon")+"</span>",t.appendChild(e),this.formElements.buttonIconOrImage=new he(this.buttonObject),t.appendChild(this.formElements.buttonIconOrImage.build()),this.formElements.buttonIconSelect=new le(this.buttonObject),t.appendChild(this.formElements.buttonIconSelect.build()),this.formElements.buttonIconColor=new Kt(this.buttonObject),t.appendChild(this.formElements.buttonIconColor.build()),this.formElements.buttonIconSize=new Jt(this.buttonObject),t.appendChild(this.formElements.buttonIconSize.build()),t}labelStyle(){let t=document.createElement("div");t.className="style-label";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.label")+"</span>",t.appendChild(e),this.formElements.buttonLabel=new Mt(this.buttonObject),t.appendChild(this.formElements.buttonLabel.build()),this.formElements.show_label=new se(this.buttonObject),t.appendChild(this.formElements.show_label.build()),this.formElements.show_label_mobile=new re(this.buttonObject),t.appendChild(this.formElements.show_label_mobile.build()),this.formElements.buttonLabelFontSizeBorderRadius=new te(this.buttonObject),t.appendChild(this.formElements.buttonLabelFontSizeBorderRadius.build()),t}}var ge=class{constructor(t,e){this.type="button",this.groupObject=t,this.alive=!0,this.data=e,this.ui=[],this.buttonName=e.name,this.id=-1,this.settingsOpened=!1,this.buttonHTMLObject=HTMLElement,this.buttonIconObject=HTMLElement,this.buttonTitleObject=HTMLElement,this.windowObject=HTMLElement,this.stylingObject=void 0,this.stylingObject=HTMLElement,this.settingsObject={},this.buildButton(),this.windowObject=new m(this),this.groupObject.registerButton(this)}buildButton(){let t=document.createElement("div");t.className="buttonizer-button-group group-button",t.appendChild(new Bt(this).build()),this.settingsObject=new we(this),Buttonizer.bar.settingContent.appendChild(this.settingsObject.build());var e=!1,i=!1;const n=xt(t,{content:window.Buttonizer.translate("bar.buttons.tippy_drag_warning"),animation:"shift-away",arrow:!0,hideOnClick:!1,trigger:"manual",onShow:()=>{i=!0,setTimeout(()=>{i=!1,n.hide()},5e3)}});t.addEventListener("mousedown",()=>{i||(e=!0)}),t.addEventListener("mouseout",()=>{e&&null!==jQuery(this.groupObject.groupBody).sortable("option","cancel")&&(e=!1,n.show())}),t.addEventListener("mouseup",()=>{e=!1}),this.buttonHTMLObject=t,this.groupObject.groupBody.appendChild(this.buttonHTMLObject)}removeButton(){this.alive=!1,this.buttonHTMLObject.remove(),window.Buttonizer.buttonChanges=!0,this.groupObject.buttonsAmount<=1&&jQuery(this.groupObject.groupBody).sortable("option","cancel",".group-button"),1===this.groupObject.getButtonsAlive()!==this.groupObject.singleButtonMode&&(this.groupObject.singleButtonMode=1===this.groupObject.getButtonsAlive(),this.groupObject.getButtons()[0].set("icon_size","25"),this.groupObject.groupHolder.setSingleButtonMode())}set(t,e){this.data[t]=e,this.ui[t].forEach(t=>t.update(e)),window.Buttonizer.buttonChanges=!0}get(t,e){return void 0!==this.data[t]?this.data[t]:(this.data[t]=e,window.Buttonizer.buttonChanges=!0,e)}registerUI(t,e){void 0!==this.ui[t]?this.ui[t].push(e):this.ui[t]=[e]}getUI(t){return void 0!==this.ui[t]&&this.ui[t]}revealSettings(){this.buttonHTMLObject.classList.add("opened"),this.stylingObject.style.display="block",Buttonizer.bar.showSettings(this.get("name"),()=>this.closeSettings())}closeSettings(){this.stylingObject.style.display="none",this.buttonHTMLObject.classList.remove("opened")}};var ye=class{constructor(t){this.groupObject=t,this.groupObject.stylingObject=this,this.groupHolder=null,this.titleElement=null,this.arrow=HTMLElement}build(){let t=document.createElement("div");return t.className="button-group-holder",t.appendChild(this.groupArrow()),t.appendChild(this.createTitle()),t.appendChild(this.groupSettingsButton()),t.appendChild(this.createButtonHolderButton()),t.appendChild(this.createQuickMenu()),this.groupHolder=t,t}createButtonHolderButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button";let e=document.createElement("i");return e.className="fas fa-ellipsis-v",t.appendChild(e),t.addEventListener("click",()=>{let t=this.groupHolder.className.indexOf("holder-show-quick-menu");jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),-1===t&&this.groupHolder.classList.add("holder-show-quick-menu")}),t}createQuickMenu(){let t=document.createElement("div");return t.className="group-holder-quick-menu",t.addEventListener("click",()=>{this.groupHolder.classList.remove("holder-show-quick-menu")}),t.appendChild(this.createQuickMenuButton("fas fa-plus",window.Buttonizer.translate("bar.buttons.convert_to_group"),()=>{new ge(this.groupObject,{name:window.Buttonizer.translate("common.button")+" 2",show_mobile:"true",show_desktop:"true"}),this.groupObject.getButtons()[0].set("icon_size","16"),this.groupObject.singleButtonMode=!1,this.setSingleButtonMode(),jQuery(this.groupObject.groupBody).sortable("option","cancel",null)},"convert-button")),t.appendChild(this.createQuickMenuButton("fas fa-wrench",window.Buttonizer.translate("common.settings"),()=>this.toggleStyling(),"")),t.appendChild(this.createQuickMenuButton("fas fa-cog",window.Buttonizer.translate("utils.advanced_settings"),()=>{this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].windowObject.toggle():this.groupObject.windowObject.toggle()},window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out")),t.appendChild(this.createQuickMenuButton("fas fa-pencil-alt",window.Buttonizer.translate("utils.rename"),()=>this.groupRename(),"")),t.appendChild(this.createQuickMenuButton("far fa-trash-alt",window.Buttonizer.translate("utils.delete"),()=>this.groupDelete(),"delete")),t.firstChild.style.display="none",this.quickMenu=t,t}createQuickMenuButton(t,e,i,n=""){let o=document.createElement("a");o.href="javascript:void(0)",o.className=n;let s=document.createElement("i");return s.className=t,o.appendChild(s),o.innerHTML+=e,o.addEventListener("click",t=>i(t)),o}groupArrow(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button pull-left has-background group-arrow";let e=document.createElement("i");e.className="fa fa-angle-down buttonizer-arrow-down",t.appendChild(e);let i=document.createElement("i");return i.className="fa fa-angle-up buttonizer-arrow-up",t.appendChild(i),t.addEventListener("click",()=>this.revealButtons()),this.arrow=t,t}createTitle(){let t=document.createElement("input");return t.type="text",t.className="group-title",t.value=this.groupObject.get("name"),t.setAttribute("readonly",""),t.id="buttonizer-group-title",this.titleElement=t,t.addEventListener("blur",()=>this.updateTitle()),t.addEventListener("keyup",e=>{e.preventDefault(),13===e.keyCode?this.updateTitle():27===e.keyCode&&(t.value=this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].data.name:this.groupObject.data.name,t.setAttribute("readonly",""))}),t.addEventListener("click",e=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),e.isTrusted&&t.hasAttribute("readonly")&&(this.groupObject.singleButtonMode?this.toggleStyling():this.revealButtons())}),t}updateTitle(){(this.groupObject.singleButtonMode?this.groupObject.getButtons()[0]:this.groupObject).data.name=this.titleElement.value,window.Buttonizer.buttonChanges=!0,this.titleElement.setAttribute("readonly","")}groupRename(){this.titleElement.hasAttribute("readonly")&&(this.titleElement.removeAttribute("readonly"),this.titleElement.focus())}groupSettingsButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button group-style";let e=document.createElement("i");return e.className="fas fa-wrench",t.appendChild(e),t.addEventListener("click",t=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),this.toggleStyling()}),t}toggleStyling(){this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].revealSettings():this.groupObject.groupSettings.show()}groupDelete(){if(this.groupObject.singleButtonMode)return window.Buttonizer.buttonGroups.length<=1?void new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]}):void new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_button")+"</p>",onConfirm:()=>{this.groupObject.removeGroup(),window.Buttonizer.buttonChanges=!0},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]});window.Buttonizer.buttonGroups.length<=1?new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete_group")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]}):new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_group"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_group_multiple_buttons").format(this.groupObject.getButtonsAlive())+"</p>",onConfirm:()=>{this.groupObject.removeGroup(),window.Buttonizer.buttonChanges=!0},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]})}revealButtons(){this.groupObject.groupOpened=!this.groupObject.groupOpened,this.groupObject.groupOpened?(this.groupObject.groupObject.classList.add("opened"),jQuery(this.groupObject.groupBody).sortable("enable")):(this.groupObject.groupObject.classList.remove("opened"),jQuery(this.groupObject.groupBody).sortable("disable")),this.groupObject.groupBody.style.display=this.groupObject.groupOpened?"block":"none"}setSingleButtonMode(){if(this.groupObject.singleButtonMode){this.quickMenu.firstChild.style.display="",this.titleElement.value=void 0===this.groupObject.getButtons()[0]?this.groupObject.firstButtonName:this.groupObject.getButtons()[0].data.name,this.groupHolder.classList.add("single-button"),this.groupObject.groupOpened&&this.revealButtons(),this.groupObject.getButtons()[0].set("use_main_button_style","false"),this.groupObject.getButtons()[0].getUI("use_main_button_style-container")[0].element.style.display="none",this.groupObject.getUI("position-container")[1].element.style.display="",this.groupObject.getUI("animation-container")[1].element.style.display="",this.groupObject.getUI("style-container")[1].element.style.display="";for(let t=0;t<this.groupObject.getUI("style-container")[1].content[0].element.length;t++)!0===this.groupObject.getUI("style-container")[1].content[0].list[t].hidden&&(this.groupObject.getUI("style-container")[1].content[0].element[t].style.display="none");this.groupObject.set("single_button_mode","true")}else this.quickMenu.firstChild.style.display="none",this.groupObject.getUI("position-container")[1].element.style.display="none",this.groupObject.getUI("animation-container")[1].element.style.display="none",this.groupObject.getUI("style-container")[1].element.style.display="none",this.groupObject.getButtons()[0].set("use_main_button_style","true"),this.groupObject.getButtons()[0].getUI("use_main_button_style-container")[0].element.style.display="",this.titleElement.value=this.groupObject.data.name,this.groupHolder.classList.remove("single-button"),this.groupObject.set("single_button_mode","false")}};class ve extends Nt{constructor(t){super({title:window.Buttonizer.translate("settings.start_opened.title"),description:window.Buttonizer.translate("settings.start_opened.description"),class:"is-boolean-only",content:[new It({parentObject:t,dataEntry:"start_opened",default:"false"})]})}}var _e=class{constructor(t){this.groupObject=t,this.open=!1,this.formElements={alwaysOpen:void 0,menuStyle:void 0,isMobile:void 0,isDesktop:void 0,attentionAnimation:void 0,buttonColor:void 0,borderRadius:void 0,backgroundImage:void 0,groupPosition:void 0,buttonIconSelect:void 0,buttonIconColor:void 0,buttonIconSize:void 0,buttonImageSelect:void 0,buttonImageBackground:void 0,buttonImageIconSelect:void 0,imageSize:void 0,imageBorderRadius:void 0,buttonLabel:void 0,buttonLabelColor:void 0,buttonLabelSize:void 0,show_label:void 0},this.element=HTMLElement}build(){let t=document.createElement("div");return t.className="button-group-styling hidden",this.element=t,this.hide(),this.buildTop(),this.buildForm(),this.groupObject.stylingObject=t,this.element}buildForm(){this.element.appendChild(this.top()),this.element.appendChild(this.menuStyle()),this.element.appendChild(this.buttonStyle()),this.element.appendChild(this.iconStyle()),this.element.appendChild(this.labelStyle());let t=document.createElement("a");t.href="javascript:void(0)",t.className="advanced-settings"+(window.Buttonizer.hasPremium()?"":" buttonizer-premium-gray-out"),t.innerHTML="<i></i> "+window.Buttonizer.translate("utils.advanced_settings")+(window.Buttonizer.hasPremium()?"":" <span class='buttonizer-premium'>PRO</span>"),t.addEventListener("click",()=>{this.groupObject.windowObject.toggle()}),this.element.appendChild(t)}top(){let t=document.createElement("div");return t.className="style-top",this.formElements.menuPosition=new me(this.groupObject),t.appendChild(this.formElements.menuPosition.build()),this.formElements.isMobile=new ie(this.groupObject),t.appendChild(this.formElements.isMobile.build()),t}menuStyle(){let t=document.createElement("div");t.className="style-menu";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.menu_style")+"</span>",t.appendChild(e),this.formElements.alwaysOpen=new ve(this.groupObject),t.appendChild(this.formElements.alwaysOpen.build()),this.formElements.menuStyle=new fe(this.groupObject),t.appendChild(this.formElements.menuStyle.build()),this.formElements.attentionAnimation=new be(this.groupObject),t.appendChild(this.formElements.attentionAnimation.build()),t}buttonStyle(){let t=document.createElement("div");t.className="style-button";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.group_style")+"</span>",t.appendChild(e),this.formElements.buttonColor=new ne(this.groupObject),t.appendChild(this.formElements.buttonColor.build()),this.formElements.borderRadius=new Zt(this.groupObject),t.appendChild(this.formElements.borderRadius.build()),this.formElements.backgroundImage=new ce(this.groupObject),t.appendChild(this.formElements.backgroundImage.build()),t}iconStyle(){let t=document.createElement("div");t.className="style-icon";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.group_icon")+"</span>",t.appendChild(e),this.formElements.buttonIcon=new he(this.groupObject),t.appendChild(this.formElements.buttonIcon.build()),this.formElements.buttonIconSelect=new le(this.groupObject),t.appendChild(this.formElements.buttonIconSelect.build()),this.formElements.buttonIconColor=new Kt(this.groupObject),t.appendChild(this.formElements.buttonIconColor.build()),this.formElements.buttonIconSize=new Jt(this.groupObject),t.appendChild(this.formElements.buttonIconSize.build()),t}labelStyle(){let t=document.createElement("div");t.className="style-label";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.label")+"</span>",t.appendChild(e),this.formElements.buttonLabel=new Mt(this.groupObject),t.appendChild(this.formElements.buttonLabel.build()),this.formElements.show_label=new se(this.groupObject),t.appendChild(this.formElements.show_label.build()),this.formElements.show_label_mobile=new re(this.groupObject),t.appendChild(this.formElements.show_label_mobile.build()),this.formElements.buttonLabelColor=new ae(this.groupObject),t.appendChild(this.formElements.buttonLabelColor.build()),this.formElements.buttonLabelFontSizeBorderRadius=new te(this.groupObject),t.appendChild(this.formElements.buttonLabelFontSizeBorderRadius.build()),t}buildTop(){}toggle(){(this.open=!0)?(this.open=!1,this.hide()):(this.open=!0,this.show())}show(){this.element.className="button-group-styling",Buttonizer.bar.showSettings(this.groupObject.get("name"),()=>this.hide())}hide(){this.element.className="button-group-styling hidden"}};class ke{constructor(t){this.windowObject=t,this.checkbox=document.createElement("input"),this.mainBox}build(){let t=this.createTable();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.exit_intent.pro_description"))}),t}createTable(){let t=document.createElement("div");t.appendChild(this.buildTriggers()),t.appendChild(this.createTriggerDropdown()),t.appendChild(this.createTriggerAnimation()),this.mainBox=t;let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.exit_intent.title")+"</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),e.addColumn(this.createCheckbox(),window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","10"),e.newRow(),e.addColumnHTML("","",""),e.addColumn(this.mainBox,window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","358"),e.newRow(),e.addColumnHTML("","",""),e.addColumnHTML(window.Buttonizer.translate("settings.exit_intent.info"),window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","358"),e.build()}buildTriggers(){let t=document.createElement("div");return t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.when_to_trigger")+"</b><br /><br />",t.appendChild(this.triggerLeavingWindow()),t.appendChild(this.triggerInactive()),t}triggerLeavingWindow(){let t=document.createElement("div");if(!window.Buttonizer.hasPremium())return t.innerHTML=window.Buttonizer.translate("settings.exit_intent.trigger_window"),t.prepend(new It({parentObject:this.windowObject.objectOwner,default:"true",disabled:!0,class:"inline-toggle",callback:()=>{}}).build()),t}triggerInactive(){let t=document.createElement("div");if(t.style.marginTop="10px",t.style.marginBottom="15px",!window.Buttonizer.hasPremium())return t.innerHTML=window.Buttonizer.translate("settings.exit_intent.trigger_inactive"),t.prepend(new It({parentObject:this.windowObject.objectOwner,default:"false",disabled:!0,class:"inline-toggle",callback:()=>{}}).build()),t}createTriggerDropdown(){let t=document.createElement("div");if(t.style.marginBottom="15px",t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.how_often._title")+"</b><br />",!window.Buttonizer.hasPremium())return t.appendChild(new oe({parentObject:this.windowObject.objectOwner,class:"window-select",disabled:!0,width:"100%",callback:()=>{},list:[{value:"first",text:window.Buttonizer.translate("settings.exit_intent.how_often.once_page")}]}).build()),t}createTriggerAnimation(){let t=document.createElement("div");if(t.style.marginBottom="15px",t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.animation._title")+"</b><br />",!window.Buttonizer.hasPremium())return t.appendChild(new oe({parentObject:this.windowObject.objectOwner,default:"first",class:"window-select",disabled:!0,width:"100%",callback:()=>{},list:[{value:"first",text:window.Buttonizer.translate("settings.exit_intent.animation.focused")}]}).build()),t}createCheckbox(){let t=document.createElement("div");window.Buttonizer.hasPremium()||(this.checkbox=new It({parentObject:this.windowObject.objectOwner,default:"false",disabled:!0,class:"inline-toggle",callback:t=>{}})),t.appendChild(this.checkbox.build());let e=document.createElement("span");return e.className="span-middle",e.innerHTML=window.Buttonizer.translate("settings.exit_intent.enable"),e.addEventListener("click",()=>this.checkbox.toggle()),t.appendChild(e),t}}class xe extends d{constructor(t){super(t,window.Buttonizer.translate("utils.advanced_settings")+" - "+window.Buttonizer.translate("common.group")+" "+t.data.name+(window.Buttonizer.hasPremium()?"":" (premium)"))}render(){this.filter(),this.delay(),this.styling()}filter(){let t=document.createElement("div");t.appendChild(new l(this).build()),t.appendChild(new a(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.filters"),t)}delay(){let t=document.createElement("div");t.appendChild(new u(this).build()),t.appendChild(new c(this).build()),t.appendChild(new ke(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.timeout_scroll"),t)}styling(){let t=document.createElement("div");t.appendChild(new h(this).build()),t.appendChild(new p(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.styling"),t)}}class Be{constructor(t,e){e||(e=[]),this.type="group",this.groupOpened=!1,this.data=t,this.ui={},this.groupObject=HTMLElement,this.groupID=window.Buttonizer.buttonGroups.length,this.stylingOpened=!1,this.stylingObject=HTMLElement,this.groupBody=HTMLElement,this.windowObject=HTMLElement,this.buttons=[],this.buttonsLength=e.length,this.singleButtonMode=!1,this.buildGroup(),this.windowObject=new xe(this);for(let t in e)new ge(this,e[t]);1===this.getButtonsAlive()!==this.singleButtonMode&&(this.singleButtonMode=1===this.getButtonsAlive(),this.groupHolder.setSingleButtonMode()),this.appendAddButton(),window.Buttonizer.buttonGroups.push(this)}get buttonsAmount(){return this.getButtonsAlive()}buildGroup(){let t=document.createElement("div");t.className="buttonizer-button-group is-group",this.groupObject=t,this.groupHolder=new ye(this),t.appendChild(this.groupHolder.build()),this.groupSettings=new _e(this),Buttonizer.bar.settingContent.appendChild(this.groupSettings.build()),this.appendAddButton(),this.groupBody=document.createElement("div"),this.groupBody.style.display="none",this.groupBody.className="button-group-body",t.appendChild(this.groupBody),jQuery(this.groupBody).sortable({items:"> div",axis:"y",cursor:"move",delay:150,handle:"#buttonizer-button-title",helper:"clone",cancel:this.buttonsLength<=1?".group-button":null,connectWith:".button-group-body",disabled:!0,start:(t,e)=>{jQuery(e.item).attr("previndex",e.item.index()),jQuery(e.item).attr("prevgroup",jQuery(this.groupBody).parent().index())},stop:(t,e)=>{jQuery(e.item).removeAttr("previndex"),jQuery(e.item).removeAttr("prevgroup")},update:function(t,e){if(this===e.item.parent()[0]){let t=e.item.index(),i=jQuery(e.item).attr("previndex"),n=jQuery(this).parent().index(),o=jQuery(e.item).attr("prevgroup");e.sender&&jQuery(this).sortable("option","cancel",null),window.Buttonizer.updateButtonList(t,i,n,o),jQuery(e.item).removeAttr("previndex"),jQuery(e.item).removeAttr("prevgroup")}}}),jQuery(this.groupBody).disableSelection(),jQuery(".group-title").disableSelection(),Buttonizer.bar.groupHolder.appendChild(this.groupObject)}duplicate(){new Be(this.data,this.buttons)}appendAddButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="create-new-button",t.innerHTML=window.Buttonizer.translate("utils.add_button")+" +",t.addEventListener("click",()=>{new ge(this,{name:window.Buttonizer.translate("common.button")+" "+(this.getButtonsAlive()+1),show_mobile:"true",show_desktop:"true"}),jQuery(this.groupBody).sortable("option","cancel",null)}),this.groupObject.appendChild(t)}registerButton(t){this.buttons.push(t)}removeGroup(){let t=window.Buttonizer.buttonGroups.indexOf(this);window.Buttonizer.buttonGroups.splice(t,1),this.groupObject.remove()}set(t,e){this.data[t]=e,void 0!==this.ui[t]&&this.ui[t].forEach(t=>t.update(e)),window.Buttonizer.buttonChanges=!0}get(t,e){return void 0!==this.data[t]?this.data[t]:(this.data[t]=e,window.Buttonizer.buttonChanges=!0,e)}getButtonsAlive(){let t=0;return this.buttons.forEach(e=>{e.alive&&t++}),t}getButtons(){return this.buttons.filter(t=>t.alive)}registerUI(t,e){void 0!==this.ui[t]?this.ui[t].push(e):this.ui[t]=[e]}getUI(t){return void 0!==this.ui[t]&&this.ui[t]}}var Ee=Be;var ze=class{constructor(t){this.buttonizerObject=t,this.topBarElement=HTMLElement,this.optionsWindow=HTMLElement,this.publishButton=HTMLElement,this.revertChangesText=HTMLElement,this.alertText=HTMLElement,this.eventListCache=[],this.eventTrackerMenuItem=null,this.eventTracker=null,this.windowOptions=[{buttons:[{title:"Buttonizer",description:window.Buttonizer.translate("bar.menu.version"),callback:()=>{window.open("https://www.buttonizer.pro/")}},{title:window.Buttonizer.translate("bar.menu.knowledgebase.title"),description:window.Buttonizer.translate("bar.menu.knowledgebase.description"),callback:()=>{window.open("https://community.buttonizer.pro/knowledgebase")}}]},{title:window.Buttonizer.translate("bar.menu.support_group"),buttons:[{title:window.Buttonizer.translate("bar.menu.support.title"),callback:()=>{window.open("https://community.buttonizer.pro/t/support")}},{title:window.Buttonizer.translate("bar.menu.community.title"),description:window.Buttonizer.translate("bar.menu.community.description"),callback:()=>{window.open("https://community.buttonizer.pro/")}},{title:window.Buttonizer.translate("bar.menu.tour.title"),description:window.Buttonizer.translate("bar.menu.tour.description"),callback:()=>{window.Buttonizer.startTour()}}]},{title:window.Buttonizer.translate("bar.menu.account_group"),buttons:[{title:window.Buttonizer.translate("bar.menu.account.title"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-account")}},{title:window.Buttonizer.translate("bar.menu.upgrade.title"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-pricing")}},{title:window.Buttonizer.translate("bar.menu.affiliation.title"),description:window.Buttonizer.translate("bar.menu.affiliation.description"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-affiliation")}}]},{buttons:[{title:window.Buttonizer.translate("page_rules.name"),icon:"fas fa-filter",class:window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out",callback:()=>{window.Buttonizer.hasPremium()?window.Buttonizer.pageRule.show():window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("page_rules.pro_description"),"SQnAhyBWLWg")}},{title:window.Buttonizer.translate("time_schedules.name"),icon:"far fa-clock",class:window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out",callback:()=>{window.Buttonizer.hasPremium()?window.Buttonizer.timeSchedule.show():window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("time_schedules.pro_description"),"C-B9ITdY6A4")}}]},{buttons:[{title:window.Buttonizer.translate("bar.menu.options.title"),icon:"fa fa-cogs",class:"single-button",callback:()=>{this.buttonizerObject.settingsWindow.toggle()}}]}],document.body.appendChild(this.buildTopBar())}buildTopBar(){let t=document.createElement("div");t.className="buttonizer-topbar";let e=document.createElement("div");return e.className="revert-save",e.style.display="inline-block",e.appendChild(this.createRevertChangesButton()),e.appendChild(this.createPublishButton()),t.appendChild(this.createBackButton()),t.appendChild(this.createLogo()),t.appendChild(e),t.appendChild(this.createOptionsButton()),t.appendChild(this.createAlertText()),t.appendChild(this.createOptionsWindow()),t.appendChild(this.createEventMenuItem()),t.appendChild(this.createEventWindow()),this.topBarElement=t,t}createOptionsButton(){let t=document.createElement("a");return t.className="options-button button right fas fa-cog",t.addEventListener("click",()=>{this.optionsWindow.toggle()}),t}createEventMenuItem(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="event-tracker-button",t.style.display="none",t.innerHTML="",t.addEventListener("click",()=>{"block"===this.eventTracker.container.style.display?this.eventTracker.container.style.display="none":this.eventTracker.container.style.display="block"}),this.eventTrackerMenuItem=t,t}createEventWindow(){let t=document.createElement("div");t.className="event-track-window",t.style.display="none",t.innerHTML=`<div class="track-window-title">${window.Buttonizer.translate("event_tracker.window_title")}</div>`;let e=document.createElement("a");e.href="javascript:void(0)",e.className="close",e.innerHTML='<i class="fas fa-times"></i>',e.addEventListener("click",()=>{t.style.display="none"}),t.appendChild(e);let i=document.createElement("div");return i.className="list-container",i.innerHTML="",t.appendChild(i),this.eventTracker={container:t,list:i},t}updateEventLogs(t){if(0!==t.length){if(this.eventListCache!==t){this.eventTrackerMenuItem.style.display="block",this.eventTrackerMenuItem.innerHTML='<i class="fas fa-info"></i> ('+t.length+") "+window.Buttonizer.translate("event_tracker.title"),this.eventTracker.list.innerHTML="";for(let e=0;e<t.length;e++){let i=document.createElement("div");i.className="event-element event-"+t[e].type,i.innerHTML=t[e].message,this.eventTracker.list.appendChild(i)}}}else this.eventTrackerMenuItem.style.display="none"}createOptionsWindow(){this.optionsWindow=document.createElement("div"),this.optionsWindow.className="options-window",this.optionsWindow.hidden=!0,this.optionsWindow.toggle=(()=>{this.optionsWindow.hidden=!this.optionsWindow.hidden});let t=document.createElement("ul");for(let e=0;e<this.windowOptions.length;e++){let i=document.createElement("li");if(i.className="group-container","string"==typeof this.windowOptions[e].title){let t=document.createElement("div");t.className="group-title",t.innerHTML=this.windowOptions[e].title,i.appendChild(t)}for(let t=0;t<this.windowOptions[e].buttons.length;t++)i.appendChild(this.barMenuItem(this.windowOptions[e].buttons[t]));t.appendChild(i)}return this.optionsWindow.appendChild(t),this.optionsWindow}barMenuItem(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className=t.class?"option "+t.class:"option";let i=document.createElement("span");if(i.className="button-title",i.innerHTML=t.title?t.title:"Default title",e.appendChild(i),t.hasOwnProperty("description")){let i=document.createElement("span");i.className="button-description",i.innerHTML=t.description?t.description:"",e.appendChild(i)}if(t.hasOwnProperty("icon")){let i=document.createElement("i");i.className=t.icon,e.appendChild(i)}return t.hasOwnProperty("callback")&&e.addEventListener("click",()=>{this.optionsWindow.toggle(),t.callback()}),e}createBackButton(){let t=document.createElement("a");return t.className="close-button fa fa-times",t.addEventListener("click",()=>{document.location.href=window.Buttonizer.buttonizerInitData.wordpress.admin_base}),t}createLogo(){let t=document.createElement("img");return t.className="buttonizer-logo",t.src=buttonizer_admin.assets+"/images/logo.png",t}createPublishButton(){return this.publishButton=document.createElement("a"),this.publishButton.className="publish-button button-primary right",this.publishButton.innerText=window.Buttonizer.translate("common.save_publish"),this.publishButton.enabled=!0,this.publishButton.addEventListener("click",()=>{this.publishButton.enabled&&this.buttonizerObject.savingMechanism.publish()}),this.publishButton.enable=(()=>{this.publishButton.enabled=!0,this.revertChangesText.hidden=!1,this.publishButton.innerText=window.Buttonizer.translate("common.save_publish"),this.publishButton.className=this.publishButton.className.replace(" disabled","")}),this.publishButton.disable=(t=>{this.publishButton.enabled=!1,this.revertChangesText.hidden=!0,this.publishButton.innerText=t,this.publishButton.className.includes(" disabled")||(this.publishButton.className+=" disabled")}),this.publishButton}createRevertChangesButton(){return this.revertChangesText=document.createElement("a"),this.revertChangesText.className="revert-button right",this.revertChangesText.innerText=window.Buttonizer.translate("revert.revert_changes"),this.revertChangesText.href="javascript:void(0)",this.revertChangesText.addEventListener("click",()=>{new s({title:window.Buttonizer.translate("revert.revert_changes"),content:"<p>"+window.Buttonizer.translate("revert.modal.intro")+"</p><p>"+window.Buttonizer.translate("revert.modal.action")+"</p>",onConfirm:()=>{this.buttonizerObject.savingMechanism.revert()},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("revert.revert_changes"),confirm:!0}]})}),this.revertChangesText}createAlertText(){return this.alertText=document.createElement("a"),this.alertText.className="alert-text",this.alertText.showSaving=(()=>{this.alertText.innerHTML='<i class="fas fa-mug-hot"></i> '+window.Buttonizer.translate("saving.saving"),this.alertText.hidden=!1}),this.alertText.showSaved=(()=>{this.alertText.innerHTML='<i class="fas fa-check"></i> '+window.Buttonizer.translate("saving.completed"),setTimeout(()=>{this.alertText.hidden=!0},2e3)}),this.alertText.alert=(t=>{this.alertText.innerText=t,this.alertText.hidden=!1,setTimeout(()=>{this.alertText.hidden=!0},2e3)}),this.alertText.hidden=!0,this.alertText}set changes(t){t?this.publishButton.enable():this.publishButton.disable(window.Buttonizer.translate("common.published"))}};var Ce=class{constructor(t){this.buttonizerObject=t,this.barElement=HTMLElement,this.groupContainer=HTMLElement,this.settingBar=HTMLElement,this.settingContainer=HTMLElement,this.settingContent=HTMLElement,this.settingTitle=HTMLElement,this.settingCallback=(()=>console.log("huh?")),document.body.appendChild(this.buildBar()),jQuery(this.groupContainer).scrollbar(),jQuery(this.settingContent).scrollbar()}buildBar(){let t=document.createElement("div");t.className="buttonizer-bar";let e=document.createElement("div");e.className="group-container container",e.appendChild(this.createButtonHolder()),e.appendChild(this.addButtonGroup()),t.appendChild(e),t.appendChild(this.createBarFooter()),this.barElement=t,this.groupContainer=e;let i=document.createElement("div"),n=document.createElement("div");n.className="settings-content";let o=document.createElement("div");return o.className="settings-container container hidden",o.appendChild(this.createSettingBar()),n.appendChild(i),o.appendChild(n),t.appendChild(o),this.settingContent=i,this.settingContainer=o,t}createSettingBar(){let t=document.createElement("div");t.className="top";let e=document.createElement("a");e.className="back-button fa fa-angle-left",e.addEventListener("click",()=>{jQuery(".settings-container").addClass("hidden"),jQuery(".group-container").removeClass("hidden"),setTimeout(()=>this.settingCallback(),250)}),t.appendChild(e);let i=document.createElement("div");i.className="title-wrapper";let n=document.createElement("h4");n.innerHTML=window.Buttonizer.translate("bar.buttons.now_editing");let o=document.createElement("h2");return o.innerHTML="nothing!",i.appendChild(n),i.appendChild(o),t.appendChild(i),this.settingBar=t,this.settingTitle=o,t}createButtonHolder(){return this.groupHolder=document.createElement("div"),this.groupHolder.className="buttonizer-group-holder",jQuery(this.groupHolder).sortable({items:"> div",axis:"y",cursor:"move",delay:150,handle:"#buttonizer-group-title",helper:"clone",start:function(t,e){jQuery(this).attr("data-previndex",e.item.index())},stop:function(t,e){jQuery(this).removeAttr("data-previndex")},update:function(t,e){var i=e.item.index(),n=jQuery(this).attr("data-previndex");window.Buttonizer.updateButtonGroupList(i,n),jQuery(this).removeAttr("data-previndex")},cancel:null}),jQuery(this.groupHolder).disableSelection(),jQuery(".group-title").disableSelection(),this.groupHolder}addButtonGroup(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="create-new-button is-create-group buttonizer-premium-gray-out",t.innerHTML=window.Buttonizer.translate("utils.add_group")+'+ <span class="buttonizer-premium">PRO</span>',t.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("premium.multiple_button_groups"),"Qxs1oGCVATU")),t}generateLink(t,e,i,n){n||(n="");let o=document.createElement("a");return o.href="javascript:void(0)",o.className=n,o.innerHTML='<i class="'+t+'"></i> '+e,o.addEventListener("click",i),o}showSettings(t,e){jQuery(".buttonizer-bar .settings-container").removeClass("hidden"),jQuery(".buttonizer-bar .group-container").addClass("hidden"),this.settingTitle.innerHTML=t,this.settingCallback=e}createBarFooter(){let t=document.createElement("div");t.className="bar-footer";let e=document.createElement("div");e.className="footer-device-selector";let i=document.createElement("a");i.href="javascript:void(0)",i.className="active",i.innerHTML='<span class="dashicons-before dashicons-desktop"></span>',i.addEventListener("click",()=>{i.classList.add("active"),n.classList.remove("active"),o.classList.remove("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame"}),xt(i,{content:window.Buttonizer.translate("bar.preview.desktop"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(i);let n=document.createElement("a");n.href="javascript:void(0)",n.innerHTML='<span class="dashicons-before dashicons-tablet"></span>',n.addEventListener("click",()=>{i.classList.remove("active"),n.classList.add("active"),o.classList.remove("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame frame-size-tablet"}),xt(n,{content:window.Buttonizer.translate("bar.preview.tablet"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(n);let o=document.createElement("a");return o.href="javascript:void(0)",o.innerHTML='<span class="dashicons-before dashicons-smartphone"></span>',o.addEventListener("click",()=>{i.classList.remove("active"),n.classList.remove("active"),o.classList.add("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame frame-size-mobile"}),xt(o,{content:window.Buttonizer.translate("bar.preview.mobile"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(o),t.appendChild(e),t}};var je=class{constructor(){this.element=document.createElement("div"),this.element.className="buttonizer-loading";let t=document.createElement("div");t.className="middle";let e=document.createElement("img");e.src=buttonizer_admin.assets+"/images/buttonizer-loading.png",t.innerHTML=this.svg(),t.appendChild(e),this.textElement=document.createElement("div"),this.textElement.className="loader-text",t.appendChild(this.textElement),this.element.appendChild(t),document.body.appendChild(this.element)}svg(){return'<svg width="165" height="165" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-rolling"><circle cx="50" cy="50" fill="none" stroke="#2f788a" stroke-width="7" r="35" stroke-dasharray="164.93361431346415 56.97787143782138" transform="rotate(300 50 50)">\x3c!--animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"--\x3e</animateTransform></circle></svg>'}show(t,e=""){t||(t=""),this.textElement.innerHTML=t,this.element.className="buttonizer-loading "+e,this.element.style.display="block"}hide(){this.element.style.display="none"}};var Se=class{constructor(){this.updateTimer=setTimeout(()=>{},0),this.isUpdating=!1,this.tempButtons={},this.savingObject=HTMLElement,this.savedObject=HTMLElement,setInterval(()=>this.checkUpdates(),500)}checkUpdates(){window.Buttonizer.buttonChanges&&!this.isUpdating&&(window.Buttonizer.buttonChanges=!1,clearTimeout(this.updateTimer),this.updateTimer=setTimeout(()=>this.save(),1e3))}save(){window.Buttonizer.buttonChanges||(this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,window.Buttonizer.topBar.alertText.showSaving(),console.log("[BUG DEBUG SAVING AND RELOADING] button changes!"),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=buttons",dataType:"json",method:"post",data:{security:buttonizer_admin.security,buttons:this.generateJSONObject()},success:t=>{this.isUpdating=!1,"success"===t.status?(console.log("[BUG DEBUG SAVING AND RELOADING] saved!"),window.Buttonizer.topBar.alertText.showSaved(),this.reloadPreview(),window.Buttonizer.changes=!0):window.Buttonizer.savingError(t.message)},error:t=>{this.isUpdating=!1,window.Buttonizer.savingError(t)}}))}publish(){window.Buttonizer.buttonChanges||this.isUpdating||(this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,window.Buttonizer.topBar.publishButton.disable(window.Buttonizer.translate("common.publishing")),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=publish",dataType:"json",data:{security:buttonizer_admin.security},method:"post",success:t=>{this.isUpdating=!1,"success"===t.status?window.Buttonizer.topBar.publishButton.disable(window.Buttonizer.translate("common.published")):new s({title:window.Buttonizer.translate("errors.saving.title"),content:`<p>${window.Buttonizer.translate("errors.saving.message")}.</p><p>${t.message}</p>`,buttons:[{text:"Close",close:!0}]})},error:(t,e,i)=>{this.isUpdating=!1,window.Buttonizer.topBar.publishButton.enable(),window.bdebug.error("Couldn't complete saving: "+t)}}))}revert(){window.Buttonizer.buttonChanges||(window.Buttonizer.loader.show(window.Buttonizer.translate("revert.reverting")),this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=revert",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{if(this.isUpdating=!1,"success"!==t.status)return window.Buttonizer.loader.hide(),void new s({title:window.Buttonizer.translate("revert.error.title"),content:`<p>${window.Buttonizer.translate("revert.error.message")}</p><p>${t.message}</p>`,buttons:[{text:"Close",close:!0}]});document.location.reload()},error:(t,e,i)=>{this.isUpdating=!1,window.bdebug.error("Couldn't complete saving: "+t)}}))}reloadPreview(){console.log("[BUG DEBUG SAVING AND RELOADING] requested!");try{document.getElementById("buttonizer-iframe").contentWindow.postMessage({eventType:"buttonizer",messageType:"preview-reload"},document.location.origin)}catch(t){console.log("Buttonizer tried to auto update the Buttonizer Buttons. But the message didn't came through. Well. Doesn't matter, it's just an extra function. It's nice to have."),console.log(t),document.getElementById("buttonizer-iframe").contentWindow.location.reload()}}generateJSONObject(){let t=window.Buttonizer.buttonGroups,e=[];for(let i=0;i<t.length;i++){let n=t[i].buttons,o=[];for(let t=0;t<n.length;t++)n[t].alive&&o.push(n[t].data);e.push({data:t[i].data,buttons:o})}return e}},Oe=class{constructor(){this.versionDropdown={},this.libraryPremiumCode={},this.currentSelected=window.Buttonizer.getSetting("icon_library","fontawesome"),this.currentSelectedIndex=null,this.currentSelectedVersion=window.Buttonizer.getSetting("icon_library_version","5.free"),this.currentSelectedVersionIndex=null,this.currentSelectedPremiumCode=window.Buttonizer.getSetting("icon_library_code",""),this.cachedPremium=[],this.libraries=[{name:"Font Awesome",id:"fontawesome",versions:[{id:"5.free",name:"Font Awesome 5 - "+window.Buttonizer.translate("settings_window.icon_library.free")+" - "+window.Buttonizer.translate("settings_window.icon_library.latest"),free:!0},{id:"5.paid",name:"Font Awesome 5 - Pro - "+window.Buttonizer.translate("settings_window.icon_library.latest"),free:!1},{id:"4.7.0",name:"Font Awesome 4.7",free:!0}]}]}build(){let t=document.createElement("div");return t.appendChild(this.iconLibrary()),t.appendChild(this.versionSelector()),t.appendChild(this.importIconLibrary()),t}showPremiumIcons(){return!0}iconLibrary(){let t=document.createElement("select");t.className="window-select";for(let e=0;e<this.libraries.length;e++){let i=document.createElement("option");i.value=e,i.text=this.libraries[e].name,i.setAttribute("data-index",e.toString()),this.currentSelected===this.libraries[e].id&&(i.selected=!0,this.currentSelectedIndex=e),t.appendChild(i)}t.addEventListener("change",()=>{this.currentSelected=t.value,this.currentSelectedIndex=Number(t.getAttribute("data-index")),this.currentSelectedVersion=0,window.Buttonizer.saveSettings({icon_library:t.value,icon_library_version:this.libraries[this.currentSelectedIndex].versions[0]},!1),this.buildVersionSelector(),this.reloadIframe()});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.icon_library.info");let i=new r;return i.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.title")+"</h2>"),i.addColumn(t,"","370"),i.newRow(),i.addColumnText(""),i.addColumn(e),i.build()}versionSelector(){this.versionDropdown=document.createElement("select"),this.versionDropdown.className="window-select",this.versionDropdown.addEventListener("change",()=>{this.currentSelectedVersion=this.versionDropdown.value,window.Buttonizer.saveSettings({icon_library_version:this.currentSelectedVersion},!1),this.currentSelectedVersion.indexOf("paid")>=0?(this.libraryPremiumCode.style.display="block",""!==this.currentSelectedPremiumCode&&this.reloadIcons()):(this.libraryPremiumCode.style.display="none",this.reloadIcons())});let t=document.createElement("div");t.innerHTML=window.Buttonizer.translate("settings_window.icon_library.select_version.info");let e=new r;e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.select_version.title")+"</h2>"),e.addColumn(this.versionDropdown,"","370"),e.newRow(),e.addColumnText(""),e.addColumn(t);let i=document.createElement("div");return i.appendChild(e.build()),i.appendChild(this.libraryLicenseKey()),this.buildVersionSelector(),i}reloadIcons(){window.Buttonizer.iconSelector.iconListener.onReady(()=>{window.Buttonizer.iconSelector.rebuild(),window.Buttonizer.addIconLibrary(),this.reloadIframe()}),window.Buttonizer.iconSelector.iconListener.loadIcons()}libraryLicenseKey(){let t=document.createElement("div");t.innerHTML=window.Buttonizer.translate("settings_window.icon_library.library_license_key.info")+'<a href="" target="_blank" class="link-add-more" style="display: inline">'+window.Buttonizer.translate("settings_window.icon_library.library_license_key.how_does_it_work")+"</a>";let e=document.createElement("input");e.placeholder=window.Buttonizer.translate("settings_window.icon_library.library_license_key.enter_integrity_code"),e.className="window-select",e.value=this.currentSelectedPremiumCode,e.addEventListener("change",()=>{window.Buttonizer.saveSettings({icon_library_code:e.value},!1),this.reloadIcons()});let i=new r;return i.addColumnHTML(" "),i.addColumn(e,"","370"),i.newRow(),i.addColumnText(""),i.addColumn(t),this.libraryPremiumCode=i.build(),this.libraryPremiumCode}buildVersionSelector(){this.versionDropdown.innerHTML="";let t=!1;for(let e=0;e<this.libraries[this.currentSelectedIndex].versions.length;e++){let i=document.createElement("option");i.value=this.libraries[this.currentSelectedIndex].versions[e].id,i.text=this.libraries[this.currentSelectedIndex].versions[e].name,this.currentSelectedVersion===i.value&&(i.selected=!0,this.libraries[this.currentSelectedIndex].versions[e].free||(t=!0)),this.versionDropdown.appendChild(i)}this.libraryPremiumCode.style.display=t?"block":"none"}importIconLibrary(){let t=new Et({state:window.Buttonizer.getSetting("import_icon_library",!0)});t.onToggle(t=>{window.Buttonizer.saveSettings({import_icon_library:t},!1),this.reloadIframe()});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.icon_library.import_library.info");let i=new r;return i.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.import_library.title")+"</h2>"),i.addColumn(t.build(),"","370"),i.newRow(),i.addColumnText(""),i.addColumn(e),this.buildVersionSelector(),i.build()}reloadIframe(){setTimeout(()=>{document.getElementById("buttonizer-iframe").contentWindow.location.reload()},1500)}};class Le{constructor(){this.versionDropdown={},this.currentSelected=window.Buttonizer.getSetting("google_analytics","")}build(){let t=document.createElement("div");t.appendChild(this.input());let e=document.createElement("a");return e.href="https://community.buttonizer.pro/knowledgebase/17",e.target="_blank",e.className="info-link text-big",e.innerHTML='<i class="fas fa-info"></i> '+window.Buttonizer.translate("settings_window.google_analytics.info"),e.style.marginTop="40px",e.style.textAlign="center",t.appendChild(e),t}input(){let t=document.createElement("input");t.value=this.currentSelected,t.className="window-select",t.placeholder="UA-XXXXXX-Y",t.addEventListener("change",()=>{window.Buttonizer.saveSettings({google_analytics:t.value},!1)});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.google_analytics.input_info");let i=new r;return i.addColumnHTML("<h2>Google Analytics</h2>"),i.addColumn(t,"","375"),i.newRow(),i.addColumnText(""),i.addColumn(e),i.build()}}class Te{constructor(){}build(){let t=document.createElement("div"),e=document.createElement("div");return e.className="settings-window-information",e.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.info")+"</p>",t.appendChild(e),t.appendChild(this.whatWillHappen()),t.appendChild(this.why()),t.appendChild(this.myLicense()),t.appendChild(this.andThen()),t.appendChild(this.ready()),t}whatWillHappen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.what_will_happen.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.what_will_happen.info")+"</p>",t.appendChild(i),t}why(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.why.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.why.info")+"</p>",t.appendChild(i),t}myLicense(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.license.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML=`\n<p>${window.Buttonizer.translate("settings_window.reset.license.info")}</p>\n<p>\n<ul>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.buttons")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.groups")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.time_schedules")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.page_rules")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.settings")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.published")}</li>\n</ul>\n</p>\n`,t.appendChild(i),t}andThen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.default_settings.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.default_settings.info")+"</p>",t.appendChild(i),t}ready(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.ready.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.ready.info")+"</p>",t.appendChild(i);let n=document.createElement("a");return n.className="button button-red button-centered-reset",n.innerHTML='<i class="fas fa-sync"></i> '+window.Buttonizer.translate("settings_window.reset.ready.button"),n.href="javascript:void(0)",n.addEventListener("click",()=>this.countdown()),t.appendChild(n),t}countdown(){window.Buttonizer.loader.show(window.Buttonizer.translate("loading.initializing")),setTimeout(()=>{window.Buttonizer.loader.show(window.Buttonizer.translate("loading.resetting")),this.reset()},1500)}reset(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=reset-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show(window.Buttonizer.translate("loading.finishing")),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})}error(){}}class Ne{constructor(){}build(){let t=document.createElement("div"),e=document.createElement("div");return e.className="settings-window-information",e.innerHTML="<p>We have fixed the migration issues in the last couple updates. \n If you lost buttons when updating to version 2.0,\n you can try migrating your old buttons again!</p>",t.appendChild(e),t.appendChild(this.whatWillHappen()),t.appendChild(this.why()),t.appendChild(this.caution()),t.appendChild(this.ready()),t}whatWillHappen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="What happens when I click the red button below?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>Buttonizer made a backup of your buttons from version 1.5.x in your database. \n When you click on the button below, it will convert that backup into buttons suitable for version 2.0.\n It will not remove the backup so that you can still revert back to version 1.5.7 if you want!</p>",t.appendChild(i),t}why(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Why would I do that?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>During the first update to version 2.0, a couple of users lost their settings or buttons!\n Since then we've fixed all the reported migration issues.\n <b>This is a chance for those who lost their buttons to try and see if they can migrate their old buttons again.</b></p>",t.appendChild(i),t}caution(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Extra! Extra!",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="\n <p>A little warning! \n This will remove your current Buttonizer version 2.0 buttons/settings. \n <b>It will not make a backup!</b></p>",t.appendChild(i),t}andThen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Okay, sounds good. What then?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>Buttonizer will go back to the default settings and will behave like a fresh installation. That's all.</p>",t.appendChild(i),t}ready(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Okay, I'm ready!",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");i.className="settings-window-information",i.innerHTML="<p>Press the red button below to re-migrate old data. There will be no more warnings.</p>",t.appendChild(i);let n=document.createElement("a");return n.className="button button-red button-centered-reset",n.innerHTML='<i class="fas fa-sync"></i> Re-migrate old data!',n.href="javascript:void(0)",n.addEventListener("click",()=>this.countdown()),t.appendChild(n),t}countdown(){window.Buttonizer.loader.show("Initializing..."),setTimeout(()=>{window.Buttonizer.loader.show("Running migration..."),this.remigrate()},1500)}remigrate(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=remigrate-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show("Finishing..."),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})}error(){}}class Ae{build(){let t=document.createElement("div");return t.appendChild(this.showWPAdminTopBarButton()),t.appendChild(this.showTooltips()),t.appendChild(this.allowRequestsFromSubdomains()),t}showWPAdminTopBarButton(){let t=new Et({state:window.Buttonizer.getSetting("admin_top_bar_show_button","true")});t.onToggle(t=>{window.Buttonizer.saveSettings({admin_top_bar_show_button:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.admin_button.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.admin_button.info")),e.build()}showTooltips(){let t=new Et({state:window.Buttonizer.getSetting("show_tooltips")});t.onToggle(t=>{window.Buttonizer.saveSettings({show_tooltips:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.tooltips.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.tooltips.info")),e.build()}allowRequestsFromSubdomains(){let t=new Et({state:window.Buttonizer.getSetting("allow_subdomains","false")});t.onToggle(t=>{window.Buttonizer.saveSettings({allow_subdomains:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.subdomain.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.subdomain.info")),e.build()}}var Ie=class extends d{constructor(){super({},window.Buttonizer.translate("settings_window.title"))}render(){this.fontAwesome(),this.analytics(),this.mainSettings(),this.reset()}fontAwesome(){super.addItem(window.Buttonizer.translate("settings_window.icon_library.title"),(new Oe).build())}analytics(){super.addItem("Google Analytics",(new Le).build())}mainSettings(){super.addItem(window.Buttonizer.translate("settings_window.other_settings.title"),(new Ae).build())}remigrate(){super.addItem("Re-migrate",(new Ne).build())}reset(){super.addItem(window.Buttonizer.translate("settings_window.reset.title"),(new Te).build())}},Me=class{constructor(){this.element=null,this.itemList=null,this.searchList=null,this.searchInput=null,this.fontAwesomeStylesheet=null,this.iframeContent=null,this.mayClose(),this.build(),this.iconListener=new class{constructor(){this.icons=[],this.callback=(()=>{}),this.searchResultCache=[],this.loadIcons()}onReady(t){this.callback=t}getIcons(){return this.icons}search(t){if(void 0!==this.searchResultCache[t])return this.searchResultCache[t];let e=[];for(let i=0;i<this.icons.length;i++){let n=this.icons[i];(n.searchTerms.indexOf(t)>=0||n.name.indexOf(t)>=0)&&e.push(n)}return this.searchResultCache[t]=e,e}loadIcons(){this.searchResultCache=[],this.icons=[];let t=window.Buttonizer.settings.icon_library,e=window.Buttonizer.settings.icon_library_version;jQuery.ajax({url:buttonizer_admin.assets+"/icon_definitions/"+t+"."+e+".json?buttonizer-icon-cache="+window.Buttonizer.version,dataType:"json",method:"get",success:i=>{this.icons=i,console.log("Finished loading icon library '"+t+"' version "+e),this.callback()},error:()=>{console.error("Could not load icon library '"+t+"' version "+e)}})}},this.iconLibrary=new Oe,this.currentInput=null,this.currentInputJ=null,this.searchTimeout=setTimeout(()=>{},1),setInterval(()=>this.stayOnPlace(),100),this.firstBuild=!0,this.opened=!1}build(){let t=document.createElement("div");t.className="buttonizer-icon-selector";let e=document.createElement("div");e.className="icon-selector-searchbar";let i=document.createElement("input");i.className="icon-selector-searchbar",i.placeholder=window.Buttonizer.translate("utils.search_icons"),i.addEventListener("keyup",()=>{clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.search(i.value)},200)}),this.searchInput=i,e.appendChild(this.searchInput),t.appendChild(e);let n=document.createElement("iframe");n.height="350px",n.width="100%",n.src="about:blank",n.frameborder=0,n.addEventListener("load",()=>{n.contentDocument.querySelector("head").appendChild(window.Buttonizer.iconLibraryStylesheet);let t=document.createElement("style");t.innerText='\nbody, html {\n background-color: #f5f5f5;\n margin: 0;\n padding: 0;\n font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;\n font-size: 14px;\n}\n\n.icon-selector-list {\n border-top: 1px solid #e7e7e7;\n overflow: auto;\n text-align: center;\n}\n\n.icon-selector-list a {\n background-color: #f5f5f5;\n color: #464646;\n font-size: 19px;\n width: 16%;\n height: 50px;\n line-height: 50px;\n text-decoration: none;\n display: inline-block;\n text-align: center;\n outline: none;\n}\n\n.icon-selector-list a:hover {\n background-color: #e7e7e7;\n}\n\n.icon-selector-list a:focus {\n box-shadow: none !important;\n}\n\n.fa, .fal, .far, .fas, .fab {\n line-height: 50px !important;\n}',n.contentDocument.querySelector("head").appendChild(t),this.itemList=document.createElement("div"),this.itemList.className="icon-selector-list",n.contentDocument.body.appendChild(this.itemList),this.searchList=document.createElement("div"),this.searchList.className="icon-selector-list search-list",this.searchList.style.display="none",n.contentDocument.body.appendChild(this.searchList)}),this.iframeContent=n,t.appendChild(this.iframeContent),this.element=t,document.body.appendChild(this.element)}search(t){if(""===t)return this.searchList.style.display="none",this.itemList.style.display="block",void(this.iframeContent.height="350px");this.searchList.style.display="block",this.itemList.style.display="none";let e=this.iconListener.search(t);e.length>0?(this.searchList.innerHTML="",this.showIcons(this.searchList,e),jQuery(this.searchList).height()>350?this.iframeContent.height="350px":this.iframeContent.height=jQuery(this.searchList).height()+5+"px"):(this.iframeContent.height="50px",this.searchList.innerHTML=`<p>${window.Buttonizer.translate("utils.search_not_found")} <b>${t}</b></p>`)}rebuild(){this.itemList.innerHTML="",this.searchList.innerHTML="",this.showIcons(this.itemList,this.iconListener.getIcons())}showIcons(t,e){for(let i=0;i<e.length;i++){let n=e[i];for(let e=0;e<n.icons.length;e++){let i=document.createElement("a");i.innerHTML=`<i class="${n.icons[e].icon}"></i>`,i.href="javascript:void(0)",i.title=n.name+" ("+n.icons[e].type+")",i.addEventListener("click",()=>{if(null!==this.currentInput){if(this.currentInput.value=n.icons[e].icon,"createEvent"in document){let t=document.createEvent("HTMLEvents");t.initEvent("change",!1,!0),this.currentInput.dispatchEvent(t)}else this.currentInput.fireEvent("onchange");this.close()}}),t.appendChild(i)}}}open(t){this.currentInput=t,this.currentInputJ=jQuery(this.currentInput),this.searchInput.value="",this.searchList.style.display="none",this.itemList.style.display="block",this.element.style.display="block",setTimeout(()=>{this.searchInput.focus(),this.opened=!0,this.stayOnPlace(),setTimeout(()=>{this.element.className="buttonizer-icon-selector selector-animated",this.firstBuild&&(this.firstBuild=!1,this.rebuild())},250)},50)}mayClose(){document.querySelector("body").addEventListener("click",t=>{this.opened&&"icon-selector-searchbar"!==t.target.className&&(this.element.style.display="none",this.element.className="buttonizer-icon-selector",this.opened=!1)}),setTimeout(()=>{document.querySelector("#buttonizer-iframe").contentDocument.addEventListener("click",t=>{this.opened&&"icon-selector-searchbar"!==t.target.className&&(this.element.style.display="none",this.element.className="buttonizer-icon-selector",this.opened=!1)})},500)}close(){this.element.style.display="none",this.opened=!1}stayOnPlace(){if(this.opened){let t=this.currentInputJ.offset().top+this.currentInputJ.height()+10+"px";t!==this.element.style.top&&(this.element.style.top=t,this.element.style.left=this.currentInputJ.offset().left+"px")}}},He=(i(7),i(0));const qe=i(12);class Pe{constructor(){this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.single="",this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1}build(){let t=this.intro();t.onchange(e=>this.conditions(t._currentStep,e,1)),t.start(),t.onbeforeexit(()=>this.onExit(t._currentStep,1)),t.onexit(()=>{this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,20===t._currentStep&&window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").click()})}getAmount(){return this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.amount}conditions(t,e,i){if(this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,1===i)if(0===t)window.Buttonizer.bar.settingContainer.classList.contains("hidden")||window.Buttonizer.bar.settingContainer.querySelector(".back-button").click();else if(4===t){if(!this.setupStep5){this.setupStep5=!0,document.querySelector(".options-button").addEventListener("click",()=>{null!==this.tour&&this.tour.goToStep(6)})}"backward"===this.tour._direction&&(document.querySelector(".options-window").hasAttribute("hidden")||document.querySelector(".options-window").setAttribute("hidden",""))}else if(5===t)document.querySelector(".options-window").hasAttribute("hidden")&&document.querySelector(".options-window").removeAttribute("hidden"),"backward"===this.tour._direction&&document.querySelector(".options-window").classList.remove("disabled");else if(6===t){document.querySelector(".options-window").hasAttribute("hidden")&&document.querySelector(".options-window").removeAttribute("hidden"),document.querySelector(".options-window").setAttribute("style","z-index:9999999 !important"),document.querySelector(".options-window").classList+=" disabled";let t=window.Buttonizer.topBar.optionsWindow.querySelector(".single-button");t.style.pointerEvents="all",t.style.cursor="pointer",this.setupStep7||(this.setupStep7=!0,t.addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})),"backward"===this.tour._direction&&(window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="none")}else if(7===t)document.querySelector(".options-window").removeAttribute("style","z-index:9999999 !important"),document.querySelector(".options-window").classList.remove("disabled"),window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="block",window.Buttonizer.settingsWindow.title.parentElement.parentElement.setAttribute("style","z-index:9999999 !important;pointer-events: none;"),document.querySelector(".options-window").hasAttribute("hidden")||document.querySelector(".options-window").setAttribute("hidden","");else if(8===t)window.Buttonizer.settingsWindow.title.parentElement.parentElement.removeAttribute("style","z-index:9999999 !important"),window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="none";else if(9===t){if(!this.setupStep10){this.setupStep10=!0,window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder").querySelector(".group-style").addEventListener("click",()=>{null!==this.tour&&!1===this.setupStep11&&this.tour.nextStep()})}"backward"===this.tour._direction&&(this.setupStep11=!1,Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 50px; height: 60px; top: 67px; left: 276px;"),document.querySelector(".introjs-helperLayer").setAttribute("style","width: 50px; height: 60px; top: 67px; left: 276px;")},100),window.Buttonizer.bar.settingContainer.querySelector(".back-button").click())}else if(10===t)"forward"===this.tour._direction&&(0==this.setupStep11&&(this.setupStep11=!0,window.Buttonizer.buttonGroups[0].groupHolder.toggleStyling()),this.tour._introItems[11].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-top"),this.tour._introItems[13].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-button"),this.tour._introItems[14].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-icon"),this.tour._introItems[15].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-label"),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 385px; height: 966px; top: 46px; left: -5px;")},100),window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="none");else if(12===t)1===this.amount&&("forward"===this.tour._direction?Object(He.setTimeout)(()=>{this.tour.nextStep()},100):"backward"===this.tour._direction&&Object(He.setTimeout)(()=>{this.tour.previousStep()},100));else if(15===t)"backward"===this.tour._direction&&(window.Buttonizer.buttonGroups[0].groupHolder.toggleStyling(),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 371px; height: 263px; top: 688px; left: 2px;")},100));else if(16===t||17===t||18===t||19===t){window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").addEventListener("click",()=>{null!==this.tour&&this.tour.goToStep(21)}),16===t&&(this.tour._direction="forward")&&(1===this.getAmount()&&window.Buttonizer.buttonGroups[0].groupHolder.quickMenu.querySelector(".convert-button").click(),window.Buttonizer.buttonGroups[0].groupObject.classList.contains("opened")||window.Buttonizer.buttonGroups[0].groupHolder.revealButtons(),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"width: 333px !important; height: 48px !important; left: 36px !important;"),document.querySelector(".introjs-helperLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"width: 333px !important; height: 48px !important; left: 36px !important;")},100))}else 20===t&&Object(He.setTimeout)(()=>{this.tour.exit()},100);else if(2===i){let e=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1];if(0===t);else if(2===t)Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"left: 276px !important;")},100);else if(2===t)"backward"===this.tour._direction&&(e.querySelector(".group-title").style.pointerEvents="all",e.querySelector(".mobile-desktop").style.pointerEvents="all");else if(3===t)(e.querySelector(".group-holder-quick-menu").style.visibility="visible")&&(e.querySelector(".group-holder-quick-menu").style.visibility="hidden",e.querySelector(".group-holder-quick-menu").style.top="45px",e.querySelector(".group-holder-quick-menu").style.opacity="0"),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style"))},100),e.querySelector(".group-title").style.pointerEvents="none",e.querySelector(".mobile-desktop").style.pointerEvents="none",this.setup2Step4||(this.setup2Step4=!0,e.querySelector(".holder-button").addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})),e.querySelector(".holder-button").style.backgroundColor="rgb(255, 255, 255)";else if(4===t){if((e.querySelector(".group-holder-quick-menu").style.visibility="hidden")&&(e.querySelector(".group-holder-quick-menu").style.visibility="visible",e.querySelector(".group-holder-quick-menu").style.top="50px",e.querySelector(".group-holder-quick-menu").style.opacity="1"),"backward"===this.tour._direction){e.querySelector(".fa-wrench").parentElement.style.pointerEvents="none",e.querySelector(".group-holder-quick-menu").style.pointerEvents="none"}else"forward"===this.tour._direction&&(e.querySelector(".group-holder-quick-menu").style.pointerEvents="none");this.amount>=8&&Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"top: 684px !important;")},100)}else if(5===t){"backward"===this.tour._direction&&(this.setup2Step7=!1,e.querySelector(".group-holder-quick-menu").style.visibility="visible",e.querySelector(".group-holder-quick-menu").style.top="50px",e.querySelector(".group-holder-quick-menu").style.opacity="1",window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"left: 36px !important;")},100)),this.amount>=8&&Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"top: 692px !important;")},100),e.querySelector(".group-holder-quick-menu").setAttribute("style",e.querySelector(".group-holder-quick-menu").getAttribute("style")+"z-index: 99999999 !important;");let t=e.querySelector(".fa-wrench").parentElement;t.style.pointerEvents="all",t.style.cursor="pointer",this.setup2Step6||(this.setup2Step6=!0,e.querySelector(".fa-wrench").parentElement.addEventListener("click",()=>{null!==this.tour&&!1===this.setup2Step7&&this.tour.nextStep()}))}else 6===t?("forward"===this.tour._direction&&(0==this.setup2Step7&&(this.setup2Step7=!0,e.querySelector(".settings").click()),Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 385px; height: 966px; top: 46px; left: -5px;")},100)),e.querySelector(".group-holder-quick-menu").style.visibility="hidden",e.querySelector(".group-holder-quick-menu").style.top="45px",e.querySelector(".group-holder-quick-menu").style.opacity="0"):10===t?(e.querySelector(".settings").click(),"backward"===this.tour._direction&&Object(He.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 371px; height: 224px; top: 630px; left: 2px;")},100)):11===t&&(window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),this.setup2Step12||(this.setup2Step12=!0,window.Buttonizer.topBar.topBarElement.querySelector(".revert-save").addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})))}}onExit(t,e){if(this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,1===e)(window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="none")&&(window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="all"),5===t?document.querySelector(".options-window").setAttribute("hidden",""):6===t?document.querySelector(".options-window").classList.remove("disabled"):7===t?window.Buttonizer.settingsWindow.title.parentElement.parentElement.removeAttribute("style","z-index:9999999 !important;pointer-events: none;"):20===t&&Object(He.setTimeout)(()=>{let t=this.intro2();t.onchange(e=>this.conditions(t._currentStep,e,2)),t.start(),t.onbeforeexit(()=>this.onExit(t._currentStep,2)),t.onexit(()=>{this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,20===t._currentStep&&window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").click()})},300);else if(2===e){let e=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1];3===t&&(e.querySelector(".group-title").style.pointerEvents="all",e.querySelector(".mobile-desktop").style.pointerEvents="all"),e.querySelector(".group-holder-quick-menu").hasAttribute("style")&&e.querySelector(".group-holder-quick-menu").setAttribute("style",""),e.querySelector(".group-holder-quick-menu").classList.contains("disabled")&&e.querySelector(".group-holder-quick-menu").classList.remove("disabled"),(e.querySelector(".group-holder-quick-menu").style.pointerEvents="none")&&(e.querySelector(".group-holder-quick-menu").style.pointerEvents="all"),(e.querySelector(".group-title").style.pointerEvents="none")&&(e.querySelector(".group-title").style.pointerEvents="all"),(e.querySelector(".mobile-desktop").style.pointerEvents="none")&&(e.querySelector(".mobile-desktop").style.pointerEvents="all"),(e.querySelector(".fa-wrench").parentElement.style.pointerEvents="none")&&(e.querySelector(".fa-wrench").parentElement.style.pointerEvents="all")}}intro(){return this.tour=qe(),this.tour.setOptions({showBullets:!1,exitOnOverlayClick:!1,skipLabel:window.Buttonizer.translate("welcome.exit_tour"),doneLabel:window.Buttonizer.translate("welcome.exit_tour"),nextLabel:window.Buttonizer.translate("common.next")+" →",prevLabel:"← "+window.Buttonizer.translate("common.previous"),scrollToElement:!0,showStepNumbers:!1,disableInteraction:!0}),this.tour.setOptions({steps:[{intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-0.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-0.description")+"<br /><br />"+window.Buttonizer.translate("welcome.tour-steps.step-0.keyboard"),position:"left",tooltipClass:"max-width"},{element:document.querySelector(".buttonizer-bar"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-1.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-1.description"),position:"left"},{element:document.querySelector(".buttonizer-frame"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-2.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-2.description"),position:"left"},{element:document.querySelector(".buttonizer-topbar"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-3.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-3.description")+`\n\n <h4 style="font-weight:400;text-align:left;padding:0 15px">\n 1. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.close")}<br>\n 2. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.revert")}<br>\n 3. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.publish")}<br>\n 4. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.general-settings")}\n </h4>`,position:"left",tooltipClass:"middle"},{element:document.querySelector(".buttonizer-topbar .options-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-4.description"),position:"left",disableInteraction:!1},{element:document.querySelector(".options-window"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-5.title")+"</b></h2><b>"+window.Buttonizer.translate("bar.menu.knowledgebase.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.knowledgebase")+"<br><b>"+window.Buttonizer.translate("bar.menu.support.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.support")+"<br><b>"+window.Buttonizer.translate("bar.menu.community.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.community")+"<br><b>"+window.Buttonizer.translate("bar.menu.account.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.account")+"<br><b>"+window.Buttonizer.translate("bar.menu.upgrade.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.upgrade")+"<br><b>"+window.Buttonizer.translate("bar.menu.affiliation.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.affiliation")+"<br><b>"+window.Buttonizer.translate("bar.menu.options.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.options"),position:"left",tooltipClass:"wider"},{element:window.Buttonizer.topBar.optionsWindow.querySelector(".single-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-6.description")+" &rarr;",position:"left",disableInteraction:!1,highlightClass:"introjs-custom-hidden"},{element:window.Buttonizer.settingsWindow.title.parentElement.parentElement.querySelector(".window-menu"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-7.title")+"</b></h2><b>"+window.Buttonizer.translate("settings_window.icon_library.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.icon-library")+"<br><b>Google Analytics:</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.google-analytics")+"<br><b>"+window.Buttonizer.translate("settings_window.reset.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.reset")+"<br>",position:"left",highlightClass:"introjs-custom-hidden",tooltipClass:"wider"},{element:window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-8.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-8.multiple_buttons")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-8.visible")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-8.position")+"<br>",position:"right",tooltipClass:"max-width"},{element:window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder").querySelector(".group-style"),intro:"<b>&larr;</b> "+window.Buttonizer.translate("welcome.tour-steps.step-9.description"),position:"right",disableInteraction:!1},{element:window.Buttonizer.bar.settingContainer,intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-10.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-10.description")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-10.action"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",scrollTo:!1,tooltipClass:"intojs-foff-height"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-top"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-top"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-11.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.menu_position.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-11.position")+"<br><b>"+window.Buttonizer.translate("settings.show_mobile_desktop.title")+"</b> "+window.Buttonizer.translate("welcome.tour-steps.step-11.visibility")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-menu"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-menu"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-12.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.start_opened.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.start_opened")+"<br><b>"+window.Buttonizer.translate("settings.menu_style.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.menu_style")+"<br><b>"+window.Buttonizer.translate("settings.menu_animation.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.animation")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-button"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-button"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-13.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.background_color.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.background_color")+"<br><b>"+window.Buttonizer.translate("settings.border_radius.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.border_radius")+"<br><b>"+window.Buttonizer.translate("settings.background_image.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.background_image")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-icon"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-icon"),intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.group_icon")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_or_image.title")+":</b> "+window.Buttonizer.translate("settings.icon_or_image.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("settings.icon.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-14.icon")+"<br><b>"+window.Buttonizer.translate("settings.icon_color.title")+":</b> "+window.Buttonizer.translate("settings.icon_color.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_size.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("utils.image")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_image_select.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_select.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_border_radius.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_size.description")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-label"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-label"),intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.label")+"</b></h2><b>"+window.Buttonizer.translate("settings.label.title")+":</b> "+window.Buttonizer.translate("settings.label.description")+"<br><b>"+window.Buttonizer.translate("settings.label_desktop.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-15.label_visibility")+"<br><b>"+window.Buttonizer.translate("settings.label_color.title")+":</b> "+window.Buttonizer.translate("settings.label_color.description")+"<br><b>"+window.Buttonizer.translate("settings.font_size_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.font_size_border_radius.description")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:"<h2><b>"+window.Buttonizer.translate("utils.new_button")+"</b></h2>&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-before-button.action"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg1"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg2"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg3"),position:"right",disableInteraction:!1},{position:"bottom",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"},{position:"bottom",intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg4"),disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"},{position:"bottom",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"}]}),this.tour}intro2(){this.tour=qe(),this.tour.setOptions({showBullets:!1,exitOnOverlayClick:!1,skipLabel:window.Buttonizer.translate("welcome.exit_tour"),doneLabel:window.Buttonizer.translate("welcome.exit_tour"),nextLabel:window.Buttonizer.translate("common.next")+" →",prevLabel:"← "+window.Buttonizer.translate("common.previous"),scrollToElement:!0,showStepNumbers:!1,disableInteraction:!0});let t=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1],e=window.Buttonizer.bar.settingContainer;return this.tour.setOptions({steps:[{element:t,intro:"<h2><b>"+window.Buttonizer.translate("common.button")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-23"),position:"right"},{element:this.amount<=7?t.querySelector(".group-title"):t,intro:"<h2><b>"+window.Buttonizer.translate("settings.name.title")+"</b></h2> "+window.Buttonizer.translate("settings.name.description"),position:"bottom",scrollToElement:!1,highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".mobile-desktop"):t,intro:"<h2><b>"+window.Buttonizer.translate("settings.label_desktop.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-15"),position:"bottom",highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".holder-button"):t,intro:"&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-26"),position:"right",highlightClass:"introjs-custom-gone",disableInteraction:!1},{element:this.amount<=7?t.querySelector(".group-holder-quick-menu"):t,intro:'<h2><b>Menu</b></h2><p style="text-align: left;"><b>'+window.Buttonizer.translate("common.settings")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.edit_button")+"<br><b>"+window.Buttonizer.translate("utils.advanced_settings")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.advanced_settings")+"<br><b>"+window.Buttonizer.translate("utils.rename")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.rename")+"<br><b>"+window.Buttonizer.translate("utils.duplicate")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.duplicate")+"<br><b>"+window.Buttonizer.translate("utils.delete")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.delete")+"<br></p>",position:"right",highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".group-holder-quick-menu").querySelector(".settings"):t,intro:"&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-28"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-hidden"},{element:window.Buttonizer.bar.settingContainer,intro:"<b><h2>"+window.Buttonizer.translate("welcome.tour-steps.step-29.title")+"</h2></b> "+window.Buttonizer.translate("welcome.tour-steps.step-29.description"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone"},{element:e.querySelectorAll(".style-top")[e.querySelectorAll(".style-top").length-1],intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-30.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.button_action.title")+":</b> "+window.Buttonizer.translate("settings.button_action.description")+"<br><b>"+window.Buttonizer.translate("settings.show_mobile_desktop.device_visibility")+":</b> "+window.Buttonizer.translate("settings.show_mobile_desktop.description"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-button")[e.querySelectorAll(".style-button").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.button_style")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-31.enabled")+"<br>"+window.Buttonizer.translate("welcome.tour-steps.step-31.turning_off"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-icon")[e.querySelectorAll(".style-icon").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.button_icon")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_or_image.title")+":</b> "+window.Buttonizer.translate("settings.icon_or_image.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("settings.icon.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-14.icon")+"<br><b>"+window.Buttonizer.translate("settings.icon_color.title")+":</b> "+window.Buttonizer.translate("settings.icon_color.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_size.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("utils.image")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_image_select.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_select.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_border_radius.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_size.description")+"<br>",position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-label")[e.querySelectorAll(".style-label").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.label")+"</b></h2><b>"+window.Buttonizer.translate("settings.label.title")+":</b> "+window.Buttonizer.translate("settings.label.description")+"<br><b>"+window.Buttonizer.translate("settings.label_desktop.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-15.label_visibility")+"<br><b>"+window.Buttonizer.translate("settings.label_color.title")+":</b> "+window.Buttonizer.translate("settings.label_color.description")+"<br><b>"+window.Buttonizer.translate("settings.font_size_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.font_size_border_radius.description")+"<br>",position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:window.Buttonizer.topBar.topBarElement.querySelector(".revert-save"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.title")+"</b></h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.revert_title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-34.revert_description")+"<br><br><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.save_title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-34.save_description"),position:"right",disableInteraction:!0,tooltipClass:"right"},{intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.final.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.final.intro")+"<br /><br />"+window.Buttonizer.translate("welcome.tour-steps.final.outro"),position:"left",tooltipClass:"max-width"}]}),this.tour}}i(13),window.bdebug=new n;String.prototype.format||(String.prototype.format=function(){var t=arguments;return this.replace(/{(\d+)}/g,function(e,i){return void 0!==t[i]?t[i]:e})}),window.Buttonizer=new class{constructor(){this.loader={},this.topBar={},this.bar={},this.assetsLink=".",this.tour=null,this.version="-",this.settings={},this.buttonGroups=[],this.savingMechanism={},this.buttonizerInitData=[],this.timeSchedule={},this.pageRule={},this.windowsZindex=9999,this.bc,this.loading=!0,this.settingsWindow={},this.iframe=null,this.iframeLoaded=!1,this.iconLibraryLoaded=!1,this.ButtonizerStartedLoading=0,this.iconSelector=null,this.iconLibraryStylesheet=null,this.previewWarning=null,this.premium=!1,this.init(!0)}set buttonChanges(t){this.loading||(this.bc=t)}get buttonChanges(){return this.bc}init(t){document.body.className+=" buttonizer-initialized",bdebug.welcomeToTheConsole(),!0===t&&bdebug.startDebugging(),bdebug.warning("Buttonizer 2.0");let e=document.createElement("link");e.rel="shortcut icon",e.href=buttonizer_admin.dir+"/favicon.ico",document.head.appendChild(e),this.loader=new je,this.loader.show(this.translate("loading.settings")),this.savingMechanism=new Se,bdebug.warning("Buttonizer settings loading"),this.ButtonizerStartedLoading=(new Date).getTime(),this.loadSettings()}loadSettings(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=ButtonizerInitializer",dataType:"json",method:"get",success:t=>{bdebug.warning("Buttonizer settings loaded: "+((new Date).getTime()-this.ButtonizerStartedLoading)/1e3+"s"),"success"===t.status?this.defineSettings(t):this.fatalErrorLoading("<b>"+t.message+"</b>","Buttonizer.loadSettings().success")},error:(t,e,i)=>{this.loader.hide(),console.log(t),this.fatalErrorLoading("<b>"+e.toUpperCase()+":</b><br />"+i,"Buttonizer.loadSettings().error")}})}fatalErrorLoading(t,e){new s({title:"Error!",content:`\n <p>Oh, that was not what I was expecting! Something went wrong while we tried to load all Buttonizer settings.</p>\n <p>Try to reload the webpage. If that did not work, send us a <a href="https://community.buttonizer.pro/" target="_blank">support request</a>.</p>\n <p>Report the following information:</p>\n <p style='color: #FF0000; display: block; border: 1px solid #FF0000; padding: 10px;'>${t}<br /><br />Function place: ${e}</p>`,onConfirm:()=>{document.location.reload()},buttons:[{text:"Reload webpage",confirm:!0}]})}fatalError(t){console.error(t);let e=document.createElement("div");e.innerHTML='<p>Oh, that was not what we were expecting! Something went wrong.</p>\n <p>Try to reload the webpage. If that did not work, send us a <a href="https://community.buttonizer.pro/" target="_blank">support request</a>.</p>';let i=document.createElement("p");i.innerHTML="Do you want to see technical details? <a href='javascript:void(0)'>Click here!</a>",e.appendChild(i);let n=document.createElement("code");n.style.overflowX="auto",n.style.whiteSpace="nowrap",n.innerText=`Error type: ${t.name}\n \n Stack trace:\n \n ${t.stack}`,n.style.display="none",e.appendChild(n),i.addEventListener("click",()=>{i.style.display="none",n.style.display="block"}),new s({title:"Error!?!?1?!1?!",content:e,buttons:[{text:"Close",confirm:!0}]})}defineSettings(t){this.settings=t.settings,this.version=t.version,this.buttonizerInitData=t,this.premium=t.premium,xt.setDefaults({onShow:()=>"true"===this.getSetting("show_tooltips","true")||!0===this.getSetting("show_tooltips")}),this.loader.show(this.translate("loading.bar")),this.topBar=new ze(this),this.bar=new Ce(this),this.previewWarning=this.leftButtonizerWarning(),this.changes=t.changes,t.changes&&this.topBar.alertText.alert(this.translate("bar.previous_session")),this.initializeSettings(t.settings),this.initializeTimeSchedules(),this.initializePageRules(),this.loadButtonGroups(),this.loading=!1,this.settingsWindow=new Ie,document.location.href.indexOf("open-settings")>=0&&this.settingsWindow.show(),this.iconSelector=new Me,1!==this.buttonGroups.length||this.buttonGroups[0].singleButtonMode||this.buttonGroups[0].groupHolder.revealButtons(),this.createIframe();let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href="https://use.fontawesome.com/releases/v5.8.2/css/all.css",e.integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay",e.setAttribute("crossorigin","anonymous"),document.getElementsByTagName("head")[0].appendChild(e),window.addEventListener("message",t=>{t.isTrusted&&void 0!==t.data&&void 0!==t.data.eventType&&"buttonizer"===t.data.eventType&&("warning"===t.data.messageType?this.topBar.updateEventLogs(t.data.message):"javascript_error"===t.data.messageType?new s({title:this.translate("errors.custom_javascript.title"),content:`\n <p>${this.translate("errors.custom_javascript.message")}</p> <p><code style="display: block; padding: 15px;">${t.data.message}</code></p>\n `,buttons:[{text:this.translate("common.ok_fix"),confirm:!0}]}):"(re)loaded"===t.data.messageType&&console.log("[Buttonizer ADMIN] Buttonizer is (re)loaded! So last changes can be seen in the preview window."))},!1),document.location.href.indexOf("tour")>=0&&this.startTour()}startTour(){null===this.tour&&(this.tour=new Pe),this.tour.build()}createIframe(){let t=""===document.location.hash||"#open-settings"===document.location.hash?this.buttonizerInitData.wordpress.base:decodeURIComponent(document.location.hash.substr(1)),e=document.createElement("div");e.className="buttonizer-frame";let i=document.createElement("iframe");i.src=t+"?buttonizer-preview=1",i.id="buttonizer-iframe",i.setAttribute("frameborder","0"),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.addEventListener("load",t=>{this.iframeLoaded=!0,-1===t.target.contentWindow.location.href.indexOf("buttonizer-preview")&&-1===document.body.className.indexOf("warning-left-preview-window")&&(document.body.className+=" warning-left-preview-window",this.previewWarning.style.display="block")}),e.appendChild(i),document.body.appendChild(e),this.loader.show(this.translate("loading.website"),"site-loading"),setTimeout(()=>{this.iframeLoaded||this.loader.show(this.translate("loading.website")+"<br /><br /><small>"+this.translate("loading.website_slow")+"<br /><br /><a href='javascript:void(0)' onclick='window.Buttonizer.loader.hide()'>"+this.translate("loading.website_skip")+"</a></small>")},5e3);let n=setInterval(()=>{this.iframeLoaded&&this.iconLibraryLoaded&&(this.loader.hide(),document.body.className+=" buttonizer-loaded",clearInterval(n))})}welcome(){this.loader.hide(),new s({title:this.translate("welcome.title")+" "+this.version,content:`\n <img src="${buttonizer_admin.assets}/images/plugin-icon.png" width="100" align="left" style="margin-right: 20px; margin-bottom: 10px;" />\n <p>${this.translate("welcome.intro")}</p>\n <p>${this.translate("welcome.tour")}</p>\n `,onClose:()=>{this.saveSettings({welcome:"false"},!0)},onConfirm:()=>{this.startTour()},buttons:[{text:this.translate("welcome.already_know")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',close:!0},{text:this.translate("welcome.take_tour")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',confirm:!0}]})}updateButtonsTo2Point0(){new s({title:this.translate("migration_modal.title"),content:`\n <p>${this.translate("migration_modal.intro")}</p>\n <p>${this.translate("migration_modal.convert")}</p>\n \n <p>${this.translate("migration_modal.popping_up")}</p> \n `,onConfirm:()=>{window.Buttonizer.loader.show(this.translate("loading.running_migration")),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=migrate-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show(this.translate("loading.finishing")),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})},buttons:[{text:this.translate("modal.no_thanks"),close:!0},{text:this.translate("migration_modal.convert_buttons")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',confirm:!0}]})}leftButtonizerWarning(){let t=document.createElement("div");t.className="buttonizer-warning warning-red",t.innerHTML=this.translate("bar.preview.no_changes");let e=document.createElement("a");return e.href="javascript:void(0)",e.className="buttonizer-warning-button",e.innerText=this.translate("bar.preview.return"),e.addEventListener("click",()=>{document.body.className=document.body.className.replace("warning-left-preview-window",""),this.previewWarning.style.display="none",document.getElementById("buttonizer-iframe").setAttribute("src",window.Buttonizer.buttonizerInitData.wordpress.base+"?buttonizer-preview=true")}),t.appendChild(e),document.body.appendChild(t),t}saveSettings(t,e){e&&this.loader.show(this.translate("common.saving_settings")),Object.assign(this.settings,t),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=settings",dataType:"json",method:"post",data:{data:this.settings,security:buttonizer_admin.security},success:t=>{this.loader.hide(),"success"!==t.status&&window.Buttonizer.savingError(t.message)},error:t=>{this.loader.hide(),window.Buttonizer.savingError(t)}})}registerButton(t){}saveButtons(){console.log(this.buttons)}initializeSettings(t){"true"===t.welcome.toString()&&this.welcome(),this.settings=t,this.addIconLibrary()}addIconLibrary(){let t=!1;null===this.iconLibraryStylesheet&&(this.iconLibraryStylesheet=document.createElement("link"),this.iconLibraryStylesheet.rel="stylesheet",this.iconLibraryStylesheet.type="text/css",t=!0),"fontawesome"!==this.settings.icon_library||"5.free"!==this.settings.icon_library_version&&"5.paid"!==this.settings.icon_library_version?"fontawesome"===this.settings.icon_library&&"4.7.0"===this.settings.icon_library_version&&(this.iconLibraryStylesheet.setAttribute("integrity",""),this.iconLibraryStylesheet.href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"):("5.paid"===this.settings.icon_library_version&&""!==this.settings.icon_library_code?this.iconLibraryStylesheet.setAttribute("integrity",this.settings.icon_library_code):this.iconLibraryStylesheet.setAttribute("integrity","sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"),this.iconLibraryStylesheet.setAttribute("crossorigin","anonymous"),this.iconLibraryStylesheet.href="https://"+("5.paid"===this.settings.icon_library_version?"pro":"use")+".fontawesome.com/releases/"+this.buttonizerInitData.fontawesome_current_version+"/css/all.css"),this.iconLibraryLoaded=!0}hasPremium(){return this.premium}showPremiumPopup(t,e){new s({title:'<i class="far fa-gem window-icon"></i> '+this.translate("premium.modal.title"),content:`\n <p>${this.translate("premium.modal.describe")}</p>\n <code style="display: block; margin-bottom: 5px; padding: 10px;">${t}</code>\n <p><b>${this.translate("premium.modal.what_do_i_get")}</b></p>\n \n <ul class="buttonizer-pro-checklist">\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.time_schedules")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.page_rules")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.button_groups")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.custom_images")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.exit_intent")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.show_on_scroll")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.show_on_timeout")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.custom_class")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.javascript")}</li>\n </ul>`,onConfirm:()=>{document.location.href=buttonizer_admin.admin+"?page=Buttonizer-pricing"},video:e,buttons:[{text:this.translate("modal.close"),close:!0},{text:this.translate("premium.modal.go_pro")+' <i class="fas fa-chevron-right" style="margin-left: 5px;vertical-align: middle;"></i>',confirm:!0,close:!0,focus:!0}]})}getSetting(t,e){return void 0!==this.settings[t]?this.settings[t]:e}set changes(t){this.topBar.changes=t}updateButtonGroupList(t,e){this.buttonGroups.splice(t,0,this.buttonGroups.splice(e,1)[0]),this.buttonChanges=!0}updateButtonList(t,e,i,n){this.buttonGroups[i].buttons.splice(t,0,this.buttonGroups[n].buttons.splice(e,1)[0]),this.buttonGroups[i].buttons[t].groupObject=this.buttonGroups[i],this.buttonChanges=!0,this.buttonGroups[n].buttons.length<=1&&jQuery(this.buttonGroups[n].groupBody).sortable("option","cancel",".group-button")}savingError(t){new s({title:this.translate("errors.saving.title"),content:`<p>${this.translate("errors.saving.message")}.</p><p>${t}</p>`,buttons:[{text:this.translate("modal.close"),close:!0}]})}initializeTimeSchedules(){}initializePageRules(){}loadButtonGroups(){if(void 0!==this.buttonizerInitData.groups.buttonorder&&this.updateButtonsTo2Point0(),0===this.buttonizerInitData.groups.length)return new Ee({name:"Buttonizer",position:"bottomright",icon:"fa fa-plus",horizontal:5,vertical:5},[{name:window.Buttonizer.translate("utils.first_button"),show_mobile:!0,show_desktop:!0},{name:window.Buttonizer.translate("utils.second_button"),show_mobile:!0,show_desktop:!0}]),void setTimeout(()=>{this.buttonChanges=!0},1e3);new Ee(this.buttonizerInitData.groups[0].data,this.buttonizerInitData.groups[0].buttons)}translate(t=""){let e=t.split(".");if(void 0===buttonizer_translations[e[0]])return console.error("Localization not found: "+t),t;let i=buttonizer_translations[e[0]];for(let n=1,o=e.length;n<o;n++){if(void 0===i[e[n]])return console.error("Localization not found: "+t),t;i=i[e[n]]}return i}__(t=""){return this.translate(t)}}},,function(t,e){}]);
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
+ */!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=15)}([function(t,e,i){(function(t){var n=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function s(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new s(o.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new s(o.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},i(10),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,i(1))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e){var i,n,o=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(t){n=r}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var t=a(p);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d<e;)l&&l[d].run();d=-1,e=u.length}l=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function b(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];u.push(new m(t,e)),1!==u.length||c||a(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,i){"use strict";(function(t){for(
 
 
 
 
 
 
 
 
14
  /**!
15
  * @fileOverview Kickass library to create and place poppers near their reference elements.
16
  * @version 1.15.0
35
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
  * SOFTWARE.
37
  */
38
+ var i="undefined"!=typeof window&&"undefined"!=typeof document,n=["Edge","Trident","Firefox"],o=0,s=0;s<n.length;s+=1)if(i&&navigator.userAgent.indexOf(n[s])>=0){o=1;break}var r=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:c(u(t))}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),p=i&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?d:10===t?p:d||p}function m(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===l(i,"position")?m(i):i:t?t.ownerDocument.documentElement:document.documentElement}function b(t){return null!==t.parentNode?b(t.parentNode):t}function f(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,s=document.createRange();s.setStart(n,0),s.setEnd(o,0);var r,a,l=s.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&m(r.firstElementChild)!==r?m(l):l;var u=b(t);return u.host?f(u.host,e):f(t,b(e).host)}function w(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function g(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function y(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],h(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function v(t){var e=t.body,i=t.documentElement,n=h(10)&&getComputedStyle(i);return{height:y("Height",e,i,n),width:y("Width",e,i,n)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),x=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function E(t){return B({},t,{right:t.left+t.width,bottom:t.top+t.height})}function z(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var i=w(t,"top"),n=w(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?v(t.ownerDocument):{},r=s.width||t.clientWidth||o.right-o.left,a=s.height||t.clientHeight||o.bottom-o.top,u=t.offsetWidth-r,c=t.offsetHeight-a;if(u||c){var d=l(t);u-=g(d,"x"),c-=g(d,"y"),o.width-=u,o.height-=c}return E(o)}function C(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),o="HTML"===e.nodeName,s=z(t),r=z(e),a=c(t),u=l(e),d=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);i&&o&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var m=E({top:s.top-r.top-d,left:s.left-r.left-p,width:s.width,height:s.height});if(m.marginTop=0,m.marginLeft=0,!n&&o){var b=parseFloat(u.marginTop,10),f=parseFloat(u.marginLeft,10);m.top-=d-b,m.bottom-=d-b,m.left-=p-f,m.right-=p-f,m.marginTop=b,m.marginLeft=f}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=w(e,"top"),o=w(e,"left"),s=i?-1:1;return t.top+=n*s,t.bottom+=n*s,t.left+=o*s,t.right+=o*s,t}(m,e)),m}function j(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function S(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},r=o?j(t):f(t,e);if("viewport"===n)s=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=C(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),r=e?0:w(i),a=e?0:w(i,"left");return E({top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:s})}(r,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=c(u(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var d=C(a,r,o);if("HTML"!==a.nodeName||function t(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===l(e,"position"))return!0;var n=u(e);return!!n&&t(n)}(r))s=d;else{var p=v(t.ownerDocument),h=p.height,m=p.width;s.top+=d.top-d.marginTop,s.bottom=h+d.top,s.left+=d.left-d.marginLeft,s.right=m+d.left}}var b="number"==typeof(i=i||0);return s.left+=b?i:i.left||0,s.top+=b?i:i.top||0,s.right-=b?i:i.right||0,s.bottom-=b?i:i.bottom||0,s}function O(t,e,i,n,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=S(i,n,s,o),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map(function(t){return B({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function L(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return C(i,n?j(e):f(e,i),n)}function T(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function N(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function A(t,e,i){i=i.split("-")[0];var n=T(t),o={width:n.width,height:n.height},s=-1!==["right","left"].indexOf(i),r=s?"top":"left",a=s?"left":"top",l=s?"height":"width",u=s?"width":"height";return o[r]=e[r]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[u]:e[N(a)],o}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=I(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&a(i)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=i(e,t))}),e}function H(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function q(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],s=o?""+o+i:t;if(void 0!==document.body.style[s])return s}return null}function P(t){var e=t.ownerDocument;return e?e.defaultView:window}function D(t,e,i,n){i.updateBound=n,P(t).addEventListener("resize",i.updateBound,{passive:!0});var o=c(t);return function t(e,i,n,o){var s="BODY"===e.nodeName,r=s?e.ownerDocument.defaultView:e;r.addEventListener(i,n,{passive:!0}),s||t(c(r.parentNode),i,n,o),o.push(r)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function F(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,P(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function R(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&R(e[i])&&(n="px"),t.style[i]=e[i]+n})}var U=i&&/Firefox/i.test(navigator.userAgent);function G(t,e,i){var n=I(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var s="`"+e+"`",r="`"+i+"`";console.warn(r+" modifier is required by "+s+" modifier in order to work, be sure to include it before "+s+"!")}return o}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$=Q.slice(3);function V(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=$.indexOf(t),n=$.slice(i+1).concat($.slice(0,i));return e?n.reverse():n}var Y={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(t,e,i,n){var o=[0,0],s=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=r.indexOf(I(r,function(t){return-1!==t.search(/,|\s/)}));r[a]&&-1===r[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return(u=u.map(function(t,n){var o=(1===n?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+o[1],r=o[2];if(!s)return t;if(0===r.indexOf("%")){var a=void 0;switch(r){case"%p":a=i;break;case"%":case"%r":default:a=n}return E(a)[e]/100*s}if("vh"===r||"vw"===r){return("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s}return s}(t,o,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){R(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))})}),o}var K={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,s=o.reference,r=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",u=a?"width":"height",c={start:x({},l,s[l]),end:x({},l,s[l]+s[u]-r[u])};t.offsets.popper=B({},r,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,s=o.popper,r=o.reference,a=n.split("-")[0],l=void 0;return l=R(+i)?[+i,0]:X(i,s,r,a),"left"===a?(s.top+=l[0],s.left-=l[1]):"right"===a?(s.top+=l[0],s.left+=l[1]):"top"===a?(s.left+=l[0],s.top-=l[1]):"bottom"===a&&(s.left+=l[0],s.top+=l[1]),t.popper=s,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||m(t.instance.popper);t.instance.reference===i&&(i=m(i));var n=q("transform"),o=t.instance.popper.style,s=o.top,r=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=S(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=s,o.left=r,o[n]=a,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(c[t],l[t])),x({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),x({},i,n)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=B({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",u=r?"width":"height";return i[a]<s(n[l])&&(t.offsets.popper[l]=s(n[l])-i[u]),i[l]>s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",p=d.toLowerCase(),h=u?"left":"top",m=u?"bottom":"right",b=T(n)[c];a[m]-b<r[p]&&(t.offsets.popper[p]-=r[p]-(a[m]-b)),a[p]+b>r[m]&&(t.offsets.popper[p]+=a[p]+b-r[m]),t.offsets.popper=E(t.offsets.popper);var f=a[p]+a[c]/2-b/2,w=l(t.instance.popper),g=parseFloat(w["margin"+d],10),y=parseFloat(w["border"+d+"Width"],10),v=f-t.offsets.popper[p]-g-y;return v=Math.max(Math.min(r[c]-b,v),0),t.arrowElement=n,t.offsets.arrow=(x(i={},p,Math.round(v)),x(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=S(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=N(n),s=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case Y.FLIP:r=[n,o];break;case Y.CLOCKWISE:r=V(n);break;case Y.COUNTERCLOCKWISE:r=V(n,!0);break;default:r=e.behavior}return r.forEach(function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],o=N(n);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,p="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)<d(c.right)||"top"===n&&d(u.bottom)>d(c.top)||"bottom"===n&&d(u.top)<d(c.bottom),h=d(u.left)<d(i.left),m=d(u.right)>d(i.right),b=d(u.top)<d(i.top),f=d(u.bottom)>d(i.bottom),w="left"===n&&h||"right"===n&&m||"top"===n&&b||"bottom"===n&&f,g=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(g&&"start"===s&&h||g&&"end"===s&&m||!g&&"start"===s&&b||!g&&"end"===s&&f),v=!!e.flipVariationsByContent&&(g&&"start"===s&&m||g&&"end"===s&&h||!g&&"start"===s&&f||!g&&"end"===s&&b),_=y||v;(p||w||_)&&(t.flipped=!0,(p||w)&&(n=r[l+1]),_&&(s=function(t){return"end"===t?"start":"start"===t?"end":t}(s)),t.placement=n+(s?"-"+s:""),t.offsets.popper=B({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=M(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=N(e),t.offsets.popper=E(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,s=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==s?s:e.gpuAcceleration,a=m(t.instance.popper),l=z(a),u={position:o.position},c=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,s=Math.round,r=Math.floor,a=function(t){return t},l=s(o.width),u=s(n.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?c||d||l%2==u%2?s:r:a,h=e?s:a;return{left:p(l%2==1&&u%2==1&&!d&&e?n.left-1:n.left),top:h(n.top),bottom:h(n.bottom),right:p(n.right)}}(t,window.devicePixelRatio<2||!U),d="bottom"===i?"top":"bottom",p="right"===n?"left":"right",h=q("transform"),b=void 0,f=void 0;if(f="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,b="right"===p?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,r&&h)u[h]="translate3d("+b+"px, "+f+"px, 0)",u[d]=0,u[p]=0,u.willChange="transform";else{var w="bottom"===d?-1:1,g="right"===p?-1:1;u[d]=f*w,u[p]=b*g,u.willChange=d+", "+p}var y={"x-placement":t.placement};return t.attributes=B({},y,t.attributes),t.styles=B({},u,t.styles),t.arrowStyles=B({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return W(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&W(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var s=L(o,e,t,i.positionFixed),r=O(i.placement,s,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",r),W(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},J=function(){function t(e,i){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=r(this.update.bind(this)),this.options=B({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(B({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=B({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return B({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=O(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=D(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return F.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=Q,J.Defaults=K,e.a=J}).call(this,i(1))},function(t,e){},function(t,e,i){"use strict";(function(e){var n=i(6);
 
 
 
 
 
 
 
 
39
  /*!
40
  * The buffer module from node.js, for the browser.
41
  *
42
  * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
43
  * @license MIT
44
+ */function o(t,e){if(t===e)return 0;for(var i=t.length,n=e.length,o=0,s=Math.min(i,n);o<s;++o)if(t[o]!==e[o]){i=t[o],n=e[o];break}return i<n?-1:n<i?1:0}function s(t){return e.Buffer&&"function"==typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var r=i(7),a=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u="foo"===function(){}.name;function c(t){return Object.prototype.toString.call(t)}function d(t){return!s(t)&&("function"==typeof e.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var p=t.exports=g,h=/\s*function\s+([^\(\s]*)\s*/;function m(t){if(r.isFunction(t)){if(u)return t.name;var e=t.toString().match(h);return e&&e[1]}}function b(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function f(t){if(u||!r.isFunction(t))return r.inspect(t);var e=m(t);return"[Function"+(e?": "+e:"")+"]"}function w(t,e,i,n,o){throw new p.AssertionError({message:i,actual:t,expected:e,operator:n,stackStartFunction:o})}function g(t,e){t||w(t,!0,e,"==",p.ok)}function y(t,e,i,n){if(t===e)return!0;if(s(t)&&s(e))return 0===o(t,e);if(r.isDate(t)&&r.isDate(e))return t.getTime()===e.getTime();if(r.isRegExp(t)&&r.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(d(t)&&d(e)&&c(t)===c(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===o(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(s(t)!==s(e))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===n.expected.indexOf(e)||(n.actual.push(t),n.expected.push(e),function(t,e,i,n){if(null==t||null==e)return!1;if(r.isPrimitive(t)||r.isPrimitive(e))return t===e;if(i&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var o=v(t),s=v(e);if(o&&!s||!o&&s)return!1;if(o)return t=l.call(t),e=l.call(e),y(t,e,i);var a,u,c=x(t),d=x(e);if(c.length!==d.length)return!1;for(c.sort(),d.sort(),u=c.length-1;u>=0;u--)if(c[u]!==d[u])return!1;for(u=c.length-1;u>=0;u--)if(a=c[u],!y(t[a],e[a],i,n))return!1;return!0}(t,e,i,n))}return i?t===e:t==e}function v(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function _(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function k(t,e,i,n){var o;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof i&&(n=i,i=null),o=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(i&&i.name?" ("+i.name+").":".")+(n?" "+n:"."),t&&!o&&w(o,i,"Missing expected exception"+n);var s="string"==typeof n,a=!t&&o&&!i;if((!t&&r.isError(o)&&s&&_(o,i)||a)&&w(o,i,"Got unwanted exception"+n),t&&o&&i&&!_(o,i)||!t&&o)throw o}p.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return b(f(t.actual),128)+" "+t.operator+" "+b(f(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||w;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var i=new Error;if(i.stack){var n=i.stack,o=m(e),s=n.indexOf("\n"+o);if(s>=0){var r=n.indexOf("\n",s+1);n=n.substring(r+1)}this.stack=n}}},r.inherits(p.AssertionError,Error),p.fail=w,p.ok=g,p.equal=function(t,e,i){t!=e&&w(t,e,i,"==",p.equal)},p.notEqual=function(t,e,i){t==e&&w(t,e,i,"!=",p.notEqual)},p.deepEqual=function(t,e,i){y(t,e,!1)||w(t,e,i,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(t,e,i){y(t,e,!0)||w(t,e,i,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(t,e,i){y(t,e,!1)&&w(t,e,i,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=function t(e,i,n){y(e,i,!0)&&w(e,i,n,"notDeepStrictEqual",t)},p.strictEqual=function(t,e,i){t!==e&&w(t,e,i,"===",p.strictEqual)},p.notStrictEqual=function(t,e,i){t===e&&w(t,e,i,"!==",p.notStrictEqual)},p.throws=function(t,e,i){k(!0,t,e,i)},p.doesNotThrow=function(t,e,i){k(!1,t,e,i)},p.ifError=function(t){if(t)throw t},p.strict=n(function t(e,i){e||w(e,!0,i,"==",t)},p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var x=Object.keys||function(t){var e=[];for(var i in t)a.call(t,i)&&e.push(i);return e}}).call(this,i(1))},function(t,e,i){"use strict";
45
+ /*
46
+ object-assign
47
+ (c) Sindre Sorhus
48
+ @license MIT
49
+ */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function r(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var i,a,l=r(t),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))o.call(i,c)&&(l[c]=i[c]);if(n){a=n(i);for(var d=0;d<a.length;d++)s.call(i,a[d])&&(l[a[d]]=i[a[d]])}}return l}},function(t,e,i){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++)i[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return i},o=/%[sdj%]/g;e.format=function(t){if(!w(t)){for(var e=[],i=0;i<arguments.length;i++)e.push(a(arguments[i]));return e.join(" ")}i=1;for(var n=arguments,s=n.length,r=String(t).replace(o,function(t){if("%%"===t)return"%";if(i>=s)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}),l=n[i];i<s;l=n[++i])b(l)||!v(l)?r+=" "+l:r+=" "+a(l);return r},e.deprecate=function(i,n){if(void 0!==t&&!0===t.noDeprecation)return i;if(void 0===t)return function(){return e.deprecate(i,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),o=!0}return i.apply(this,arguments)}};var s,r={};function a(t,i){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(i)?n.showHidden=i:i&&e._extend(n,i),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,t,n.depth)}function l(t,e){var i=a.styles[e];return i?"["+a.colors[i][0]+"m"+t+"["+a.colors[i][1]+"m":t}function u(t,e){return t}function c(t,i,n){if(t.customInspect&&i&&x(i.inspect)&&i.inspect!==e.inspect&&(!i.constructor||i.constructor.prototype!==i)){var o=i.inspect(n,t);return w(o)||(o=c(t,o,n)),o}var s=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(w(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}if(f(e))return t.stylize(""+e,"number");if(m(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,i);if(s)return s;var r=Object.keys(i),a=function(t){var e={};return t.forEach(function(t,i){e[t]=!0}),e}(r);if(t.showHidden&&(r=Object.getOwnPropertyNames(i)),k(i)&&(r.indexOf("message")>=0||r.indexOf("description")>=0))return d(i);if(0===r.length){if(x(i)){var l=i.name?": "+i.name:"";return t.stylize("[Function"+l+"]","special")}if(y(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(_(i))return t.stylize(Date.prototype.toString.call(i),"date");if(k(i))return d(i)}var u,v="",B=!1,E=["{","}"];(h(i)&&(B=!0,E=["[","]"]),x(i))&&(v=" [Function"+(i.name?": "+i.name:"")+"]");return y(i)&&(v=" "+RegExp.prototype.toString.call(i)),_(i)&&(v=" "+Date.prototype.toUTCString.call(i)),k(i)&&(v=" "+d(i)),0!==r.length||B&&0!=i.length?n<0?y(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special"):(t.seen.push(i),u=B?function(t,e,i,n,o){for(var s=[],r=0,a=e.length;r<a;++r)j(e,String(r))?s.push(p(t,e,i,n,String(r),!0)):s.push("");return o.forEach(function(o){o.match(/^\d+$/)||s.push(p(t,e,i,n,o,!0))}),s}(t,i,n,a,r):r.map(function(e){return p(t,i,n,a,e,B)}),t.seen.pop(),function(t,e,i){if(t.reduce(function(t,e){return 0,e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1];return i[0]+e+" "+t.join(", ")+" "+i[1]}(u,v,E)):E[0]+v+E[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,i,n,o,s){var r,a,l;if((l=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),j(n,o)||(r="["+o+"]"),a||(t.seen.indexOf(l.value)<0?(a=b(i)?c(t,l.value,null):c(t,l.value,i-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),g(r)){if(s&&o.match(/^\d+$/))return a;(r=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(r=r.substr(1,r.length-2),r=t.stylize(r,"name")):(r=r.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),r=t.stylize(r,"string"))}return r+": "+a}function h(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function f(t){return"number"==typeof t}function w(t){return"string"==typeof t}function g(t){return void 0===t}function y(t){return v(t)&&"[object RegExp]"===B(t)}function v(t){return"object"==typeof t&&null!==t}function _(t){return v(t)&&"[object Date]"===B(t)}function k(t){return v(t)&&("[object Error]"===B(t)||t instanceof Error)}function x(t){return"function"==typeof t}function B(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(i){if(g(s)&&(s=t.env.NODE_DEBUG||""),i=i.toUpperCase(),!r[i])if(new RegExp("\\b"+i+"\\b","i").test(s)){var n=t.pid;r[i]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",i,n,t)}}else r[i]=function(){};return r[i]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=h,e.isBoolean=m,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=f,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=g,e.isRegExp=y,e.isObject=v,e.isDate=_,e.isError=k,e.isFunction=x,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=i(8);var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var t=new Date,e=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":");return[t.getDate(),z[t.getMonth()],e].join(" ")}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",C(),e.format.apply(e,arguments))},e.inherits=i(9),e._extend=function(t,e){if(!e||!v(e))return t;for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t};var S="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(t,e){if(!t){var i=new Error("Promise was rejected with a falsy value");i.reason=t,t=i}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(S&&t[S]){var e;if("function"!=typeof(e=t[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,S,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,i,n=new Promise(function(t,n){e=t,i=n}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(t,n){t?i(t):e(n)});try{t.apply(this,o)}catch(t){i(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),S&&Object.defineProperty(e,S,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=S,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function i(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var o=i.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var s=this,r=function(){return o.apply(s,arguments)};e.apply(this,i).then(function(e){t.nextTick(r,null,e)},function(e){t.nextTick(O,e,r)})}return Object.setPrototypeOf(i,Object.getPrototypeOf(e)),Object.defineProperties(i,n(e)),i}}).call(this,i(2))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var i=function(){};i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t}},function(t,e,i){(function(t,e){!function(t,i){"use strict";if(!t.setImmediate){var n,o,s,r,a,l=1,u={},c=!1,d=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick(function(){m(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,i=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=i,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(t){m(t.data)},n=function(t){s.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,n=function(t){var e=d.createElement("script");e.onreadystatechange=function(){m(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):n=function(t){setTimeout(m,0,t)}:(r="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(r)&&m(+e.data.slice(r.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(r+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var o={callback:t,args:e};return u[l]=o,n(l),l++},p.clearImmediate=h}function h(t){delete u[t]}function m(t){if(c)setTimeout(m,0,t);else{var e=u[t];if(e){c=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(i,n)}}(e)}finally{h(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,i(1),i(2))},function(t,e,i){var n;n=function(){function t(t){this._targetElement=t,this._introItems=[],this._options={nextLabel:"Next &rarr;",prevLabel:"&larr; Back",skipLabel:"Skip",doneLabel:"Done",hidePrev:!1,hideNext:!1,tooltipPosition:"bottom",tooltipClass:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!0,keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.8,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintAnimation:!0,buttonClass:"introjs-button"}}function e(t,e){var r=t.querySelectorAll("*[data-intro]"),l=[];if(this._options.steps)w(this._options.steps,function(t){var e=o(t);if(e.step=l.length+1,"string"==typeof e.element&&(e.element=document.querySelector(e.element)),void 0===e.element||null===e.element){var i=document.querySelector(".introjsFloatingElement");null===i&&((i=document.createElement("div")).className="introjsFloatingElement",document.body.appendChild(i)),e.element=i,e.position="floating"}e.scrollTo=e.scrollTo||this._options.scrollTo,void 0===e.disableInteraction&&(e.disableInteraction=this._options.disableInteraction),null!==e.element&&l.push(e)}.bind(this));else{var u;if(r.length<1)return!1;w(r,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&"none"!==t.style.display){var i=parseInt(t.getAttribute("data-step"),10);u=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,i>0&&(l[i-1]={element:t,intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:u})}}.bind(this));var c=0;w(r,function(t){if((!e||t.getAttribute("data-intro-group")===e)&&null===t.getAttribute("data-step")){for(;void 0!==l[c];)c++;u=void 0!==t.getAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):this._options.disableInteraction,l[c]={element:t,intro:t.getAttribute("data-intro"),step:c+1,tooltipClass:t.getAttribute("data-tooltipclass"),highlightClass:t.getAttribute("data-highlightclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition,scrollTo:t.getAttribute("data-scrollto")||this._options.scrollTo,disableInteraction:u}}}.bind(this))}for(var d=[],p=0;p<l.length;p++)l[p]&&d.push(l[p]);return(l=d).sort(function(t,e){return t.step-e.step}),this._introItems=l,function(t){var e=document.createElement("div"),i="",n=this;if(e.className="introjs-overlay",t.tagName&&"body"!==t.tagName.toLowerCase()){var o=I(t);o&&(i+="width: "+o.width+"px; height:"+o.height+"px; top:"+o.top+"px;left: "+o.left+"px;",e.style.cssText=i)}else i+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",e.style.cssText=i;return t.appendChild(e),e.onclick=function(){!0===n._options.exitOnOverlayClick&&a.call(n,t)},window.setTimeout(function(){i+="opacity: "+n._options.overlayOpacity.toString()+";",e.style.cssText=i},10),!0}.call(this,t)&&(s.call(this),this._options.keyboardNavigation&&v.on(window,"keydown",n,this,!0),v.on(window,"resize",i,this,!0)),!1}function i(){this.refresh.call(this)}function n(t){var e=null===t.code?t.which:t.code;if(null===e&&(e=null===t.charCode?t.keyCode:t.charCode),"Escape"!==e&&27!==e||!0!==this._options.exitOnEsc){if("ArrowLeft"===e||37===e)r.call(this);else if("ArrowRight"===e||39===e)s.call(this);else if("Enter"===e||13===e){var i=t.target||t.srcElement;i&&i.className.match("introjs-prevbutton")?r.call(this):i&&i.className.match("introjs-skipbutton")?(this._introItems.length-1===this._currentStep&&"function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),a.call(this,this._targetElement)):i&&i.getAttribute("data-stepnumber")?i.click():s.call(this),t.preventDefault?t.preventDefault():t.returnValue=!1}}else a.call(this,this._targetElement)}function o(t){if(null===t||"object"!=typeof t||void 0!==t.nodeType)return t;var e={};for(var i in t)void 0!==window.jQuery&&t[i]instanceof window.jQuery?e[i]=t[i]:e[i]=o(t[i]);return e}function s(){this._direction="forward",void 0!==this._currentStepNumber&&w(this._introItems,function(t,e){t.step===this._currentStepNumber&&(this._currentStep=e-1,this._currentStepNumber=void 0)}.bind(this)),void 0===this._currentStep?this._currentStep=0:++this._currentStep;var t=this._introItems[this._currentStep],e=!0;return void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e?(--this._currentStep,!1):this._introItems.length<=this._currentStep?("function"==typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),void a.call(this,this._targetElement)):void m.call(this,t)}function r(){if(this._direction="backward",0===this._currentStep)return!1;--this._currentStep;var t=this._introItems[this._currentStep],e=!0;if(void 0!==this._introBeforeChangeCallback&&(e=this._introBeforeChangeCallback.call(this,t.element)),!1===e)return++this._currentStep,!1;m.call(this,t)}function a(t,e){var o=!0;if(void 0!==this._introBeforeExitCallback&&(o=this._introBeforeExitCallback.call(this)),e||!1!==o){var s=t.querySelectorAll(".introjs-overlay");s&&s.length&&w(s,function(t){t.style.opacity=0,window.setTimeout(function(){this.parentNode&&this.parentNode.removeChild(this)}.bind(t),500)}.bind(this));var r=t.querySelector(".introjs-helperLayer");r&&r.parentNode.removeChild(r);var a=t.querySelector(".introjs-tooltipReferenceLayer");a&&a.parentNode.removeChild(a);var l=t.querySelector(".introjs-disableInteraction");l&&l.parentNode.removeChild(l);var u=document.querySelector(".introjsFloatingElement");u&&u.parentNode.removeChild(u),f(),w(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),v.off(window,"keydown",n,this,!0),v.off(window,"resize",i,this,!0),void 0!==this._introExitCallback&&this._introExitCallback.call(this),this._currentStep=void 0}}function l(t,e,i,n,o){var s,r,a,l,p,h="";if(o=o||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,i.style.display="inherit",null!=n&&(n.style.top=null,n.style.left=null),this._introItems[this._currentStep])switch(h="string"==typeof(s=this._introItems[this._currentStep]).tooltipClass?s.tooltipClass:this._options.tooltipClass,e.className=("introjs-tooltip "+h).replace(/^\s+|\s+$/g,""),e.setAttribute("role","dialog"),"floating"!==(p=this._introItems[this._currentStep].position)&&(p=function(t,e,i){var n=this._options.positionPrecedence.slice(),o=E(),s=I(e).height+10,r=I(e).width+20,a=t.getBoundingClientRect(),l="floating";a.bottom+s+s>o.height&&d(n,"bottom");a.top-s<0&&d(n,"top");a.right+r>o.width&&d(n,"right");a.left-r<0&&d(n,"left");var u=(c=i||"",p=c.indexOf("-"),-1!==p?c.substr(p):"");var c,p;i&&(i=i.split("-")[0]);n.length&&(l="auto"!==i&&n.indexOf(i)>-1?i:n[0]);-1!==["top","bottom"].indexOf(l)&&(l+=function(t,e,i,n){var o=e/2,s=Math.min(i.width,window.screen.width),r=["-left-aligned","-middle-aligned","-right-aligned"],a="";s-t<e&&d(r,"-left-aligned");(t<o||s-t<o)&&d(r,"-middle-aligned");t<e&&d(r,"-right-aligned");a=r.length?-1!==r.indexOf(n)?n:r[0]:"-middle-aligned";return a}(a.left,r,o,u));return l}.call(this,t,e,p)),a=I(t),r=I(e),l=E(),_(e,"introjs-"+p),p){case"top-right-aligned":i.className="introjs-arrow bottom-right";var m=0;c(a,m,r,e),e.style.bottom=a.height+20+"px";break;case"top-middle-aligned":i.className="introjs-arrow bottom-middle";var b=a.width/2-r.width/2;o&&(b+=5),c(a,b,r,e)&&(e.style.right=null,u(a,b,r,l,e)),e.style.bottom=a.height+20+"px";break;case"top-left-aligned":case"top":i.className="introjs-arrow bottom",u(a,o?0:15,r,l,e),e.style.bottom=a.height+20+"px";break;case"right":e.style.left=a.width+20+"px",a.top+r.height>l.height?(i.className="introjs-arrow left-bottom",e.style.top="-"+(r.height-a.height-20)+"px"):i.className="introjs-arrow left";break;case"left":o||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+r.height>l.height?(e.style.top="-"+(r.height-a.height-20)+"px",i.className="introjs-arrow right-bottom"):i.className="introjs-arrow right",e.style.right=a.width+20+"px";break;case"floating":i.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-"+r.width/2+"px",e.style.marginTop="-"+r.height/2+"px",null!=n&&(n.style.left="-"+(r.width/2+18)+"px",n.style.top="-"+(r.height/2+18)+"px");break;case"bottom-right-aligned":i.className="introjs-arrow top-right",c(a,m=0,r,e),e.style.top=a.height+20+"px";break;case"bottom-middle-aligned":i.className="introjs-arrow top-middle",b=a.width/2-r.width/2,o&&(b+=5),c(a,b,r,e)&&(e.style.right=null,u(a,b,r,l,e)),e.style.top=a.height+20+"px";break;default:i.className="introjs-arrow top",u(a,0,r,l,e),e.style.top=a.height+20+"px"}}function u(t,e,i,n,o){return t.left+e+i.width>n.width?(o.style.left=n.width-i.width-t.left+"px",!1):(o.style.left=e+"px",!0)}function c(t,e,i,n){return t.left+t.width-e-i.width<0?(n.style.left=-t.left+"px",!1):(n.style.right=e+"px",!0)}function d(t,e){t.indexOf(e)>-1&&t.splice(t.indexOf(e),1)}function p(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],i=I(e.element),n=this._options.helperElementPadding;B(e.element)?_(t,"introjs-fixedTooltip"):k(t,"introjs-fixedTooltip"),"floating"===e.position&&(n=0),t.style.cssText="width: "+(i.width+n)+"px; height:"+(i.height+n)+"px; top:"+(i.top-n/2)+"px;left: "+(i.left-n/2)+"px;"}}function h(t){t.setAttribute("role","button"),t.tabIndex=0}function m(t){void 0!==this._introChangeCallback&&this._introChangeCallback.call(this,t.element);var e,i,n,o,u=this,c=document.querySelector(".introjs-helperLayer"),d=document.querySelector(".introjs-tooltipReferenceLayer"),m="introjs-helperLayer";if("string"==typeof t.highlightClass&&(m+=" "+t.highlightClass),"string"==typeof this._options.highlightClass&&(m+=" "+this._options.highlightClass),null!==c){var g=d.querySelector(".introjs-helperNumberLayer"),y=d.querySelector(".introjs-tooltiptext"),v=d.querySelector(".introjs-arrow"),B=d.querySelector(".introjs-tooltip");if(n=d.querySelector(".introjs-skipbutton"),i=d.querySelector(".introjs-prevbutton"),e=d.querySelector(".introjs-nextbutton"),c.className=m,B.style.opacity=0,B.style.display="none",null!==g){var E=this._introItems[t.step-2>=0?t.step-2:0];(null!==E&&"forward"===this._direction&&"floating"===E.position||"backward"===this._direction&&"floating"===t.position)&&(g.style.opacity=0)}(o=M(t.element))!==document.body&&H(o,t.element),p.call(u,c),p.call(u,d),w(document.querySelectorAll(".introjs-fixParent"),function(t){k(t,/introjs-fixParent/g)}),f(),u._lastShowElementTimer&&window.clearTimeout(u._lastShowElementTimer),u._lastShowElementTimer=window.setTimeout(function(){null!==g&&(g.innerHTML=t.step),y.innerHTML=t.intro,B.style.display="block",l.call(u,t.element,B,v,g),u._options.showBullets&&(d.querySelector(".introjs-bullets li > a.active").className="",d.querySelector('.introjs-bullets li > a[data-stepnumber="'+t.step+'"]').className="active"),d.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:"+q.call(u)+"%;",d.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",q.call(u)),B.style.opacity=1,g&&(g.style.opacity=1),null!=n&&/introjs-donebutton/gi.test(n.className)?n.focus():null!=e&&e.focus(),b.call(u,t.scrollTo,t,y)},350)}else{var z=document.createElement("div"),C=document.createElement("div"),j=document.createElement("div"),S=document.createElement("div"),O=document.createElement("div"),L=document.createElement("div"),T=document.createElement("div"),N=document.createElement("div");z.className=m,C.className="introjs-tooltipReferenceLayer",(o=M(t.element))!==document.body&&H(o,t.element),p.call(u,z),p.call(u,C),this._targetElement.appendChild(z),this._targetElement.appendChild(C),j.className="introjs-arrow",O.className="introjs-tooltiptext",O.innerHTML=t.intro,L.className="introjs-bullets",!1===this._options.showBullets&&(L.style.display="none");var A=document.createElement("ul");A.setAttribute("role","tablist");var I=function(){u.goToStep(this.getAttribute("data-stepnumber"))};w(this._introItems,function(e,i){var n=document.createElement("li"),o=document.createElement("a");n.setAttribute("role","presentation"),o.setAttribute("role","tab"),o.onclick=I,i===t.step-1&&(o.className="active"),h(o),o.innerHTML="&nbsp;",o.setAttribute("data-stepnumber",e.step),n.appendChild(o),A.appendChild(n)}),L.appendChild(A),T.className="introjs-progress",!1===this._options.showProgress&&(T.style.display="none");var P=document.createElement("div");P.className="introjs-progressbar",P.setAttribute("role","progress"),P.setAttribute("aria-valuemin",0),P.setAttribute("aria-valuemax",100),P.setAttribute("aria-valuenow",q.call(this)),P.style.cssText="width:"+q.call(this)+"%;",T.appendChild(P),N.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(N.style.display="none"),S.className="introjs-tooltip",S.appendChild(O),S.appendChild(L),S.appendChild(T);var D=document.createElement("span");!0===this._options.showStepNumbers&&(D.className="introjs-helperNumberLayer",D.innerHTML=t.step,C.appendChild(D)),S.appendChild(j),C.appendChild(S),(e=document.createElement("a")).onclick=function(){u._introItems.length-1!==u._currentStep&&s.call(u)},h(e),e.innerHTML=this._options.nextLabel,(i=document.createElement("a")).onclick=function(){0!==u._currentStep&&r.call(u)},h(i),i.innerHTML=this._options.prevLabel,(n=document.createElement("a")).className=this._options.buttonClass+" introjs-skipbutton ",h(n),n.innerHTML=this._options.skipLabel,n.onclick=function(){u._introItems.length-1===u._currentStep&&"function"==typeof u._introCompleteCallback&&u._introCompleteCallback.call(u),u._introItems.length-1!==u._currentStep&&"function"==typeof u._introExitCallback&&u._introExitCallback.call(u),"function"==typeof u._introSkipCallback&&u._introSkipCallback.call(u),a.call(u,u._targetElement)},N.appendChild(n),this._introItems.length>1&&(N.appendChild(i),N.appendChild(e)),S.appendChild(N),l.call(u,t.element,S,j,D),b.call(this,t.scrollTo,t,S)}var F=u._targetElement.querySelector(".introjs-disableInteraction");F&&F.parentNode.removeChild(F),t.disableInteraction&&function(){var t=document.querySelector(".introjs-disableInteraction");null===t&&((t=document.createElement("div")).className="introjs-disableInteraction",this._targetElement.appendChild(t)),p.call(this,t)}.call(u),0===this._currentStep&&this._introItems.length>1?(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),!0===this._options.hidePrev?(null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-hidden"),null!=e&&_(e,"introjs-fullbutton")):null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton introjs-disabled"),null!=n&&(n.innerHTML=this._options.skipLabel)):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=n&&(n.innerHTML=this._options.doneLabel,_(n,"introjs-donebutton")),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),!0===this._options.hideNext?(null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-hidden"),null!=i&&_(i,"introjs-fullbutton")):null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton introjs-disabled")):(null!=n&&(n.className=this._options.buttonClass+" introjs-skipbutton"),null!=i&&(i.className=this._options.buttonClass+" introjs-prevbutton"),null!=e&&(e.className=this._options.buttonClass+" introjs-nextbutton"),null!=n&&(n.innerHTML=this._options.skipLabel)),i.setAttribute("role","button"),e.setAttribute("role","button"),n.setAttribute("role","button"),null!=e&&e.focus(),function(t){var e;if(t.element instanceof SVGElement)for(e=t.element.parentNode;null!==t.element.parentNode&&e.tagName&&"body"!==e.tagName.toLowerCase();)"svg"===e.tagName.toLowerCase()&&_(e,"introjs-showElement introjs-relativePosition"),e=e.parentNode;_(t.element,"introjs-showElement");var i=x(t.element,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&_(t.element,"introjs-relativePosition");e=t.element.parentNode;for(;null!==e&&e.tagName&&"body"!==e.tagName.toLowerCase();){var n=x(e,"z-index"),o=parseFloat(x(e,"opacity")),s=x(e,"transform")||x(e,"-webkit-transform")||x(e,"-moz-transform")||x(e,"-ms-transform")||x(e,"-o-transform");(/[0-9]+/.test(n)||o<1||"none"!==s&&void 0!==s)&&_(e,"introjs-fixParent"),e=e.parentNode}}(t),void 0!==this._introAfterChangeCallback&&this._introAfterChangeCallback.call(this,t.element)}function b(t,e,i){var n;if("off"!==t&&(this._options.scrollToElement&&(n="tooltip"===t?i.getBoundingClientRect():e.element.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(e.element)))){var o=E().height;n.bottom-(n.bottom-n.top)<0||e.element.clientHeight>o?window.scrollBy(0,n.top-(o/2-n.height/2)-this._options.scrollPadding):window.scrollBy(0,n.top-(o/2-n.height/2)+this._options.scrollPadding)}}function f(){w(document.querySelectorAll(".introjs-showElement"),function(t){k(t,/introjs-[a-zA-Z]+/g)})}function w(t,e,i){if(t)for(var n=0,o=t.length;n<o;n++)e(t[n],n);"function"==typeof i&&i()}var g,y=(g={},function(t,e){return g[e=e||"introjs-stamp"]=g[e]||0,void 0===t[e]&&(t[e]=g[e]++),t[e]}),v=new function(){var t="introjs_event";this._id=function(t,e,i,n){return e+y(i)+(n?"_"+y(n):"")},this.on=function(e,i,n,o,s){var r=this._id.apply(this,arguments),a=function(t){return n.call(o||e,t||window.event)};"addEventListener"in e?e.addEventListener(i,a,s):"attachEvent"in e&&e.attachEvent("on"+i,a),e[t]=e[t]||{},e[t][r]=a},this.off=function(e,i,n,o,s){var r=this._id.apply(this,arguments),a=e[t]&&e[t][r];a&&("removeEventListener"in e?e.removeEventListener(i,a,s):"detachEvent"in e&&e.detachEvent("on"+i,a),e[t][r]=null)}};function _(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i+" "+e)}else{if(void 0!==t.classList)w(e.split(" "),function(e){t.classList.add(e)});else t.className.match(e)||(t.className+=" "+e)}}function k(t,e){if(t instanceof SVGElement){var i=t.getAttribute("class")||"";t.setAttribute("class",i.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var i="";return t.currentStyle?i=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),i&&i.toLowerCase?i.toLowerCase():i}function B(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===x(t,"position")||B(e))}function E(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function z(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function C(t){if(this._introItems=[],this._options.hints)w(this._options.hints,function(t){var e=o(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||this._options.hintPosition,e.hintAnimation=e.hintAnimation||this._options.hintAnimation,null!==e.element&&this._introItems.push(e)}.bind(this));else{var e=t.querySelectorAll("*[data-hint]");if(!e||!e.length)return!1;w(e,function(t){var e=t.getAttribute("data-hintanimation");e=e?"true"===e:this._options.hintAnimation,this._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hintposition")||this._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltipclass"),position:t.getAttribute("data-position")||this._options.tooltipPosition})}.bind(this))}(function(){var t=this,e=document.querySelector(".introjs-hints");null===e&&((e=document.createElement("div")).className="introjs-hints");w(this._introItems,function(i,n){if(!document.querySelector('.introjs-hint[data-step="'+n+'"]')){var o=document.createElement("a");h(o),o.onclick=function(e){return function(i){var n=i||window.event;n.stopPropagation&&n.stopPropagation(),null!==n.cancelBubble&&(n.cancelBubble=!0),A.call(t,e)}}(n),o.className="introjs-hint",i.hintAnimation||_(o,"introjs-hint-no-anim"),B(i.element)&&_(o,"introjs-fixedhint");var s=document.createElement("div");s.className="introjs-hint-dot";var r=document.createElement("div");r.className="introjs-hint-pulse",o.appendChild(s),o.appendChild(r),o.setAttribute("data-step",n),i.targetElement=i.element,i.element=o,N.call(this,i.hintPosition,o,i.targetElement),e.appendChild(o)}}.bind(this)),document.body.appendChild(e),void 0!==this._hintsAddedCallback&&this._hintsAddedCallback.call(this)}).call(this),v.on(document,"click",z,this,!1),v.on(window,"resize",j,this,!0)}function j(){w(this._introItems,function(t){void 0!==t.targetElement&&N.call(this,t.hintPosition,t.element,t.targetElement)}.bind(this))}function S(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function O(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];z.call(this),e&&_(e,"introjs-hidehint"),void 0!==this._hintCloseCallback&&this._hintCloseCallback.call(this,t)}function L(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];e&&k(e,/introjs-hidehint/g)}function T(t){var e=S('.introjs-hint[data-step="'+t+'"]')[0];e&&e.parentNode.removeChild(e)}function N(t,e,i){var n=I.call(this,i);switch(t){default:case"top-left":e.style.left=n.left+"px",e.style.top=n.top+"px";break;case"top-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+"px";break;case"bottom-left":e.style.left=n.left+"px",e.style.top=n.top+n.height-20+"px";break;case"bottom-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+n.height-20+"px";break;case"middle-left":e.style.left=n.left+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-right":e.style.left=n.left+n.width-20+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"middle-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+(n.height-20)/2+"px";break;case"bottom-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+n.height-20+"px";break;case"top-middle":e.style.left=n.left+(n.width-20)/2+"px",e.style.top=n.top+"px"}}function A(t){var e=document.querySelector('.introjs-hint[data-step="'+t+'"]'),i=this._introItems[t];void 0!==this._hintClickCallback&&this._hintClickCallback.call(this,e,i,t);var n=z.call(this);if(parseInt(n,10)!==t){var o=document.createElement("div"),s=document.createElement("div"),r=document.createElement("div"),a=document.createElement("div");o.className="introjs-tooltip",o.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext";var u=document.createElement("p");u.innerHTML=i.hint;var c=document.createElement("a");c.className=this._options.buttonClass,c.setAttribute("role","button"),c.innerHTML=this._options.hintButtonLabel,c.onclick=O.bind(this,t),s.appendChild(u),s.appendChild(c),r.className="introjs-arrow",o.appendChild(r),o.appendChild(s),this._currentStep=e.getAttribute("data-step"),a.className="introjs-tooltipReferenceLayer introjs-hintReference",a.setAttribute("data-step",e.getAttribute("data-step")),p.call(this,a),a.appendChild(o),document.body.appendChild(a),l.call(this,e,o,r,null,!0)}}function I(t){var e=document.body,i=document.documentElement,n=window.pageYOffset||i.scrollTop||e.scrollTop,o=window.pageXOffset||i.scrollLeft||e.scrollLeft,s=t.getBoundingClientRect();return{top:s.top+n,width:s.width,height:s.height,left:s.left+o}}function M(t){var e=window.getComputedStyle(t),i="absolute"===e.position,n=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var o=t;o=o.parentElement;)if(e=window.getComputedStyle(o),(!i||"static"!==e.position)&&n.test(e.overflow+e.overflowY+e.overflowX))return o;return document.body}function H(t,e){t.scrollTop=e.offsetTop-t.offsetTop}function q(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}var P=function(e){var i;if("object"==typeof e)i=new t(e);else if("string"==typeof e){var n=document.querySelector(e);if(!n)throw new Error("There is no element with given selector.");i=new t(n)}else i=new t(document.body);return P.instances[y(i,"introjs-instance")]=i,i};return P.version="2.9.3",P.instances={},P.fn=t.prototype={clone:function(){return new t(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var i,n={};for(i in t)n[i]=t[i];for(i in e)n[i]=e[i];return n}(this._options,t),this},start:function(t){return e.call(this,this._targetElement,t),this},goToStep:function(t){return function(t){this._currentStep=t-2,void 0!==this._introItems&&s.call(this)}.call(this,t),this},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(t){return function(t){this._currentStepNumber=t,void 0!==this._introItems&&s.call(this)}.call(this,t),this},nextStep:function(){return s.call(this),this},previousStep:function(){return r.call(this),this},exit:function(t){return a.call(this,this._targetElement,t),this},refresh:function(){return function(){if(p.call(this,document.querySelector(".introjs-helperLayer")),p.call(this,document.querySelector(".introjs-tooltipReferenceLayer")),p.call(this,document.querySelector(".introjs-disableInteraction")),void 0!==this._currentStep&&null!==this._currentStep){var t=document.querySelector(".introjs-helperNumberLayer"),e=document.querySelector(".introjs-arrow"),i=document.querySelector(".introjs-tooltip");l.call(this,this._introItems[this._currentStep].element,i,e,t)}return j.call(this),this}.call(this),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){return C.call(this,this._targetElement),this},hideHint:function(t){return O.call(this,t),this},hideHints:function(){return function(){w(S(".introjs-hint"),function(t){O.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},showHint:function(t){return L.call(this,t),this},showHints:function(){return function(){var t=S(".introjs-hint");t&&t.length?w(t,function(t){L.call(this,t.getAttribute("data-step"))}.bind(this)):C.call(this,this._targetElement)}.call(this),this},removeHints:function(){return function(){w(S(".introjs-hint"),function(t){T.call(this,t.getAttribute("data-step"))}.bind(this))}.call(this),this},removeHint:function(t){return T.call(this,t),this},showHintDialog:function(t){return A.call(this,t),this}},P},t.exports=n(),t.exports.introJs=function(){return console.warn('Deprecated: please use require("intro.js") directly, instead of the introJs method of the function'),n().apply(this,arguments)}},function(t,e){
50
  /*!
51
  Chosen, a Select Box Enhancer for jQuery and Prototype
52
  by Patrick Filler for Harvest, http://getharvest.com
58
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
59
  This file is generated by `grunt build`, do not edit it by hand.
60
  */
61
+ (function(){var t,e,i,n,o=function(t,e){return function(){return t.apply(e,arguments)}},s={}.hasOwnProperty;(n=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,i,n,o,s,r;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),r=[],i=0,n=(s=t.childNodes).length;i<n;i++)o=s[i],r.push(this.add_option(o,e,t.disabled));return r},t.prototype.add_option=function(t,e,i){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===i?i:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t}()).select_to_array=function(t){var e,i,o,s,r;for(s=new n,i=0,o=(r=t.childNodes).length;i<o;i++)e=r[i],s.add_node(e);return s.parsed},e=function(){function t(e,i){this.form_field=e,this.options=null!=i?i:{},this.label_click_handler=o(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t;return this.click_test_action=(t=this,function(e){return t.test_active_click(e)}),this.activate_action=function(t){return function(e){return t.activate_field(e)}}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+this.escape_html(t.group_label)+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout((e=this,function(){return e.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field();var e},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout((e=this,function(){return e.blur_test()}),100);var e},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,i,n,o,s,r,a;for(e="",a=0,o=0,s=(r=this.results_data).length;o<s&&(n="",""!==(n=(i=r[o]).group?this.result_add_group(i):this.result_add_option(i))&&(a++,e+=n),(null!=t?t.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(i))),!(a>=this.max_shown_results));o++);return e},t.prototype.result_add_option=function(t){var e,i;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),t.style&&(i.style.cssText=t.style),i.setAttribute("data-option-array-index",t.array_index),i.innerHTML=t.highlighted_html||t.html,t.title&&(i.title=t.title),this.outerHTML(i)):""},t.prototype.result_add_group=function(t){var e,i;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),i.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(i.title=t.title),this.outerHTML(i)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,i,n,o;for(o=[],t=0,e=(i=this.results_data).length;t<e;t++)(n=i[t]).selected?o.push(n.selected=!1):o.push(void 0);return o},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(t){var e,i,n,o,s,r,a,l,u,c,d,p,h,m,b;for(this.no_results_clear(),c=0,e=(a=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),u=this.get_search_regex(e),n=0,o=(l=this.results_data).length;n<o;n++)(s=l[n]).search_match=!1,d=null,p=null,s.highlighted_html="",this.include_option_in_results(s)&&(s.group&&(s.group_match=!1,s.active_options=0),null!=s.group_array_index&&this.results_data[s.group_array_index]&&(0===(d=this.results_data[s.group_array_index]).active_options&&d.search_match&&(c+=1),d.active_options+=1),b=s.group?s.label:s.text,s.group&&!this.group_search||(p=this.search_string_match(b,u),s.search_match=null!=p,s.search_match&&!s.group&&(c+=1),s.search_match?(a.length&&(h=p.index,r=b.slice(0,h),i=b.slice(h,h+a.length),m=b.slice(h+a.length),s.highlighted_html=this.escape_html(r)+"<em>"+this.escape_html(i)+"</em>"+this.escape_html(m)),null!=d&&(d.group_match=!0)):null!=s.group_array_index&&this.results_data[s.group_array_index].search_match&&(s.search_match=!0)));return this.result_clear_highlight(),c<1&&a.length?(this.update_results_content(""),this.no_results(a)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,i;return i=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(i="^"+i),e=this.case_sensitive_search?"":"i",new RegExp(i,e)},t.prototype.search_string_match=function(t,e){var i;return i=e.exec(t),!this.search_contains&&(null!=i?i[1]:void 0)&&(i.index+=1),i},t.prototype.choices_count=function(){var t,e,i;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(i=this.form_field.options).length;t<e;t++)i[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keydown_checker=function(t){var e,i;switch(i=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==i&&this.pending_backstroke&&this.clear_backstroke(),i){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},t.prototype.keyup_checker=function(t){var e,i;switch(i=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),i){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){var e;if(!this.is_disabled)return setTimeout((e=this,function(){return e.results_search()}),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'<a class="chosen-single chosen-default">\n <span>'+this.default_text+'</span>\n <div><b></b></div>\n</a>\n<div class="chosen-drop">\n <div class="chosen-search">\n <input class="chosen-search-input" type="text" autocomplete="off" />\n </div>\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_multi_html=function(){return'<ul class="chosen-choices">\n <li class="search-field">\n <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n </li>\n</ul>\n<div class="chosen-drop">\n <ul class="chosen-results"></ul>\n</div>'},t.prototype.get_no_results_html=function(t){return'<li class="no-results">\n '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(n){return e.browser_is_supported()?this.each(function(e){var o,s;s=(o=t(this)).data("chosen"),"destroy"!==n?s instanceof i||o.data("chosen",new i(this,n)):s instanceof i&&s.destroy()}):this}}),i=function(i){function o(){return o.__super__.constructor.apply(this,arguments)}return function(t,e){for(var i in e)s.call(e,i)&&(t[i]=e[i]);function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype}(o,e),o.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},o.prototype.set_up_html=function(){var e,i;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),i={class:e.join(" "),title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",i),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},o.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},o.prototype.register_observers=function(){var t;return this.container.on("touchstart.chosen",(t=this,function(e){t.container_mousedown(e)})),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},o.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},o.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},o.prototype.container_mousedown=function(e){var i;if(!this.is_disabled)return!e||"mousedown"!==(i=e.type)&&"touchstart"!==i||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},o.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},o.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},o.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},o.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},o.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},o.prototype.test_active_click=function(e){var i;return(i=t(e.target).closest(".chosen-container")).length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},o.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=n.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},o.prototype.result_do_highlight=function(t){var e,i,n,o,s;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),o=(n=parseInt(this.search_results.css("maxHeight"),10))+(s=this.search_results.scrollTop()),(e=(i=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(e-n>0?e-n:0);if(i<s)return this.search_results.scrollTop(i)}},o.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},o.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},o.prototype.update_results_content=function(t){return this.search_results.html(t)},o.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},o.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},o.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler)},o.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},o.prototype.search_results_mouseup=function(e){var i;if((i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=i,this.result_select(e),this.search_field.focus()},o.prototype.search_results_mouseover=function(e){var i;if(i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(i)},o.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},o.prototype.choice_build=function(e){var i,n,o;return i=t("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?i.addClass("search-choice-disabled"):((n=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",(o=this,function(t){return o.choice_destroy_link_click(t)})),i.append(n)),this.search_container.before(i)},o.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},o.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},o.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},o.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},o.prototype.result_select=function(t){var e,i;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(i=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(this.choice_label(i)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},o.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},o.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},o.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},o.prototype.get_search_field_value=function(){return this.search_field.val()},o.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},o.prototype.escape_html=function(e){return t("<div/>").text(e).html()},o.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},o.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},o.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},o.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},o.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},o.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},o.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},o.prototype.search_field_scale=function(){var e,i,n,o,s,r,a;if(this.is_multiple){for(s={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},i=0,n=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;i<n;i++)s[o=r[i]]=this.search_field.css(o);return(e=t("<div />").css(s)).text(this.get_search_field_value()),t("body").append(e),a=e.width()+25,e.remove(),this.container.is(":visible")&&(a=Math.min(this.container.outerWidth()-10,a)),this.search_field.width(a)}},o.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},o}()}).call(this)},,,function(t,e,i){"use strict";i.r(e);i(17);var n=class{startDebugging(){this.debugging=!0,this.log({data:"Buttonizer is debugging!",style:"font-size: 30px; color: #FF0000;"})}welcomeToTheConsole(){this.debugging=!0,this.log({data:"Welcome to Buttonizer. Please do not continue without any knowledge.",style:"font-size: 30px; color: #FF0000;"}),this.log({data:"You can find errors down here. If there is any error that is related to Buttonizer you can contact us at contact@buttonizer.pro",style:"font-size: 18px; color: #FF0000;"}),this.log({data:"Check https://community.buttonizer.pro",style:"font-size: 18px; color: #FF0000;"}),this.log({data:" ",style:"font-size: 18px; color: #FF0000;"}),this.log({data:" ",style:"font-size: 18px; color: #FF0000;"}),this.log({data:"----- Logs: -----",style:"font-size: 18px; color: #FF0000;"}),this.debugging=!1}log(t){this.debugging&&t.data&&(t.color&&(t.style=""),t.color||t.style?console.log("%c "+t.data,t.style):console.log(t.data))}warning(t){this.debugging&&console.warn(t)}warn(t){this.debugging&&console.warn(t)}error(t){console.error(t)}};var o=class{constructor(t,e){this.data=t,this.modal=e,this.validate()}validate(){void 0===this.data.onClick&&(this.data.onClick=function(){}),void 0===this.data.text&&(this.data.text="Button"),void 0===this.data.confirm&&(this.data.confirm=!1),void 0===this.data.focus&&(this.data.focus=!1)}render(){let t=document.createElement("a");return t.href="javascript:void(0)",t.innerHTML=this.data.text,t.className="button",t.style.marginLeft="5px",this.data.confirm&&(t.className+=" button-primary"),t.addEventListener("click",()=>{this.data.close&&this.modal.closeDialog(),this.data.confirm&&this.modal.confirmDialog(),this.data.cancel&&this.modal.cancelDialog(),this.data.onClick()}),setTimeout(()=>{this.data.focus&&t.focus()},50),t}};var s=class{constructor(t){this.data=t,this.element=HTMLElement,"function"==typeof this.data.onConfirm?this.onConfirm=this.data.onConfirm:this.onConfirm=function(){},"function"==typeof this.data.onCancel?this.onCancel=this.data.onCancel:this.onCancel=function(){},"function"==typeof this.data.onClose?this.onClose=this.data.onClose:this.onClose=function(){},void 0===this.data.class?this.class="":this.class=this.data.class,void 0!==this.data.video&&(this.class+=" has-video"),this.render()}render(){this.element=document.createElement("div"),this.element.classList="fs-modal active"+(""!==this.class?" "+this.class:"");let t=document.createElement("div");t.classList="fs-modal-dialog",t.appendChild(this.modalHeader()),t.appendChild(this.modalBody()),void 0!==this.data.video&&t.appendChild(this.clearBoth()),t.appendChild(this.modalFooter()),this.element.appendChild(t),document.body.appendChild(this.element)}modalHeader(){let t=document.createElement("div");t.classList="fs-modal-header";let e=document.createElement("h4");e.innerHTML=this.data.title,t.appendChild(e);let i=document.createElement("a");return i.className="fs-close",i.href="javascript:void(0)",i.innerHTML='<i class="dashicons dashicons-no" title="'+window.Buttonizer.translate("modal.dismiss")+'"></i>',i.addEventListener("click",()=>{this.closeDialog()}),t.appendChild(i),t}modalBody(){let t=document.createElement("div"),e=document.createElement("div");e.className="fs-modal-body fs-modal-body-text";let i=document.createElement("div");return i.className="fs-modal-panel active","object"==typeof this.data.content?i.appendChild(this.data.content):i.innerHTML=this.data.content,e.appendChild(i),void 0!==this.data.video?(t.appendChild(e),t.appendChild(this.video()),t):e}modalFooter(){let t=document.createElement("div");return t.className="fs-modal-footer",this.data.buttons&&t.appendChild(this.renderButtons()),t}renderButtons(){let t=document.createElement("div");for(var e=0;e<this.data.buttons.length;e++){let i=new o(this.data.buttons[e],this);t.appendChild(i.render())}return t}cancelDialog(){this.onCancel(),this.closeDialog()}confirmDialog(){this.onConfirm(),this.closeDialog()}closeDialog(){this.onClose(),this.element.remove()}video(){let t=document.createElement("div");t.className="fs-modal-body fs-modal-video";let e=document.createElement("div");e.className="fs-modal-panel active";let i=document.createElement("iframe");return i.width="100%",i.style.maxWidth="560px",i.height="315",i.src=`https://www.youtube.com/embed/${this.data.video}?&autoplay=1`,i.frameBorder="0",i.allow="accelerometer",i.setAttribute("autoplay",""),i.setAttribute("encrypted-media",""),i.setAttribute("gyroscope",""),i.setAttribute("picture-in-picture",""),i.setAttribute("allowfullscreen",""),e.appendChild(i),t.appendChild(e),t}clearBoth(){let t=document.createElement("div");return t.style.clear="both",t}};class r{constructor(t){this.table=document.createElement("table"),this.table.width="100%",""!==t&&(this.table.className=t),this.currentRow=document.createElement("tr")}newRow(){return this.table.appendChild(this.currentRow),this.currentRow=document.createElement("tr"),this}addColumn(t,e,i){let n=document.createElement("td");return n.appendChild(t),"undefined"!==e&&(n.className=e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}addColumnText(t,e,i){let n=document.createElement("td");return n.innerText=t,"undefined"!==e&&(n.className=""+e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}addColumnHTML(t,e,i){let n=document.createElement("td");return n.innerHTML=t,"undefined"!==e&&(n.className=e),"undefined"!==i&&(n.width=i),this.currentRow.appendChild(n),this}build(){return this.table.appendChild(this.currentRow),this.table}}class a{constructor(t){this.windowObject=t,this.onTriggerContainer=null,this.dropdown=document.createElement("select"),this.dropdown.className="window-select"}build(){let t=document.createElement("div");t.appendChild(this.dropdown),this.onChange();let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("page_rules.single_name")+(window.Buttonizer.hasPremium()?"":' <span class="buttonizer-premium premium-right">PRO</span>')+"</h2>","table-align-top",""),e.addColumn(t,"","370"),e.newRow(),e.build()}onChange(){this.dropdown.innerHTML="<option>"+window.Buttonizer.translate("page_rules.input_any_page")+"</option>",this.dropdown.readonly=!0,this.dropdown.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("page_rules.pro_description"),"SQnAhyBWLWg"))}}class l{constructor(t){this.windowObject=t,this.onTriggerContainer=null,this.dropdown=document.createElement("select"),this.dropdown.className="window-select"}build(){let t=document.createElement("div");t.appendChild(this.dropdown),this.onChange();let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("time_schedules.single_name")+(window.Buttonizer.hasPremium()?"":' <span class="buttonizer-premium premium-right">PRO</span>')+"</h2>","table-align-top",""),e.addColumn(t,"","370"),e.newRow(),e.build()}onChange(){this.dropdown.innerHTML="<option>Show on all times</option>",this.dropdown.readonly=!0,this.dropdown.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("time_schedules.pro_description"),"C-B9ITdY6A4"))}}class u{constructor(t){this.windowObject=t}build(){let t=this.buildElements();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("With this setting, you can make your button appear/hide after certain amount of time.","V4lvZ15ULWw")}),t}buildElements(){let t=document.createElement("input");t.type="checkbox",t.className="buttonizer-timeout-checkbox",t.checked=void 0!==this.windowObject.objectOwner.data.advanced_timeout&&!isNaN(this.windowObject.objectOwner.data.advanced_timeout)&&this.windowObject.objectOwner.data.advanced_timeout>0;let e=document.createElement("input");e.type="number",e.value=void 0===this.windowObject.objectOwner.data.advanced_timeout?"":this.windowObject.objectOwner.data.advanced_timeout,e.className="window-select",e.placeholder="miliseconds";let i=document.createElement("div");i.innerHTML=` Show Buttonizer after <b>${e.value/1e3}</b> seconds`,window.Buttonizer.hasPremium()||(t.setAttribute("disabled",""),e.setAttribute("readonly",""),e.value="",e.style.opacity="0.5",i.style.opacity="0.5");let n=new r("table-relative");return n.addColumnHTML("<h2>Timeout</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),n.addColumn(t,"","10"),n.addColumn(e,"","360"),n.newRow(),n.addColumnText(""),n.addColumnText(""),n.addColumn(i),n.build()}}class c{constructor(t){this.windowObject=t,this.checkbox,this.input,this.toggle,this.hide,this.toggleHide,this.select,this.info}build(){let t=this.elements().build();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("With this setting, you can make your button appear/hide after scrolling for a certain amount.","hh5LBF4C1pg")}),t}elements(){this.checkbox=document.createElement("input"),this.checkbox.type="checkbox",this.checkbox.className="buttonizer-scroll-checkbox",this.input=document.createElement("input"),this.input.type="number",this.input.className="window-select",this.input.placeholder="0",this.toggle=document.createElement("input"),this.toggle.type="checkbox",this.toggle.className="buttonizer-switch",this.toggle.style.display="inline-block",this.hide=document.createElement("div"),this.hide.style.display="inline-block",window.Buttonizer.hasPremium()||(this.hide.innerHTML="Starting visibility: <b>Show</b>"),this.toggleHide=document.createElement("div"),this.toggleHide.appendChild(this.toggle),this.toggleHide.appendChild(this.hide),this.select=document.createElement("select");let t=document.createElement("option");t.value="px",t.innerHTML="px";let e=document.createElement("option");e.value="%",e.innerHTML="%",this.select.classList="window-select",this.select.appendChild(e),this.select.appendChild(t),this.info=document.createElement("div"),this.info.innerHTML=` Scroll <b>${this.input.value<=0?"0":this.input.value} ${this.select.value}</b> from top of page to <b>${"true"==this.windowObject.objectOwner.data.advanced_scroll_hide?"hide":"show"}</b> Buttonizer`,window.Buttonizer.hasPremium()||(this.checkbox.setAttribute("disabled",""),this.input.setAttribute("readonly",""),this.toggle.setAttribute("disabled",""),this.select.setAttribute("disabled",""),this.input.value="",this.input.style.opacity="0.5",this.select.style.opacity="0.5",this.info.style.opacity="0.5",this.toggleHide.style.opacity="0.5");let i=new r("table-relative");return i.addColumnHTML("<h2>Scroll</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),i.addColumn(this.checkbox,"","10"),i.addColumn(this.input,"","284"),i.addColumn(this.select,"","70"),i.newRow(),i.addColumnText(""),i.addColumnText(""),i.addColumn(this.toggleHide),i.newRow(),i.addColumnText(""),i.addColumnText(""),i.addColumn(this.info),i}}class d{constructor(t,e){this.window=HTMLElement,this.body=HTMLElement,this.footer=HTMLElement,this.background=document.createElement("div"),this.background.className="background",this.background.addEventListener("click",()=>{this.hide()}),this.title=document.createElement("div"),this.title.innerHTML=e,this.settings={},this.objectOwner=t,this.menuItems=[],this.buttonFilter=document.createElement("div"),this.build()}header(){let t=document.createElement("div");t.className="header";let e=document.createElement("a");e.className="close-btn",e.href="javascript:void(0)";let i=document.createElement("i");return i.className="fa fa-times",e.appendChild(i),e.addEventListener("click",()=>{this.hide()}),t.appendChild(e),t.appendChild(this.title),t}createBody(){let t=document.createElement("div"),e=document.createElement("div");return e.className="window-menu",this.bodyMenu=e,this.body=document.createElement("div"),this.body.className="window-body",t.appendChild(this.bodyMenu),t.appendChild(this.body),t}build(){let t=document.createElement("div");t.className="buttonizer-settings-window",t.style.display="none",t.style.top="500px",t.appendChild(this.header()),t.appendChild(this.createBody()),t.appendChild(this.background),this.window=t,document.body.appendChild(this.window),jQuery(this.window).draggable({handle:".header",containment:"body",start:()=>this.topMeUp()}),this.window.addEventListener("click",()=>this.topMeUp()),this.afterBuild(),this.render()}addItem(t,e){let i=document.createElement("a");i.href="javascript:void(0)",i.innerHTML=t;let n=document.createElement("div");n.className="body-inner animated pulse",this.menuItems.length>=1&&(n.style.display="none"),n.appendChild(e),i.addEventListener("click",()=>{this.openMenuItem(t)}),0===this.menuItems.length&&i.classList.add("selected"),this.menuItems.push({unique:t,menu:i,body:n}),this.bodyMenu.appendChild(i),this.body.appendChild(n)}openMenuItem(t){for(let e=0;e<this.menuItems.length;e++)this.menuItems[e].unique===t?(this.menuItems[e].menu.classList.add("selected"),this.menuItems[e].body.style.display="block"):(this.menuItems[e].menu.classList.remove("selected"),this.menuItems[e].body.style.display="none")}show(){this.window.style.display="block"}hide(){this.window.style.display="none"}toggle(){"block"===this.window.style.display?this.hide():this.show()}topMeUp(){Buttonizer.windowsZindex!==this.window.style.zIndex&&(Buttonizer.windowsZindex++,this.window.style.zIndex=Buttonizer.windowsZindex)}render(){}afterBuild(){}}class p{constructor(t){this.windowObject=t}build(){let t=document.createElement("input");t.className="window-select",t.placeholder=window.Buttonizer.translate("settings.custom_id.placeholder");let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.custom_id.title")+" <span class='buttonizer-premium premium-right'>PRO</span></h2>"),t.addEventListener("mousedown",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.custom_id.pro_description"))),e.addColumn(t,"","370"),e.build()}}class h{constructor(t){this.windowObject=t}build(){let t=document.createElement("input");t.className="window-select",t.placeholder=window.Buttonizer.translate("settings.custom_class.placeholder");let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.custom_class.title")+" <span class='buttonizer-premium premium-right'>PRO</span></h2>","table-align-top",""),t.addEventListener("mousedown",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.custom_class.pro_description"))),e.addColumn(t,"","370"),e.build()}}class m extends d{constructor(t){super(t,window.Buttonizer.translate("utils.advanced_settings")+" - "+t.data.name+(window.Buttonizer.hasPremium()?"":" (premium)"))}render(){this.filter(),this.styling(),this.delay()}filter(){let t=document.createElement("div");this.pageRuleSelect=new a(this),this.timeSchedule=new l(this),t.appendChild(this.timeSchedule.build()),t.appendChild(this.pageRuleSelect.build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.filters"),t)}styling(){let t=document.createElement("div");t.appendChild(new h(this).build()),t.appendChild(new p(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.styling"),t)}delay(){let t=document.createElement("div");t.appendChild(new u(this.objectOwner.groupObject.windowObject).build()),t.appendChild(new c(this.objectOwner.groupObject.windowObject).build()),this.addItem("Timeout & Scroll",t),this.menuItems.forEach(t=>{"Timeout & Scroll"===t.unique&&(t.menu.style.display="none")})}}var b=i(3);
62
  /**!
63
+ * tippy.js v4.3.5
64
  * (c) 2017-2019 atomiks
65
  * MIT License
66
+ */function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}var w="undefined"!=typeof window&&"undefined"!=typeof document,g=w?navigator.userAgent:"",y=/MSIE |Trident\//.test(g),v=/UCBrowser\//.test(g),_=w&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,k={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,wait:null,zIndex:9999},x=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],B=w?Element.prototype:{},E=B.matches||B.matchesSelector||B.webkitMatchesSelector||B.mozMatchesSelector||B.msMatchesSelector;function z(t){return[].slice.call(t)}function C(t,e){return j(t,function(t){return E.call(t,e)})}function j(t,e){for(;t;){if(e(t))return t;t=t.parentElement}return null}var S={passive:!0},O=4,L="x-placement",T="x-out-of-boundaries",N="tippy-iOS",A="tippy-active",I="tippy-popper",M="tippy-tooltip",H="tippy-content",q="tippy-backdrop",P="tippy-arrow",D="tippy-roundarrow",F=".".concat(I),R=".".concat(M),W=".".concat(H),U=".".concat(q),G=".".concat(P),Q=".".concat(D),$=!1;function V(){$||($=!0,_&&document.body.classList.add(N),window.performance&&document.addEventListener("mousemove",X))}var Y=0;function X(){var t=performance.now();t-Y<20&&($=!1,document.removeEventListener("mousemove",X),_||document.body.classList.remove(N)),Y=t}function K(){var t=document.activeElement;t&&t.blur&&t._tippy&&t.blur()}var J=Object.keys(k);function Z(t,e){return{}.hasOwnProperty.call(t,e)}function tt(t,e,i){if(Array.isArray(t)){var n=t[e];return null==n?i:n}return t}function et(t,e){return 0===e?t:function(n){clearTimeout(i),i=setTimeout(function(){t(n)},e)};var i}function it(t,e){return t&&t.modifiers&&t.modifiers[e]}function nt(t,e){return t.indexOf(e)>-1}function ot(t){return t instanceof Element}function st(t){return!(!t||!Z(t,"isVirtual"))||ot(t)}function rt(t,e){return"function"==typeof t?t.apply(null,e):t}function at(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function lt(){return document.createElement("div")}function ut(t,e){t.forEach(function(t){t&&(t.style.transitionDuration="".concat(e,"ms"))})}function ct(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function dt(t,e){var i=f({},e,{content:rt(e.content,[t])},e.ignoreAttributes?{}:function(t){return J.reduce(function(e,i){var n=(t.getAttribute("data-tippy-".concat(i))||"").trim();if(!n)return e;if("content"===i)e[i]=n;else try{e[i]=JSON.parse(n)}catch(t){e[i]=n}return e},{})}(t));return(i.arrow||v)&&(i.animateFill=!1),i}function pt(t,e){Object.keys(t).forEach(function(t){if(!Z(e,t))throw new Error("[tippy]: `".concat(t,"` is not a valid option"))})}function ht(t,e){t.innerHTML=ot(e)?e.innerHTML:e}function mt(t,e){if(ot(e.content))ht(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){t[e.allowHTML?"innerHTML":"textContent"]=e.content}}function bt(t){return{tooltip:t.querySelector(R),backdrop:t.querySelector(U),content:t.querySelector(W),arrow:t.querySelector(G)||t.querySelector(Q)}}function ft(t){t.setAttribute("data-inertia","")}function wt(t){var e=lt();return"round"===t?(e.className=D,ht(e,'<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>')):e.className=P,e}function gt(){var t=lt();return t.className=q,t.setAttribute("data-state","hidden"),t}function yt(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function vt(t,e,i){var n=v&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](n,i)}function _t(t){var e=t.getAttribute(L);return e?e.split("-")[0]:""}function kt(t,e,i){i.split(" ").forEach(function(i){t.classList[e](i+"-theme")})}var xt=1,Bt=[];function Et(t,e){var i,n,o,s,r,a=dt(t,e);if(!a.multiple&&t._tippy)return null;var l,u,c,d,p,h=!1,m=!1,w=!1,g=!1,v=[],_=et(zt,a.interactiveDebounce),B=xt++,N=function(t,e){var i=lt();i.className=I,i.id="tippy-".concat(t),i.style.zIndex=""+e.zIndex,i.style.position="absolute",i.style.top="0",i.style.left="0",e.role&&i.setAttribute("role",e.role);var n=lt();n.className=M,n.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),n.setAttribute("data-size",e.size),n.setAttribute("data-animation",e.animation),n.setAttribute("data-state","hidden"),kt(n,"add",e.theme);var o=lt();return o.className=H,o.setAttribute("data-state","hidden"),e.interactive&&yt(i,n),e.arrow&&n.appendChild(wt(e.arrowType)),e.animateFill&&(n.appendChild(gt()),n.setAttribute("data-animatefill","")),e.inertia&&ft(n),mt(o,e),n.appendChild(o),i.appendChild(n),i}(B,a),q=bt(N),P={id:B,reference:t,popper:N,popperChildren:q,popperInstance:null,props:a,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:Ht,set:qt,setContent:function(t){qt({content:t})},show:Pt,hide:Dt,enable:function(){P.state.isEnabled=!0},disable:function(){P.state.isEnabled=!1},destroy:function(e){if(P.state.isDestroyed)return;m=!0,P.state.isMounted&&Dt(0);J(),delete t._tippy;var i=P.props.target;i&&e&&ot(t)&&z(t.querySelectorAll(i)).forEach(function(t){t._tippy&&t._tippy.destroy()});P.popperInstance&&P.popperInstance.destroy();m=!1,P.state.isDestroyed=!0}};return t._tippy=P,N._tippy=P,K(),a.lazy||Nt(),a.showOnInit&&At(),!a.a11y||a.target||(!ot(p=W())||E.call(p,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!p.hasAttribute("disabled"))||W().setAttribute("tabindex","0"),N.addEventListener("mouseenter",function(t){P.props.interactive&&P.state.isVisible&&"mouseenter"===i&&At(t,!0)}),N.addEventListener("mouseleave",function(){P.props.interactive&&"mouseenter"===i&&document.addEventListener("mousemove",_)}),P;function D(){document.removeEventListener("mousemove",st)}function R(){document.body.removeEventListener("mouseleave",It),document.removeEventListener("mousemove",_),Bt=Bt.filter(function(t){return t!==_})}function W(){return P.props.triggerTarget||t}function U(){document.addEventListener("click",Mt,!0)}function G(){document.removeEventListener("click",Mt,!0)}function Q(){return[P.popperChildren.tooltip,P.popperChildren.backdrop,P.popperChildren.content]}function V(){var t=P.props.followCursor;return t&&"focus"!==i||$&&"initial"===t}function Y(t,e){var i=P.popperChildren.tooltip;function n(t){t.target===i&&(vt(i,"remove",n),e())}if(0===t)return e();vt(i,"remove",c),vt(i,"add",n),c=n}function X(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];W().addEventListener(t,e,i),v.push({eventType:t,handler:e,options:i})}function K(){P.props.touchHold&&!P.props.target&&(X("touchstart",ht,S),X("touchend",Ct,S)),P.props.trigger.trim().split(" ").forEach(function(t){if("manual"!==t)if(P.props.target)switch(t){case"mouseenter":X("mouseover",St),X("mouseout",Ot);break;case"focus":X("focusin",St),X("focusout",Ot);break;case"click":X(t,St)}else switch(X(t,ht),t){case"mouseenter":X("mouseleave",Ct);break;case"focus":X(y?"focusout":"blur",jt)}})}function J(){v.forEach(function(t){var e=t.eventType,i=t.handler,n=t.options;W().removeEventListener(e,i,n)}),v=[]}function st(e){var i=n=e,o=i.clientX,s=i.clientY;if(d){var r=j(e.target,function(e){return e===t}),a=t.getBoundingClientRect(),l=P.props.followCursor,u="horizontal"===l,c="vertical"===l,p=nt(["top","bottom"],_t(N)),h=N.getAttribute(L),m=!!h&&!!h.split("-")[1],b=p?N.offsetWidth:N.offsetHeight,w=b/2,g=p?0:m?b:w,y=p?m?b:w:0;!r&&P.props.interactive||(P.popperInstance.reference=f({},P.popperInstance.reference,{referenceNode:t,clientWidth:0,clientHeight:0,getBoundingClientRect:function(){return{width:p?b:0,height:p?0:b,top:(u?a.top:s)-g,bottom:(u?a.bottom:s)+g,left:(c?a.left:o)-y,right:(c?a.right:o)+y}}}),P.popperInstance.update()),"initial"===l&&P.state.isVisible&&D()}}function ht(t){P.state.isEnabled&&!Lt(t)&&(P.state.isVisible||(i=t.type,t instanceof MouseEvent&&(n=t,Bt.forEach(function(e){return e(t)}))),"click"===t.type&&!1!==P.props.hideOnClick&&P.state.isVisible?It():At(t))}function zt(e){var i=C(e.target,F)===N,n=j(e.target,function(e){return e===t});i||n||function(t,e,i,n){if(!t)return!0;var o=i.clientX,s=i.clientY,r=n.interactiveBorder,a=n.distance,l=e.top-s>("top"===t?r+a:r),u=s-e.bottom>("bottom"===t?r+a:r),c=e.left-o>("left"===t?r+a:r),d=o-e.right>("right"===t?r+a:r);return l||u||c||d}(_t(N),N.getBoundingClientRect(),e,P.props)&&(R(),It())}function Ct(t){if(!Lt(t))return P.props.interactive?(document.body.addEventListener("mouseleave",It),document.addEventListener("mousemove",_),void Bt.push(_)):void It()}function jt(t){t.target===W()&&(P.props.interactive&&t.relatedTarget&&N.contains(t.relatedTarget)||It())}function St(t){C(t.target,P.props.target)&&At(t)}function Ot(t){C(t.target,P.props.target)&&It()}function Lt(t){var e="ontouchstart"in window,i=nt(t.type,"touch"),n=P.props.touchHold;return e&&$&&n&&!i||$&&!n&&i}function Tt(){!g&&u&&(g=!0,function(t){t.offsetHeight}(N),u())}function Nt(){var e=P.props.popperOptions,i=P.popperChildren,n=i.tooltip,o=i.arrow,s=it(e,"preventOverflow");function r(t){P.props.flip&&!P.props.flipOnUpdate&&(t.flipped&&(P.popperInstance.options.placement=t.placement),at(P.popperInstance.modifiers,!1)),n.setAttribute(L,t.placement),!1!==t.attributes[T]?n.setAttribute(T,""):n.removeAttribute(T),l&&l!==t.placement&&w&&(n.style.transition="none",requestAnimationFrame(function(){n.style.transition=""})),l=t.placement,w=P.state.isVisible;var e=_t(N),i=n.style;i.top=i.bottom=i.left=i.right="",i[e]=-(P.props.distance-10)+"px";var o=s&&void 0!==s.padding?s.padding:O,r="number"==typeof o,a=f({top:r?o:o.top,bottom:r?o:o.bottom,left:r?o:o.left,right:r?o:o.right},!r&&o);a[e]=r?o+P.props.distance:(o[e]||0)+P.props.distance,P.popperInstance.modifiers.filter(function(t){return"preventOverflow"===t.name})[0].padding=a,d=a}var a=f({eventsEnabled:!1,placement:P.props.placement},e,{modifiers:f({},e?e.modifiers:{},{preventOverflow:f({boundariesElement:P.props.boundary,padding:O},s),arrow:f({element:o,enabled:!!o},it(e,"arrow")),flip:f({enabled:P.props.flip,padding:P.props.distance+O,behavior:P.props.flipBehavior},it(e,"flip")),offset:f({offset:P.props.offset},it(e,"offset"))}),onCreate:function(t){r(t),Tt(),e&&e.onCreate&&e.onCreate(t)},onUpdate:function(t){r(t),Tt(),e&&e.onUpdate&&e.onUpdate(t)}});P.popperInstance=new b.a(t,N,a)}function At(t,i){if(Ht(),!P.state.isVisible){if(P.props.target)return function(t){if(t){var i=C(t.target,P.props.target);i&&!i._tippy&&Et(i,f({},P.props,{content:rt(e.content,[i]),appendTo:e.appendTo,target:"",showOnInit:!0}))}}(t);if(h=!0,t&&!i&&P.props.onTrigger(P,t),P.props.wait)return P.props.wait(P,t);V()&&!P.state.isMounted&&(P.popperInstance||Nt(),document.addEventListener("mousemove",st)),U();var n=tt(P.props.delay,0,k.delay);n?o=setTimeout(function(){Pt()},n):Pt()}}function It(){if(Ht(),!P.state.isVisible)return D(),void G();h=!1;var t=tt(P.props.delay,1,k.delay);t?s=setTimeout(function(){P.state.isVisible&&Dt()},t):r=requestAnimationFrame(function(){Dt()})}function Mt(t){if(!P.props.interactive||!N.contains(t.target)){if(W().contains(t.target)){if($)return;if(P.state.isVisible&&nt(P.props.trigger,"click"))return}!0===P.props.hideOnClick&&(Ht(),Dt())}}function Ht(){clearTimeout(o),clearTimeout(s),cancelAnimationFrame(r)}function qt(e){pt(e=e||{},k),J();var i=P.props,o=dt(t,f({},P.props,{},e,{ignoreAttributes:!0}));o.ignoreAttributes=Z(e,"ignoreAttributes")?e.ignoreAttributes||!1:i.ignoreAttributes,P.props=o,K(),R(),_=et(zt,o.interactiveDebounce),function(t,e,i){var n=bt(t),o=n.tooltip,s=n.content,r=n.backdrop,a=n.arrow;t.style.zIndex=""+i.zIndex,o.setAttribute("data-size",i.size),o.setAttribute("data-animation",i.animation),o.style.maxWidth=i.maxWidth+("number"==typeof i.maxWidth?"px":""),i.role?t.setAttribute("role",i.role):t.removeAttribute("role"),e.content!==i.content&&mt(s,i),!e.animateFill&&i.animateFill?(o.appendChild(gt()),o.setAttribute("data-animatefill","")):e.animateFill&&!i.animateFill&&(o.removeChild(r),o.removeAttribute("data-animatefill")),!e.arrow&&i.arrow?o.appendChild(wt(i.arrowType)):e.arrow&&!i.arrow&&o.removeChild(a),e.arrow&&i.arrow&&e.arrowType!==i.arrowType&&o.replaceChild(wt(i.arrowType),a),!e.interactive&&i.interactive?yt(t,o):e.interactive&&!i.interactive&&function(t,e){t.removeAttribute("tabindex"),e.removeAttribute("data-interactive")}(t,o),!e.inertia&&i.inertia?ft(o):e.inertia&&!i.inertia&&function(t){t.removeAttribute("data-inertia")}(o),e.theme!==i.theme&&(kt(o,"remove",e.theme),kt(o,"add",i.theme))}(N,i,o),P.popperChildren=bt(N),P.popperInstance&&(x.some(function(t){return Z(e,t)&&e[t]!==i[t]})?(P.popperInstance.destroy(),Nt(),P.state.isVisible&&P.popperInstance.enableEventListeners(),P.props.followCursor&&n&&st(n)):P.popperInstance.update())}function Pt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tt(P.props.duration,0,k.duration[1]);if(!P.state.isDestroyed&&P.state.isEnabled&&(!$||P.props.touch)&&!W().hasAttribute("disabled")&&!1!==P.props.onShow(P)){U(),N.style.visibility="visible",P.state.isVisible=!0,P.props.interactive&&W().classList.add(A);var i=Q();ut(i.concat(N),0),u=function(){if(P.state.isVisible){var o=V();o&&n?st(n):o||P.popperInstance.update(),P.popperChildren.backdrop&&(P.popperChildren.content.style.transitionDelay=Math.round(e/12)+"ms"),P.props.sticky&&function(){ut([N],y?0:P.props.updateDuration);var e=t.getBoundingClientRect();!function i(){var n=t.getBoundingClientRect();e.top===n.top&&e.right===n.right&&e.bottom===n.bottom&&e.left===n.left||P.popperInstance.scheduleUpdate(),e=n,P.state.isMounted&&requestAnimationFrame(i)}()}(),ut([N],P.props.updateDuration),ut(i,e),ct(i,"visible"),function(t,e){Y(t,e)}(e,function(){P.props.aria&&W().setAttribute("aria-".concat(P.props.aria),N.id),P.props.onShown(P),P.state.isShown=!0})}},function(){g=!1;var e=V();P.popperInstance?(at(P.popperInstance.modifiers,P.props.flip),e||(P.popperInstance.reference=t,P.popperInstance.enableEventListeners()),P.popperInstance.scheduleUpdate()):(Nt(),e||P.popperInstance.enableEventListeners());var i=P.props.appendTo,n="parent"===i?t.parentNode:rt(i,[t]);n.contains(N)||(n.appendChild(N),P.props.onMount(P),P.state.isMounted=!0)}()}}function Dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tt(P.props.duration,1,k.duration[1]);if(!P.state.isDestroyed&&(P.state.isEnabled||m)&&(!1!==P.props.onHide(P)||m)){G(),N.style.visibility="hidden",P.state.isVisible=!1,P.state.isShown=!1,w=!1,P.props.interactive&&W().classList.remove(A);var e=Q();ut(e,t),ct(e,"hidden"),function(t,e){Y(t,function(){!P.state.isVisible&&N.parentNode&&N.parentNode.contains(N)&&e()})}(t,function(){h||D(),P.props.aria&&W().removeAttribute("aria-".concat(P.props.aria)),P.popperInstance.disableEventListeners(),P.popperInstance.options.placement=P.props.placement,N.parentNode.removeChild(N),P.props.onHidden(P),P.state.isMounted=!1})}}}var zt=!1;function Ct(t,e){pt(e||{},k),zt||(document.addEventListener("touchstart",V,S),window.addEventListener("blur",K),zt=!0);var i,n=f({},k,{},e);i=t,"[object Object]"!=={}.toString.call(i)||i.addEventListener||function(t){var e={isVirtual:!0,attributes:t.attributes||{},contains:function(){},setAttribute:function(e,i){t.attributes[e]=i},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},hasAttribute:function(e){return e in t.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){delete t.classList.classNames[e]},contains:function(e){return e in t.classList.classNames}}};for(var i in e)t[i]=e[i]}(t);var o=function(t){if(st(t))return[t];if(t instanceof NodeList)return z(t);if(Array.isArray(t))return t;try{return z(document.querySelectorAll(t))}catch(t){return[]}}(t).reduce(function(t,e){var i=e&&Et(e,n);return i&&t.push(i),t},[]);return st(t)?o[0]:o}Ct.version="4.3.5",Ct.defaults=k,Ct.setDefaults=function(t){Object.keys(t).forEach(function(e){k[e]=t[e]})},Ct.hideAll=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.exclude,i=t.duration;z(document.querySelectorAll(F)).forEach(function(t){var n,o=t._tippy;if(o){var s=!1;e&&(s=(n=e)._tippy&&!E.call(n,F)?o.reference===e:t===e.popper),s||o.hide(i)}})},Ct.group=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.delay,n=void 0===i?t[0].props.delay:i,o=e.duration,s=void 0===o?0:o,r=!1;function a(t){r=t,d()}function l(e){e._originalProps.onShow(e),t.forEach(function(t){t.set({duration:s}),t.state.isVisible&&t.hide()}),a(!0)}function u(t){t._originalProps.onHide(t),a(!1)}function c(t){t._originalProps.onShown(t),t.set({duration:t._originalProps.duration})}function d(){t.forEach(function(t){t.set({onShow:l,onShown:c,onHide:u,delay:r?[0,Array.isArray(n)?n[1]:n]:n,duration:r?s:t._originalProps.duration})})}t.forEach(function(t){t._originalProps?t.set(t._originalProps):t._originalProps=f({},t.props)}),d()},w&&setTimeout(function(){z(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&Ct(t,{content:e})})}),function(t){if(w){var e=document.createElement("style");e.type="text/css",e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var i=document.head,n=i.querySelector("style,link");n?i.insertBefore(e,n):i.appendChild(e)}}('.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px);transform:perspective(700px) translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(60deg);transform:perspective(700px) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px);transform:perspective(700px) translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateX(-60deg);transform:perspective(700px) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px);transform:perspective(700px) translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(-60deg);transform:perspective(700px) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px);transform:perspective(700px) translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) rotateY(60deg);transform:perspective(700px) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:initial}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] .tippy-roundarrow path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}');var jt=Ct;var St=class{constructor(t){this.buttonObject=t,this.buttonObject.stylingObject=this,this.groupHolder=null,this.buttonTitle=null,this.manageButtonMenu=null}build(){let t=document.createElement("div");return t.className="button-group-holder",t.appendChild(this.createTitleField()),t.appendChild(this.createButtonMobileDesktop()),t.appendChild(this.createButtonHolderButton()),t.appendChild(this.createQuickMenu()),this.groupHolder=t,t}createButtonHolderButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button";let e=document.createElement("i");return e.className="fas fa-ellipsis-v",t.appendChild(e),t.addEventListener("click",()=>{let t=this.groupHolder.className.indexOf("holder-show-quick-menu");jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),-1===t&&this.groupHolder.classList.add("holder-show-quick-menu")}),t}createQuickMenu(){let t=document.createElement("div");return t.className="group-holder-quick-menu",t.addEventListener("click",()=>{this.groupHolder.classList.remove("holder-show-quick-menu")}),t.appendChild(this.createQuickMenuButton("fas fa-wrench",window.Buttonizer.translate("common.settings"),()=>this.revealSettings(),"settings")),t.appendChild(this.createQuickMenuButton("fas fa-cog",window.Buttonizer.translate("utils.advanced_settings"),()=>this.buttonObject.windowObject.toggle(),window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out")),t.appendChild(this.createQuickMenuButton("fas fa-pencil-alt",window.Buttonizer.translate("utils.rename"),()=>this.buttonRename(),"")),t.appendChild(this.createQuickMenuButton("far fa-copy",window.Buttonizer.translate("utils.duplicate"),()=>this.buttonDuplicate(),"")),t.appendChild(this.createQuickMenuButton("far fa-trash-alt",window.Buttonizer.translate("utils.delete"),()=>this.buttonDelete(),"delete")),this.manageButtonMenu=t,t}createQuickMenuButton(t,e,i,n=""){let o=document.createElement("a");o.href="javascript:void(0)",o.className=n;let s=document.createElement("i");return s.className=t,o.appendChild(s),o.innerHTML+=e,o.addEventListener("click",t=>i(t)),o}createTitleField(){let t=document.createElement("div");t.className+="button-title-holder";let e=document.createElement("input");e.type="text",e.className="group-title",e.value=this.buttonObject.data.name,e.setAttribute("readonly",""),e.id="buttonizer-button-title";let i=document.createElement("a");return i.href="javascript:void(0)",i.className="group-rename",i.innerHTML="<i class='fa fa-pencil-alt'></i>",e.addEventListener("change",()=>this.updateTitle()),e.addEventListener("blur",()=>this.updateTitle()),e.addEventListener("keyup",t=>{13===t.keyCode?this.updateTitle():27===t.keyCode&&(e.value=this.buttonObject.data.name,e.setAttribute("readonly",""))}),e.addEventListener("click",t=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),t.isTrusted&&e.hasAttribute("readonly")&&this.revealSettings()}),this.buttonTitle=e,t.appendChild(e),t.appendChild(i),e}updateTitle(){this.buttonObject.data.name=this.buttonTitle.value,window.Buttonizer.buttonChanges=!0,this.buttonTitle.setAttribute("readonly","")}buttonRename(){this.buttonTitle.hasAttribute("readonly")&&(this.buttonTitle.removeAttribute("readonly"),this.buttonTitle.focus())}buttonDelete(){1!==this.buttonObject.groupObject.getButtonsAlive()?new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_remove_button").format(this.buttonObject.data.name)+"</p>",onConfirm:()=>{this.buttonObject.removeButton()},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]}):new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]})}buttonDuplicate(){let t=new RegExp(this.buttonObject.data.name+" - Copy \\([0-9]+\\)"),e=this.buttonObject.data.name+" - Copy";for(let i=0;i<this.buttonObject.groupObject.buttons.length;i++)if(this.buttonObject.groupObject.buttons[i].data.name.match(t)){let n=this.buttonObject.groupObject.buttons[i].data.name.match(t).toString().match(/- Copy \([0-9]+\)/).toString(),o=parseInt(n.replace(/\D/g,""));e=this.buttonObject.data.name+` - Copy (${o+1})`}else this.buttonObject.groupObject.buttons[i].data.name!==e||this.buttonObject.groupObject.buttons[i].data.name.match(t)||(e+=" (2)");let i={};for(let t in this.buttonObject.data)i[t]=this.buttonObject.data[t];i.name=e,new Ee(this.buttonObject.groupObject,i),window.Buttonizer.buttonChanges=!0}createButtonMobileDesktop(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="mobile-desktop",t.innerHTML="&nbsp;";let e=document.createElement("i");e.className="mobile-preview",e.innerHTML='<i class="fa fa-mobile-alt"></i>';let i=document.createElement("i");i.className="desktop-preview",i.innerHTML='<i class="fa fa-desktop"></i>',"true"!==this.buttonObject.data.show_mobile&&void 0!==this.buttonObject.data.show_mobile||(e.className+=" selected"),"true"!==this.buttonObject.data.show_desktop&&void 0!==this.buttonObject.data.show_desktop||(i.className+=" selected");let n=document.createElement("div");return n.className="new-button-visibility",n.appendChild(this.createMobile(e)),n.appendChild(this.createDesktop(i)),t.appendChild(n),t.appendChild(e),t.appendChild(i),t}createMobile(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className="visibility-deskmobi";let i=document.createElement("i");return i.className="fa fa-mobile-alt",e.appendChild(i),this.buttonObject.registerUI("show_mobile",{update:i=>{!0===i||"true"===i?(e.classList.add("selected"),t.classList.add("selected")):(e.classList.remove("selected"),t.classList.remove("selected"))}}),this.buttonObject.getUI("show_mobile").forEach(t=>t.update(this.buttonObject.get("show_mobile"))),e.addEventListener("click",()=>{let t=this.buttonObject.get("show_mobile",!0);this.buttonObject.set("show_mobile",!(!0===t||"true"===t))}),e}createDesktop(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className="visibility-deskmobi";let i=document.createElement("i");return i.className="fa fa-desktop",e.appendChild(i),this.buttonObject.registerUI("show_desktop",{update:i=>{!0===i||"true"===i?(e.classList.add("selected"),t.classList.add("selected")):(e.classList.remove("selected"),t.classList.remove("selected"))}}),this.buttonObject.getUI("show_desktop").forEach(t=>t.update(this.buttonObject.get("show_desktop"))),e.addEventListener("click",()=>{let t=this.buttonObject.get("show_desktop",!0);this.buttonObject.set("show_desktop",!(!0===t||"true"===t))}),e}revealSettings(){this.buttonObject.revealSettings()}};class Ot{constructor(t){this.state=void 0!==t.state&&"true"==t.state,this.onChange=void 0===t.onChange?function(){console.log("FormBoolean: No binding. Use FormBoolean.onChange()")}:t.onChange,this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible,this.element=HTMLElement}build(){this.element=document.createElement("a"),this.element.href="javascript:void(0)",this.element.className="buttonizer-boolean "+(!0===this.state?"boolean-selected":""),this.element.addEventListener("click",()=>this.toggle());let t=document.createElement("div");return t.className="buttonizer-boolean-circle",this.element.appendChild(t),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}onToggle(t){this.onChange=t}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(this.state=!this.state,!0===this.state?this.element.classList.add("boolean-selected"):this.element.classList.remove("boolean-selected"),this.onChange(this.state))}}class Lt{constructor(t,e,i){this.title=t,this.settingHolderContent=e,this.className=void 0!==i&&i}build(){let t=document.createElement("div");t.className="buttonizer-setting-row "+(!1===this.className?"":this.className),t.style.marginTop="10px";let e=document.createElement("div");e.className="buttonizer-setting-row-c1",e.innerHTML=this.title;let i=document.createElement("div");return i.className="buttonizer-setting-row-c2",i.appendChild(this.settingHolderContent),t.appendChild(e),t.appendChild(i),t}}class Tt{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"https://www.domain.ltd/page ":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return/(http|https):\/\/(\w+:{0,1}\w*)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%!\-\/]))?/.test(t)||"?"===t.substring(0,1)||"#"===t.substring(0,1)?-1===t.indexOf("https://")&&"#"!==t.substring(0,1)&&(e="<p>"+window.Buttonizer.translate("settings.button_action.actions.url.insecure")+'</p><p><a href="https://community.buttonizer.pro/knowledgebase/19" target="_blank" style="text-decoration: none;">More info &raquo;</a></p>'):e="<p>"+window.Buttonizer.translate("settings.button_action.actions.url.invalid")+"</p><p>"+window.Buttonizer.translate("settings.button_action.actions.url.invalid_tip")+"</p>",!1===e||(this.buttonAction.addError(e),!1)}}class Nt{constructor(t,e=!1){this.buttonAction=t,this.numbersOnly=e}build(t){let e=document.createElement("div"),i=this.buttonAction.inputText();return i.placeholder=void 0===t?"Add text here":t,i.addEventListener("keyup",()=>this.change(i.value)),""!==this.buttonAction.value&&(i.value=this.buttonAction.value),e.appendChild(i),this.numbersOnly&&(this.numbersOnlyField=document.createElement("div"),this.numbersOnlyField.className="field-error",this.numbersOnlyField.innerHTML=window.Buttonizer.translate("warnings.only_numbers"),this.numbersOnlyField.style.display="none",e.appendChild(this.numbersOnlyField)),e}change(t){this.numbersOnly&&(isNaN(t)?this.numbersOnlyField.style.display="block":this.numbersOnlyField.style.display="none"),this.buttonAction.updateButtonActionValue(t)}}class At{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"(000) 123 456 78":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return t=(t=t.replace("+","")).replace(" ",""),/^(?=.*\d)[\d ]+$/.test(t)||(e="<p>"+window.Buttonizer.translate("warnings.invalid_phone_number")+"</p>"),!1===e||(this.buttonAction.addError(e),!1)}}class It{constructor(t){this.buttonAction=t}build(t){let e=this.buttonAction.inputText();return e.placeholder=void 0===t?"account@domain.tld":t,e.addEventListener("keyup",()=>this.change(e.value)),""!==this.buttonAction.value&&(e.value=this.buttonAction.value),e}change(t){this.valid(t)&&this.buttonAction.removeError(),this.buttonAction.updateButtonActionValue(t)}valid(t){let e=!1;return t=(t=t.replace("+","")).replace(" ",""),/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,10})+$/.test(t)||(e="<p>"+window.Buttonizer.translate("warnings.invalid_email")+"</p>"),!1===e||(this.buttonAction.addError(e),!1)}}class Mt{constructor(t,e=!1){this.buttonAction=t,this.value=this.buttonAction.value}build(){let t=document.createElement("div");t.className="button-value";let e=this.generateValue();return t.appendChild(e),t}change(t){this.buttonAction.updateButtonActionValue(t)}generateValue(){let t=null;(t=document.createElement("select")).style.width="100%",t.style.maxHeight="40px",t.className="buttonizer-select-action",document.createElement("option").value="#";let e=document.createElement("option");return e.disabled=!0,e.innerText=window.Buttonizer.translate("loading.loading"),t.appendChild(e),this.loadResults("pages",t,()=>{setTimeout(()=>{jQuery(t).chosen({placeholder_text_single:"Select a page...",no_results_text:window.Buttonizer.translate("utils.search_not_found")+" ",hide_results_on_select:!1}).change((t,e)=>{this.change(e.selected)})},200)}),t}loadResults(t,e,i){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=WordpressOverview&get="+t,dataType:"json",success:t=>{e.innerHTML="",jQuery.each(t.results,(t,i)=>{if(void 0!==i.name){let t=document.createElement("option"),n=document.createElement("option");n.value=i.id,n.innerText=i.name,n.value===this.value&&(n.selected=!0),e.appendChild(t),e.appendChild(n)}}),i()},error:t=>{}})}}i(4);class Ht{constructor(t){this.buttonAction=t}build(){let t=document.createElement("select");return t.className="buttonizer-select-action",t.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popular"),[{value:"facebook",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Facebook")},{value:"twitter",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Twitter")},{value:"whatsapp",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Whatsapp")},{value:"linkedin",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("LinkedIn")},{value:"pinterest",text:window.Buttonizer.translate("settings.button_action.actions.share_page_on").format("Pinterest")},{value:"mail",text:window.Buttonizer.translate("settings.button_action.actions.share_page_via").format("email")}])),t.appendChild(this.selectGroup("New actions",[{value:"sms",text:"Share on SMS"},{value:"reddit",text:"Share on Reddit"},{value:"tumblr",text:"Share on Tumblr"},{value:"digg",text:"Share on Digg"},{value:"weibo",text:"Share on Weibo"},{value:"vk",text:"Share on VK"},{value:"ok",text:"Share on OK.ru (Odnoklassniki)"},{value:"xing",text:"Share on Xing"},{value:"blogger",text:"Share on Blogger"},{value:"flipboard",text:"Share on Flipboard"}])),t.addEventListener("change",()=>{this.buttonAction.updateButtonActionValue(t.value)}),t}add(t,e){let i=document.createElement("option");return i.text=e,t===this.buttonAction.value&&(i.selected=!0),i.value=t,i}selectGroup(t,e){let i=document.createElement("optgroup");i.label=t;for(let t of e)i.appendChild(this.add(t.value,t.text));return i}}class qt{constructor(t){this.element=document.createElement("div"),this.errorElement=document.createElement("div"),this.buttonSettingsObject=t,this.dropdown=null,this.value=void 0!==this.buttonSettingsObject.buttonObject.data.action?this.buttonSettingsObject.buttonObject.data.action:"",this.unique=Array.apply(0,Array(15)).map(()=>(t=>t.charAt(Math.floor(Math.random()*t.length)))("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")).join("")}build(){this.element.style.marginTop="10px",this.dropdown=document.createElement("select"),this.dropdown.style.width="199px",this.dropdown.className="buttonizer-select-action",this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popular"),[{value:"url",text:"Website URL"},{value:"phone",text:window.Buttonizer.translate("settings.button_action.actions.phone_number")},{value:"mail",text:window.Buttonizer.translate("settings.button_action.actions.mail")},{value:"whatsapp",text:"WhatsApp chat"},{value:"backtotop",text:window.Buttonizer.translate("settings.button_action.actions.back_to_top")},{value:"gobackpage",text:window.Buttonizer.translate("settings.button_action.actions.go_back_one_page")},{value:"socialsharing",text:"Social sharing"},{value:"javascript_pro",text:"Javascript function"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_chat"),[{value:"sms",text:"SMS"},{value:"messenger_chat",text:"Facebook Messenger Chat Widget"},{value:"messenger",text:"Facebook Messenger Link"},{value:"twitter_dm",text:"Twitter DM"},{value:"skype",text:"Skype"},{value:"line",text:"LINE"},{value:"telegram",text:"Telegram"},{value:"wechat",text:"WeChat"},{value:"viber",text:"Viber"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_social_media"),[{value:"facebook",text:"Facebook"},{value:"twitter",text:"Twitter"},{value:"instagram",text:"Instagram"},{value:"snapchat",text:"Snapchat"},{value:"linkedin",text:"LinkedIn"},{value:"vk",text:"VKontakte"},{value:"waze",text:"Waze"}])),this.dropdown.appendChild(this.selectGroup(window.Buttonizer.translate("settings.button_action.actions.group_popup"),[{value:"poptin",text:"Poptin"},{value:"elementor_popup",text:"Elementor Popup"},{value:"popup_maker",text:"Popup Maker"},{value:"popups",text:"Popups - WordPress Popup"}])),this.dropdown.appendChild(this.selectGroup("Actions",[{value:"clipboard",text:"Copy URL to clipboard"},{value:"print",text:"Print page"}]));let t=document.createElement("div");return jt(t.appendChild(new Lt("<label for='label-always-open'>"+window.Buttonizer.translate("settings.button_action.title")+"</label>",this.dropdown).build()).firstChild.firstChild,{content:window.Buttonizer.translate("settings.button_action.description"),animation:"shift-away",arrow:!0,hideOnClick:!1}),t.appendChild(this.element),t.appendChild(this.errorElement),this.changeForm(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).chosen({placeholder_text_single:window.Buttonizer.translate("settings.button_action.select"),no_results_text:window.Buttonizer.translate("settings.button_action.search_not_found"),hide_results_on_select:!1}).change(()=>this.update(this.dropdown.value)),t}add(t,e){let i=document.createElement("option");return i.text=e,t===this.buttonSettingsObject.buttonObject.data.type&&(i.selected=!0),-1===t.indexOf("pro")||window.Buttonizer.hasPremium()?i.value=t:(i.disabled=!0,i.text+=" (PRO ONLY)"),i}update(t,e=!1){if("javascript_pro"===this.buttonSettingsObject.buttonObject.data.type&&"javascript_pro"!==t){if(!e)return void new s({title:"<i class='fas fa-exclamation window-icon'></i> "+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_modal_title"),content:"<p>"+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_intro")+"</p><p>"+window.Buttonizer.translate("settings.button_action.actions.javascript.warning_question")+"</p>",class:"warning-red",buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0,cancel:!0},{text:window.Buttonizer.translate("modal.yes_please"),close:!0,confirm:!0}],onConfirm:()=>{this.value="",this.update(t,!0)},onCancel:()=>{this.buttonSettingsObject.buttonObject.data.type="javascript_pro",jQuery(this.dropdown).val(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).trigger("chosen:updated")}})}else if("socialsharing"===t)this.buttonSettingsObject.buttonObject.data.action="facebook";else if("socialsharing"===this.buttonSettingsObject.buttonObject.data.type)switch(t){case"elementor_popup":this.value="elementor"+this.unique,this.updateButtonActionValue(this.value);break;case"popup_maker":this.value="popupmaker"+this.unique,this.updateButtonActionValue(this.value);break;default:this.value=""}else if("elementor_popup"===t)this.value="elementor"+this.unique,this.updateButtonActionValue(this.value),console.log(this.value);else if("elementor_popup"===this.buttonSettingsObject.buttonObject.data.type&&"popup_maker"!==t)this.value="";else if("popup_maker"===t)this.value="popupmaker"+this.unique,this.updateButtonActionValue(this.value),console.log(this.value);else if("popup_maker"===this.buttonSettingsObject.buttonObject.data.type&&"elementor_popup"!==t)this.value="";else if("page"===this.buttonSettingsObject.buttonObject.data.type)this.value="";else if("messenger_chat"===t)for(let t of window.Buttonizer.buttonGroups)for(let e of t.buttons){let t=`<br>Button: <b>${e.data.name}</b>`;if("messenger_chat"===e.data.type)return void new s({title:"This is getting out of hand. Now there are two of them!",content:`<p>You currently have a button with a Facebook Messenger Chat Widget action.\n <br>\n As of now, the Facebook Messenger SDK can only support 1 Facebook Messenger Chat Widget. \n <br><br>\n Button with Facebook Messenger Widget:\n ${t}\n <p>`,class:"warning-red",buttons:[{text:"I understand",close:!0,confirm:!0}],onConfirm:()=>{jQuery(this.dropdown).val(this.buttonSettingsObject.buttonObject.data.type),jQuery(this.dropdown).trigger("chosen:updated")}})}this.buttonSettingsObject.buttonObject.data.type=t,window.Buttonizer.buttonChanges=!0,this.removeError(),this.changeForm(t)}updateButtonActionValue(t){this.buttonSettingsObject.buttonObject.data.action=t,window.Buttonizer.buttonChanges=!0,this.value=t}changeForm(t){this.element.innerHTML="",this.element.className="";let e=new Ot({state:void 0===typeof this.buttonSettingsObject.buttonObject.data.action_new_tab?"false":this.buttonSettingsObject.buttonObject.data.action_new_tab});if(e.onToggle(t=>{this.buttonSettingsObject.buttonObject.data.action_new_tab=t,window.Buttonizer.buttonChanges=!0}),"phone"===t||"sms"===t)this.element.appendChild(new At(this).build()),this.addKnowledgeBaseLink();else if("viber"===t){this.element.appendChild(new At(this).build("+00123456789"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.viber"),this.element.appendChild(t)}else if("page"===t)this.element.appendChild(new Mt(this).build()),jt(this.element.appendChild(new Lt("<label for='label-always-open'>"+window.Buttonizer.translate("settings.open_new_tab.title")+":</label>",e.build(),"is-boolean-only").build()).firstChild.firstChild,{content:window.Buttonizer.translate("settings.open_new_tab.description"),animation:"shift-away",arrow:!0,hideOnClick:!1});else if("mail"===t)this.element.appendChild(new It(this).build(window.Buttonizer.translate("settings.button_action.placeholders.mail.recipient")));else if("whatsapp_pro"===t||"whatsapp"===t){this.element.appendChild(new At(this).build());let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.whatsapp_info"),this.element.appendChild(t)}else if("socialsharing"===t)this.element.appendChild(new Ht(this).build());else{if("backtotop"===t||"gobackpage"===t||"clipboard"===t||"print"===t||"woocommerce"===t)return;if("skype"===t||"telegram"===t||"twitter"===t||"snapchat"===t||"instagram"===t||"vk"===t)this.element.appendChild(new Nt(this).build(window.Buttonizer.translate("settings.button_action.placeholders.username"))),this.addKnowledgeBaseLink();else if("twitter_dm"===t){this.element.appendChild(new Nt(this,!0).build("Account ID"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.twitter_info"),this.element.appendChild(t)}else if("messenger"===t)this.element.appendChild(new Tt(this).build("https://m.me/YOUR-PAGE-NAME")),this.addKnowledgeBaseLink();else if("messenger_chat"===t){this.element.appendChild(new Nt(this).build("Facebook page ID"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.messenger_chat"),this.element.appendChild(t),this.addKnowledgeBaseLink(59,"Facebook Messenger Chat Widget")}else if("facebook"===t)this.element.appendChild(new Nt(this).build("Facebook username/page")),this.addKnowledgeBaseLink();else if("linkedin"===t)this.element.appendChild(new Nt(this).build('"company/COMPANY-NAME" or "in/USERNAME"')),this.addKnowledgeBaseLink();else if("line"===t)this.element.appendChild(new Nt(this).build("LINE ID"));else if("wechat"===t)this.element.appendChild(new Nt(this).build("User ID"));else if("waze"===t)this.element.appendChild(new Tt(this).build("https://www.waze.com/ul?q=Netherlands"));else if("popup_maker"===t){let t=document.createElement("p");t.innerHTML=`In your <b>Popup Settings</b>, add a new <b>"Click to Open"</b> trigger and copy and paste this code in <b>"Extra CSS Selectors"</b> </br> <code style="font-size: 11px;">a[href="#${this.value}"]</code>`,this.element.appendChild(t),this.addKnowledgeBaseLink(57,"Popup maker")}else if("elementor_popup"===t){let t=document.createElement("p");t.innerHTML=`Copy and paste this into your Elementor Popup's <b>"Open By Selector"</b> option. </br> <code style="font-size: 11px;">a[href="#${this.value}"]</code>`,this.element.appendChild(t),this.addKnowledgeBaseLink(57,"Elementor popup")}else if("popups"===t){this.element.appendChild(new Nt(this).build("ID"));let t=document.createElement("p");t.innerHTML="Copy and paste your popup ID here.",this.element.appendChild(t)}else if("poptin"===t){this.element.appendChild(new Tt(this).build("https://app.popt.in/APIRequest/click/0c768294b0605"));let t=document.createElement("p");t.innerHTML=window.Buttonizer.translate("settings.button_action.actions.poptin"),this.element.appendChild(t),this.addKnowledgeBaseLink(57)}else this.element.appendChild(new Tt(this).build()),jt(this.element.appendChild(new Lt("<label for='label-always-open'>"+window.Buttonizer.translate("settings.open_new_tab.title")+":</label>",e.build(),"is-boolean-only").build()).firstChild.firstChild,{content:window.Buttonizer.translate("settings.open_new_tab.description"),animation:"shift-away",arrow:!0,hideOnClick:!1}),this.addKnowledgeBaseLink()}}addKnowledgeBaseLink(t="",e=""){let i=document.createElement("a");i.className="info-link has-margin-everywhere",i.innerHTML=""===e?window.Buttonizer.translate("utils.visit_knowledgebase"):window.Buttonizer.translate("utils.knowledge_link").format(e),i.href="https://community.buttonizer.pro/knowledgebase"+(""===t?"":"/"+t),i.target="_blank",this.element.appendChild(i)}inputText(){let t=document.createElement("input");return t.type="text",t.style.display="block",t.style.width="100%",t.className="buttonizer-input-action",t}addError(t){this.errorElement.innerHTML="";let e=document.createElement("div");e.innerHTML=t,e.className="field-error-container",this.errorElement.appendChild(e)}removeError(){this.errorElement.innerHTML=""}selectGroup(t,e){let i=document.createElement("optgroup");i.label=t;for(let t of e)i.appendChild(this.add(t.value,t.text));return i}}class Pt{constructor(t){this.parentObject=void 0!==t.parentObject?t.parentObject:null,this.rowName=void 0!==t.rowName?t.rowName:null,this.title=void 0!==t.title?t.title:"",this.description=void 0!==t.description?t.description:null,this.wrap=void 0!==t.wrap&&t.wrap,this.content=void 0!==t.content?t.content:[],this.className=void 0!==t.class?t.class:[],this.customBuild=void 0!==t.useCustomBuild&&t.useCustomBuild,this.hidden=void 0!==t.hidden&&t.hidden,this.element=document.createElement("div"),null!==this.parentObject?null!==this.rowName&&this.parentObject.registerUI(this.rowName+"-container",this):null!==this.rowName&&null===this.parentObject&&console.error("Row name '"+this.rowName+"' is set, but no parent has been set")}build(){if(this.element.className="buttonizer-setting-row "+(!1===this.className?"":this.className),this.element.style.marginTop="10px",this.hidden)switch(this.rowName){case"background-color":case"border-radius":case"background-image":case"label-color":this.element.classList+=" disabled";break;default:this.element.style.display="none"}let t=document.createElement("div");t.className="buttonizer-setting-row-c1";let e=document.createElement("label");e.innerHTML=this.title,null!==this.description&&jt(e,{content:this.description,animation:"shift-away",arrow:!0,hideOnClick:!1}),t.appendChild(e);let i=document.createElement("div");i.className="buttonizer-setting-row-c2";for(const t in this.content)i.appendChild(this.customBuild?this.content[t]():this.content[t].build());return this.wrap&&(i.style["flex-wrap"]="wrap"),this.element.appendChild(t),this.element.appendChild(i),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="",this.element.classList.remove("disabled")}disable(){this.element.classList+=" disabled"}}class Dt{constructor(t){this.parent=t.parentObject,this.element=document.createElement("div"),this.dataEntry=t.dataEntry,this.default=void 0===t.default?"":t.default,this.callback=void 0===t.callback?()=>{}:t.callback,this.onClick=void 0===t.onClick?null:t.onClick,this.input=HTMLElement,this.onlyNumbers=void 0!==t.onlyNumbers&&t.onlyNumbers,this.parent.registerUI(this.dataEntry,this),this.placeholder=void 0===t.placeholder?"":t.placeholder,this.title=void 0===t.title?"":t.title,this.fieldWidth=void 0===t.width?"default":t.width,this.hidden=void 0!==t.hidden&&t.hidden}build(){this.element=document.createElement("div"),this.element.className="buttonizer-input-container is-textfield input-field-width-"+this.fieldWidth,this.element.style.marginRight="7px";let t=document.createElement("div");t.className="buttonizer-input-item";let e=document.createElement("input");e.type="text",e.value=this.parent.get(this.dataEntry,this.default),this.onlyNumbers&&e.addEventListener("keyup",t=>{(isNaN(e.value)||e.value<0)&&(e.value=this.default,new s({title:window.Buttonizer.translate("errors.forms.only_numbers"),content:"<p>"+window.Buttonizer.translate("errors.forms.only_numbers_info")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0}]}))}),null!==this.onClick&&e.addEventListener("click",t=>this.onClick(t,e)),e.addEventListener("change",()=>{this.onlyNumbers&&(isNaN(e.value)||e.value<0)&&(e.value=this.default),this.parent.set(this.dataEntry,e.value)}),""!==this.placeholder&&e.setAttribute("placeholder",this.placeholder),t.appendChild(e),this.element.appendChild(t);let i=document.createElement("div");return i.className="buttonizer-input-info",i.innerHTML=this.title,this.element.appendChild(i),this.input=e,this.hidden&&this.hide(),""!==this.title?this.element:(this.input.className="buttonizer-input-only",this.input)}hide(){this.element.style.display="none",this.input.style.display="none"}show(){this.element.style.display="",this.input.style.display=""}update(t){this.input.value=t,this.callback(t)}}class Ft{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("a"),this.dataEntry=t.dataEntry,this.state=this.parentObject.get(this.dataEntry,t.default),this.parentObject.registerUI(this.dataEntry,this),this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible,this.callback=void 0!==t.callback?t.callback:t=>{},this.class=void 0===t.class?"":t.class}build(){this.element.href="javascript:void(0)",this.element.className="buttonizer-boolean "+(!0===this.state||"true"===this.state?"boolean-selected":"")+" "+this.class,this.element.addEventListener("click",()=>this.toggle());let t=document.createElement("div");return t.className="buttonizer-boolean-circle",this.element.appendChild(t),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(!0===this.state||"true"===this.state?this.state=!1:this.state=!0,this.parentObject.set(this.dataEntry,this.state),void 0!==this.callback&&this.callback(this.state))}update(t){this.state=t,!0===t||"true"===t?this.element.classList.contains("boolean-selected")||this.element.classList.add("boolean-selected"):this.element.classList.contains("boolean-selected")&&this.element.classList.remove("boolean-selected"),this.callback(t)}enable(){this.disabled=!1}disable(){this.disabled=!0}}class Rt extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.label.title"),description:window.Buttonizer.translate("settings.label.description"),wrap:!0,class:"form-has-extra-fields",content:[new Dt({parentObject:t,dataEntry:"label",default:t.get("label"),placeholder:window.Buttonizer.translate("settings.label.placeholder")})]})}}var Wt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ut=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Gt=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(t){return 0===this.indexOf(t)},String.prototype.padStart=String.prototype.padStart||function(t,e){for(var i=this;i.length<t;)i=e+i;return i};var Qt={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",darkgreen:"#006400",darkgrey:"#a9a9a9",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",green:"#008000",greenyellow:"#adff2f",grey:"#808080",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",lightgreen:"#90ee90",lightgrey:"#d3d3d3",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:"#9370db",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:"#db7093",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"};function $t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(e>0?t.toFixed(e).replace(/0+$/,"").replace(/\.$/,""):t.toString())||"0"}var Vt=function(){function t(e,i,n,o){Wt(this,t);var s=this;if(void 0===e);else if(Array.isArray(e))this.rgba=e;else if(void 0===n){var r=e&&""+e;r&&function(e){if(e.startsWith("hsl")){var i=e.match(/([\-\d\.e]+)/g).map(Number),n=Gt(i,4),o=n[0],r=n[1],a=n[2],l=n[3];void 0===l&&(l=1),o/=360,r/=100,a/=100,s.hsla=[o,r,a,l]}else if(e.startsWith("rgb")){var u=e.match(/([\-\d\.e]+)/g).map(Number),c=Gt(u,4),d=c[0],p=c[1],h=c[2],m=c[3];void 0===m&&(m=1),s.rgba=[d,p,h,m]}else e.startsWith("#")?s.rgba=t.hexToRgb(e):s.rgba=t.nameToRgb(e)||t.hexToRgb(e)}(r.toLowerCase())}else this.rgba=[e,i,n,void 0===o?1:o]}return Ut(t,[{key:"printRGB",value:function(t){var e=(t?this.rgba:this.rgba.slice(0,3)).map(function(t,e){return $t(t,3===e?3:0)});return t?"rgba("+e+")":"rgb("+e+")"}},{key:"printHSL",value:function(t){var e=[360,100,100,1],i=["","%","%",""],n=(t?this.hsla:this.hsla.slice(0,3)).map(function(t,n){return $t(t*e[n],3===n?3:1)+i[n]});return t?"hsla("+n+")":"hsl("+n+")"}},{key:"printHex",value:function(t){var e=this.hex;return t?e:e.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=t.hslToRgb(this._hsla)},set:function(t){3===t.length&&(t[3]=1),this._rgba=t,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=t.rgbToHsl(this._rgba)},set:function(t){3===t.length&&(t[3]=1),this._hsla=t,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){return"#"+this.rgba.map(function(t,e){return e<3?t.toString(16):Math.round(255*t).toString(16)}).map(function(t){return t.padStart(2,"0")}).join("")},set:function(e){this.rgba=t.hexToRgb(e)}}],[{key:"hexToRgb",value:function(t){var e=(t.startsWith("#")?t.slice(1):t).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!e.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+t);var i=e.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(t){return parseInt(t,16)});return i[3]=i[3]/255,i}},{key:"nameToRgb",value:function(e){var i=Qt[e];if(i)return t.hexToRgb(i)}},{key:"rgbToHsl",value:function(t){var e=Gt(t,4),i=e[0],n=e[1],o=e[2],s=e[3];i/=255,n/=255,o/=255;var r=Math.max(i,n,o),a=Math.min(i,n,o),l=void 0,u=void 0,c=(r+a)/2;if(r===a)l=u=0;else{var d=r-a;switch(u=c>.5?d/(2-r-a):d/(r+a),r){case i:l=(n-o)/d+(n<o?6:0);break;case n:l=(o-i)/d+2;break;case o:l=(i-n)/d+4}l/=6}return[l,u,c,s]}},{key:"hslToRgb",value:function(t){var e=Gt(t,4),i=e[0],n=e[1],o=e[2],s=e[3],r=void 0,a=void 0,l=void 0;if(0===n)r=a=l=o;else{var u=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},c=o<.5?o*(1+n):o+n-o*n,d=2*o-c;r=u(d,c,i+1/3),a=u(d,c,i),l=u(d,c,i-1/3)}var p=[255*r,255*a,255*l].map(Math.round);return p[3]=s,p}}]),t}();function Yt(t,e){var i=!1;function n(t,e,i){t.addEventListener(e,i,!1)}function o(t,e,i){return Math.max(e,Math.min(t,i))}function s(n,s,r){if(r&&(i=!0),i){n.preventDefault();var a=t.getBoundingClientRect(),l=a.width,u=a.height,c=s.clientX,d=s.clientY,p=o(c-a.left,0,l),h=o(d-a.top,0,u);e(p/l,h/u)}}function r(t,e){1===(void 0===t.buttons?t.which:t.buttons)?s(t,t,e):i=!1}function a(t,e){1===t.touches.length?s(t,t.touches[0],e):i=!1}n(t,"mousedown",function(t){r(t,!0)}),n(t,"touchstart",function(t){a(t,!0)}),n(window,"mousemove",r),n(t,"touchmove",a),n(window,"mouseup",function(t){i=!1}),n(t,"touchend",function(t){i=!1}),n(t,"touchcancel",function(t){i=!1})}var Xt="keydown";function Kt(t,e){return(e||document).querySelector(t)}function Jt(t,e,i){t.addEventListener(e,i,!1)}function Zt(t){t.preventDefault(),t.stopPropagation()}function te(t,e,i,n){Jt(t,Xt,function(t){e.indexOf(t.key)>=0&&(n&&Zt(t),i(t))})}var ee=document.createElement("style");ee.textContent=".picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:stretch;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:'';display:block;width:100%;height:0;-webkit-box-ordinal-group:2;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_sl::before{content:'';display:block;padding-bottom:100%}.layout_default .picker_editor{-webkit-box-ordinal-group:2;order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{-webkit-box-ordinal-group:2;order:1;-webkit-box-flex:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{-webkit-box-ordinal-group:2;order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px dodgerblue}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:whitesmoke;background-image:-webkit-gradient(linear, left bottom, left top, from(gainsboro), to(transparent));background-image:-webkit-linear-gradient(bottom, gainsboro, transparent);background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:-webkit-gradient(linear, left bottom, left top, from(transparent), to(gainsboro));background-image:-webkit-linear-gradient(bottom, transparent, gainsboro);background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:white}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:-webkit-gradient(linear, left top, right top, from(red), color-stop(yellow), color-stop(lime), color-stop(cyan), color-stop(blue), color-stop(magenta), to(red));background-image:-webkit-linear-gradient(left, red, yellow, lime, cyan, blue, magenta, red);background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, rgba(255,255,255,0))),-webkit-gradient(linear, left bottom, left top, from(black), color-stop(50%, rgba(0,0,0,0))),-webkit-gradient(linear, left top, right top, from(gray), to(rgba(128,128,128,0)));background-image:-webkit-linear-gradient(top, white, rgba(255,255,255,0) 50%),-webkit-linear-gradient(bottom, black, rgba(0,0,0,0) 50%),-webkit-linear-gradient(left, gray, rgba(128,128,128,0));background-image:linear-gradient(180deg, white, rgba(255,255,255,0) 50%),linear-gradient(0deg, black, rgba(0,0,0,0) 50%),linear-gradient(90deg, gray, rgba(128,128,128,0))}.picker_alpha,.picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:'';position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,0.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}",document.documentElement.firstElementChild.appendChild(ee);var ie=function(){function t(e){var i=this;Wt(this,t),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1},this._openProxy=function(t){return i.openHandler(t)},this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(e)}return Ut(t,[{key:"setOptions",value:function(t){if(t){var e=this.settings;if(t instanceof HTMLElement)e.parent=t;else{e.parent&&t.parent&&e.parent!==t.parent&&(e.parent.removeEventListener("click",this._openProxy,!1),this._popupInited=!1),function(t,e,i){for(var n in t)i&&i.indexOf(n)>=0||(e[n]=t[n])}(t,e),t.onChange&&(this.onChange=t.onChange),t.onDone&&(this.onDone=t.onDone),t.onOpen&&(this.onOpen=t.onOpen),t.onClose&&(this.onClose=t.onClose);var i=t.color||t.colour;i&&this._setColor(i)}var n=e.parent;n&&e.popup&&!this._popupInited?(Jt(n,"click",this._openProxy),te(n,[" ","Spacebar","Enter"],this._openProxy),this._popupInited=!0):t.parent&&!e.popup&&this.show()}}},{key:"openHandler",value:function(t){if(this.show()){t&&t.preventDefault(),this.settings.parent.style.pointerEvents="none";var e=t&&t.type===Xt?this._domEdit:this.domElement;setTimeout(function(){return e.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(t){var e=t&&t.type,i=!1;if(t)if("mousedown"===e||"focusin"===e){var n=(this.__containedEvent||0)+100;t.timeStamp>n&&(i=!0)}else Zt(t),i=!0;else i=!0;i&&this.hide()&&(this.settings.parent.style.pointerEvents="","mousedown"!==e&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(t,e){this.closeHandler(),this.setOptions(t),e&&this.openHandler()}},{key:"setColor",value:function(t,e){this._setColor(t,{silent:e})}},{key:"_setColor",value:function(t,e){if("string"==typeof t&&(t=t.trim()),t){e=e||{};var i=void 0;try{i=new Vt(t)}catch(t){if(e.failSilently)return;throw t}if(!this.settings.alpha){var n=i.hsla;n[3]=1,i.hsla=n}this.colour=this.color=i,this._setHSLA(null,null,null,null,e)}}},{key:"setColour",value:function(t,e){this.setColor(t,e)}},{key:"show",value:function(){if(!this.settings.parent)return!1;if(this.domElement){var t=this._toggleDOM(!0);return this._setPosition(),t}var e,i,n=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',o=(e=n,(i=document.createElement("div")).innerHTML=e,i.firstElementChild);return this.domElement=o,this._domH=Kt(".picker_hue",o),this._domSL=Kt(".picker_sl",o),this._domA=Kt(".picker_alpha",o),this._domEdit=Kt(".picker_editor input",o),this._domSample=Kt(".picker_sample",o),this._domOkay=Kt(".picker_done button",o),this._domCancel=Kt(".picker_cancel button",o),o.classList.add("layout_"+this.settings.layout),this.settings.alpha||o.classList.add("no_alpha"),this.settings.editor||o.classList.add("no_editor"),this.settings.cancelButton||o.classList.add("no_cancel"),this._ifPopup(function(){return o.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor("#0cf"),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"_bindEvents",value:function(){var t=this,e=this,i=this.domElement;Jt(i,"click",function(t){return t.preventDefault()}),Yt(this._domH,function(t,i){return e._setHSLA(t)}),Yt(this._domSL,function(t,i){return e._setHSLA(null,t,1-i)}),this.settings.alpha&&Yt(this._domA,function(t,i){return e._setHSLA(null,null,null,1-i)});var n=this._domEdit;Jt(n,"input",function(t){e._setColor(this.value,{fromEditor:!0,failSilently:!0})}),Jt(n,"focus",function(t){this.selectionStart===this.selectionEnd&&this.select()}),this._ifPopup(function(){var e=function(e){return t.closeHandler(e)};Jt(window,"mousedown",e),Jt(window,"focusin",e),te(i,["Esc","Escape"],e);var n=function(e){t.__containedEvent=e.timeStamp};Jt(i,"mousedown",n),Jt(i,"focusin",n),Jt(t._domCancel,"click",e)});var o=function(e){t._ifPopup(function(){return t.closeHandler(e)}),t.onDone&&t.onDone(t.colour)};Jt(this._domOkay,"click",o),te(i,["Enter"],o)}},{key:"_setPosition",value:function(){var t=this.settings.parent,e=this.domElement;t!==e.parentNode&&t.appendChild(e),this._ifPopup(function(i){"static"===getComputedStyle(t).position&&(t.style.position="relative");var n=!0===i?"popup_right":"popup_"+i;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(t){t===n?e.classList.add(t):e.classList.remove(t)}),e.classList.add(n)})}},{key:"_setHSLA",value:function(t,e,i,n,o){o=o||{};var s=this.colour,r=s.hsla;[t,e,i,n].forEach(function(t,e){(t||0===t)&&(r[e]=t)}),s.hsla=r,this._updateUI(o),this.onChange&&!o.silent&&this.onChange(s)}},{key:"_updateUI",value:function(t){if(this.domElement){t=t||{};var e=this.colour,i=e.hsla,n="hsl("+360*i[0]+", 100%, 50%)",o=e.hslString,s=e.hslaString,r=this._domH,a=this._domSL,l=this._domA,u=Kt(".picker_selector",r),c=Kt(".picker_selector",a),d=Kt(".picker_selector",l);g(0,u,i[0]),this._domSL.style.backgroundColor=this._domH.style.color=n,g(0,c,i[1]),y(0,c,1-i[2]),a.style.color=o,y(0,d,1-i[3]);var p=o,h=p.replace("hsl","hsla").replace(")",", 0)"),m="linear-gradient("+[p,h]+")";if(this._domA.style.backgroundImage=m+", url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\")",!t.fromEditor){var b=this.settings.editorFormat,f=this.settings.alpha,w=void 0;switch(b){case"rgb":w=e.printRGB(f);break;case"hsl":w=e.printHSL(f);break;default:w=e.printHex(f)}this._domEdit.value=w}this._domSample.style.color=s}function g(t,e,i){e.style.left=100*i+"%"}function y(t,e,i){e.style.top=100*i+"%"}}},{key:"_ifPopup",value:function(t,e){this.settings.parent&&this.settings.popup?t&&t(this.settings.popup):e&&e()}},{key:"_toggleDOM",value:function(t){var e=this.domElement;if(!e)return!1;var i=t?"":"none",n=e.style.display!==i;return n&&(e.style.display=i),n}}],[{key:"StyleElement",get:function(){return ee}}]),t}();class ne{constructor(t){this.parent=t.parentObject,this.element=document.createElement("div"),this.dataEntry=t.dataEntry,this.default=void 0===t.default?"":t.default,this.callback=void 0===t.callback?()=>{}:t.callback,this.style=void 0===t.style?{}:t.style,this.parent.registerUI(this.dataEntry,this),this.currentColor=this.parent.get(this.dataEntry,this.default),this.title=void 0===t.title?"Color":t.title,this.timer=setTimeout(()=>{},0),this.opened=!1,this.element=HTMLElement,this.colorView=HTMLElement,this.colorPicker=HTMLElement,("#fffff"===this.currentColor||"#FFFFF"===this.currentColor||this.currentColor.length<=6)&&(this.currentColor="#FFFFFF")}build(){this.buildVisiblePicker();let t=new ie({parent:this.element,popup:"bottom",alpha:!0,color:this.currentColor,onChange:t=>{this.currentColor!==t.rgbaString&&(this.currentColor=t.rgbaString,this.parent.set(this.dataEntry,t.rgbaString))}});return this.element.addEventListener("click",()=>{t.show()}),this.colorPicker=t,this.element}buildVisiblePicker(){this.element=document.createElement("div"),this.element.className="buttonizer-input-container is-color-picker",this.element.style.marginRight="7px";let t=document.createElement("div");t.className="buttonizer-input-item",this.colorView=document.createElement("div"),this.colorView.style.background=this.currentColor,this.colorView.className="colored-background",t.appendChild(this.colorView),this.element.appendChild(t);let e=document.createElement("div");e.className="buttonizer-input-info",e.innerHTML=this.title,this.element.appendChild(e)}onSelect(t){this.callback=t}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}update(t){clearTimeout(this.timer),this.colorView.style.background=t,this.colorPicker.color=t,this.timer=setTimeout(()=>this.callback(t),1500)}}class oe extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_color.title"),description:window.Buttonizer.translate("settings.icon_color.description"),rowName:"icon-color",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new ne({parentObject:t,dataEntry:"icon_color",title:window.Buttonizer.translate("utils.base"),default:"#FFFFFF",width:"space"}),new ne({parentObject:t,dataEntry:"icon_color_interaction",title:window.Buttonizer.translate("utils.interaction"),default:"#FFFFFF",width:"space"})]})}}class se extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_size.title"),description:window.Buttonizer.translate("settings.icon_size.description"),rowName:"icon-size",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new Dt({title:"px",placeholder:"button"===t.type?16:25,width:"space",dataEntry:"icon_size",parentObject:t,onlyNumbers:!0,default:"button"===t.type?16:25})]})}}class re extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.border_radius.title"),description:window.Buttonizer.translate("settings.border_radius.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"border-radius",parentObject:t,content:[new Dt({parentObject:t,dataEntry:"border_radius",default:"",placeholder:50,title:"%",width:"space",onlyNumbers:!0})]})}}class ae extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.font_size_border_radius.title"),description:window.Buttonizer.translate("settings.font_size_border_radius.description"),content:[new Dt({title:"px",placeholder:12,width:"space",dataEntry:"label_font_size",parentObject:t,onlyNumbers:!0}),new Dt({title:"px",placeholder:3,width:"space",dataEntry:"label_border_radius",parentObject:t,onlyNumbers:!0})]})}}class le{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("a"),this.dataEntry=t.dataEntry,this.default=t.default,this.callback=t.callback,this.type=t.type,this.data=t,this.title=t.title,this.state=this.parentObject.get(this.dataEntry,this.default),this.parentObject.registerUI(this.dataEntry,this),this.disabled=void 0!==t.disabled&&t.disabled,this.visible=void 0===t.visible||t.visible}build(){this.element.href="javascript:void(0)",this.element.className=`buttonizer-checkbox ${"Mobile"===this.title?"mobile-checkbox":"desktop-checkbox"}`;let t=document.createElement("div");t.className="buttonizer-checkbox-box",t.innerHTML="&#10003;",this.element.appendChild(t),this.element.addEventListener("click",()=>this.toggle());let e=document.createElement("div");return e.className="buttonizer-checkbox-text",e.innerHTML=this.title,this.element.appendChild(e),this.update(this.state),this.eventListener(this.type),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}toggle(){this.disabled?console.log("Sorry, you're not able to edit this"):(!0===this.state||"true"===this.state?this.parentObject.set(this.dataEntry,!1):this.parentObject.set(this.dataEntry,!0),"undefined"!=typeof callback&&this.callback(this.state))}update(t){this.state=t,!0===t||"true"===t?this.element.classList.contains("checkbox-selected")||this.element.classList.add("checkbox-selected"):this.element.classList.contains("checkbox-selected")&&this.element.classList.remove("checkbox-selected")}eventListener(t){"button"===t&&this.element.addEventListener("click",()=>{let t=this.parentObject.buttonHTMLObject.querySelector(".mobile-preview"),e=this.parentObject.buttonHTMLObject.querySelector(".fa-mobile-alt").parentElement,i=this.parentObject.buttonHTMLObject.querySelector(".desktop-preview"),n=this.parentObject.buttonHTMLObject.querySelector(".fa-desktop").parentElement;"Mobile"===this.title?t.classList.contains("selected")&&!1===this.state?(t.classList.remove("selected"),e.classList.remove("selected")):t.classList.contains("selected")||!0!==this.state||(t.classList+=" selected",e.classList+=" selected"):"Desktop"===this.title&&(i.classList.contains("selected")&&!1===this.state?(i.classList.remove("selected"),n.classList.remove("selected")):i.classList.contains("selected")||!0!==this.state||(i.classList+=" selected",n.classList+=" selected"))})}}class ue extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.show_mobile_desktop.title"),description:window.Buttonizer.translate("settings.show_mobile_desktop.description"),content:[new le({parentObject:t,dataEntry:"show_mobile",title:window.Buttonizer.translate("settings.show_mobile_desktop.mobile"),default:!0,type:"button"===t.type?"button":"group"}),new le({parentObject:t,dataEntry:"show_desktop",title:window.Buttonizer.translate("settings.show_mobile_desktop.desktop"),default:!0,type:"button"===t.type?"button":"group"})]})}}class ce extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.background_color.title"),description:window.Buttonizer.translate("settings.background_color.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"background-color",parentObject:t,content:[new ne({parentObject:t,dataEntry:"background_color",title:window.Buttonizer.translate("utils.base"),default:"#f08419"}),new ne({parentObject:t,dataEntry:"background_color_interaction",title:window.Buttonizer.translate("utils.interaction"),default:"#ff9d3c"})]})}}class de{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("select"),this.dataEntry=t.dataEntry,this.default=t.default,this.callback=t.callback,this.style=t.style,this.list=t.list,this.width=void 0===t.width?"199px":t.width,this.class=void 0===t.class?"buttonizer-select-drawer":t.class,this.parentObject.registerUI(this.dataEntry,this)}build(){this.element.style.width=this.width,this.element.className=this.class,this.element.addEventListener("change",t=>{this.parentObject.set(this.dataEntry,this.element.value)});for(let t in this.list){let e=this.list[t],i=document.createElement("option");i.text=e.text,i.value=e.value,i.selected=void 0!==typeof this.selected&&this.selected===e.value,void 0!==e.disabled&&e.disabled&&(i.disabled=!0),this.element.appendChild(i)}return this.element.value=this.parentObject.get(this.dataEntry,this.default),this.element}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}update(t){this.element.value=t,void 0!==this.callback&&this.callback(t,this)}}class pe extends Pt{constructor(t){super({title:'<span class="setting-icon"><i class="fa fa-desktop"></i></span> '+window.Buttonizer.translate("settings.label_desktop.title"),description:window.Buttonizer.translate("settings.label_desktop.description"),content:[new de({parentObject:t,dataEntry:"show_label_desktop",default:"always",list:[{value:"always",text:window.Buttonizer.translate("settings.label_styles.always")},{value:"hover",text:window.Buttonizer.translate("settings.label_styles.hover")},{value:"hide",text:window.Buttonizer.translate("settings.label_styles.hide")}]})]})}}class he extends Pt{constructor(t){super({title:'<span class="setting-icon"><i class="fa fa-mobile-alt"></i></span> '+window.Buttonizer.translate("settings.label_mobile.title"),description:window.Buttonizer.translate("settings.label_mobile.description"),content:[new de({parentObject:t,dataEntry:"show_label_mobile",default:"always",list:[{value:"always",text:window.Buttonizer.translate("settings.label_styles.always")},{value:"hide",text:window.Buttonizer.translate("settings.label_styles.hide")}]})]})}}class me extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.label_color.title"),description:window.Buttonizer.translate("settings.label_color.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"label-color",parentObject:t,content:[new ne({parentObject:t,dataEntry:"label_color",title:window.Buttonizer.translate("utils.text"),default:"#FFFFFF"}),new ne({parentObject:t,dataEntry:"label_background_color",title:window.Buttonizer.translate("utils.background"),default:"#4E4C4C"})]})}}class be extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.icon.title"),description:window.Buttonizer.translate("settings.icon.description"),rowName:"icon",parentObject:t,hidden:window.Buttonizer.hasPremium()&&"true"==t.get("icon_is_image"),content:[new Dt({parentObject:t,dataEntry:"icon",default:"fa fa-user",onClick:(t,e)=>{window.Buttonizer.iconSelector.open(e)}})]})}}class fe{constructor(t){this.parentObject=t.parentObject,this.button=null,this.selectedImage=null,this.dataEntry=void 0===t.dataEntry?null:t.dataEntry,this.default=void 0===t.default?"":t.default,this.value=t.parentObject.get(t.dataEntry,""),this.selectText=void 0===t.selectText?window.Buttonizer.translate("utils.select_image"):t.selectText,this.updateText=void 0===t.updateText?window.Buttonizer.translate("utils.change_image"):t.updateText,this.callback=t.callback,this.parentObject.registerUI(this.dataEntry,this)}build(){return this.buildFree()}buildFree(){let t=document.createElement("a");return t.className="button",t.href="javascript:void(0)",t.innerHTML='<i class="fa fa-image"></i>&nbsp;&nbsp;'+this.selectText+" <small>(premium)</small>",t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup("You can select images and set them as icon or as button background image.")}),t}}class we extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.background_image.title"),description:window.Buttonizer.translate("settings.background_image.description"),hidden:"button"===t.type&&"false"!==t.get("use_main_button_style"),rowName:"background-image",parentObject:t,content:[new fe({parentObject:t,dataEntry:"background_image"})]})}}class ge extends Pt{constructor(t){super({parentObject:t,title:window.Buttonizer.translate("settings.use_main_button_style.title"),description:window.Buttonizer.translate("settings.use_main_button_style.description"),class:"is-boolean-only",rowName:"use_main_button_style",content:[new Ft({parentObject:t,dataEntry:"use_main_button_style",default:"true",callback:t=>this.update(t)})]}),this.parent=t}update(t){!0===t||"true"===t?(this.parent.getUI("background-color-container").forEach(t=>{t.disable()}),this.parent.getUI("label-color-container").forEach(t=>{t.disable()}),this.parent.getUI("border-radius-container").forEach(t=>{t.disable()}),this.parent.getUI("background-image-container").forEach(t=>{t.disable()})):(this.parent.getUI("background-color-container").forEach(t=>{t.show()}),this.parent.getUI("label-color-container").forEach(t=>{t.show()}),this.parent.getUI("border-radius-container").forEach(t=>{t.show()}),this.parent.getUI("background-image-container").forEach(t=>{t.show()}))}}class ye{constructor(t){this.parentObject=t.parentObject,this.element=document.createElement("div"),this.dataEntry=void 0===t.dataEntry?null:t.dataEntry,this.default=void 0!==t.default&&t.default,this.state=void 0!==t.state&&"true"==t.state,this.first=void 0===t.first?"First":t.first,this.second=void 0===t.second?"Second":t.second,this.callback=t.callback,null!==this.dataEntry&&this.parentObject.registerUI(this.dataEntry,this)}build(){this.element.className="buttonizer-toggle"+(!0===this.state?" right-selected":" left-selected");let t=document.createElement("a");t.href="javascript:void(0)",t.innerHTML=this.first,t.addEventListener("click",()=>this.toggle()),this.element.appendChild(t);let e=document.createElement("a");return e.href="javascript:void(0)",e.innerHTML=this.second,e.addEventListener("click",()=>this.toggle()),this.element.appendChild(e),this.element}toggle(){null!==this.dataEntry?this.parentObject.set(this.dataEntry,!this.state):this.callback(!1)}update(t){this.state=t,!1===t?(this.element.classList.add("left-selected"),this.element.classList.remove("right-selected")):(this.element.classList.remove("left-selected"),this.element.classList.add("right-selected")),this.callback(t)}hide(){this.element.style.display="none"}show(){this.element.style.display="block"}}class ve extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.icon_or_image.title"),description:window.Buttonizer.translate("settings.icon_or_image.description"),useCustomBuild:!0,content:[()=>this.buildBoolean()]}),this.parent=t}buildBoolean(){return new ye({parentObject:this.parent,state:!1,first:window.Buttonizer.translate("utils.icon"),second:window.Buttonizer.translate("common.custom")+" <small>(premium)</small>",callback:()=>{window.Buttonizer.showPremiumPopup("You can select an custom image as icon for your buttons and groups.")}}).build()}}class _e extends Pt{constructor(t){super({parentObject:t,title:window.Buttonizer.translate("settings.menu_position.title"),description:window.Buttonizer.translate("settings.menu_position.description"),wrap:!0,class:"form-has-extra-fields",rowName:"position",content:[new de({parentObject:t,dataEntry:"position",default:"bottomright",callback:t=>this.changePosition(t),list:[{value:"bottomright",text:window.Buttonizer.translate("settings.menu_position.positions.bottomright")},{value:"bottomleft",text:window.Buttonizer.translate("settings.menu_position.positions.bottomleft")},{value:"topright",text:window.Buttonizer.translate("settings.menu_position.positions.topright")},{value:"topleft",text:window.Buttonizer.translate("settings.menu_position.positions.topleft")},{value:"advanced",text:window.Buttonizer.translate("settings.menu_position.positions.advanced")}]}),new Dt({parentObject:t,dataEntry:"horizontal",title:"X&nbsp;&lpar;&percnt;&rpar;",width:"space",hidden:"advanced"!==t.get("position"),onlyNumbers:!0}),new Dt({parentObject:t,dataEntry:"vertical",title:"Y&nbsp;&lpar;&percnt;&rpar;",width:"space",hidden:"advanced"!==t.get("position"),onlyNumbers:!0})]}),this.translatedPositions={topleft:{x:95,y:95},topright:{x:5,y:95},bottomleft:{x:95,y:5},bottomright:{x:5,y:5}},this.parentObject=t}changePosition(t){"advanced"===t?(this.parentObject.getUI("horizontal").forEach(t=>t.show()),this.parentObject.getUI("vertical").forEach(t=>t.show())):(this.parentObject.getUI("horizontal").forEach(t=>t.hide()),this.parentObject.getUI("vertical").forEach(t=>t.hide()),this.parentObject.set("horizontal",this.translatedPositions[t].x),this.parentObject.set("vertical",this.translatedPositions[t].y))}}class ke extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.menu_animation.title"),description:window.Buttonizer.translate("settings.menu_animation.description"),parentObject:t,rowName:"animation",content:[new de({parentObject:t,dataEntry:"menu_animation",default:"none",list:[{value:"none",text:window.Buttonizer.translate("settings.menu_animation.animations.none")},{value:"hello",text:window.Buttonizer.translate("settings.menu_animation.animations.hello")},{value:"bounce",text:window.Buttonizer.translate("settings.menu_animation.animations.bounce")},{value:"pulse",text:window.Buttonizer.translate("settings.menu_animation.animations.pulse")+(window.Buttonizer.hasPremium()?"":" (PRO)"),disabled:!window.Buttonizer.hasPremium()},{value:"jelly",text:window.Buttonizer.translate("settings.menu_animation.animations.jelly")+(window.Buttonizer.hasPremium()?"":" (PRO)"),disabled:!window.Buttonizer.hasPremium()}]})]})}}class xe extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.menu_style.title"),description:window.Buttonizer.translate("settings.menu_style.description"),parentObject:t,rowName:"style",content:[new de({parentObject:t,dataEntry:"menu_style",default:"default",list:[{value:"default",text:window.Buttonizer.translate("settings.menu_style.styles.default")},{value:"faded",text:window.Buttonizer.translate("settings.menu_style.styles.faded"),hidden:!0},{value:"corner-circle",text:window.Buttonizer.translate("settings.menu_style.styles.cornercircle"),hidden:!0},{value:"building-up",text:window.Buttonizer.translate("settings.menu_style.styles.buildingup"),hidden:!0},{value:"pop",text:window.Buttonizer.translate("settings.menu_style.styles.pop"),hidden:!0},{value:"square",text:window.Buttonizer.translate("settings.menu_style.styles.square")},{value:"rectangle",text:window.Buttonizer.translate("settings.menu_style.styles.rectangle")}]})]})}}class Be{constructor(t){this.buttonObject=t,this.groupSetting=HTMLElement,this.formElements={useMainButtonStyle:void 0,buttonColor:void 0,borderColor:void 0,borderRadius:void 0,backgroundImage:void 0,buttonIconSelect:void 0,buttonIconColor:void 0,buttonIconSize:void 0,buttonImageSelect:void 0,buttonImageIcon:void 0,buttonImageIconSelect:void 0,imageBorderRadius:void 0,imageSize:void 0,label:void 0,labelColor:void 0,labelFontSizeBorderRadius:void 0,show_label:void 0,showOnOpeningTimes:void 0,buttonCustomClass:void 0}}build(){let t=document.createElement("div");return t.className="button-group-styling",t.style.display="none",this.element=t,this.buildForm(),this.buttonObject.stylingObject=t,this.element}buildForm(){this.element.appendChild(this.generalSetting()),this.element.appendChild(this.buttonStyle()),this.element.appendChild(this.iconStyle()),this.element.appendChild(this.labelStyle()),this.element.appendChild(this.advancedSettings())}advancedSettings(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="advanced-settings"+(window.Buttonizer.hasPremium()?"":" buttonizer-premium-gray-out"),t.innerHTML="<i></i> "+window.Buttonizer.translate("utils.advanced_settings")+(window.Buttonizer.hasPremium()?"":" <span class='buttonizer-premium'>PRO</span>"),t.addEventListener("click",()=>{this.buttonObject.windowObject.toggle()}),t}generalSetting(){let t=document.createElement("div");return t.className="style-top",this.groupSetting=document.createElement("div"),this.groupSetting.className="style-group",this.formElements.menuPosition=new _e(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuPosition.build()),this.formElements.menuPosition.element.style.display="none",this.formElements.menuAnimation=new ke(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuAnimation.build()),this.formElements.menuAnimation.element.style.display="none",this.formElements.menuStyle=new xe(this.buttonObject.groupObject),this.groupSetting.appendChild(this.formElements.menuStyle.build()),this.formElements.menuStyle.element.style.display="none",t.appendChild(this.groupSetting),this.formElements.buttonAction=new qt(this),t.appendChild(this.formElements.buttonAction.build()),this.formElements.isMobile=new ue(this.buttonObject),t.appendChild(this.formElements.isMobile.build()),t}buttonStyle(){let t=document.createElement("div");t.className="style-button";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.button_style")+"</span>",t.appendChild(e),this.formElements.useMainButtonStyle=new ge(this.buttonObject),t.appendChild(this.formElements.useMainButtonStyle.build()),this.formElements.buttonColor=new ce(this.buttonObject),t.appendChild(this.formElements.buttonColor.build()),this.formElements.borderRadius=new re(this.buttonObject),t.appendChild(this.formElements.borderRadius.build()),this.formElements.backgroundImage=new we(this.buttonObject),t.appendChild(this.formElements.backgroundImage.build()),this.formElements.labelColor=new me(this.buttonObject),t.appendChild(this.formElements.labelColor.build()),t}iconStyle(){let t=document.createElement("div");t.className="style-icon";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.button_icon")+"</span>",t.appendChild(e),this.formElements.buttonIconOrImage=new ve(this.buttonObject),t.appendChild(this.formElements.buttonIconOrImage.build()),this.formElements.buttonIconSelect=new be(this.buttonObject),t.appendChild(this.formElements.buttonIconSelect.build()),this.formElements.buttonIconColor=new oe(this.buttonObject),t.appendChild(this.formElements.buttonIconColor.build()),this.formElements.buttonIconSize=new se(this.buttonObject),t.appendChild(this.formElements.buttonIconSize.build()),t}labelStyle(){let t=document.createElement("div");t.className="style-label";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.label")+"</span>",t.appendChild(e),this.formElements.buttonLabel=new Rt(this.buttonObject),t.appendChild(this.formElements.buttonLabel.build()),this.formElements.show_label=new pe(this.buttonObject),t.appendChild(this.formElements.show_label.build()),this.formElements.show_label_mobile=new he(this.buttonObject),t.appendChild(this.formElements.show_label_mobile.build()),this.formElements.buttonLabelFontSizeBorderRadius=new ae(this.buttonObject),t.appendChild(this.formElements.buttonLabelFontSizeBorderRadius.build()),t}}var Ee=class{constructor(t,e){this.type="button",this.groupObject=t,this.alive=!0,this.data=e,this.ui=[],this.buttonName=e.name,this.id=-1,this.settingsOpened=!1,this.buttonHTMLObject=HTMLElement,this.buttonIconObject=HTMLElement,this.buttonTitleObject=HTMLElement,this.windowObject=HTMLElement,this.stylingObject=void 0,this.stylingObject=HTMLElement,this.settingsObject={},this.buildButton(),this.windowObject=new m(this),this.groupObject.registerButton(this)}buildButton(){let t=document.createElement("div");t.className="buttonizer-button-group group-button",t.appendChild(new St(this).build()),this.settingsObject=new Be(this),Buttonizer.bar.settingContent.appendChild(this.settingsObject.build());var e=!1,i=!1;const n=jt(t,{content:window.Buttonizer.translate("bar.buttons.tippy_drag_warning"),animation:"shift-away",arrow:!0,hideOnClick:!1,trigger:"manual",onShow:()=>{i=!0,setTimeout(()=>{i=!1,n.hide()},5e3)}});t.addEventListener("mousedown",()=>{i||(e=!0)}),t.addEventListener("mouseout",()=>{e&&null!==jQuery(this.groupObject.groupBody).sortable("option","cancel")&&(e=!1,n.show())}),t.addEventListener("mouseup",()=>{e=!1}),this.buttonHTMLObject=t,this.groupObject.groupBody.appendChild(this.buttonHTMLObject)}removeButton(){this.alive=!1,this.buttonHTMLObject.remove(),window.Buttonizer.buttonChanges=!0,this.groupObject.buttonsAmount<=1&&jQuery(this.groupObject.groupBody).sortable("option","cancel",".group-button"),1===this.groupObject.getButtonsAlive()!==this.groupObject.singleButtonMode&&(this.groupObject.singleButtonMode=1===this.groupObject.getButtonsAlive(),this.groupObject.getButtons()[0].set("icon_size","25"),this.groupObject.groupHolder.setSingleButtonMode())}set(t,e){this.data[t]=e,this.ui[t].forEach(t=>t.update(e)),window.Buttonizer.buttonChanges=!0}get(t,e){return void 0!==this.data[t]?this.data[t]:(this.data[t]=e,window.Buttonizer.buttonChanges=!0,e)}registerUI(t,e){void 0!==this.ui[t]?this.ui[t].push(e):this.ui[t]=[e]}getUI(t){return void 0!==this.ui[t]&&this.ui[t]}revealSettings(){this.buttonHTMLObject.classList.add("opened"),this.stylingObject.style.display="block",Buttonizer.bar.showSettings(this.get("name"),()=>this.closeSettings())}closeSettings(){this.stylingObject.style.display="none",this.buttonHTMLObject.classList.remove("opened")}};var ze=class{constructor(t){this.groupObject=t,this.groupObject.stylingObject=this,this.groupHolder=null,this.titleElement=null,this.arrow=HTMLElement}build(){let t=document.createElement("div");return t.className="button-group-holder",t.appendChild(this.groupArrow()),t.appendChild(this.createTitle()),t.appendChild(this.groupSettingsButton()),t.appendChild(this.createButtonHolderButton()),t.appendChild(this.createQuickMenu()),this.groupHolder=t,t}createButtonHolderButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button";let e=document.createElement("i");return e.className="fas fa-ellipsis-v",t.appendChild(e),t.addEventListener("click",()=>{let t=this.groupHolder.className.indexOf("holder-show-quick-menu");jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),-1===t&&this.groupHolder.classList.add("holder-show-quick-menu")}),t}createQuickMenu(){let t=document.createElement("div");return t.className="group-holder-quick-menu",t.addEventListener("click",()=>{this.groupHolder.classList.remove("holder-show-quick-menu")}),t.appendChild(this.createQuickMenuButton("fas fa-plus",window.Buttonizer.translate("bar.buttons.convert_to_group"),()=>{new Ee(this.groupObject,{name:window.Buttonizer.translate("common.button")+" 2",show_mobile:"true",show_desktop:"true"}),this.groupObject.getButtons()[0].set("icon_size","16"),this.groupObject.singleButtonMode=!1,this.setSingleButtonMode(),jQuery(this.groupObject.groupBody).sortable("option","cancel",null)},"convert-button")),t.appendChild(this.createQuickMenuButton("fas fa-wrench",window.Buttonizer.translate("common.settings"),()=>this.toggleStyling(),"")),t.appendChild(this.createQuickMenuButton("fas fa-cog",window.Buttonizer.translate("utils.advanced_settings"),()=>{this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].windowObject.toggle():this.groupObject.windowObject.toggle()},window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out")),t.appendChild(this.createQuickMenuButton("fas fa-pencil-alt",window.Buttonizer.translate("utils.rename"),()=>this.groupRename(),"")),t.appendChild(this.createQuickMenuButton("far fa-trash-alt",window.Buttonizer.translate("utils.delete"),()=>this.groupDelete(),"delete")),t.firstChild.style.display="none",this.quickMenu=t,t}createQuickMenuButton(t,e,i,n=""){let o=document.createElement("a");o.href="javascript:void(0)",o.className=n;let s=document.createElement("i");return s.className=t,o.appendChild(s),o.innerHTML+=e,o.addEventListener("click",t=>i(t)),o}groupArrow(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button pull-left has-background group-arrow";let e=document.createElement("i");e.className="fa fa-angle-down buttonizer-arrow-down",t.appendChild(e);let i=document.createElement("i");return i.className="fa fa-angle-up buttonizer-arrow-up",t.appendChild(i),t.addEventListener("click",()=>this.revealButtons()),this.arrow=t,t}createTitle(){let t=document.createElement("input");return t.type="text",t.className="group-title",t.value=this.groupObject.get("name"),t.setAttribute("readonly",""),t.id="buttonizer-group-title",this.titleElement=t,t.addEventListener("blur",()=>this.updateTitle()),t.addEventListener("keyup",e=>{e.preventDefault(),13===e.keyCode?this.updateTitle():27===e.keyCode&&(t.value=this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].data.name:this.groupObject.data.name,t.setAttribute("readonly",""))}),t.addEventListener("click",e=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),e.isTrusted&&t.hasAttribute("readonly")&&(this.groupObject.singleButtonMode?this.toggleStyling():this.revealButtons())}),t}updateTitle(){(this.groupObject.singleButtonMode?this.groupObject.getButtons()[0]:this.groupObject).data.name=this.titleElement.value,window.Buttonizer.buttonChanges=!0,this.titleElement.setAttribute("readonly","")}groupRename(){this.titleElement.hasAttribute("readonly")&&(this.titleElement.removeAttribute("readonly"),this.titleElement.focus())}groupSettingsButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="holder-button group-style";let e=document.createElement("i");return e.className="fas fa-wrench",t.appendChild(e),t.addEventListener("click",t=>{jQuery(".holder-show-quick-menu").removeClass("holder-show-quick-menu"),this.toggleStyling()}),t}toggleStyling(){this.groupObject.singleButtonMode?this.groupObject.getButtons()[0].revealSettings():this.groupObject.groupSettings.show()}groupDelete(){if(this.groupObject.singleButtonMode)return window.Buttonizer.buttonGroups.length<=1?void new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]}):void new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_button")+"</p>",onConfirm:()=>{this.groupObject.removeGroup(),window.Buttonizer.buttonChanges=!0},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]});window.Buttonizer.buttonGroups.length<=1?new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_button"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.cannot_delete_group")+"</p>",buttons:[{text:window.Buttonizer.translate("modal.close"),close:!0,focus:!0,confirm:!0}]}):new s({title:window.Buttonizer.translate("bar.buttons.delete_button.window_title_group"),content:"<p>"+window.Buttonizer.translate("bar.buttons.delete_button.question_group_multiple_buttons").format(this.groupObject.getButtonsAlive())+"</p>",onConfirm:()=>{this.groupObject.removeGroup(),window.Buttonizer.buttonChanges=!0},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("utils.delete"),confirm:!0}]})}revealButtons(){this.groupObject.groupOpened=!this.groupObject.groupOpened,this.groupObject.groupOpened?(this.groupObject.groupObject.classList.add("opened"),jQuery(this.groupObject.groupBody).sortable("enable")):(this.groupObject.groupObject.classList.remove("opened"),jQuery(this.groupObject.groupBody).sortable("disable")),this.groupObject.groupBody.style.display=this.groupObject.groupOpened?"block":"none"}setSingleButtonMode(){if(this.groupObject.singleButtonMode){this.quickMenu.firstChild.style.display="",this.titleElement.value=void 0===this.groupObject.getButtons()[0]?this.groupObject.firstButtonName:this.groupObject.getButtons()[0].data.name,this.groupHolder.classList.add("single-button"),this.groupObject.groupOpened&&this.revealButtons(),this.groupObject.getButtons()[0].set("use_main_button_style","false"),this.groupObject.getButtons()[0].getUI("use_main_button_style-container")[0].element.style.display="none",this.groupObject.getUI("position-container")[1].element.style.display="",this.groupObject.getUI("animation-container")[1].element.style.display="",this.groupObject.getUI("style-container")[1].element.style.display="";for(let t=0;t<this.groupObject.getUI("style-container")[1].content[0].element.length;t++)!0===this.groupObject.getUI("style-container")[1].content[0].list[t].hidden&&(this.groupObject.getUI("style-container")[1].content[0].element[t].style.display="none");this.groupObject.set("single_button_mode","true")}else this.quickMenu.firstChild.style.display="none",this.groupObject.getUI("position-container")[1].element.style.display="none",this.groupObject.getUI("animation-container")[1].element.style.display="none",this.groupObject.getUI("style-container")[1].element.style.display="none",this.groupObject.getButtons()[0].set("use_main_button_style","true"),this.groupObject.getButtons()[0].getUI("use_main_button_style-container")[0].element.style.display="",this.titleElement.value=this.groupObject.data.name,this.groupHolder.classList.remove("single-button"),this.groupObject.set("single_button_mode","false")}};class Ce extends Pt{constructor(t){super({title:window.Buttonizer.translate("settings.start_opened.title"),description:window.Buttonizer.translate("settings.start_opened.description"),class:"is-boolean-only",content:[new Ft({parentObject:t,dataEntry:"start_opened",default:"false"})]})}}var je=class{constructor(t){this.groupObject=t,this.open=!1,this.formElements={alwaysOpen:void 0,menuStyle:void 0,isMobile:void 0,isDesktop:void 0,attentionAnimation:void 0,buttonColor:void 0,borderRadius:void 0,backgroundImage:void 0,groupPosition:void 0,buttonIconSelect:void 0,buttonIconColor:void 0,buttonIconSize:void 0,buttonImageSelect:void 0,buttonImageBackground:void 0,buttonImageIconSelect:void 0,imageSize:void 0,imageBorderRadius:void 0,buttonLabel:void 0,buttonLabelColor:void 0,buttonLabelSize:void 0,show_label:void 0},this.element=HTMLElement}build(){let t=document.createElement("div");return t.className="button-group-styling hidden",this.element=t,this.hide(),this.buildTop(),this.buildForm(),this.groupObject.stylingObject=t,this.element}buildForm(){this.element.appendChild(this.top()),this.element.appendChild(this.menuStyle()),this.element.appendChild(this.buttonStyle()),this.element.appendChild(this.iconStyle()),this.element.appendChild(this.labelStyle());let t=document.createElement("a");t.href="javascript:void(0)",t.className="advanced-settings"+(window.Buttonizer.hasPremium()?"":" buttonizer-premium-gray-out"),t.innerHTML="<i></i> "+window.Buttonizer.translate("utils.advanced_settings")+(window.Buttonizer.hasPremium()?"":" <span class='buttonizer-premium'>PRO</span>"),t.addEventListener("click",()=>{this.groupObject.windowObject.toggle()}),this.element.appendChild(t)}top(){let t=document.createElement("div");return t.className="style-top",this.formElements.menuPosition=new _e(this.groupObject),t.appendChild(this.formElements.menuPosition.build()),this.formElements.isMobile=new ue(this.groupObject),t.appendChild(this.formElements.isMobile.build()),t}menuStyle(){let t=document.createElement("div");t.className="style-menu";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.menu_style")+"</span>",t.appendChild(e),this.formElements.alwaysOpen=new Ce(this.groupObject),t.appendChild(this.formElements.alwaysOpen.build()),this.formElements.menuStyle=new xe(this.groupObject),t.appendChild(this.formElements.menuStyle.build()),this.formElements.attentionAnimation=new ke(this.groupObject),t.appendChild(this.formElements.attentionAnimation.build()),t}buttonStyle(){let t=document.createElement("div");t.className="style-button";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.group_style")+"</span>",t.appendChild(e),this.formElements.buttonColor=new ce(this.groupObject),t.appendChild(this.formElements.buttonColor.build()),this.formElements.borderRadius=new re(this.groupObject),t.appendChild(this.formElements.borderRadius.build()),this.formElements.backgroundImage=new we(this.groupObject),t.appendChild(this.formElements.backgroundImage.build()),t}iconStyle(){let t=document.createElement("div");t.className="style-icon";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.group_icon")+"</span>",t.appendChild(e),this.formElements.buttonIcon=new ve(this.groupObject),t.appendChild(this.formElements.buttonIcon.build()),this.formElements.buttonIconSelect=new be(this.groupObject),t.appendChild(this.formElements.buttonIconSelect.build()),this.formElements.buttonIconColor=new oe(this.groupObject),t.appendChild(this.formElements.buttonIconColor.build()),this.formElements.buttonIconSize=new se(this.groupObject),t.appendChild(this.formElements.buttonIconSize.build()),t}labelStyle(){let t=document.createElement("div");t.className="style-label";let e=document.createElement("h2");return e.innerHTML="<i></i><span>"+window.Buttonizer.translate("settings.setting_categories.label")+"</span>",t.appendChild(e),this.formElements.buttonLabel=new Rt(this.groupObject),t.appendChild(this.formElements.buttonLabel.build()),this.formElements.show_label=new pe(this.groupObject),t.appendChild(this.formElements.show_label.build()),this.formElements.show_label_mobile=new he(this.groupObject),t.appendChild(this.formElements.show_label_mobile.build()),this.formElements.buttonLabelColor=new me(this.groupObject),t.appendChild(this.formElements.buttonLabelColor.build()),this.formElements.buttonLabelFontSizeBorderRadius=new ae(this.groupObject),t.appendChild(this.formElements.buttonLabelFontSizeBorderRadius.build()),t}buildTop(){}toggle(){(this.open=!0)?(this.open=!1,this.hide()):(this.open=!0,this.show())}show(){this.element.className="button-group-styling",Buttonizer.bar.showSettings(this.groupObject.get("name"),()=>this.hide())}hide(){this.element.className="button-group-styling hidden"}};class Se{constructor(t){this.windowObject=t,this.checkbox=document.createElement("input"),this.mainBox}build(){let t=this.createTable();return window.Buttonizer.hasPremium()||t.addEventListener("click",()=>{window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("settings.exit_intent.pro_description"))}),t}createTable(){let t=document.createElement("div");t.appendChild(this.buildTriggers()),t.appendChild(this.createTriggerDropdown()),t.appendChild(this.createTriggerAnimation()),this.mainBox=t;let e=new r("table-relative");return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings.exit_intent.title")+"</h2>"+(window.Buttonizer.hasPremium()?"":'<span class="buttonizer-premium premium-right">PRO</span>')),e.addColumn(this.createCheckbox(),window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","10"),e.newRow(),e.addColumnHTML("","",""),e.addColumn(this.mainBox,window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","358"),e.newRow(),e.addColumnHTML("","",""),e.addColumnHTML(window.Buttonizer.translate("settings.exit_intent.info"),window.Buttonizer.hasPremium()?"":"buttonizer-premium-ghost","358"),e.build()}buildTriggers(){let t=document.createElement("div");return t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.when_to_trigger")+"</b><br /><br />",t.appendChild(this.triggerLeavingWindow()),t.appendChild(this.triggerInactive()),t}triggerLeavingWindow(){let t=document.createElement("div");if(!window.Buttonizer.hasPremium())return t.innerHTML=window.Buttonizer.translate("settings.exit_intent.trigger_window"),t.prepend(new Ft({parentObject:this.windowObject.objectOwner,default:"true",disabled:!0,class:"inline-toggle",callback:()=>{}}).build()),t}triggerInactive(){let t=document.createElement("div");if(t.style.marginTop="10px",t.style.marginBottom="15px",!window.Buttonizer.hasPremium())return t.innerHTML=window.Buttonizer.translate("settings.exit_intent.trigger_inactive"),t.prepend(new Ft({parentObject:this.windowObject.objectOwner,default:"false",disabled:!0,class:"inline-toggle",callback:()=>{}}).build()),t}createTriggerDropdown(){let t=document.createElement("div");if(t.style.marginBottom="15px",t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.how_often._title")+"</b><br />",!window.Buttonizer.hasPremium())return t.appendChild(new de({parentObject:this.windowObject.objectOwner,class:"window-select",disabled:!0,width:"100%",callback:()=>{},list:[{value:"first",text:window.Buttonizer.translate("settings.exit_intent.how_often.once_page")}]}).build()),t}createTriggerAnimation(){let t=document.createElement("div");if(t.style.marginBottom="15px",t.innerHTML="<b>"+window.Buttonizer.translate("settings.exit_intent.animation._title")+"</b><br />",!window.Buttonizer.hasPremium())return t.appendChild(new de({parentObject:this.windowObject.objectOwner,default:"first",class:"window-select",disabled:!0,width:"100%",callback:()=>{},list:[{value:"first",text:window.Buttonizer.translate("settings.exit_intent.animation.focused")}]}).build()),t}createCheckbox(){let t=document.createElement("div");window.Buttonizer.hasPremium()||(this.checkbox=new Ft({parentObject:this.windowObject.objectOwner,default:"false",disabled:!0,class:"inline-toggle",callback:t=>{}})),t.appendChild(this.checkbox.build());let e=document.createElement("span");return e.className="span-middle",e.innerHTML=window.Buttonizer.translate("settings.exit_intent.enable"),e.addEventListener("click",()=>this.checkbox.toggle()),t.appendChild(e),t}}class Oe extends d{constructor(t){super(t,window.Buttonizer.translate("utils.advanced_settings")+" - "+window.Buttonizer.translate("common.group")+" "+t.data.name+(window.Buttonizer.hasPremium()?"":" (premium)"))}render(){this.filter(),this.delay(),this.styling()}filter(){let t=document.createElement("div");t.appendChild(new l(this).build()),t.appendChild(new a(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.filters"),t)}delay(){let t=document.createElement("div");t.appendChild(new u(this).build()),t.appendChild(new c(this).build()),t.appendChild(new Se(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.timeout_scroll"),t)}styling(){let t=document.createElement("div");t.appendChild(new h(this).build()),t.appendChild(new p(this).build()),super.addItem(window.Buttonizer.translate("settings.button_group_window.styling"),t)}}class Le{constructor(t,e){e||(e=[]),this.type="group",this.groupOpened=!1,this.data=t,this.ui={},this.groupObject=HTMLElement,this.groupID=window.Buttonizer.buttonGroups.length,this.stylingOpened=!1,this.stylingObject=HTMLElement,this.groupBody=HTMLElement,this.windowObject=HTMLElement,this.buttons=[],this.buttonsLength=e.length,this.singleButtonMode=!1,this.buildGroup(),this.windowObject=new Oe(this);for(let t in e)new Ee(this,e[t]);1===this.getButtonsAlive()!==this.singleButtonMode&&(this.singleButtonMode=1===this.getButtonsAlive(),this.groupHolder.setSingleButtonMode()),this.appendAddButton(),window.Buttonizer.buttonGroups.push(this)}get buttonsAmount(){return this.getButtonsAlive()}buildGroup(){let t=document.createElement("div");t.className="buttonizer-button-group is-group",this.groupObject=t,this.groupHolder=new ze(this),t.appendChild(this.groupHolder.build()),this.groupSettings=new je(this),Buttonizer.bar.settingContent.appendChild(this.groupSettings.build()),this.appendAddButton(),this.groupBody=document.createElement("div"),this.groupBody.style.display="none",this.groupBody.className="button-group-body",t.appendChild(this.groupBody),jQuery(this.groupBody).sortable({items:"> div",axis:"y",cursor:"move",delay:150,handle:"#buttonizer-button-title",helper:"clone",cancel:this.buttonsLength<=1?".group-button":null,connectWith:".button-group-body",disabled:!0,start:(t,e)=>{jQuery(e.item).attr("previndex",e.item.index()),jQuery(e.item).attr("prevgroup",jQuery(this.groupBody).parent().index())},stop:(t,e)=>{jQuery(e.item).removeAttr("previndex"),jQuery(e.item).removeAttr("prevgroup")},update:function(t,e){if(this===e.item.parent()[0]){let t=e.item.index(),i=jQuery(e.item).attr("previndex"),n=jQuery(this).parent().index(),o=jQuery(e.item).attr("prevgroup");e.sender&&jQuery(this).sortable("option","cancel",null),window.Buttonizer.updateButtonList(t,i,n,o),jQuery(e.item).removeAttr("previndex"),jQuery(e.item).removeAttr("prevgroup")}}}),jQuery(this.groupBody).disableSelection(),jQuery(".group-title").disableSelection(),Buttonizer.bar.groupHolder.appendChild(this.groupObject)}duplicate(){new Le(this.data,this.buttons)}appendAddButton(){let t=document.createElement("a");t.href="javascript:void(0)",t.className="create-new-button",t.innerHTML=window.Buttonizer.translate("utils.add_button")+" +",t.addEventListener("click",()=>{new Ee(this,{name:window.Buttonizer.translate("common.button")+" "+(this.getButtonsAlive()+1),show_mobile:"true",show_desktop:"true"}),jQuery(this.groupBody).sortable("option","cancel",null)}),this.groupObject.appendChild(t)}registerButton(t){this.buttons.push(t)}removeGroup(){let t=window.Buttonizer.buttonGroups.indexOf(this);window.Buttonizer.buttonGroups.splice(t,1),this.groupObject.remove()}set(t,e){this.data[t]=e,void 0!==this.ui[t]&&this.ui[t].forEach(t=>t.update(e)),window.Buttonizer.buttonChanges=!0}get(t,e){return void 0!==this.data[t]?this.data[t]:(this.data[t]=e,window.Buttonizer.buttonChanges=!0,e)}getButtonsAlive(){let t=0;return this.buttons.forEach(e=>{e.alive&&t++}),t}getButtons(){return this.buttons.filter(t=>t.alive)}registerUI(t,e){void 0!==this.ui[t]?this.ui[t].push(e):this.ui[t]=[e]}getUI(t){return void 0!==this.ui[t]&&this.ui[t]}}var Te=Le;var Ne=class{constructor(t){this.buttonizerObject=t,this.topBarElement=HTMLElement,this.optionsWindow=HTMLElement,this.publishButton=HTMLElement,this.revertChangesText=HTMLElement,this.alertText=HTMLElement,this.eventListCache=[],this.eventTrackerMenuItem=null,this.eventTracker=null,this.windowOptions=[{buttons:[{title:"Buttonizer",description:window.Buttonizer.translate("bar.menu.version"),callback:()=>{window.open("https://www.buttonizer.pro/")}},{title:window.Buttonizer.translate("bar.menu.knowledgebase.title"),description:window.Buttonizer.translate("bar.menu.knowledgebase.description"),callback:()=>{window.open("https://community.buttonizer.pro/knowledgebase")}}]},{title:window.Buttonizer.translate("bar.menu.support_group"),buttons:[{title:window.Buttonizer.translate("bar.menu.support.title"),callback:()=>{window.open("https://community.buttonizer.pro/t/support")}},{title:window.Buttonizer.translate("bar.menu.community.title"),description:window.Buttonizer.translate("bar.menu.community.description"),callback:()=>{window.open("https://community.buttonizer.pro/")}},{title:window.Buttonizer.translate("bar.menu.tour.title"),description:window.Buttonizer.translate("bar.menu.tour.description"),callback:()=>{window.Buttonizer.startTour()}}]},{title:window.Buttonizer.translate("bar.menu.account_group"),buttons:[{title:window.Buttonizer.translate("bar.menu.account.title"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-account")}},{title:window.Buttonizer.translate("bar.menu.upgrade.title"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-pricing")}},{title:window.Buttonizer.translate("bar.menu.affiliation.title"),description:window.Buttonizer.translate("bar.menu.affiliation.description"),callback:()=>{window.open(buttonizer_admin.admin+"?page=Buttonizer-affiliation")}}]},{buttons:[{title:window.Buttonizer.translate("page_rules.name"),icon:"fas fa-filter",class:window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out",callback:()=>{window.Buttonizer.hasPremium()?window.Buttonizer.pageRule.show():window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("page_rules.pro_description"),"SQnAhyBWLWg")}},{title:window.Buttonizer.translate("time_schedules.name"),icon:"far fa-clock",class:window.Buttonizer.hasPremium()?"":"buttonizer-premium-gray-out",callback:()=>{window.Buttonizer.hasPremium()?window.Buttonizer.timeSchedule.show():window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("time_schedules.pro_description"),"C-B9ITdY6A4")}}]},{buttons:[{title:window.Buttonizer.translate("bar.menu.options.title"),icon:"fa fa-cogs",class:"single-button",callback:()=>{this.buttonizerObject.settingsWindow.toggle()}}]}],document.body.appendChild(this.buildTopBar())}buildTopBar(){let t=document.createElement("div");t.className="buttonizer-topbar";let e=document.createElement("div");return e.className="revert-save",e.style.display="inline-block",e.appendChild(this.createRevertChangesButton()),e.appendChild(this.createPublishButton()),t.appendChild(this.createBackButton()),t.appendChild(this.createLogo()),t.appendChild(e),t.appendChild(this.createOptionsButton()),t.appendChild(this.createAlertText()),t.appendChild(this.createOptionsWindow()),t.appendChild(this.createEventMenuItem()),t.appendChild(this.createEventWindow()),this.topBarElement=t,t}createOptionsButton(){let t=document.createElement("a");return t.className="options-button button right fas fa-cog",t.addEventListener("click",()=>{this.optionsWindow.toggle()}),t}createEventMenuItem(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="event-tracker-button",t.style.display="none",t.innerHTML="",t.addEventListener("click",()=>{"block"===this.eventTracker.container.style.display?this.eventTracker.container.style.display="none":this.eventTracker.container.style.display="block"}),this.eventTrackerMenuItem=t,t}createEventWindow(){let t=document.createElement("div");t.className="event-track-window",t.style.display="none",t.innerHTML=`<div class="track-window-title">${window.Buttonizer.translate("event_tracker.window_title")}</div>`;let e=document.createElement("a");e.href="javascript:void(0)",e.className="close",e.innerHTML='<i class="fas fa-times"></i>',e.addEventListener("click",()=>{t.style.display="none"}),t.appendChild(e);let i=document.createElement("div");return i.className="list-container",i.innerHTML="",t.appendChild(i),this.eventTracker={container:t,list:i},t}updateEventLogs(t){if(0!==t.length){if(this.eventListCache!==t){this.eventTrackerMenuItem.style.display="block",this.eventTrackerMenuItem.innerHTML='<i class="fas fa-info"></i> ('+t.length+") "+window.Buttonizer.translate("event_tracker.title"),this.eventTracker.list.innerHTML="";for(let e=0;e<t.length;e++){let i=document.createElement("div");i.className="event-element event-"+t[e].type,i.innerHTML=t[e].message,this.eventTracker.list.appendChild(i)}}}else this.eventTrackerMenuItem.style.display="none"}createOptionsWindow(){this.optionsWindow=document.createElement("div"),this.optionsWindow.className="options-window",this.optionsWindow.hidden=!0,this.optionsWindow.toggle=()=>{this.optionsWindow.hidden=!this.optionsWindow.hidden};let t=document.createElement("ul");for(let e=0;e<this.windowOptions.length;e++){let i=document.createElement("li");if(i.className="group-container","string"==typeof this.windowOptions[e].title){let t=document.createElement("div");t.className="group-title",t.innerHTML=this.windowOptions[e].title,i.appendChild(t)}for(let t=0;t<this.windowOptions[e].buttons.length;t++)i.appendChild(this.barMenuItem(this.windowOptions[e].buttons[t]));t.appendChild(i)}return this.optionsWindow.appendChild(t),this.optionsWindow}barMenuItem(t){let e=document.createElement("a");e.href="javascript:void(0)",e.className=t.class?"option "+t.class:"option";let i=document.createElement("span");if(i.className="button-title",i.innerHTML=t.title?t.title:"Default title",e.appendChild(i),t.hasOwnProperty("description")){let i=document.createElement("span");i.className="button-description",i.innerHTML=t.description?t.description:"",e.appendChild(i)}if(t.hasOwnProperty("icon")){let i=document.createElement("i");i.className=t.icon,e.appendChild(i)}return t.hasOwnProperty("callback")&&e.addEventListener("click",()=>{this.optionsWindow.toggle(),t.callback()}),e}createBackButton(){let t=document.createElement("a");return t.className="close-button fa fa-times",t.addEventListener("click",()=>{document.location.href=window.Buttonizer.buttonizerInitData.wordpress.admin_base}),t}createLogo(){let t=document.createElement("img");return t.className="buttonizer-logo",t.src=buttonizer_admin.assets+"/images/logo.png",t}createPublishButton(){return this.publishButton=document.createElement("a"),this.publishButton.className="publish-button button-primary right",this.publishButton.innerText=window.Buttonizer.translate("common.save_publish"),this.publishButton.enabled=!0,this.publishButton.addEventListener("click",()=>{this.publishButton.enabled&&this.buttonizerObject.savingMechanism.publish()}),this.publishButton.enable=()=>{this.publishButton.enabled=!0,this.revertChangesText.hidden=!1,this.publishButton.innerText=window.Buttonizer.translate("common.save_publish"),this.publishButton.className=this.publishButton.className.replace(" disabled","")},this.publishButton.disable=t=>{this.publishButton.enabled=!1,this.revertChangesText.hidden=!0,this.publishButton.innerText=t,this.publishButton.className.includes(" disabled")||(this.publishButton.className+=" disabled")},this.publishButton}createRevertChangesButton(){return this.revertChangesText=document.createElement("a"),this.revertChangesText.className="revert-button right",this.revertChangesText.innerText=window.Buttonizer.translate("revert.revert_changes"),this.revertChangesText.href="javascript:void(0)",this.revertChangesText.addEventListener("click",()=>{new s({title:window.Buttonizer.translate("revert.revert_changes"),content:"<p>"+window.Buttonizer.translate("revert.modal.intro")+"</p><p>"+window.Buttonizer.translate("revert.modal.action")+"</p>",onConfirm:()=>{this.buttonizerObject.savingMechanism.revert()},buttons:[{text:window.Buttonizer.translate("modal.changed_my_mind"),close:!0,focus:!0},{text:window.Buttonizer.translate("revert.revert_changes"),confirm:!0}]})}),this.revertChangesText}createAlertText(){return this.alertText=document.createElement("a"),this.alertText.className="alert-text",this.alertText.showSaving=()=>{this.alertText.innerHTML='<i class="fas fa-mug-hot"></i> '+window.Buttonizer.translate("saving.saving"),this.alertText.hidden=!1},this.alertText.showSaved=()=>{this.alertText.innerHTML='<i class="fas fa-check"></i> '+window.Buttonizer.translate("saving.completed"),setTimeout(()=>{this.alertText.hidden=!0},2e3)},this.alertText.alert=t=>{this.alertText.innerText=t,this.alertText.hidden=!1,setTimeout(()=>{this.alertText.hidden=!0},2e3)},this.alertText.hidden=!0,this.alertText}set changes(t){t?this.publishButton.enable():this.publishButton.disable(window.Buttonizer.translate("common.published"))}};var Ae=class{constructor(t){this.buttonizerObject=t,this.barElement=HTMLElement,this.groupContainer=HTMLElement,this.settingBar=HTMLElement,this.settingContainer=HTMLElement,this.settingContent=HTMLElement,this.settingTitle=HTMLElement,this.settingCallback=()=>console.log("huh?"),document.body.appendChild(this.buildBar()),jQuery(this.groupContainer).scrollbar(),jQuery(this.settingContent).scrollbar()}buildBar(){let t=document.createElement("div");t.className="buttonizer-bar";let e=document.createElement("div");e.className="group-container container",e.appendChild(this.createButtonHolder()),e.appendChild(this.addButtonGroup()),t.appendChild(e),t.appendChild(this.createBarFooter()),this.barElement=t,this.groupContainer=e;let i=document.createElement("div"),n=document.createElement("div");n.className="settings-content";let o=document.createElement("div");return o.className="settings-container container hidden",o.appendChild(this.createSettingBar()),n.appendChild(i),o.appendChild(n),t.appendChild(o),this.settingContent=i,this.settingContainer=o,t}createSettingBar(){let t=document.createElement("div");t.className="top";let e=document.createElement("a");e.className="back-button fa fa-angle-left",e.addEventListener("click",()=>{jQuery(".settings-container").addClass("hidden"),jQuery(".group-container").removeClass("hidden"),setTimeout(()=>this.settingCallback(),250)}),t.appendChild(e);let i=document.createElement("div");i.className="title-wrapper";let n=document.createElement("h4");n.innerHTML=window.Buttonizer.translate("bar.buttons.now_editing");let o=document.createElement("h2");return o.innerHTML="nothing!",i.appendChild(n),i.appendChild(o),t.appendChild(i),this.settingBar=t,this.settingTitle=o,t}createButtonHolder(){return this.groupHolder=document.createElement("div"),this.groupHolder.className="buttonizer-group-holder",jQuery(this.groupHolder).sortable({items:"> div",axis:"y",cursor:"move",delay:150,handle:"#buttonizer-group-title",helper:"clone",start:function(t,e){jQuery(this).attr("data-previndex",e.item.index())},stop:function(t,e){jQuery(this).removeAttr("data-previndex")},update:function(t,e){var i=e.item.index(),n=jQuery(this).attr("data-previndex");window.Buttonizer.updateButtonGroupList(i,n),jQuery(this).removeAttr("data-previndex")},cancel:null}),jQuery(this.groupHolder).disableSelection(),jQuery(".group-title").disableSelection(),this.groupHolder}addButtonGroup(){let t=document.createElement("a");return t.href="javascript:void(0)",t.className="create-new-button is-create-group buttonizer-premium-gray-out",t.innerHTML=window.Buttonizer.translate("utils.add_group")+'+ <span class="buttonizer-premium">PRO</span>',t.addEventListener("click",()=>window.Buttonizer.showPremiumPopup(window.Buttonizer.translate("premium.multiple_button_groups"),"Qxs1oGCVATU")),t}generateLink(t,e,i,n){n||(n="");let o=document.createElement("a");return o.href="javascript:void(0)",o.className=n,o.innerHTML='<i class="'+t+'"></i> '+e,o.addEventListener("click",i),o}showSettings(t,e){jQuery(".buttonizer-bar .settings-container").removeClass("hidden"),jQuery(".buttonizer-bar .group-container").addClass("hidden"),this.settingTitle.innerHTML=t,this.settingCallback=e}createBarFooter(){let t=document.createElement("div");t.className="bar-footer";let e=document.createElement("div");e.className="footer-device-selector";let i=document.createElement("a");i.href="javascript:void(0)",i.className="active",i.innerHTML='<span class="dashicons-before dashicons-desktop"></span>',i.addEventListener("click",()=>{i.classList.add("active"),n.classList.remove("active"),o.classList.remove("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame"}),jt(i,{content:window.Buttonizer.translate("bar.preview.desktop"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(i);let n=document.createElement("a");n.href="javascript:void(0)",n.innerHTML='<span class="dashicons-before dashicons-tablet"></span>',n.addEventListener("click",()=>{i.classList.remove("active"),n.classList.add("active"),o.classList.remove("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame frame-size-tablet"}),jt(n,{content:window.Buttonizer.translate("bar.preview.tablet"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(n);let o=document.createElement("a");return o.href="javascript:void(0)",o.innerHTML='<span class="dashicons-before dashicons-smartphone"></span>',o.addEventListener("click",()=>{i.classList.remove("active"),n.classList.remove("active"),o.classList.add("active"),document.querySelector(".buttonizer-frame").className="buttonizer-frame frame-size-mobile"}),jt(o,{content:window.Buttonizer.translate("bar.preview.mobile"),animation:"shift-away",arrow:!1,placement:"top"}),e.appendChild(o),t.appendChild(e),t}};var Ie=class{constructor(){this.element=document.createElement("div"),this.element.className="buttonizer-loading";let t=document.createElement("div");t.className="middle";let e=document.createElement("img");e.src=buttonizer_admin.assets+"/images/buttonizer-loading.png",t.innerHTML=this.svg(),t.appendChild(e),this.textElement=document.createElement("div"),this.textElement.className="loader-text",t.appendChild(this.textElement),this.element.appendChild(t),document.body.appendChild(this.element)}svg(){return'<svg width="165" height="165" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-rolling"><circle cx="50" cy="50" fill="none" stroke="#2f788a" stroke-width="7" r="35" stroke-dasharray="164.93361431346415 56.97787143782138" transform="rotate(300 50 50)">\x3c!--animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"--\x3e</animateTransform></circle></svg>'}show(t,e=""){t||(t=""),this.textElement.innerHTML=t,this.element.className="buttonizer-loading "+e,this.element.style.display="block"}hide(){this.element.style.display="none"}};var Me=class{constructor(){this.updateTimer=setTimeout(()=>{},0),this.isUpdating=!1,this.tempButtons={},this.savingObject=HTMLElement,this.savedObject=HTMLElement,setInterval(()=>this.checkUpdates(),500)}checkUpdates(){window.Buttonizer.buttonChanges&&!this.isUpdating&&(window.Buttonizer.buttonChanges=!1,clearTimeout(this.updateTimer),this.updateTimer=setTimeout(()=>this.save(),1e3))}save(){window.Buttonizer.buttonChanges||(this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,window.Buttonizer.topBar.alertText.showSaving(),console.log("[BUG DEBUG SAVING AND RELOADING] button changes!"),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=buttons",dataType:"json",method:"post",data:{security:buttonizer_admin.security,buttons:this.generateJSONObject()},success:t=>{this.isUpdating=!1,"success"===t.status?(console.log("[BUG DEBUG SAVING AND RELOADING] saved!"),window.Buttonizer.topBar.alertText.showSaved(),this.reloadPreview(),window.Buttonizer.changes=!0):window.Buttonizer.savingError(t.message)},error:t=>{this.isUpdating=!1,window.Buttonizer.savingError(t)}}))}publish(){window.Buttonizer.buttonChanges||this.isUpdating||(this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,window.Buttonizer.topBar.publishButton.disable(window.Buttonizer.translate("common.publishing")),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=publish",dataType:"json",data:{security:buttonizer_admin.security},method:"post",success:t=>{this.isUpdating=!1,"success"===t.status?window.Buttonizer.topBar.publishButton.disable(window.Buttonizer.translate("common.published")):new s({title:window.Buttonizer.translate("errors.saving.title"),content:`<p>${window.Buttonizer.translate("errors.saving.message")}.</p><p>${t.message}</p>`,buttons:[{text:"Close",close:!0}]})},error:(t,e,i)=>{this.isUpdating=!1,window.Buttonizer.topBar.publishButton.enable(),window.bdebug.error("Couldn't complete saving: "+t)}}))}revert(){window.Buttonizer.buttonChanges||(window.Buttonizer.loader.show(window.Buttonizer.translate("revert.reverting")),this.isUpdating=!0,window.Buttonizer.buttonChanges=!1,jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=revert",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{if(this.isUpdating=!1,"success"!==t.status)return window.Buttonizer.loader.hide(),void new s({title:window.Buttonizer.translate("revert.error.title"),content:`<p>${window.Buttonizer.translate("revert.error.message")}</p><p>${t.message}</p>`,buttons:[{text:"Close",close:!0}]});document.location.reload()},error:(t,e,i)=>{this.isUpdating=!1,window.bdebug.error("Couldn't complete saving: "+t)}}))}reloadPreview(){console.log("[BUG DEBUG SAVING AND RELOADING] requested!");try{document.getElementById("buttonizer-iframe").contentWindow.postMessage({eventType:"buttonizer",messageType:"preview-reload"},document.location.origin)}catch(t){console.log("Buttonizer tried to auto update the Buttonizer Buttons. But the message didn't came through. Well. Doesn't matter, it's just an extra function. It's nice to have."),console.log(t),document.getElementById("buttonizer-iframe").contentWindow.location.reload()}}generateJSONObject(){let t=window.Buttonizer.buttonGroups,e=[];for(let i=0;i<t.length;i++){let n=t[i].buttons,o=[];for(let t=0;t<n.length;t++)n[t].alive&&o.push(n[t].data);e.push({data:t[i].data,buttons:o})}return e}},He=class{constructor(){this.versionDropdown={},this.libraryPremiumCode={},this.currentSelected=window.Buttonizer.getSetting("icon_library","fontawesome"),this.currentSelectedIndex=null,this.currentSelectedVersion=window.Buttonizer.getSetting("icon_library_version","5.free"),this.currentSelectedVersionIndex=null,this.currentSelectedPremiumCode=window.Buttonizer.getSetting("icon_library_code",""),this.cachedPremium=[],this.libraries=[{name:"Font Awesome",id:"fontawesome",versions:[{id:"5.free",name:"Font Awesome 5 - "+window.Buttonizer.translate("settings_window.icon_library.free")+" - "+window.Buttonizer.translate("settings_window.icon_library.latest"),free:!0},{id:"5.paid",name:"Font Awesome 5 - Pro - "+window.Buttonizer.translate("settings_window.icon_library.latest"),free:!1},{id:"4.7.0",name:"Font Awesome 4.7",free:!0}]}]}build(){let t=document.createElement("div");return t.appendChild(this.iconLibrary()),t.appendChild(this.versionSelector()),t.appendChild(this.importIconLibrary()),t}showPremiumIcons(){return!0}iconLibrary(){let t=document.createElement("select");t.className="window-select";for(let e=0;e<this.libraries.length;e++){let i=document.createElement("option");i.value=e,i.text=this.libraries[e].name,i.setAttribute("data-index",e.toString()),this.currentSelected===this.libraries[e].id&&(i.selected=!0,this.currentSelectedIndex=e),t.appendChild(i)}t.addEventListener("change",()=>{this.currentSelected=t.value,this.currentSelectedIndex=Number(t.getAttribute("data-index")),this.currentSelectedVersion=0,window.Buttonizer.saveSettings({icon_library:t.value,icon_library_version:this.libraries[this.currentSelectedIndex].versions[0]},!1),this.buildVersionSelector(),this.reloadIframe()});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.icon_library.info");let i=new r;return i.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.title")+"</h2>"),i.addColumn(t,"","370"),i.newRow(),i.addColumnText(""),i.addColumn(e),i.build()}versionSelector(){this.versionDropdown=document.createElement("select"),this.versionDropdown.className="window-select",this.versionDropdown.addEventListener("change",()=>{this.currentSelectedVersion=this.versionDropdown.value,window.Buttonizer.saveSettings({icon_library_version:this.currentSelectedVersion},!1),this.currentSelectedVersion.indexOf("paid")>=0?(this.libraryPremiumCode.style.display="block",""!==this.currentSelectedPremiumCode&&this.reloadIcons()):(this.libraryPremiumCode.style.display="none",this.reloadIcons())});let t=document.createElement("div");t.innerHTML=window.Buttonizer.translate("settings_window.icon_library.select_version.info");let e=new r;e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.select_version.title")+"</h2>"),e.addColumn(this.versionDropdown,"","370"),e.newRow(),e.addColumnText(""),e.addColumn(t);let i=document.createElement("div");return i.appendChild(e.build()),i.appendChild(this.libraryLicenseKey()),this.buildVersionSelector(),i}reloadIcons(){window.Buttonizer.iconSelector.iconListener.onReady(()=>{window.Buttonizer.iconSelector.rebuild(),window.Buttonizer.addIconLibrary(),this.reloadIframe()}),window.Buttonizer.iconSelector.iconListener.loadIcons()}libraryLicenseKey(){let t=document.createElement("div");t.innerHTML=window.Buttonizer.translate("settings_window.icon_library.library_license_key.info")+'<a href="" target="_blank" class="link-add-more" style="display: inline">'+window.Buttonizer.translate("settings_window.icon_library.library_license_key.how_does_it_work")+"</a>";let e=document.createElement("input");e.placeholder=window.Buttonizer.translate("settings_window.icon_library.library_license_key.enter_integrity_code"),e.className="window-select",e.value=this.currentSelectedPremiumCode,e.addEventListener("change",()=>{window.Buttonizer.saveSettings({icon_library_code:e.value},!1),this.reloadIcons()});let i=new r;return i.addColumnHTML(" "),i.addColumn(e,"","370"),i.newRow(),i.addColumnText(""),i.addColumn(t),this.libraryPremiumCode=i.build(),this.libraryPremiumCode}buildVersionSelector(){this.versionDropdown.innerHTML="";let t=!1;for(let e=0;e<this.libraries[this.currentSelectedIndex].versions.length;e++){let i=document.createElement("option");i.value=this.libraries[this.currentSelectedIndex].versions[e].id,i.text=this.libraries[this.currentSelectedIndex].versions[e].name,this.currentSelectedVersion===i.value&&(i.selected=!0,this.libraries[this.currentSelectedIndex].versions[e].free||(t=!0)),this.versionDropdown.appendChild(i)}this.libraryPremiumCode.style.display=t?"block":"none"}importIconLibrary(){let t=new Ot({state:window.Buttonizer.getSetting("import_icon_library",!0)});t.onToggle(t=>{window.Buttonizer.saveSettings({import_icon_library:t},!1),this.reloadIframe()});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.icon_library.import_library.info");let i=new r;return i.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.icon_library.import_library.title")+"</h2>"),i.addColumn(t.build(),"","370"),i.newRow(),i.addColumnText(""),i.addColumn(e),this.buildVersionSelector(),i.build()}reloadIframe(){setTimeout(()=>{document.getElementById("buttonizer-iframe").contentWindow.location.reload()},1500)}};class qe{constructor(){this.versionDropdown={},this.currentSelected=window.Buttonizer.getSetting("google_analytics","")}build(){let t=document.createElement("div");t.appendChild(this.input());let e=document.createElement("a");return e.href="https://community.buttonizer.pro/knowledgebase/17",e.target="_blank",e.className="info-link text-big",e.innerHTML='<i class="fas fa-info"></i> '+window.Buttonizer.translate("settings_window.google_analytics.info"),e.style.marginTop="40px",e.style.textAlign="center",t.appendChild(e),t}input(){let t=document.createElement("input");t.value=this.currentSelected,t.className="window-select",t.placeholder="UA-XXXXXX-Y",t.addEventListener("change",()=>{window.Buttonizer.saveSettings({google_analytics:t.value},!1)});let e=document.createElement("div");e.innerHTML=window.Buttonizer.translate("settings_window.google_analytics.input_info");let i=new r;return i.addColumnHTML("<h2>Google Analytics</h2>"),i.addColumn(t,"","375"),i.newRow(),i.addColumnText(""),i.addColumn(e),i.build()}}class Pe{constructor(){}build(){let t=document.createElement("div"),e=document.createElement("div");return e.className="settings-window-information",e.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.info")+"</p>",t.appendChild(e),t.appendChild(this.whatWillHappen()),t.appendChild(this.why()),t.appendChild(this.myLicense()),t.appendChild(this.andThen()),t.appendChild(this.ready()),t}whatWillHappen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.what_will_happen.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.what_will_happen.info")+"</p>",t.appendChild(i),t}why(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.why.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.why.info")+"</p>",t.appendChild(i),t}myLicense(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.license.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML=`\n<p>${window.Buttonizer.translate("settings_window.reset.license.info")}</p>\n<p>\n<ul>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.buttons")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.groups")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.time_schedules")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.page_rules")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.settings")}</li>\n <li>${window.Buttonizer.translate("settings_window.reset.license.list.published")}</li>\n</ul>\n</p>\n`,t.appendChild(i),t}andThen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.default_settings.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.default_settings.info")+"</p>",t.appendChild(i),t}ready(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML=window.Buttonizer.translate("settings_window.reset.ready.title"),e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");i.className="settings-window-information",i.innerHTML="<p>"+window.Buttonizer.translate("settings_window.reset.ready.info")+"</p>",t.appendChild(i);let n=document.createElement("a");return n.className="button button-red button-centered-reset",n.innerHTML='<i class="fas fa-sync"></i> '+window.Buttonizer.translate("settings_window.reset.ready.button"),n.href="javascript:void(0)",n.addEventListener("click",()=>this.countdown()),t.appendChild(n),t}countdown(){window.Buttonizer.loader.show(window.Buttonizer.translate("loading.initializing")),setTimeout(()=>{window.Buttonizer.loader.show(window.Buttonizer.translate("loading.resetting")),this.reset()},1500)}reset(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=reset-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show(window.Buttonizer.translate("loading.finishing")),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})}error(){}}class De{constructor(){}build(){let t=document.createElement("div"),e=document.createElement("div");return e.className="settings-window-information",e.innerHTML="<p>We have fixed the migration issues in the last couple updates. \n If you lost buttons when updating to version 2.0,\n you can try migrating your old buttons again!</p>",t.appendChild(e),t.appendChild(this.whatWillHappen()),t.appendChild(this.why()),t.appendChild(this.caution()),t.appendChild(this.ready()),t}whatWillHappen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="What happens when I click the red button below?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>Buttonizer made a backup of your buttons from version 1.5.x in your database. \n When you click on the button below, it will convert that backup into buttons suitable for version 2.0.\n It will not remove the backup so that you can still revert back to version 1.5.7 if you want!</p>",t.appendChild(i),t}why(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Why would I do that?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>During the first update to version 2.0, a couple of users lost their settings or buttons!\n Since then we've fixed all the reported migration issues.\n <b>This is a chance for those who lost their buttons to try and see if they can migrate their old buttons again.</b></p>",t.appendChild(i),t}caution(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Extra! Extra!",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="\n <p>A little warning! \n This will remove your current Buttonizer version 2.0 buttons/settings. \n <b>It will not make a backup!</b></p>",t.appendChild(i),t}andThen(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Okay, sounds good. What then?",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");return i.className="settings-window-information",i.innerHTML="<p>Buttonizer will go back to the default settings and will behave like a fresh installation. That's all.</p>",t.appendChild(i),t}ready(){let t=document.createElement("div"),e=document.createElement("div");e.className="window-splitter",e.innerHTML="Okay, I'm ready!",e.style.marginBottom="20px",t.appendChild(e);let i=document.createElement("div");i.className="settings-window-information",i.innerHTML="<p>Press the red button below to re-migrate old data. There will be no more warnings.</p>",t.appendChild(i);let n=document.createElement("a");return n.className="button button-red button-centered-reset",n.innerHTML='<i class="fas fa-sync"></i> Re-migrate old data!',n.href="javascript:void(0)",n.addEventListener("click",()=>this.countdown()),t.appendChild(n),t}countdown(){window.Buttonizer.loader.show("Initializing..."),setTimeout(()=>{window.Buttonizer.loader.show("Running migration..."),this.remigrate()},1500)}remigrate(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=remigrate-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show("Finishing..."),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})}error(){}}class Fe{build(){let t=document.createElement("div");return t.appendChild(this.showWPAdminTopBarButton()),t.appendChild(this.showTooltips()),t.appendChild(this.allowRequestsFromSubdomains()),t}showWPAdminTopBarButton(){let t=new Ot({state:window.Buttonizer.getSetting("admin_top_bar_show_button","true")});t.onToggle(t=>{window.Buttonizer.saveSettings({admin_top_bar_show_button:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.admin_button.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.admin_button.info")),e.build()}showTooltips(){let t=new Ot({state:window.Buttonizer.getSetting("show_tooltips")});t.onToggle(t=>{window.Buttonizer.saveSettings({show_tooltips:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.tooltips.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.tooltips.info")),e.build()}allowRequestsFromSubdomains(){let t=new Ot({state:window.Buttonizer.getSetting("allow_subdomains","false")});t.onToggle(t=>{window.Buttonizer.saveSettings({allow_subdomains:t},!1)});let e=new r;return e.addColumnHTML("<h2>"+window.Buttonizer.translate("settings_window.other_settings.subdomain.title")+"</h2>"),e.addColumn(t.build(),"","370"),e.newRow(),e.addColumnText(""),e.addColumnText(window.Buttonizer.translate("settings_window.other_settings.subdomain.info")),e.build()}}var Re=class extends d{constructor(){super({},window.Buttonizer.translate("settings_window.title"))}render(){this.fontAwesome(),this.analytics(),this.mainSettings(),this.reset()}fontAwesome(){super.addItem(window.Buttonizer.translate("settings_window.icon_library.title"),(new He).build())}analytics(){super.addItem("Google Analytics",(new qe).build())}mainSettings(){super.addItem(window.Buttonizer.translate("settings_window.other_settings.title"),(new Fe).build())}remigrate(){super.addItem("Re-migrate",(new De).build())}reset(){super.addItem(window.Buttonizer.translate("settings_window.reset.title"),(new Pe).build())}},We=class{constructor(){this.element=null,this.itemList=null,this.searchList=null,this.searchInput=null,this.fontAwesomeStylesheet=null,this.iframeContent=null,this.mayClose(),this.build(),this.iconListener=new class{constructor(){this.icons=[],this.callback=()=>{},this.searchResultCache=[],this.loadIcons()}onReady(t){this.callback=t}getIcons(){return this.icons}search(t){if(void 0!==this.searchResultCache[t])return this.searchResultCache[t];let e=[];for(let i=0;i<this.icons.length;i++){let n=this.icons[i];(n.searchTerms.indexOf(t)>=0||n.name.indexOf(t)>=0)&&e.push(n)}return this.searchResultCache[t]=e,e}loadIcons(){this.searchResultCache=[],this.icons=[];let t=window.Buttonizer.settings.icon_library,e=window.Buttonizer.settings.icon_library_version;jQuery.ajax({url:buttonizer_admin.assets+"/icon_definitions/"+t+"."+e+".json?buttonizer-icon-cache="+window.Buttonizer.version,dataType:"json",method:"get",success:i=>{this.icons=i,console.log("Finished loading icon library '"+t+"' version "+e),this.callback()},error:()=>{console.error("Could not load icon library '"+t+"' version "+e)}})}},this.iconLibrary=new He,this.currentInput=null,this.currentInputJ=null,this.searchTimeout=setTimeout(()=>{},1),setInterval(()=>this.stayOnPlace(),100),this.firstBuild=!0,this.opened=!1}build(){let t=document.createElement("div");t.className="buttonizer-icon-selector";let e=document.createElement("div");e.className="icon-selector-searchbar";let i=document.createElement("input");i.className="icon-selector-searchbar",i.placeholder=window.Buttonizer.translate("utils.search_icons"),i.addEventListener("keyup",()=>{clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.search(i.value)},200)}),this.searchInput=i,e.appendChild(this.searchInput),t.appendChild(e);let n=document.createElement("iframe");n.height="350px",n.width="100%",n.src="about:blank",n.frameborder=0,n.addEventListener("load",()=>{n.contentDocument.querySelector("head").appendChild(window.Buttonizer.iconLibraryStylesheet);let t=document.createElement("style");t.innerText='\nbody, html {\n background-color: #f5f5f5;\n margin: 0;\n padding: 0;\n font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;\n font-size: 14px;\n}\n\n.icon-selector-list {\n border-top: 1px solid #e7e7e7;\n overflow: auto;\n text-align: center;\n}\n\n.icon-selector-list a {\n background-color: #f5f5f5;\n color: #464646;\n font-size: 19px;\n width: 16%;\n height: 50px;\n line-height: 50px;\n text-decoration: none;\n display: inline-block;\n text-align: center;\n outline: none;\n}\n\n.icon-selector-list a:hover {\n background-color: #e7e7e7;\n}\n\n.icon-selector-list a:focus {\n box-shadow: none !important;\n}\n\n.fa, .fal, .far, .fas, .fab {\n line-height: 50px !important;\n}',n.contentDocument.querySelector("head").appendChild(t),this.itemList=document.createElement("div"),this.itemList.className="icon-selector-list",n.contentDocument.body.appendChild(this.itemList),this.searchList=document.createElement("div"),this.searchList.className="icon-selector-list search-list",this.searchList.style.display="none",n.contentDocument.body.appendChild(this.searchList)}),this.iframeContent=n,t.appendChild(this.iframeContent),this.element=t,document.body.appendChild(this.element)}search(t){if(""===t)return this.searchList.style.display="none",this.itemList.style.display="block",void(this.iframeContent.height="350px");this.searchList.style.display="block",this.itemList.style.display="none";let e=this.iconListener.search(t);e.length>0?(this.searchList.innerHTML="",this.showIcons(this.searchList,e),jQuery(this.searchList).height()>350?this.iframeContent.height="350px":this.iframeContent.height=jQuery(this.searchList).height()+5+"px"):(this.iframeContent.height="50px",this.searchList.innerHTML=`<p>${window.Buttonizer.translate("utils.search_not_found")} <b>${t}</b></p>`)}rebuild(){this.itemList.innerHTML="",this.searchList.innerHTML="",this.showIcons(this.itemList,this.iconListener.getIcons())}showIcons(t,e){for(let i=0;i<e.length;i++){let n=e[i];for(let e=0;e<n.icons.length;e++){let i=document.createElement("a");i.innerHTML=`<i class="${n.icons[e].icon}"></i>`,i.href="javascript:void(0)",i.title=n.name+" ("+n.icons[e].type+")",i.addEventListener("click",()=>{if(null!==this.currentInput){if(this.currentInput.value=n.icons[e].icon,"createEvent"in document){let t=document.createEvent("HTMLEvents");t.initEvent("change",!1,!0),this.currentInput.dispatchEvent(t)}else this.currentInput.fireEvent("onchange");this.close()}}),t.appendChild(i)}}}open(t){this.currentInput=t,this.currentInputJ=jQuery(this.currentInput),this.searchInput.value="",this.searchList.style.display="none",this.itemList.style.display="block",this.element.style.display="block",setTimeout(()=>{this.searchInput.focus(),this.opened=!0,this.stayOnPlace(),setTimeout(()=>{this.element.className="buttonizer-icon-selector selector-animated",this.firstBuild&&(this.firstBuild=!1,this.rebuild())},250)},50)}mayClose(){document.querySelector("body").addEventListener("click",t=>{this.opened&&"icon-selector-searchbar"!==t.target.className&&(this.element.style.display="none",this.element.className="buttonizer-icon-selector",this.opened=!1)}),setTimeout(()=>{document.querySelector("#buttonizer-iframe").contentDocument.addEventListener("click",t=>{this.opened&&"icon-selector-searchbar"!==t.target.className&&(this.element.style.display="none",this.element.className="buttonizer-icon-selector",this.opened=!1)})},500)}close(){this.element.style.display="none",this.opened=!1}stayOnPlace(){if(this.opened){let t=this.currentInputJ.offset().top+this.currentInputJ.height()+10+"px";t!==this.element.style.top&&(this.element.style.top=t,this.element.style.left=this.currentInputJ.offset().left+"px")}}},Ue=(i(5),i(0));const Ge=i(11);class Qe{constructor(){this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.single="",this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1}build(){let t=this.intro();t.onchange(e=>this.conditions(t._currentStep,e,1)),t.start(),t.onbeforeexit(()=>this.onExit(t._currentStep,1)),t.onexit(()=>{this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,20===t._currentStep&&window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").click()})}getAmount(){return this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.amount}conditions(t,e,i){if(this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,1===i)if(0===t)window.Buttonizer.bar.settingContainer.classList.contains("hidden")||window.Buttonizer.bar.settingContainer.querySelector(".back-button").click();else if(4===t){if(!this.setupStep5){this.setupStep5=!0,document.querySelector(".options-button").addEventListener("click",()=>{null!==this.tour&&this.tour.goToStep(6)})}"backward"===this.tour._direction&&(document.querySelector(".options-window").hasAttribute("hidden")||document.querySelector(".options-window").setAttribute("hidden",""))}else if(5===t)document.querySelector(".options-window").hasAttribute("hidden")&&document.querySelector(".options-window").removeAttribute("hidden"),"backward"===this.tour._direction&&document.querySelector(".options-window").classList.remove("disabled");else if(6===t){document.querySelector(".options-window").hasAttribute("hidden")&&document.querySelector(".options-window").removeAttribute("hidden"),document.querySelector(".options-window").setAttribute("style","z-index:9999999 !important"),document.querySelector(".options-window").classList+=" disabled";let t=window.Buttonizer.topBar.optionsWindow.querySelector(".single-button");t.style.pointerEvents="all",t.style.cursor="pointer",this.setupStep7||(this.setupStep7=!0,t.addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})),"backward"===this.tour._direction&&(window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="none")}else if(7===t)document.querySelector(".options-window").removeAttribute("style","z-index:9999999 !important"),document.querySelector(".options-window").classList.remove("disabled"),window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="block",window.Buttonizer.settingsWindow.title.parentElement.parentElement.setAttribute("style","z-index:9999999 !important;pointer-events: none;"),document.querySelector(".options-window").hasAttribute("hidden")||document.querySelector(".options-window").setAttribute("hidden","");else if(8===t)window.Buttonizer.settingsWindow.title.parentElement.parentElement.removeAttribute("style","z-index:9999999 !important"),window.Buttonizer.settingsWindow.title.parentElement.parentElement.style.display="none";else if(9===t){if(!this.setupStep10){this.setupStep10=!0,window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder").querySelector(".group-style").addEventListener("click",()=>{null!==this.tour&&!1===this.setupStep11&&this.tour.nextStep()})}"backward"===this.tour._direction&&(this.setupStep11=!1,Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 50px; height: 60px; top: 67px; left: 276px;"),document.querySelector(".introjs-helperLayer").setAttribute("style","width: 50px; height: 60px; top: 67px; left: 276px;")},100),window.Buttonizer.bar.settingContainer.querySelector(".back-button").click())}else if(10===t)"forward"===this.tour._direction&&(0==this.setupStep11&&(this.setupStep11=!0,window.Buttonizer.buttonGroups[0].groupHolder.toggleStyling()),this.tour._introItems[11].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-top"),this.tour._introItems[13].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-button"),this.tour._introItems[14].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-icon"),this.tour._introItems[15].element=jQuery(".button-group-styling:visible")[0].querySelector(".style-label"),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 385px; height: 966px; top: 46px; left: -5px;")},100),window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="none");else if(12===t)1===this.amount&&("forward"===this.tour._direction?Object(Ue.setTimeout)(()=>{this.tour.nextStep()},100):"backward"===this.tour._direction&&Object(Ue.setTimeout)(()=>{this.tour.previousStep()},100));else if(15===t)"backward"===this.tour._direction&&(window.Buttonizer.buttonGroups[0].groupHolder.toggleStyling(),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 371px; height: 263px; top: 688px; left: 2px;")},100));else if(16===t||17===t||18===t||19===t){window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").addEventListener("click",()=>{null!==this.tour&&this.tour.goToStep(21)}),16===t&&(this.tour._direction="forward")&&(1===this.getAmount()&&window.Buttonizer.buttonGroups[0].groupHolder.quickMenu.querySelector(".convert-button").click(),window.Buttonizer.buttonGroups[0].groupObject.classList.contains("opened")||window.Buttonizer.buttonGroups[0].groupHolder.revealButtons(),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"width: 333px !important; height: 48px !important; left: 36px !important;"),document.querySelector(".introjs-helperLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"width: 333px !important; height: 48px !important; left: 36px !important;")},100))}else 20===t&&Object(Ue.setTimeout)(()=>{this.tour.exit()},100);else if(2===i){let e=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1];if(0===t);else if(2===t)Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"left: 276px !important;")},100);else if(2===t)"backward"===this.tour._direction&&(e.querySelector(".group-title").style.pointerEvents="all",e.querySelector(".mobile-desktop").style.pointerEvents="all");else if(3===t)(e.querySelector(".group-holder-quick-menu").style.visibility="visible")&&(e.querySelector(".group-holder-quick-menu").style.visibility="hidden",e.querySelector(".group-holder-quick-menu").style.top="45px",e.querySelector(".group-holder-quick-menu").style.opacity="0"),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style"))},100),e.querySelector(".group-title").style.pointerEvents="none",e.querySelector(".mobile-desktop").style.pointerEvents="none",this.setup2Step4||(this.setup2Step4=!0,e.querySelector(".holder-button").addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})),e.querySelector(".holder-button").style.backgroundColor="rgb(255, 255, 255)";else if(4===t){if((e.querySelector(".group-holder-quick-menu").style.visibility="hidden")&&(e.querySelector(".group-holder-quick-menu").style.visibility="visible",e.querySelector(".group-holder-quick-menu").style.top="50px",e.querySelector(".group-holder-quick-menu").style.opacity="1"),"backward"===this.tour._direction){e.querySelector(".fa-wrench").parentElement.style.pointerEvents="none",e.querySelector(".group-holder-quick-menu").style.pointerEvents="none"}else"forward"===this.tour._direction&&(e.querySelector(".group-holder-quick-menu").style.pointerEvents="none");this.amount>=8&&Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"top: 684px !important;")},100)}else if(5===t){"backward"===this.tour._direction&&(this.setup2Step7=!1,e.querySelector(".group-holder-quick-menu").style.visibility="visible",e.querySelector(".group-holder-quick-menu").style.top="50px",e.querySelector(".group-holder-quick-menu").style.opacity="1",window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"left: 36px !important;")},100)),this.amount>=8&&Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style",document.querySelector(".introjs-tooltipReferenceLayer").getAttribute("style")+"top: 692px !important;")},100),e.querySelector(".group-holder-quick-menu").setAttribute("style",e.querySelector(".group-holder-quick-menu").getAttribute("style")+"z-index: 99999999 !important;");let t=e.querySelector(".fa-wrench").parentElement;t.style.pointerEvents="all",t.style.cursor="pointer",this.setup2Step6||(this.setup2Step6=!0,e.querySelector(".fa-wrench").parentElement.addEventListener("click",()=>{null!==this.tour&&!1===this.setup2Step7&&this.tour.nextStep()}))}else 6===t?("forward"===this.tour._direction&&(0==this.setup2Step7&&(this.setup2Step7=!0,e.querySelector(".settings").click()),Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 385px; height: 966px; top: 46px; left: -5px;")},100)),e.querySelector(".group-holder-quick-menu").style.visibility="hidden",e.querySelector(".group-holder-quick-menu").style.top="45px",e.querySelector(".group-holder-quick-menu").style.opacity="0"):10===t?(e.querySelector(".settings").click(),"backward"===this.tour._direction&&Object(Ue.setTimeout)(()=>{document.querySelector(".introjs-tooltipReferenceLayer").setAttribute("style","width: 371px; height: 224px; top: 630px; left: 2px;")},100)):11===t&&(window.Buttonizer.bar.settingContainer.querySelector(".back-button").click(),this.setup2Step12||(this.setup2Step12=!0,window.Buttonizer.topBar.topBarElement.querySelector(".revert-save").addEventListener("click",()=>{null!==this.tour&&this.tour.nextStep()})))}}onExit(t,e){if(this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,1===e)(window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="none")&&(window.Buttonizer.bar.settingContainer.querySelector(".back-button").style.pointerEvents="all"),5===t?document.querySelector(".options-window").setAttribute("hidden",""):6===t?document.querySelector(".options-window").classList.remove("disabled"):7===t?window.Buttonizer.settingsWindow.title.parentElement.parentElement.removeAttribute("style","z-index:9999999 !important;pointer-events: none;"):20===t&&Object(Ue.setTimeout)(()=>{let t=this.intro2();t.onchange(e=>this.conditions(t._currentStep,e,2)),t.start(),t.onbeforeexit(()=>this.onExit(t._currentStep,2)),t.onexit(()=>{this.tour=null,this.amount=window.Buttonizer.buttonGroups[0].groupObject.querySelectorAll(".group-button").length,this.setupStep5=!1,this.setupStep6=!1,this.setupStep7=!1,this.setupStep10=!1,this.setupStep11=!1,this.setup2Step4=!1,this.setup2Step6=!1,this.setup2Step7=!1,this.setup2Step12=!1,20===t._currentStep&&window.Buttonizer.bar.groupHolder.querySelector(".create-new-button").click()})},300);else if(2===e){let e=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1];3===t&&(e.querySelector(".group-title").style.pointerEvents="all",e.querySelector(".mobile-desktop").style.pointerEvents="all"),e.querySelector(".group-holder-quick-menu").hasAttribute("style")&&e.querySelector(".group-holder-quick-menu").setAttribute("style",""),e.querySelector(".group-holder-quick-menu").classList.contains("disabled")&&e.querySelector(".group-holder-quick-menu").classList.remove("disabled"),(e.querySelector(".group-holder-quick-menu").style.pointerEvents="none")&&(e.querySelector(".group-holder-quick-menu").style.pointerEvents="all"),(e.querySelector(".group-title").style.pointerEvents="none")&&(e.querySelector(".group-title").style.pointerEvents="all"),(e.querySelector(".mobile-desktop").style.pointerEvents="none")&&(e.querySelector(".mobile-desktop").style.pointerEvents="all"),(e.querySelector(".fa-wrench").parentElement.style.pointerEvents="none")&&(e.querySelector(".fa-wrench").parentElement.style.pointerEvents="all")}}intro(){return this.tour=Ge(),this.tour.setOptions({showBullets:!1,exitOnOverlayClick:!1,skipLabel:window.Buttonizer.translate("welcome.exit_tour"),doneLabel:window.Buttonizer.translate("welcome.exit_tour"),nextLabel:window.Buttonizer.translate("common.next")+" →",prevLabel:"← "+window.Buttonizer.translate("common.previous"),scrollToElement:!0,showStepNumbers:!1,disableInteraction:!0}),this.tour.setOptions({steps:[{intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-0.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-0.description")+"<br /><br />"+window.Buttonizer.translate("welcome.tour-steps.step-0.keyboard"),position:"left",tooltipClass:"max-width"},{element:document.querySelector(".buttonizer-bar"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-1.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-1.description"),position:"left"},{element:document.querySelector(".buttonizer-frame"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-2.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-2.description"),position:"left"},{element:document.querySelector(".buttonizer-topbar"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-3.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-3.description")+`\n\n <h4 style="font-weight:400;text-align:left;padding:0 15px">\n 1. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.close")}<br>\n 2. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.revert")}<br>\n 3. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.publish")}<br>\n 4. ${window.Buttonizer.translate("welcome.tour-steps.step-3.list.general-settings")}\n </h4>`,position:"left",tooltipClass:"middle"},{element:document.querySelector(".buttonizer-topbar .options-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-4.description"),position:"left",disableInteraction:!1},{element:document.querySelector(".options-window"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-5.title")+"</b></h2><b>"+window.Buttonizer.translate("bar.menu.knowledgebase.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.knowledgebase")+"<br><b>"+window.Buttonizer.translate("bar.menu.support.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.support")+"<br><b>"+window.Buttonizer.translate("bar.menu.community.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.community")+"<br><b>"+window.Buttonizer.translate("bar.menu.account.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.account")+"<br><b>"+window.Buttonizer.translate("bar.menu.upgrade.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.upgrade")+"<br><b>"+window.Buttonizer.translate("bar.menu.affiliation.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.affiliation")+"<br><b>"+window.Buttonizer.translate("bar.menu.options.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-5.list.options"),position:"left",tooltipClass:"wider"},{element:window.Buttonizer.topBar.optionsWindow.querySelector(".single-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-6.description")+" &rarr;",position:"left",disableInteraction:!1,highlightClass:"introjs-custom-hidden"},{element:window.Buttonizer.settingsWindow.title.parentElement.parentElement.querySelector(".window-menu"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-7.title")+"</b></h2><b>"+window.Buttonizer.translate("settings_window.icon_library.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.icon-library")+"<br><b>Google Analytics:</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.google-analytics")+"<br><b>"+window.Buttonizer.translate("settings_window.reset.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-7.list.reset")+"<br>",position:"left",highlightClass:"introjs-custom-hidden",tooltipClass:"wider"},{element:window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-8.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-8.multiple_buttons")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-8.visible")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-8.position")+"<br>",position:"right",tooltipClass:"max-width"},{element:window.Buttonizer.bar.groupHolder.querySelector(".button-group-holder").querySelector(".group-style"),intro:"<b>&larr;</b> "+window.Buttonizer.translate("welcome.tour-steps.step-9.description"),position:"right",disableInteraction:!1},{element:window.Buttonizer.bar.settingContainer,intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-10.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-10.description")+"<br><br>"+window.Buttonizer.translate("welcome.tour-steps.step-10.action"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",scrollTo:!1,tooltipClass:"intojs-foff-height"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-top"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-top"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-11.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.menu_position.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-11.position")+"<br><b>"+window.Buttonizer.translate("settings.show_mobile_desktop.title")+"</b> "+window.Buttonizer.translate("welcome.tour-steps.step-11.visibility")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-menu"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-menu"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-12.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.start_opened.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.start_opened")+"<br><b>"+window.Buttonizer.translate("settings.menu_style.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.menu_style")+"<br><b>"+window.Buttonizer.translate("settings.menu_animation.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-12.animation")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-button"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-button"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-13.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.background_color.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.background_color")+"<br><b>"+window.Buttonizer.translate("settings.border_radius.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.border_radius")+"<br><b>"+window.Buttonizer.translate("settings.background_image.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-13.background_image")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-icon"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-icon"),intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.group_icon")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_or_image.title")+":</b> "+window.Buttonizer.translate("settings.icon_or_image.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("settings.icon.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-14.icon")+"<br><b>"+window.Buttonizer.translate("settings.icon_color.title")+":</b> "+window.Buttonizer.translate("settings.icon_color.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_size.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("utils.image")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_image_select.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_select.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_border_radius.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_size.description")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:1===this.getAmount()?jQuery(".button-group-styling")[1].querySelector(".style-label"):window.Buttonizer.buttonGroups[0].stylingObject.querySelector(".style-label"),intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.label")+"</b></h2><b>"+window.Buttonizer.translate("settings.label.title")+":</b> "+window.Buttonizer.translate("settings.label.description")+"<br><b>"+window.Buttonizer.translate("settings.label_desktop.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-15.label_visibility")+"<br><b>"+window.Buttonizer.translate("settings.label_color.title")+":</b> "+window.Buttonizer.translate("settings.label_color.description")+"<br><b>"+window.Buttonizer.translate("settings.font_size_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.font_size_border_radius.description")+"<br>",position:"right",disableInteraction:!1,scrollTo:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:"<h2><b>"+window.Buttonizer.translate("utils.new_button")+"</b></h2>&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-before-button.action"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg1"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg2"),position:"right",disableInteraction:!1},{element:window.Buttonizer.buttonGroups[0].groupObject.querySelector(".create-new-button"),intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg3"),position:"right",disableInteraction:!1},{position:"bottom",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"},{position:"bottom",intro:window.Buttonizer.translate("welcome.tour-steps.step-before-button.msg4"),disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"},{position:"bottom",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"introjs-custom-gone"}]}),this.tour}intro2(){this.tour=Ge(),this.tour.setOptions({showBullets:!1,exitOnOverlayClick:!1,skipLabel:window.Buttonizer.translate("welcome.exit_tour"),doneLabel:window.Buttonizer.translate("welcome.exit_tour"),nextLabel:window.Buttonizer.translate("common.next")+" →",prevLabel:"← "+window.Buttonizer.translate("common.previous"),scrollToElement:!0,showStepNumbers:!1,disableInteraction:!0});let t=window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group")[window.Buttonizer.buttonGroups[0].groupBody.querySelectorAll(".buttonizer-button-group").length-1],e=window.Buttonizer.bar.settingContainer;return this.tour.setOptions({steps:[{element:t,intro:"<h2><b>"+window.Buttonizer.translate("common.button")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-23"),position:"right"},{element:this.amount<=7?t.querySelector(".group-title"):t,intro:"<h2><b>"+window.Buttonizer.translate("settings.name.title")+"</b></h2> "+window.Buttonizer.translate("settings.name.description"),position:"bottom",scrollToElement:!1,highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".mobile-desktop"):t,intro:"<h2><b>"+window.Buttonizer.translate("settings.label_desktop.title")+"</b></h2> "+window.Buttonizer.translate("welcome.tour-steps.step-15"),position:"bottom",highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".holder-button"):t,intro:"&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-26"),position:"right",highlightClass:"introjs-custom-gone",disableInteraction:!1},{element:this.amount<=7?t.querySelector(".group-holder-quick-menu"):t,intro:'<h2><b>Menu</b></h2><p style="text-align: left;"><b>'+window.Buttonizer.translate("common.settings")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.edit_button")+"<br><b>"+window.Buttonizer.translate("utils.advanced_settings")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.advanced_settings")+"<br><b>"+window.Buttonizer.translate("utils.rename")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.rename")+"<br><b>"+window.Buttonizer.translate("utils.duplicate")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.duplicate")+"<br><b>"+window.Buttonizer.translate("utils.delete")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-27.delete")+"<br></p>",position:"right",highlightClass:"introjs-custom-gone"},{element:this.amount<=7?t.querySelector(".group-holder-quick-menu").querySelector(".settings"):t,intro:"&larr; "+window.Buttonizer.translate("welcome.tour-steps.step-28"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-hidden"},{element:window.Buttonizer.bar.settingContainer,intro:"<b><h2>"+window.Buttonizer.translate("welcome.tour-steps.step-29.title")+"</h2></b> "+window.Buttonizer.translate("welcome.tour-steps.step-29.description"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone"},{element:e.querySelectorAll(".style-top")[e.querySelectorAll(".style-top").length-1],intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-30.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.button_action.title")+":</b> "+window.Buttonizer.translate("settings.button_action.description")+"<br><b>"+window.Buttonizer.translate("settings.show_mobile_desktop.device_visibility")+":</b> "+window.Buttonizer.translate("settings.show_mobile_desktop.description"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-button")[e.querySelectorAll(".style-button").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.button_style")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.step-31.enabled")+"<br>"+window.Buttonizer.translate("welcome.tour-steps.step-31.turning_off"),position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-icon")[e.querySelectorAll(".style-icon").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.button_icon")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_or_image.title")+":</b> "+window.Buttonizer.translate("settings.icon_or_image.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("settings.icon.title")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-14.icon")+"<br><b>"+window.Buttonizer.translate("settings.icon_color.title")+":</b> "+window.Buttonizer.translate("settings.icon_color.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_size.description")+'<br><h2 style="margin: 1em 0 0 0;"><b>'+window.Buttonizer.translate("utils.image")+"</b></h2><b>"+window.Buttonizer.translate("settings.icon_image_select.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_select.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_border_radius.description")+"<br><b>"+window.Buttonizer.translate("settings.icon_image_size.title")+":</b> "+window.Buttonizer.translate("settings.icon_image_size.description")+"<br>",position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:e.querySelectorAll(".style-label")[e.querySelectorAll(".style-label").length-1],intro:"<h2><b>"+window.Buttonizer.translate("settings.setting_categories.label")+"</b></h2><b>"+window.Buttonizer.translate("settings.label.title")+":</b> "+window.Buttonizer.translate("settings.label.description")+"<br><b>"+window.Buttonizer.translate("settings.label_desktop.title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-15.label_visibility")+"<br><b>"+window.Buttonizer.translate("settings.label_color.title")+":</b> "+window.Buttonizer.translate("settings.label_color.description")+"<br><b>"+window.Buttonizer.translate("settings.font_size_border_radius.title")+":</b> "+window.Buttonizer.translate("settings.font_size_border_radius.description")+"<br>",position:"right",disableInteraction:!1,highlightClass:"introjs-custom-gone",tooltipClass:"wider"},{element:window.Buttonizer.topBar.topBarElement.querySelector(".revert-save"),intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.title")+"</b></h2><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.revert_title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-34.revert_description")+"<br><br><b>"+window.Buttonizer.translate("welcome.tour-steps.step-34.save_title")+":</b> "+window.Buttonizer.translate("welcome.tour-steps.step-34.save_description"),position:"right",disableInteraction:!0,tooltipClass:"right"},{intro:"<h2><b>"+window.Buttonizer.translate("welcome.tour-steps.final.title")+"</b></h2>"+window.Buttonizer.translate("welcome.tour-steps.final.intro")+"<br /><br />"+window.Buttonizer.translate("welcome.tour-steps.final.outro"),position:"left",tooltipClass:"max-width"}]}),this.tour}}i(12),window.bdebug=new n;String.prototype.format||(String.prototype.format=function(){var t=arguments;return this.replace(/{(\d+)}/g,function(e,i){return void 0!==t[i]?t[i]:e})}),window.Buttonizer=new class{constructor(){this.loader={},this.topBar={},this.bar={},this.assetsLink=".",this.tour=null,this.version="-",this.settings={},this.buttonGroups=[],this.savingMechanism={},this.buttonizerInitData=[],this.timeSchedule={},this.pageRule={},this.windowsZindex=9999,this.bc,this.loading=!0,this.settingsWindow={},this.iframe=null,this.iframeLoaded=!1,this.iconLibraryLoaded=!1,this.ButtonizerStartedLoading=0,this.iconSelector=null,this.iconLibraryStylesheet=null,this.previewWarning=null,this.premium=!1,this.init(!0)}set buttonChanges(t){this.loading||(this.bc=t)}get buttonChanges(){return this.bc}init(t){document.body.className+=" buttonizer-initialized",bdebug.welcomeToTheConsole(),!0===t&&bdebug.startDebugging(),bdebug.warning("Buttonizer 2.0");let e=document.createElement("link");e.rel="shortcut icon",e.href=buttonizer_admin.dir+"/favicon.ico",document.head.appendChild(e),this.loader=new Ie,this.loader.show(this.translate("loading.settings")),this.savingMechanism=new Me,bdebug.warning("Buttonizer settings loading"),this.ButtonizerStartedLoading=(new Date).getTime(),this.loadSettings()}loadSettings(){jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=ButtonizerInitializer",dataType:"json",method:"get",success:t=>{bdebug.warning("Buttonizer settings loaded: "+((new Date).getTime()-this.ButtonizerStartedLoading)/1e3+"s"),"success"===t.status?this.defineSettings(t):this.fatalErrorLoading("<b>"+t.message+"</b>","Buttonizer.loadSettings().success")},error:(t,e,i)=>{this.loader.hide(),console.log(t),this.fatalErrorLoading("<b>"+e.toUpperCase()+":</b><br />"+i,"Buttonizer.loadSettings().error")}})}fatalErrorLoading(t,e){new s({title:"Error!",content:`\n <p>Oh, that was not what I was expecting! Something went wrong while we tried to load all Buttonizer settings.</p>\n <p>Try to reload the webpage. If that did not work, send us a <a href="https://community.buttonizer.pro/" target="_blank">support request</a>.</p>\n <p>Report the following information:</p>\n <p style='color: #FF0000; display: block; border: 1px solid #FF0000; padding: 10px;'>${t}<br /><br />Function place: ${e}</p>`,onConfirm:()=>{document.location.reload()},buttons:[{text:"Reload webpage",confirm:!0}]})}fatalError(t){console.error(t);let e=document.createElement("div");e.innerHTML='<p>Oh, that was not what we were expecting! Something went wrong.</p>\n <p>Try to reload the webpage. If that did not work, send us a <a href="https://community.buttonizer.pro/" target="_blank">support request</a>.</p>';let i=document.createElement("p");i.innerHTML="Do you want to see technical details? <a href='javascript:void(0)'>Click here!</a>",e.appendChild(i);let n=document.createElement("code");n.style.overflowX="auto",n.style.whiteSpace="nowrap",n.innerText=`Error type: ${t.name}\n \n Stack trace:\n \n ${t.stack}`,n.style.display="none",e.appendChild(n),i.addEventListener("click",()=>{i.style.display="none",n.style.display="block"}),new s({title:"Error!?!?1?!1?!",content:e,buttons:[{text:"Close",confirm:!0}]})}defineSettings(t){this.settings=t.settings,this.version=t.version,this.buttonizerInitData=t,this.premium=t.premium,jt.setDefaults({onShow:()=>"true"===this.getSetting("show_tooltips","true")||!0===this.getSetting("show_tooltips")}),this.loader.show(this.translate("loading.bar")),this.topBar=new Ne(this),this.bar=new Ae(this),this.previewWarning=this.leftButtonizerWarning(),this.changes=t.changes,t.changes&&this.topBar.alertText.alert(this.translate("bar.previous_session")),this.initializeSettings(t.settings),this.initializeTimeSchedules(),this.initializePageRules(),this.loadButtonGroups(),this.loading=!1,this.settingsWindow=new Re,document.location.href.indexOf("open-settings")>=0&&this.settingsWindow.show(),this.iconSelector=new We,1!==this.buttonGroups.length||this.buttonGroups[0].singleButtonMode||this.buttonGroups[0].groupHolder.revealButtons(),this.createIframe();let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href="https://use.fontawesome.com/releases/v5.8.2/css/all.css",e.integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay",e.setAttribute("crossorigin","anonymous"),document.getElementsByTagName("head")[0].appendChild(e),window.addEventListener("message",t=>{t.isTrusted&&void 0!==t.data&&void 0!==t.data.eventType&&"buttonizer"===t.data.eventType&&("warning"===t.data.messageType?this.topBar.updateEventLogs(t.data.message):"javascript_error"===t.data.messageType?new s({title:this.translate("errors.custom_javascript.title"),content:`\n <p>${this.translate("errors.custom_javascript.message")}</p> <p><code style="display: block; padding: 15px;">${t.data.message}</code></p>\n `,buttons:[{text:this.translate("common.ok_fix"),confirm:!0}]}):"(re)loaded"===t.data.messageType&&console.log("[Buttonizer ADMIN] Buttonizer is (re)loaded! So last changes can be seen in the preview window."))},!1),document.location.href.indexOf("tour")>=0&&this.startTour()}startTour(){null===this.tour&&(this.tour=new Qe),this.tour.build()}createIframe(){let t=""===document.location.hash||"#open-settings"===document.location.hash?this.buttonizerInitData.wordpress.base:decodeURIComponent(document.location.hash.substr(1)),e=document.createElement("div");e.className="buttonizer-frame";let i=document.createElement("iframe");i.src=t+"?buttonizer-preview=1",i.id="buttonizer-iframe",i.setAttribute("frameborder","0"),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.addEventListener("load",t=>{this.iframeLoaded=!0,-1===t.target.contentWindow.location.href.indexOf("buttonizer-preview")&&-1===document.body.className.indexOf("warning-left-preview-window")&&(document.body.className+=" warning-left-preview-window",this.previewWarning.style.display="block")}),e.appendChild(i),document.body.appendChild(e),this.loader.show(this.translate("loading.website"),"site-loading"),setTimeout(()=>{this.iframeLoaded||this.loader.show(this.translate("loading.website")+"<br /><br /><small>"+this.translate("loading.website_slow")+"<br /><br /><a href='javascript:void(0)' onclick='window.Buttonizer.loader.hide()'>"+this.translate("loading.website_skip")+"</a></small>")},5e3);let n=setInterval(()=>{this.iframeLoaded&&this.iconLibraryLoaded&&(this.loader.hide(),document.body.className+=" buttonizer-loaded",clearInterval(n))})}welcome(){this.loader.hide(),new s({title:this.translate("welcome.title")+" "+this.version,content:`\n <img src="${buttonizer_admin.assets}/images/plugin-icon.png" width="100" align="left" style="margin-right: 20px; margin-bottom: 10px;" />\n <p>${this.translate("welcome.intro")}</p>\n <p>${this.translate("welcome.tour")}</p>\n `,onClose:()=>{this.saveSettings({welcome:"false"},!0)},onConfirm:()=>{this.startTour()},buttons:[{text:this.translate("welcome.already_know")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',close:!0},{text:this.translate("welcome.take_tour")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',confirm:!0}]})}updateButtonsTo2Point0(){new s({title:this.translate("migration_modal.title"),content:`\n <p>${this.translate("migration_modal.intro")}</p>\n <p>${this.translate("migration_modal.convert")}</p>\n \n <p>${this.translate("migration_modal.popping_up")}</p> \n `,onConfirm:()=>{window.Buttonizer.loader.show(this.translate("loading.running_migration")),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=migrate-buttonizer",dataType:"json",method:"post",data:{security:buttonizer_admin.security},success:t=>{"success"===t.status?(window.Buttonizer.loader.show(this.translate("loading.finishing")),setTimeout(()=>{document.location.reload()},500)):(window.Buttonizer.loader.hide(),window.Buttonizer.savingError(t.message))},error:(t,e,i)=>{window.Buttonizer.loader.hide(),window.Buttonizer.savingError(e)}})},buttons:[{text:this.translate("modal.no_thanks"),close:!0},{text:this.translate("migration_modal.convert_buttons")+' <i class="fa fa-chevron-right" style="margin-left: 10px; vertical-align: middle;" aria-hidden="true"></i>',confirm:!0}]})}leftButtonizerWarning(){let t=document.createElement("div");t.className="buttonizer-warning warning-red",t.innerHTML=this.translate("bar.preview.no_changes");let e=document.createElement("a");return e.href="javascript:void(0)",e.className="buttonizer-warning-button",e.innerText=this.translate("bar.preview.return"),e.addEventListener("click",()=>{document.body.className=document.body.className.replace("warning-left-preview-window",""),this.previewWarning.style.display="none",document.getElementById("buttonizer-iframe").setAttribute("src",window.Buttonizer.buttonizerInitData.wordpress.base+"?buttonizer-preview=true")}),t.appendChild(e),document.body.appendChild(t),t}saveSettings(t,e){e&&this.loader.show(this.translate("common.saving_settings")),Object.assign(this.settings,t),jQuery.ajax({url:buttonizer_admin.ajax+"?action=buttonizer_backend&item=SaveData&save=settings",dataType:"json",method:"post",data:{data:this.settings,security:buttonizer_admin.security},success:t=>{this.loader.hide(),"success"!==t.status&&window.Buttonizer.savingError(t.message)},error:t=>{this.loader.hide(),window.Buttonizer.savingError(t)}})}registerButton(t){}saveButtons(){console.log(this.buttons)}initializeSettings(t){"true"===t.welcome.toString()&&this.welcome(),this.settings=t,this.addIconLibrary()}addIconLibrary(){let t=!1;null===this.iconLibraryStylesheet&&(this.iconLibraryStylesheet=document.createElement("link"),this.iconLibraryStylesheet.rel="stylesheet",this.iconLibraryStylesheet.type="text/css",t=!0),"fontawesome"!==this.settings.icon_library||"5.free"!==this.settings.icon_library_version&&"5.paid"!==this.settings.icon_library_version?"fontawesome"===this.settings.icon_library&&"4.7.0"===this.settings.icon_library_version&&(this.iconLibraryStylesheet.setAttribute("integrity",""),this.iconLibraryStylesheet.href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"):("5.paid"===this.settings.icon_library_version&&""!==this.settings.icon_library_code?this.iconLibraryStylesheet.setAttribute("integrity",this.settings.icon_library_code):this.iconLibraryStylesheet.setAttribute("integrity","sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"),this.iconLibraryStylesheet.setAttribute("crossorigin","anonymous"),this.iconLibraryStylesheet.href="https://"+("5.paid"===this.settings.icon_library_version?"pro":"use")+".fontawesome.com/releases/"+this.buttonizerInitData.fontawesome_current_version+"/css/all.css"),this.iconLibraryLoaded=!0}hasPremium(){return this.premium}showPremiumPopup(t,e){new s({title:'<i class="far fa-gem window-icon"></i> '+this.translate("premium.modal.title"),content:`\n <p>${this.translate("premium.modal.describe")}</p>\n <code style="display: block; margin-bottom: 5px; padding: 10px;">${t}</code>\n <p><b>${this.translate("premium.modal.what_do_i_get")}</b></p>\n \n <ul class="buttonizer-pro-checklist">\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.time_schedules")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.page_rules")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.button_groups")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.custom_images")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.exit_intent")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.show_on_scroll")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.show_on_timeout")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.custom_class")}</li>\n <li><i class="fas fa-check"></i> ${this.translate("premium.modal.list.javascript")}</li>\n </ul>`,onConfirm:()=>{document.location.href=buttonizer_admin.admin+"?page=Buttonizer-pricing"},video:e,buttons:[{text:this.translate("modal.close"),close:!0},{text:this.translate("premium.modal.go_pro")+' <i class="fas fa-chevron-right" style="margin-left: 5px;vertical-align: middle;"></i>',confirm:!0,close:!0,focus:!0}]})}getSetting(t,e){return void 0!==this.settings[t]?this.settings[t]:e}set changes(t){this.topBar.changes=t}updateButtonGroupList(t,e){this.buttonGroups.splice(t,0,this.buttonGroups.splice(e,1)[0]),this.buttonChanges=!0}updateButtonList(t,e,i,n){this.buttonGroups[i].buttons.splice(t,0,this.buttonGroups[n].buttons.splice(e,1)[0]),this.buttonGroups[i].buttons[t].groupObject=this.buttonGroups[i],this.buttonChanges=!0,this.buttonGroups[n].buttons.length<=1&&jQuery(this.buttonGroups[n].groupBody).sortable("option","cancel",".group-button")}savingError(t){new s({title:this.translate("errors.saving.title"),content:`<p>${this.translate("errors.saving.message")}.</p><p>${t}</p>`,buttons:[{text:this.translate("modal.close"),close:!0}]})}initializeTimeSchedules(){}initializePageRules(){}loadButtonGroups(){if(void 0!==this.buttonizerInitData.groups.buttonorder&&this.updateButtonsTo2Point0(),0===this.buttonizerInitData.groups.length)return new Te({name:"Buttonizer",position:"bottomright",icon:"fa fa-plus",horizontal:5,vertical:5},[{name:window.Buttonizer.translate("utils.first_button"),show_mobile:!0,show_desktop:!0},{name:window.Buttonizer.translate("utils.second_button"),show_mobile:!0,show_desktop:!0}]),void setTimeout(()=>{this.buttonChanges=!0},1e3);new Te(this.buttonizerInitData.groups[0].data,this.buttonizerInitData.groups[0].buttons)}translate(t=""){let e=t.split(".");if(void 0===buttonizer_translations[e[0]])return console.error("Localization not found: "+t),t;let i=buttonizer_translations[e[0]];for(let n=1,o=e.length;n<o;n++){if(void 0===i[e[n]])return console.error("Localization not found: "+t),t;i=i[e[n]]}return i}__(t=""){return this.translate(t)}}},,function(t,e){}]);
assets/frontend.css CHANGED
@@ -1147,34 +1147,34 @@
1147
  top: 70px; }
1148
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1149
  top: 120px;
1150
- -moz-transition: top 0.2s 150ms;
1151
- -webkit-transition: top 0.2s 150ms;
1152
- transition: top 0.2s 150ms; }
1153
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1154
  top: 170px;
1155
- -moz-transition: top 0.2s 300ms;
1156
- -webkit-transition: top 0.2s 300ms;
1157
- transition: top 0.2s 300ms; }
1158
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1159
  top: 220px;
1160
- -moz-transition: top 0.2s 450ms;
1161
- -webkit-transition: top 0.2s 450ms;
1162
- transition: top 0.2s 450ms; }
1163
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1164
  top: 270px;
1165
- -moz-transition: top 0.2s 600ms;
1166
- -webkit-transition: top 0.2s 600ms;
1167
- transition: top 0.2s 600ms; }
1168
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1169
  top: 320px;
1170
- -moz-transition: top 0.2s 750ms;
1171
- -webkit-transition: top 0.2s 750ms;
1172
- transition: top 0.2s 750ms; }
1173
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1174
  top: 370px;
1175
- -moz-transition: top 0.2s 900ms;
1176
- -webkit-transition: top 0.2s 900ms;
1177
- transition: top 0.2s 900ms; }
1178
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list {
1179
  opacity: 1;
1180
  visibility: visible; }
@@ -1190,34 +1190,34 @@
1190
  top: 70px; }
1191
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1192
  top: 120px;
1193
- -moz-transition: top 0.2s 150ms;
1194
- -webkit-transition: top 0.2s 150ms;
1195
- transition: top 0.2s 150ms; }
1196
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1197
  top: 170px;
1198
- -moz-transition: top 0.2s 300ms;
1199
- -webkit-transition: top 0.2s 300ms;
1200
- transition: top 0.2s 300ms; }
1201
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1202
  top: 220px;
1203
- -moz-transition: top 0.2s 450ms;
1204
- -webkit-transition: top 0.2s 450ms;
1205
- transition: top 0.2s 450ms; }
1206
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1207
  top: 270px;
1208
- -moz-transition: top 0.2s 600ms;
1209
- -webkit-transition: top 0.2s 600ms;
1210
- transition: top 0.2s 600ms; }
1211
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1212
  top: 320px;
1213
- -moz-transition: top 0.2s 750ms;
1214
- -webkit-transition: top 0.2s 750ms;
1215
- transition: top 0.2s 750ms; }
1216
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1217
  top: 370px;
1218
- -moz-transition: top 0.2s 900ms;
1219
- -webkit-transition: top 0.2s 900ms;
1220
- transition: top 0.2s 900ms; }
1221
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list {
1222
  opacity: 1;
1223
  visibility: visible; }
@@ -1233,34 +1233,34 @@
1233
  top: 70px; }
1234
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1235
  top: 120px;
1236
- -moz-transition: top 0.2s 150ms;
1237
- -webkit-transition: top 0.2s 150ms;
1238
- transition: top 0.2s 150ms; }
1239
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1240
  top: 170px;
1241
- -moz-transition: top 0.2s 300ms;
1242
- -webkit-transition: top 0.2s 300ms;
1243
- transition: top 0.2s 300ms; }
1244
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1245
  top: 220px;
1246
- -moz-transition: top 0.2s 450ms;
1247
- -webkit-transition: top 0.2s 450ms;
1248
- transition: top 0.2s 450ms; }
1249
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1250
  top: 270px;
1251
- -moz-transition: top 0.2s 600ms;
1252
- -webkit-transition: top 0.2s 600ms;
1253
- transition: top 0.2s 600ms; }
1254
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1255
  top: 320px;
1256
- -moz-transition: top 0.2s 750ms;
1257
- -webkit-transition: top 0.2s 750ms;
1258
- transition: top 0.2s 750ms; }
1259
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1260
  top: 370px;
1261
- -moz-transition: top 0.2s 900ms;
1262
- -webkit-transition: top 0.2s 900ms;
1263
- transition: top 0.2s 900ms; }
1264
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list {
1265
  opacity: 1;
1266
  visibility: visible; }
@@ -1276,34 +1276,34 @@
1276
  top: 70px; }
1277
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1278
  top: 120px;
1279
- -moz-transition: top 0.2s 150ms;
1280
- -webkit-transition: top 0.2s 150ms;
1281
- transition: top 0.2s 150ms; }
1282
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1283
  top: 170px;
1284
- -moz-transition: top 0.2s 300ms;
1285
- -webkit-transition: top 0.2s 300ms;
1286
- transition: top 0.2s 300ms; }
1287
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1288
  top: 220px;
1289
- -moz-transition: top 0.2s 450ms;
1290
- -webkit-transition: top 0.2s 450ms;
1291
- transition: top 0.2s 450ms; }
1292
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1293
  top: 270px;
1294
- -moz-transition: top 0.2s 600ms;
1295
- -webkit-transition: top 0.2s 600ms;
1296
- transition: top 0.2s 600ms; }
1297
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1298
  top: 320px;
1299
- -moz-transition: top 0.2s 750ms;
1300
- -webkit-transition: top 0.2s 750ms;
1301
- transition: top 0.2s 750ms; }
1302
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1303
  top: 370px;
1304
- -moz-transition: top 0.2s 900ms;
1305
- -webkit-transition: top 0.2s 900ms;
1306
- transition: top 0.2s 900ms; }
1307
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list {
1308
  opacity: 1;
1309
  visibility: visible; }
@@ -1319,34 +1319,34 @@
1319
  bottom: 70px; }
1320
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1321
  bottom: 120px;
1322
- -moz-transition: bottom 0.2s 150ms;
1323
- -webkit-transition: bottom 0.2s 150ms;
1324
- transition: bottom 0.2s 150ms; }
1325
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1326
  bottom: 170px;
1327
- -moz-transition: bottom 0.2s 300ms;
1328
- -webkit-transition: bottom 0.2s 300ms;
1329
- transition: bottom 0.2s 300ms; }
1330
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1331
  bottom: 220px;
1332
- -moz-transition: bottom 0.2s 450ms;
1333
- -webkit-transition: bottom 0.2s 450ms;
1334
- transition: bottom 0.2s 450ms; }
1335
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1336
  bottom: 270px;
1337
- -moz-transition: bottom 0.2s 600ms;
1338
- -webkit-transition: bottom 0.2s 600ms;
1339
- transition: bottom 0.2s 600ms; }
1340
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1341
  bottom: 320px;
1342
- -moz-transition: bottom 0.2s 750ms;
1343
- -webkit-transition: bottom 0.2s 750ms;
1344
- transition: bottom 0.2s 750ms; }
1345
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1346
  bottom: 370px;
1347
- -moz-transition: bottom 0.2s 900ms;
1348
- -webkit-transition: bottom 0.2s 900ms;
1349
- transition: bottom 0.2s 900ms; }
1350
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list {
1351
  opacity: 1;
1352
  visibility: visible; }
@@ -1362,34 +1362,34 @@
1362
  bottom: 70px; }
1363
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1364
  bottom: 120px;
1365
- -moz-transition: bottom 0.2s 150ms;
1366
- -webkit-transition: bottom 0.2s 150ms;
1367
- transition: bottom 0.2s 150ms; }
1368
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1369
  bottom: 170px;
1370
- -moz-transition: bottom 0.2s 300ms;
1371
- -webkit-transition: bottom 0.2s 300ms;
1372
- transition: bottom 0.2s 300ms; }
1373
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1374
  bottom: 220px;
1375
- -moz-transition: bottom 0.2s 450ms;
1376
- -webkit-transition: bottom 0.2s 450ms;
1377
- transition: bottom 0.2s 450ms; }
1378
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1379
  bottom: 270px;
1380
- -moz-transition: bottom 0.2s 600ms;
1381
- -webkit-transition: bottom 0.2s 600ms;
1382
- transition: bottom 0.2s 600ms; }
1383
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1384
  bottom: 320px;
1385
- -moz-transition: bottom 0.2s 750ms;
1386
- -webkit-transition: bottom 0.2s 750ms;
1387
- transition: bottom 0.2s 750ms; }
1388
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1389
  bottom: 370px;
1390
- -moz-transition: bottom 0.2s 900ms;
1391
- -webkit-transition: bottom 0.2s 900ms;
1392
- transition: bottom 0.2s 900ms; }
1393
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list {
1394
  opacity: 1;
1395
  visibility: visible; }
@@ -1405,34 +1405,34 @@
1405
  bottom: 70px; }
1406
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1407
  bottom: 120px;
1408
- -moz-transition: bottom 0.2s 150ms;
1409
- -webkit-transition: bottom 0.2s 150ms;
1410
- transition: bottom 0.2s 150ms; }
1411
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1412
  bottom: 170px;
1413
- -moz-transition: bottom 0.2s 300ms;
1414
- -webkit-transition: bottom 0.2s 300ms;
1415
- transition: bottom 0.2s 300ms; }
1416
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1417
  bottom: 220px;
1418
- -moz-transition: bottom 0.2s 450ms;
1419
- -webkit-transition: bottom 0.2s 450ms;
1420
- transition: bottom 0.2s 450ms; }
1421
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1422
  bottom: 270px;
1423
- -moz-transition: bottom 0.2s 600ms;
1424
- -webkit-transition: bottom 0.2s 600ms;
1425
- transition: bottom 0.2s 600ms; }
1426
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1427
  bottom: 320px;
1428
- -moz-transition: bottom 0.2s 750ms;
1429
- -webkit-transition: bottom 0.2s 750ms;
1430
- transition: bottom 0.2s 750ms; }
1431
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1432
  bottom: 370px;
1433
- -moz-transition: bottom 0.2s 900ms;
1434
- -webkit-transition: bottom 0.2s 900ms;
1435
- transition: bottom 0.2s 900ms; }
1436
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list {
1437
  opacity: 1;
1438
  visibility: visible; }
@@ -1448,34 +1448,34 @@
1448
  bottom: 70px; }
1449
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1450
  bottom: 120px;
1451
- -moz-transition: bottom 0.2s 150ms;
1452
- -webkit-transition: bottom 0.2s 150ms;
1453
- transition: bottom 0.2s 150ms; }
1454
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1455
  bottom: 170px;
1456
- -moz-transition: bottom 0.2s 300ms;
1457
- -webkit-transition: bottom 0.2s 300ms;
1458
- transition: bottom 0.2s 300ms; }
1459
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1460
  bottom: 220px;
1461
- -moz-transition: bottom 0.2s 450ms;
1462
- -webkit-transition: bottom 0.2s 450ms;
1463
- transition: bottom 0.2s 450ms; }
1464
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1465
  bottom: 270px;
1466
- -moz-transition: bottom 0.2s 600ms;
1467
- -webkit-transition: bottom 0.2s 600ms;
1468
- transition: bottom 0.2s 600ms; }
1469
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1470
  bottom: 320px;
1471
- -moz-transition: bottom 0.2s 750ms;
1472
- -webkit-transition: bottom 0.2s 750ms;
1473
- transition: bottom 0.2s 750ms; }
1474
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1475
  bottom: 370px;
1476
- -moz-transition: bottom 0.2s 900ms;
1477
- -webkit-transition: bottom 0.2s 900ms;
1478
- transition: bottom 0.2s 900ms; }
1479
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list {
1480
  opacity: 1;
1481
  visibility: visible; }
@@ -2795,7 +2795,12 @@
2795
  transition: all 0.2s ease-in-out;
2796
  -moz-transition: all 0.2s ease-in-out;
2797
  -webkit-transition: all 0.2s ease-in-out;
2798
- -o-transition: all 0.2s ease-in-out; }
 
 
 
 
 
2799
  .buttonizer .buttonizer-button:hover {
2800
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15); }
2801
  .buttonizer .buttonizer-button i, .buttonizer .buttonizer-button img {
@@ -2826,6 +2831,26 @@
2826
  border-radius: 3px;
2827
  -moz-border-radius: 3px;
2828
  -webkit-border-radius: 3px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2829
  .buttonizer .buttonizer-button.buttonizer-head {
2830
  z-index: 9999; }
2831
  .buttonizer .buttonizer-button.buttonizer-head .buttonizer-label {
1147
  top: 70px; }
1148
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1149
  top: 120px;
1150
+ -moz-transition: top 0.2s 150ms, opacity 150ms 150ms;
1151
+ -webkit-transition: top 0.2s 150ms, opacity 150ms 150ms;
1152
+ transition: top 0.2s 150ms, opacity 150ms 150ms; }
1153
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1154
  top: 170px;
1155
+ -moz-transition: top 0.2s 300ms, opacity 150ms 300ms;
1156
+ -webkit-transition: top 0.2s 300ms, opacity 150ms 300ms;
1157
+ transition: top 0.2s 300ms, opacity 150ms 300ms; }
1158
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1159
  top: 220px;
1160
+ -moz-transition: top 0.2s 450ms, opacity 150ms 450ms;
1161
+ -webkit-transition: top 0.2s 450ms, opacity 150ms 450ms;
1162
+ transition: top 0.2s 450ms, opacity 150ms 450ms; }
1163
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1164
  top: 270px;
1165
+ -moz-transition: top 0.2s 600ms, opacity 150ms 600ms;
1166
+ -webkit-transition: top 0.2s 600ms, opacity 150ms 600ms;
1167
+ transition: top 0.2s 600ms, opacity 150ms 600ms; }
1168
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1169
  top: 320px;
1170
+ -moz-transition: top 0.2s 750ms, opacity 150ms 750ms;
1171
+ -webkit-transition: top 0.2s 750ms, opacity 150ms 750ms;
1172
+ transition: top 0.2s 750ms, opacity 150ms 750ms; }
1173
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1174
  top: 370px;
1175
+ -moz-transition: top 0.2s 900ms, opacity 150ms 900ms;
1176
+ -webkit-transition: top 0.2s 900ms, opacity 150ms 900ms;
1177
+ transition: top 0.2s 900ms, opacity 150ms 900ms; }
1178
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list {
1179
  opacity: 1;
1180
  visibility: visible; }
1190
  top: 70px; }
1191
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1192
  top: 120px;
1193
+ -moz-transition: top 0.2s 150ms, opacity 150ms 150ms;
1194
+ -webkit-transition: top 0.2s 150ms, opacity 150ms 150ms;
1195
+ transition: top 0.2s 150ms, opacity 150ms 150ms; }
1196
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1197
  top: 170px;
1198
+ -moz-transition: top 0.2s 300ms, opacity 150ms 300ms;
1199
+ -webkit-transition: top 0.2s 300ms, opacity 150ms 300ms;
1200
+ transition: top 0.2s 300ms, opacity 150ms 300ms; }
1201
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1202
  top: 220px;
1203
+ -moz-transition: top 0.2s 450ms, opacity 150ms 450ms;
1204
+ -webkit-transition: top 0.2s 450ms, opacity 150ms 450ms;
1205
+ transition: top 0.2s 450ms, opacity 150ms 450ms; }
1206
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1207
  top: 270px;
1208
+ -moz-transition: top 0.2s 600ms, opacity 150ms 600ms;
1209
+ -webkit-transition: top 0.2s 600ms, opacity 150ms 600ms;
1210
+ transition: top 0.2s 600ms, opacity 150ms 600ms; }
1211
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1212
  top: 320px;
1213
+ -moz-transition: top 0.2s 750ms, opacity 150ms 750ms;
1214
+ -webkit-transition: top 0.2s 750ms, opacity 150ms 750ms;
1215
+ transition: top 0.2s 750ms, opacity 150ms 750ms; }
1216
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1217
  top: 370px;
1218
+ -moz-transition: top 0.2s 900ms, opacity 150ms 900ms;
1219
+ -webkit-transition: top 0.2s 900ms, opacity 150ms 900ms;
1220
+ transition: top 0.2s 900ms, opacity 150ms 900ms; }
1221
  .buttonizer.buttonizer-style-building-up.top.right.opened .buttonizer-button-list {
1222
  opacity: 1;
1223
  visibility: visible; }
1233
  top: 70px; }
1234
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1235
  top: 120px;
1236
+ -moz-transition: top 0.2s 150ms, opacity 150ms 150ms;
1237
+ -webkit-transition: top 0.2s 150ms, opacity 150ms 150ms;
1238
+ transition: top 0.2s 150ms, opacity 150ms 150ms; }
1239
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1240
  top: 170px;
1241
+ -moz-transition: top 0.2s 300ms, opacity 150ms 300ms;
1242
+ -webkit-transition: top 0.2s 300ms, opacity 150ms 300ms;
1243
+ transition: top 0.2s 300ms, opacity 150ms 300ms; }
1244
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1245
  top: 220px;
1246
+ -moz-transition: top 0.2s 450ms, opacity 150ms 450ms;
1247
+ -webkit-transition: top 0.2s 450ms, opacity 150ms 450ms;
1248
+ transition: top 0.2s 450ms, opacity 150ms 450ms; }
1249
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1250
  top: 270px;
1251
+ -moz-transition: top 0.2s 600ms, opacity 150ms 600ms;
1252
+ -webkit-transition: top 0.2s 600ms, opacity 150ms 600ms;
1253
+ transition: top 0.2s 600ms, opacity 150ms 600ms; }
1254
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1255
  top: 320px;
1256
+ -moz-transition: top 0.2s 750ms, opacity 150ms 750ms;
1257
+ -webkit-transition: top 0.2s 750ms, opacity 150ms 750ms;
1258
+ transition: top 0.2s 750ms, opacity 150ms 750ms; }
1259
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1260
  top: 370px;
1261
+ -moz-transition: top 0.2s 900ms, opacity 150ms 900ms;
1262
+ -webkit-transition: top 0.2s 900ms, opacity 150ms 900ms;
1263
+ transition: top 0.2s 900ms, opacity 150ms 900ms; }
1264
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list {
1265
  opacity: 1;
1266
  visibility: visible; }
1276
  top: 70px; }
1277
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1278
  top: 120px;
1279
+ -moz-transition: top 0.2s 150ms, opacity 150ms 150ms;
1280
+ -webkit-transition: top 0.2s 150ms, opacity 150ms 150ms;
1281
+ transition: top 0.2s 150ms, opacity 150ms 150ms; }
1282
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1283
  top: 170px;
1284
+ -moz-transition: top 0.2s 300ms, opacity 150ms 300ms;
1285
+ -webkit-transition: top 0.2s 300ms, opacity 150ms 300ms;
1286
+ transition: top 0.2s 300ms, opacity 150ms 300ms; }
1287
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1288
  top: 220px;
1289
+ -moz-transition: top 0.2s 450ms, opacity 150ms 450ms;
1290
+ -webkit-transition: top 0.2s 450ms, opacity 150ms 450ms;
1291
+ transition: top 0.2s 450ms, opacity 150ms 450ms; }
1292
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1293
  top: 270px;
1294
+ -moz-transition: top 0.2s 600ms, opacity 150ms 600ms;
1295
+ -webkit-transition: top 0.2s 600ms, opacity 150ms 600ms;
1296
+ transition: top 0.2s 600ms, opacity 150ms 600ms; }
1297
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1298
  top: 320px;
1299
+ -moz-transition: top 0.2s 750ms, opacity 150ms 750ms;
1300
+ -webkit-transition: top 0.2s 750ms, opacity 150ms 750ms;
1301
+ transition: top 0.2s 750ms, opacity 150ms 750ms; }
1302
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1303
  top: 370px;
1304
+ -moz-transition: top 0.2s 900ms, opacity 150ms 900ms;
1305
+ -webkit-transition: top 0.2s 900ms, opacity 150ms 900ms;
1306
+ transition: top 0.2s 900ms, opacity 150ms 900ms; }
1307
  .buttonizer.buttonizer-style-building-up.top.left.opened .buttonizer-button-list {
1308
  opacity: 1;
1309
  visibility: visible; }
1319
  bottom: 70px; }
1320
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1321
  bottom: 120px;
1322
+ -moz-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1323
+ -webkit-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1324
+ transition: bottom 0.2s 150ms, opacity 150ms 150ms; }
1325
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1326
  bottom: 170px;
1327
+ -moz-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1328
+ -webkit-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1329
+ transition: bottom 0.2s 300ms, opacity 150ms 300ms; }
1330
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1331
  bottom: 220px;
1332
+ -moz-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1333
+ -webkit-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1334
+ transition: bottom 0.2s 450ms, opacity 150ms 450ms; }
1335
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1336
  bottom: 270px;
1337
+ -moz-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1338
+ -webkit-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1339
+ transition: bottom 0.2s 600ms, opacity 150ms 600ms; }
1340
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1341
  bottom: 320px;
1342
+ -moz-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1343
+ -webkit-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1344
+ transition: bottom 0.2s 750ms, opacity 150ms 750ms; }
1345
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1346
  bottom: 370px;
1347
+ -moz-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1348
+ -webkit-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1349
+ transition: bottom 0.2s 900ms, opacity 150ms 900ms; }
1350
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list {
1351
  opacity: 1;
1352
  visibility: visible; }
1362
  bottom: 70px; }
1363
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1364
  bottom: 120px;
1365
+ -moz-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1366
+ -webkit-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1367
+ transition: bottom 0.2s 150ms, opacity 150ms 150ms; }
1368
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1369
  bottom: 170px;
1370
+ -moz-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1371
+ -webkit-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1372
+ transition: bottom 0.2s 300ms, opacity 150ms 300ms; }
1373
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1374
  bottom: 220px;
1375
+ -moz-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1376
+ -webkit-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1377
+ transition: bottom 0.2s 450ms, opacity 150ms 450ms; }
1378
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1379
  bottom: 270px;
1380
+ -moz-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1381
+ -webkit-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1382
+ transition: bottom 0.2s 600ms, opacity 150ms 600ms; }
1383
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1384
  bottom: 320px;
1385
+ -moz-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1386
+ -webkit-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1387
+ transition: bottom 0.2s 750ms, opacity 150ms 750ms; }
1388
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1389
  bottom: 370px;
1390
+ -moz-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1391
+ -webkit-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1392
+ transition: bottom 0.2s 900ms, opacity 150ms 900ms; }
1393
  .buttonizer.buttonizer-style-building-up.bottom.right.opened .buttonizer-button-list {
1394
  opacity: 1;
1395
  visibility: visible; }
1405
  bottom: 70px; }
1406
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-2 {
1407
  bottom: 120px;
1408
+ -moz-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1409
+ -webkit-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1410
+ transition: bottom 0.2s 150ms, opacity 150ms 150ms; }
1411
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-3 {
1412
  bottom: 170px;
1413
+ -moz-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1414
+ -webkit-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1415
+ transition: bottom 0.2s 300ms, opacity 150ms 300ms; }
1416
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-4 {
1417
  bottom: 220px;
1418
+ -moz-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1419
+ -webkit-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1420
+ transition: bottom 0.2s 450ms, opacity 150ms 450ms; }
1421
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-5 {
1422
  bottom: 270px;
1423
+ -moz-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1424
+ -webkit-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1425
+ transition: bottom 0.2s 600ms, opacity 150ms 600ms; }
1426
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-6 {
1427
  bottom: 320px;
1428
+ -moz-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1429
+ -webkit-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1430
+ transition: bottom 0.2s 750ms, opacity 150ms 750ms; }
1431
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-desktop-7 {
1432
  bottom: 370px;
1433
+ -moz-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1434
+ -webkit-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1435
+ transition: bottom 0.2s 900ms, opacity 150ms 900ms; }
1436
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list {
1437
  opacity: 1;
1438
  visibility: visible; }
1448
  bottom: 70px; }
1449
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-2 {
1450
  bottom: 120px;
1451
+ -moz-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1452
+ -webkit-transition: bottom 0.2s 150ms, opacity 150ms 150ms;
1453
+ transition: bottom 0.2s 150ms, opacity 150ms 150ms; }
1454
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-3 {
1455
  bottom: 170px;
1456
+ -moz-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1457
+ -webkit-transition: bottom 0.2s 300ms, opacity 150ms 300ms;
1458
+ transition: bottom 0.2s 300ms, opacity 150ms 300ms; }
1459
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-4 {
1460
  bottom: 220px;
1461
+ -moz-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1462
+ -webkit-transition: bottom 0.2s 450ms, opacity 150ms 450ms;
1463
+ transition: bottom 0.2s 450ms, opacity 150ms 450ms; }
1464
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-5 {
1465
  bottom: 270px;
1466
+ -moz-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1467
+ -webkit-transition: bottom 0.2s 600ms, opacity 150ms 600ms;
1468
+ transition: bottom 0.2s 600ms, opacity 150ms 600ms; }
1469
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-6 {
1470
  bottom: 320px;
1471
+ -moz-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1472
+ -webkit-transition: bottom 0.2s 750ms, opacity 150ms 750ms;
1473
+ transition: bottom 0.2s 750ms, opacity 150ms 750ms; }
1474
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list .buttonizer-button.button-mobile-7 {
1475
  bottom: 370px;
1476
+ -moz-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1477
+ -webkit-transition: bottom 0.2s 900ms, opacity 150ms 900ms;
1478
+ transition: bottom 0.2s 900ms, opacity 150ms 900ms; }
1479
  .buttonizer.buttonizer-style-building-up.bottom.left.opened .buttonizer-button-list {
1480
  opacity: 1;
1481
  visibility: visible; }
2795
  transition: all 0.2s ease-in-out;
2796
  -moz-transition: all 0.2s ease-in-out;
2797
  -webkit-transition: all 0.2s ease-in-out;
2798
+ -o-transition: all 0.2s ease-in-out;
2799
+ user-select: none;
2800
+ -moz-user-select: none;
2801
+ -webkit-user-drag: none;
2802
+ -webkit-user-select: none;
2803
+ -ms-user-select: none; }
2804
  .buttonizer .buttonizer-button:hover {
2805
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15); }
2806
  .buttonizer .buttonizer-button i, .buttonizer .buttonizer-button img {
2831
  border-radius: 3px;
2832
  -moz-border-radius: 3px;
2833
  -webkit-border-radius: 3px; }
2834
+ .buttonizer .buttonizer-button .buttonizer-label.buttonizer-label-popup {
2835
+ right: -7px !important;
2836
+ pointer-events: none;
2837
+ padding: 5px 6px;
2838
+ animation: fadeOut 1.5s linear 1 normal forwards;
2839
+ -moz-animation: fadeOut 1.5s linear 1 normal forwards;
2840
+ -o-animation: fadeOut 1.5s linear 1 normal forwards;
2841
+ -webkit-animation: fadeOut 1.5s linear 1 normal forwards; }
2842
+
2843
+ @keyframes fadeOut {
2844
+ 0% {
2845
+ opacity: 0; }
2846
+ 5% {
2847
+ opacity: 1; }
2848
+ 50% {
2849
+ opacity: 1; }
2850
+ 80% {
2851
+ opacity: 0.6; }
2852
+ 100% {
2853
+ opacity: 0; } }
2854
  .buttonizer .buttonizer-button.buttonizer-head {
2855
  z-index: 9999; }
2856
  .buttonizer .buttonizer-button.buttonizer-head .buttonizer-label {
assets/frontend.js CHANGED
@@ -94,12 +94,12 @@
94
  /******/
95
  /******/
96
  /******/ // Load entry module and return exports
97
- /******/ return __webpack_require__(__webpack_require__.s = 17);
98
  /******/ })
99
  /************************************************************************/
100
  /******/ ({
101
 
102
- /***/ 14:
103
  /***/ (function(module, exports) {
104
 
105
  /**
@@ -109,7 +109,7 @@
109
 
110
  /***/ }),
111
 
112
- /***/ 15:
113
  /***/ (function(module, exports) {
114
 
115
  /**
@@ -119,7 +119,7 @@
119
 
120
  /***/ }),
121
 
122
- /***/ 17:
123
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
124
 
125
  "use strict";
@@ -240,7 +240,7 @@ class Button
240
  else if (this.data.label.label === "" && this.group.data.styling.menu.style === "rectangle") {
241
  let label = document.createElement("div");
242
  label.className = 'buttonizer-label';
243
- label.innerText = this.data.name + "'s button label";
244
  button.appendChild(label);
245
  }
246
 
@@ -261,6 +261,10 @@ class Button
261
  // Generate style for this button
262
  this.generateStyle();
263
 
 
 
 
 
264
  this.button = button;
265
 
266
  return this.button;
@@ -288,6 +292,10 @@ class Button
288
  document.location.href = `tel:${this.data.action.action}`;
289
  return;
290
  }
 
 
 
 
291
  else if (this.data.action.type === 'mail')
292
  {
293
  let mail = `mailto:${this.data.action.action}`;
@@ -310,6 +318,23 @@ class Button
310
  window.history.back();
311
  return;
312
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  else if (this.data.action.type === 'socialsharing')
314
  {
315
  if (this.data.action.action === "facebook"){
@@ -451,6 +476,18 @@ class Button
451
  else if (this.data.action.type === 'elementor_popup') {
452
  return;
453
  }
 
 
 
 
 
 
 
 
 
 
 
 
454
  else if (this.data.action.type === 'waze') {
455
  document.location.href = this.data.action.action;
456
  return;
@@ -459,6 +496,14 @@ class Button
459
  document.location.href = `weixin://dl/chat?${this.data.action.action}`;
460
  return;
461
  }
 
 
 
 
 
 
 
 
462
  else if (this.data.action.type === 'messenger_chat') {
463
  if(typeof window.Buttonizer.initializedFacebookChat !== "undefined" && document.querySelectorAll('.fb-customerchat').length > 0) {
464
  if (document.querySelector('.fb-customerchat').querySelector('iframe').style.maxHeight === '0px') {
@@ -491,13 +536,18 @@ class Button
491
  let radius;
492
 
493
  if(this.data.styling.label.size === "px") {
494
- size = "12px"
 
 
 
495
  }
496
 
497
  if(this.data.styling.label.radius === "px") {
498
- radius = "3px"
 
 
 
499
  }
500
-
501
 
502
  this.group.stylesheet += `
503
  [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {
@@ -621,6 +671,51 @@ class Button
621
  document.head.appendChild(fbMessengerScript);
622
 
623
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
624
  }
625
  // CONCATENATED MODULE: ./src/js/frontend/Group/Group.js
626
 
@@ -916,7 +1011,7 @@ class Group_Group
916
  background-color: ${this.data.styling.button.color};
917
  color: ${this.data.styling.icon.color};
918
  border-radius: ${this.data.styling.button.radius};
919
- ${this.data.styling.button.color.substr(-2) === '00' ? 'box-shadow: none;': '' }
920
  }
921
 
922
  [data-buttonizer="${this.unique}"] .buttonizer-button:hover {
@@ -936,7 +1031,7 @@ class Group_Group
936
  font-size: ${this.data.styling.icon.size};
937
  }
938
 
939
- [data-buttonizer="${this.unique}"] .buttonizer-button i:hover {
940
  color: ${this.data.styling.icon.interaction};
941
  }
942
 
@@ -1089,6 +1184,8 @@ class Group_Group
1089
  let css = `
1090
  [data-buttonizer="${this.unique}"].buttonizer-style-${style} .buttonizer-button .buttonizer-label {
1091
  min-width: ${max}px;
 
 
1092
  text-align: ${this.data.position.right <= 50 ? 'right' : 'left'};
1093
  }
1094
  `;
@@ -1102,13 +1199,13 @@ class Group_Group
1102
 
1103
  }
1104
  // EXTERNAL MODULE: ./src/sass/frontend/frontend.scss
1105
- var frontend = __webpack_require__(37);
1106
 
1107
  // EXTERNAL MODULE: ./src/js/frontend/Utils/ExitIntent.js
1108
- var ExitIntent = __webpack_require__(14);
1109
 
1110
  // EXTERNAL MODULE: ./src/js/frontend/Utils/OnScroll.js
1111
- var OnScroll = __webpack_require__(15);
1112
 
1113
  // CONCATENATED MODULE: ./src/js/frontend/Buttonizer.js
1114
 
@@ -1424,7 +1521,7 @@ window.Buttonizer = new Buttonizer_Buttonizer();
1424
 
1425
  /***/ }),
1426
 
1427
- /***/ 37:
1428
  /***/ (function(module, exports) {
1429
 
1430
  // removed by extract-text-webpack-plugin
94
  /******/
95
  /******/
96
  /******/ // Load entry module and return exports
97
+ /******/ return __webpack_require__(__webpack_require__.s = 16);
98
  /******/ })
99
  /************************************************************************/
100
  /******/ ({
101
 
102
+ /***/ 13:
103
  /***/ (function(module, exports) {
104
 
105
  /**
109
 
110
  /***/ }),
111
 
112
+ /***/ 14:
113
  /***/ (function(module, exports) {
114
 
115
  /**
119
 
120
  /***/ }),
121
 
122
+ /***/ 16:
123
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
124
 
125
  "use strict";
240
  else if (this.data.label.label === "" && this.group.data.styling.menu.style === "rectangle") {
241
  let label = document.createElement("div");
242
  label.className = 'buttonizer-label';
243
+ label.innerText = this.data.name + "'s label";
244
  button.appendChild(label);
245
  }
246
 
261
  // Generate style for this button
262
  this.generateStyle();
263
 
264
+ // if(this.data.action.type === 'page') {
265
+ // this.getPageUrl();
266
+ // }
267
+
268
  this.button = button;
269
 
270
  return this.button;
292
  document.location.href = `tel:${this.data.action.action}`;
293
  return;
294
  }
295
+ else if (this.data.action.type === 'page')
296
+ {
297
+ return;
298
+ }
299
  else if (this.data.action.type === 'mail')
300
  {
301
  let mail = `mailto:${this.data.action.action}`;
318
  window.history.back();
319
  return;
320
  }
321
+ else if (this.data.action.type === 'woocommerce')
322
+ {
323
+ let button = document.querySelector('button.single_add_to_cart_button');
324
+
325
+ if(button === null) {
326
+ console.log('No Product found');
327
+ }
328
+ else {
329
+ if(button.parentElement === document.querySelector('form.cart')) {
330
+ button.click();
331
+ }
332
+ else {
333
+ console.log('Not a product');
334
+ }
335
+ }
336
+ return;
337
+ }
338
  else if (this.data.action.type === 'socialsharing')
339
  {
340
  if (this.data.action.action === "facebook"){
476
  else if (this.data.action.type === 'elementor_popup') {
477
  return;
478
  }
479
+ else if (this.data.action.type === 'popups') {
480
+ let remove = this.data.action.action;
481
+
482
+ // is NaN
483
+ if(isNaN(remove)) {
484
+ remove = remove.replace(/\D/g, '');
485
+ }
486
+
487
+ // Show popup
488
+ window.SPU.show(remove)
489
+ return;
490
+ }
491
  else if (this.data.action.type === 'waze') {
492
  document.location.href = this.data.action.action;
493
  return;
496
  document.location.href = `weixin://dl/chat?${this.data.action.action}`;
497
  return;
498
  }
499
+ else if (this.data.action.type === 'clipboard') {
500
+ this.copyClipboard();
501
+ return;
502
+ }
503
+ else if (this.data.action.type === 'print') {
504
+ window.print()
505
+ return;
506
+ }
507
  else if (this.data.action.type === 'messenger_chat') {
508
  if(typeof window.Buttonizer.initializedFacebookChat !== "undefined" && document.querySelectorAll('.fb-customerchat').length > 0) {
509
  if (document.querySelector('.fb-customerchat').querySelector('iframe').style.maxHeight === '0px') {
536
  let radius;
537
 
538
  if(this.data.styling.label.size === "px") {
539
+ size = this.group.data.styling.label.size === "px" ? '12px' : this.group.data.styling.label.size;
540
+ }
541
+ else {
542
+ size = this.data.styling.label.size;
543
  }
544
 
545
  if(this.data.styling.label.radius === "px") {
546
+ radius = this.group.data.styling.label.radius === "px" ? '3px' : this.group.data.styling.label.radius
547
+ }
548
+ else {
549
+ radius = this.data.styling.label.radius;
550
  }
 
551
 
552
  this.group.stylesheet += `
553
  [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {
671
  document.head.appendChild(fbMessengerScript);
672
 
673
  }
674
+
675
+ copyClipboard() {
676
+ var dummy = document.createElement('input'),
677
+ text = window.location.href;
678
+
679
+ document.body.appendChild(dummy);
680
+ dummy.value = text;
681
+ dummy.select();
682
+ document.execCommand('copy');
683
+ document.body.removeChild(dummy);
684
+
685
+
686
+ let label = document.createElement("div");
687
+ label.className = 'buttonizer-label buttonizer-label-popup';
688
+ label.innerText = 'Copied!';
689
+ this.button.appendChild(label);
690
+
691
+ setTimeout(() => {
692
+ label.remove();
693
+ }, 2000);
694
+ }
695
+
696
+ // /**
697
+ // * Get page data
698
+ // */
699
+ // getPageUrl() {
700
+ // jQuery.ajax({
701
+ // url: buttonizer_ajax.ajaxurl + '?action=buttonizer_backend&item=WordpressOverview&get=' + 'pages',
702
+ // dataType: 'json',
703
+ // success: (data) => {
704
+ // jQuery.each(data.results, (i, val) => {
705
+ // if (typeof val.name !== 'undefined' && val.id === parseInt(this.data.action.action)) {
706
+ // this.button.href = val.url;
707
+
708
+ // if(this.data.action.action_new_tab === 'true') {
709
+ // this.button.target = "_blank";
710
+ // }
711
+ // }
712
+ // });
713
+ // },
714
+ // error: (err) => {
715
+ // console.log(err)
716
+ // }
717
+ // });
718
+ // }
719
  }
720
  // CONCATENATED MODULE: ./src/js/frontend/Group/Group.js
721
 
1011
  background-color: ${this.data.styling.button.color};
1012
  color: ${this.data.styling.icon.color};
1013
  border-radius: ${this.data.styling.button.radius};
1014
+ ${this.data.styling.button.color.replace(/\D/g, '').substr(-1) === '0' ? 'box-shadow: none;': '' }
1015
  }
1016
 
1017
  [data-buttonizer="${this.unique}"] .buttonizer-button:hover {
1031
  font-size: ${this.data.styling.icon.size};
1032
  }
1033
 
1034
+ [data-buttonizer="${this.unique}"] .buttonizer-button:hover i {
1035
  color: ${this.data.styling.icon.interaction};
1036
  }
1037
 
1184
  let css = `
1185
  [data-buttonizer="${this.unique}"].buttonizer-style-${style} .buttonizer-button .buttonizer-label {
1186
  min-width: ${max}px;
1187
+ max-width: ${max}px;
1188
+ overflow: hidden;
1189
  text-align: ${this.data.position.right <= 50 ? 'right' : 'left'};
1190
  }
1191
  `;
1199
 
1200
  }
1201
  // EXTERNAL MODULE: ./src/sass/frontend/frontend.scss
1202
+ var frontend = __webpack_require__(36);
1203
 
1204
  // EXTERNAL MODULE: ./src/js/frontend/Utils/ExitIntent.js
1205
+ var ExitIntent = __webpack_require__(13);
1206
 
1207
  // EXTERNAL MODULE: ./src/js/frontend/Utils/OnScroll.js
1208
+ var OnScroll = __webpack_require__(14);
1209
 
1210
  // CONCATENATED MODULE: ./src/js/frontend/Buttonizer.js
1211
 
1521
 
1522
  /***/ }),
1523
 
1524
+ /***/ 36:
1525
  /***/ (function(module, exports) {
1526
 
1527
  // removed by extract-text-webpack-plugin
assets/frontend.min.js CHANGED
@@ -10,4 +10,4 @@
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
- */!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=17)}({14:function(t,e){},15:function(t,e){},17:function(t,e,i){"use strict";i.r(e);class o{constructor(t,e){this.group=t,this.data=e,this.icon=e.icon.buttonIcon,this.show_mobile=e.device.show_mobile,this.show_desktop=e.device.show_desktop,this.style="",this.button,this.init(),this.unique="buttonizer-button-"+Array.apply(0,Array(15)).map(()=>(t=>t.charAt(Math.floor(Math.random()*t.length)))("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")).join("")}init(){}build(){let t,e=document.createElement("a");if(e.className="buttonizer-button",e.setAttribute("data-buttonizer",this.unique),"url"===this.data.action.type?(e.href=this.data.action.action,"url"===this.data.action.type&&"true"===this.data.action.action_new_tab&&(e.target="_blank")):e.href="javascript:void(0)","elementor_popup"!==this.data.action.type&&"popup_maker"!==this.data.action.type||(e.href="#"+this.data.action.action),"true"===this.show_mobile&&"false"===this.show_desktop?(this.group.mobileButtonCount++,e.className+=" button-mobile-"+this.group.mobileButtonCount+" button-hide-desktop"):"false"===this.show_mobile&&"true"===this.show_desktop?(this.group.desktopButtonCount++,e.className+=" button-desktop-"+this.group.desktopButtonCount+" button-hide-mobile"):"false"===this.show_mobile&&"false"===this.show_desktop?e.className+=" button-hide-desktop button-hide-mobile":(this.group.mobileButtonCount++,this.group.desktopButtonCount++,e.className+=" button-mobile-"+this.group.mobileButtonCount+" button-desktop-"+this.group.desktopButtonCount),"hover"===this.data.label.show_label_desktop?e.className+=" show-label-desktop-hover":"hide"===this.data.label.show_label_desktop&&(e.className+=" label-desktop-hidden"),"hide"===this.data.label.show_label_mobile&&(e.className+=" label-mobile-hidden"),"messenger_chat"===this.data.action.type&&this.addMessengerWindow(),this.data.label.label.length>0){let t=document.createElement("div");t.className="buttonizer-label",t.innerText=this.data.label.label,e.appendChild(t)}else if(""===this.data.label.label&&"rectangle"===this.group.data.styling.menu.style){let t=document.createElement("div");t.className="buttonizer-label",t.innerText=this.data.name+"'s button label",e.appendChild(t)}return(()=>{(t=document.createElement("i")).className=void 0!==typeof this.icon?this.icon:"fa fa-user",e.appendChild(t)})(),e.addEventListener("click",t=>this.onButtonClick(t)),this.generateStyle(),this.button=e,this.button}onButtonClick(t){if(window.Buttonizer.googleAnalyticsEvent({type:"button-click",groupName:this.group.data.name,buttonName:this.data.name}),"url"!==this.data.action.type)if("phone"!==this.data.action.type)if("mail"!==this.data.action.type)if("backtotop"!==this.data.action.type)if("gobackpage"!==this.data.action.type)if("socialsharing"!==this.data.action.type)if("whatsapp_pro"!==this.data.action.type&&"whatsapp"!==this.data.action.type)if("skype"!==this.data.action.type)if("messenger"!==this.data.action.type)if("sms"!==this.data.action.type)if("telegram"!==this.data.action.type)if("facebook"!==this.data.action.type)if("instagram"!==this.data.action.type)if("line"!==this.data.action.type)if("twitter"!==this.data.action.type)if("twitter_dm"!==this.data.action.type)"snapchat"!==this.data.action.type?"linkedin"!==this.data.action.type?"viber"!==this.data.action.type?"vk"!==this.data.action.type?"poptin"!==this.data.action.type?"popup_maker"!==this.data.action.type&&"elementor_popup"!==this.data.action.type&&("waze"!==this.data.action.type?"wechat"!==this.data.action.type?"messenger_chat"!==this.data.action.type?console.error("Buttonizer: Error! Unknown button action!"):void 0!==window.Buttonizer.initializedFacebookChat&&document.querySelectorAll(".fb-customerchat").length>0?"0px"===document.querySelector(".fb-customerchat").querySelector("iframe").style.maxHeight?FB.CustomerChat.showDialog():"100%"===document.querySelector(".fb-customerchat").querySelector("iframe").style.maxHeight&&FB.CustomerChat.hideDialog():window.Buttonizer.previewInitialized?window.Buttonizer.messageButtonizerAdminEditor("warning","Facebook Messenger button is not found, it may be blocked or this domain is not allowed to load the Facebook widget."):alert("Sorry, we were unable to open Facebook Messenger! Check the console for more information."):document.location.href=`weixin://dl/chat?${this.data.action.action}`:document.location.href=this.data.action.action):document.location.href=this.data.action.action:window.open(`https://vk.me/${this.data.action.action}`):document.location.href=`viber://add?number=${this.data.action.action}`:window.open(`https://www.linkedin.com/${this.data.action.action}`):window.open(`https://www.snapchat.com/add/${this.data.action.action}`);else{let t=`https://twitter.com/messages/compose?recipient_id=${this.data.action.action}`;window.open(t)}else window.open(`https://twitter.com/${this.data.action.action}`);else window.open(`https://line.me/R/ti/p/${this.data.action.action}`);else window.open(`https://www.instagram.com/${this.data.action.action}`);else window.open(`https://www.facebook.com/${this.data.action.action}`);else window.open(`https://telegram.me/${this.data.action.action}`);else{let t=`sms:${this.data.action.action}`;document.location.href=t}else window.open(this.data.action.action);else document.location.href=`skype:${this.data.action.action}?chat`;else{let t=`https://api.whatsapp.com/send?phone=${this.data.action.action}`;window.open(t)}else{if("facebook"===this.data.action.action)return window.open("http://www.facebook.com/sharer.php?u="+document.location.href+"&t="+document.title,"popupFacebook","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("twitter"===this.data.action.action)return window.open("https://twitter.com/intent/tweet?text="+encodeURI(document.title)+" Hey! Check out this link:&url="+document.location.href,"popupTwitter","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("whatsapp"===this.data.action.action)window.open("https://api.whatsapp.com/send?text="+encodeURI(document.title+" Hey! Check out this link:"+document.location.href));else{if("linkedin"===this.data.action.action)return window.open("http://www.linkedin.com/shareArticle?mini=true&url="+document.location.href+"&title="+encodeURI(document.title)+"&summary="+encodeURI(document.title),"popupLinkedIn","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("pinterest"===this.data.action.action)return window.open("http://www.pinterest.com/pin/create/button/?url=/node"+document.location.href+"&description="+encodeURI(document.title),"popupTwitter","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("mail"===this.data.action.action)window.location.href="mailto:?subject="+document.title+"&body= Hey! Check out this link: "+document.location.href;else{if("reddit"===this.data.action.action){let t=`https://www.reddit.com/submit?url=${encodeURI("Hey! Check out this link: "+document.location.href)}&title=${encodeURI(document.title)}`;return window.open(t),!1}if("tumblr"===this.data.action.action)return window.open(`https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=${encodeURI(document.location.href)}&posttype=link`),!1;if("digg"===this.data.action.action)return window.open(`http://digg.com/submit?url=${encodeURI(document.location.href)}`),!1;if("weibo"===this.data.action.action)return window.open(`http://service.weibo.com/share/share.php?url=${encodeURI(document.location.href)}&title=${encodeURI(document.title)}&pic=https://plus.google.com/_/favicon?domain=${document.location.origin}`),!1;if("vk"===this.data.action.action)return window.open(`https://vk.com/share.php?url=${encodeURI(document.location.href)}&title=${encodeURI(document.title)}&comment=Hey%20Check%20this%20out!`),!1;if("ok"===this.data.action.action)return window.open(`https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=${encodeURI(document.location.href)}`),!1;if("xing"===this.data.action.action)return window.open(`https://www.xing.com/spi/shares/new?url=${encodeURI(document.location.href)}`),!1;if("blogger"===this.data.action.action)return window.open(`https://www.blogger.com/blog-this.g?u=${encodeURI(document.location.href)}&n=${encodeURI(document.title)}&t=Check%20this%20out!`),!1;if("flipboard"===this.data.action.action)return window.open(`https://share.flipboard.com/bookmarklet/popout?v=2&title=${encodeURI(document.title)}&url=${encodeURI(document.location.href)}`),!1;if("sms"===this.data.action.action)return window.open(`sms:?body=${encodeURI(document.title+"Hey! Check out this link: "+document.location.href)}`),!1}}}else window.history.back();else jQuery("html, body").animate({scrollTop:0},750);else{let t=`mailto:${this.data.action.action}`;document.location.href=t}else document.location.href=`tel:${this.data.action.action}`}generateStyle(){if("12px"!==this.data.styling.label.size||"3px"!==this.data.styling.label.radius){let t,e;"px"===this.data.styling.label.size&&(t="12px"),"px"===this.data.styling.label.radius&&(e="3px"),this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {\n font-size: ${t};\n border-radius: ${e};\n -moz-border-radius: ${e};\n -webkit-border-radius: ${e};\n }\n `}if(this.data.styling.button){let t="";"%"!==this.data.styling.button.radius?t+=`\n border-radius: ${this.data.styling.button.radius};\n `:t+="\n border-radius: 50%;\n ",this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] {\n background-color: ${this.data.styling.button.color};\n ${"00"===this.data.styling.button.color.substr(-2)?"box-shadow: none;":""};\n ${t}\n }\n \n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"]:hover {\n background-color: ${this.data.styling.button.interaction}\n }\n \n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {\n background-color: ${this.data.styling.label.background};\n color: ${this.data.styling.label.text} !important;\n }`}this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] i {\n color: ${this.data.styling.icon.color};\n font-size: ${this.data.styling.icon.size};\n\n transition: all 0.2s ease-in-out;\n -moz-transition: all 0.2s ease-in-out;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n }\n\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"]:hover i{\n color: ${this.data.styling.icon.interaction};\n\n transition: all 0.2s ease-in-out;\n -moz-transition: all 0.2s ease-in-out;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n }\n `,this.data.styling.button&&(this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"].attention-animation-true.buttonizer-animation-pulse.buttonizer-desktop-has-1.buttonizer-mobile-has-1 [data-buttonizer="${this.unique}"]:before, \n [data-buttonizer="${this.group.unique}"].attention-animation-true.buttonizer-animation-pulse.buttonizer-desktop-has-1.buttonizer-mobile-has-1 [data-buttonizer="${this.unique}"]:after {\n background-color: ${this.data.styling.button.color};\n }\n `)}destroy(){this.button.remove(),this.group.removeButton(this),this.group=null,this.data=null,this.button=null}addMessengerWindow(){if(void 0!==window.Buttonizer.initializedFacebookChat)return;window.Buttonizer.initializedFacebookChat=""===this.data.action.action?void 0:this.data.action.action,window.fbAsyncInit=function(){FB.init({xfbml:!0,version:"v3.3"})};let t=document.createElement("script");t.innerHTML="\n (function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));",document.head.appendChild(t)}}class n{constructor(t,e){this.data=t,this.groupIndex=e,this.buttons=[],this.isBuild=!1,this.opened=!1,this.usesExitIntent=!1,this.exitIntentExecuted=!1,this.usesOnSroll=!1,this.show_mobile=this.data.device.show_mobile,this.show_desktop=this.data.device.show_desktop,this.single_button_mode=this.data.single_button_mode,this.element=null,this.groupStyle=this.data.styling.menu.style,this.groupAnimation=this.data.styling.menu.animation,this.stylesheet="",this.mobileButtonCount=0,this.desktopButtonCount=0,this.unique="buttonizer-"+Array.apply(0,Array(15)).map(function(){return(t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789").charAt(Math.floor(Math.random()*t.length));var t}).join(""),this.init()}init(){for(let t=0;t<this.data.buttons.length;t++){let e=new o(this,this.data.buttons[t]);this.buttons.push(e)}this.build(),this.animate()}build(){if(!0===this.isBuild||0===this.buttons.length)return void console.error("Buttonizer: Cannot create group: No buttons or already build");"fade-left-to-right"===this.groupStyle&&(this.groupStyle="faded");let t=document.createElement("div");if(t.className=`buttonizer buttonizer-group buttonizer-style-${this.groupStyle} buttonizer-animation-${this.groupAnimation} ${this.data.position.bottom<=50?"bottom":"top"} ${this.data.position.right<=50?"right":"left"}`,t.setAttribute("data-buttonizer",this.unique),"true"===this.show_mobile&&"false"===this.show_desktop?t.className+=" button-mobile-only":"false"===this.show_mobile&&"true"===this.show_desktop?t.className+=" button-desktop-only":"false"===this.show_mobile&&"false"===this.show_desktop&&(t.className+=" button-hide"),this.buttons.length>1){t.classList.add("buttonizer-is-menu"),"true"===this.data.openedByDefault&&(document.cookie.match("buttonizer_open=")?document.cookie.match("buttonizer_open=closed")||document.cookie.match("buttonizer_open=opened")&&(t.classList.add("opened"),this.opened=!0):(setTimeout(function(){t.classList.add("opened")},100),this.opened=!this.opened)),"1"===buttonizer_ajax.in_preview&&document.cookie.match("buttonizer_preview_"+this.groupIndex+"=opened")&&(this.opened=!0,t.classList.add("opened")),"square"!==this.data.styling.menu.style&&"rectangle"!==this.data.styling.menu.style||t.classList.add("opened");let e=document.createElement("div");e.className="buttonizer-button-list";let i=document.createElement("a");i.href="javascript:void(0)",i.className="buttonizer-button buttonizer-head","hover"===this.data.label.show_label_desktop?i.className+=" show-label-desktop-hover":"hide"===this.data.label.show_label_desktop&&(i.className+=" label-desktop-hidden"),"hide"===this.data.label.show_label_mobile&&(i.className+=" label-mobile-hidden");let o,n=`<div class="buttonizer-label">${this.data.label.groupLabel}</div>`;o=`<i class="${void 0!==typeof this.data.icon.groupIcon?this.data.icon.groupIcon:"fa fa-plus"}"></i>`,this.data.label.groupLabel.length<=0?i.innerHTML=o:i.innerHTML=n+o,i.addEventListener("click",t=>this.toggleMenu(t)),t.appendChild(e),t.appendChild(i);for(let i=0;i<this.buttons.length;i++){if("messenger_chat"===this.buttons[i].data.action.type){let e=document.createElement("div");e.className=`fb-customerchat buttonizer-facebook-messenger-overwrite-${this.unique}`,e.setAttribute("page-id",`${this.buttons[i].data.action.action}`),e.setAttribute("greeting_dialog_display","hide"),t.appendChild(e)}e.appendChild(this.buttons[i].build())}}else t.appendChild(this.buttons[0].build());t.className+=` buttonizer-desktop-has-${this.desktopButtonCount} buttonizer-mobile-has-${this.mobileButtonCount}`,this.element=t,document.body.appendChild(this.element),this.isBuild=!0,this.writeCSS(),"rectangle"===this.data.styling.menu.style&&this.maxLabelWidth(t,"rectangle")}toggleMenu(t){t.preventDefault(),window.Buttonizer.googleAnalyticsEvent({type:"group-open-close",name:this.data.name,interaction:this.opened?"close":"open"}),this.opened?this.element.classList.remove("opened"):this.element.classList.add("opened"),this.opened=!this.opened,"true"===this.data.openedByDefault&&(document.cookie.match("buttonizer_open=")?document.cookie.match("buttonizer_open=closed")?document.cookie="buttonizer_open=opened":document.cookie.match("buttonizer_open=opened")&&(document.cookie="buttonizer_open=closed"):document.cookie="buttonizer_open=closed"),"1"===buttonizer_ajax.in_preview&&this.togglePreviewOpened()}togglePreviewOpened(){this.opened?document.cookie="buttonizer_preview_"+this.groupIndex+"=opened":document.cookie="buttonizer_preview_"+this.groupIndex+"=closed"}writeCSS(){let t=document.createElement("style");t.id=this.unique;let e=` \n [data-buttonizer="${this.unique}"] {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?this.data.position.right:100-this.data.position.right}%;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?this.data.position.bottom:100-this.data.position.bottom}%;\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button {\n background-color: ${this.data.styling.button.color};\n color: ${this.data.styling.icon.color};\n border-radius: ${this.data.styling.button.radius};\n ${"00"===this.data.styling.button.color.substr(-2)?"box-shadow: none;":""}\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button:hover {\n background-color: ${this.data.styling.button.interaction};\n color: ${this.data.styling.icon.color}\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button .buttonizer-label {\n background-color: ${this.data.styling.label.background};\n color: ${this.data.styling.label.text};\n font-size: ${this.data.styling.label.size};\n border-radius: ${this.data.styling.label.radius};\n }\n\n [data-buttonizer="${this.unique}"] .buttonizer-button i {\n color: ${this.data.styling.icon.color};\n font-size: ${this.data.styling.icon.size};\n }\n\n [data-buttonizer="${this.unique}"] .buttonizer-button i:hover {\n color: ${this.data.styling.icon.interaction};\n }\n \n [data-buttonizer="${this.unique}"].attention-animation-true.buttonizer-animation-pulse .buttonizer-head:before, \n [data-buttonizer="${this.unique}"].attention-animation-true.buttonizer-animation-pulse .buttonizer-head:after {\n background-color: ${this.data.styling.button.color};\n }\n `;void 0!==window.Buttonizer.initializedFacebookChat&&(e+=`\n .fb_dialog {\n display: none !important;\n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span iframe {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?+this.data.position.right-1:100-this.data.position.right-1}% !important;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?+this.data.position.bottom+4:100-this.data.position.bottom+6}% !important;\n }\n\n @media screen and (max-width: 769px){\n .buttonizer-facebook-messenger-overwrite-${this.unique} span iframe {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?+this.data.position.right-5:100-this.data.position.right-1}% !important;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?+this.data.position.bottom+4:100-this.data.position.bottom+7}% !important;\n \n }\n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span .fb_customer_chat_bounce_in_v2 {\n animation-duration: 300ms;\n animation-name: fb_bounce_in_v3 !important;\n transition-timing-function: ease-in-out; \n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span .fb_customer_chat_bounce_out_v2 {\n max-height: 0px !important;\n }\n\n @keyframes fb_bounce_in_v3 {\n 0% {\n opacity: 0;\n transform: scale(0, 0);\n transform-origin: bottom;\n }\n 50% {\n transform: scale(1.03, 1.03);\n transform-origin: bottom;\n }\n 100% {\n opacity: 1;\n transform: scale(1, 1);\n transform-origin: bottom;\n }\n }\n `),e+=this.stylesheet,t.innerHTML=e,document.head.appendChild(t)}animate(){null!==this.element&&"none"!==this.groupAnimation&&(this.element.classList.contains("opened")||(this.element.classList.add("attention-animation-true"),setTimeout(()=>{null!==this.element&&this.element.classList.remove("attention-animation-true")},2e3)),setTimeout(()=>this.animate(),1e4))}destroy(){for(let t=0;t<this.buttons.length;t++)this.buttons[t].destroy();this.element.remove(),this.element=null,document.getElementById(this.unique).remove(),window.Buttonizer.destroyGroup(this)}removeButton(t){let e=this.buttons.indexOf(t);e>=0&&this.buttons.splice(e,1)}maxLabelWidth(t,e){let i=[];for(let e of t.querySelectorAll(".buttonizer-label"))i.push(e.offsetWidth);let o=Math.max(...i),n=`\n [data-buttonizer="${this.unique}"].buttonizer-style-${e} .buttonizer-button .buttonizer-label {\n min-width: ${o}px;\n text-align: ${this.data.position.right<=50?"right":"left"};\n }\n `;document.getElementById(this.unique).innerHTML+=n}}i(37),i(14),i(15);window.Buttonizer=new class{constructor(){if(this.getSettings(),this.firstTimeInitialize=!0,this.write=HTMLElement,this.previewInitialized=!1,this.settingsLoading=!1,this.isInPreviewContainer=!1,this.premium=!1,this.groups=[],this.exitIntent=null,this.onscroll=null,this.settings={ga:null},buttonizer_ajax.in_preview){let t=document.createElement("style");t.innerHTML="html { margin-top: 0 !important; }",window.document.head.appendChild(t)}}getSettings(){buttonizer_ajax.current.url=document.location.href,this.settingsLoading=!0,jQuery.ajax({url:buttonizer_ajax.ajaxurl+"?action=buttonizer",dataType:"json",data:{qpu:buttonizer_ajax.is_admin?Date.now():buttonizer_ajax.cache,preview:buttonizer_ajax.in_preview?1:0,data:buttonizer_ajax.current},method:"get",success:t=>{"success"===t.status?this.init(t):console.error("Buttonizer: Something went wrong! Buttonizer not loaded",t)},error:t=>{this.settingsLoading=!1,console.error("Buttonizer: OH NO! ERROR: '"+t.statusText+"'. That's all we know... Please check your PHP logs or contact Buttonizer support if you need help."),console.error("Buttonizer: Visit our community on https://community.buttonizer.pro/")}})}init(t){buttonizer_ajax.in_preview&&!this.previewInitialized&&(this.isInPreviewContainer=!0,this.listenToPreview()),t.result.length>0?(""===this.getCookie("buttonizer-first-visit")&&(document.cookie="buttonizer-first-visit="+(new Date).getTime()),(()=>{this.groups.push(new n(t.result[0],0))})(),this.firstTimeInitialize&&this.buttonizerInitialized()):console.log("Buttonizer: No groups/buttons to display"),buttonizer_ajax.in_preview&&this.previewInitialized&&(this.messageButtonizerAdminEditor("(re)loaded",!0),this.messageButtonizerAdminEditor("warning",t.warning)),this.settingsLoading=!1}messageButtonizerAdminEditor(t,e){try{window.parent.postMessage({eventType:"buttonizer",messageType:t,message:e},document.location.origin)}catch(t){console.log("Buttonizer tried to warn you in the front-end editor. But the message didn't came through. Well. Doesn't matter, it's just an extra function. It's nice to have."),console.log(t)}}listenToPreview(){this.previewInitialized=!0,window.addEventListener("message",t=>{t.isTrusted&&void 0!==t.data.eventType&&"buttonizer"===t.data.eventType&&(console.log("[Buttonizer] Buttonizer preview - Data received:",t.data.messageType),buttonizer_ajax.in_preview&&"preview-reload"===t.data.messageType&&this.reload())},!1)}reload(){if(this.settingsLoading)return console.log("[Buttonizer] Request too quick, first finish the previous one"),void setTimeout(()=>this.reload(),100);console.log("[Buttonizer] Reloading Buttonizer"),this.settingsLoading=!0;for(let t=0;t<this.groups.length;t++)this.groups[t].destroy();let t=document.querySelectorAll(".buttonizer-group");for(let e=0;e<t.length;e++)t[e].remove();setTimeout(()=>{this.groups=[],this.getSettings()},50)}googleAnalyticsEvent(t){if("function"==typeof ga||"function"==typeof gtag||"object"==typeof window.dataLayer&&"function"==typeof window.dataLayer.push){let e={};if("group-open-close"===t.type?(e.groupName=t.name,e.action=t.interaction):"button-click"===t.type&&(e.groupName=t.groupName,e.action="Clicked button: "+t.buttonName),"gtag"in window&&"function"==typeof gtag)gtag("event","Buttonizer",{event_category:"Buttonizer group: "+e.groupName,event_action:e.action,event_label:document.title,page_url:document.location.href});else if("ga"in window)try{let t=ga.getAll()[0];if(!t)throw"No tracker found";t.send("event","Buttonizer group: "+e.groupName,e.action,document.title)}catch(t){console.error("Buttonizer Google Analytics: Last try to push to Google Analytics."),console.error("What does this mean?","https://community.buttonizer.pro/knowledgebase/17"),ga("send","event",{eventCategory:"Buttonizer group: "+e.groupName,eventAction:e.action,eventLabel:document.title})}else console.error("Buttonizer Google Analytics: Unable to push data to Google Analytics"),console.error("What does this mean?","https://community.buttonizer.pro/knowledgebase/17")}}getCookie(t){for(var e=t+"=",i=decodeURIComponent(document.cookie).split(";"),o=0;o<i.length;o++){for(var n=i[o];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}destroyGroup(t){let e=this.groups.indexOf(t);e>=0&&this.groups.splice(e,1)}hasPremium(){return this.premium}buttonizerInitialized(){this.firstTimeInitialize&&("function"==typeof window.buttonizerInitialized&&window.buttonizerInitialized(),this.firstTimeInitialize=!1)}inPreview(){return this.isInPreviewContainer}}},37:function(t,e){}});
10
  *
11
  * (C) 2017-2019 Buttonizer
12
  *
13
+ */!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=16)}({13:function(t,e){},14:function(t,e){},16:function(t,e,i){"use strict";i.r(e);class o{constructor(t,e){this.group=t,this.data=e,this.icon=e.icon.buttonIcon,this.show_mobile=e.device.show_mobile,this.show_desktop=e.device.show_desktop,this.style="",this.button,this.init(),this.unique="buttonizer-button-"+Array.apply(0,Array(15)).map(()=>(t=>t.charAt(Math.floor(Math.random()*t.length)))("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")).join("")}init(){}build(){let t,e=document.createElement("a");if(e.className="buttonizer-button",e.setAttribute("data-buttonizer",this.unique),"url"===this.data.action.type?(e.href=this.data.action.action,"url"===this.data.action.type&&"true"===this.data.action.action_new_tab&&(e.target="_blank")):e.href="javascript:void(0)","elementor_popup"!==this.data.action.type&&"popup_maker"!==this.data.action.type||(e.href="#"+this.data.action.action),"true"===this.show_mobile&&"false"===this.show_desktop?(this.group.mobileButtonCount++,e.className+=" button-mobile-"+this.group.mobileButtonCount+" button-hide-desktop"):"false"===this.show_mobile&&"true"===this.show_desktop?(this.group.desktopButtonCount++,e.className+=" button-desktop-"+this.group.desktopButtonCount+" button-hide-mobile"):"false"===this.show_mobile&&"false"===this.show_desktop?e.className+=" button-hide-desktop button-hide-mobile":(this.group.mobileButtonCount++,this.group.desktopButtonCount++,e.className+=" button-mobile-"+this.group.mobileButtonCount+" button-desktop-"+this.group.desktopButtonCount),"hover"===this.data.label.show_label_desktop?e.className+=" show-label-desktop-hover":"hide"===this.data.label.show_label_desktop&&(e.className+=" label-desktop-hidden"),"hide"===this.data.label.show_label_mobile&&(e.className+=" label-mobile-hidden"),"messenger_chat"===this.data.action.type&&this.addMessengerWindow(),this.data.label.label.length>0){let t=document.createElement("div");t.className="buttonizer-label",t.innerText=this.data.label.label,e.appendChild(t)}else if(""===this.data.label.label&&"rectangle"===this.group.data.styling.menu.style){let t=document.createElement("div");t.className="buttonizer-label",t.innerText=this.data.name+"'s label",e.appendChild(t)}return(()=>{(t=document.createElement("i")).className=void 0!==typeof this.icon?this.icon:"fa fa-user",e.appendChild(t)})(),e.addEventListener("click",t=>this.onButtonClick(t)),this.generateStyle(),this.button=e,this.button}onButtonClick(t){if(window.Buttonizer.googleAnalyticsEvent({type:"button-click",groupName:this.group.data.name,buttonName:this.data.name}),"url"!==this.data.action.type)if("phone"!==this.data.action.type){if("page"!==this.data.action.type)if("mail"!==this.data.action.type)if("backtotop"!==this.data.action.type)if("gobackpage"!==this.data.action.type)if("woocommerce"!==this.data.action.type)if("socialsharing"!==this.data.action.type)if("whatsapp_pro"!==this.data.action.type&&"whatsapp"!==this.data.action.type)if("skype"!==this.data.action.type)if("messenger"!==this.data.action.type)if("sms"!==this.data.action.type)if("telegram"!==this.data.action.type)if("facebook"!==this.data.action.type)if("instagram"!==this.data.action.type)if("line"!==this.data.action.type)if("twitter"!==this.data.action.type)if("twitter_dm"!==this.data.action.type)if("snapchat"!==this.data.action.type)if("linkedin"!==this.data.action.type)if("viber"!==this.data.action.type)if("vk"!==this.data.action.type)if("poptin"!==this.data.action.type){if("popup_maker"!==this.data.action.type&&"elementor_popup"!==this.data.action.type){if("popups"===this.data.action.type){let t=this.data.action.action;return isNaN(t)&&(t=t.replace(/\D/g,"")),void window.SPU.show(t)}"waze"!==this.data.action.type?"wechat"!==this.data.action.type?"clipboard"!==this.data.action.type?"print"!==this.data.action.type?"messenger_chat"!==this.data.action.type?console.error("Buttonizer: Error! Unknown button action!"):void 0!==window.Buttonizer.initializedFacebookChat&&document.querySelectorAll(".fb-customerchat").length>0?"0px"===document.querySelector(".fb-customerchat").querySelector("iframe").style.maxHeight?FB.CustomerChat.showDialog():"100%"===document.querySelector(".fb-customerchat").querySelector("iframe").style.maxHeight&&FB.CustomerChat.hideDialog():window.Buttonizer.previewInitialized?window.Buttonizer.messageButtonizerAdminEditor("warning","Facebook Messenger button is not found, it may be blocked or this domain is not allowed to load the Facebook widget."):alert("Sorry, we were unable to open Facebook Messenger! Check the console for more information."):window.print():this.copyClipboard():document.location.href=`weixin://dl/chat?${this.data.action.action}`:document.location.href=this.data.action.action}}else document.location.href=this.data.action.action;else window.open(`https://vk.me/${this.data.action.action}`);else document.location.href=`viber://add?number=${this.data.action.action}`;else window.open(`https://www.linkedin.com/${this.data.action.action}`);else window.open(`https://www.snapchat.com/add/${this.data.action.action}`);else{let t=`https://twitter.com/messages/compose?recipient_id=${this.data.action.action}`;window.open(t)}else window.open(`https://twitter.com/${this.data.action.action}`);else window.open(`https://line.me/R/ti/p/${this.data.action.action}`);else window.open(`https://www.instagram.com/${this.data.action.action}`);else window.open(`https://www.facebook.com/${this.data.action.action}`);else window.open(`https://telegram.me/${this.data.action.action}`);else{let t=`sms:${this.data.action.action}`;document.location.href=t}else window.open(this.data.action.action);else document.location.href=`skype:${this.data.action.action}?chat`;else{let t=`https://api.whatsapp.com/send?phone=${this.data.action.action}`;window.open(t)}else{if("facebook"===this.data.action.action)return window.open("http://www.facebook.com/sharer.php?u="+document.location.href+"&t="+document.title,"popupFacebook","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("twitter"===this.data.action.action)return window.open("https://twitter.com/intent/tweet?text="+encodeURI(document.title)+" Hey! Check out this link:&url="+document.location.href,"popupTwitter","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("whatsapp"===this.data.action.action)window.open("https://api.whatsapp.com/send?text="+encodeURI(document.title+" Hey! Check out this link:"+document.location.href));else{if("linkedin"===this.data.action.action)return window.open("http://www.linkedin.com/shareArticle?mini=true&url="+document.location.href+"&title="+encodeURI(document.title)+"&summary="+encodeURI(document.title),"popupLinkedIn","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("pinterest"===this.data.action.action)return window.open("http://www.pinterest.com/pin/create/button/?url=/node"+document.location.href+"&description="+encodeURI(document.title),"popupTwitter","width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0"),!1;if("mail"===this.data.action.action)window.location.href="mailto:?subject="+document.title+"&body= Hey! Check out this link: "+document.location.href;else{if("reddit"===this.data.action.action){let t=`https://www.reddit.com/submit?url=${encodeURI("Hey! Check out this link: "+document.location.href)}&title=${encodeURI(document.title)}`;return window.open(t),!1}if("tumblr"===this.data.action.action)return window.open(`https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=${encodeURI(document.location.href)}&posttype=link`),!1;if("digg"===this.data.action.action)return window.open(`http://digg.com/submit?url=${encodeURI(document.location.href)}`),!1;if("weibo"===this.data.action.action)return window.open(`http://service.weibo.com/share/share.php?url=${encodeURI(document.location.href)}&title=${encodeURI(document.title)}&pic=https://plus.google.com/_/favicon?domain=${document.location.origin}`),!1;if("vk"===this.data.action.action)return window.open(`https://vk.com/share.php?url=${encodeURI(document.location.href)}&title=${encodeURI(document.title)}&comment=Hey%20Check%20this%20out!`),!1;if("ok"===this.data.action.action)return window.open(`https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=${encodeURI(document.location.href)}`),!1;if("xing"===this.data.action.action)return window.open(`https://www.xing.com/spi/shares/new?url=${encodeURI(document.location.href)}`),!1;if("blogger"===this.data.action.action)return window.open(`https://www.blogger.com/blog-this.g?u=${encodeURI(document.location.href)}&n=${encodeURI(document.title)}&t=Check%20this%20out!`),!1;if("flipboard"===this.data.action.action)return window.open(`https://share.flipboard.com/bookmarklet/popout?v=2&title=${encodeURI(document.title)}&url=${encodeURI(document.location.href)}`),!1;if("sms"===this.data.action.action)return window.open(`sms:?body=${encodeURI(document.title+"Hey! Check out this link: "+document.location.href)}`),!1}}}else{let t=document.querySelector("button.single_add_to_cart_button");null===t?console.log("No Product found"):t.parentElement===document.querySelector("form.cart")?t.click():console.log("Not a product")}else window.history.back();else jQuery("html, body").animate({scrollTop:0},750);else{let t=`mailto:${this.data.action.action}`;document.location.href=t}}else document.location.href=`tel:${this.data.action.action}`}generateStyle(){if("12px"!==this.data.styling.label.size||"3px"!==this.data.styling.label.radius){let t,e;t="px"===this.data.styling.label.size?"px"===this.group.data.styling.label.size?"12px":this.group.data.styling.label.size:this.data.styling.label.size,e="px"===this.data.styling.label.radius?"px"===this.group.data.styling.label.radius?"3px":this.group.data.styling.label.radius:this.data.styling.label.radius,this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {\n font-size: ${t};\n border-radius: ${e};\n -moz-border-radius: ${e};\n -webkit-border-radius: ${e};\n }\n `}if(this.data.styling.button){let t="";"%"!==this.data.styling.button.radius?t+=`\n border-radius: ${this.data.styling.button.radius};\n `:t+="\n border-radius: 50%;\n ",this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] {\n background-color: ${this.data.styling.button.color};\n ${"00"===this.data.styling.button.color.substr(-2)?"box-shadow: none;":""};\n ${t}\n }\n \n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"]:hover {\n background-color: ${this.data.styling.button.interaction}\n }\n \n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] .buttonizer-label {\n background-color: ${this.data.styling.label.background};\n color: ${this.data.styling.label.text} !important;\n }`}this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"] i {\n color: ${this.data.styling.icon.color};\n font-size: ${this.data.styling.icon.size};\n\n transition: all 0.2s ease-in-out;\n -moz-transition: all 0.2s ease-in-out;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n }\n\n [data-buttonizer="${this.group.unique}"] [data-buttonizer="${this.unique}"]:hover i{\n color: ${this.data.styling.icon.interaction};\n\n transition: all 0.2s ease-in-out;\n -moz-transition: all 0.2s ease-in-out;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n }\n `,this.data.styling.button&&(this.group.stylesheet+=`\n [data-buttonizer="${this.group.unique}"].attention-animation-true.buttonizer-animation-pulse.buttonizer-desktop-has-1.buttonizer-mobile-has-1 [data-buttonizer="${this.unique}"]:before, \n [data-buttonizer="${this.group.unique}"].attention-animation-true.buttonizer-animation-pulse.buttonizer-desktop-has-1.buttonizer-mobile-has-1 [data-buttonizer="${this.unique}"]:after {\n background-color: ${this.data.styling.button.color};\n }\n `)}destroy(){this.button.remove(),this.group.removeButton(this),this.group=null,this.data=null,this.button=null}addMessengerWindow(){if(void 0!==window.Buttonizer.initializedFacebookChat)return;window.Buttonizer.initializedFacebookChat=""===this.data.action.action?void 0:this.data.action.action,window.fbAsyncInit=function(){FB.init({xfbml:!0,version:"v3.3"})};let t=document.createElement("script");t.innerHTML="\n (function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';\n fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));",document.head.appendChild(t)}copyClipboard(){var t=document.createElement("input"),e=window.location.href;document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t);let i=document.createElement("div");i.className="buttonizer-label buttonizer-label-popup",i.innerText="Copied!",this.button.appendChild(i),setTimeout(()=>{i.remove()},2e3)}}class n{constructor(t,e){this.data=t,this.groupIndex=e,this.buttons=[],this.isBuild=!1,this.opened=!1,this.usesExitIntent=!1,this.exitIntentExecuted=!1,this.usesOnSroll=!1,this.show_mobile=this.data.device.show_mobile,this.show_desktop=this.data.device.show_desktop,this.single_button_mode=this.data.single_button_mode,this.element=null,this.groupStyle=this.data.styling.menu.style,this.groupAnimation=this.data.styling.menu.animation,this.stylesheet="",this.mobileButtonCount=0,this.desktopButtonCount=0,this.unique="buttonizer-"+Array.apply(0,Array(15)).map(function(){return(t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789").charAt(Math.floor(Math.random()*t.length));var t}).join(""),this.init()}init(){for(let t=0;t<this.data.buttons.length;t++){let e=new o(this,this.data.buttons[t]);this.buttons.push(e)}this.build(),this.animate()}build(){if(!0===this.isBuild||0===this.buttons.length)return void console.error("Buttonizer: Cannot create group: No buttons or already build");"fade-left-to-right"===this.groupStyle&&(this.groupStyle="faded");let t=document.createElement("div");if(t.className=`buttonizer buttonizer-group buttonizer-style-${this.groupStyle} buttonizer-animation-${this.groupAnimation} ${this.data.position.bottom<=50?"bottom":"top"} ${this.data.position.right<=50?"right":"left"}`,t.setAttribute("data-buttonizer",this.unique),"true"===this.show_mobile&&"false"===this.show_desktop?t.className+=" button-mobile-only":"false"===this.show_mobile&&"true"===this.show_desktop?t.className+=" button-desktop-only":"false"===this.show_mobile&&"false"===this.show_desktop&&(t.className+=" button-hide"),this.buttons.length>1){t.classList.add("buttonizer-is-menu"),"true"===this.data.openedByDefault&&(document.cookie.match("buttonizer_open=")?document.cookie.match("buttonizer_open=closed")||document.cookie.match("buttonizer_open=opened")&&(t.classList.add("opened"),this.opened=!0):(setTimeout(function(){t.classList.add("opened")},100),this.opened=!this.opened)),"1"===buttonizer_ajax.in_preview&&document.cookie.match("buttonizer_preview_"+this.groupIndex+"=opened")&&(this.opened=!0,t.classList.add("opened")),"square"!==this.data.styling.menu.style&&"rectangle"!==this.data.styling.menu.style||t.classList.add("opened");let e=document.createElement("div");e.className="buttonizer-button-list";let i=document.createElement("a");i.href="javascript:void(0)",i.className="buttonizer-button buttonizer-head","hover"===this.data.label.show_label_desktop?i.className+=" show-label-desktop-hover":"hide"===this.data.label.show_label_desktop&&(i.className+=" label-desktop-hidden"),"hide"===this.data.label.show_label_mobile&&(i.className+=" label-mobile-hidden");let o,n=`<div class="buttonizer-label">${this.data.label.groupLabel}</div>`;o=`<i class="${void 0!==typeof this.data.icon.groupIcon?this.data.icon.groupIcon:"fa fa-plus"}"></i>`,this.data.label.groupLabel.length<=0?i.innerHTML=o:i.innerHTML=n+o,i.addEventListener("click",t=>this.toggleMenu(t)),t.appendChild(e),t.appendChild(i);for(let i=0;i<this.buttons.length;i++){if("messenger_chat"===this.buttons[i].data.action.type){let e=document.createElement("div");e.className=`fb-customerchat buttonizer-facebook-messenger-overwrite-${this.unique}`,e.setAttribute("page-id",`${this.buttons[i].data.action.action}`),e.setAttribute("greeting_dialog_display","hide"),t.appendChild(e)}e.appendChild(this.buttons[i].build())}}else t.appendChild(this.buttons[0].build());t.className+=` buttonizer-desktop-has-${this.desktopButtonCount} buttonizer-mobile-has-${this.mobileButtonCount}`,this.element=t,document.body.appendChild(this.element),this.isBuild=!0,this.writeCSS(),"rectangle"===this.data.styling.menu.style&&this.maxLabelWidth(t,"rectangle")}toggleMenu(t){t.preventDefault(),window.Buttonizer.googleAnalyticsEvent({type:"group-open-close",name:this.data.name,interaction:this.opened?"close":"open"}),this.opened?this.element.classList.remove("opened"):this.element.classList.add("opened"),this.opened=!this.opened,"true"===this.data.openedByDefault&&(document.cookie.match("buttonizer_open=")?document.cookie.match("buttonizer_open=closed")?document.cookie="buttonizer_open=opened":document.cookie.match("buttonizer_open=opened")&&(document.cookie="buttonizer_open=closed"):document.cookie="buttonizer_open=closed"),"1"===buttonizer_ajax.in_preview&&this.togglePreviewOpened()}togglePreviewOpened(){this.opened?document.cookie="buttonizer_preview_"+this.groupIndex+"=opened":document.cookie="buttonizer_preview_"+this.groupIndex+"=closed"}writeCSS(){let t=document.createElement("style");t.id=this.unique;let e=` \n [data-buttonizer="${this.unique}"] {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?this.data.position.right:100-this.data.position.right}%;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?this.data.position.bottom:100-this.data.position.bottom}%;\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button {\n background-color: ${this.data.styling.button.color};\n color: ${this.data.styling.icon.color};\n border-radius: ${this.data.styling.button.radius};\n ${"0"===this.data.styling.button.color.replace(/\D/g,"").substr(-1)?"box-shadow: none;":""}\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button:hover {\n background-color: ${this.data.styling.button.interaction};\n color: ${this.data.styling.icon.color}\n }\n \n [data-buttonizer="${this.unique}"] .buttonizer-button .buttonizer-label {\n background-color: ${this.data.styling.label.background};\n color: ${this.data.styling.label.text};\n font-size: ${this.data.styling.label.size};\n border-radius: ${this.data.styling.label.radius};\n }\n\n [data-buttonizer="${this.unique}"] .buttonizer-button i {\n color: ${this.data.styling.icon.color};\n font-size: ${this.data.styling.icon.size};\n }\n\n [data-buttonizer="${this.unique}"] .buttonizer-button:hover i {\n color: ${this.data.styling.icon.interaction};\n }\n \n [data-buttonizer="${this.unique}"].attention-animation-true.buttonizer-animation-pulse .buttonizer-head:before, \n [data-buttonizer="${this.unique}"].attention-animation-true.buttonizer-animation-pulse .buttonizer-head:after {\n background-color: ${this.data.styling.button.color};\n }\n `;void 0!==window.Buttonizer.initializedFacebookChat&&(e+=`\n .fb_dialog {\n display: none !important;\n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span iframe {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?+this.data.position.right-1:100-this.data.position.right-1}% !important;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?+this.data.position.bottom+4:100-this.data.position.bottom+6}% !important;\n }\n\n @media screen and (max-width: 769px){\n .buttonizer-facebook-messenger-overwrite-${this.unique} span iframe {\n ${this.data.position.right<=50?"right":"left"}: ${this.data.position.right<=50?+this.data.position.right-5:100-this.data.position.right-1}% !important;\n ${this.data.position.bottom<=50?"bottom":"top"}: ${this.data.position.bottom<=50?+this.data.position.bottom+4:100-this.data.position.bottom+7}% !important;\n \n }\n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span .fb_customer_chat_bounce_in_v2 {\n animation-duration: 300ms;\n animation-name: fb_bounce_in_v3 !important;\n transition-timing-function: ease-in-out; \n }\n\n .buttonizer-facebook-messenger-overwrite-${this.unique} span .fb_customer_chat_bounce_out_v2 {\n max-height: 0px !important;\n }\n\n @keyframes fb_bounce_in_v3 {\n 0% {\n opacity: 0;\n transform: scale(0, 0);\n transform-origin: bottom;\n }\n 50% {\n transform: scale(1.03, 1.03);\n transform-origin: bottom;\n }\n 100% {\n opacity: 1;\n transform: scale(1, 1);\n transform-origin: bottom;\n }\n }\n `),e+=this.stylesheet,t.innerHTML=e,document.head.appendChild(t)}animate(){null!==this.element&&"none"!==this.groupAnimation&&(this.element.classList.contains("opened")||(this.element.classList.add("attention-animation-true"),setTimeout(()=>{null!==this.element&&this.element.classList.remove("attention-animation-true")},2e3)),setTimeout(()=>this.animate(),1e4))}destroy(){for(let t=0;t<this.buttons.length;t++)this.buttons[t].destroy();this.element.remove(),this.element=null,document.getElementById(this.unique).remove(),window.Buttonizer.destroyGroup(this)}removeButton(t){let e=this.buttons.indexOf(t);e>=0&&this.buttons.splice(e,1)}maxLabelWidth(t,e){let i=[];for(let e of t.querySelectorAll(".buttonizer-label"))i.push(e.offsetWidth);let o=Math.max(...i),n=`\n [data-buttonizer="${this.unique}"].buttonizer-style-${e} .buttonizer-button .buttonizer-label {\n min-width: ${o}px;\n max-width: ${o}px;\n overflow: hidden;\n text-align: ${this.data.position.right<=50?"right":"left"};\n }\n `;document.getElementById(this.unique).innerHTML+=n}}i(36),i(13),i(14);window.Buttonizer=new class{constructor(){if(this.getSettings(),this.firstTimeInitialize=!0,this.write=HTMLElement,this.previewInitialized=!1,this.settingsLoading=!1,this.isInPreviewContainer=!1,this.premium=!1,this.groups=[],this.exitIntent=null,this.onscroll=null,this.settings={ga:null},buttonizer_ajax.in_preview){let t=document.createElement("style");t.innerHTML="html { margin-top: 0 !important; }",window.document.head.appendChild(t)}}getSettings(){buttonizer_ajax.current.url=document.location.href,this.settingsLoading=!0,jQuery.ajax({url:buttonizer_ajax.ajaxurl+"?action=buttonizer",dataType:"json",data:{qpu:buttonizer_ajax.is_admin?Date.now():buttonizer_ajax.cache,preview:buttonizer_ajax.in_preview?1:0,data:buttonizer_ajax.current},method:"get",success:t=>{"success"===t.status?this.init(t):console.error("Buttonizer: Something went wrong! Buttonizer not loaded",t)},error:t=>{this.settingsLoading=!1,console.error("Buttonizer: OH NO! ERROR: '"+t.statusText+"'. That's all we know... Please check your PHP logs or contact Buttonizer support if you need help."),console.error("Buttonizer: Visit our community on https://community.buttonizer.pro/")}})}init(t){buttonizer_ajax.in_preview&&!this.previewInitialized&&(this.isInPreviewContainer=!0,this.listenToPreview()),t.result.length>0?(""===this.getCookie("buttonizer-first-visit")&&(document.cookie="buttonizer-first-visit="+(new Date).getTime()),(()=>{this.groups.push(new n(t.result[0],0))})(),this.firstTimeInitialize&&this.buttonizerInitialized()):console.log("Buttonizer: No groups/buttons to display"),buttonizer_ajax.in_preview&&this.previewInitialized&&(this.messageButtonizerAdminEditor("(re)loaded",!0),this.messageButtonizerAdminEditor("warning",t.warning)),this.settingsLoading=!1}messageButtonizerAdminEditor(t,e){try{window.parent.postMessage({eventType:"buttonizer",messageType:t,message:e},document.location.origin)}catch(t){console.log("Buttonizer tried to warn you in the front-end editor. But the message didn't came through. Well. Doesn't matter, it's just an extra function. It's nice to have."),console.log(t)}}listenToPreview(){this.previewInitialized=!0,window.addEventListener("message",t=>{t.isTrusted&&void 0!==t.data.eventType&&"buttonizer"===t.data.eventType&&(console.log("[Buttonizer] Buttonizer preview - Data received:",t.data.messageType),buttonizer_ajax.in_preview&&"preview-reload"===t.data.messageType&&this.reload())},!1)}reload(){if(this.settingsLoading)return console.log("[Buttonizer] Request too quick, first finish the previous one"),void setTimeout(()=>this.reload(),100);console.log("[Buttonizer] Reloading Buttonizer"),this.settingsLoading=!0;for(let t=0;t<this.groups.length;t++)this.groups[t].destroy();let t=document.querySelectorAll(".buttonizer-group");for(let e=0;e<t.length;e++)t[e].remove();setTimeout(()=>{this.groups=[],this.getSettings()},50)}googleAnalyticsEvent(t){if("function"==typeof ga||"function"==typeof gtag||"object"==typeof window.dataLayer&&"function"==typeof window.dataLayer.push){let e={};if("group-open-close"===t.type?(e.groupName=t.name,e.action=t.interaction):"button-click"===t.type&&(e.groupName=t.groupName,e.action="Clicked button: "+t.buttonName),"gtag"in window&&"function"==typeof gtag)gtag("event","Buttonizer",{event_category:"Buttonizer group: "+e.groupName,event_action:e.action,event_label:document.title,page_url:document.location.href});else if("ga"in window)try{let t=ga.getAll()[0];if(!t)throw"No tracker found";t.send("event","Buttonizer group: "+e.groupName,e.action,document.title)}catch(t){console.error("Buttonizer Google Analytics: Last try to push to Google Analytics."),console.error("What does this mean?","https://community.buttonizer.pro/knowledgebase/17"),ga("send","event",{eventCategory:"Buttonizer group: "+e.groupName,eventAction:e.action,eventLabel:document.title})}else console.error("Buttonizer Google Analytics: Unable to push data to Google Analytics"),console.error("What does this mean?","https://community.buttonizer.pro/knowledgebase/17")}}getCookie(t){for(var e=t+"=",i=decodeURIComponent(document.cookie).split(";"),o=0;o<i.length;o++){for(var n=i[o];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}destroyGroup(t){let e=this.groups.indexOf(t);e>=0&&this.groups.splice(e,1)}hasPremium(){return this.premium}buttonizerInitialized(){this.firstTimeInitialize&&("function"==typeof window.buttonizerInitialized&&window.buttonizerInitialized(),this.firstTimeInitialize=!1)}inPreview(){return this.isInPreviewContainer}}},36:function(t,e){}});
buttonizer.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Buttonizer - Smart Floating Action Button
4
  * Plugin URI: https://buttonizer.pro
5
  * Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
6
- * Version: 2.0.6
7
  * Author: Buttonizer
8
  * Author URI: https://buttonizer.pro
9
  * License: GPL2
@@ -34,7 +34,7 @@ define('BUTTONIZER_NAME', 'buttonizer');
34
  define('BUTTONIZER_DIR', dirname(__FILE__));
35
  define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
36
  define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
37
- define('BUTTONIZER_VERSION', '2.0.6');
38
  define('BUTTONIZER_DEBUG', false);
39
 
40
  define('FONTAWESOME_CURRENT_VERSION', 'v5.8.2');
@@ -164,10 +164,14 @@ $oButtonizer->get()->add_filter( 'support_forum_url', function ($wp_org_support
164
  });
165
 
166
  // Localization
167
- function buttonizer_load_plugin_textdomain() {
168
- load_plugin_textdomain('buttonizer-multifunctional-button', FALSE, basename(dirname(__FILE__)) . '/languages/');
 
 
 
 
 
169
  }
170
- add_action('plugins_loaded', 'buttonizer_load_plugin_textdomain');
171
 
172
  // System, buttonizer is loaded
173
  do_action('buttonizer_loaded');
3
  * Plugin Name: Buttonizer - Smart Floating Action Button
4
  * Plugin URI: https://buttonizer.pro
5
  * Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
6
+ * Version: 2.0.7
7
  * Author: Buttonizer
8
  * Author URI: https://buttonizer.pro
9
  * License: GPL2
34
  define('BUTTONIZER_DIR', dirname(__FILE__));
35
  define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
36
  define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
37
+ define('BUTTONIZER_VERSION', '2.0.7');
38
  define('BUTTONIZER_DEBUG', false);
39
 
40
  define('FONTAWESOME_CURRENT_VERSION', 'v5.8.2');
164
  });
165
 
166
  // Localization
167
+ if(!function_exists("buttonizer_load_plugin_textdomain")) {
168
+ function buttonizer_load_plugin_textdomain()
169
+ {
170
+ load_plugin_textdomain('buttonizer-multifunctional-button', FALSE, basename(dirname(__FILE__)) . '/languages/');
171
+ }
172
+
173
+ add_action('plugins_loaded', 'buttonizer_load_plugin_textdomain');
174
  }
 
175
 
176
  // System, buttonizer is loaded
177
  do_action('buttonizer_loaded');
languages/buttonizer-multifunctional-button-nl_NL.mo CHANGED
Binary file
languages/buttonizer-multifunctional-button-nl_NL.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Buttonizer - Smart Floating Action Button 2.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buttonizer\n"
7
- "POT-Creation-Date: 2019-08-09T14:26:14+00:00\n"
8
- "PO-Revision-Date: 2019-08-09 16:31+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
11
  "Language: nl\n"
@@ -125,269 +125,282 @@ msgstr "Knop"
125
  msgid "Group"
126
  msgstr "Groep"
127
 
128
- #: app/Admin/Translations.php:83 app/Admin/Translations.php:314
129
  msgid "Settings"
130
  msgstr "Instellingen"
131
 
132
- #: app/Admin/Translations.php:85
 
 
 
 
133
  msgid "Confirm"
134
  msgstr "Bevestig"
135
 
136
- #: app/Admin/Translations.php:86
137
  msgid "Search"
138
  msgstr "Zoek"
139
 
140
- #: app/Admin/Translations.php:88
141
  msgid "Skip"
142
  msgstr "Overslaan"
143
 
144
- #: app/Admin/Translations.php:91
145
  msgid "Disable"
146
  msgstr "Deactiveren"
147
 
148
- #: app/Admin/Translations.php:92
149
  msgid "Disabled"
150
  msgstr "Gedeactiveerd"
151
 
152
- #: app/Admin/Translations.php:95 app/Admin/Translations.php:226
153
  msgid "Save"
154
  msgstr "Opslaan"
155
 
156
- #: app/Admin/Translations.php:96
157
  msgid "Saving"
158
  msgstr "Opslaan"
159
 
160
- #: app/Admin/Translations.php:97
161
  msgid "Saving settings"
162
  msgstr "Aan het opslaan"
163
 
164
- #: app/Admin/Translations.php:99
165
  msgid "Publish"
166
  msgstr "Publiceer"
167
 
168
- #: app/Admin/Translations.php:100
169
  msgid "Published"
170
  msgstr "Gepubliceerd"
171
 
172
- #: app/Admin/Translations.php:101
173
  msgid "Publishing..."
174
  msgstr "Publiceren..."
175
 
176
- #: app/Admin/Translations.php:104
177
  msgid "Warning"
178
  msgstr "Waarschuwing"
179
 
180
- #: app/Admin/Translations.php:107
181
  msgid "Next"
182
  msgstr "Volgende"
183
 
184
- #: app/Admin/Translations.php:108
185
  msgid "Previous"
186
  msgstr "Vorige"
187
 
188
  #. translators: The button to save and publish the changes that were made
189
- #: app/Admin/Translations.php:111 app/Admin/Translations.php:1162
190
  msgid "Save & publish"
191
  msgstr "Opslaan & publiceren"
192
 
193
- #: app/Admin/Translations.php:122
194
  msgid "Loading..."
195
  msgstr "Laden..."
196
 
197
- #: app/Admin/Translations.php:123
198
  msgid "Loading settings..."
199
  msgstr "Instellingen laden..."
200
 
201
- #: app/Admin/Translations.php:124
202
  msgid "Building bar..."
203
  msgstr "Balk laden..."
204
 
205
- #: app/Admin/Translations.php:125
206
  msgid "Waiting for your website..."
207
  msgstr "We wachten op je website..."
208
 
209
- #: app/Admin/Translations.php:126
210
  msgid "It's taking longer than usual, slow website?"
211
  msgstr "Het duurt langer dan gebruikelijk, langzame website?"
212
 
213
- #: app/Admin/Translations.php:127
214
  msgid "Skip this step"
215
  msgstr "Sla deze stap over"
216
 
217
- #: app/Admin/Translations.php:128
218
  msgid "Initializing..."
219
  msgstr "Initialiseren..."
220
 
221
- #: app/Admin/Translations.php:129
222
  msgid "Resetting..."
223
  msgstr "Resetten..."
224
 
225
- #: app/Admin/Translations.php:130
226
  msgid "Running migration..."
227
  msgstr "Migratie aan het uitvoeren..."
228
 
229
  #. translators: Finishing as in 'Cleaning up files'
230
- #: app/Admin/Translations.php:132
231
  msgid "Finishing..."
232
  msgstr "Afronden..."
233
 
234
  #. translators: %s will be replaced with 'Add button'
235
- #: app/Admin/Translations.php:143 app/Admin/Translations.php:1124
236
- #: app/Admin/Translations.php:1129
237
  msgid "Add button"
238
  msgstr "Knop toevoegen"
239
 
240
- #: app/Admin/Translations.php:144
241
  msgid "Add group"
242
  msgstr "Groep toevoegen"
243
 
244
- #: app/Admin/Translations.php:147
245
  msgid "New button"
246
  msgstr "Nieuwe knop"
247
 
248
- #: app/Admin/Translations.php:148
249
  msgid "New group"
250
  msgstr "Nieuwe groep"
251
 
252
- #: app/Admin/Translations.php:151
253
  msgid "Advanced settings"
254
  msgstr "Geavanceerde instellingen"
255
 
256
- #: app/Admin/Translations.php:153 app/Admin/Translations.php:575
257
  msgid "Text"
258
  msgstr "Tekst"
259
 
260
  #. translators: Base is meant as default state of the button (not hovering or clicking)
261
- #: app/Admin/Translations.php:155
262
  msgid "Base"
263
  msgstr "Basis"
264
 
265
  #. translators: Base is meant as default state of the button (not hovering or clicking)
266
- #: app/Admin/Translations.php:156 app/Admin/Translations.php:344
 
267
  msgid "Icon"
268
  msgstr "Icoon"
269
 
270
- #: app/Admin/Translations.php:157
271
  msgid "Search icon"
272
  msgstr "Zoek icoon"
273
 
274
- #: app/Admin/Translations.php:160 app/Admin/Translations.php:356
275
  msgid "Image"
276
  msgstr "Afbeelding"
277
 
278
- #: app/Admin/Translations.php:161
279
  msgid "Select image"
280
  msgstr "Selecteer afbeelding"
281
 
282
- #: app/Admin/Translations.php:162
283
  msgid "Change image"
284
  msgstr "Verander afbeelding"
285
 
286
- #: app/Admin/Translations.php:163
 
 
 
 
 
 
 
 
287
  msgid "Click to remove this image"
288
  msgstr "Klik om de afbeelding te verwijderen"
289
 
290
- #: app/Admin/Translations.php:166
291
  msgid "First button"
292
  msgstr "Eerste knop"
293
 
294
- #: app/Admin/Translations.php:167
295
  msgid "Second button"
296
  msgstr "Tweede knop"
297
 
298
- #: app/Admin/Translations.php:170
299
  msgid "Rename"
300
  msgstr "Hernoem"
301
 
302
- #: app/Admin/Translations.php:173
303
  msgid "Delete"
304
  msgstr "Verwijder"
305
 
306
- #: app/Admin/Translations.php:176
307
  msgid "Duplicate"
308
  msgstr "Dupliceer"
309
 
310
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
311
- #: app/Admin/Translations.php:179
312
  msgid "page rule"
313
  msgstr "pagina regel"
314
 
315
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
316
- #: app/Admin/Translations.php:181
317
  msgid "time schedule"
318
  msgstr "tijdschema"
319
 
320
  #. translators: Interaction is meant as hover/click state
321
- #: app/Admin/Translations.php:184
322
  msgid "Interaction"
323
  msgstr "Interactie"
324
 
325
  #. translators: Background as in background color
326
- #: app/Admin/Translations.php:187
327
  msgid "Background"
328
  msgstr "Achtergrond"
329
 
330
- #: app/Admin/Translations.php:190
331
  msgid "Need help? Quick-start, tips & tricks"
332
  msgstr "Hulp nodig? Quick-start, tips & tricks"
333
 
334
- #: app/Admin/Translations.php:191
335
  msgid "Need help? Visit our knowledge base!"
336
  msgstr "Hulp nodig? Bezoek ons kennis bank!"
337
 
338
- #: app/Admin/Translations.php:193
339
  msgid "Nothing found for:"
340
  msgstr "Niks gevonden voor:"
341
 
342
- #: app/Admin/Translations.php:194
343
  msgid "Search icons"
344
  msgstr "Zoek iconen"
345
 
346
  #. translators: %1$s will be replaced with a action name, %2$s will be replaced with a link
347
- #: app/Admin/Translations.php:198
348
  msgid "Need help? Learn how to use <b>%1$s</b>."
349
  msgstr ""
350
  "Hulp nodig? Meer informatie over hoe je de knopactie <b>%1$s</b> gebruikt."
351
 
352
- #: app/Admin/Translations.php:211
353
  msgid "OK"
354
  msgstr "Okey"
355
 
356
- #: app/Admin/Translations.php:212
357
  msgid "OK, I'll fix this"
358
  msgstr "Okey, ik los dit op"
359
 
360
- #: app/Admin/Translations.php:214
361
  msgid "Close"
362
  msgstr "Sluiten"
363
 
364
- #: app/Admin/Translations.php:215
365
  msgid "Cancel"
366
  msgstr "Annuleren"
367
 
368
- #: app/Admin/Translations.php:218 app/Admin/Translations.php:1018
369
  msgid "Yes please"
370
  msgstr "Ja graag"
371
 
372
- #: app/Admin/Translations.php:219
373
  msgid "No thank you"
374
  msgstr "Nee bedankt"
375
 
376
- #: app/Admin/Translations.php:222
377
  msgid "Dismiss"
378
  msgstr "Negeer"
379
 
380
- #: app/Admin/Translations.php:223
381
  msgid "I've changed my mind"
382
  msgstr "Ik ben van gedachten veranderd"
383
 
384
  #. translators: %s will be replaced with 'time schedule / page rule'
385
- #: app/Admin/Translations.php:231
386
  msgid "Remove %s?"
387
  msgstr "Verwijder %s?"
388
 
389
  #. translators: %s will be replaced with 'time schedule / page rule'
390
- #: app/Admin/Translations.php:236
391
  msgid ""
392
  "Are you very sure you want to remove this %1$s? Buttons that are still "
393
  "attached to this %2$s will become visible unless you attach them to another "
@@ -398,47 +411,47 @@ msgstr ""
398
  "%3$s."
399
 
400
  #. translators: %s will be replaced with 'time schedule / page rule'
401
- #: app/Admin/Translations.php:241
402
  msgid "There are no buttons attached to this %s. You can remove this safely."
403
  msgstr ""
404
  "Er zijn geen knoppen gekoppeld aan deze %s. Je kan deze veilig verwijderen."
405
 
406
  #. translators: This sentence will be used to remove a 'time schedule/page rule' and there are multiple buttons attached to it. %1$s will be a number, %2$s will be the 'time schedule / page rule'
407
- #: app/Admin/Translations.php:246
408
  msgid "There are <b>%1$s</b> buttons attached to this %2$s!"
409
  msgstr "Er zijn <b>%1$s</b> knoppen gekoppeld aan deze %2$s!"
410
 
411
  #. translators: This sentence will be used to remove a time schedule and there is only one button attached to it
412
- #: app/Admin/Translations.php:251
413
  msgid "There is <b>1</b> button attached to this %s!"
414
  msgstr "Er is <b>1</b> knop gekoppeld aan deze %s!"
415
 
416
  #. translators: %s will be replaced with 'time schedule / page rule'
417
- #: app/Admin/Translations.php:256
418
  msgid "Do you want to remove this %s?"
419
  msgstr "Wil je deze %s verwijderen?"
420
 
421
- #: app/Admin/Translations.php:270
422
  msgid "Event tracker"
423
  msgstr "Event tracker"
424
 
425
- #: app/Admin/Translations.php:271
426
  msgid "Event tracker (experimental)"
427
  msgstr "Event tracker (experimenteel)"
428
 
429
- #: app/Admin/Translations.php:294 app/Admin/Translations.php:1160
430
  msgid "Revert changes"
431
  msgstr "Wijzigingen ongedaan maken"
432
 
433
- #: app/Admin/Translations.php:295
434
  msgid "Reverting..."
435
  msgstr "Ongedaan maken..."
436
 
437
- #: app/Admin/Translations.php:297
438
  msgid "Are you sure you want to revert your changes?"
439
  msgstr "Weet je zeker dat je je wijzigingen ongedaan wilt maken?"
440
 
441
- #: app/Admin/Translations.php:298
442
  msgid ""
443
  "The current changes will be overwritten by the current published buttons and "
444
  "settings."
@@ -446,52 +459,52 @@ msgstr ""
446
  "Je wijzigingen zullen worden overschreven door de huidige gepubliceerde "
447
  "knoppen en instellingen."
448
 
449
- #: app/Admin/Translations.php:301
450
  msgid "Could not revert settings"
451
  msgstr "Kon de instellingen niet ongedaan maken"
452
 
453
- #: app/Admin/Translations.php:302
454
  msgid "Something went wrong while reverting your settings."
455
  msgstr "Er ging iets mis tijdens het ongedaan maken van uw instellingen."
456
 
457
- #: app/Admin/Translations.php:318 app/Admin/Translations.php:1102
458
  msgid "Menu style"
459
  msgstr "Menustijl"
460
 
461
- #: app/Admin/Translations.php:319 app/Admin/Translations.php:1108
462
- #: app/Admin/Translations.php:1114
463
  msgid "Group style"
464
  msgstr "Groep stijl"
465
 
466
- #: app/Admin/Translations.php:320
467
  msgid "Group icon"
468
  msgstr "Groep icoon"
469
 
470
- #: app/Admin/Translations.php:321
471
  msgid "Button style"
472
  msgstr "Knop stijl"
473
 
474
- #: app/Admin/Translations.php:322
475
  msgid "Button icon"
476
  msgstr "Knop icoon"
477
 
478
- #: app/Admin/Translations.php:323 app/Admin/Translations.php:372
479
  msgid "Label"
480
  msgstr "Label"
481
 
482
- #: app/Admin/Translations.php:327
483
  msgid "Button name"
484
  msgstr "Knopnaam"
485
 
486
- #: app/Admin/Translations.php:328
487
  msgid "This is the button name."
488
  msgstr "Dit is de knopnaam."
489
 
490
- #: app/Admin/Translations.php:332
491
  msgid "Button color"
492
  msgstr "Knop kleur"
493
 
494
- #: app/Admin/Translations.php:333
495
  msgid ""
496
  "This is the color of your button group and also the default color for your "
497
  "buttons within this group."
@@ -499,11 +512,11 @@ msgstr ""
499
  "Dit is de kleur van de knopgroep en ook gelijk de standaardkleur van de "
500
  "knoppen in de groep."
501
 
502
- #: app/Admin/Translations.php:336
503
  msgid "Background image"
504
  msgstr "Achtergrond afbeelding"
505
 
506
- #: app/Admin/Translations.php:337
507
  msgid ""
508
  "Upload an image if you want an image as a background instead of a color. "
509
  "Recommended aspect ratio: square (1:1)."
@@ -511,31 +524,31 @@ msgstr ""
511
  "Upload een afbeelding wanneer je een foto als achtergrond wilt in plaats van "
512
  "een kleur. Aanbevolen formaat is: vierkant (1:1)."
513
 
514
- #: app/Admin/Translations.php:340 app/Admin/Translations.php:352
515
  msgid "Border radius"
516
  msgstr "Border-radius"
517
 
518
- #: app/Admin/Translations.php:341
519
  msgid "Change the roundness of this button group."
520
  msgstr "Verander de rondte van deze knop."
521
 
522
- #: app/Admin/Translations.php:345
523
  msgid "Choose an icon from the icon library."
524
  msgstr "Kies een icoon uit de icoon bibliotheek."
525
 
526
- #: app/Admin/Translations.php:348
527
  msgid "Icon color"
528
  msgstr "Icoon kleur"
529
 
530
- #: app/Admin/Translations.php:349
531
  msgid "Change the icon color of this button."
532
  msgstr "Verander de icoonkleur van deze knop."
533
 
534
- #: app/Admin/Translations.php:353
535
  msgid "Change the border radius of the image."
536
  msgstr "Verander de hoek-rondte van de afbeelding."
537
 
538
- #: app/Admin/Translations.php:357
539
  msgid ""
540
  "Choose an image to use as this button or group icon. Recommended aspect "
541
  "ratio: square (1:1)"
@@ -543,65 +556,65 @@ msgstr ""
543
  "Kies een afbeelding om deze te gebruiken als knop of groep icoon. Aanbevolen "
544
  "formaat is: vierkant (1:1)"
545
 
546
- #: app/Admin/Translations.php:360
547
  msgid "Image size"
548
  msgstr "Afbeeldingsgrootte"
549
 
550
- #: app/Admin/Translations.php:361
551
  msgid "Change the size of the image."
552
  msgstr "Verander de grootte van de afbeelding."
553
 
554
- #: app/Admin/Translations.php:364
555
  msgid "Graphic"
556
  msgstr "Grafisch"
557
 
558
- #: app/Admin/Translations.php:365
559
  msgid "Choose whether to use an icon or image as the button icon."
560
  msgstr ""
561
  "Kies of je gebruik wilt maken van een icoon of een afbeelding als knop-icoon."
562
 
563
- #: app/Admin/Translations.php:368
564
  msgid "Icon size"
565
  msgstr "Icoon grootte"
566
 
567
- #: app/Admin/Translations.php:369
568
  msgid "Change the icon size of this button."
569
  msgstr "Verander de icoon grootte van deze knop."
570
 
571
- #: app/Admin/Translations.php:373
572
  msgid "Change the label of this button."
573
  msgstr "Verander de label van deze knop."
574
 
575
- #: app/Admin/Translations.php:374
576
  msgid "Label text"
577
  msgstr "Label tekst"
578
 
579
- #: app/Admin/Translations.php:377
580
  msgid "Label color"
581
  msgstr "Label kleur"
582
 
583
- #: app/Admin/Translations.php:378
584
  msgid ""
585
  "Change the text and background color of the label for this button or group."
586
  msgstr ""
587
  "Verander de tekst en achtergrondkleur van de label van deze knop of "
588
  "knopgroep."
589
 
590
- #: app/Admin/Translations.php:381
591
  msgid "Font size & border radius"
592
  msgstr "Lettertype grootte & border-radius"
593
 
594
- #: app/Admin/Translations.php:382
595
  msgid ""
596
  "Change the font size and border radius of the label for this button group."
597
  msgstr ""
598
  "Verander de font size en rand-hoek van de label voor deze knop of knopgroep."
599
 
600
- #: app/Admin/Translations.php:385
601
  msgid "Animation"
602
  msgstr "Animatie"
603
 
604
- #: app/Admin/Translations.php:386
605
  msgid ""
606
  "This will animate this button group to get the attention of the visitor. The "
607
  "animation repeats itself every 10 seconds."
@@ -609,95 +622,91 @@ msgstr ""
609
  "Deze optie zal de knopgroep animeren om de aandacht te trekken van de "
610
  "bezoeker. De animatie wordt om de 10 seconden herhaald."
611
 
612
- #: app/Admin/Translations.php:388
613
  msgid "No animation"
614
  msgstr "Geen animatie"
615
 
616
- #: app/Admin/Translations.php:389
617
  msgid "Buttonizer Hello"
618
  msgstr "Buttonizer Hallo"
619
 
620
- #: app/Admin/Translations.php:390
621
  msgid "Bounce"
622
  msgstr "Springen"
623
 
624
- #: app/Admin/Translations.php:391
625
  msgid "Jelly"
626
  msgstr "Pudding"
627
 
628
- #: app/Admin/Translations.php:392
629
  msgid "Pulse"
630
  msgstr "Pulse"
631
 
632
- #: app/Admin/Translations.php:396
633
  msgid "Position"
634
  msgstr "Positie"
635
 
636
- #: app/Admin/Translations.php:397
637
  msgid "Change the position of this button group."
638
  msgstr "Verander de positie van de knopgroep."
639
 
640
- #: app/Admin/Translations.php:400
641
  msgid "Bottom right"
642
  msgstr "Rechts onderin"
643
 
644
- #: app/Admin/Translations.php:401
645
  msgid "Bottom left"
646
  msgstr "Links onderin"
647
 
648
- #: app/Admin/Translations.php:402
649
  msgid "Top right"
650
  msgstr "Rechts bovenin"
651
 
652
- #: app/Admin/Translations.php:403
653
  msgid "Top left"
654
  msgstr "Links bovenin"
655
 
656
- #: app/Admin/Translations.php:404
657
- msgid "Custom"
658
- msgstr "Aangepast"
659
-
660
- #: app/Admin/Translations.php:408
661
  msgid "Menu Style"
662
  msgstr "Menustijl"
663
 
664
- #: app/Admin/Translations.php:409
665
  msgid "Change the menu style of this button group."
666
  msgstr "Verander de menustijl van deze knopgroep."
667
 
668
- #: app/Admin/Translations.php:412
669
  msgid "Default"
670
  msgstr "Standaard"
671
 
672
- #: app/Admin/Translations.php:413
673
  msgid "Faded"
674
  msgstr "Faded"
675
 
676
- #: app/Admin/Translations.php:414
677
  msgid "Corner circle"
678
  msgstr "Hoekcirkel"
679
 
680
- #: app/Admin/Translations.php:415
681
  msgid "Build Up"
682
  msgstr "Opbouwen"
683
 
684
- #: app/Admin/Translations.php:416
685
  msgid "Pop"
686
  msgstr "Pop"
687
 
688
- #: app/Admin/Translations.php:417
689
  msgid "Square"
690
  msgstr "Vierkant"
691
 
692
- #: app/Admin/Translations.php:418
693
  msgid "Rectangle"
694
  msgstr "Rechthoek"
695
 
696
- #: app/Admin/Translations.php:422 app/Admin/Translations.php:426
697
  msgid "Visibility"
698
  msgstr "Zichtbaarheid"
699
 
700
- #: app/Admin/Translations.php:423
701
  msgid ""
702
  "Always show the label, show the label on hover or hide the label on "
703
  "<u>desktop devices</u>."
@@ -705,32 +714,32 @@ msgstr ""
705
  "Altijd de label weergeven, alleen weergeven wanneer je er met de muis "
706
  "overheen gaat, of verberg de label op <u>desktop</u>."
707
 
708
- #: app/Admin/Translations.php:427
709
  msgid "Always show or hide the label on <u>mobile devices</u>."
710
  msgstr ""
711
  "Altijd de label weergeven of verberg de label op <u>mobiele apparaten</u>."
712
 
713
- #: app/Admin/Translations.php:430
714
  msgid "Always show label"
715
  msgstr "Label altijd tonen"
716
 
717
- #: app/Admin/Translations.php:431
718
  msgid "Show label on hover"
719
  msgstr "Label alleen tonen bij muis-hover"
720
 
721
- #: app/Admin/Translations.php:432
722
  msgid "Hide label"
723
  msgstr "Label verbergen"
724
 
725
- #: app/Admin/Translations.php:435
726
  msgid "Show on"
727
  msgstr "Weergeven op"
728
 
729
- #: app/Admin/Translations.php:436
730
  msgid "Device visibility"
731
  msgstr "Apparaatzichtbaarheid"
732
 
733
- #: app/Admin/Translations.php:437
734
  msgid ""
735
  "Choose if you want to make this button group visible on desktop and mobile "
736
  "devices."
@@ -738,101 +747,101 @@ msgstr ""
738
  "Kies of u deze knopgroep zichtbaar wilt maken op desktops en mobiele "
739
  "apparaten."
740
 
741
- #: app/Admin/Translations.php:438
742
  msgid "Mobile"
743
  msgstr "Mobiel"
744
 
745
- #: app/Admin/Translations.php:439
746
  msgid "Desktop"
747
  msgstr "Desktop"
748
 
749
- #: app/Admin/Translations.php:442
750
  msgid "Start opened"
751
  msgstr "Start geopend"
752
 
753
- #: app/Admin/Translations.php:443
754
  msgid "This button group starts opened when this setting is enabled."
755
  msgstr "De knopgroep start geopend wanneer deze instelling geactiveerd is."
756
 
757
- #: app/Admin/Translations.php:446
758
  msgid "Use the same style of main button"
759
  msgstr "Gebruik de zelfde stijl van de hoofdknop"
760
 
761
- #: app/Admin/Translations.php:447
762
  msgid "When enabled, this button will use the same style as the button group."
763
  msgstr ""
764
  "Wanneer deze optie is ingeschakeld zal deze de stijl van de groep gebruiken."
765
 
766
  #. translators: 'id' as in HTML attribute 'id'
767
- #: app/Admin/Translations.php:451
768
  msgid "Custom ID"
769
  msgstr "Aangepast ID"
770
 
771
  #. translators: 'id' as in HTML attribute 'id'
772
- #: app/Admin/Translations.php:453
773
  msgid "Adds a custom 'id' HTML attribute to the button."
774
  msgstr "Voegt een aangepast 'id' HTML attribuut toe aan de knop."
775
 
776
  #. translators: 'id' as in HTML attribute 'id'
777
- #: app/Admin/Translations.php:455
778
  msgid "You can add a custom ID to each button for styling purposes."
779
  msgstr "Je kan aan elke knop een aangepaste ID toevoegen voor extra styling."
780
 
781
  #. translators: 'id' as in HTML attribute 'id'
782
- #: app/Admin/Translations.php:457
783
  msgid "ID name"
784
  msgstr "ID naam"
785
 
786
  #. translators: 'class' as in HTML attribute 'class'
787
- #: app/Admin/Translations.php:461
788
  msgid "Custom class"
789
  msgstr "Aangepaste class"
790
 
791
  #. translators: 'class' as in HTML attribute 'class'
792
- #: app/Admin/Translations.php:463 app/Admin/Translations.php:471
793
  msgid "Adds a custom 'class' HTML attribute to the button."
794
  msgstr "Voegt een aangepast 'class' HTML attribuut toe aan de knop."
795
 
796
  #. translators: 'class' as in HTML attribute 'class'
797
- #: app/Admin/Translations.php:465 app/Admin/Translations.php:472
798
  msgid "You can add a custom class to each button for styling purposes."
799
  msgstr ""
800
  "Je kan aan elke knop een aangepaste class toevoegen voor extra styling."
801
 
802
  #. translators: 'class' as in HTML attribute 'class'
803
- #: app/Admin/Translations.php:467
804
  msgid "Class name"
805
  msgstr "Class naam"
806
 
807
- #: app/Admin/Translations.php:470 app/Admin/Translations.php:814
808
  msgid "Page rule"
809
  msgstr "Pagina regel"
810
 
811
- #: app/Admin/Translations.php:473
812
  msgid "Manage page rules"
813
  msgstr "Beheer pagina regels"
814
 
815
- #: app/Admin/Translations.php:474
816
  msgid "You cannot select the same page rule as it's group!"
817
  msgstr "Je kan niet dezelfde pagina-regel kiezen als de groep!"
818
 
819
- #: app/Admin/Translations.php:477
820
  msgid "Show button when rule is triggered"
821
  msgstr "Toon knop wanneer de regel wordt getriggered"
822
 
823
- #: app/Admin/Translations.php:478
824
  msgid "Hide button when rule is triggered"
825
  msgstr "Verberg knop wanneer de regel wordt getriggered"
826
 
827
- #: app/Admin/Translations.php:483 app/Admin/Translations.php:985
828
  msgid "Exit intent"
829
  msgstr "Exit intent"
830
 
831
- #: app/Admin/Translations.php:484
832
  msgid "Enable exit intent"
833
  msgstr "Exit intent inschakelen"
834
 
835
- #: app/Admin/Translations.php:485
836
  msgid ""
837
  "With this setting, you can trigger Buttonizer to animate before your guest "
838
  "exits your website."
@@ -840,7 +849,7 @@ msgstr ""
840
  "Met deze instelling kun je Buttonizer laten animeren wanneer de gast je "
841
  "website wilt verlaten."
842
 
843
- #: app/Admin/Translations.php:486
844
  msgid ""
845
  "Please note: Exit intent will <b>not trigger</b> in preview mode, only in "
846
  "your LIVE website."
@@ -848,107 +857,107 @@ msgstr ""
848
  "Let op: Exit intent zal niet worden <b>geactiveerd</b> in voorbeeld-modus, "
849
  "alleen op uw LIVE-website zal dit te zien zijn."
850
 
851
- #: app/Admin/Translations.php:488
852
  msgid "When to trigger?"
853
  msgstr "Wanneer activeren?"
854
 
855
- #: app/Admin/Translations.php:489
856
  msgid "Trigger when leaving browser window"
857
  msgstr "Trigger wanneer de browser wordt verlaten"
858
 
859
- #: app/Admin/Translations.php:490
860
  msgid "Trigger on inactivity (2 minutes)"
861
  msgstr "Trigger op inactiviteit (2 minuten)"
862
 
863
- #: app/Admin/Translations.php:493
864
  msgid "How often should it be triggered?"
865
  msgstr "Hoe vaak moet het worden geactiveerd?"
866
 
867
- #: app/Admin/Translations.php:494
868
  msgid "Only trigger once per page"
869
  msgstr "Eenmalig per pagina"
870
 
871
- #: app/Admin/Translations.php:495
872
  msgid "Only trigger once per session"
873
  msgstr "Eenmalig per bezoek-sessie"
874
 
875
- #: app/Admin/Translations.php:496
876
  msgid "Trigger every time"
877
  msgstr "Altijd triggeren"
878
 
879
- #: app/Admin/Translations.php:500
880
  msgid "Animation on intent"
881
  msgstr "Animatie bij intentie"
882
 
883
- #: app/Admin/Translations.php:501
884
  msgid "Focused"
885
  msgstr "Gefocust"
886
 
887
- #: app/Admin/Translations.php:502
888
  msgid "Open menu"
889
  msgstr "Open menu"
890
 
891
- #: app/Admin/Translations.php:503
892
  msgid "Jump once and open"
893
  msgstr "Spring en open"
894
 
895
- #: app/Admin/Translations.php:504
896
  msgid "Flip and open"
897
  msgstr "Flip en open"
898
 
899
- #: app/Admin/Translations.php:509
900
  msgid "Button action"
901
  msgstr "Knop actie"
902
 
903
- #: app/Admin/Translations.php:510
904
  msgid "Choose a click action for this button."
905
  msgstr "Kies een klik-actie voor deze knop."
906
 
907
- #: app/Admin/Translations.php:511
908
  msgid "Select button action"
909
  msgstr "Selecteer knop-actie"
910
 
911
- #: app/Admin/Translations.php:512
912
  msgid "No button action found for:"
913
  msgstr "Geen knop-actie gevonden voor:"
914
 
915
- #: app/Admin/Translations.php:515
916
  msgid "Popular actions"
917
  msgstr "Populaire acties"
918
 
919
- #: app/Admin/Translations.php:516
920
  msgid "Click to chat"
921
  msgstr "Klik om te chatten"
922
 
923
- #: app/Admin/Translations.php:517
924
  msgid "Social Media"
925
  msgstr "Sociale media"
926
 
927
- #: app/Admin/Translations.php:518
928
  msgid "Popup"
929
  msgstr "Pop-up"
930
 
931
- #: app/Admin/Translations.php:520
932
  msgid "Call action (phone number)"
933
  msgstr "Bel actie (telefoonnummer)"
934
 
935
- #: app/Admin/Translations.php:521
936
  msgid "Mail action (email address)"
937
  msgstr "E-mail actie (e-mail adres)"
938
 
939
- #: app/Admin/Translations.php:522
940
  msgid "Back to top"
941
  msgstr "Terug naar boven"
942
 
943
- #: app/Admin/Translations.php:523
944
  msgid "Go back one page"
945
  msgstr "Vorige pagina"
946
 
947
- #: app/Admin/Translations.php:524
948
  msgid "Share page"
949
  msgstr "Deel pagina"
950
 
951
- #: app/Admin/Translations.php:525
952
  msgid ""
953
  "Some sms apps does not support a body tag. When this happens, it will simply "
954
  "open the sms app with the phone number already filled in."
@@ -956,7 +965,7 @@ msgstr ""
956
  "Sommige SMS apps bieden niet de mogelijkheid om een bericht mee te sturen. "
957
  "Wanneer dit gebeurt zal de app alleen het telefoonnummer gebruiken."
958
 
959
- #: app/Admin/Translations.php:526
960
  msgid ""
961
  "Viber does not support a \"chat with phone number \" link. When a user "
962
  "clicks on this button it will open their \"add contact\" with the number "
@@ -967,7 +976,7 @@ msgstr ""
967
  "telefoonnummer vooringesteld."
968
 
969
  #. translators: %s and %s will be replaced with links
970
- #: app/Admin/Translations.php:529
971
  msgid ""
972
  "New, Facebook Messenger Chat Widget! First, you'll need to <a "
973
  "%1$s>whitelist</a> your site on Facebook. Then add your <a %2$s>Page ID</a> "
@@ -978,7 +987,7 @@ msgstr ""
978
  "hierboven invullen."
979
 
980
  #. translators: %s and %s will be replaced with links
981
- #: app/Admin/Translations.php:534
982
  msgid ""
983
  "You need to install Poptin's WordPress plugin. You can find it <a %1$s>here</"
984
  "a>. Once you've made a Poptin paste the <a %2$s>direct link</a> into the "
@@ -989,21 +998,21 @@ msgstr ""
989
  "%2$s>directe link</a> in."
990
 
991
  #. translators: %s will become the social media platform, like example: Share on Twitter
992
- #: app/Admin/Translations.php:539
993
  msgid "Share on %s"
994
  msgstr "Delen op %s"
995
 
996
  #. translators: %s will become the social media platform, like example: Share via email
997
- #: app/Admin/Translations.php:545
998
  msgid "Share via %s"
999
  msgstr "Delen via %s"
1000
 
1001
- #: app/Admin/Translations.php:550
1002
  msgid "This URL appears to be invalid. The button may not work as expected."
1003
  msgstr ""
1004
  "Dit lijkt op een ongeldige link. De knop werkt mogelijk niet zoals verwacht."
1005
 
1006
- #: app/Admin/Translations.php:551
1007
  msgid ""
1008
  "Do you miss <b>http://</b> or <b>https://</b>? Perhaps an unnecessary space "
1009
  "is added somewhere."
@@ -1011,7 +1020,7 @@ msgstr ""
1011
  "Mis je <b>http://</b> of <b>https://</b>? Misschien heb je een onnodige "
1012
  "spatie ergens toegevoegd."
1013
 
1014
- #: app/Admin/Translations.php:552
1015
  msgid ""
1016
  "<b>Insecure URL:</b> Sorry to interrupt, but we advice you to use HTTPS for "
1017
  "your URLS. This is a safer way to transport data."
@@ -1020,15 +1029,15 @@ msgstr ""
1020
  "te gebruiken voor je links waar mogelijk. Dit is een veiligere manier voor "
1021
  "het transporteren van data."
1022
 
1023
- #: app/Admin/Translations.php:556
1024
  msgid "Javascript function"
1025
  msgstr "Javascript functie"
1026
 
1027
- #: app/Admin/Translations.php:557
1028
  msgid "Warning! Before you continue..."
1029
  msgstr "Waarschuwing! Voordat je verdergaat..."
1030
 
1031
- #: app/Admin/Translations.php:558
1032
  msgid ""
1033
  "You are changing this button action from custom javascript to a different "
1034
  "action. Your javascript changes will be lost."
@@ -1036,12 +1045,12 @@ msgstr ""
1036
  "Je veranderd de knopactie van aangepaste javascript naar een andere actie. "
1037
  "Je javascript wijzigingen zullen verloren gaan."
1038
 
1039
- #: app/Admin/Translations.php:559
1040
  msgid "Are you sure you want to proceed?"
1041
  msgstr "Weet je zeker dat je verder wilt gaan?"
1042
 
1043
  #. translators: %s will be replaced with html attributes for the link
1044
- #: app/Admin/Translations.php:564
1045
  msgid ""
1046
  "Fill in your phone number without any spaces and symbols. Read WhatsApps "
1047
  "recommendations by <a %s>clicking here.</a>"
@@ -1050,7 +1059,7 @@ msgstr ""
1050
  "aanbevelingen door <a %s>hier te klikken.</a>"
1051
 
1052
  #. translators: %1$s and %2$s will be replaced with links
1053
- #: app/Admin/Translations.php:570
1054
  msgid ""
1055
  "When you want to use Twitter DM you will need to find your Twitter User ID "
1056
  "and allow direct messages from anyone. To find your account ID <a %1$s>click "
@@ -1062,63 +1071,63 @@ msgstr ""
1062
  "%1$s>klik je hier</a>. Om meer informatie te vinden over hoe je directe "
1063
  "berichten van iedereen toestaat, <a %2$s>klik hier</a>."
1064
 
1065
- #: app/Admin/Translations.php:576
1066
  msgid "Message"
1067
  msgstr "Bericht"
1068
 
1069
- #: app/Admin/Translations.php:577
1070
  msgid "Username"
1071
  msgstr "Gebruikersnaam"
1072
 
1073
- #: app/Admin/Translations.php:579
1074
  msgid "Recipient"
1075
  msgstr "Ontvanger"
1076
 
1077
- #: app/Admin/Translations.php:580
1078
  msgid "Subject"
1079
  msgstr "Onderwerp"
1080
 
1081
- #: app/Admin/Translations.php:581
1082
  msgid "Body"
1083
  msgstr "Inhoud"
1084
 
1085
- #: app/Admin/Translations.php:588
1086
  msgid "Open new tab"
1087
  msgstr "Open in een nieuw tabblad"
1088
 
1089
- #: app/Admin/Translations.php:589
1090
  msgid "When the button is clicked, open in new tab."
1091
  msgstr "Wanneer er op de knop wordt geklikt, open in een nieuw tabblad."
1092
 
1093
- #: app/Admin/Translations.php:593
1094
  msgid "Filters"
1095
  msgstr "Filters"
1096
 
1097
- #: app/Admin/Translations.php:594
1098
  msgid "Styling"
1099
  msgstr "Stijl"
1100
 
1101
- #: app/Admin/Translations.php:595
1102
  msgid "Timeout & Scroll"
1103
  msgstr "Time-out & Scrollen"
1104
 
1105
- #: app/Admin/Translations.php:607 app/Admin/Translations.php:1074
1106
  msgid "Buttonizer settings"
1107
  msgstr "Buttonizer instellingen"
1108
 
1109
- #: app/Admin/Translations.php:610
1110
  msgid "Icon library"
1111
  msgstr "Icoon set"
1112
 
1113
- #: app/Admin/Translations.php:611
1114
  msgid "free"
1115
  msgstr "gratis"
1116
 
1117
- #: app/Admin/Translations.php:612
1118
  msgid "Latest (automatic)"
1119
  msgstr "Laatste (automatisch)"
1120
 
1121
- #: app/Admin/Translations.php:613
1122
  msgid ""
1123
  "If your theme automatically loads in a library, just select the correct icon "
1124
  "library instead."
@@ -1126,11 +1135,11 @@ msgstr ""
1126
  "Wanneer je thema automatisch iconen inlaad moet je de juiste icoon-"
1127
  "bibliotheek kiezen."
1128
 
1129
- #: app/Admin/Translations.php:617
1130
  msgid "Select version"
1131
  msgstr "Selecteer versie"
1132
 
1133
- #: app/Admin/Translations.php:618
1134
  msgid ""
1135
  "Select the correct version of the library in order to use the icons in "
1136
  "Buttonizer."
@@ -1138,7 +1147,7 @@ msgstr ""
1138
  "Selecteer de juiste versie van de iconen die je gebruikt op je website zodat "
1139
  "je deze kunt selecteren in Buttonizer."
1140
 
1141
- #: app/Admin/Translations.php:623
1142
  msgid ""
1143
  "You have selected an icon library that has premium icons. Enter the library "
1144
  "license code to view and use these."
@@ -1146,20 +1155,20 @@ msgstr ""
1146
  "Je hebt een icoon bibliotheek gekozen die premium iconen bevat. Vul de icoon-"
1147
  "licentie in om deze weer te geven."
1148
 
1149
- #: app/Admin/Translations.php:624
1150
  msgid "How does this work?"
1151
  msgstr "Hoe werkt dit?"
1152
 
1153
  #. translators: String will be replaced with 'integrity' or 'license'
1154
- #: app/Admin/Translations.php:629
1155
  msgid "Enter %s code"
1156
  msgstr "Vul de %s code in"
1157
 
1158
- #: app/Admin/Translations.php:636
1159
  msgid "Import icon library"
1160
  msgstr "Iconen inladen"
1161
 
1162
- #: app/Admin/Translations.php:637
1163
  msgid ""
1164
  "Should Buttonizer import the icon library into your theme? If your theme "
1165
  "already imports the library you can disable this."
@@ -1167,43 +1176,43 @@ msgstr ""
1167
  "Moet Buttonizer de iconen importeren in je thema? Wanneer je thema al iconen "
1168
  "inlaad kan je deze optie uitschakelen."
1169
 
1170
- #: app/Admin/Translations.php:643
1171
  msgid "Where can I see my click data of my buttons in Google Analytics?"
1172
  msgstr ""
1173
  "Waar kan ik mijn klik-data vinden van mijn knoppen in Google Analytics?"
1174
 
1175
  #. translators: Please keep the code-example 'UA-000000-2'
1176
- #: app/Admin/Translations.php:646
1177
  msgid "Insert the Google Analytics tracking code here. Example: UA-000000-2"
1178
  msgstr "Vul hier je Google Analytics tracking code in. Voorbeeld: UA-000000-2"
1179
 
1180
- #: app/Admin/Translations.php:651
1181
  msgid "Other settings"
1182
  msgstr "Overige instellingen"
1183
 
1184
- #: app/Admin/Translations.php:654
1185
  msgid "Show admin top bar"
1186
  msgstr "Weergeven in de admin bovenbalk"
1187
 
1188
- #: app/Admin/Translations.php:655
1189
  msgid "Hide Buttonizer in the admin top bar by disabling this setting."
1190
  msgstr ""
1191
  "Verberg Buttonizer in de admin top balk door deze instelling uit te "
1192
  "schakelen."
1193
 
1194
- #: app/Admin/Translations.php:659
1195
  msgid "Show tooltips"
1196
  msgstr "Tooltips weergeven"
1197
 
1198
- #: app/Admin/Translations.php:660
1199
  msgid "Hide the tooltips by disabling this setting."
1200
  msgstr "Verberg tooltips door deze instelling uit te schakelen."
1201
 
1202
- #: app/Admin/Translations.php:664
1203
  msgid "Subdomain support"
1204
  msgstr "Subdomein ondersteuning"
1205
 
1206
- #: app/Admin/Translations.php:665
1207
  msgid ""
1208
  "Some WordPress websites use subdomains for content purposes. Enable this "
1209
  "setting to allow Buttonizer to load on your subdomains. Only enable this "
@@ -1213,21 +1222,21 @@ msgstr ""
1213
  "kan Buttonizer toestemming geven om ook op deze subdomeinen te laden. Zet "
1214
  "deze functie alleen aan als je dit nodig hebt."
1215
 
1216
- #: app/Admin/Translations.php:671
1217
  msgid "Reset"
1218
  msgstr "Reset"
1219
 
1220
- #: app/Admin/Translations.php:672
1221
  msgid "This is a way to reset Buttonizer to the default settings."
1222
  msgstr ""
1223
  "Dit is een manier om Buttonizer terug naar de begin-instellingen te laten "
1224
  "gaan."
1225
 
1226
- #: app/Admin/Translations.php:675
1227
  msgid "What will happen when I click the red button below?"
1228
  msgstr "Wat gebeurt er als ik op de rode knop hieronder druk?"
1229
 
1230
- #: app/Admin/Translations.php:676
1231
  msgid ""
1232
  "The plugin will get a 'factory reset'. All settings of Buttonizer will get "
1233
  "deleted, reverting back to when you first installed and activated Buttonizer."
@@ -1236,11 +1245,11 @@ msgstr ""
1236
  "van Buttonizer zullen worden verwijderd, terug naar het begin toen je net "
1237
  "Buttonizer installeerde."
1238
 
1239
- #: app/Admin/Translations.php:680
1240
  msgid "Why would I do that?"
1241
  msgstr "Waarom zou ik dat doen?"
1242
 
1243
- #: app/Admin/Translations.php:681
1244
  msgid ""
1245
  "Perhaps you ruined your buttons, categories or settings and would like to "
1246
  "start from scratch. Or maybe you just feel trying the reset button..."
@@ -1249,11 +1258,11 @@ msgstr ""
1249
  "toe aan een nieuw begin. Of misschien wil gewoon je de resetknop "
1250
  "uitproberen..."
1251
 
1252
- #: app/Admin/Translations.php:685
1253
  msgid "I have a license, what about that?"
1254
  msgstr "Ik heb een licentie, wat gebeurt daarmee?"
1255
 
1256
- #: app/Admin/Translations.php:686
1257
  msgid ""
1258
  "No worries! Nothing will happen with your license! It only resets the "
1259
  "following:"
@@ -1261,35 +1270,35 @@ msgstr ""
1261
  "Maak je geen zorgen! Er gebeurt niets met je licentie! Het zal alleen de "
1262
  "volgende instellingen resetten:"
1263
 
1264
- #: app/Admin/Translations.php:689
1265
  msgid "Your buttons"
1266
  msgstr "Jouw knoppen"
1267
 
1268
- #: app/Admin/Translations.php:690
1269
  msgid "Your button groups"
1270
  msgstr "Jouw knop groepen"
1271
 
1272
- #: app/Admin/Translations.php:691
1273
  msgid "All time schedules"
1274
  msgstr "Alle tijdschema's"
1275
 
1276
- #: app/Admin/Translations.php:692
1277
  msgid "All page rules"
1278
  msgstr "Alle pagina regels"
1279
 
1280
- #: app/Admin/Translations.php:693
1281
  msgid "All other settings of Buttonizer"
1282
  msgstr "Alle andere instellingen van Buttonizer"
1283
 
1284
- #: app/Admin/Translations.php:694
1285
  msgid "All published settings"
1286
  msgstr "Alle gepubliceerde instellingen"
1287
 
1288
- #: app/Admin/Translations.php:699
1289
  msgid "Okay, sounds good. What then?"
1290
  msgstr "Okey, klinkt goed. En dan?"
1291
 
1292
- #: app/Admin/Translations.php:700
1293
  msgid ""
1294
  "Buttonizer will revert back to the default settings and feel like a fresh "
1295
  "installation. That's all."
@@ -1297,11 +1306,11 @@ msgstr ""
1297
  "Buttonizer zal gaan naar de standaard instellingen en zal zich gedragen als "
1298
  "een nieuwe installatie. Dat is het enige."
1299
 
1300
- #: app/Admin/Translations.php:704
1301
  msgid "Okay, I'm ready!"
1302
  msgstr "Okey, ik ben er klaar voor!"
1303
 
1304
- #: app/Admin/Translations.php:705
1305
  msgid ""
1306
  "Press the red button below to reset Buttonizer. There will be no more "
1307
  "warnings."
@@ -1309,15 +1318,15 @@ msgstr ""
1309
  "Druk op de rode knop hieronder om Buttonizer te resetten. Er zullen geen "
1310
  "waarschuwingen meer volgen."
1311
 
1312
- #: app/Admin/Translations.php:706
1313
  msgid "Reset Buttonizer!"
1314
  msgstr "Reset Buttonizer!"
1315
 
1316
- #: app/Admin/Translations.php:719
1317
  msgid "Loaded changes from previous session"
1318
  msgstr "Aanpassingen geladen van de vorige sessie"
1319
 
1320
- #: app/Admin/Translations.php:721
1321
  msgid ""
1322
  "You left the Buttonizer preview window. You will not see the changes you "
1323
  "make."
@@ -1325,130 +1334,130 @@ msgstr ""
1325
  "Je hebt de Buttonizer voorbeeldscherm verlaten. Wijzigingen die je maakt "
1326
  "zullen niet worden weergegeven."
1327
 
1328
- #: app/Admin/Translations.php:722
1329
  msgid "Return to preview"
1330
  msgstr "Terugkeren naar voorbeeld"
1331
 
1332
- #: app/Admin/Translations.php:723
1333
  msgid "Desktop preview"
1334
  msgstr "Desktop voorbeeld"
1335
 
1336
- #: app/Admin/Translations.php:724
1337
  msgid "Tablet preview"
1338
  msgstr "Tablet voorbeeld"
1339
 
1340
- #: app/Admin/Translations.php:725
1341
  msgid "Mobile preview"
1342
  msgstr "Mobiel voorbeeld"
1343
 
1344
  #. translators: %s becomes version number (eg 2.4.2)
1345
- #: app/Admin/Translations.php:730
1346
  msgid "Version %s"
1347
  msgstr "Versie %s"
1348
 
1349
- #: app/Admin/Translations.php:734
1350
  msgid "Knowledge base"
1351
  msgstr "Kennisbank"
1352
 
1353
- #: app/Admin/Translations.php:735
1354
  msgid "Find out everything you need to know about Buttonizer"
1355
  msgstr "Ontdek alles wat je moet weten over Buttonizer"
1356
 
1357
- #: app/Admin/Translations.php:738
1358
  msgid "Support"
1359
  msgstr "Ondersteuning"
1360
 
1361
- #: app/Admin/Translations.php:740
1362
  msgid "I need support"
1363
  msgstr "Ik heb hulp nodig"
1364
 
1365
- #: app/Admin/Translations.php:741
1366
  msgid "Direct support with the Buttonizer developers"
1367
  msgstr "Directe ondersteuning van de Buttonizer developers"
1368
 
1369
- #: app/Admin/Translations.php:744
1370
  msgid "Community"
1371
  msgstr "Community"
1372
 
1373
- #: app/Admin/Translations.php:745
1374
  msgid "Interact with other Buttonizers"
1375
  msgstr "Communiceer met andere Buttonizers"
1376
 
1377
- #: app/Admin/Translations.php:748
1378
  msgid "Buttonizer tour (recommended!)"
1379
  msgstr "Buttonizer tour (aanbevolen!)"
1380
 
1381
- #: app/Admin/Translations.php:749
1382
  msgid "Start the 2 minute tour"
1383
  msgstr "Start de 2 minuten tour"
1384
 
1385
- #: app/Admin/Translations.php:753
1386
  msgid "Buttonizer account"
1387
  msgstr "Buttonizer account"
1388
 
1389
- #: app/Admin/Translations.php:755
1390
  msgid "My Account"
1391
  msgstr "Mijn account"
1392
 
1393
- #: app/Admin/Translations.php:758
1394
  msgid "Upgrade or pricing"
1395
  msgstr "Upgraden en prijzen"
1396
 
1397
- #: app/Admin/Translations.php:761
1398
  msgid "Affiliation"
1399
  msgstr "Partner worden"
1400
 
1401
- #: app/Admin/Translations.php:762
1402
  msgid "Earn $ by promoting Buttonizer"
1403
  msgstr "Verdien $ voor het promoten van Buttonizer"
1404
 
1405
- #: app/Admin/Translations.php:765
1406
  msgid "Options"
1407
  msgstr "Opties"
1408
 
1409
- #: app/Admin/Translations.php:769
1410
  msgid "Now editing:"
1411
  msgstr "Nu aan het bewerken:"
1412
 
1413
- #: app/Admin/Translations.php:770
1414
  msgid "This creates a new group with 2 buttons inside."
1415
  msgstr "Dit maakt een nieuwe groep aan met 2 knoppen."
1416
 
1417
- #: app/Admin/Translations.php:771
1418
  msgid "This creates a new button, outside other groups."
1419
  msgstr "Dit maakt een knop aan, buiten de andere groepen."
1420
 
1421
- #: app/Admin/Translations.php:772
1422
  msgid "Learn more about groups and buttons"
1423
  msgstr "Lees meer over groepen en knoppen"
1424
 
1425
- #: app/Admin/Translations.php:773
1426
  msgid "You can't drag the only button left in a group!"
1427
  msgstr ""
1428
  "Je kan deze knop niet slepen aangezien dit de enige knop is die over is!"
1429
 
1430
- #: app/Admin/Translations.php:774
1431
  msgid "Convert to group"
1432
  msgstr "Converteren naar groep"
1433
 
1434
- #: app/Admin/Translations.php:777
1435
  msgid "Delete button"
1436
  msgstr "Verwijder knop"
1437
 
1438
- #: app/Admin/Translations.php:778
1439
  msgid "Delete group"
1440
  msgstr "Verwijder groep"
1441
 
1442
- #: app/Admin/Translations.php:779
1443
  msgid "Are you sure you want to remove this button?"
1444
  msgstr "Weet je zeker dat je deze knop wilt verwijderen?"
1445
 
1446
- #: app/Admin/Translations.php:780
1447
  msgid "Are you sure you want to remove this group?"
1448
  msgstr "Weet je zeker dat je deze groep wilt verwijderen?"
1449
 
1450
  #. translators: %s will be replaced with a number
1451
- #: app/Admin/Translations.php:783
1452
  msgid ""
1453
  "Are you sure you want to remove this full group? It contains %s buttons."
1454
  msgstr ""
@@ -1456,27 +1465,27 @@ msgstr ""
1456
  "%s knoppen."
1457
 
1458
  #. translators: %s will be replaced with the button name
1459
- #: app/Admin/Translations.php:789
1460
  msgid "Are you sure you want to remove the button called '%s'?"
1461
  msgstr "Weet je zeker dat je de knop '%s' wilt verwijderen?"
1462
 
1463
- #: app/Admin/Translations.php:793
1464
  msgid "You cannot delete this button because this the only button left."
1465
  msgstr "Je kan deze knop niet verwijderen omdat het de enige knop is."
1466
 
1467
- #: app/Admin/Translations.php:794
1468
  msgid "You cannot delete this group because this the only group left."
1469
  msgstr "Je kan deze groep niet verwijderen omdat het de enige groep is."
1470
 
1471
- #: app/Admin/Translations.php:807
1472
  msgid "Page rules"
1473
  msgstr "Paginaregels"
1474
 
1475
- #: app/Admin/Translations.php:808
1476
  msgid "Page Rule Manager"
1477
  msgstr "Pagina regel beheer"
1478
 
1479
- #: app/Admin/Translations.php:809
1480
  msgid ""
1481
  "You can setup page rules via this window. When you add pages or definitions "
1482
  "to this page rule, the buttons attached to this page rule will be shown or "
@@ -1487,7 +1496,7 @@ msgstr ""
1487
  "gekoppeld staan worden weergegeven of verborgen, afhankelijk van je "
1488
  "instellingen zodra de regel wordt getriggerd."
1489
 
1490
- #: app/Admin/Translations.php:810
1491
  msgid ""
1492
  "You can setup page rules that will get triggered on specific pages or user "
1493
  "roles. You can create unlimited page rules with multiple rules to trigger."
@@ -1496,113 +1505,113 @@ msgstr ""
1496
  "specifieke pagina's of gebruikersrollen. Je kan een onbeperkt aantal pagina "
1497
  "regels toevoegen met verschillende condities."
1498
 
1499
- #: app/Admin/Translations.php:811
1500
  msgid "Add page rule"
1501
  msgstr "Pagina regel toevoegen"
1502
 
1503
- #: app/Admin/Translations.php:812
1504
  msgid "Add rule"
1505
  msgstr "Regel toevoegen"
1506
 
1507
- #: app/Admin/Translations.php:813
1508
  msgid "Name your page rule:"
1509
  msgstr "Geef de pagina regel een naam:"
1510
 
1511
- #: app/Admin/Translations.php:815
1512
  msgid "Show the button on any page"
1513
  msgstr "Laat de knop op elke pagina zien"
1514
 
1515
- #: app/Admin/Translations.php:816
1516
  msgid "Remove page rule"
1517
  msgstr "Pagina regel verwijderen"
1518
 
1519
- #: app/Admin/Translations.php:820
1520
  msgid "All conditions must meet (AND)"
1521
  msgstr "Moet voldoen aan alle condities (EN)"
1522
 
1523
- #: app/Admin/Translations.php:821
1524
  msgid "At least one condition must meet (OR)"
1525
  msgstr "Moet voldoen aan minimaal 1 conditie (OF)"
1526
 
1527
- #: app/Admin/Translations.php:825
1528
  msgid "and"
1529
  msgstr "en"
1530
 
1531
- #: app/Admin/Translations.php:826
1532
  msgid "or"
1533
  msgstr "of"
1534
 
1535
- #: app/Admin/Translations.php:829
1536
  msgid "Page"
1537
  msgstr "Pagina"
1538
 
1539
- #: app/Admin/Translations.php:830
1540
  msgid "Page title contains"
1541
  msgstr "Pagina titel bevat"
1542
 
1543
- #: app/Admin/Translations.php:831
1544
  msgid "Blog"
1545
  msgstr "Blog"
1546
 
1547
- #: app/Admin/Translations.php:832
1548
  msgid "Blog title contains"
1549
  msgstr "Blog titel bevat"
1550
 
1551
- #: app/Admin/Translations.php:833
1552
  msgid "Category"
1553
  msgstr "Categorie"
1554
 
1555
- #: app/Admin/Translations.php:834
1556
  msgid "URL contains"
1557
  msgstr "URL bevat"
1558
 
1559
- #: app/Admin/Translations.php:835
1560
  msgid "URL begins with"
1561
  msgstr "URL begint met"
1562
 
1563
- #: app/Admin/Translations.php:836
1564
  msgid "URL ends with"
1565
  msgstr "URL eindigt met"
1566
 
1567
- #: app/Admin/Translations.php:837
1568
  msgid "User has role"
1569
  msgstr "Gebruiker heeft specifieke rol"
1570
 
1571
- #: app/Admin/Translations.php:840
1572
  msgid "Select one or more items."
1573
  msgstr "Selecteer een of meer items."
1574
 
1575
- #: app/Admin/Translations.php:841
1576
  msgid "Are you sure you want to remove this rule?"
1577
  msgstr "Weet je zeker dat je deze regel wilt verwijderen?"
1578
 
1579
- #: app/Admin/Translations.php:842
1580
  msgid "Aborted. Each page rule must keep at least one rule."
1581
  msgstr "Afgebroken. Elke pagina regel moet in ieder geval één regel houden."
1582
 
1583
- #: app/Admin/Translations.php:843
1584
  msgid "You still have selected values, are you sure you want to remove this?"
1585
  msgstr ""
1586
  "Je hebt nog geselecteerde waarden, weet je zeker dat je deze wilt "
1587
  "verwijderen?"
1588
 
1589
- #: app/Admin/Translations.php:844
1590
  msgid "Rule value"
1591
  msgstr "Regel waarde"
1592
 
1593
- #: app/Admin/Translations.php:855
1594
  msgid "Time schedules"
1595
  msgstr "Tijdschema's"
1596
 
1597
- #: app/Admin/Translations.php:856
1598
  msgid "Time schedule"
1599
  msgstr "Tijdschema"
1600
 
1601
- #: app/Admin/Translations.php:857
1602
  msgid "Time schedule manager"
1603
  msgstr "Tijdschema beheer"
1604
 
1605
- #: app/Admin/Translations.php:858
1606
  msgid ""
1607
  "You can setup time schedules that will get triggered during specific times "
1608
  "of a day. It is even possible to change the schedule actions for specific "
@@ -1613,69 +1622,69 @@ msgstr ""
1613
  "passen voor specifieke dagen. Je kan een onbeperkt aantal tijdschema's "
1614
  "aanmaken."
1615
 
1616
- #: app/Admin/Translations.php:861
1617
  msgid "Add schedule"
1618
  msgstr "Tijdschema toevoegen"
1619
 
1620
- #: app/Admin/Translations.php:862
1621
  msgid "Add date"
1622
  msgstr "Datum toevoegen"
1623
 
1624
- #: app/Admin/Translations.php:863
1625
  msgid "New schedule"
1626
  msgstr "Nieuwe tijdschema"
1627
 
1628
- #: app/Admin/Translations.php:864
1629
  msgid "Name the new time schedule:"
1630
  msgstr "Geef het nieuwe tijdsschema een naam:"
1631
 
1632
- #: app/Admin/Translations.php:865
1633
  msgid "Rename schedule to:"
1634
  msgstr "Hernoem tijdschema naar:"
1635
 
1636
- #: app/Admin/Translations.php:866
1637
  msgid "Show the button at any time"
1638
  msgstr "De knop altijd weergeven"
1639
 
1640
  #. translators: %s becomes weekday or specific date ('Trigger on monday' or 'Trigger om January 1, 2019')
1641
- #: app/Admin/Translations.php:869
1642
  msgid "Trigger on %s"
1643
  msgstr "Toon op %s"
1644
 
1645
  #. translators: 'till' as in '10:00 till 11:30'
1646
- #: app/Admin/Translations.php:873
1647
  msgid "till"
1648
  msgstr "tot"
1649
 
1650
- #: app/Admin/Translations.php:876
1651
  msgid "Remove schedule"
1652
  msgstr "Tijdschema verwijderen"
1653
 
1654
- #: app/Admin/Translations.php:877
1655
  msgid "You must keep at least one schedule"
1656
  msgstr "Je moet minimaal één tijdschema behouden"
1657
 
1658
- #: app/Admin/Translations.php:878
1659
  msgid "Current timezone:"
1660
  msgstr "Huidige tijdzone:"
1661
 
1662
- #: app/Admin/Translations.php:881
1663
  msgid "Remove date"
1664
  msgstr "Datum verwijderen"
1665
 
1666
- #: app/Admin/Translations.php:882
1667
  msgid "Are you sure you want to remove this date?"
1668
  msgstr "Weet je zeker dat je deze datum wilt verwijderen?"
1669
 
1670
  #. translators: The strings will be replaced with time (example: 10:10)
1671
- #: app/Admin/Translations.php:889
1672
  msgid "Sorry, the time '%1$s' was invalid. Reverting back to '%2$s'."
1673
  msgstr ""
1674
  "Sorry, de gekozen tijd '%1$s' is niet geldig. De tijd wordt teruggezet naar "
1675
  "'%2$s'."
1676
 
1677
  #. translators: The strings will be replaced with time (example: 10:10)
1678
- #: app/Admin/Translations.php:895
1679
  msgid ""
1680
  "The start time '%1$s' conflicts with the end time '%2$s'. Time has been "
1681
  "reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
@@ -1684,7 +1693,7 @@ msgstr ""
1684
  "teruggezet naar '%3$s'. Zorg dat je minimaal 5 minuten speling hebt."
1685
 
1686
  #. translators: The strings will be replaced with time (example: 10:10)
1687
- #: app/Admin/Translations.php:901
1688
  msgid ""
1689
  "The end time '%1$s' conflicts with the start time '%2$s'. Time has been "
1690
  "reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
@@ -1692,43 +1701,43 @@ msgstr ""
1692
  "De eindtijd '%1$s' heeft een conflict met de starttijd '%2$s'. De tijd is "
1693
  "teruggezet naar '%3$s'. Zorg dat je minimaal 5 minuten speling hebt."
1694
 
1695
- #: app/Admin/Translations.php:908
1696
  msgid "Weekdays"
1697
  msgstr "Weekdagen"
1698
 
1699
- #: app/Admin/Translations.php:909
1700
  msgid "Monday"
1701
  msgstr "maandag"
1702
 
1703
- #: app/Admin/Translations.php:910
1704
  msgid "Tuesday"
1705
  msgstr "dinsdag"
1706
 
1707
- #: app/Admin/Translations.php:911
1708
  msgid "Wednesday"
1709
  msgstr "woensdag"
1710
 
1711
- #: app/Admin/Translations.php:912
1712
  msgid "Thursday"
1713
  msgstr "donderdag"
1714
 
1715
- #: app/Admin/Translations.php:913
1716
  msgid "Friday"
1717
  msgstr "vrijdag"
1718
 
1719
- #: app/Admin/Translations.php:914
1720
  msgid "Saturday"
1721
  msgstr "zaterdag"
1722
 
1723
- #: app/Admin/Translations.php:915
1724
  msgid "Sunday"
1725
  msgstr "zondag"
1726
 
1727
- #: app/Admin/Translations.php:918
1728
  msgid "Exclude dates"
1729
  msgstr "Uitgezonderde dagen"
1730
 
1731
- #: app/Admin/Translations.php:919
1732
  msgid ""
1733
  "You are able to add specific dates to show or hide the buttons attached to "
1734
  "this time scheme. So you can say something like this: \"<i>I am opened on "
@@ -1743,16 +1752,16 @@ msgstr ""
1743
  "Deze data kun je toevoegen en configureren. Deze datum zal de normale "
1744
  "instellingen van deze dag overschrijven."
1745
 
1746
- #: app/Admin/Translations.php:923
1747
  msgid "Start triggering buttons from"
1748
  msgstr "Start triggering knoppen vanaf"
1749
 
1750
- #: app/Admin/Translations.php:924
1751
  msgid "Click to add start date"
1752
  msgstr "Klik om een startdatum te selecteren"
1753
 
1754
  #. translators: The string will become a date
1755
- #: app/Admin/Translations.php:928
1756
  msgid ""
1757
  "Warning! Your start date '%s' hast past the end date of this schedule. If "
1758
  "you do not change this date the schedule will not work."
@@ -1760,20 +1769,20 @@ msgstr ""
1760
  "Waarschuwing! Je startdatum '%s' is later dan de einddatum van dit "
1761
  "tijdschema. Als je dit niet aanpast zal de tijdschema niet werken."
1762
 
1763
- #: app/Admin/Translations.php:935
1764
  msgid "Stop triggering buttons after (optional)"
1765
  msgstr "Stop triggering knoppen na (optioneel)"
1766
 
1767
- #: app/Admin/Translations.php:936
1768
  msgid "Click to add ending date"
1769
  msgstr "Klik om een einddatum te selecteren"
1770
 
1771
- #: app/Admin/Translations.php:937
1772
  msgid "Select a date in the datepicker below"
1773
  msgstr "Selecteer een datum in de datumkiezen hieronder"
1774
 
1775
  #. translators: The string will become a date
1776
- #: app/Admin/Translations.php:940
1777
  msgid ""
1778
  "Warning! Your end date '%s' has past the start date of this schedule. If you "
1779
  "do not change this date the schedule will not work."
@@ -1781,11 +1790,11 @@ msgstr ""
1781
  "Waarschuwing! Je einddatum '%s' is voor de startdatum van dit tijdschema. "
1782
  "Als je dit niet aanpast zal het tijdschema niet werken."
1783
 
1784
- #: app/Admin/Translations.php:954
1785
  msgid "Hi Buttonizer!"
1786
  msgstr "Hoi Buttonizer!"
1787
 
1788
- #: app/Admin/Translations.php:955
1789
  msgid ""
1790
  "It appears you've installed Buttonizer 2.0 before. But, you installed "
1791
  "version 1.5 again later on and updated back to 2.0!"
@@ -1793,7 +1802,7 @@ msgstr ""
1793
  "Het lijkt er op dat je Buttonizer 2.0 al eens eerder hebt geïnstalleerd en "
1794
  "toen bent teruggegaan naar versie 1.5. Nu ben je geüpdatet naar versie 2.0!"
1795
 
1796
- #: app/Admin/Translations.php:956
1797
  msgid ""
1798
  "The migration progress did not run as it did back then. In order to convert "
1799
  "your buttons, press the button below!"
@@ -1803,7 +1812,7 @@ msgstr ""
1803
  "op de knop hieronder!"
1804
 
1805
  #. translators: %1$s and %2$s will become HTML icons as preview
1806
- #: app/Admin/Translations.php:959
1807
  msgid ""
1808
  "If this window keeps popping up, even when you've tried to convert the "
1809
  "buttons, try to reset Buttonizer. Go to the 'cog' icon (%1$s) on the top "
@@ -1814,15 +1823,15 @@ msgstr ""
1814
  "'tandwiel' icoon (%1$s) in de bovenste balk. Ga dan naar 'Opties %2$s' en "
1815
  "open het tabje 'Reset' en volg de instructies."
1816
 
1817
- #: app/Admin/Translations.php:963
1818
  msgid "Convert my buttons!"
1819
  msgstr "Migreer mijn knoppen!"
1820
 
1821
- #: app/Admin/Translations.php:975
1822
  msgid "Premium feature"
1823
  msgstr "Premium functie"
1824
 
1825
- #: app/Admin/Translations.php:976
1826
  msgid ""
1827
  "Hi there, this function is a premium feature. We will describe what this "
1828
  "feature will do:"
@@ -1830,89 +1839,89 @@ msgstr ""
1830
  "Hoi daar, deze functie is voor onze premium gebruikers. We zullen "
1831
  "beschrijven wat deze functie zal doen:"
1832
 
1833
- #: app/Admin/Translations.php:977
1834
  msgid "What you get as a premium user:"
1835
  msgstr "Wat je krijgt als premium gebruiker:"
1836
 
1837
- #: app/Admin/Translations.php:978
1838
  msgid "Go pro"
1839
  msgstr "Wordt premium gebruiker"
1840
 
1841
- #: app/Admin/Translations.php:981
1842
  msgid "Show button(groups) using the advanced time schedules"
1843
  msgstr "Toon knoppen op basis van geavanceerde tijdschema's"
1844
 
1845
- #: app/Admin/Translations.php:982
1846
  msgid "Show button(groups) on specific pages using advanced page rules"
1847
  msgstr "Toon knoppen op specifieke pagina's met geavanceerde paginaregels"
1848
 
1849
- #: app/Admin/Translations.php:983
1850
  msgid "Create multiple button groups"
1851
  msgstr "Mogelijkheid om meer knopgroepen te maken"
1852
 
1853
- #: app/Admin/Translations.php:984
1854
  msgid "Custom button background &amp; icon image"
1855
  msgstr "Aangepaste knopachtergrond & pictogram afbeelding"
1856
 
1857
- #: app/Admin/Translations.php:986
1858
  msgid "Show or hide on scroll"
1859
  msgstr "Weergeven of verbergen tijdens scrollen"
1860
 
1861
- #: app/Admin/Translations.php:987
1862
  msgid "Show on timeout"
1863
  msgstr "Weergeven na bepaalde tijd"
1864
 
1865
- #: app/Admin/Translations.php:988
1866
  msgid "Be able to set CSS class names and button IDs"
1867
  msgstr "Gebruik maken van CSS class namen en ID's"
1868
 
1869
- #: app/Admin/Translations.php:989
1870
  msgid "Execute javascript on button clicks"
1871
  msgstr "Javascript uitvoeren bij een knop klik"
1872
 
1873
- #: app/Admin/Translations.php:993
1874
  msgid "My first time schedule"
1875
  msgstr "Mijn eerste tijdschema"
1876
 
1877
- #: app/Admin/Translations.php:997
1878
  msgid "My first page rule"
1879
  msgstr "Mijn eerste pagina regel"
1880
 
1881
- #: app/Admin/Translations.php:999
1882
  msgid "You are able to add multiple groups on different positions"
1883
  msgstr ""
1884
  "Je hebt de mogelijkheid om meerdere groepen aan te maken op verschillende "
1885
  "posities"
1886
 
1887
- #: app/Admin/Translations.php:1010
1888
  msgid "Welcome to Buttonizer"
1889
  msgstr "Welkom bij Buttonizer"
1890
 
1891
  #. translators: %s will become 'Buttonizer'
1892
- #: app/Admin/Translations.php:1013
1893
  msgid "We are pleased to welcome you to <b>%s</b>!"
1894
  msgstr "We verwelkomen u graag bij <b>%s</b>!"
1895
 
1896
- #: app/Admin/Translations.php:1016
1897
  msgid ""
1898
  "We've created a tour for our new users. Would you like to take the tour?"
1899
  msgstr ""
1900
  "We hebben een tour gemaakt voor onze nieuwe gebruikers. Wil je deze tour "
1901
  "volgen?"
1902
 
1903
- #: app/Admin/Translations.php:1017
1904
  msgid "No thanks, I know how it works"
1905
  msgstr "Nee bedankt, ik weet hoe het werkt"
1906
 
1907
- #: app/Admin/Translations.php:1020
1908
  msgid "Exit tour"
1909
  msgstr "Tour beëindigen"
1910
 
1911
- #: app/Admin/Translations.php:1023
1912
  msgid "Welcome to the Buttonizer tour!"
1913
  msgstr "Welkom bij de Buttonizer tour!"
1914
 
1915
- #: app/Admin/Translations.php:1024
1916
  msgid ""
1917
  "Start the tour and save time. Master the Buttonizer skills in only two "
1918
  "minutes."
@@ -1921,16 +1930,16 @@ msgstr ""
1921
  "twee minuten."
1922
 
1923
  #. translators: First %1$s will be an left-key icon, second %2$s will be right-key icon, third %3$s will be an keyboard icon
1924
- #: app/Admin/Translations.php:1027
1925
  msgid "You can use the %1$s and %2$s keys on your %3$s to navigate."
1926
  msgstr ""
1927
  "Je kan gebruik maken van de %1$s en %2$s toetsen op je %3$s om te navigeren."
1928
 
1929
- #: app/Admin/Translations.php:1032
1930
  msgid "Buttonizer bar"
1931
  msgstr "Buttonizer balk"
1932
 
1933
- #: app/Admin/Translations.php:1033
1934
  msgid ""
1935
  "Manage all your Floating Action Buttons and Floating menu's in the "
1936
  "Buttonizer bar."
@@ -1938,11 +1947,11 @@ msgstr ""
1938
  "Beheer al je Floating Action Buttons en Floating menu's in de Buttonizer "
1939
  "balk."
1940
 
1941
- #: app/Admin/Translations.php:1036
1942
  msgid "Preview"
1943
  msgstr "Voorbeeld"
1944
 
1945
- #: app/Admin/Translations.php:1037
1946
  msgid ""
1947
  "Watch the impact of your changes in the preview pane. Your buttons will only "
1948
  "be visible to your website visitor after you click on 'Publish'."
@@ -1951,40 +1960,40 @@ msgstr ""
1951
  "alleen zichtbaar voor uw websitebezoeker nadat je op 'Publiceren' hebt "
1952
  "geklikt."
1953
 
1954
- #: app/Admin/Translations.php:1040
1955
  msgid "Top bar"
1956
  msgstr "Bovenbalk"
1957
 
1958
- #: app/Admin/Translations.php:1041
1959
  msgid "In the top bar, you can:"
1960
  msgstr "In de bovenbalk kan je:"
1961
 
1962
- #: app/Admin/Translations.php:1044
1963
  msgid "Click the <b>'X'</b> to go back to WordPress"
1964
  msgstr "Op de <b>'X'</b>drukken om terug te gaan naar WordPress"
1965
 
1966
- #: app/Admin/Translations.php:1045
1967
  msgid "<b>Revert</b> changes you have made"
1968
  msgstr "Wijzigingen die je hebt aangebracht <b>ongedaan maken</b>"
1969
 
1970
- #: app/Admin/Translations.php:1046
1971
  msgid "<b>Publish</b> all your changes"
1972
  msgstr "<b>Publiceer</b> jouw wijzigingen"
1973
 
1974
- #: app/Admin/Translations.php:1047
1975
  msgid "Access the <b>general settings</b>"
1976
  msgstr "Open de <b>algemene instellingen</b>"
1977
 
1978
  #. translators: %s will be replaced with an arrow and an ENTER (new line)
1979
- #: app/Admin/Translations.php:1053
1980
  msgid "Click here %s to go to Buttonizer's general settings."
1981
  msgstr "Klik hier %s om naar Buttonizer's algemene instellingen te gaan."
1982
 
1983
- #: app/Admin/Translations.php:1058
1984
  msgid "Menu"
1985
  msgstr "Menu"
1986
 
1987
- #: app/Admin/Translations.php:1061
1988
  msgid ""
1989
  "Want to know what you can do with Buttonizer? Take a look at our knowledge "
1990
  "base!"
@@ -1992,38 +2001,38 @@ msgstr ""
1992
  "Wil weten wat je nog meer kan doen met Buttonizer? Neem een kijkje in onze "
1993
  "kennisbank!"
1994
 
1995
- #: app/Admin/Translations.php:1062
1996
  msgid "Visit our support page for help from us or other users."
1997
  msgstr ""
1998
  "Bezoek onze support pagina en vraag om hulp van ons of andere gebruikers."
1999
 
2000
- #: app/Admin/Translations.php:1063
2001
  msgid "Visit our community page and interact with other Buttonizer users!"
2002
  msgstr "Bezoek onze community en communiceer met andere Buttonizer gebruikers!"
2003
 
2004
- #: app/Admin/Translations.php:1064
2005
  msgid "View your account details and license."
2006
  msgstr "Bekijk je account informatie en licentie."
2007
 
2008
- #: app/Admin/Translations.php:1065
2009
  msgid "Upgrade or extend your license."
2010
  msgstr "Premium kopen of verleng je licentie."
2011
 
2012
- #: app/Admin/Translations.php:1066
2013
  msgid "Happy with the plugin? Become an ambassador and earn some cash ;-)"
2014
  msgstr "Vind je de plugin leuk? Wordt een ambassadeur en verdien geld ;-)"
2015
 
2016
- #: app/Admin/Translations.php:1067
2017
  msgid "Change general settings like icon libraries and Google Analytics."
2018
  msgstr ""
2019
  "Verander algemene instellingen zoals icoon bibliotheken en Google Analytics."
2020
 
2021
- #: app/Admin/Translations.php:1071
2022
  msgid "Click on <b>Options</b> to open Buttonizer's general settings."
2023
  msgstr ""
2024
  "Klik op <b>Opties</b> om de algemene instellingen te openen van Buttonizer."
2025
 
2026
- #: app/Admin/Translations.php:1077
2027
  msgid ""
2028
  "In this section, you will be able to choose other icon libraries, the icon "
2029
  "library version and whether Buttonizer should import the icon library."
@@ -2031,25 +2040,25 @@ msgstr ""
2031
  "In deze sectie is het mogelijk om andere icoon bibliotheken te kiezen, welke "
2032
  "versie en of Buttonizer deze moet laden op je pagina's."
2033
 
2034
- #: app/Admin/Translations.php:1078
2035
  msgid ""
2036
  "Want to track your button events? Place your Google Analytics code here!"
2037
  msgstr ""
2038
  "Wil je de knop-events bijhouden? Plaats jouw Google Analytics code hier!"
2039
 
2040
- #: app/Admin/Translations.php:1079
2041
  msgid "Completely reset Buttonizers data."
2042
  msgstr "Reset alle Buttonizer data."
2043
 
2044
- #: app/Admin/Translations.php:1083
2045
  msgid "Button group"
2046
  msgstr "Knop groep"
2047
 
2048
- #: app/Admin/Translations.php:1084
2049
  msgid "A button group contains buttons."
2050
  msgstr "Een groep heeft knoppen."
2051
 
2052
- #: app/Admin/Translations.php:1085
2053
  msgid ""
2054
  "Button groups are only visible when there are <u><b>2 or more buttons</b></"
2055
  "u> within the group."
@@ -2057,7 +2066,7 @@ msgstr ""
2057
  "Knopgroepen zijn alleen zichtbaar wanneer er <u><b>2 of meer knoppen</b></u> "
2058
  "zichtbaar zijn in de groep."
2059
 
2060
- #: app/Admin/Translations.php:1086
2061
  msgid ""
2062
  "The buttons in a button group are dedicated to one position. Add multiple "
2063
  "button groups if you want to create more floating action buttons dedicated "
@@ -2066,27 +2075,27 @@ msgstr ""
2066
  "De knoppen in een knopgroep zijn toegewijd aan één positie. Maak meerdere "
2067
  "knopgroepen aan om op verschillende posities knoppen te hebben."
2068
 
2069
- #: app/Admin/Translations.php:1089
2070
  msgid "Click here to show group settings."
2071
  msgstr "Klik hier om de groepsinstellingen te zien."
2072
 
2073
- #: app/Admin/Translations.php:1092
2074
  msgid "Group settings"
2075
  msgstr "Groep instellingen"
2076
 
2077
- #: app/Admin/Translations.php:1093
2078
  msgid "Change the style of the button group here."
2079
  msgstr "Je kan de stijl van de groep hier aanpassen."
2080
 
2081
- #: app/Admin/Translations.php:1094
2082
  msgid "Click on the left arrow to go back."
2083
  msgstr "Klik op de linker pijl om terug te gaan."
2084
 
2085
- #: app/Admin/Translations.php:1097 app/Admin/Translations.php:1150
2086
  msgid "Position & device visibility"
2087
  msgstr "Positie & apparaat zichtbaarheid"
2088
 
2089
- #: app/Admin/Translations.php:1098 app/Admin/Translations.php:1151
2090
  msgid ""
2091
  "When you change the position of the button group it will move the whole "
2092
  "group, including the buttons."
@@ -2094,7 +2103,7 @@ msgstr ""
2094
  "Wanneer je de positie aanpast van de knopgroep zal de volledige groep "
2095
  "verplaatst worden, inclusief de sub-knoppen."
2096
 
2097
- #: app/Admin/Translations.php:1099
2098
  msgid ""
2099
  "Choose whether you want the <b><u>whole group</u></b> to be visible on "
2100
  "desktop or mobile devices."
@@ -2102,15 +2111,15 @@ msgstr ""
2102
  "Je kan kiezen of je de <b><u>volledige groep</u></b> zichtbaar wilt hebben "
2103
  "op desktop of mobiele apparaten."
2104
 
2105
- #: app/Admin/Translations.php:1103
2106
  msgid "Setup Buttonizer to open automatically!"
2107
  msgstr "Stel Buttonizer in om automatisch te openen!"
2108
 
2109
- #: app/Admin/Translations.php:1104
2110
  msgid "Change the style of your floating menu."
2111
  msgstr "Verander de stijl van je menu."
2112
 
2113
- #: app/Admin/Translations.php:1105
2114
  msgid ""
2115
  "Buttonizer will animate every 10 seconds in order to capture the visitor's "
2116
  "attention."
@@ -2118,52 +2127,52 @@ msgstr ""
2118
  "Buttonizer zal elke 10 seconden worden geanimeerd om de aandacht van de "
2119
  "bezoeker te krijgen."
2120
 
2121
- #: app/Admin/Translations.php:1109
2122
  msgid "Change the color of the button group."
2123
  msgstr "Verander de kleur van de knopgroep."
2124
 
2125
- #: app/Admin/Translations.php:1110
2126
  msgid "Change the border radius of the button group!"
2127
  msgstr "Pas de border-radius aan van de knop groep!"
2128
 
2129
- #: app/Admin/Translations.php:1111 app/Admin/Translations.php:1116
2130
  msgid "Choose an image to use as a background of the button group."
2131
  msgstr ""
2132
  "Kies een afbeelding om deze te gebruiken als achtergrond van de knopgroep."
2133
 
2134
- #: app/Admin/Translations.php:1115
2135
  msgid "Choose your favorite icon from your selected icon library."
2136
  msgstr "Kies je favoriete icoon uit de geselecteerde icoon bibliotheek."
2137
 
2138
- #: app/Admin/Translations.php:1118
2139
  msgid "Quick setting to show or hide buttons depending device!"
2140
  msgstr "Snel-instelling om knoppen per apparaat weer te geven!"
2141
 
2142
- #: app/Admin/Translations.php:1120
2143
  msgid "Click here to add a new button."
2144
  msgstr "Klik hier om een nieuwe knop toe te voegen."
2145
 
2146
  #. translators: %s will be replaced with 'Add button'
2147
- #: app/Admin/Translations.php:1123
2148
  msgid "Don't click on next... Click on '%s'"
2149
  msgstr "Klik niet op de volgende knop, klik op '%s'"
2150
 
2151
  #. translators: %s will be replaced with 'Add button'
2152
- #: app/Admin/Translations.php:1128
2153
  msgid "If you don't want to click '%s', I can do you the honor :)"
2154
  msgstr "Als je niet op '%s' wilt klikken, dan zal ik de eer nemen!"
2155
 
2156
- #: app/Admin/Translations.php:1131
2157
  msgid "Here, on the left... If you won't click it, I will click it >:-)"
2158
  msgstr ""
2159
  "Hier, aan de linker kant... Als jij er niet op drukt, zal ik erop drukken "
2160
  ">:-)"
2161
 
2162
- #: app/Admin/Translations.php:1132
2163
  msgid "Hello? Please click that button..."
2164
  msgstr "Hallo? Klik alsjeblieft op die knop..."
2165
 
2166
- #: app/Admin/Translations.php:1135
2167
  msgid ""
2168
  "You have created a new button! This is a button. Buttons are contained "
2169
  "within a group."
@@ -2171,15 +2180,15 @@ msgstr ""
2171
  "Je hebt een nieuwe knop gemaakt! Dit is een knop. Knoppen zijn altijd een "
2172
  "deel van een groep."
2173
 
2174
- #: app/Admin/Translations.php:1136
2175
  msgid "Click here to open the menu."
2176
  msgstr "Klik om het menu te openen."
2177
 
2178
- #: app/Admin/Translations.php:1138
2179
  msgid "Edit the style of the button."
2180
  msgstr "Verander de stijl van de knop."
2181
 
2182
- #: app/Admin/Translations.php:1139
2183
  msgid ""
2184
  "Make the button appear/hide on certain pages and during certain times! This "
2185
  "function is only available for our premium users."
@@ -2187,32 +2196,32 @@ msgstr ""
2187
  "Geef knoppen weer of verberg ze op basis van pagina's en tijd! Deze functie "
2188
  "is alleen beschikbaar voor onze premium gebruikers."
2189
 
2190
- #: app/Admin/Translations.php:1140
2191
  msgid "Rename the button."
2192
  msgstr "Hernoem knop."
2193
 
2194
- #: app/Admin/Translations.php:1141
2195
  msgid "Make a copy of the button."
2196
  msgstr "Maak een kopie van de knop."
2197
 
2198
- #: app/Admin/Translations.php:1142
2199
  msgid "Delete the button."
2200
  msgstr "Verwijder knop."
2201
 
2202
- #: app/Admin/Translations.php:1144
2203
  msgid "Click here to show the button settings."
2204
  msgstr "Klik hier om de knopinstellingen te openen."
2205
 
2206
- #: app/Admin/Translations.php:1146
2207
  msgid "Button settings"
2208
  msgstr "Knop instellingen"
2209
 
2210
- #: app/Admin/Translations.php:1147
2211
  msgid "These are the button settings. Pretty similar to the group settings."
2212
  msgstr ""
2213
  "Dit zijn de knop instellingen. Vrijwel gelijk aan de groepsinstellingen."
2214
 
2215
- #: app/Admin/Translations.php:1152
2216
  msgid ""
2217
  "You can choose whether you want the <b><u>whole group</u></b> to be visible "
2218
  "on desktop or mobile devices."
@@ -2220,37 +2229,37 @@ msgstr ""
2220
  "Je kan kiezen of je de <b><u>volledige groep</u></b> zichtbaar wilt hebben "
2221
  "op desktop of mobiele apparaten."
2222
 
2223
- #: app/Admin/Translations.php:1155
2224
  msgid ""
2225
  "When enabled, the button will copy the button and label style of the group."
2226
  msgstr ""
2227
  "Wanneer deze optie is ingeschakeld zal deze de stijl van de groep worden "
2228
  "gebruiken."
2229
 
2230
- #: app/Admin/Translations.php:1156
2231
  msgid "By turning it of you can change the style of the button."
2232
  msgstr ""
2233
  "Door deze instelling uit te schakelen kan je de stijl van deze knop "
2234
  "aanpassen."
2235
 
2236
- #: app/Admin/Translations.php:1159
2237
  msgid "Revert or save"
2238
  msgstr "Wijzigingen ongedaan maken of opslaan"
2239
 
2240
- #: app/Admin/Translations.php:1161
2241
  msgid "Delete all the changes you've made this session."
2242
  msgstr "Verwijder alle aanpassingen die je deze sessie hebt gemaakt."
2243
 
2244
- #: app/Admin/Translations.php:1163
2245
  msgid "Save and publish the changes you've made this session."
2246
  msgstr "Sla de wijzigingen die je hebt gemaakt op en publiceer deze."
2247
 
2248
- #: app/Admin/Translations.php:1166
2249
  msgid "That was it!"
2250
  msgstr "Dat was het!"
2251
 
2252
  #. translators: %s will be the link to the community forums
2253
- #: app/Admin/Translations.php:1169
2254
  msgid ""
2255
  "Thank you for taking the tour, that's all folks! We hope you're ready to "
2256
  "start implementing Buttonizer to meet your goals! If you have any questions, "
@@ -2260,7 +2269,7 @@ msgstr ""
2260
  "klaar voor bent om te starten met het gebruiken van Buttonizer om je doelen "
2261
  "te bereiken! Als je nog vragen over hebt kun je terecht op onze %s!"
2262
 
2263
- #: app/Admin/Translations.php:1172
2264
  msgid ""
2265
  "If you have any feedback regarding the Buttonizer Tour, we'd love to hear it!"
2266
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Buttonizer - Smart Floating Action Button 2.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buttonizer\n"
7
+ "POT-Creation-Date: 2019-09-08T18:39:10+00:00\n"
8
+ "PO-Revision-Date: 2019-09-08 20:40+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
11
  "Language: nl\n"
125
  msgid "Group"
126
  msgstr "Groep"
127
 
128
+ #: app/Admin/Translations.php:83 app/Admin/Translations.php:318
129
  msgid "Settings"
130
  msgstr "Instellingen"
131
 
132
+ #: app/Admin/Translations.php:85 app/Admin/Translations.php:408
133
+ msgid "Custom"
134
+ msgstr "Aangepast"
135
+
136
+ #: app/Admin/Translations.php:87
137
  msgid "Confirm"
138
  msgstr "Bevestig"
139
 
140
+ #: app/Admin/Translations.php:88
141
  msgid "Search"
142
  msgstr "Zoek"
143
 
144
+ #: app/Admin/Translations.php:90
145
  msgid "Skip"
146
  msgstr "Overslaan"
147
 
148
+ #: app/Admin/Translations.php:93
149
  msgid "Disable"
150
  msgstr "Deactiveren"
151
 
152
+ #: app/Admin/Translations.php:94
153
  msgid "Disabled"
154
  msgstr "Gedeactiveerd"
155
 
156
+ #: app/Admin/Translations.php:97 app/Admin/Translations.php:230
157
  msgid "Save"
158
  msgstr "Opslaan"
159
 
160
+ #: app/Admin/Translations.php:98
161
  msgid "Saving"
162
  msgstr "Opslaan"
163
 
164
+ #: app/Admin/Translations.php:99
165
  msgid "Saving settings"
166
  msgstr "Aan het opslaan"
167
 
168
+ #: app/Admin/Translations.php:101
169
  msgid "Publish"
170
  msgstr "Publiceer"
171
 
172
+ #: app/Admin/Translations.php:102
173
  msgid "Published"
174
  msgstr "Gepubliceerd"
175
 
176
+ #: app/Admin/Translations.php:103
177
  msgid "Publishing..."
178
  msgstr "Publiceren..."
179
 
180
+ #: app/Admin/Translations.php:106
181
  msgid "Warning"
182
  msgstr "Waarschuwing"
183
 
184
+ #: app/Admin/Translations.php:109
185
  msgid "Next"
186
  msgstr "Volgende"
187
 
188
+ #: app/Admin/Translations.php:110
189
  msgid "Previous"
190
  msgstr "Vorige"
191
 
192
  #. translators: The button to save and publish the changes that were made
193
+ #: app/Admin/Translations.php:113 app/Admin/Translations.php:1166
194
  msgid "Save & publish"
195
  msgstr "Opslaan & publiceren"
196
 
197
+ #: app/Admin/Translations.php:124
198
  msgid "Loading..."
199
  msgstr "Laden..."
200
 
201
+ #: app/Admin/Translations.php:125
202
  msgid "Loading settings..."
203
  msgstr "Instellingen laden..."
204
 
205
+ #: app/Admin/Translations.php:126
206
  msgid "Building bar..."
207
  msgstr "Balk laden..."
208
 
209
+ #: app/Admin/Translations.php:127
210
  msgid "Waiting for your website..."
211
  msgstr "We wachten op je website..."
212
 
213
+ #: app/Admin/Translations.php:128
214
  msgid "It's taking longer than usual, slow website?"
215
  msgstr "Het duurt langer dan gebruikelijk, langzame website?"
216
 
217
+ #: app/Admin/Translations.php:129
218
  msgid "Skip this step"
219
  msgstr "Sla deze stap over"
220
 
221
+ #: app/Admin/Translations.php:130
222
  msgid "Initializing..."
223
  msgstr "Initialiseren..."
224
 
225
+ #: app/Admin/Translations.php:131
226
  msgid "Resetting..."
227
  msgstr "Resetten..."
228
 
229
+ #: app/Admin/Translations.php:132
230
  msgid "Running migration..."
231
  msgstr "Migratie aan het uitvoeren..."
232
 
233
  #. translators: Finishing as in 'Cleaning up files'
234
+ #: app/Admin/Translations.php:134
235
  msgid "Finishing..."
236
  msgstr "Afronden..."
237
 
238
  #. translators: %s will be replaced with 'Add button'
239
+ #: app/Admin/Translations.php:145 app/Admin/Translations.php:1128
240
+ #: app/Admin/Translations.php:1133
241
  msgid "Add button"
242
  msgstr "Knop toevoegen"
243
 
244
+ #: app/Admin/Translations.php:146
245
  msgid "Add group"
246
  msgstr "Groep toevoegen"
247
 
248
+ #: app/Admin/Translations.php:149
249
  msgid "New button"
250
  msgstr "Nieuwe knop"
251
 
252
+ #: app/Admin/Translations.php:150
253
  msgid "New group"
254
  msgstr "Nieuwe groep"
255
 
256
+ #: app/Admin/Translations.php:153
257
  msgid "Advanced settings"
258
  msgstr "Geavanceerde instellingen"
259
 
260
+ #: app/Admin/Translations.php:155 app/Admin/Translations.php:579
261
  msgid "Text"
262
  msgstr "Tekst"
263
 
264
  #. translators: Base is meant as default state of the button (not hovering or clicking)
265
+ #: app/Admin/Translations.php:157
266
  msgid "Base"
267
  msgstr "Basis"
268
 
269
  #. translators: Base is meant as default state of the button (not hovering or clicking)
270
+ #: app/Admin/Translations.php:158 app/Admin/Translations.php:348
271
+ #: app/Admin/Translations.php:360
272
  msgid "Icon"
273
  msgstr "Icoon"
274
 
275
+ #: app/Admin/Translations.php:159
276
  msgid "Search icon"
277
  msgstr "Zoek icoon"
278
 
279
+ #: app/Admin/Translations.php:162
280
  msgid "Image"
281
  msgstr "Afbeelding"
282
 
283
+ #: app/Admin/Translations.php:163
284
  msgid "Select image"
285
  msgstr "Selecteer afbeelding"
286
 
287
+ #: app/Admin/Translations.php:164
288
  msgid "Change image"
289
  msgstr "Verander afbeelding"
290
 
291
+ #: app/Admin/Translations.php:165
292
+ msgid "Select file"
293
+ msgstr "Selecteer bestand"
294
+
295
+ #: app/Admin/Translations.php:166
296
+ msgid "Change file"
297
+ msgstr "Verander bestand"
298
+
299
+ #: app/Admin/Translations.php:167
300
  msgid "Click to remove this image"
301
  msgstr "Klik om de afbeelding te verwijderen"
302
 
303
+ #: app/Admin/Translations.php:170
304
  msgid "First button"
305
  msgstr "Eerste knop"
306
 
307
+ #: app/Admin/Translations.php:171
308
  msgid "Second button"
309
  msgstr "Tweede knop"
310
 
311
+ #: app/Admin/Translations.php:174
312
  msgid "Rename"
313
  msgstr "Hernoem"
314
 
315
+ #: app/Admin/Translations.php:177
316
  msgid "Delete"
317
  msgstr "Verwijder"
318
 
319
+ #: app/Admin/Translations.php:180
320
  msgid "Duplicate"
321
  msgstr "Dupliceer"
322
 
323
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
324
+ #: app/Admin/Translations.php:183
325
  msgid "page rule"
326
  msgstr "pagina regel"
327
 
328
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
329
+ #: app/Admin/Translations.php:185
330
  msgid "time schedule"
331
  msgstr "tijdschema"
332
 
333
  #. translators: Interaction is meant as hover/click state
334
+ #: app/Admin/Translations.php:188
335
  msgid "Interaction"
336
  msgstr "Interactie"
337
 
338
  #. translators: Background as in background color
339
+ #: app/Admin/Translations.php:191
340
  msgid "Background"
341
  msgstr "Achtergrond"
342
 
343
+ #: app/Admin/Translations.php:194
344
  msgid "Need help? Quick-start, tips & tricks"
345
  msgstr "Hulp nodig? Quick-start, tips & tricks"
346
 
347
+ #: app/Admin/Translations.php:195
348
  msgid "Need help? Visit our knowledge base!"
349
  msgstr "Hulp nodig? Bezoek ons kennis bank!"
350
 
351
+ #: app/Admin/Translations.php:197
352
  msgid "Nothing found for:"
353
  msgstr "Niks gevonden voor:"
354
 
355
+ #: app/Admin/Translations.php:198
356
  msgid "Search icons"
357
  msgstr "Zoek iconen"
358
 
359
  #. translators: %1$s will be replaced with a action name, %2$s will be replaced with a link
360
+ #: app/Admin/Translations.php:202
361
  msgid "Need help? Learn how to use <b>%1$s</b>."
362
  msgstr ""
363
  "Hulp nodig? Meer informatie over hoe je de knopactie <b>%1$s</b> gebruikt."
364
 
365
+ #: app/Admin/Translations.php:215
366
  msgid "OK"
367
  msgstr "Okey"
368
 
369
+ #: app/Admin/Translations.php:216
370
  msgid "OK, I'll fix this"
371
  msgstr "Okey, ik los dit op"
372
 
373
+ #: app/Admin/Translations.php:218
374
  msgid "Close"
375
  msgstr "Sluiten"
376
 
377
+ #: app/Admin/Translations.php:219
378
  msgid "Cancel"
379
  msgstr "Annuleren"
380
 
381
+ #: app/Admin/Translations.php:222 app/Admin/Translations.php:1022
382
  msgid "Yes please"
383
  msgstr "Ja graag"
384
 
385
+ #: app/Admin/Translations.php:223
386
  msgid "No thank you"
387
  msgstr "Nee bedankt"
388
 
389
+ #: app/Admin/Translations.php:226
390
  msgid "Dismiss"
391
  msgstr "Negeer"
392
 
393
+ #: app/Admin/Translations.php:227
394
  msgid "I've changed my mind"
395
  msgstr "Ik ben van gedachten veranderd"
396
 
397
  #. translators: %s will be replaced with 'time schedule / page rule'
398
+ #: app/Admin/Translations.php:235
399
  msgid "Remove %s?"
400
  msgstr "Verwijder %s?"
401
 
402
  #. translators: %s will be replaced with 'time schedule / page rule'
403
+ #: app/Admin/Translations.php:240
404
  msgid ""
405
  "Are you very sure you want to remove this %1$s? Buttons that are still "
406
  "attached to this %2$s will become visible unless you attach them to another "
411
  "%3$s."
412
 
413
  #. translators: %s will be replaced with 'time schedule / page rule'
414
+ #: app/Admin/Translations.php:245
415
  msgid "There are no buttons attached to this %s. You can remove this safely."
416
  msgstr ""
417
  "Er zijn geen knoppen gekoppeld aan deze %s. Je kan deze veilig verwijderen."
418
 
419
  #. translators: This sentence will be used to remove a 'time schedule/page rule' and there are multiple buttons attached to it. %1$s will be a number, %2$s will be the 'time schedule / page rule'
420
+ #: app/Admin/Translations.php:250
421
  msgid "There are <b>%1$s</b> buttons attached to this %2$s!"
422
  msgstr "Er zijn <b>%1$s</b> knoppen gekoppeld aan deze %2$s!"
423
 
424
  #. translators: This sentence will be used to remove a time schedule and there is only one button attached to it
425
+ #: app/Admin/Translations.php:255
426
  msgid "There is <b>1</b> button attached to this %s!"
427
  msgstr "Er is <b>1</b> knop gekoppeld aan deze %s!"
428
 
429
  #. translators: %s will be replaced with 'time schedule / page rule'
430
+ #: app/Admin/Translations.php:260
431
  msgid "Do you want to remove this %s?"
432
  msgstr "Wil je deze %s verwijderen?"
433
 
434
+ #: app/Admin/Translations.php:274
435
  msgid "Event tracker"
436
  msgstr "Event tracker"
437
 
438
+ #: app/Admin/Translations.php:275
439
  msgid "Event tracker (experimental)"
440
  msgstr "Event tracker (experimenteel)"
441
 
442
+ #: app/Admin/Translations.php:298 app/Admin/Translations.php:1164
443
  msgid "Revert changes"
444
  msgstr "Wijzigingen ongedaan maken"
445
 
446
+ #: app/Admin/Translations.php:299
447
  msgid "Reverting..."
448
  msgstr "Ongedaan maken..."
449
 
450
+ #: app/Admin/Translations.php:301
451
  msgid "Are you sure you want to revert your changes?"
452
  msgstr "Weet je zeker dat je je wijzigingen ongedaan wilt maken?"
453
 
454
+ #: app/Admin/Translations.php:302
455
  msgid ""
456
  "The current changes will be overwritten by the current published buttons and "
457
  "settings."
459
  "Je wijzigingen zullen worden overschreven door de huidige gepubliceerde "
460
  "knoppen en instellingen."
461
 
462
+ #: app/Admin/Translations.php:305
463
  msgid "Could not revert settings"
464
  msgstr "Kon de instellingen niet ongedaan maken"
465
 
466
+ #: app/Admin/Translations.php:306
467
  msgid "Something went wrong while reverting your settings."
468
  msgstr "Er ging iets mis tijdens het ongedaan maken van uw instellingen."
469
 
470
+ #: app/Admin/Translations.php:322 app/Admin/Translations.php:1106
471
  msgid "Menu style"
472
  msgstr "Menustijl"
473
 
474
+ #: app/Admin/Translations.php:323 app/Admin/Translations.php:1112
475
+ #: app/Admin/Translations.php:1118
476
  msgid "Group style"
477
  msgstr "Groep stijl"
478
 
479
+ #: app/Admin/Translations.php:324
480
  msgid "Group icon"
481
  msgstr "Groep icoon"
482
 
483
+ #: app/Admin/Translations.php:325
484
  msgid "Button style"
485
  msgstr "Knop stijl"
486
 
487
+ #: app/Admin/Translations.php:326
488
  msgid "Button icon"
489
  msgstr "Knop icoon"
490
 
491
+ #: app/Admin/Translations.php:327 app/Admin/Translations.php:376
492
  msgid "Label"
493
  msgstr "Label"
494
 
495
+ #: app/Admin/Translations.php:331
496
  msgid "Button name"
497
  msgstr "Knopnaam"
498
 
499
+ #: app/Admin/Translations.php:332
500
  msgid "This is the button name."
501
  msgstr "Dit is de knopnaam."
502
 
503
+ #: app/Admin/Translations.php:336
504
  msgid "Button color"
505
  msgstr "Knop kleur"
506
 
507
+ #: app/Admin/Translations.php:337
508
  msgid ""
509
  "This is the color of your button group and also the default color for your "
510
  "buttons within this group."
512
  "Dit is de kleur van de knopgroep en ook gelijk de standaardkleur van de "
513
  "knoppen in de groep."
514
 
515
+ #: app/Admin/Translations.php:340
516
  msgid "Background image"
517
  msgstr "Achtergrond afbeelding"
518
 
519
+ #: app/Admin/Translations.php:341
520
  msgid ""
521
  "Upload an image if you want an image as a background instead of a color. "
522
  "Recommended aspect ratio: square (1:1)."
524
  "Upload een afbeelding wanneer je een foto als achtergrond wilt in plaats van "
525
  "een kleur. Aanbevolen formaat is: vierkant (1:1)."
526
 
527
+ #: app/Admin/Translations.php:344 app/Admin/Translations.php:356
528
  msgid "Border radius"
529
  msgstr "Border-radius"
530
 
531
+ #: app/Admin/Translations.php:345
532
  msgid "Change the roundness of this button group."
533
  msgstr "Verander de rondte van deze knop."
534
 
535
+ #: app/Admin/Translations.php:349
536
  msgid "Choose an icon from the icon library."
537
  msgstr "Kies een icoon uit de icoon bibliotheek."
538
 
539
+ #: app/Admin/Translations.php:352
540
  msgid "Icon color"
541
  msgstr "Icoon kleur"
542
 
543
+ #: app/Admin/Translations.php:353
544
  msgid "Change the icon color of this button."
545
  msgstr "Verander de icoonkleur van deze knop."
546
 
547
+ #: app/Admin/Translations.php:357
548
  msgid "Change the border radius of the image."
549
  msgstr "Verander de hoek-rondte van de afbeelding."
550
 
551
+ #: app/Admin/Translations.php:361
552
  msgid ""
553
  "Choose an image to use as this button or group icon. Recommended aspect "
554
  "ratio: square (1:1)"
556
  "Kies een afbeelding om deze te gebruiken als knop of groep icoon. Aanbevolen "
557
  "formaat is: vierkant (1:1)"
558
 
559
+ #: app/Admin/Translations.php:364
560
  msgid "Image size"
561
  msgstr "Afbeeldingsgrootte"
562
 
563
+ #: app/Admin/Translations.php:365
564
  msgid "Change the size of the image."
565
  msgstr "Verander de grootte van de afbeelding."
566
 
567
+ #: app/Admin/Translations.php:368
568
  msgid "Graphic"
569
  msgstr "Grafisch"
570
 
571
+ #: app/Admin/Translations.php:369
572
  msgid "Choose whether to use an icon or image as the button icon."
573
  msgstr ""
574
  "Kies of je gebruik wilt maken van een icoon of een afbeelding als knop-icoon."
575
 
576
+ #: app/Admin/Translations.php:372
577
  msgid "Icon size"
578
  msgstr "Icoon grootte"
579
 
580
+ #: app/Admin/Translations.php:373
581
  msgid "Change the icon size of this button."
582
  msgstr "Verander de icoon grootte van deze knop."
583
 
584
+ #: app/Admin/Translations.php:377
585
  msgid "Change the label of this button."
586
  msgstr "Verander de label van deze knop."
587
 
588
+ #: app/Admin/Translations.php:378
589
  msgid "Label text"
590
  msgstr "Label tekst"
591
 
592
+ #: app/Admin/Translations.php:381
593
  msgid "Label color"
594
  msgstr "Label kleur"
595
 
596
+ #: app/Admin/Translations.php:382
597
  msgid ""
598
  "Change the text and background color of the label for this button or group."
599
  msgstr ""
600
  "Verander de tekst en achtergrondkleur van de label van deze knop of "
601
  "knopgroep."
602
 
603
+ #: app/Admin/Translations.php:385
604
  msgid "Font size & border radius"
605
  msgstr "Lettertype grootte & border-radius"
606
 
607
+ #: app/Admin/Translations.php:386
608
  msgid ""
609
  "Change the font size and border radius of the label for this button group."
610
  msgstr ""
611
  "Verander de font size en rand-hoek van de label voor deze knop of knopgroep."
612
 
613
+ #: app/Admin/Translations.php:389
614
  msgid "Animation"
615
  msgstr "Animatie"
616
 
617
+ #: app/Admin/Translations.php:390
618
  msgid ""
619
  "This will animate this button group to get the attention of the visitor. The "
620
  "animation repeats itself every 10 seconds."
622
  "Deze optie zal de knopgroep animeren om de aandacht te trekken van de "
623
  "bezoeker. De animatie wordt om de 10 seconden herhaald."
624
 
625
+ #: app/Admin/Translations.php:392
626
  msgid "No animation"
627
  msgstr "Geen animatie"
628
 
629
+ #: app/Admin/Translations.php:393
630
  msgid "Buttonizer Hello"
631
  msgstr "Buttonizer Hallo"
632
 
633
+ #: app/Admin/Translations.php:394
634
  msgid "Bounce"
635
  msgstr "Springen"
636
 
637
+ #: app/Admin/Translations.php:395
638
  msgid "Jelly"
639
  msgstr "Pudding"
640
 
641
+ #: app/Admin/Translations.php:396
642
  msgid "Pulse"
643
  msgstr "Pulse"
644
 
645
+ #: app/Admin/Translations.php:400
646
  msgid "Position"
647
  msgstr "Positie"
648
 
649
+ #: app/Admin/Translations.php:401
650
  msgid "Change the position of this button group."
651
  msgstr "Verander de positie van de knopgroep."
652
 
653
+ #: app/Admin/Translations.php:404
654
  msgid "Bottom right"
655
  msgstr "Rechts onderin"
656
 
657
+ #: app/Admin/Translations.php:405
658
  msgid "Bottom left"
659
  msgstr "Links onderin"
660
 
661
+ #: app/Admin/Translations.php:406
662
  msgid "Top right"
663
  msgstr "Rechts bovenin"
664
 
665
+ #: app/Admin/Translations.php:407
666
  msgid "Top left"
667
  msgstr "Links bovenin"
668
 
669
+ #: app/Admin/Translations.php:412
 
 
 
 
670
  msgid "Menu Style"
671
  msgstr "Menustijl"
672
 
673
+ #: app/Admin/Translations.php:413
674
  msgid "Change the menu style of this button group."
675
  msgstr "Verander de menustijl van deze knopgroep."
676
 
677
+ #: app/Admin/Translations.php:416
678
  msgid "Default"
679
  msgstr "Standaard"
680
 
681
+ #: app/Admin/Translations.php:417
682
  msgid "Faded"
683
  msgstr "Faded"
684
 
685
+ #: app/Admin/Translations.php:418
686
  msgid "Corner circle"
687
  msgstr "Hoekcirkel"
688
 
689
+ #: app/Admin/Translations.php:419
690
  msgid "Build Up"
691
  msgstr "Opbouwen"
692
 
693
+ #: app/Admin/Translations.php:420
694
  msgid "Pop"
695
  msgstr "Pop"
696
 
697
+ #: app/Admin/Translations.php:421
698
  msgid "Square"
699
  msgstr "Vierkant"
700
 
701
+ #: app/Admin/Translations.php:422
702
  msgid "Rectangle"
703
  msgstr "Rechthoek"
704
 
705
+ #: app/Admin/Translations.php:426 app/Admin/Translations.php:430
706
  msgid "Visibility"
707
  msgstr "Zichtbaarheid"
708
 
709
+ #: app/Admin/Translations.php:427
710
  msgid ""
711
  "Always show the label, show the label on hover or hide the label on "
712
  "<u>desktop devices</u>."
714
  "Altijd de label weergeven, alleen weergeven wanneer je er met de muis "
715
  "overheen gaat, of verberg de label op <u>desktop</u>."
716
 
717
+ #: app/Admin/Translations.php:431
718
  msgid "Always show or hide the label on <u>mobile devices</u>."
719
  msgstr ""
720
  "Altijd de label weergeven of verberg de label op <u>mobiele apparaten</u>."
721
 
722
+ #: app/Admin/Translations.php:434
723
  msgid "Always show label"
724
  msgstr "Label altijd tonen"
725
 
726
+ #: app/Admin/Translations.php:435
727
  msgid "Show label on hover"
728
  msgstr "Label alleen tonen bij muis-hover"
729
 
730
+ #: app/Admin/Translations.php:436
731
  msgid "Hide label"
732
  msgstr "Label verbergen"
733
 
734
+ #: app/Admin/Translations.php:439
735
  msgid "Show on"
736
  msgstr "Weergeven op"
737
 
738
+ #: app/Admin/Translations.php:440
739
  msgid "Device visibility"
740
  msgstr "Apparaatzichtbaarheid"
741
 
742
+ #: app/Admin/Translations.php:441
743
  msgid ""
744
  "Choose if you want to make this button group visible on desktop and mobile "
745
  "devices."
747
  "Kies of u deze knopgroep zichtbaar wilt maken op desktops en mobiele "
748
  "apparaten."
749
 
750
+ #: app/Admin/Translations.php:442
751
  msgid "Mobile"
752
  msgstr "Mobiel"
753
 
754
+ #: app/Admin/Translations.php:443
755
  msgid "Desktop"
756
  msgstr "Desktop"
757
 
758
+ #: app/Admin/Translations.php:446
759
  msgid "Start opened"
760
  msgstr "Start geopend"
761
 
762
+ #: app/Admin/Translations.php:447
763
  msgid "This button group starts opened when this setting is enabled."
764
  msgstr "De knopgroep start geopend wanneer deze instelling geactiveerd is."
765
 
766
+ #: app/Admin/Translations.php:450
767
  msgid "Use the same style of main button"
768
  msgstr "Gebruik de zelfde stijl van de hoofdknop"
769
 
770
+ #: app/Admin/Translations.php:451
771
  msgid "When enabled, this button will use the same style as the button group."
772
  msgstr ""
773
  "Wanneer deze optie is ingeschakeld zal deze de stijl van de groep gebruiken."
774
 
775
  #. translators: 'id' as in HTML attribute 'id'
776
+ #: app/Admin/Translations.php:455
777
  msgid "Custom ID"
778
  msgstr "Aangepast ID"
779
 
780
  #. translators: 'id' as in HTML attribute 'id'
781
+ #: app/Admin/Translations.php:457
782
  msgid "Adds a custom 'id' HTML attribute to the button."
783
  msgstr "Voegt een aangepast 'id' HTML attribuut toe aan de knop."
784
 
785
  #. translators: 'id' as in HTML attribute 'id'
786
+ #: app/Admin/Translations.php:459
787
  msgid "You can add a custom ID to each button for styling purposes."
788
  msgstr "Je kan aan elke knop een aangepaste ID toevoegen voor extra styling."
789
 
790
  #. translators: 'id' as in HTML attribute 'id'
791
+ #: app/Admin/Translations.php:461
792
  msgid "ID name"
793
  msgstr "ID naam"
794
 
795
  #. translators: 'class' as in HTML attribute 'class'
796
+ #: app/Admin/Translations.php:465
797
  msgid "Custom class"
798
  msgstr "Aangepaste class"
799
 
800
  #. translators: 'class' as in HTML attribute 'class'
801
+ #: app/Admin/Translations.php:467 app/Admin/Translations.php:475
802
  msgid "Adds a custom 'class' HTML attribute to the button."
803
  msgstr "Voegt een aangepast 'class' HTML attribuut toe aan de knop."
804
 
805
  #. translators: 'class' as in HTML attribute 'class'
806
+ #: app/Admin/Translations.php:469 app/Admin/Translations.php:476
807
  msgid "You can add a custom class to each button for styling purposes."
808
  msgstr ""
809
  "Je kan aan elke knop een aangepaste class toevoegen voor extra styling."
810
 
811
  #. translators: 'class' as in HTML attribute 'class'
812
+ #: app/Admin/Translations.php:471
813
  msgid "Class name"
814
  msgstr "Class naam"
815
 
816
+ #: app/Admin/Translations.php:474 app/Admin/Translations.php:818
817
  msgid "Page rule"
818
  msgstr "Pagina regel"
819
 
820
+ #: app/Admin/Translations.php:477
821
  msgid "Manage page rules"
822
  msgstr "Beheer pagina regels"
823
 
824
+ #: app/Admin/Translations.php:478
825
  msgid "You cannot select the same page rule as it's group!"
826
  msgstr "Je kan niet dezelfde pagina-regel kiezen als de groep!"
827
 
828
+ #: app/Admin/Translations.php:481
829
  msgid "Show button when rule is triggered"
830
  msgstr "Toon knop wanneer de regel wordt getriggered"
831
 
832
+ #: app/Admin/Translations.php:482
833
  msgid "Hide button when rule is triggered"
834
  msgstr "Verberg knop wanneer de regel wordt getriggered"
835
 
836
+ #: app/Admin/Translations.php:487 app/Admin/Translations.php:989
837
  msgid "Exit intent"
838
  msgstr "Exit intent"
839
 
840
+ #: app/Admin/Translations.php:488
841
  msgid "Enable exit intent"
842
  msgstr "Exit intent inschakelen"
843
 
844
+ #: app/Admin/Translations.php:489
845
  msgid ""
846
  "With this setting, you can trigger Buttonizer to animate before your guest "
847
  "exits your website."
849
  "Met deze instelling kun je Buttonizer laten animeren wanneer de gast je "
850
  "website wilt verlaten."
851
 
852
+ #: app/Admin/Translations.php:490
853
  msgid ""
854
  "Please note: Exit intent will <b>not trigger</b> in preview mode, only in "
855
  "your LIVE website."
857
  "Let op: Exit intent zal niet worden <b>geactiveerd</b> in voorbeeld-modus, "
858
  "alleen op uw LIVE-website zal dit te zien zijn."
859
 
860
+ #: app/Admin/Translations.php:492
861
  msgid "When to trigger?"
862
  msgstr "Wanneer activeren?"
863
 
864
+ #: app/Admin/Translations.php:493
865
  msgid "Trigger when leaving browser window"
866
  msgstr "Trigger wanneer de browser wordt verlaten"
867
 
868
+ #: app/Admin/Translations.php:494
869
  msgid "Trigger on inactivity (2 minutes)"
870
  msgstr "Trigger op inactiviteit (2 minuten)"
871
 
872
+ #: app/Admin/Translations.php:497
873
  msgid "How often should it be triggered?"
874
  msgstr "Hoe vaak moet het worden geactiveerd?"
875
 
876
+ #: app/Admin/Translations.php:498
877
  msgid "Only trigger once per page"
878
  msgstr "Eenmalig per pagina"
879
 
880
+ #: app/Admin/Translations.php:499
881
  msgid "Only trigger once per session"
882
  msgstr "Eenmalig per bezoek-sessie"
883
 
884
+ #: app/Admin/Translations.php:500
885
  msgid "Trigger every time"
886
  msgstr "Altijd triggeren"
887
 
888
+ #: app/Admin/Translations.php:504
889
  msgid "Animation on intent"
890
  msgstr "Animatie bij intentie"
891
 
892
+ #: app/Admin/Translations.php:505
893
  msgid "Focused"
894
  msgstr "Gefocust"
895
 
896
+ #: app/Admin/Translations.php:506
897
  msgid "Open menu"
898
  msgstr "Open menu"
899
 
900
+ #: app/Admin/Translations.php:507
901
  msgid "Jump once and open"
902
  msgstr "Spring en open"
903
 
904
+ #: app/Admin/Translations.php:508
905
  msgid "Flip and open"
906
  msgstr "Flip en open"
907
 
908
+ #: app/Admin/Translations.php:513
909
  msgid "Button action"
910
  msgstr "Knop actie"
911
 
912
+ #: app/Admin/Translations.php:514
913
  msgid "Choose a click action for this button."
914
  msgstr "Kies een klik-actie voor deze knop."
915
 
916
+ #: app/Admin/Translations.php:515
917
  msgid "Select button action"
918
  msgstr "Selecteer knop-actie"
919
 
920
+ #: app/Admin/Translations.php:516
921
  msgid "No button action found for:"
922
  msgstr "Geen knop-actie gevonden voor:"
923
 
924
+ #: app/Admin/Translations.php:519
925
  msgid "Popular actions"
926
  msgstr "Populaire acties"
927
 
928
+ #: app/Admin/Translations.php:520
929
  msgid "Click to chat"
930
  msgstr "Klik om te chatten"
931
 
932
+ #: app/Admin/Translations.php:521
933
  msgid "Social Media"
934
  msgstr "Sociale media"
935
 
936
+ #: app/Admin/Translations.php:522
937
  msgid "Popup"
938
  msgstr "Pop-up"
939
 
940
+ #: app/Admin/Translations.php:524
941
  msgid "Call action (phone number)"
942
  msgstr "Bel actie (telefoonnummer)"
943
 
944
+ #: app/Admin/Translations.php:525
945
  msgid "Mail action (email address)"
946
  msgstr "E-mail actie (e-mail adres)"
947
 
948
+ #: app/Admin/Translations.php:526
949
  msgid "Back to top"
950
  msgstr "Terug naar boven"
951
 
952
+ #: app/Admin/Translations.php:527
953
  msgid "Go back one page"
954
  msgstr "Vorige pagina"
955
 
956
+ #: app/Admin/Translations.php:528
957
  msgid "Share page"
958
  msgstr "Deel pagina"
959
 
960
+ #: app/Admin/Translations.php:529
961
  msgid ""
962
  "Some sms apps does not support a body tag. When this happens, it will simply "
963
  "open the sms app with the phone number already filled in."
965
  "Sommige SMS apps bieden niet de mogelijkheid om een bericht mee te sturen. "
966
  "Wanneer dit gebeurt zal de app alleen het telefoonnummer gebruiken."
967
 
968
+ #: app/Admin/Translations.php:530
969
  msgid ""
970
  "Viber does not support a \"chat with phone number \" link. When a user "
971
  "clicks on this button it will open their \"add contact\" with the number "
976
  "telefoonnummer vooringesteld."
977
 
978
  #. translators: %s and %s will be replaced with links
979
+ #: app/Admin/Translations.php:533
980
  msgid ""
981
  "New, Facebook Messenger Chat Widget! First, you'll need to <a "
982
  "%1$s>whitelist</a> your site on Facebook. Then add your <a %2$s>Page ID</a> "
987
  "hierboven invullen."
988
 
989
  #. translators: %s and %s will be replaced with links
990
+ #: app/Admin/Translations.php:538
991
  msgid ""
992
  "You need to install Poptin's WordPress plugin. You can find it <a %1$s>here</"
993
  "a>. Once you've made a Poptin paste the <a %2$s>direct link</a> into the "
998
  "%2$s>directe link</a> in."
999
 
1000
  #. translators: %s will become the social media platform, like example: Share on Twitter
1001
+ #: app/Admin/Translations.php:543
1002
  msgid "Share on %s"
1003
  msgstr "Delen op %s"
1004
 
1005
  #. translators: %s will become the social media platform, like example: Share via email
1006
+ #: app/Admin/Translations.php:549
1007
  msgid "Share via %s"
1008
  msgstr "Delen via %s"
1009
 
1010
+ #: app/Admin/Translations.php:554
1011
  msgid "This URL appears to be invalid. The button may not work as expected."
1012
  msgstr ""
1013
  "Dit lijkt op een ongeldige link. De knop werkt mogelijk niet zoals verwacht."
1014
 
1015
+ #: app/Admin/Translations.php:555
1016
  msgid ""
1017
  "Do you miss <b>http://</b> or <b>https://</b>? Perhaps an unnecessary space "
1018
  "is added somewhere."
1020
  "Mis je <b>http://</b> of <b>https://</b>? Misschien heb je een onnodige "
1021
  "spatie ergens toegevoegd."
1022
 
1023
+ #: app/Admin/Translations.php:556
1024
  msgid ""
1025
  "<b>Insecure URL:</b> Sorry to interrupt, but we advice you to use HTTPS for "
1026
  "your URLS. This is a safer way to transport data."
1029
  "te gebruiken voor je links waar mogelijk. Dit is een veiligere manier voor "
1030
  "het transporteren van data."
1031
 
1032
+ #: app/Admin/Translations.php:560
1033
  msgid "Javascript function"
1034
  msgstr "Javascript functie"
1035
 
1036
+ #: app/Admin/Translations.php:561
1037
  msgid "Warning! Before you continue..."
1038
  msgstr "Waarschuwing! Voordat je verdergaat..."
1039
 
1040
+ #: app/Admin/Translations.php:562
1041
  msgid ""
1042
  "You are changing this button action from custom javascript to a different "
1043
  "action. Your javascript changes will be lost."
1045
  "Je veranderd de knopactie van aangepaste javascript naar een andere actie. "
1046
  "Je javascript wijzigingen zullen verloren gaan."
1047
 
1048
+ #: app/Admin/Translations.php:563
1049
  msgid "Are you sure you want to proceed?"
1050
  msgstr "Weet je zeker dat je verder wilt gaan?"
1051
 
1052
  #. translators: %s will be replaced with html attributes for the link
1053
+ #: app/Admin/Translations.php:568
1054
  msgid ""
1055
  "Fill in your phone number without any spaces and symbols. Read WhatsApps "
1056
  "recommendations by <a %s>clicking here.</a>"
1059
  "aanbevelingen door <a %s>hier te klikken.</a>"
1060
 
1061
  #. translators: %1$s and %2$s will be replaced with links
1062
+ #: app/Admin/Translations.php:574
1063
  msgid ""
1064
  "When you want to use Twitter DM you will need to find your Twitter User ID "
1065
  "and allow direct messages from anyone. To find your account ID <a %1$s>click "
1071
  "%1$s>klik je hier</a>. Om meer informatie te vinden over hoe je directe "
1072
  "berichten van iedereen toestaat, <a %2$s>klik hier</a>."
1073
 
1074
+ #: app/Admin/Translations.php:580
1075
  msgid "Message"
1076
  msgstr "Bericht"
1077
 
1078
+ #: app/Admin/Translations.php:581
1079
  msgid "Username"
1080
  msgstr "Gebruikersnaam"
1081
 
1082
+ #: app/Admin/Translations.php:583
1083
  msgid "Recipient"
1084
  msgstr "Ontvanger"
1085
 
1086
+ #: app/Admin/Translations.php:584
1087
  msgid "Subject"
1088
  msgstr "Onderwerp"
1089
 
1090
+ #: app/Admin/Translations.php:585
1091
  msgid "Body"
1092
  msgstr "Inhoud"
1093
 
1094
+ #: app/Admin/Translations.php:592
1095
  msgid "Open new tab"
1096
  msgstr "Open in een nieuw tabblad"
1097
 
1098
+ #: app/Admin/Translations.php:593
1099
  msgid "When the button is clicked, open in new tab."
1100
  msgstr "Wanneer er op de knop wordt geklikt, open in een nieuw tabblad."
1101
 
1102
+ #: app/Admin/Translations.php:597
1103
  msgid "Filters"
1104
  msgstr "Filters"
1105
 
1106
+ #: app/Admin/Translations.php:598
1107
  msgid "Styling"
1108
  msgstr "Stijl"
1109
 
1110
+ #: app/Admin/Translations.php:599
1111
  msgid "Timeout & Scroll"
1112
  msgstr "Time-out & Scrollen"
1113
 
1114
+ #: app/Admin/Translations.php:611 app/Admin/Translations.php:1078
1115
  msgid "Buttonizer settings"
1116
  msgstr "Buttonizer instellingen"
1117
 
1118
+ #: app/Admin/Translations.php:614
1119
  msgid "Icon library"
1120
  msgstr "Icoon set"
1121
 
1122
+ #: app/Admin/Translations.php:615
1123
  msgid "free"
1124
  msgstr "gratis"
1125
 
1126
+ #: app/Admin/Translations.php:616
1127
  msgid "Latest (automatic)"
1128
  msgstr "Laatste (automatisch)"
1129
 
1130
+ #: app/Admin/Translations.php:617
1131
  msgid ""
1132
  "If your theme automatically loads in a library, just select the correct icon "
1133
  "library instead."
1135
  "Wanneer je thema automatisch iconen inlaad moet je de juiste icoon-"
1136
  "bibliotheek kiezen."
1137
 
1138
+ #: app/Admin/Translations.php:621
1139
  msgid "Select version"
1140
  msgstr "Selecteer versie"
1141
 
1142
+ #: app/Admin/Translations.php:622
1143
  msgid ""
1144
  "Select the correct version of the library in order to use the icons in "
1145
  "Buttonizer."
1147
  "Selecteer de juiste versie van de iconen die je gebruikt op je website zodat "
1148
  "je deze kunt selecteren in Buttonizer."
1149
 
1150
+ #: app/Admin/Translations.php:627
1151
  msgid ""
1152
  "You have selected an icon library that has premium icons. Enter the library "
1153
  "license code to view and use these."
1155
  "Je hebt een icoon bibliotheek gekozen die premium iconen bevat. Vul de icoon-"
1156
  "licentie in om deze weer te geven."
1157
 
1158
+ #: app/Admin/Translations.php:628
1159
  msgid "How does this work?"
1160
  msgstr "Hoe werkt dit?"
1161
 
1162
  #. translators: String will be replaced with 'integrity' or 'license'
1163
+ #: app/Admin/Translations.php:633
1164
  msgid "Enter %s code"
1165
  msgstr "Vul de %s code in"
1166
 
1167
+ #: app/Admin/Translations.php:640
1168
  msgid "Import icon library"
1169
  msgstr "Iconen inladen"
1170
 
1171
+ #: app/Admin/Translations.php:641
1172
  msgid ""
1173
  "Should Buttonizer import the icon library into your theme? If your theme "
1174
  "already imports the library you can disable this."
1176
  "Moet Buttonizer de iconen importeren in je thema? Wanneer je thema al iconen "
1177
  "inlaad kan je deze optie uitschakelen."
1178
 
1179
+ #: app/Admin/Translations.php:647
1180
  msgid "Where can I see my click data of my buttons in Google Analytics?"
1181
  msgstr ""
1182
  "Waar kan ik mijn klik-data vinden van mijn knoppen in Google Analytics?"
1183
 
1184
  #. translators: Please keep the code-example 'UA-000000-2'
1185
+ #: app/Admin/Translations.php:650
1186
  msgid "Insert the Google Analytics tracking code here. Example: UA-000000-2"
1187
  msgstr "Vul hier je Google Analytics tracking code in. Voorbeeld: UA-000000-2"
1188
 
1189
+ #: app/Admin/Translations.php:655
1190
  msgid "Other settings"
1191
  msgstr "Overige instellingen"
1192
 
1193
+ #: app/Admin/Translations.php:658
1194
  msgid "Show admin top bar"
1195
  msgstr "Weergeven in de admin bovenbalk"
1196
 
1197
+ #: app/Admin/Translations.php:659
1198
  msgid "Hide Buttonizer in the admin top bar by disabling this setting."
1199
  msgstr ""
1200
  "Verberg Buttonizer in de admin top balk door deze instelling uit te "
1201
  "schakelen."
1202
 
1203
+ #: app/Admin/Translations.php:663
1204
  msgid "Show tooltips"
1205
  msgstr "Tooltips weergeven"
1206
 
1207
+ #: app/Admin/Translations.php:664
1208
  msgid "Hide the tooltips by disabling this setting."
1209
  msgstr "Verberg tooltips door deze instelling uit te schakelen."
1210
 
1211
+ #: app/Admin/Translations.php:668
1212
  msgid "Subdomain support"
1213
  msgstr "Subdomein ondersteuning"
1214
 
1215
+ #: app/Admin/Translations.php:669
1216
  msgid ""
1217
  "Some WordPress websites use subdomains for content purposes. Enable this "
1218
  "setting to allow Buttonizer to load on your subdomains. Only enable this "
1222
  "kan Buttonizer toestemming geven om ook op deze subdomeinen te laden. Zet "
1223
  "deze functie alleen aan als je dit nodig hebt."
1224
 
1225
+ #: app/Admin/Translations.php:675
1226
  msgid "Reset"
1227
  msgstr "Reset"
1228
 
1229
+ #: app/Admin/Translations.php:676
1230
  msgid "This is a way to reset Buttonizer to the default settings."
1231
  msgstr ""
1232
  "Dit is een manier om Buttonizer terug naar de begin-instellingen te laten "
1233
  "gaan."
1234
 
1235
+ #: app/Admin/Translations.php:679
1236
  msgid "What will happen when I click the red button below?"
1237
  msgstr "Wat gebeurt er als ik op de rode knop hieronder druk?"
1238
 
1239
+ #: app/Admin/Translations.php:680
1240
  msgid ""
1241
  "The plugin will get a 'factory reset'. All settings of Buttonizer will get "
1242
  "deleted, reverting back to when you first installed and activated Buttonizer."
1245
  "van Buttonizer zullen worden verwijderd, terug naar het begin toen je net "
1246
  "Buttonizer installeerde."
1247
 
1248
+ #: app/Admin/Translations.php:684
1249
  msgid "Why would I do that?"
1250
  msgstr "Waarom zou ik dat doen?"
1251
 
1252
+ #: app/Admin/Translations.php:685
1253
  msgid ""
1254
  "Perhaps you ruined your buttons, categories or settings and would like to "
1255
  "start from scratch. Or maybe you just feel trying the reset button..."
1258
  "toe aan een nieuw begin. Of misschien wil gewoon je de resetknop "
1259
  "uitproberen..."
1260
 
1261
+ #: app/Admin/Translations.php:689
1262
  msgid "I have a license, what about that?"
1263
  msgstr "Ik heb een licentie, wat gebeurt daarmee?"
1264
 
1265
+ #: app/Admin/Translations.php:690
1266
  msgid ""
1267
  "No worries! Nothing will happen with your license! It only resets the "
1268
  "following:"
1270
  "Maak je geen zorgen! Er gebeurt niets met je licentie! Het zal alleen de "
1271
  "volgende instellingen resetten:"
1272
 
1273
+ #: app/Admin/Translations.php:693
1274
  msgid "Your buttons"
1275
  msgstr "Jouw knoppen"
1276
 
1277
+ #: app/Admin/Translations.php:694
1278
  msgid "Your button groups"
1279
  msgstr "Jouw knop groepen"
1280
 
1281
+ #: app/Admin/Translations.php:695
1282
  msgid "All time schedules"
1283
  msgstr "Alle tijdschema's"
1284
 
1285
+ #: app/Admin/Translations.php:696
1286
  msgid "All page rules"
1287
  msgstr "Alle pagina regels"
1288
 
1289
+ #: app/Admin/Translations.php:697
1290
  msgid "All other settings of Buttonizer"
1291
  msgstr "Alle andere instellingen van Buttonizer"
1292
 
1293
+ #: app/Admin/Translations.php:698
1294
  msgid "All published settings"
1295
  msgstr "Alle gepubliceerde instellingen"
1296
 
1297
+ #: app/Admin/Translations.php:703
1298
  msgid "Okay, sounds good. What then?"
1299
  msgstr "Okey, klinkt goed. En dan?"
1300
 
1301
+ #: app/Admin/Translations.php:704
1302
  msgid ""
1303
  "Buttonizer will revert back to the default settings and feel like a fresh "
1304
  "installation. That's all."
1306
  "Buttonizer zal gaan naar de standaard instellingen en zal zich gedragen als "
1307
  "een nieuwe installatie. Dat is het enige."
1308
 
1309
+ #: app/Admin/Translations.php:708
1310
  msgid "Okay, I'm ready!"
1311
  msgstr "Okey, ik ben er klaar voor!"
1312
 
1313
+ #: app/Admin/Translations.php:709
1314
  msgid ""
1315
  "Press the red button below to reset Buttonizer. There will be no more "
1316
  "warnings."
1318
  "Druk op de rode knop hieronder om Buttonizer te resetten. Er zullen geen "
1319
  "waarschuwingen meer volgen."
1320
 
1321
+ #: app/Admin/Translations.php:710
1322
  msgid "Reset Buttonizer!"
1323
  msgstr "Reset Buttonizer!"
1324
 
1325
+ #: app/Admin/Translations.php:723
1326
  msgid "Loaded changes from previous session"
1327
  msgstr "Aanpassingen geladen van de vorige sessie"
1328
 
1329
+ #: app/Admin/Translations.php:725
1330
  msgid ""
1331
  "You left the Buttonizer preview window. You will not see the changes you "
1332
  "make."
1334
  "Je hebt de Buttonizer voorbeeldscherm verlaten. Wijzigingen die je maakt "
1335
  "zullen niet worden weergegeven."
1336
 
1337
+ #: app/Admin/Translations.php:726
1338
  msgid "Return to preview"
1339
  msgstr "Terugkeren naar voorbeeld"
1340
 
1341
+ #: app/Admin/Translations.php:727
1342
  msgid "Desktop preview"
1343
  msgstr "Desktop voorbeeld"
1344
 
1345
+ #: app/Admin/Translations.php:728
1346
  msgid "Tablet preview"
1347
  msgstr "Tablet voorbeeld"
1348
 
1349
+ #: app/Admin/Translations.php:729
1350
  msgid "Mobile preview"
1351
  msgstr "Mobiel voorbeeld"
1352
 
1353
  #. translators: %s becomes version number (eg 2.4.2)
1354
+ #: app/Admin/Translations.php:734
1355
  msgid "Version %s"
1356
  msgstr "Versie %s"
1357
 
1358
+ #: app/Admin/Translations.php:738
1359
  msgid "Knowledge base"
1360
  msgstr "Kennisbank"
1361
 
1362
+ #: app/Admin/Translations.php:739
1363
  msgid "Find out everything you need to know about Buttonizer"
1364
  msgstr "Ontdek alles wat je moet weten over Buttonizer"
1365
 
1366
+ #: app/Admin/Translations.php:742
1367
  msgid "Support"
1368
  msgstr "Ondersteuning"
1369
 
1370
+ #: app/Admin/Translations.php:744
1371
  msgid "I need support"
1372
  msgstr "Ik heb hulp nodig"
1373
 
1374
+ #: app/Admin/Translations.php:745
1375
  msgid "Direct support with the Buttonizer developers"
1376
  msgstr "Directe ondersteuning van de Buttonizer developers"
1377
 
1378
+ #: app/Admin/Translations.php:748
1379
  msgid "Community"
1380
  msgstr "Community"
1381
 
1382
+ #: app/Admin/Translations.php:749
1383
  msgid "Interact with other Buttonizers"
1384
  msgstr "Communiceer met andere Buttonizers"
1385
 
1386
+ #: app/Admin/Translations.php:752
1387
  msgid "Buttonizer tour (recommended!)"
1388
  msgstr "Buttonizer tour (aanbevolen!)"
1389
 
1390
+ #: app/Admin/Translations.php:753
1391
  msgid "Start the 2 minute tour"
1392
  msgstr "Start de 2 minuten tour"
1393
 
1394
+ #: app/Admin/Translations.php:757
1395
  msgid "Buttonizer account"
1396
  msgstr "Buttonizer account"
1397
 
1398
+ #: app/Admin/Translations.php:759
1399
  msgid "My Account"
1400
  msgstr "Mijn account"
1401
 
1402
+ #: app/Admin/Translations.php:762
1403
  msgid "Upgrade or pricing"
1404
  msgstr "Upgraden en prijzen"
1405
 
1406
+ #: app/Admin/Translations.php:765
1407
  msgid "Affiliation"
1408
  msgstr "Partner worden"
1409
 
1410
+ #: app/Admin/Translations.php:766
1411
  msgid "Earn $ by promoting Buttonizer"
1412
  msgstr "Verdien $ voor het promoten van Buttonizer"
1413
 
1414
+ #: app/Admin/Translations.php:769
1415
  msgid "Options"
1416
  msgstr "Opties"
1417
 
1418
+ #: app/Admin/Translations.php:773
1419
  msgid "Now editing:"
1420
  msgstr "Nu aan het bewerken:"
1421
 
1422
+ #: app/Admin/Translations.php:774
1423
  msgid "This creates a new group with 2 buttons inside."
1424
  msgstr "Dit maakt een nieuwe groep aan met 2 knoppen."
1425
 
1426
+ #: app/Admin/Translations.php:775
1427
  msgid "This creates a new button, outside other groups."
1428
  msgstr "Dit maakt een knop aan, buiten de andere groepen."
1429
 
1430
+ #: app/Admin/Translations.php:776
1431
  msgid "Learn more about groups and buttons"
1432
  msgstr "Lees meer over groepen en knoppen"
1433
 
1434
+ #: app/Admin/Translations.php:777
1435
  msgid "You can't drag the only button left in a group!"
1436
  msgstr ""
1437
  "Je kan deze knop niet slepen aangezien dit de enige knop is die over is!"
1438
 
1439
+ #: app/Admin/Translations.php:778
1440
  msgid "Convert to group"
1441
  msgstr "Converteren naar groep"
1442
 
1443
+ #: app/Admin/Translations.php:781
1444
  msgid "Delete button"
1445
  msgstr "Verwijder knop"
1446
 
1447
+ #: app/Admin/Translations.php:782
1448
  msgid "Delete group"
1449
  msgstr "Verwijder groep"
1450
 
1451
+ #: app/Admin/Translations.php:783
1452
  msgid "Are you sure you want to remove this button?"
1453
  msgstr "Weet je zeker dat je deze knop wilt verwijderen?"
1454
 
1455
+ #: app/Admin/Translations.php:784
1456
  msgid "Are you sure you want to remove this group?"
1457
  msgstr "Weet je zeker dat je deze groep wilt verwijderen?"
1458
 
1459
  #. translators: %s will be replaced with a number
1460
+ #: app/Admin/Translations.php:787
1461
  msgid ""
1462
  "Are you sure you want to remove this full group? It contains %s buttons."
1463
  msgstr ""
1465
  "%s knoppen."
1466
 
1467
  #. translators: %s will be replaced with the button name
1468
+ #: app/Admin/Translations.php:793
1469
  msgid "Are you sure you want to remove the button called '%s'?"
1470
  msgstr "Weet je zeker dat je de knop '%s' wilt verwijderen?"
1471
 
1472
+ #: app/Admin/Translations.php:797
1473
  msgid "You cannot delete this button because this the only button left."
1474
  msgstr "Je kan deze knop niet verwijderen omdat het de enige knop is."
1475
 
1476
+ #: app/Admin/Translations.php:798
1477
  msgid "You cannot delete this group because this the only group left."
1478
  msgstr "Je kan deze groep niet verwijderen omdat het de enige groep is."
1479
 
1480
+ #: app/Admin/Translations.php:811
1481
  msgid "Page rules"
1482
  msgstr "Paginaregels"
1483
 
1484
+ #: app/Admin/Translations.php:812
1485
  msgid "Page Rule Manager"
1486
  msgstr "Pagina regel beheer"
1487
 
1488
+ #: app/Admin/Translations.php:813
1489
  msgid ""
1490
  "You can setup page rules via this window. When you add pages or definitions "
1491
  "to this page rule, the buttons attached to this page rule will be shown or "
1496
  "gekoppeld staan worden weergegeven of verborgen, afhankelijk van je "
1497
  "instellingen zodra de regel wordt getriggerd."
1498
 
1499
+ #: app/Admin/Translations.php:814
1500
  msgid ""
1501
  "You can setup page rules that will get triggered on specific pages or user "
1502
  "roles. You can create unlimited page rules with multiple rules to trigger."
1505
  "specifieke pagina's of gebruikersrollen. Je kan een onbeperkt aantal pagina "
1506
  "regels toevoegen met verschillende condities."
1507
 
1508
+ #: app/Admin/Translations.php:815
1509
  msgid "Add page rule"
1510
  msgstr "Pagina regel toevoegen"
1511
 
1512
+ #: app/Admin/Translations.php:816
1513
  msgid "Add rule"
1514
  msgstr "Regel toevoegen"
1515
 
1516
+ #: app/Admin/Translations.php:817
1517
  msgid "Name your page rule:"
1518
  msgstr "Geef de pagina regel een naam:"
1519
 
1520
+ #: app/Admin/Translations.php:819
1521
  msgid "Show the button on any page"
1522
  msgstr "Laat de knop op elke pagina zien"
1523
 
1524
+ #: app/Admin/Translations.php:820
1525
  msgid "Remove page rule"
1526
  msgstr "Pagina regel verwijderen"
1527
 
1528
+ #: app/Admin/Translations.php:824
1529
  msgid "All conditions must meet (AND)"
1530
  msgstr "Moet voldoen aan alle condities (EN)"
1531
 
1532
+ #: app/Admin/Translations.php:825
1533
  msgid "At least one condition must meet (OR)"
1534
  msgstr "Moet voldoen aan minimaal 1 conditie (OF)"
1535
 
1536
+ #: app/Admin/Translations.php:829
1537
  msgid "and"
1538
  msgstr "en"
1539
 
1540
+ #: app/Admin/Translations.php:830
1541
  msgid "or"
1542
  msgstr "of"
1543
 
1544
+ #: app/Admin/Translations.php:833
1545
  msgid "Page"
1546
  msgstr "Pagina"
1547
 
1548
+ #: app/Admin/Translations.php:834
1549
  msgid "Page title contains"
1550
  msgstr "Pagina titel bevat"
1551
 
1552
+ #: app/Admin/Translations.php:835
1553
  msgid "Blog"
1554
  msgstr "Blog"
1555
 
1556
+ #: app/Admin/Translations.php:836
1557
  msgid "Blog title contains"
1558
  msgstr "Blog titel bevat"
1559
 
1560
+ #: app/Admin/Translations.php:837
1561
  msgid "Category"
1562
  msgstr "Categorie"
1563
 
1564
+ #: app/Admin/Translations.php:838
1565
  msgid "URL contains"
1566
  msgstr "URL bevat"
1567
 
1568
+ #: app/Admin/Translations.php:839
1569
  msgid "URL begins with"
1570
  msgstr "URL begint met"
1571
 
1572
+ #: app/Admin/Translations.php:840
1573
  msgid "URL ends with"
1574
  msgstr "URL eindigt met"
1575
 
1576
+ #: app/Admin/Translations.php:841
1577
  msgid "User has role"
1578
  msgstr "Gebruiker heeft specifieke rol"
1579
 
1580
+ #: app/Admin/Translations.php:844
1581
  msgid "Select one or more items."
1582
  msgstr "Selecteer een of meer items."
1583
 
1584
+ #: app/Admin/Translations.php:845
1585
  msgid "Are you sure you want to remove this rule?"
1586
  msgstr "Weet je zeker dat je deze regel wilt verwijderen?"
1587
 
1588
+ #: app/Admin/Translations.php:846
1589
  msgid "Aborted. Each page rule must keep at least one rule."
1590
  msgstr "Afgebroken. Elke pagina regel moet in ieder geval één regel houden."
1591
 
1592
+ #: app/Admin/Translations.php:847
1593
  msgid "You still have selected values, are you sure you want to remove this?"
1594
  msgstr ""
1595
  "Je hebt nog geselecteerde waarden, weet je zeker dat je deze wilt "
1596
  "verwijderen?"
1597
 
1598
+ #: app/Admin/Translations.php:848
1599
  msgid "Rule value"
1600
  msgstr "Regel waarde"
1601
 
1602
+ #: app/Admin/Translations.php:859
1603
  msgid "Time schedules"
1604
  msgstr "Tijdschema's"
1605
 
1606
+ #: app/Admin/Translations.php:860
1607
  msgid "Time schedule"
1608
  msgstr "Tijdschema"
1609
 
1610
+ #: app/Admin/Translations.php:861
1611
  msgid "Time schedule manager"
1612
  msgstr "Tijdschema beheer"
1613
 
1614
+ #: app/Admin/Translations.php:862
1615
  msgid ""
1616
  "You can setup time schedules that will get triggered during specific times "
1617
  "of a day. It is even possible to change the schedule actions for specific "
1622
  "passen voor specifieke dagen. Je kan een onbeperkt aantal tijdschema's "
1623
  "aanmaken."
1624
 
1625
+ #: app/Admin/Translations.php:865
1626
  msgid "Add schedule"
1627
  msgstr "Tijdschema toevoegen"
1628
 
1629
+ #: app/Admin/Translations.php:866
1630
  msgid "Add date"
1631
  msgstr "Datum toevoegen"
1632
 
1633
+ #: app/Admin/Translations.php:867
1634
  msgid "New schedule"
1635
  msgstr "Nieuwe tijdschema"
1636
 
1637
+ #: app/Admin/Translations.php:868
1638
  msgid "Name the new time schedule:"
1639
  msgstr "Geef het nieuwe tijdsschema een naam:"
1640
 
1641
+ #: app/Admin/Translations.php:869
1642
  msgid "Rename schedule to:"
1643
  msgstr "Hernoem tijdschema naar:"
1644
 
1645
+ #: app/Admin/Translations.php:870
1646
  msgid "Show the button at any time"
1647
  msgstr "De knop altijd weergeven"
1648
 
1649
  #. translators: %s becomes weekday or specific date ('Trigger on monday' or 'Trigger om January 1, 2019')
1650
+ #: app/Admin/Translations.php:873
1651
  msgid "Trigger on %s"
1652
  msgstr "Toon op %s"
1653
 
1654
  #. translators: 'till' as in '10:00 till 11:30'
1655
+ #: app/Admin/Translations.php:877
1656
  msgid "till"
1657
  msgstr "tot"
1658
 
1659
+ #: app/Admin/Translations.php:880
1660
  msgid "Remove schedule"
1661
  msgstr "Tijdschema verwijderen"
1662
 
1663
+ #: app/Admin/Translations.php:881
1664
  msgid "You must keep at least one schedule"
1665
  msgstr "Je moet minimaal één tijdschema behouden"
1666
 
1667
+ #: app/Admin/Translations.php:882
1668
  msgid "Current timezone:"
1669
  msgstr "Huidige tijdzone:"
1670
 
1671
+ #: app/Admin/Translations.php:885
1672
  msgid "Remove date"
1673
  msgstr "Datum verwijderen"
1674
 
1675
+ #: app/Admin/Translations.php:886
1676
  msgid "Are you sure you want to remove this date?"
1677
  msgstr "Weet je zeker dat je deze datum wilt verwijderen?"
1678
 
1679
  #. translators: The strings will be replaced with time (example: 10:10)
1680
+ #: app/Admin/Translations.php:893
1681
  msgid "Sorry, the time '%1$s' was invalid. Reverting back to '%2$s'."
1682
  msgstr ""
1683
  "Sorry, de gekozen tijd '%1$s' is niet geldig. De tijd wordt teruggezet naar "
1684
  "'%2$s'."
1685
 
1686
  #. translators: The strings will be replaced with time (example: 10:10)
1687
+ #: app/Admin/Translations.php:899
1688
  msgid ""
1689
  "The start time '%1$s' conflicts with the end time '%2$s'. Time has been "
1690
  "reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1693
  "teruggezet naar '%3$s'. Zorg dat je minimaal 5 minuten speling hebt."
1694
 
1695
  #. translators: The strings will be replaced with time (example: 10:10)
1696
+ #: app/Admin/Translations.php:905
1697
  msgid ""
1698
  "The end time '%1$s' conflicts with the start time '%2$s'. Time has been "
1699
  "reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1701
  "De eindtijd '%1$s' heeft een conflict met de starttijd '%2$s'. De tijd is "
1702
  "teruggezet naar '%3$s'. Zorg dat je minimaal 5 minuten speling hebt."
1703
 
1704
+ #: app/Admin/Translations.php:912
1705
  msgid "Weekdays"
1706
  msgstr "Weekdagen"
1707
 
1708
+ #: app/Admin/Translations.php:913
1709
  msgid "Monday"
1710
  msgstr "maandag"
1711
 
1712
+ #: app/Admin/Translations.php:914
1713
  msgid "Tuesday"
1714
  msgstr "dinsdag"
1715
 
1716
+ #: app/Admin/Translations.php:915
1717
  msgid "Wednesday"
1718
  msgstr "woensdag"
1719
 
1720
+ #: app/Admin/Translations.php:916
1721
  msgid "Thursday"
1722
  msgstr "donderdag"
1723
 
1724
+ #: app/Admin/Translations.php:917
1725
  msgid "Friday"
1726
  msgstr "vrijdag"
1727
 
1728
+ #: app/Admin/Translations.php:918
1729
  msgid "Saturday"
1730
  msgstr "zaterdag"
1731
 
1732
+ #: app/Admin/Translations.php:919
1733
  msgid "Sunday"
1734
  msgstr "zondag"
1735
 
1736
+ #: app/Admin/Translations.php:922
1737
  msgid "Exclude dates"
1738
  msgstr "Uitgezonderde dagen"
1739
 
1740
+ #: app/Admin/Translations.php:923
1741
  msgid ""
1742
  "You are able to add specific dates to show or hide the buttons attached to "
1743
  "this time scheme. So you can say something like this: \"<i>I am opened on "
1752
  "Deze data kun je toevoegen en configureren. Deze datum zal de normale "
1753
  "instellingen van deze dag overschrijven."
1754
 
1755
+ #: app/Admin/Translations.php:927
1756
  msgid "Start triggering buttons from"
1757
  msgstr "Start triggering knoppen vanaf"
1758
 
1759
+ #: app/Admin/Translations.php:928
1760
  msgid "Click to add start date"
1761
  msgstr "Klik om een startdatum te selecteren"
1762
 
1763
  #. translators: The string will become a date
1764
+ #: app/Admin/Translations.php:932
1765
  msgid ""
1766
  "Warning! Your start date '%s' hast past the end date of this schedule. If "
1767
  "you do not change this date the schedule will not work."
1769
  "Waarschuwing! Je startdatum '%s' is later dan de einddatum van dit "
1770
  "tijdschema. Als je dit niet aanpast zal de tijdschema niet werken."
1771
 
1772
+ #: app/Admin/Translations.php:939
1773
  msgid "Stop triggering buttons after (optional)"
1774
  msgstr "Stop triggering knoppen na (optioneel)"
1775
 
1776
+ #: app/Admin/Translations.php:940
1777
  msgid "Click to add ending date"
1778
  msgstr "Klik om een einddatum te selecteren"
1779
 
1780
+ #: app/Admin/Translations.php:941
1781
  msgid "Select a date in the datepicker below"
1782
  msgstr "Selecteer een datum in de datumkiezen hieronder"
1783
 
1784
  #. translators: The string will become a date
1785
+ #: app/Admin/Translations.php:944
1786
  msgid ""
1787
  "Warning! Your end date '%s' has past the start date of this schedule. If you "
1788
  "do not change this date the schedule will not work."
1790
  "Waarschuwing! Je einddatum '%s' is voor de startdatum van dit tijdschema. "
1791
  "Als je dit niet aanpast zal het tijdschema niet werken."
1792
 
1793
+ #: app/Admin/Translations.php:958
1794
  msgid "Hi Buttonizer!"
1795
  msgstr "Hoi Buttonizer!"
1796
 
1797
+ #: app/Admin/Translations.php:959
1798
  msgid ""
1799
  "It appears you've installed Buttonizer 2.0 before. But, you installed "
1800
  "version 1.5 again later on and updated back to 2.0!"
1802
  "Het lijkt er op dat je Buttonizer 2.0 al eens eerder hebt geïnstalleerd en "
1803
  "toen bent teruggegaan naar versie 1.5. Nu ben je geüpdatet naar versie 2.0!"
1804
 
1805
+ #: app/Admin/Translations.php:960
1806
  msgid ""
1807
  "The migration progress did not run as it did back then. In order to convert "
1808
  "your buttons, press the button below!"
1812
  "op de knop hieronder!"
1813
 
1814
  #. translators: %1$s and %2$s will become HTML icons as preview
1815
+ #: app/Admin/Translations.php:963
1816
  msgid ""
1817
  "If this window keeps popping up, even when you've tried to convert the "
1818
  "buttons, try to reset Buttonizer. Go to the 'cog' icon (%1$s) on the top "
1823
  "'tandwiel' icoon (%1$s) in de bovenste balk. Ga dan naar 'Opties %2$s' en "
1824
  "open het tabje 'Reset' en volg de instructies."
1825
 
1826
+ #: app/Admin/Translations.php:967
1827
  msgid "Convert my buttons!"
1828
  msgstr "Migreer mijn knoppen!"
1829
 
1830
+ #: app/Admin/Translations.php:979
1831
  msgid "Premium feature"
1832
  msgstr "Premium functie"
1833
 
1834
+ #: app/Admin/Translations.php:980
1835
  msgid ""
1836
  "Hi there, this function is a premium feature. We will describe what this "
1837
  "feature will do:"
1839
  "Hoi daar, deze functie is voor onze premium gebruikers. We zullen "
1840
  "beschrijven wat deze functie zal doen:"
1841
 
1842
+ #: app/Admin/Translations.php:981
1843
  msgid "What you get as a premium user:"
1844
  msgstr "Wat je krijgt als premium gebruiker:"
1845
 
1846
+ #: app/Admin/Translations.php:982
1847
  msgid "Go pro"
1848
  msgstr "Wordt premium gebruiker"
1849
 
1850
+ #: app/Admin/Translations.php:985
1851
  msgid "Show button(groups) using the advanced time schedules"
1852
  msgstr "Toon knoppen op basis van geavanceerde tijdschema's"
1853
 
1854
+ #: app/Admin/Translations.php:986
1855
  msgid "Show button(groups) on specific pages using advanced page rules"
1856
  msgstr "Toon knoppen op specifieke pagina's met geavanceerde paginaregels"
1857
 
1858
+ #: app/Admin/Translations.php:987
1859
  msgid "Create multiple button groups"
1860
  msgstr "Mogelijkheid om meer knopgroepen te maken"
1861
 
1862
+ #: app/Admin/Translations.php:988
1863
  msgid "Custom button background &amp; icon image"
1864
  msgstr "Aangepaste knopachtergrond & pictogram afbeelding"
1865
 
1866
+ #: app/Admin/Translations.php:990
1867
  msgid "Show or hide on scroll"
1868
  msgstr "Weergeven of verbergen tijdens scrollen"
1869
 
1870
+ #: app/Admin/Translations.php:991
1871
  msgid "Show on timeout"
1872
  msgstr "Weergeven na bepaalde tijd"
1873
 
1874
+ #: app/Admin/Translations.php:992
1875
  msgid "Be able to set CSS class names and button IDs"
1876
  msgstr "Gebruik maken van CSS class namen en ID's"
1877
 
1878
+ #: app/Admin/Translations.php:993
1879
  msgid "Execute javascript on button clicks"
1880
  msgstr "Javascript uitvoeren bij een knop klik"
1881
 
1882
+ #: app/Admin/Translations.php:997
1883
  msgid "My first time schedule"
1884
  msgstr "Mijn eerste tijdschema"
1885
 
1886
+ #: app/Admin/Translations.php:1001
1887
  msgid "My first page rule"
1888
  msgstr "Mijn eerste pagina regel"
1889
 
1890
+ #: app/Admin/Translations.php:1003
1891
  msgid "You are able to add multiple groups on different positions"
1892
  msgstr ""
1893
  "Je hebt de mogelijkheid om meerdere groepen aan te maken op verschillende "
1894
  "posities"
1895
 
1896
+ #: app/Admin/Translations.php:1014
1897
  msgid "Welcome to Buttonizer"
1898
  msgstr "Welkom bij Buttonizer"
1899
 
1900
  #. translators: %s will become 'Buttonizer'
1901
+ #: app/Admin/Translations.php:1017
1902
  msgid "We are pleased to welcome you to <b>%s</b>!"
1903
  msgstr "We verwelkomen u graag bij <b>%s</b>!"
1904
 
1905
+ #: app/Admin/Translations.php:1020
1906
  msgid ""
1907
  "We've created a tour for our new users. Would you like to take the tour?"
1908
  msgstr ""
1909
  "We hebben een tour gemaakt voor onze nieuwe gebruikers. Wil je deze tour "
1910
  "volgen?"
1911
 
1912
+ #: app/Admin/Translations.php:1021
1913
  msgid "No thanks, I know how it works"
1914
  msgstr "Nee bedankt, ik weet hoe het werkt"
1915
 
1916
+ #: app/Admin/Translations.php:1024
1917
  msgid "Exit tour"
1918
  msgstr "Tour beëindigen"
1919
 
1920
+ #: app/Admin/Translations.php:1027
1921
  msgid "Welcome to the Buttonizer tour!"
1922
  msgstr "Welkom bij de Buttonizer tour!"
1923
 
1924
+ #: app/Admin/Translations.php:1028
1925
  msgid ""
1926
  "Start the tour and save time. Master the Buttonizer skills in only two "
1927
  "minutes."
1930
  "twee minuten."
1931
 
1932
  #. translators: First %1$s will be an left-key icon, second %2$s will be right-key icon, third %3$s will be an keyboard icon
1933
+ #: app/Admin/Translations.php:1031
1934
  msgid "You can use the %1$s and %2$s keys on your %3$s to navigate."
1935
  msgstr ""
1936
  "Je kan gebruik maken van de %1$s en %2$s toetsen op je %3$s om te navigeren."
1937
 
1938
+ #: app/Admin/Translations.php:1036
1939
  msgid "Buttonizer bar"
1940
  msgstr "Buttonizer balk"
1941
 
1942
+ #: app/Admin/Translations.php:1037
1943
  msgid ""
1944
  "Manage all your Floating Action Buttons and Floating menu's in the "
1945
  "Buttonizer bar."
1947
  "Beheer al je Floating Action Buttons en Floating menu's in de Buttonizer "
1948
  "balk."
1949
 
1950
+ #: app/Admin/Translations.php:1040
1951
  msgid "Preview"
1952
  msgstr "Voorbeeld"
1953
 
1954
+ #: app/Admin/Translations.php:1041
1955
  msgid ""
1956
  "Watch the impact of your changes in the preview pane. Your buttons will only "
1957
  "be visible to your website visitor after you click on 'Publish'."
1960
  "alleen zichtbaar voor uw websitebezoeker nadat je op 'Publiceren' hebt "
1961
  "geklikt."
1962
 
1963
+ #: app/Admin/Translations.php:1044
1964
  msgid "Top bar"
1965
  msgstr "Bovenbalk"
1966
 
1967
+ #: app/Admin/Translations.php:1045
1968
  msgid "In the top bar, you can:"
1969
  msgstr "In de bovenbalk kan je:"
1970
 
1971
+ #: app/Admin/Translations.php:1048
1972
  msgid "Click the <b>'X'</b> to go back to WordPress"
1973
  msgstr "Op de <b>'X'</b>drukken om terug te gaan naar WordPress"
1974
 
1975
+ #: app/Admin/Translations.php:1049
1976
  msgid "<b>Revert</b> changes you have made"
1977
  msgstr "Wijzigingen die je hebt aangebracht <b>ongedaan maken</b>"
1978
 
1979
+ #: app/Admin/Translations.php:1050
1980
  msgid "<b>Publish</b> all your changes"
1981
  msgstr "<b>Publiceer</b> jouw wijzigingen"
1982
 
1983
+ #: app/Admin/Translations.php:1051
1984
  msgid "Access the <b>general settings</b>"
1985
  msgstr "Open de <b>algemene instellingen</b>"
1986
 
1987
  #. translators: %s will be replaced with an arrow and an ENTER (new line)
1988
+ #: app/Admin/Translations.php:1057
1989
  msgid "Click here %s to go to Buttonizer's general settings."
1990
  msgstr "Klik hier %s om naar Buttonizer's algemene instellingen te gaan."
1991
 
1992
+ #: app/Admin/Translations.php:1062
1993
  msgid "Menu"
1994
  msgstr "Menu"
1995
 
1996
+ #: app/Admin/Translations.php:1065
1997
  msgid ""
1998
  "Want to know what you can do with Buttonizer? Take a look at our knowledge "
1999
  "base!"
2001
  "Wil weten wat je nog meer kan doen met Buttonizer? Neem een kijkje in onze "
2002
  "kennisbank!"
2003
 
2004
+ #: app/Admin/Translations.php:1066
2005
  msgid "Visit our support page for help from us or other users."
2006
  msgstr ""
2007
  "Bezoek onze support pagina en vraag om hulp van ons of andere gebruikers."
2008
 
2009
+ #: app/Admin/Translations.php:1067
2010
  msgid "Visit our community page and interact with other Buttonizer users!"
2011
  msgstr "Bezoek onze community en communiceer met andere Buttonizer gebruikers!"
2012
 
2013
+ #: app/Admin/Translations.php:1068
2014
  msgid "View your account details and license."
2015
  msgstr "Bekijk je account informatie en licentie."
2016
 
2017
+ #: app/Admin/Translations.php:1069
2018
  msgid "Upgrade or extend your license."
2019
  msgstr "Premium kopen of verleng je licentie."
2020
 
2021
+ #: app/Admin/Translations.php:1070
2022
  msgid "Happy with the plugin? Become an ambassador and earn some cash ;-)"
2023
  msgstr "Vind je de plugin leuk? Wordt een ambassadeur en verdien geld ;-)"
2024
 
2025
+ #: app/Admin/Translations.php:1071
2026
  msgid "Change general settings like icon libraries and Google Analytics."
2027
  msgstr ""
2028
  "Verander algemene instellingen zoals icoon bibliotheken en Google Analytics."
2029
 
2030
+ #: app/Admin/Translations.php:1075
2031
  msgid "Click on <b>Options</b> to open Buttonizer's general settings."
2032
  msgstr ""
2033
  "Klik op <b>Opties</b> om de algemene instellingen te openen van Buttonizer."
2034
 
2035
+ #: app/Admin/Translations.php:1081
2036
  msgid ""
2037
  "In this section, you will be able to choose other icon libraries, the icon "
2038
  "library version and whether Buttonizer should import the icon library."
2040
  "In deze sectie is het mogelijk om andere icoon bibliotheken te kiezen, welke "
2041
  "versie en of Buttonizer deze moet laden op je pagina's."
2042
 
2043
+ #: app/Admin/Translations.php:1082
2044
  msgid ""
2045
  "Want to track your button events? Place your Google Analytics code here!"
2046
  msgstr ""
2047
  "Wil je de knop-events bijhouden? Plaats jouw Google Analytics code hier!"
2048
 
2049
+ #: app/Admin/Translations.php:1083
2050
  msgid "Completely reset Buttonizers data."
2051
  msgstr "Reset alle Buttonizer data."
2052
 
2053
+ #: app/Admin/Translations.php:1087
2054
  msgid "Button group"
2055
  msgstr "Knop groep"
2056
 
2057
+ #: app/Admin/Translations.php:1088
2058
  msgid "A button group contains buttons."
2059
  msgstr "Een groep heeft knoppen."
2060
 
2061
+ #: app/Admin/Translations.php:1089
2062
  msgid ""
2063
  "Button groups are only visible when there are <u><b>2 or more buttons</b></"
2064
  "u> within the group."
2066
  "Knopgroepen zijn alleen zichtbaar wanneer er <u><b>2 of meer knoppen</b></u> "
2067
  "zichtbaar zijn in de groep."
2068
 
2069
+ #: app/Admin/Translations.php:1090
2070
  msgid ""
2071
  "The buttons in a button group are dedicated to one position. Add multiple "
2072
  "button groups if you want to create more floating action buttons dedicated "
2075
  "De knoppen in een knopgroep zijn toegewijd aan één positie. Maak meerdere "
2076
  "knopgroepen aan om op verschillende posities knoppen te hebben."
2077
 
2078
+ #: app/Admin/Translations.php:1093
2079
  msgid "Click here to show group settings."
2080
  msgstr "Klik hier om de groepsinstellingen te zien."
2081
 
2082
+ #: app/Admin/Translations.php:1096
2083
  msgid "Group settings"
2084
  msgstr "Groep instellingen"
2085
 
2086
+ #: app/Admin/Translations.php:1097
2087
  msgid "Change the style of the button group here."
2088
  msgstr "Je kan de stijl van de groep hier aanpassen."
2089
 
2090
+ #: app/Admin/Translations.php:1098
2091
  msgid "Click on the left arrow to go back."
2092
  msgstr "Klik op de linker pijl om terug te gaan."
2093
 
2094
+ #: app/Admin/Translations.php:1101 app/Admin/Translations.php:1154
2095
  msgid "Position & device visibility"
2096
  msgstr "Positie & apparaat zichtbaarheid"
2097
 
2098
+ #: app/Admin/Translations.php:1102 app/Admin/Translations.php:1155
2099
  msgid ""
2100
  "When you change the position of the button group it will move the whole "
2101
  "group, including the buttons."
2103
  "Wanneer je de positie aanpast van de knopgroep zal de volledige groep "
2104
  "verplaatst worden, inclusief de sub-knoppen."
2105
 
2106
+ #: app/Admin/Translations.php:1103
2107
  msgid ""
2108
  "Choose whether you want the <b><u>whole group</u></b> to be visible on "
2109
  "desktop or mobile devices."
2111
  "Je kan kiezen of je de <b><u>volledige groep</u></b> zichtbaar wilt hebben "
2112
  "op desktop of mobiele apparaten."
2113
 
2114
+ #: app/Admin/Translations.php:1107
2115
  msgid "Setup Buttonizer to open automatically!"
2116
  msgstr "Stel Buttonizer in om automatisch te openen!"
2117
 
2118
+ #: app/Admin/Translations.php:1108
2119
  msgid "Change the style of your floating menu."
2120
  msgstr "Verander de stijl van je menu."
2121
 
2122
+ #: app/Admin/Translations.php:1109
2123
  msgid ""
2124
  "Buttonizer will animate every 10 seconds in order to capture the visitor's "
2125
  "attention."
2127
  "Buttonizer zal elke 10 seconden worden geanimeerd om de aandacht van de "
2128
  "bezoeker te krijgen."
2129
 
2130
+ #: app/Admin/Translations.php:1113
2131
  msgid "Change the color of the button group."
2132
  msgstr "Verander de kleur van de knopgroep."
2133
 
2134
+ #: app/Admin/Translations.php:1114
2135
  msgid "Change the border radius of the button group!"
2136
  msgstr "Pas de border-radius aan van de knop groep!"
2137
 
2138
+ #: app/Admin/Translations.php:1115 app/Admin/Translations.php:1120
2139
  msgid "Choose an image to use as a background of the button group."
2140
  msgstr ""
2141
  "Kies een afbeelding om deze te gebruiken als achtergrond van de knopgroep."
2142
 
2143
+ #: app/Admin/Translations.php:1119
2144
  msgid "Choose your favorite icon from your selected icon library."
2145
  msgstr "Kies je favoriete icoon uit de geselecteerde icoon bibliotheek."
2146
 
2147
+ #: app/Admin/Translations.php:1122
2148
  msgid "Quick setting to show or hide buttons depending device!"
2149
  msgstr "Snel-instelling om knoppen per apparaat weer te geven!"
2150
 
2151
+ #: app/Admin/Translations.php:1124
2152
  msgid "Click here to add a new button."
2153
  msgstr "Klik hier om een nieuwe knop toe te voegen."
2154
 
2155
  #. translators: %s will be replaced with 'Add button'
2156
+ #: app/Admin/Translations.php:1127
2157
  msgid "Don't click on next... Click on '%s'"
2158
  msgstr "Klik niet op de volgende knop, klik op '%s'"
2159
 
2160
  #. translators: %s will be replaced with 'Add button'
2161
+ #: app/Admin/Translations.php:1132
2162
  msgid "If you don't want to click '%s', I can do you the honor :)"
2163
  msgstr "Als je niet op '%s' wilt klikken, dan zal ik de eer nemen!"
2164
 
2165
+ #: app/Admin/Translations.php:1135
2166
  msgid "Here, on the left... If you won't click it, I will click it >:-)"
2167
  msgstr ""
2168
  "Hier, aan de linker kant... Als jij er niet op drukt, zal ik erop drukken "
2169
  ">:-)"
2170
 
2171
+ #: app/Admin/Translations.php:1136
2172
  msgid "Hello? Please click that button..."
2173
  msgstr "Hallo? Klik alsjeblieft op die knop..."
2174
 
2175
+ #: app/Admin/Translations.php:1139
2176
  msgid ""
2177
  "You have created a new button! This is a button. Buttons are contained "
2178
  "within a group."
2180
  "Je hebt een nieuwe knop gemaakt! Dit is een knop. Knoppen zijn altijd een "
2181
  "deel van een groep."
2182
 
2183
+ #: app/Admin/Translations.php:1140
2184
  msgid "Click here to open the menu."
2185
  msgstr "Klik om het menu te openen."
2186
 
2187
+ #: app/Admin/Translations.php:1142
2188
  msgid "Edit the style of the button."
2189
  msgstr "Verander de stijl van de knop."
2190
 
2191
+ #: app/Admin/Translations.php:1143
2192
  msgid ""
2193
  "Make the button appear/hide on certain pages and during certain times! This "
2194
  "function is only available for our premium users."
2196
  "Geef knoppen weer of verberg ze op basis van pagina's en tijd! Deze functie "
2197
  "is alleen beschikbaar voor onze premium gebruikers."
2198
 
2199
+ #: app/Admin/Translations.php:1144
2200
  msgid "Rename the button."
2201
  msgstr "Hernoem knop."
2202
 
2203
+ #: app/Admin/Translations.php:1145
2204
  msgid "Make a copy of the button."
2205
  msgstr "Maak een kopie van de knop."
2206
 
2207
+ #: app/Admin/Translations.php:1146
2208
  msgid "Delete the button."
2209
  msgstr "Verwijder knop."
2210
 
2211
+ #: app/Admin/Translations.php:1148
2212
  msgid "Click here to show the button settings."
2213
  msgstr "Klik hier om de knopinstellingen te openen."
2214
 
2215
+ #: app/Admin/Translations.php:1150
2216
  msgid "Button settings"
2217
  msgstr "Knop instellingen"
2218
 
2219
+ #: app/Admin/Translations.php:1151
2220
  msgid "These are the button settings. Pretty similar to the group settings."
2221
  msgstr ""
2222
  "Dit zijn de knop instellingen. Vrijwel gelijk aan de groepsinstellingen."
2223
 
2224
+ #: app/Admin/Translations.php:1156
2225
  msgid ""
2226
  "You can choose whether you want the <b><u>whole group</u></b> to be visible "
2227
  "on desktop or mobile devices."
2229
  "Je kan kiezen of je de <b><u>volledige groep</u></b> zichtbaar wilt hebben "
2230
  "op desktop of mobiele apparaten."
2231
 
2232
+ #: app/Admin/Translations.php:1159
2233
  msgid ""
2234
  "When enabled, the button will copy the button and label style of the group."
2235
  msgstr ""
2236
  "Wanneer deze optie is ingeschakeld zal deze de stijl van de groep worden "
2237
  "gebruiken."
2238
 
2239
+ #: app/Admin/Translations.php:1160
2240
  msgid "By turning it of you can change the style of the button."
2241
  msgstr ""
2242
  "Door deze instelling uit te schakelen kan je de stijl van deze knop "
2243
  "aanpassen."
2244
 
2245
+ #: app/Admin/Translations.php:1163
2246
  msgid "Revert or save"
2247
  msgstr "Wijzigingen ongedaan maken of opslaan"
2248
 
2249
+ #: app/Admin/Translations.php:1165
2250
  msgid "Delete all the changes you've made this session."
2251
  msgstr "Verwijder alle aanpassingen die je deze sessie hebt gemaakt."
2252
 
2253
+ #: app/Admin/Translations.php:1167
2254
  msgid "Save and publish the changes you've made this session."
2255
  msgstr "Sla de wijzigingen die je hebt gemaakt op en publiceer deze."
2256
 
2257
+ #: app/Admin/Translations.php:1170
2258
  msgid "That was it!"
2259
  msgstr "Dat was het!"
2260
 
2261
  #. translators: %s will be the link to the community forums
2262
+ #: app/Admin/Translations.php:1173
2263
  msgid ""
2264
  "Thank you for taking the tour, that's all folks! We hope you're ready to "
2265
  "start implementing Buttonizer to meet your goals! If you have any questions, "
2269
  "klaar voor bent om te starten met het gebruiken van Buttonizer om je doelen "
2270
  "te bereiken! Als je nog vragen over hebt kun je terecht op onze %s!"
2271
 
2272
+ #: app/Admin/Translations.php:1176
2273
  msgid ""
2274
  "If you have any feedback regarding the Buttonizer Tour, we'd love to hear it!"
2275
  msgstr ""
languages/buttonizer.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Buttonizer - Smart Floating Action Button plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Buttonizer - Smart Floating Action Button 2.0.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buttonizer\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2019-08-09T14:26:14+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.2.0\n"
15
  "X-Domain: buttonizer-multifunctional-button\n"
@@ -97,1854 +97,1863 @@ msgid "Group"
97
  msgstr ""
98
 
99
  #: app/Admin/Translations.php:83
100
- #: app/Admin/Translations.php:314
101
  msgid "Settings"
102
  msgstr ""
103
 
104
  #: app/Admin/Translations.php:85
 
 
 
 
 
105
  msgid "Confirm"
106
  msgstr ""
107
 
108
- #: app/Admin/Translations.php:86
109
  msgid "Search"
110
  msgstr ""
111
 
112
- #: app/Admin/Translations.php:88
113
  msgid "Skip"
114
  msgstr ""
115
 
116
- #: app/Admin/Translations.php:91
117
  msgid "Disable"
118
  msgstr ""
119
 
120
- #: app/Admin/Translations.php:92
121
  msgid "Disabled"
122
  msgstr ""
123
 
124
- #: app/Admin/Translations.php:95
125
- #: app/Admin/Translations.php:226
126
  msgid "Save"
127
  msgstr ""
128
 
129
- #: app/Admin/Translations.php:96
130
  msgid "Saving"
131
  msgstr ""
132
 
133
- #: app/Admin/Translations.php:97
134
  msgid "Saving settings"
135
  msgstr ""
136
 
137
- #: app/Admin/Translations.php:99
138
  msgid "Publish"
139
  msgstr ""
140
 
141
- #: app/Admin/Translations.php:100
142
  msgid "Published"
143
  msgstr ""
144
 
145
- #: app/Admin/Translations.php:101
146
  msgid "Publishing..."
147
  msgstr ""
148
 
149
- #: app/Admin/Translations.php:104
150
  msgid "Warning"
151
  msgstr ""
152
 
153
- #: app/Admin/Translations.php:107
154
  msgid "Next"
155
  msgstr ""
156
 
157
- #: app/Admin/Translations.php:108
158
  msgid "Previous"
159
  msgstr ""
160
 
161
  #. translators: The button to save and publish the changes that were made
162
- #: app/Admin/Translations.php:111
163
- #: app/Admin/Translations.php:1162
164
  msgid "Save & publish"
165
  msgstr ""
166
 
167
- #: app/Admin/Translations.php:122
168
  msgid "Loading..."
169
  msgstr ""
170
 
171
- #: app/Admin/Translations.php:123
172
  msgid "Loading settings..."
173
  msgstr ""
174
 
175
- #: app/Admin/Translations.php:124
176
  msgid "Building bar..."
177
  msgstr ""
178
 
179
- #: app/Admin/Translations.php:125
180
  msgid "Waiting for your website..."
181
  msgstr ""
182
 
183
- #: app/Admin/Translations.php:126
184
  msgid "It's taking longer than usual, slow website?"
185
  msgstr ""
186
 
187
- #: app/Admin/Translations.php:127
188
  msgid "Skip this step"
189
  msgstr ""
190
 
191
- #: app/Admin/Translations.php:128
192
  msgid "Initializing..."
193
  msgstr ""
194
 
195
- #: app/Admin/Translations.php:129
196
  msgid "Resetting..."
197
  msgstr ""
198
 
199
- #: app/Admin/Translations.php:130
200
  msgid "Running migration..."
201
  msgstr ""
202
 
203
  #. translators: Finishing as in 'Cleaning up files'
204
- #: app/Admin/Translations.php:132
205
  msgid "Finishing..."
206
  msgstr ""
207
 
208
  #. translators: %s will be replaced with 'Add button'
209
- #: app/Admin/Translations.php:143
210
- #: app/Admin/Translations.php:1124
211
- #: app/Admin/Translations.php:1129
212
  msgid "Add button"
213
  msgstr ""
214
 
215
- #: app/Admin/Translations.php:144
216
  msgid "Add group"
217
  msgstr ""
218
 
219
- #: app/Admin/Translations.php:147
220
  msgid "New button"
221
  msgstr ""
222
 
223
- #: app/Admin/Translations.php:148
224
  msgid "New group"
225
  msgstr ""
226
 
227
- #: app/Admin/Translations.php:151
228
  msgid "Advanced settings"
229
  msgstr ""
230
 
231
- #: app/Admin/Translations.php:153
232
- #: app/Admin/Translations.php:575
233
  msgid "Text"
234
  msgstr ""
235
 
236
  #. translators: Base is meant as default state of the button (not hovering or clicking)
237
- #: app/Admin/Translations.php:155
238
  msgid "Base"
239
  msgstr ""
240
 
241
  #. translators: Base is meant as default state of the button (not hovering or clicking)
242
- #: app/Admin/Translations.php:156
243
- #: app/Admin/Translations.php:344
 
244
  msgid "Icon"
245
  msgstr ""
246
 
247
- #: app/Admin/Translations.php:157
248
  msgid "Search icon"
249
  msgstr ""
250
 
251
- #: app/Admin/Translations.php:160
252
- #: app/Admin/Translations.php:356
253
  msgid "Image"
254
  msgstr ""
255
 
256
- #: app/Admin/Translations.php:161
257
  msgid "Select image"
258
  msgstr ""
259
 
260
- #: app/Admin/Translations.php:162
261
  msgid "Change image"
262
  msgstr ""
263
 
264
- #: app/Admin/Translations.php:163
265
- msgid "Click to remove this image"
266
  msgstr ""
267
 
268
  #: app/Admin/Translations.php:166
269
- msgid "First button"
270
  msgstr ""
271
 
272
  #: app/Admin/Translations.php:167
273
- msgid "Second button"
274
  msgstr ""
275
 
276
  #: app/Admin/Translations.php:170
 
 
 
 
 
 
 
 
277
  msgid "Rename"
278
  msgstr ""
279
 
280
- #: app/Admin/Translations.php:173
281
  msgid "Delete"
282
  msgstr ""
283
 
284
- #: app/Admin/Translations.php:176
285
  msgid "Duplicate"
286
  msgstr ""
287
 
288
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
289
- #: app/Admin/Translations.php:179
290
  msgid "page rule"
291
  msgstr ""
292
 
293
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
294
- #: app/Admin/Translations.php:181
295
  msgid "time schedule"
296
  msgstr ""
297
 
298
  #. translators: Interaction is meant as hover/click state
299
- #: app/Admin/Translations.php:184
300
  msgid "Interaction"
301
  msgstr ""
302
 
303
  #. translators: Background as in background color
304
- #: app/Admin/Translations.php:187
305
  msgid "Background"
306
  msgstr ""
307
 
308
- #: app/Admin/Translations.php:190
309
  msgid "Need help? Quick-start, tips & tricks"
310
  msgstr ""
311
 
312
- #: app/Admin/Translations.php:191
313
  msgid "Need help? Visit our knowledge base!"
314
  msgstr ""
315
 
316
- #: app/Admin/Translations.php:193
317
  msgid "Nothing found for:"
318
  msgstr ""
319
 
320
- #: app/Admin/Translations.php:194
321
  msgid "Search icons"
322
  msgstr ""
323
 
324
  #. translators: %1$s will be replaced with a action name, %2$s will be replaced with a link
325
- #: app/Admin/Translations.php:198
326
  msgid "Need help? Learn how to use <b>%1$s</b>."
327
  msgstr ""
328
 
329
- #: app/Admin/Translations.php:211
330
  msgid "OK"
331
  msgstr ""
332
 
333
- #: app/Admin/Translations.php:212
334
  msgid "OK, I'll fix this"
335
  msgstr ""
336
 
337
- #: app/Admin/Translations.php:214
338
  msgid "Close"
339
  msgstr ""
340
 
341
- #: app/Admin/Translations.php:215
342
  msgid "Cancel"
343
  msgstr ""
344
 
345
- #: app/Admin/Translations.php:218
346
- #: app/Admin/Translations.php:1018
347
  msgid "Yes please"
348
  msgstr ""
349
 
350
- #: app/Admin/Translations.php:219
351
  msgid "No thank you"
352
  msgstr ""
353
 
354
- #: app/Admin/Translations.php:222
355
  msgid "Dismiss"
356
  msgstr ""
357
 
358
- #: app/Admin/Translations.php:223
359
  msgid "I've changed my mind"
360
  msgstr ""
361
 
362
  #. translators: %s will be replaced with 'time schedule / page rule'
363
- #: app/Admin/Translations.php:231
364
  msgid "Remove %s?"
365
  msgstr ""
366
 
367
  #. translators: %s will be replaced with 'time schedule / page rule'
368
- #: app/Admin/Translations.php:236
369
  msgid "Are you very sure you want to remove this %1$s? Buttons that are still attached to this %2$s will become visible unless you attach them to another %3$s or hide them."
370
  msgstr ""
371
 
372
  #. translators: %s will be replaced with 'time schedule / page rule'
373
- #: app/Admin/Translations.php:241
374
  msgid "There are no buttons attached to this %s. You can remove this safely."
375
  msgstr ""
376
 
377
  #. translators: This sentence will be used to remove a 'time schedule/page rule' and there are multiple buttons attached to it. %1$s will be a number, %2$s will be the 'time schedule / page rule'
378
- #: app/Admin/Translations.php:246
379
  msgid "There are <b>%1$s</b> buttons attached to this %2$s!"
380
  msgstr ""
381
 
382
  #. translators: This sentence will be used to remove a time schedule and there is only one button attached to it
383
- #: app/Admin/Translations.php:251
384
  msgid "There is <b>1</b> button attached to this %s!"
385
  msgstr ""
386
 
387
  #. translators: %s will be replaced with 'time schedule / page rule'
388
- #: app/Admin/Translations.php:256
389
  msgid "Do you want to remove this %s?"
390
  msgstr ""
391
 
392
- #: app/Admin/Translations.php:270
393
  msgid "Event tracker"
394
  msgstr ""
395
 
396
- #: app/Admin/Translations.php:271
397
  msgid "Event tracker (experimental)"
398
  msgstr ""
399
 
400
- #: app/Admin/Translations.php:294
401
- #: app/Admin/Translations.php:1160
402
  msgid "Revert changes"
403
  msgstr ""
404
 
405
- #: app/Admin/Translations.php:295
406
  msgid "Reverting..."
407
  msgstr ""
408
 
409
- #: app/Admin/Translations.php:297
410
  msgid "Are you sure you want to revert your changes?"
411
  msgstr ""
412
 
413
- #: app/Admin/Translations.php:298
414
  msgid "The current changes will be overwritten by the current published buttons and settings."
415
  msgstr ""
416
 
417
- #: app/Admin/Translations.php:301
418
  msgid "Could not revert settings"
419
  msgstr ""
420
 
421
- #: app/Admin/Translations.php:302
422
  msgid "Something went wrong while reverting your settings."
423
  msgstr ""
424
 
425
- #: app/Admin/Translations.php:318
426
- #: app/Admin/Translations.php:1102
427
  msgid "Menu style"
428
  msgstr ""
429
 
430
- #: app/Admin/Translations.php:319
431
- #: app/Admin/Translations.php:1108
432
- #: app/Admin/Translations.php:1114
433
  msgid "Group style"
434
  msgstr ""
435
 
436
- #: app/Admin/Translations.php:320
437
  msgid "Group icon"
438
  msgstr ""
439
 
440
- #: app/Admin/Translations.php:321
441
  msgid "Button style"
442
  msgstr ""
443
 
444
- #: app/Admin/Translations.php:322
445
  msgid "Button icon"
446
  msgstr ""
447
 
448
- #: app/Admin/Translations.php:323
449
- #: app/Admin/Translations.php:372
450
  msgid "Label"
451
  msgstr ""
452
 
453
- #: app/Admin/Translations.php:327
454
  msgid "Button name"
455
  msgstr ""
456
 
457
- #: app/Admin/Translations.php:328
458
  msgid "This is the button name."
459
  msgstr ""
460
 
461
- #: app/Admin/Translations.php:332
462
  msgid "Button color"
463
  msgstr ""
464
 
465
- #: app/Admin/Translations.php:333
466
  msgid "This is the color of your button group and also the default color for your buttons within this group."
467
  msgstr ""
468
 
469
- #: app/Admin/Translations.php:336
470
  msgid "Background image"
471
  msgstr ""
472
 
473
- #: app/Admin/Translations.php:337
474
  msgid "Upload an image if you want an image as a background instead of a color. Recommended aspect ratio: square (1:1)."
475
  msgstr ""
476
 
477
- #: app/Admin/Translations.php:340
478
- #: app/Admin/Translations.php:352
479
  msgid "Border radius"
480
  msgstr ""
481
 
482
- #: app/Admin/Translations.php:341
483
  msgid "Change the roundness of this button group."
484
  msgstr ""
485
 
486
- #: app/Admin/Translations.php:345
487
  msgid "Choose an icon from the icon library."
488
  msgstr ""
489
 
490
- #: app/Admin/Translations.php:348
491
  msgid "Icon color"
492
  msgstr ""
493
 
494
- #: app/Admin/Translations.php:349
495
  msgid "Change the icon color of this button."
496
  msgstr ""
497
 
498
- #: app/Admin/Translations.php:353
499
  msgid "Change the border radius of the image."
500
  msgstr ""
501
 
502
- #: app/Admin/Translations.php:357
503
  msgid "Choose an image to use as this button or group icon. Recommended aspect ratio: square (1:1)"
504
  msgstr ""
505
 
506
- #: app/Admin/Translations.php:360
507
  msgid "Image size"
508
  msgstr ""
509
 
510
- #: app/Admin/Translations.php:361
511
  msgid "Change the size of the image."
512
  msgstr ""
513
 
514
- #: app/Admin/Translations.php:364
515
  msgid "Graphic"
516
  msgstr ""
517
 
518
- #: app/Admin/Translations.php:365
519
  msgid "Choose whether to use an icon or image as the button icon."
520
  msgstr ""
521
 
522
- #: app/Admin/Translations.php:368
523
  msgid "Icon size"
524
  msgstr ""
525
 
526
- #: app/Admin/Translations.php:369
527
  msgid "Change the icon size of this button."
528
  msgstr ""
529
 
530
- #: app/Admin/Translations.php:373
531
  msgid "Change the label of this button."
532
  msgstr ""
533
 
534
- #: app/Admin/Translations.php:374
535
  msgid "Label text"
536
  msgstr ""
537
 
538
- #: app/Admin/Translations.php:377
539
  msgid "Label color"
540
  msgstr ""
541
 
542
- #: app/Admin/Translations.php:378
543
  msgid "Change the text and background color of the label for this button or group."
544
  msgstr ""
545
 
546
- #: app/Admin/Translations.php:381
547
  msgid "Font size & border radius"
548
  msgstr ""
549
 
550
- #: app/Admin/Translations.php:382
551
  msgid "Change the font size and border radius of the label for this button group."
552
  msgstr ""
553
 
554
- #: app/Admin/Translations.php:385
555
  msgid "Animation"
556
  msgstr ""
557
 
558
- #: app/Admin/Translations.php:386
559
  msgid "This will animate this button group to get the attention of the visitor. The animation repeats itself every 10 seconds."
560
  msgstr ""
561
 
562
- #: app/Admin/Translations.php:388
563
  msgid "No animation"
564
  msgstr ""
565
 
566
- #: app/Admin/Translations.php:389
567
  msgid "Buttonizer Hello"
568
  msgstr ""
569
 
570
- #: app/Admin/Translations.php:390
571
  msgid "Bounce"
572
  msgstr ""
573
 
574
- #: app/Admin/Translations.php:391
575
  msgid "Jelly"
576
  msgstr ""
577
 
578
- #: app/Admin/Translations.php:392
579
  msgid "Pulse"
580
  msgstr ""
581
 
582
- #: app/Admin/Translations.php:396
583
  msgid "Position"
584
  msgstr ""
585
 
586
- #: app/Admin/Translations.php:397
587
  msgid "Change the position of this button group."
588
  msgstr ""
589
 
590
- #: app/Admin/Translations.php:400
591
  msgid "Bottom right"
592
  msgstr ""
593
 
594
- #: app/Admin/Translations.php:401
595
  msgid "Bottom left"
596
  msgstr ""
597
 
598
- #: app/Admin/Translations.php:402
599
  msgid "Top right"
600
  msgstr ""
601
 
602
- #: app/Admin/Translations.php:403
603
  msgid "Top left"
604
  msgstr ""
605
 
606
- #: app/Admin/Translations.php:404
607
- msgid "Custom"
608
- msgstr ""
609
-
610
- #: app/Admin/Translations.php:408
611
  msgid "Menu Style"
612
  msgstr ""
613
 
614
- #: app/Admin/Translations.php:409
615
  msgid "Change the menu style of this button group."
616
  msgstr ""
617
 
618
- #: app/Admin/Translations.php:412
619
  msgid "Default"
620
  msgstr ""
621
 
622
- #: app/Admin/Translations.php:413
623
  msgid "Faded"
624
  msgstr ""
625
 
626
- #: app/Admin/Translations.php:414
627
  msgid "Corner circle"
628
  msgstr ""
629
 
630
- #: app/Admin/Translations.php:415
631
  msgid "Build Up"
632
  msgstr ""
633
 
634
- #: app/Admin/Translations.php:416
635
  msgid "Pop"
636
  msgstr ""
637
 
638
- #: app/Admin/Translations.php:417
639
  msgid "Square"
640
  msgstr ""
641
 
642
- #: app/Admin/Translations.php:418
643
  msgid "Rectangle"
644
  msgstr ""
645
 
646
- #: app/Admin/Translations.php:422
647
  #: app/Admin/Translations.php:426
 
648
  msgid "Visibility"
649
  msgstr ""
650
 
651
- #: app/Admin/Translations.php:423
652
  msgid "Always show the label, show the label on hover or hide the label on <u>desktop devices</u>."
653
  msgstr ""
654
 
655
- #: app/Admin/Translations.php:427
656
  msgid "Always show or hide the label on <u>mobile devices</u>."
657
  msgstr ""
658
 
659
- #: app/Admin/Translations.php:430
660
  msgid "Always show label"
661
  msgstr ""
662
 
663
- #: app/Admin/Translations.php:431
664
  msgid "Show label on hover"
665
  msgstr ""
666
 
667
- #: app/Admin/Translations.php:432
668
  msgid "Hide label"
669
  msgstr ""
670
 
671
- #: app/Admin/Translations.php:435
672
  msgid "Show on"
673
  msgstr ""
674
 
675
- #: app/Admin/Translations.php:436
676
  msgid "Device visibility"
677
  msgstr ""
678
 
679
- #: app/Admin/Translations.php:437
680
  msgid "Choose if you want to make this button group visible on desktop and mobile devices."
681
  msgstr ""
682
 
683
- #: app/Admin/Translations.php:438
684
  msgid "Mobile"
685
  msgstr ""
686
 
687
- #: app/Admin/Translations.php:439
688
  msgid "Desktop"
689
  msgstr ""
690
 
691
- #: app/Admin/Translations.php:442
692
  msgid "Start opened"
693
  msgstr ""
694
 
695
- #: app/Admin/Translations.php:443
696
  msgid "This button group starts opened when this setting is enabled."
697
  msgstr ""
698
 
699
- #: app/Admin/Translations.php:446
700
  msgid "Use the same style of main button"
701
  msgstr ""
702
 
703
- #: app/Admin/Translations.php:447
704
  msgid "When enabled, this button will use the same style as the button group."
705
  msgstr ""
706
 
707
  #. translators: 'id' as in HTML attribute 'id'
708
- #: app/Admin/Translations.php:451
709
  msgid "Custom ID"
710
  msgstr ""
711
 
712
  #. translators: 'id' as in HTML attribute 'id'
713
- #: app/Admin/Translations.php:453
714
  msgid "Adds a custom 'id' HTML attribute to the button."
715
  msgstr ""
716
 
717
  #. translators: 'id' as in HTML attribute 'id'
718
- #: app/Admin/Translations.php:455
719
  msgid "You can add a custom ID to each button for styling purposes."
720
  msgstr ""
721
 
722
  #. translators: 'id' as in HTML attribute 'id'
723
- #: app/Admin/Translations.php:457
724
  msgid "ID name"
725
  msgstr ""
726
 
727
  #. translators: 'class' as in HTML attribute 'class'
728
- #: app/Admin/Translations.php:461
729
  msgid "Custom class"
730
  msgstr ""
731
 
732
  #. translators: 'class' as in HTML attribute 'class'
733
- #: app/Admin/Translations.php:463
734
- #: app/Admin/Translations.php:471
735
  msgid "Adds a custom 'class' HTML attribute to the button."
736
  msgstr ""
737
 
738
  #. translators: 'class' as in HTML attribute 'class'
739
- #: app/Admin/Translations.php:465
740
- #: app/Admin/Translations.php:472
741
  msgid "You can add a custom class to each button for styling purposes."
742
  msgstr ""
743
 
744
  #. translators: 'class' as in HTML attribute 'class'
745
- #: app/Admin/Translations.php:467
746
  msgid "Class name"
747
  msgstr ""
748
 
749
- #: app/Admin/Translations.php:470
750
- #: app/Admin/Translations.php:814
751
  msgid "Page rule"
752
  msgstr ""
753
 
754
- #: app/Admin/Translations.php:473
755
  msgid "Manage page rules"
756
  msgstr ""
757
 
758
- #: app/Admin/Translations.php:474
759
  msgid "You cannot select the same page rule as it's group!"
760
  msgstr ""
761
 
762
- #: app/Admin/Translations.php:477
763
  msgid "Show button when rule is triggered"
764
  msgstr ""
765
 
766
- #: app/Admin/Translations.php:478
767
  msgid "Hide button when rule is triggered"
768
  msgstr ""
769
 
770
- #: app/Admin/Translations.php:483
771
- #: app/Admin/Translations.php:985
772
  msgid "Exit intent"
773
  msgstr ""
774
 
775
- #: app/Admin/Translations.php:484
776
  msgid "Enable exit intent"
777
  msgstr ""
778
 
779
- #: app/Admin/Translations.php:485
780
  msgid "With this setting, you can trigger Buttonizer to animate before your guest exits your website."
781
  msgstr ""
782
 
783
- #: app/Admin/Translations.php:486
784
  msgid "Please note: Exit intent will <b>not trigger</b> in preview mode, only in your LIVE website."
785
  msgstr ""
786
 
787
- #: app/Admin/Translations.php:488
788
  msgid "When to trigger?"
789
  msgstr ""
790
 
791
- #: app/Admin/Translations.php:489
792
  msgid "Trigger when leaving browser window"
793
  msgstr ""
794
 
795
- #: app/Admin/Translations.php:490
796
  msgid "Trigger on inactivity (2 minutes)"
797
  msgstr ""
798
 
799
- #: app/Admin/Translations.php:493
800
  msgid "How often should it be triggered?"
801
  msgstr ""
802
 
803
- #: app/Admin/Translations.php:494
804
  msgid "Only trigger once per page"
805
  msgstr ""
806
 
807
- #: app/Admin/Translations.php:495
808
  msgid "Only trigger once per session"
809
  msgstr ""
810
 
811
- #: app/Admin/Translations.php:496
812
  msgid "Trigger every time"
813
  msgstr ""
814
 
815
- #: app/Admin/Translations.php:500
816
  msgid "Animation on intent"
817
  msgstr ""
818
 
819
- #: app/Admin/Translations.php:501
820
  msgid "Focused"
821
  msgstr ""
822
 
823
- #: app/Admin/Translations.php:502
824
  msgid "Open menu"
825
  msgstr ""
826
 
827
- #: app/Admin/Translations.php:503
828
  msgid "Jump once and open"
829
  msgstr ""
830
 
831
- #: app/Admin/Translations.php:504
832
  msgid "Flip and open"
833
  msgstr ""
834
 
835
- #: app/Admin/Translations.php:509
836
  msgid "Button action"
837
  msgstr ""
838
 
839
- #: app/Admin/Translations.php:510
840
  msgid "Choose a click action for this button."
841
  msgstr ""
842
 
843
- #: app/Admin/Translations.php:511
844
  msgid "Select button action"
845
  msgstr ""
846
 
847
- #: app/Admin/Translations.php:512
848
  msgid "No button action found for:"
849
  msgstr ""
850
 
851
- #: app/Admin/Translations.php:515
852
  msgid "Popular actions"
853
  msgstr ""
854
 
855
- #: app/Admin/Translations.php:516
856
  msgid "Click to chat"
857
  msgstr ""
858
 
859
- #: app/Admin/Translations.php:517
860
  msgid "Social Media"
861
  msgstr ""
862
 
863
- #: app/Admin/Translations.php:518
864
  msgid "Popup"
865
  msgstr ""
866
 
867
- #: app/Admin/Translations.php:520
868
  msgid "Call action (phone number)"
869
  msgstr ""
870
 
871
- #: app/Admin/Translations.php:521
872
  msgid "Mail action (email address)"
873
  msgstr ""
874
 
875
- #: app/Admin/Translations.php:522
876
  msgid "Back to top"
877
  msgstr ""
878
 
879
- #: app/Admin/Translations.php:523
880
  msgid "Go back one page"
881
  msgstr ""
882
 
883
- #: app/Admin/Translations.php:524
884
  msgid "Share page"
885
  msgstr ""
886
 
887
- #: app/Admin/Translations.php:525
888
  msgid "Some sms apps does not support a body tag. When this happens, it will simply open the sms app with the phone number already filled in."
889
  msgstr ""
890
 
891
- #: app/Admin/Translations.php:526
892
  msgid "Viber does not support a \"chat with phone number \" link. When a user clicks on this button it will open their \"add contact\" with the number filled in."
893
  msgstr ""
894
 
895
  #. translators: %s and %s will be replaced with links
896
- #: app/Admin/Translations.php:529
897
  msgid "New, Facebook Messenger Chat Widget! First, you'll need to <a %1$s>whitelist</a> your site on Facebook. Then add your <a %2$s>Page ID</a> into the input above."
898
  msgstr ""
899
 
900
  #. translators: %s and %s will be replaced with links
901
- #: app/Admin/Translations.php:534
902
  msgid "You need to install Poptin's WordPress plugin. You can find it <a %1$s>here</a>. Once you've made a Poptin paste the <a %2$s>direct link</a> into the input."
903
  msgstr ""
904
 
905
  #. translators: %s will become the social media platform, like example: Share on Twitter
906
- #: app/Admin/Translations.php:539
907
  msgid "Share on %s"
908
  msgstr ""
909
 
910
  #. translators: %s will become the social media platform, like example: Share via email
911
- #: app/Admin/Translations.php:545
912
  msgid "Share via %s"
913
  msgstr ""
914
 
915
- #: app/Admin/Translations.php:550
916
  msgid "This URL appears to be invalid. The button may not work as expected."
917
  msgstr ""
918
 
919
- #: app/Admin/Translations.php:551
920
  msgid "Do you miss <b>http://</b> or <b>https://</b>? Perhaps an unnecessary space is added somewhere."
921
  msgstr ""
922
 
923
- #: app/Admin/Translations.php:552
924
  msgid "<b>Insecure URL:</b> Sorry to interrupt, but we advice you to use HTTPS for your URLS. This is a safer way to transport data."
925
  msgstr ""
926
 
927
- #: app/Admin/Translations.php:556
928
  msgid "Javascript function"
929
  msgstr ""
930
 
931
- #: app/Admin/Translations.php:557
932
  msgid "Warning! Before you continue..."
933
  msgstr ""
934
 
935
- #: app/Admin/Translations.php:558
936
  msgid "You are changing this button action from custom javascript to a different action. Your javascript changes will be lost."
937
  msgstr ""
938
 
939
- #: app/Admin/Translations.php:559
940
  msgid "Are you sure you want to proceed?"
941
  msgstr ""
942
 
943
  #. translators: %s will be replaced with html attributes for the link
944
- #: app/Admin/Translations.php:564
945
  msgid "Fill in your phone number without any spaces and symbols. Read WhatsApps recommendations by <a %s>clicking here.</a>"
946
  msgstr ""
947
 
948
  #. translators: %1$s and %2$s will be replaced with links
949
- #: app/Admin/Translations.php:570
950
  msgid "When you want to use Twitter DM you will need to find your Twitter User ID and allow direct messages from anyone. To find your account ID <a %1$s>click here</a>. And to read more about how to allow direct messages from anyone, <a %2$s>click here</a>."
951
  msgstr ""
952
 
953
- #: app/Admin/Translations.php:576
954
  msgid "Message"
955
  msgstr ""
956
 
957
- #: app/Admin/Translations.php:577
958
  msgid "Username"
959
  msgstr ""
960
 
961
- #: app/Admin/Translations.php:579
962
  msgid "Recipient"
963
  msgstr ""
964
 
965
- #: app/Admin/Translations.php:580
966
  msgid "Subject"
967
  msgstr ""
968
 
969
- #: app/Admin/Translations.php:581
970
  msgid "Body"
971
  msgstr ""
972
 
973
- #: app/Admin/Translations.php:588
974
  msgid "Open new tab"
975
  msgstr ""
976
 
977
- #: app/Admin/Translations.php:589
978
  msgid "When the button is clicked, open in new tab."
979
  msgstr ""
980
 
981
- #: app/Admin/Translations.php:593
982
  msgid "Filters"
983
  msgstr ""
984
 
985
- #: app/Admin/Translations.php:594
986
  msgid "Styling"
987
  msgstr ""
988
 
989
- #: app/Admin/Translations.php:595
990
  msgid "Timeout & Scroll"
991
  msgstr ""
992
 
993
- #: app/Admin/Translations.php:607
994
- #: app/Admin/Translations.php:1074
995
  msgid "Buttonizer settings"
996
  msgstr ""
997
 
998
- #: app/Admin/Translations.php:610
999
  msgid "Icon library"
1000
  msgstr ""
1001
 
1002
- #: app/Admin/Translations.php:611
1003
  msgid "free"
1004
  msgstr ""
1005
 
1006
- #: app/Admin/Translations.php:612
1007
  msgid "Latest (automatic)"
1008
  msgstr ""
1009
 
1010
- #: app/Admin/Translations.php:613
1011
  msgid "If your theme automatically loads in a library, just select the correct icon library instead."
1012
  msgstr ""
1013
 
1014
- #: app/Admin/Translations.php:617
1015
  msgid "Select version"
1016
  msgstr ""
1017
 
1018
- #: app/Admin/Translations.php:618
1019
  msgid "Select the correct version of the library in order to use the icons in Buttonizer."
1020
  msgstr ""
1021
 
1022
- #: app/Admin/Translations.php:623
1023
  msgid "You have selected an icon library that has premium icons. Enter the library license code to view and use these."
1024
  msgstr ""
1025
 
1026
- #: app/Admin/Translations.php:624
1027
  msgid "How does this work?"
1028
  msgstr ""
1029
 
1030
  #. translators: String will be replaced with 'integrity' or 'license'
1031
- #: app/Admin/Translations.php:629
1032
  msgid "Enter %s code"
1033
  msgstr ""
1034
 
1035
- #: app/Admin/Translations.php:636
1036
  msgid "Import icon library"
1037
  msgstr ""
1038
 
1039
- #: app/Admin/Translations.php:637
1040
  msgid "Should Buttonizer import the icon library into your theme? If your theme already imports the library you can disable this."
1041
  msgstr ""
1042
 
1043
- #: app/Admin/Translations.php:643
1044
  msgid "Where can I see my click data of my buttons in Google Analytics?"
1045
  msgstr ""
1046
 
1047
  #. translators: Please keep the code-example 'UA-000000-2'
1048
- #: app/Admin/Translations.php:646
1049
  msgid "Insert the Google Analytics tracking code here. Example: UA-000000-2"
1050
  msgstr ""
1051
 
1052
- #: app/Admin/Translations.php:651
1053
  msgid "Other settings"
1054
  msgstr ""
1055
 
1056
- #: app/Admin/Translations.php:654
1057
  msgid "Show admin top bar"
1058
  msgstr ""
1059
 
1060
- #: app/Admin/Translations.php:655
1061
  msgid "Hide Buttonizer in the admin top bar by disabling this setting."
1062
  msgstr ""
1063
 
1064
- #: app/Admin/Translations.php:659
1065
  msgid "Show tooltips"
1066
  msgstr ""
1067
 
1068
- #: app/Admin/Translations.php:660
1069
  msgid "Hide the tooltips by disabling this setting."
1070
  msgstr ""
1071
 
1072
- #: app/Admin/Translations.php:664
1073
  msgid "Subdomain support"
1074
  msgstr ""
1075
 
1076
- #: app/Admin/Translations.php:665
1077
  msgid "Some WordPress websites use subdomains for content purposes. Enable this setting to allow Buttonizer to load on your subdomains. Only enable this when you need it."
1078
  msgstr ""
1079
 
1080
- #: app/Admin/Translations.php:671
1081
  msgid "Reset"
1082
  msgstr ""
1083
 
1084
- #: app/Admin/Translations.php:672
1085
  msgid "This is a way to reset Buttonizer to the default settings."
1086
  msgstr ""
1087
 
1088
- #: app/Admin/Translations.php:675
1089
  msgid "What will happen when I click the red button below?"
1090
  msgstr ""
1091
 
1092
- #: app/Admin/Translations.php:676
1093
  msgid "The plugin will get a 'factory reset'. All settings of Buttonizer will get deleted, reverting back to when you first installed and activated Buttonizer."
1094
  msgstr ""
1095
 
1096
- #: app/Admin/Translations.php:680
1097
  msgid "Why would I do that?"
1098
  msgstr ""
1099
 
1100
- #: app/Admin/Translations.php:681
1101
  msgid "Perhaps you ruined your buttons, categories or settings and would like to start from scratch. Or maybe you just feel trying the reset button..."
1102
  msgstr ""
1103
 
1104
- #: app/Admin/Translations.php:685
1105
  msgid "I have a license, what about that?"
1106
  msgstr ""
1107
 
1108
- #: app/Admin/Translations.php:686
1109
  msgid "No worries! Nothing will happen with your license! It only resets the following:"
1110
  msgstr ""
1111
 
1112
- #: app/Admin/Translations.php:689
1113
  msgid "Your buttons"
1114
  msgstr ""
1115
 
1116
- #: app/Admin/Translations.php:690
1117
  msgid "Your button groups"
1118
  msgstr ""
1119
 
1120
- #: app/Admin/Translations.php:691
1121
  msgid "All time schedules"
1122
  msgstr ""
1123
 
1124
- #: app/Admin/Translations.php:692
1125
  msgid "All page rules"
1126
  msgstr ""
1127
 
1128
- #: app/Admin/Translations.php:693
1129
  msgid "All other settings of Buttonizer"
1130
  msgstr ""
1131
 
1132
- #: app/Admin/Translations.php:694
1133
  msgid "All published settings"
1134
  msgstr ""
1135
 
1136
- #: app/Admin/Translations.php:699
1137
  msgid "Okay, sounds good. What then?"
1138
  msgstr ""
1139
 
1140
- #: app/Admin/Translations.php:700
1141
  msgid "Buttonizer will revert back to the default settings and feel like a fresh installation. That's all."
1142
  msgstr ""
1143
 
1144
- #: app/Admin/Translations.php:704
1145
  msgid "Okay, I'm ready!"
1146
  msgstr ""
1147
 
1148
- #: app/Admin/Translations.php:705
1149
  msgid "Press the red button below to reset Buttonizer. There will be no more warnings."
1150
  msgstr ""
1151
 
1152
- #: app/Admin/Translations.php:706
1153
  msgid "Reset Buttonizer!"
1154
  msgstr ""
1155
 
1156
- #: app/Admin/Translations.php:719
1157
  msgid "Loaded changes from previous session"
1158
  msgstr ""
1159
 
1160
- #: app/Admin/Translations.php:721
1161
  msgid "You left the Buttonizer preview window. You will not see the changes you make."
1162
  msgstr ""
1163
 
1164
- #: app/Admin/Translations.php:722
1165
  msgid "Return to preview"
1166
  msgstr ""
1167
 
1168
- #: app/Admin/Translations.php:723
1169
  msgid "Desktop preview"
1170
  msgstr ""
1171
 
1172
- #: app/Admin/Translations.php:724
1173
  msgid "Tablet preview"
1174
  msgstr ""
1175
 
1176
- #: app/Admin/Translations.php:725
1177
  msgid "Mobile preview"
1178
  msgstr ""
1179
 
1180
  #. translators: %s becomes version number (eg 2.4.2)
1181
- #: app/Admin/Translations.php:730
1182
  msgid "Version %s"
1183
  msgstr ""
1184
 
1185
- #: app/Admin/Translations.php:734
1186
  msgid "Knowledge base"
1187
  msgstr ""
1188
 
1189
- #: app/Admin/Translations.php:735
1190
  msgid "Find out everything you need to know about Buttonizer"
1191
  msgstr ""
1192
 
1193
- #: app/Admin/Translations.php:738
1194
  msgid "Support"
1195
  msgstr ""
1196
 
1197
- #: app/Admin/Translations.php:740
1198
  msgid "I need support"
1199
  msgstr ""
1200
 
1201
- #: app/Admin/Translations.php:741
1202
  msgid "Direct support with the Buttonizer developers"
1203
  msgstr ""
1204
 
1205
- #: app/Admin/Translations.php:744
1206
  msgid "Community"
1207
  msgstr ""
1208
 
1209
- #: app/Admin/Translations.php:745
1210
  msgid "Interact with other Buttonizers"
1211
  msgstr ""
1212
 
1213
- #: app/Admin/Translations.php:748
1214
  msgid "Buttonizer tour (recommended!)"
1215
  msgstr ""
1216
 
1217
- #: app/Admin/Translations.php:749
1218
  msgid "Start the 2 minute tour"
1219
  msgstr ""
1220
 
1221
- #: app/Admin/Translations.php:753
1222
  msgid "Buttonizer account"
1223
  msgstr ""
1224
 
1225
- #: app/Admin/Translations.php:755
1226
  msgid "My Account"
1227
  msgstr ""
1228
 
1229
- #: app/Admin/Translations.php:758
1230
  msgid "Upgrade or pricing"
1231
  msgstr ""
1232
 
1233
- #: app/Admin/Translations.php:761
1234
  msgid "Affiliation"
1235
  msgstr ""
1236
 
1237
- #: app/Admin/Translations.php:762
1238
  msgid "Earn $ by promoting Buttonizer"
1239
  msgstr ""
1240
 
1241
- #: app/Admin/Translations.php:765
1242
  msgid "Options"
1243
  msgstr ""
1244
 
1245
- #: app/Admin/Translations.php:769
1246
  msgid "Now editing:"
1247
  msgstr ""
1248
 
1249
- #: app/Admin/Translations.php:770
1250
  msgid "This creates a new group with 2 buttons inside."
1251
  msgstr ""
1252
 
1253
- #: app/Admin/Translations.php:771
1254
  msgid "This creates a new button, outside other groups."
1255
  msgstr ""
1256
 
1257
- #: app/Admin/Translations.php:772
1258
  msgid "Learn more about groups and buttons"
1259
  msgstr ""
1260
 
1261
- #: app/Admin/Translations.php:773
1262
  msgid "You can't drag the only button left in a group!"
1263
  msgstr ""
1264
 
1265
- #: app/Admin/Translations.php:774
1266
  msgid "Convert to group"
1267
  msgstr ""
1268
 
1269
- #: app/Admin/Translations.php:777
1270
  msgid "Delete button"
1271
  msgstr ""
1272
 
1273
- #: app/Admin/Translations.php:778
1274
  msgid "Delete group"
1275
  msgstr ""
1276
 
1277
- #: app/Admin/Translations.php:779
1278
  msgid "Are you sure you want to remove this button?"
1279
  msgstr ""
1280
 
1281
- #: app/Admin/Translations.php:780
1282
  msgid "Are you sure you want to remove this group?"
1283
  msgstr ""
1284
 
1285
  #. translators: %s will be replaced with a number
1286
- #: app/Admin/Translations.php:783
1287
  msgid "Are you sure you want to remove this full group? It contains %s buttons."
1288
  msgstr ""
1289
 
1290
  #. translators: %s will be replaced with the button name
1291
- #: app/Admin/Translations.php:789
1292
  msgid "Are you sure you want to remove the button called '%s'?"
1293
  msgstr ""
1294
 
1295
- #: app/Admin/Translations.php:793
1296
  msgid "You cannot delete this button because this the only button left."
1297
  msgstr ""
1298
 
1299
- #: app/Admin/Translations.php:794
1300
  msgid "You cannot delete this group because this the only group left."
1301
  msgstr ""
1302
 
1303
- #: app/Admin/Translations.php:807
1304
  msgid "Page rules"
1305
  msgstr ""
1306
 
1307
- #: app/Admin/Translations.php:808
1308
  msgid "Page Rule Manager"
1309
  msgstr ""
1310
 
1311
- #: app/Admin/Translations.php:809
1312
  msgid "You can setup page rules via this window. When you add pages or definitions to this page rule, the buttons attached to this page rule will be shown or hidden depending on their settings as soon this rule is triggered."
1313
  msgstr ""
1314
 
1315
- #: app/Admin/Translations.php:810
1316
  msgid "You can setup page rules that will get triggered on specific pages or user roles. You can create unlimited page rules with multiple rules to trigger."
1317
  msgstr ""
1318
 
1319
- #: app/Admin/Translations.php:811
1320
  msgid "Add page rule"
1321
  msgstr ""
1322
 
1323
- #: app/Admin/Translations.php:812
1324
  msgid "Add rule"
1325
  msgstr ""
1326
 
1327
- #: app/Admin/Translations.php:813
1328
  msgid "Name your page rule:"
1329
  msgstr ""
1330
 
1331
- #: app/Admin/Translations.php:815
1332
  msgid "Show the button on any page"
1333
  msgstr ""
1334
 
1335
- #: app/Admin/Translations.php:816
1336
  msgid "Remove page rule"
1337
  msgstr ""
1338
 
1339
- #: app/Admin/Translations.php:820
1340
  msgid "All conditions must meet (AND)"
1341
  msgstr ""
1342
 
1343
- #: app/Admin/Translations.php:821
1344
  msgid "At least one condition must meet (OR)"
1345
  msgstr ""
1346
 
1347
- #: app/Admin/Translations.php:825
1348
  msgid "and"
1349
  msgstr ""
1350
 
1351
- #: app/Admin/Translations.php:826
1352
  msgid "or"
1353
  msgstr ""
1354
 
1355
- #: app/Admin/Translations.php:829
1356
  msgid "Page"
1357
  msgstr ""
1358
 
1359
- #: app/Admin/Translations.php:830
1360
  msgid "Page title contains"
1361
  msgstr ""
1362
 
1363
- #: app/Admin/Translations.php:831
1364
  msgid "Blog"
1365
  msgstr ""
1366
 
1367
- #: app/Admin/Translations.php:832
1368
  msgid "Blog title contains"
1369
  msgstr ""
1370
 
1371
- #: app/Admin/Translations.php:833
1372
  msgid "Category"
1373
  msgstr ""
1374
 
1375
- #: app/Admin/Translations.php:834
1376
  msgid "URL contains"
1377
  msgstr ""
1378
 
1379
- #: app/Admin/Translations.php:835
1380
  msgid "URL begins with"
1381
  msgstr ""
1382
 
1383
- #: app/Admin/Translations.php:836
1384
  msgid "URL ends with"
1385
  msgstr ""
1386
 
1387
- #: app/Admin/Translations.php:837
1388
  msgid "User has role"
1389
  msgstr ""
1390
 
1391
- #: app/Admin/Translations.php:840
1392
  msgid "Select one or more items."
1393
  msgstr ""
1394
 
1395
- #: app/Admin/Translations.php:841
1396
  msgid "Are you sure you want to remove this rule?"
1397
  msgstr ""
1398
 
1399
- #: app/Admin/Translations.php:842
1400
  msgid "Aborted. Each page rule must keep at least one rule."
1401
  msgstr ""
1402
 
1403
- #: app/Admin/Translations.php:843
1404
  msgid "You still have selected values, are you sure you want to remove this?"
1405
  msgstr ""
1406
 
1407
- #: app/Admin/Translations.php:844
1408
  msgid "Rule value"
1409
  msgstr ""
1410
 
1411
- #: app/Admin/Translations.php:855
1412
  msgid "Time schedules"
1413
  msgstr ""
1414
 
1415
- #: app/Admin/Translations.php:856
1416
  msgid "Time schedule"
1417
  msgstr ""
1418
 
1419
- #: app/Admin/Translations.php:857
1420
  msgid "Time schedule manager"
1421
  msgstr ""
1422
 
1423
- #: app/Admin/Translations.php:858
1424
  msgid "You can setup time schedules that will get triggered during specific times of a day. It is even possible to change the schedule actions for specific days. You can create an unlimited amount of schedules."
1425
  msgstr ""
1426
 
1427
- #: app/Admin/Translations.php:861
1428
  msgid "Add schedule"
1429
  msgstr ""
1430
 
1431
- #: app/Admin/Translations.php:862
1432
  msgid "Add date"
1433
  msgstr ""
1434
 
1435
- #: app/Admin/Translations.php:863
1436
  msgid "New schedule"
1437
  msgstr ""
1438
 
1439
- #: app/Admin/Translations.php:864
1440
  msgid "Name the new time schedule:"
1441
  msgstr ""
1442
 
1443
- #: app/Admin/Translations.php:865
1444
  msgid "Rename schedule to:"
1445
  msgstr ""
1446
 
1447
- #: app/Admin/Translations.php:866
1448
  msgid "Show the button at any time"
1449
  msgstr ""
1450
 
1451
  #. translators: %s becomes weekday or specific date ('Trigger on monday' or 'Trigger om January 1, 2019')
1452
- #: app/Admin/Translations.php:869
1453
  msgid "Trigger on %s"
1454
  msgstr ""
1455
 
1456
  #. translators: 'till' as in '10:00 till 11:30'
1457
- #: app/Admin/Translations.php:873
1458
  msgid "till"
1459
  msgstr ""
1460
 
1461
- #: app/Admin/Translations.php:876
1462
  msgid "Remove schedule"
1463
  msgstr ""
1464
 
1465
- #: app/Admin/Translations.php:877
1466
  msgid "You must keep at least one schedule"
1467
  msgstr ""
1468
 
1469
- #: app/Admin/Translations.php:878
1470
  msgid "Current timezone:"
1471
  msgstr ""
1472
 
1473
- #: app/Admin/Translations.php:881
1474
  msgid "Remove date"
1475
  msgstr ""
1476
 
1477
- #: app/Admin/Translations.php:882
1478
  msgid "Are you sure you want to remove this date?"
1479
  msgstr ""
1480
 
1481
  #. translators: The strings will be replaced with time (example: 10:10)
1482
- #: app/Admin/Translations.php:889
1483
  msgid "Sorry, the time '%1$s' was invalid. Reverting back to '%2$s'."
1484
  msgstr ""
1485
 
1486
  #. translators: The strings will be replaced with time (example: 10:10)
1487
- #: app/Admin/Translations.php:895
1488
  msgid "The start time '%1$s' conflicts with the end time '%2$s'. Time has been reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1489
  msgstr ""
1490
 
1491
  #. translators: The strings will be replaced with time (example: 10:10)
1492
- #: app/Admin/Translations.php:901
1493
  msgid "The end time '%1$s' conflicts with the start time '%2$s'. Time has been reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1494
  msgstr ""
1495
 
1496
- #: app/Admin/Translations.php:908
1497
  msgid "Weekdays"
1498
  msgstr ""
1499
 
1500
- #: app/Admin/Translations.php:909
1501
  msgid "Monday"
1502
  msgstr ""
1503
 
1504
- #: app/Admin/Translations.php:910
1505
  msgid "Tuesday"
1506
  msgstr ""
1507
 
1508
- #: app/Admin/Translations.php:911
1509
  msgid "Wednesday"
1510
  msgstr ""
1511
 
1512
- #: app/Admin/Translations.php:912
1513
  msgid "Thursday"
1514
  msgstr ""
1515
 
1516
- #: app/Admin/Translations.php:913
1517
  msgid "Friday"
1518
  msgstr ""
1519
 
1520
- #: app/Admin/Translations.php:914
1521
  msgid "Saturday"
1522
  msgstr ""
1523
 
1524
- #: app/Admin/Translations.php:915
1525
  msgid "Sunday"
1526
  msgstr ""
1527
 
1528
- #: app/Admin/Translations.php:918
1529
  msgid "Exclude dates"
1530
  msgstr ""
1531
 
1532
- #: app/Admin/Translations.php:919
1533
  msgid "You are able to add specific dates to show or hide the buttons attached to this time scheme. So you can say something like this: \"<i>I am opened on January 22th until 22:00 (10 PM) because of some special evening we organize.</i>\". You can add those dates and configure them. The rule will overwrite the default settings for that weekday."
1534
  msgstr ""
1535
 
1536
- #: app/Admin/Translations.php:923
1537
  msgid "Start triggering buttons from"
1538
  msgstr ""
1539
 
1540
- #: app/Admin/Translations.php:924
1541
  msgid "Click to add start date"
1542
  msgstr ""
1543
 
1544
  #. translators: The string will become a date
1545
- #: app/Admin/Translations.php:928
1546
  msgid "Warning! Your start date '%s' hast past the end date of this schedule. If you do not change this date the schedule will not work."
1547
  msgstr ""
1548
 
1549
- #: app/Admin/Translations.php:935
1550
  msgid "Stop triggering buttons after (optional)"
1551
  msgstr ""
1552
 
1553
- #: app/Admin/Translations.php:936
1554
  msgid "Click to add ending date"
1555
  msgstr ""
1556
 
1557
- #: app/Admin/Translations.php:937
1558
  msgid "Select a date in the datepicker below"
1559
  msgstr ""
1560
 
1561
  #. translators: The string will become a date
1562
- #: app/Admin/Translations.php:940
1563
  msgid "Warning! Your end date '%s' has past the start date of this schedule. If you do not change this date the schedule will not work."
1564
  msgstr ""
1565
 
1566
- #: app/Admin/Translations.php:954
1567
  msgid "Hi Buttonizer!"
1568
  msgstr ""
1569
 
1570
- #: app/Admin/Translations.php:955
1571
  msgid "It appears you've installed Buttonizer 2.0 before. But, you installed version 1.5 again later on and updated back to 2.0!"
1572
  msgstr ""
1573
 
1574
- #: app/Admin/Translations.php:956
1575
  msgid "The migration progress did not run as it did back then. In order to convert your buttons, press the button below!"
1576
  msgstr ""
1577
 
1578
  #. translators: %1$s and %2$s will become HTML icons as preview
1579
- #: app/Admin/Translations.php:959
1580
  msgid "If this window keeps popping up, even when you've tried to convert the buttons, try to reset Buttonizer. Go to the 'cog' icon (%1$s) on the top bar, select 'Options %2$s' and the tab 'Reset' and follow the instructions."
1581
  msgstr ""
1582
 
1583
- #: app/Admin/Translations.php:963
1584
  msgid "Convert my buttons!"
1585
  msgstr ""
1586
 
1587
- #: app/Admin/Translations.php:975
1588
  msgid "Premium feature"
1589
  msgstr ""
1590
 
1591
- #: app/Admin/Translations.php:976
1592
  msgid "Hi there, this function is a premium feature. We will describe what this feature will do:"
1593
  msgstr ""
1594
 
1595
- #: app/Admin/Translations.php:977
1596
  msgid "What you get as a premium user:"
1597
  msgstr ""
1598
 
1599
- #: app/Admin/Translations.php:978
1600
  msgid "Go pro"
1601
  msgstr ""
1602
 
1603
- #: app/Admin/Translations.php:981
1604
  msgid "Show button(groups) using the advanced time schedules"
1605
  msgstr ""
1606
 
1607
- #: app/Admin/Translations.php:982
1608
  msgid "Show button(groups) on specific pages using advanced page rules"
1609
  msgstr ""
1610
 
1611
- #: app/Admin/Translations.php:983
1612
  msgid "Create multiple button groups"
1613
  msgstr ""
1614
 
1615
- #: app/Admin/Translations.php:984
1616
  msgid "Custom button background &amp; icon image"
1617
  msgstr ""
1618
 
1619
- #: app/Admin/Translations.php:986
1620
  msgid "Show or hide on scroll"
1621
  msgstr ""
1622
 
1623
- #: app/Admin/Translations.php:987
1624
  msgid "Show on timeout"
1625
  msgstr ""
1626
 
1627
- #: app/Admin/Translations.php:988
1628
  msgid "Be able to set CSS class names and button IDs"
1629
  msgstr ""
1630
 
1631
- #: app/Admin/Translations.php:989
1632
  msgid "Execute javascript on button clicks"
1633
  msgstr ""
1634
 
1635
- #: app/Admin/Translations.php:993
1636
  msgid "My first time schedule"
1637
  msgstr ""
1638
 
1639
- #: app/Admin/Translations.php:997
1640
  msgid "My first page rule"
1641
  msgstr ""
1642
 
1643
- #: app/Admin/Translations.php:999
1644
  msgid "You are able to add multiple groups on different positions"
1645
  msgstr ""
1646
 
1647
- #: app/Admin/Translations.php:1010
1648
  msgid "Welcome to Buttonizer"
1649
  msgstr ""
1650
 
1651
  #. translators: %s will become 'Buttonizer'
1652
- #: app/Admin/Translations.php:1013
1653
  msgid "We are pleased to welcome you to <b>%s</b>!"
1654
  msgstr ""
1655
 
1656
- #: app/Admin/Translations.php:1016
1657
  msgid "We've created a tour for our new users. Would you like to take the tour?"
1658
  msgstr ""
1659
 
1660
- #: app/Admin/Translations.php:1017
1661
  msgid "No thanks, I know how it works"
1662
  msgstr ""
1663
 
1664
- #: app/Admin/Translations.php:1020
1665
  msgid "Exit tour"
1666
  msgstr ""
1667
 
1668
- #: app/Admin/Translations.php:1023
1669
  msgid "Welcome to the Buttonizer tour!"
1670
  msgstr ""
1671
 
1672
- #: app/Admin/Translations.php:1024
1673
  msgid "Start the tour and save time. Master the Buttonizer skills in only two minutes."
1674
  msgstr ""
1675
 
1676
  #. translators: First %1$s will be an left-key icon, second %2$s will be right-key icon, third %3$s will be an keyboard icon
1677
- #: app/Admin/Translations.php:1027
1678
  msgid "You can use the %1$s and %2$s keys on your %3$s to navigate."
1679
  msgstr ""
1680
 
1681
- #: app/Admin/Translations.php:1032
1682
  msgid "Buttonizer bar"
1683
  msgstr ""
1684
 
1685
- #: app/Admin/Translations.php:1033
1686
  msgid "Manage all your Floating Action Buttons and Floating menu's in the Buttonizer bar."
1687
  msgstr ""
1688
 
1689
- #: app/Admin/Translations.php:1036
1690
  msgid "Preview"
1691
  msgstr ""
1692
 
1693
- #: app/Admin/Translations.php:1037
1694
  msgid "Watch the impact of your changes in the preview pane. Your buttons will only be visible to your website visitor after you click on 'Publish'."
1695
  msgstr ""
1696
 
1697
- #: app/Admin/Translations.php:1040
1698
  msgid "Top bar"
1699
  msgstr ""
1700
 
1701
- #: app/Admin/Translations.php:1041
1702
  msgid "In the top bar, you can:"
1703
  msgstr ""
1704
 
1705
- #: app/Admin/Translations.php:1044
1706
  msgid "Click the <b>'X'</b> to go back to WordPress"
1707
  msgstr ""
1708
 
1709
- #: app/Admin/Translations.php:1045
1710
  msgid "<b>Revert</b> changes you have made"
1711
  msgstr ""
1712
 
1713
- #: app/Admin/Translations.php:1046
1714
  msgid "<b>Publish</b> all your changes"
1715
  msgstr ""
1716
 
1717
- #: app/Admin/Translations.php:1047
1718
  msgid "Access the <b>general settings</b>"
1719
  msgstr ""
1720
 
1721
  #. translators: %s will be replaced with an arrow and an ENTER (new line)
1722
- #: app/Admin/Translations.php:1053
1723
  msgid "Click here %s to go to Buttonizer's general settings."
1724
  msgstr ""
1725
 
1726
- #: app/Admin/Translations.php:1058
1727
  msgid "Menu"
1728
  msgstr ""
1729
 
1730
- #: app/Admin/Translations.php:1061
1731
  msgid "Want to know what you can do with Buttonizer? Take a look at our knowledge base!"
1732
  msgstr ""
1733
 
1734
- #: app/Admin/Translations.php:1062
1735
  msgid "Visit our support page for help from us or other users."
1736
  msgstr ""
1737
 
1738
- #: app/Admin/Translations.php:1063
1739
  msgid "Visit our community page and interact with other Buttonizer users!"
1740
  msgstr ""
1741
 
1742
- #: app/Admin/Translations.php:1064
1743
  msgid "View your account details and license."
1744
  msgstr ""
1745
 
1746
- #: app/Admin/Translations.php:1065
1747
  msgid "Upgrade or extend your license."
1748
  msgstr ""
1749
 
1750
- #: app/Admin/Translations.php:1066
1751
  msgid "Happy with the plugin? Become an ambassador and earn some cash ;-)"
1752
  msgstr ""
1753
 
1754
- #: app/Admin/Translations.php:1067
1755
  msgid "Change general settings like icon libraries and Google Analytics."
1756
  msgstr ""
1757
 
1758
- #: app/Admin/Translations.php:1071
1759
  msgid "Click on <b>Options</b> to open Buttonizer's general settings."
1760
  msgstr ""
1761
 
1762
- #: app/Admin/Translations.php:1077
1763
  msgid "In this section, you will be able to choose other icon libraries, the icon library version and whether Buttonizer should import the icon library."
1764
  msgstr ""
1765
 
1766
- #: app/Admin/Translations.php:1078
1767
  msgid "Want to track your button events? Place your Google Analytics code here!"
1768
  msgstr ""
1769
 
1770
- #: app/Admin/Translations.php:1079
1771
  msgid "Completely reset Buttonizers data."
1772
  msgstr ""
1773
 
1774
- #: app/Admin/Translations.php:1083
1775
  msgid "Button group"
1776
  msgstr ""
1777
 
1778
- #: app/Admin/Translations.php:1084
1779
  msgid "A button group contains buttons."
1780
  msgstr ""
1781
 
1782
- #: app/Admin/Translations.php:1085
1783
  msgid "Button groups are only visible when there are <u><b>2 or more buttons</b></u> within the group."
1784
  msgstr ""
1785
 
1786
- #: app/Admin/Translations.php:1086
1787
  msgid "The buttons in a button group are dedicated to one position. Add multiple button groups if you want to create more floating action buttons dedicated to different positions."
1788
  msgstr ""
1789
 
1790
- #: app/Admin/Translations.php:1089
1791
  msgid "Click here to show group settings."
1792
  msgstr ""
1793
 
1794
- #: app/Admin/Translations.php:1092
1795
  msgid "Group settings"
1796
  msgstr ""
1797
 
1798
- #: app/Admin/Translations.php:1093
1799
  msgid "Change the style of the button group here."
1800
  msgstr ""
1801
 
1802
- #: app/Admin/Translations.php:1094
1803
  msgid "Click on the left arrow to go back."
1804
  msgstr ""
1805
 
1806
- #: app/Admin/Translations.php:1097
1807
- #: app/Admin/Translations.php:1150
1808
  msgid "Position & device visibility"
1809
  msgstr ""
1810
 
1811
- #: app/Admin/Translations.php:1098
1812
- #: app/Admin/Translations.php:1151
1813
  msgid "When you change the position of the button group it will move the whole group, including the buttons."
1814
  msgstr ""
1815
 
1816
- #: app/Admin/Translations.php:1099
1817
  msgid "Choose whether you want the <b><u>whole group</u></b> to be visible on desktop or mobile devices."
1818
  msgstr ""
1819
 
1820
- #: app/Admin/Translations.php:1103
1821
  msgid "Setup Buttonizer to open automatically!"
1822
  msgstr ""
1823
 
1824
- #: app/Admin/Translations.php:1104
1825
  msgid "Change the style of your floating menu."
1826
  msgstr ""
1827
 
1828
- #: app/Admin/Translations.php:1105
1829
  msgid "Buttonizer will animate every 10 seconds in order to capture the visitor's attention."
1830
  msgstr ""
1831
 
1832
- #: app/Admin/Translations.php:1109
1833
  msgid "Change the color of the button group."
1834
  msgstr ""
1835
 
1836
- #: app/Admin/Translations.php:1110
1837
  msgid "Change the border radius of the button group!"
1838
  msgstr ""
1839
 
1840
- #: app/Admin/Translations.php:1111
1841
- #: app/Admin/Translations.php:1116
1842
  msgid "Choose an image to use as a background of the button group."
1843
  msgstr ""
1844
 
1845
- #: app/Admin/Translations.php:1115
1846
  msgid "Choose your favorite icon from your selected icon library."
1847
  msgstr ""
1848
 
1849
- #: app/Admin/Translations.php:1118
1850
  msgid "Quick setting to show or hide buttons depending device!"
1851
  msgstr ""
1852
 
1853
- #: app/Admin/Translations.php:1120
1854
  msgid "Click here to add a new button."
1855
  msgstr ""
1856
 
1857
  #. translators: %s will be replaced with 'Add button'
1858
- #: app/Admin/Translations.php:1123
1859
  msgid "Don't click on next... Click on '%s'"
1860
  msgstr ""
1861
 
1862
  #. translators: %s will be replaced with 'Add button'
1863
- #: app/Admin/Translations.php:1128
1864
  msgid "If you don't want to click '%s', I can do you the honor :)"
1865
  msgstr ""
1866
 
1867
- #: app/Admin/Translations.php:1131
1868
  msgid "Here, on the left... If you won't click it, I will click it >:-)"
1869
  msgstr ""
1870
 
1871
- #: app/Admin/Translations.php:1132
1872
  msgid "Hello? Please click that button..."
1873
  msgstr ""
1874
 
1875
- #: app/Admin/Translations.php:1135
1876
  msgid "You have created a new button! This is a button. Buttons are contained within a group."
1877
  msgstr ""
1878
 
1879
- #: app/Admin/Translations.php:1136
1880
  msgid "Click here to open the menu."
1881
  msgstr ""
1882
 
1883
- #: app/Admin/Translations.php:1138
1884
  msgid "Edit the style of the button."
1885
  msgstr ""
1886
 
1887
- #: app/Admin/Translations.php:1139
1888
  msgid "Make the button appear/hide on certain pages and during certain times! This function is only available for our premium users."
1889
  msgstr ""
1890
 
1891
- #: app/Admin/Translations.php:1140
1892
  msgid "Rename the button."
1893
  msgstr ""
1894
 
1895
- #: app/Admin/Translations.php:1141
1896
  msgid "Make a copy of the button."
1897
  msgstr ""
1898
 
1899
- #: app/Admin/Translations.php:1142
1900
  msgid "Delete the button."
1901
  msgstr ""
1902
 
1903
- #: app/Admin/Translations.php:1144
1904
  msgid "Click here to show the button settings."
1905
  msgstr ""
1906
 
1907
- #: app/Admin/Translations.php:1146
1908
  msgid "Button settings"
1909
  msgstr ""
1910
 
1911
- #: app/Admin/Translations.php:1147
1912
  msgid "These are the button settings. Pretty similar to the group settings."
1913
  msgstr ""
1914
 
1915
- #: app/Admin/Translations.php:1152
1916
  msgid "You can choose whether you want the <b><u>whole group</u></b> to be visible on desktop or mobile devices."
1917
  msgstr ""
1918
 
1919
- #: app/Admin/Translations.php:1155
1920
  msgid "When enabled, the button will copy the button and label style of the group."
1921
  msgstr ""
1922
 
1923
- #: app/Admin/Translations.php:1156
1924
  msgid "By turning it of you can change the style of the button."
1925
  msgstr ""
1926
 
1927
- #: app/Admin/Translations.php:1159
2
  # This file is distributed under the same license as the Buttonizer - Smart Floating Action Button plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Buttonizer - Smart Floating Action Button 2.0.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buttonizer\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2019-09-08T18:39:10+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.2.0\n"
15
  "X-Domain: buttonizer-multifunctional-button\n"
97
  msgstr ""
98
 
99
  #: app/Admin/Translations.php:83
100
+ #: app/Admin/Translations.php:318
101
  msgid "Settings"
102
  msgstr ""
103
 
104
  #: app/Admin/Translations.php:85
105
+ #: app/Admin/Translations.php:408
106
+ msgid "Custom"
107
+ msgstr ""
108
+
109
+ #: app/Admin/Translations.php:87
110
  msgid "Confirm"
111
  msgstr ""
112
 
113
+ #: app/Admin/Translations.php:88
114
  msgid "Search"
115
  msgstr ""
116
 
117
+ #: app/Admin/Translations.php:90
118
  msgid "Skip"
119
  msgstr ""
120
 
121
+ #: app/Admin/Translations.php:93
122
  msgid "Disable"
123
  msgstr ""
124
 
125
+ #: app/Admin/Translations.php:94
126
  msgid "Disabled"
127
  msgstr ""
128
 
129
+ #: app/Admin/Translations.php:97
130
+ #: app/Admin/Translations.php:230
131
  msgid "Save"
132
  msgstr ""
133
 
134
+ #: app/Admin/Translations.php:98
135
  msgid "Saving"
136
  msgstr ""
137
 
138
+ #: app/Admin/Translations.php:99
139
  msgid "Saving settings"
140
  msgstr ""
141
 
142
+ #: app/Admin/Translations.php:101
143
  msgid "Publish"
144
  msgstr ""
145
 
146
+ #: app/Admin/Translations.php:102
147
  msgid "Published"
148
  msgstr ""
149
 
150
+ #: app/Admin/Translations.php:103
151
  msgid "Publishing..."
152
  msgstr ""
153
 
154
+ #: app/Admin/Translations.php:106
155
  msgid "Warning"
156
  msgstr ""
157
 
158
+ #: app/Admin/Translations.php:109
159
  msgid "Next"
160
  msgstr ""
161
 
162
+ #: app/Admin/Translations.php:110
163
  msgid "Previous"
164
  msgstr ""
165
 
166
  #. translators: The button to save and publish the changes that were made
167
+ #: app/Admin/Translations.php:113
168
+ #: app/Admin/Translations.php:1166
169
  msgid "Save & publish"
170
  msgstr ""
171
 
172
+ #: app/Admin/Translations.php:124
173
  msgid "Loading..."
174
  msgstr ""
175
 
176
+ #: app/Admin/Translations.php:125
177
  msgid "Loading settings..."
178
  msgstr ""
179
 
180
+ #: app/Admin/Translations.php:126
181
  msgid "Building bar..."
182
  msgstr ""
183
 
184
+ #: app/Admin/Translations.php:127
185
  msgid "Waiting for your website..."
186
  msgstr ""
187
 
188
+ #: app/Admin/Translations.php:128
189
  msgid "It's taking longer than usual, slow website?"
190
  msgstr ""
191
 
192
+ #: app/Admin/Translations.php:129
193
  msgid "Skip this step"
194
  msgstr ""
195
 
196
+ #: app/Admin/Translations.php:130
197
  msgid "Initializing..."
198
  msgstr ""
199
 
200
+ #: app/Admin/Translations.php:131
201
  msgid "Resetting..."
202
  msgstr ""
203
 
204
+ #: app/Admin/Translations.php:132
205
  msgid "Running migration..."
206
  msgstr ""
207
 
208
  #. translators: Finishing as in 'Cleaning up files'
209
+ #: app/Admin/Translations.php:134
210
  msgid "Finishing..."
211
  msgstr ""
212
 
213
  #. translators: %s will be replaced with 'Add button'
214
+ #: app/Admin/Translations.php:145
215
+ #: app/Admin/Translations.php:1128
216
+ #: app/Admin/Translations.php:1133
217
  msgid "Add button"
218
  msgstr ""
219
 
220
+ #: app/Admin/Translations.php:146
221
  msgid "Add group"
222
  msgstr ""
223
 
224
+ #: app/Admin/Translations.php:149
225
  msgid "New button"
226
  msgstr ""
227
 
228
+ #: app/Admin/Translations.php:150
229
  msgid "New group"
230
  msgstr ""
231
 
232
+ #: app/Admin/Translations.php:153
233
  msgid "Advanced settings"
234
  msgstr ""
235
 
236
+ #: app/Admin/Translations.php:155
237
+ #: app/Admin/Translations.php:579
238
  msgid "Text"
239
  msgstr ""
240
 
241
  #. translators: Base is meant as default state of the button (not hovering or clicking)
242
+ #: app/Admin/Translations.php:157
243
  msgid "Base"
244
  msgstr ""
245
 
246
  #. translators: Base is meant as default state of the button (not hovering or clicking)
247
+ #: app/Admin/Translations.php:158
248
+ #: app/Admin/Translations.php:348
249
+ #: app/Admin/Translations.php:360
250
  msgid "Icon"
251
  msgstr ""
252
 
253
+ #: app/Admin/Translations.php:159
254
  msgid "Search icon"
255
  msgstr ""
256
 
257
+ #: app/Admin/Translations.php:162
 
258
  msgid "Image"
259
  msgstr ""
260
 
261
+ #: app/Admin/Translations.php:163
262
  msgid "Select image"
263
  msgstr ""
264
 
265
+ #: app/Admin/Translations.php:164
266
  msgid "Change image"
267
  msgstr ""
268
 
269
+ #: app/Admin/Translations.php:165
270
+ msgid "Select file"
271
  msgstr ""
272
 
273
  #: app/Admin/Translations.php:166
274
+ msgid "Change file"
275
  msgstr ""
276
 
277
  #: app/Admin/Translations.php:167
278
+ msgid "Click to remove this image"
279
  msgstr ""
280
 
281
  #: app/Admin/Translations.php:170
282
+ msgid "First button"
283
+ msgstr ""
284
+
285
+ #: app/Admin/Translations.php:171
286
+ msgid "Second button"
287
+ msgstr ""
288
+
289
+ #: app/Admin/Translations.php:174
290
  msgid "Rename"
291
  msgstr ""
292
 
293
+ #: app/Admin/Translations.php:177
294
  msgid "Delete"
295
  msgstr ""
296
 
297
+ #: app/Admin/Translations.php:180
298
  msgid "Duplicate"
299
  msgstr ""
300
 
301
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
302
+ #: app/Admin/Translations.php:183
303
  msgid "page rule"
304
  msgstr ""
305
 
306
  #. translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
307
+ #: app/Admin/Translations.php:185
308
  msgid "time schedule"
309
  msgstr ""
310
 
311
  #. translators: Interaction is meant as hover/click state
312
+ #: app/Admin/Translations.php:188
313
  msgid "Interaction"
314
  msgstr ""
315
 
316
  #. translators: Background as in background color
317
+ #: app/Admin/Translations.php:191
318
  msgid "Background"
319
  msgstr ""
320
 
321
+ #: app/Admin/Translations.php:194
322
  msgid "Need help? Quick-start, tips & tricks"
323
  msgstr ""
324
 
325
+ #: app/Admin/Translations.php:195
326
  msgid "Need help? Visit our knowledge base!"
327
  msgstr ""
328
 
329
+ #: app/Admin/Translations.php:197
330
  msgid "Nothing found for:"
331
  msgstr ""
332
 
333
+ #: app/Admin/Translations.php:198
334
  msgid "Search icons"
335
  msgstr ""
336
 
337
  #. translators: %1$s will be replaced with a action name, %2$s will be replaced with a link
338
+ #: app/Admin/Translations.php:202
339
  msgid "Need help? Learn how to use <b>%1$s</b>."
340
  msgstr ""
341
 
342
+ #: app/Admin/Translations.php:215
343
  msgid "OK"
344
  msgstr ""
345
 
346
+ #: app/Admin/Translations.php:216
347
  msgid "OK, I'll fix this"
348
  msgstr ""
349
 
350
+ #: app/Admin/Translations.php:218
351
  msgid "Close"
352
  msgstr ""
353
 
354
+ #: app/Admin/Translations.php:219
355
  msgid "Cancel"
356
  msgstr ""
357
 
358
+ #: app/Admin/Translations.php:222
359
+ #: app/Admin/Translations.php:1022
360
  msgid "Yes please"
361
  msgstr ""
362
 
363
+ #: app/Admin/Translations.php:223
364
  msgid "No thank you"
365
  msgstr ""
366
 
367
+ #: app/Admin/Translations.php:226
368
  msgid "Dismiss"
369
  msgstr ""
370
 
371
+ #: app/Admin/Translations.php:227
372
  msgid "I've changed my mind"
373
  msgstr ""
374
 
375
  #. translators: %s will be replaced with 'time schedule / page rule'
376
+ #: app/Admin/Translations.php:235
377
  msgid "Remove %s?"
378
  msgstr ""
379
 
380
  #. translators: %s will be replaced with 'time schedule / page rule'
381
+ #: app/Admin/Translations.php:240
382
  msgid "Are you very sure you want to remove this %1$s? Buttons that are still attached to this %2$s will become visible unless you attach them to another %3$s or hide them."
383
  msgstr ""
384
 
385
  #. translators: %s will be replaced with 'time schedule / page rule'
386
+ #: app/Admin/Translations.php:245
387
  msgid "There are no buttons attached to this %s. You can remove this safely."
388
  msgstr ""
389
 
390
  #. translators: This sentence will be used to remove a 'time schedule/page rule' and there are multiple buttons attached to it. %1$s will be a number, %2$s will be the 'time schedule / page rule'
391
+ #: app/Admin/Translations.php:250
392
  msgid "There are <b>%1$s</b> buttons attached to this %2$s!"
393
  msgstr ""
394
 
395
  #. translators: This sentence will be used to remove a time schedule and there is only one button attached to it
396
+ #: app/Admin/Translations.php:255
397
  msgid "There is <b>1</b> button attached to this %s!"
398
  msgstr ""
399
 
400
  #. translators: %s will be replaced with 'time schedule / page rule'
401
+ #: app/Admin/Translations.php:260
402
  msgid "Do you want to remove this %s?"
403
  msgstr ""
404
 
405
+ #: app/Admin/Translations.php:274
406
  msgid "Event tracker"
407
  msgstr ""
408
 
409
+ #: app/Admin/Translations.php:275
410
  msgid "Event tracker (experimental)"
411
  msgstr ""
412
 
413
+ #: app/Admin/Translations.php:298
414
+ #: app/Admin/Translations.php:1164
415
  msgid "Revert changes"
416
  msgstr ""
417
 
418
+ #: app/Admin/Translations.php:299
419
  msgid "Reverting..."
420
  msgstr ""
421
 
422
+ #: app/Admin/Translations.php:301
423
  msgid "Are you sure you want to revert your changes?"
424
  msgstr ""
425
 
426
+ #: app/Admin/Translations.php:302
427
  msgid "The current changes will be overwritten by the current published buttons and settings."
428
  msgstr ""
429
 
430
+ #: app/Admin/Translations.php:305
431
  msgid "Could not revert settings"
432
  msgstr ""
433
 
434
+ #: app/Admin/Translations.php:306
435
  msgid "Something went wrong while reverting your settings."
436
  msgstr ""
437
 
438
+ #: app/Admin/Translations.php:322
439
+ #: app/Admin/Translations.php:1106
440
  msgid "Menu style"
441
  msgstr ""
442
 
443
+ #: app/Admin/Translations.php:323
444
+ #: app/Admin/Translations.php:1112
445
+ #: app/Admin/Translations.php:1118
446
  msgid "Group style"
447
  msgstr ""
448
 
449
+ #: app/Admin/Translations.php:324
450
  msgid "Group icon"
451
  msgstr ""
452
 
453
+ #: app/Admin/Translations.php:325
454
  msgid "Button style"
455
  msgstr ""
456
 
457
+ #: app/Admin/Translations.php:326
458
  msgid "Button icon"
459
  msgstr ""
460
 
461
+ #: app/Admin/Translations.php:327
462
+ #: app/Admin/Translations.php:376
463
  msgid "Label"
464
  msgstr ""
465
 
466
+ #: app/Admin/Translations.php:331
467
  msgid "Button name"
468
  msgstr ""
469
 
470
+ #: app/Admin/Translations.php:332
471
  msgid "This is the button name."
472
  msgstr ""
473
 
474
+ #: app/Admin/Translations.php:336
475
  msgid "Button color"
476
  msgstr ""
477
 
478
+ #: app/Admin/Translations.php:337
479
  msgid "This is the color of your button group and also the default color for your buttons within this group."
480
  msgstr ""
481
 
482
+ #: app/Admin/Translations.php:340
483
  msgid "Background image"
484
  msgstr ""
485
 
486
+ #: app/Admin/Translations.php:341
487
  msgid "Upload an image if you want an image as a background instead of a color. Recommended aspect ratio: square (1:1)."
488
  msgstr ""
489
 
490
+ #: app/Admin/Translations.php:344
491
+ #: app/Admin/Translations.php:356
492
  msgid "Border radius"
493
  msgstr ""
494
 
495
+ #: app/Admin/Translations.php:345
496
  msgid "Change the roundness of this button group."
497
  msgstr ""
498
 
499
+ #: app/Admin/Translations.php:349
500
  msgid "Choose an icon from the icon library."
501
  msgstr ""
502
 
503
+ #: app/Admin/Translations.php:352
504
  msgid "Icon color"
505
  msgstr ""
506
 
507
+ #: app/Admin/Translations.php:353
508
  msgid "Change the icon color of this button."
509
  msgstr ""
510
 
511
+ #: app/Admin/Translations.php:357
512
  msgid "Change the border radius of the image."
513
  msgstr ""
514
 
515
+ #: app/Admin/Translations.php:361
516
  msgid "Choose an image to use as this button or group icon. Recommended aspect ratio: square (1:1)"
517
  msgstr ""
518
 
519
+ #: app/Admin/Translations.php:364
520
  msgid "Image size"
521
  msgstr ""
522
 
523
+ #: app/Admin/Translations.php:365
524
  msgid "Change the size of the image."
525
  msgstr ""
526
 
527
+ #: app/Admin/Translations.php:368
528
  msgid "Graphic"
529
  msgstr ""
530
 
531
+ #: app/Admin/Translations.php:369
532
  msgid "Choose whether to use an icon or image as the button icon."
533
  msgstr ""
534
 
535
+ #: app/Admin/Translations.php:372
536
  msgid "Icon size"
537
  msgstr ""
538
 
539
+ #: app/Admin/Translations.php:373
540
  msgid "Change the icon size of this button."
541
  msgstr ""
542
 
543
+ #: app/Admin/Translations.php:377
544
  msgid "Change the label of this button."
545
  msgstr ""
546
 
547
+ #: app/Admin/Translations.php:378
548
  msgid "Label text"
549
  msgstr ""
550
 
551
+ #: app/Admin/Translations.php:381
552
  msgid "Label color"
553
  msgstr ""
554
 
555
+ #: app/Admin/Translations.php:382
556
  msgid "Change the text and background color of the label for this button or group."
557
  msgstr ""
558
 
559
+ #: app/Admin/Translations.php:385
560
  msgid "Font size & border radius"
561
  msgstr ""
562
 
563
+ #: app/Admin/Translations.php:386
564
  msgid "Change the font size and border radius of the label for this button group."
565
  msgstr ""
566
 
567
+ #: app/Admin/Translations.php:389
568
  msgid "Animation"
569
  msgstr ""
570
 
571
+ #: app/Admin/Translations.php:390
572
  msgid "This will animate this button group to get the attention of the visitor. The animation repeats itself every 10 seconds."
573
  msgstr ""
574
 
575
+ #: app/Admin/Translations.php:392
576
  msgid "No animation"
577
  msgstr ""
578
 
579
+ #: app/Admin/Translations.php:393
580
  msgid "Buttonizer Hello"
581
  msgstr ""
582
 
583
+ #: app/Admin/Translations.php:394
584
  msgid "Bounce"
585
  msgstr ""
586
 
587
+ #: app/Admin/Translations.php:395
588
  msgid "Jelly"
589
  msgstr ""
590
 
591
+ #: app/Admin/Translations.php:396
592
  msgid "Pulse"
593
  msgstr ""
594
 
595
+ #: app/Admin/Translations.php:400
596
  msgid "Position"
597
  msgstr ""
598
 
599
+ #: app/Admin/Translations.php:401
600
  msgid "Change the position of this button group."
601
  msgstr ""
602
 
603
+ #: app/Admin/Translations.php:404
604
  msgid "Bottom right"
605
  msgstr ""
606
 
607
+ #: app/Admin/Translations.php:405
608
  msgid "Bottom left"
609
  msgstr ""
610
 
611
+ #: app/Admin/Translations.php:406
612
  msgid "Top right"
613
  msgstr ""
614
 
615
+ #: app/Admin/Translations.php:407
616
  msgid "Top left"
617
  msgstr ""
618
 
619
+ #: app/Admin/Translations.php:412
 
 
 
 
620
  msgid "Menu Style"
621
  msgstr ""
622
 
623
+ #: app/Admin/Translations.php:413
624
  msgid "Change the menu style of this button group."
625
  msgstr ""
626
 
627
+ #: app/Admin/Translations.php:416
628
  msgid "Default"
629
  msgstr ""
630
 
631
+ #: app/Admin/Translations.php:417
632
  msgid "Faded"
633
  msgstr ""
634
 
635
+ #: app/Admin/Translations.php:418
636
  msgid "Corner circle"
637
  msgstr ""
638
 
639
+ #: app/Admin/Translations.php:419
640
  msgid "Build Up"
641
  msgstr ""
642
 
643
+ #: app/Admin/Translations.php:420
644
  msgid "Pop"
645
  msgstr ""
646
 
647
+ #: app/Admin/Translations.php:421
648
  msgid "Square"
649
  msgstr ""
650
 
651
+ #: app/Admin/Translations.php:422
652
  msgid "Rectangle"
653
  msgstr ""
654
 
 
655
  #: app/Admin/Translations.php:426
656
+ #: app/Admin/Translations.php:430
657
  msgid "Visibility"
658
  msgstr ""
659
 
660
+ #: app/Admin/Translations.php:427
661
  msgid "Always show the label, show the label on hover or hide the label on <u>desktop devices</u>."
662
  msgstr ""
663
 
664
+ #: app/Admin/Translations.php:431
665
  msgid "Always show or hide the label on <u>mobile devices</u>."
666
  msgstr ""
667
 
668
+ #: app/Admin/Translations.php:434
669
  msgid "Always show label"
670
  msgstr ""
671
 
672
+ #: app/Admin/Translations.php:435
673
  msgid "Show label on hover"
674
  msgstr ""
675
 
676
+ #: app/Admin/Translations.php:436
677
  msgid "Hide label"
678
  msgstr ""
679
 
680
+ #: app/Admin/Translations.php:439
681
  msgid "Show on"
682
  msgstr ""
683
 
684
+ #: app/Admin/Translations.php:440
685
  msgid "Device visibility"
686
  msgstr ""
687
 
688
+ #: app/Admin/Translations.php:441
689
  msgid "Choose if you want to make this button group visible on desktop and mobile devices."
690
  msgstr ""
691
 
692
+ #: app/Admin/Translations.php:442
693
  msgid "Mobile"
694
  msgstr ""
695
 
696
+ #: app/Admin/Translations.php:443
697
  msgid "Desktop"
698
  msgstr ""
699
 
700
+ #: app/Admin/Translations.php:446
701
  msgid "Start opened"
702
  msgstr ""
703
 
704
+ #: app/Admin/Translations.php:447
705
  msgid "This button group starts opened when this setting is enabled."
706
  msgstr ""
707
 
708
+ #: app/Admin/Translations.php:450
709
  msgid "Use the same style of main button"
710
  msgstr ""
711
 
712
+ #: app/Admin/Translations.php:451
713
  msgid "When enabled, this button will use the same style as the button group."
714
  msgstr ""
715
 
716
  #. translators: 'id' as in HTML attribute 'id'
717
+ #: app/Admin/Translations.php:455
718
  msgid "Custom ID"
719
  msgstr ""
720
 
721
  #. translators: 'id' as in HTML attribute 'id'
722
+ #: app/Admin/Translations.php:457
723
  msgid "Adds a custom 'id' HTML attribute to the button."
724
  msgstr ""
725
 
726
  #. translators: 'id' as in HTML attribute 'id'
727
+ #: app/Admin/Translations.php:459
728
  msgid "You can add a custom ID to each button for styling purposes."
729
  msgstr ""
730
 
731
  #. translators: 'id' as in HTML attribute 'id'
732
+ #: app/Admin/Translations.php:461
733
  msgid "ID name"
734
  msgstr ""
735
 
736
  #. translators: 'class' as in HTML attribute 'class'
737
+ #: app/Admin/Translations.php:465
738
  msgid "Custom class"
739
  msgstr ""
740
 
741
  #. translators: 'class' as in HTML attribute 'class'
742
+ #: app/Admin/Translations.php:467
743
+ #: app/Admin/Translations.php:475
744
  msgid "Adds a custom 'class' HTML attribute to the button."
745
  msgstr ""
746
 
747
  #. translators: 'class' as in HTML attribute 'class'
748
+ #: app/Admin/Translations.php:469
749
+ #: app/Admin/Translations.php:476
750
  msgid "You can add a custom class to each button for styling purposes."
751
  msgstr ""
752
 
753
  #. translators: 'class' as in HTML attribute 'class'
754
+ #: app/Admin/Translations.php:471
755
  msgid "Class name"
756
  msgstr ""
757
 
758
+ #: app/Admin/Translations.php:474
759
+ #: app/Admin/Translations.php:818
760
  msgid "Page rule"
761
  msgstr ""
762
 
763
+ #: app/Admin/Translations.php:477
764
  msgid "Manage page rules"
765
  msgstr ""
766
 
767
+ #: app/Admin/Translations.php:478
768
  msgid "You cannot select the same page rule as it's group!"
769
  msgstr ""
770
 
771
+ #: app/Admin/Translations.php:481
772
  msgid "Show button when rule is triggered"
773
  msgstr ""
774
 
775
+ #: app/Admin/Translations.php:482
776
  msgid "Hide button when rule is triggered"
777
  msgstr ""
778
 
779
+ #: app/Admin/Translations.php:487
780
+ #: app/Admin/Translations.php:989
781
  msgid "Exit intent"
782
  msgstr ""
783
 
784
+ #: app/Admin/Translations.php:488
785
  msgid "Enable exit intent"
786
  msgstr ""
787
 
788
+ #: app/Admin/Translations.php:489
789
  msgid "With this setting, you can trigger Buttonizer to animate before your guest exits your website."
790
  msgstr ""
791
 
792
+ #: app/Admin/Translations.php:490
793
  msgid "Please note: Exit intent will <b>not trigger</b> in preview mode, only in your LIVE website."
794
  msgstr ""
795
 
796
+ #: app/Admin/Translations.php:492
797
  msgid "When to trigger?"
798
  msgstr ""
799
 
800
+ #: app/Admin/Translations.php:493
801
  msgid "Trigger when leaving browser window"
802
  msgstr ""
803
 
804
+ #: app/Admin/Translations.php:494
805
  msgid "Trigger on inactivity (2 minutes)"
806
  msgstr ""
807
 
808
+ #: app/Admin/Translations.php:497
809
  msgid "How often should it be triggered?"
810
  msgstr ""
811
 
812
+ #: app/Admin/Translations.php:498
813
  msgid "Only trigger once per page"
814
  msgstr ""
815
 
816
+ #: app/Admin/Translations.php:499
817
  msgid "Only trigger once per session"
818
  msgstr ""
819
 
820
+ #: app/Admin/Translations.php:500
821
  msgid "Trigger every time"
822
  msgstr ""
823
 
824
+ #: app/Admin/Translations.php:504
825
  msgid "Animation on intent"
826
  msgstr ""
827
 
828
+ #: app/Admin/Translations.php:505
829
  msgid "Focused"
830
  msgstr ""
831
 
832
+ #: app/Admin/Translations.php:506
833
  msgid "Open menu"
834
  msgstr ""
835
 
836
+ #: app/Admin/Translations.php:507
837
  msgid "Jump once and open"
838
  msgstr ""
839
 
840
+ #: app/Admin/Translations.php:508
841
  msgid "Flip and open"
842
  msgstr ""
843
 
844
+ #: app/Admin/Translations.php:513
845
  msgid "Button action"
846
  msgstr ""
847
 
848
+ #: app/Admin/Translations.php:514
849
  msgid "Choose a click action for this button."
850
  msgstr ""
851
 
852
+ #: app/Admin/Translations.php:515
853
  msgid "Select button action"
854
  msgstr ""
855
 
856
+ #: app/Admin/Translations.php:516
857
  msgid "No button action found for:"
858
  msgstr ""
859
 
860
+ #: app/Admin/Translations.php:519
861
  msgid "Popular actions"
862
  msgstr ""
863
 
864
+ #: app/Admin/Translations.php:520
865
  msgid "Click to chat"
866
  msgstr ""
867
 
868
+ #: app/Admin/Translations.php:521
869
  msgid "Social Media"
870
  msgstr ""
871
 
872
+ #: app/Admin/Translations.php:522
873
  msgid "Popup"
874
  msgstr ""
875
 
876
+ #: app/Admin/Translations.php:524
877
  msgid "Call action (phone number)"
878
  msgstr ""
879
 
880
+ #: app/Admin/Translations.php:525
881
  msgid "Mail action (email address)"
882
  msgstr ""
883
 
884
+ #: app/Admin/Translations.php:526
885
  msgid "Back to top"
886
  msgstr ""
887
 
888
+ #: app/Admin/Translations.php:527
889
  msgid "Go back one page"
890
  msgstr ""
891
 
892
+ #: app/Admin/Translations.php:528
893
  msgid "Share page"
894
  msgstr ""
895
 
896
+ #: app/Admin/Translations.php:529
897
  msgid "Some sms apps does not support a body tag. When this happens, it will simply open the sms app with the phone number already filled in."
898
  msgstr ""
899
 
900
+ #: app/Admin/Translations.php:530
901
  msgid "Viber does not support a \"chat with phone number \" link. When a user clicks on this button it will open their \"add contact\" with the number filled in."
902
  msgstr ""
903
 
904
  #. translators: %s and %s will be replaced with links
905
+ #: app/Admin/Translations.php:533
906
  msgid "New, Facebook Messenger Chat Widget! First, you'll need to <a %1$s>whitelist</a> your site on Facebook. Then add your <a %2$s>Page ID</a> into the input above."
907
  msgstr ""
908
 
909
  #. translators: %s and %s will be replaced with links
910
+ #: app/Admin/Translations.php:538
911
  msgid "You need to install Poptin's WordPress plugin. You can find it <a %1$s>here</a>. Once you've made a Poptin paste the <a %2$s>direct link</a> into the input."
912
  msgstr ""
913
 
914
  #. translators: %s will become the social media platform, like example: Share on Twitter
915
+ #: app/Admin/Translations.php:543
916
  msgid "Share on %s"
917
  msgstr ""
918
 
919
  #. translators: %s will become the social media platform, like example: Share via email
920
+ #: app/Admin/Translations.php:549
921
  msgid "Share via %s"
922
  msgstr ""
923
 
924
+ #: app/Admin/Translations.php:554
925
  msgid "This URL appears to be invalid. The button may not work as expected."
926
  msgstr ""
927
 
928
+ #: app/Admin/Translations.php:555
929
  msgid "Do you miss <b>http://</b> or <b>https://</b>? Perhaps an unnecessary space is added somewhere."
930
  msgstr ""
931
 
932
+ #: app/Admin/Translations.php:556
933
  msgid "<b>Insecure URL:</b> Sorry to interrupt, but we advice you to use HTTPS for your URLS. This is a safer way to transport data."
934
  msgstr ""
935
 
936
+ #: app/Admin/Translations.php:560
937
  msgid "Javascript function"
938
  msgstr ""
939
 
940
+ #: app/Admin/Translations.php:561
941
  msgid "Warning! Before you continue..."
942
  msgstr ""
943
 
944
+ #: app/Admin/Translations.php:562
945
  msgid "You are changing this button action from custom javascript to a different action. Your javascript changes will be lost."
946
  msgstr ""
947
 
948
+ #: app/Admin/Translations.php:563
949
  msgid "Are you sure you want to proceed?"
950
  msgstr ""
951
 
952
  #. translators: %s will be replaced with html attributes for the link
953
+ #: app/Admin/Translations.php:568
954
  msgid "Fill in your phone number without any spaces and symbols. Read WhatsApps recommendations by <a %s>clicking here.</a>"
955
  msgstr ""
956
 
957
  #. translators: %1$s and %2$s will be replaced with links
958
+ #: app/Admin/Translations.php:574
959
  msgid "When you want to use Twitter DM you will need to find your Twitter User ID and allow direct messages from anyone. To find your account ID <a %1$s>click here</a>. And to read more about how to allow direct messages from anyone, <a %2$s>click here</a>."
960
  msgstr ""
961
 
962
+ #: app/Admin/Translations.php:580
963
  msgid "Message"
964
  msgstr ""
965
 
966
+ #: app/Admin/Translations.php:581
967
  msgid "Username"
968
  msgstr ""
969
 
970
+ #: app/Admin/Translations.php:583
971
  msgid "Recipient"
972
  msgstr ""
973
 
974
+ #: app/Admin/Translations.php:584
975
  msgid "Subject"
976
  msgstr ""
977
 
978
+ #: app/Admin/Translations.php:585
979
  msgid "Body"
980
  msgstr ""
981
 
982
+ #: app/Admin/Translations.php:592
983
  msgid "Open new tab"
984
  msgstr ""
985
 
986
+ #: app/Admin/Translations.php:593
987
  msgid "When the button is clicked, open in new tab."
988
  msgstr ""
989
 
990
+ #: app/Admin/Translations.php:597
991
  msgid "Filters"
992
  msgstr ""
993
 
994
+ #: app/Admin/Translations.php:598
995
  msgid "Styling"
996
  msgstr ""
997
 
998
+ #: app/Admin/Translations.php:599
999
  msgid "Timeout & Scroll"
1000
  msgstr ""
1001
 
1002
+ #: app/Admin/Translations.php:611
1003
+ #: app/Admin/Translations.php:1078
1004
  msgid "Buttonizer settings"
1005
  msgstr ""
1006
 
1007
+ #: app/Admin/Translations.php:614
1008
  msgid "Icon library"
1009
  msgstr ""
1010
 
1011
+ #: app/Admin/Translations.php:615
1012
  msgid "free"
1013
  msgstr ""
1014
 
1015
+ #: app/Admin/Translations.php:616
1016
  msgid "Latest (automatic)"
1017
  msgstr ""
1018
 
1019
+ #: app/Admin/Translations.php:617
1020
  msgid "If your theme automatically loads in a library, just select the correct icon library instead."
1021
  msgstr ""
1022
 
1023
+ #: app/Admin/Translations.php:621
1024
  msgid "Select version"
1025
  msgstr ""
1026
 
1027
+ #: app/Admin/Translations.php:622
1028
  msgid "Select the correct version of the library in order to use the icons in Buttonizer."
1029
  msgstr ""
1030
 
1031
+ #: app/Admin/Translations.php:627
1032
  msgid "You have selected an icon library that has premium icons. Enter the library license code to view and use these."
1033
  msgstr ""
1034
 
1035
+ #: app/Admin/Translations.php:628
1036
  msgid "How does this work?"
1037
  msgstr ""
1038
 
1039
  #. translators: String will be replaced with 'integrity' or 'license'
1040
+ #: app/Admin/Translations.php:633
1041
  msgid "Enter %s code"
1042
  msgstr ""
1043
 
1044
+ #: app/Admin/Translations.php:640
1045
  msgid "Import icon library"
1046
  msgstr ""
1047
 
1048
+ #: app/Admin/Translations.php:641
1049
  msgid "Should Buttonizer import the icon library into your theme? If your theme already imports the library you can disable this."
1050
  msgstr ""
1051
 
1052
+ #: app/Admin/Translations.php:647
1053
  msgid "Where can I see my click data of my buttons in Google Analytics?"
1054
  msgstr ""
1055
 
1056
  #. translators: Please keep the code-example 'UA-000000-2'
1057
+ #: app/Admin/Translations.php:650
1058
  msgid "Insert the Google Analytics tracking code here. Example: UA-000000-2"
1059
  msgstr ""
1060
 
1061
+ #: app/Admin/Translations.php:655
1062
  msgid "Other settings"
1063
  msgstr ""
1064
 
1065
+ #: app/Admin/Translations.php:658
1066
  msgid "Show admin top bar"
1067
  msgstr ""
1068
 
1069
+ #: app/Admin/Translations.php:659
1070
  msgid "Hide Buttonizer in the admin top bar by disabling this setting."
1071
  msgstr ""
1072
 
1073
+ #: app/Admin/Translations.php:663
1074
  msgid "Show tooltips"
1075
  msgstr ""
1076
 
1077
+ #: app/Admin/Translations.php:664
1078
  msgid "Hide the tooltips by disabling this setting."
1079
  msgstr ""
1080
 
1081
+ #: app/Admin/Translations.php:668
1082
  msgid "Subdomain support"
1083
  msgstr ""
1084
 
1085
+ #: app/Admin/Translations.php:669
1086
  msgid "Some WordPress websites use subdomains for content purposes. Enable this setting to allow Buttonizer to load on your subdomains. Only enable this when you need it."
1087
  msgstr ""
1088
 
1089
+ #: app/Admin/Translations.php:675
1090
  msgid "Reset"
1091
  msgstr ""
1092
 
1093
+ #: app/Admin/Translations.php:676
1094
  msgid "This is a way to reset Buttonizer to the default settings."
1095
  msgstr ""
1096
 
1097
+ #: app/Admin/Translations.php:679
1098
  msgid "What will happen when I click the red button below?"
1099
  msgstr ""
1100
 
1101
+ #: app/Admin/Translations.php:680
1102
  msgid "The plugin will get a 'factory reset'. All settings of Buttonizer will get deleted, reverting back to when you first installed and activated Buttonizer."
1103
  msgstr ""
1104
 
1105
+ #: app/Admin/Translations.php:684
1106
  msgid "Why would I do that?"
1107
  msgstr ""
1108
 
1109
+ #: app/Admin/Translations.php:685
1110
  msgid "Perhaps you ruined your buttons, categories or settings and would like to start from scratch. Or maybe you just feel trying the reset button..."
1111
  msgstr ""
1112
 
1113
+ #: app/Admin/Translations.php:689
1114
  msgid "I have a license, what about that?"
1115
  msgstr ""
1116
 
1117
+ #: app/Admin/Translations.php:690
1118
  msgid "No worries! Nothing will happen with your license! It only resets the following:"
1119
  msgstr ""
1120
 
1121
+ #: app/Admin/Translations.php:693
1122
  msgid "Your buttons"
1123
  msgstr ""
1124
 
1125
+ #: app/Admin/Translations.php:694
1126
  msgid "Your button groups"
1127
  msgstr ""
1128
 
1129
+ #: app/Admin/Translations.php:695
1130
  msgid "All time schedules"
1131
  msgstr ""
1132
 
1133
+ #: app/Admin/Translations.php:696
1134
  msgid "All page rules"
1135
  msgstr ""
1136
 
1137
+ #: app/Admin/Translations.php:697
1138
  msgid "All other settings of Buttonizer"
1139
  msgstr ""
1140
 
1141
+ #: app/Admin/Translations.php:698
1142
  msgid "All published settings"
1143
  msgstr ""
1144
 
1145
+ #: app/Admin/Translations.php:703
1146
  msgid "Okay, sounds good. What then?"
1147
  msgstr ""
1148
 
1149
+ #: app/Admin/Translations.php:704
1150
  msgid "Buttonizer will revert back to the default settings and feel like a fresh installation. That's all."
1151
  msgstr ""
1152
 
1153
+ #: app/Admin/Translations.php:708
1154
  msgid "Okay, I'm ready!"
1155
  msgstr ""
1156
 
1157
+ #: app/Admin/Translations.php:709
1158
  msgid "Press the red button below to reset Buttonizer. There will be no more warnings."
1159
  msgstr ""
1160
 
1161
+ #: app/Admin/Translations.php:710
1162
  msgid "Reset Buttonizer!"
1163
  msgstr ""
1164
 
1165
+ #: app/Admin/Translations.php:723
1166
  msgid "Loaded changes from previous session"
1167
  msgstr ""
1168
 
1169
+ #: app/Admin/Translations.php:725
1170
  msgid "You left the Buttonizer preview window. You will not see the changes you make."
1171
  msgstr ""
1172
 
1173
+ #: app/Admin/Translations.php:726
1174
  msgid "Return to preview"
1175
  msgstr ""
1176
 
1177
+ #: app/Admin/Translations.php:727
1178
  msgid "Desktop preview"
1179
  msgstr ""
1180
 
1181
+ #: app/Admin/Translations.php:728
1182
  msgid "Tablet preview"
1183
  msgstr ""
1184
 
1185
+ #: app/Admin/Translations.php:729
1186
  msgid "Mobile preview"
1187
  msgstr ""
1188
 
1189
  #. translators: %s becomes version number (eg 2.4.2)
1190
+ #: app/Admin/Translations.php:734
1191
  msgid "Version %s"
1192
  msgstr ""
1193
 
1194
+ #: app/Admin/Translations.php:738
1195
  msgid "Knowledge base"
1196
  msgstr ""
1197
 
1198
+ #: app/Admin/Translations.php:739
1199
  msgid "Find out everything you need to know about Buttonizer"
1200
  msgstr ""
1201
 
1202
+ #: app/Admin/Translations.php:742
1203
  msgid "Support"
1204
  msgstr ""
1205
 
1206
+ #: app/Admin/Translations.php:744
1207
  msgid "I need support"
1208
  msgstr ""
1209
 
1210
+ #: app/Admin/Translations.php:745
1211
  msgid "Direct support with the Buttonizer developers"
1212
  msgstr ""
1213
 
1214
+ #: app/Admin/Translations.php:748
1215
  msgid "Community"
1216
  msgstr ""
1217
 
1218
+ #: app/Admin/Translations.php:749
1219
  msgid "Interact with other Buttonizers"
1220
  msgstr ""
1221
 
1222
+ #: app/Admin/Translations.php:752
1223
  msgid "Buttonizer tour (recommended!)"
1224
  msgstr ""
1225
 
1226
+ #: app/Admin/Translations.php:753
1227
  msgid "Start the 2 minute tour"
1228
  msgstr ""
1229
 
1230
+ #: app/Admin/Translations.php:757
1231
  msgid "Buttonizer account"
1232
  msgstr ""
1233
 
1234
+ #: app/Admin/Translations.php:759
1235
  msgid "My Account"
1236
  msgstr ""
1237
 
1238
+ #: app/Admin/Translations.php:762
1239
  msgid "Upgrade or pricing"
1240
  msgstr ""
1241
 
1242
+ #: app/Admin/Translations.php:765
1243
  msgid "Affiliation"
1244
  msgstr ""
1245
 
1246
+ #: app/Admin/Translations.php:766
1247
  msgid "Earn $ by promoting Buttonizer"
1248
  msgstr ""
1249
 
1250
+ #: app/Admin/Translations.php:769
1251
  msgid "Options"
1252
  msgstr ""
1253
 
1254
+ #: app/Admin/Translations.php:773
1255
  msgid "Now editing:"
1256
  msgstr ""
1257
 
1258
+ #: app/Admin/Translations.php:774
1259
  msgid "This creates a new group with 2 buttons inside."
1260
  msgstr ""
1261
 
1262
+ #: app/Admin/Translations.php:775
1263
  msgid "This creates a new button, outside other groups."
1264
  msgstr ""
1265
 
1266
+ #: app/Admin/Translations.php:776
1267
  msgid "Learn more about groups and buttons"
1268
  msgstr ""
1269
 
1270
+ #: app/Admin/Translations.php:777
1271
  msgid "You can't drag the only button left in a group!"
1272
  msgstr ""
1273
 
1274
+ #: app/Admin/Translations.php:778
1275
  msgid "Convert to group"
1276
  msgstr ""
1277
 
1278
+ #: app/Admin/Translations.php:781
1279
  msgid "Delete button"
1280
  msgstr ""
1281
 
1282
+ #: app/Admin/Translations.php:782
1283
  msgid "Delete group"
1284
  msgstr ""
1285
 
1286
+ #: app/Admin/Translations.php:783
1287
  msgid "Are you sure you want to remove this button?"
1288
  msgstr ""
1289
 
1290
+ #: app/Admin/Translations.php:784
1291
  msgid "Are you sure you want to remove this group?"
1292
  msgstr ""
1293
 
1294
  #. translators: %s will be replaced with a number
1295
+ #: app/Admin/Translations.php:787
1296
  msgid "Are you sure you want to remove this full group? It contains %s buttons."
1297
  msgstr ""
1298
 
1299
  #. translators: %s will be replaced with the button name
1300
+ #: app/Admin/Translations.php:793
1301
  msgid "Are you sure you want to remove the button called '%s'?"
1302
  msgstr ""
1303
 
1304
+ #: app/Admin/Translations.php:797
1305
  msgid "You cannot delete this button because this the only button left."
1306
  msgstr ""
1307
 
1308
+ #: app/Admin/Translations.php:798
1309
  msgid "You cannot delete this group because this the only group left."
1310
  msgstr ""
1311
 
1312
+ #: app/Admin/Translations.php:811
1313
  msgid "Page rules"
1314
  msgstr ""
1315
 
1316
+ #: app/Admin/Translations.php:812
1317
  msgid "Page Rule Manager"
1318
  msgstr ""
1319
 
1320
+ #: app/Admin/Translations.php:813
1321
  msgid "You can setup page rules via this window. When you add pages or definitions to this page rule, the buttons attached to this page rule will be shown or hidden depending on their settings as soon this rule is triggered."
1322
  msgstr ""
1323
 
1324
+ #: app/Admin/Translations.php:814
1325
  msgid "You can setup page rules that will get triggered on specific pages or user roles. You can create unlimited page rules with multiple rules to trigger."
1326
  msgstr ""
1327
 
1328
+ #: app/Admin/Translations.php:815
1329
  msgid "Add page rule"
1330
  msgstr ""
1331
 
1332
+ #: app/Admin/Translations.php:816
1333
  msgid "Add rule"
1334
  msgstr ""
1335
 
1336
+ #: app/Admin/Translations.php:817
1337
  msgid "Name your page rule:"
1338
  msgstr ""
1339
 
1340
+ #: app/Admin/Translations.php:819
1341
  msgid "Show the button on any page"
1342
  msgstr ""
1343
 
1344
+ #: app/Admin/Translations.php:820
1345
  msgid "Remove page rule"
1346
  msgstr ""
1347
 
1348
+ #: app/Admin/Translations.php:824
1349
  msgid "All conditions must meet (AND)"
1350
  msgstr ""
1351
 
1352
+ #: app/Admin/Translations.php:825
1353
  msgid "At least one condition must meet (OR)"
1354
  msgstr ""
1355
 
1356
+ #: app/Admin/Translations.php:829
1357
  msgid "and"
1358
  msgstr ""
1359
 
1360
+ #: app/Admin/Translations.php:830
1361
  msgid "or"
1362
  msgstr ""
1363
 
1364
+ #: app/Admin/Translations.php:833
1365
  msgid "Page"
1366
  msgstr ""
1367
 
1368
+ #: app/Admin/Translations.php:834
1369
  msgid "Page title contains"
1370
  msgstr ""
1371
 
1372
+ #: app/Admin/Translations.php:835
1373
  msgid "Blog"
1374
  msgstr ""
1375
 
1376
+ #: app/Admin/Translations.php:836
1377
  msgid "Blog title contains"
1378
  msgstr ""
1379
 
1380
+ #: app/Admin/Translations.php:837
1381
  msgid "Category"
1382
  msgstr ""
1383
 
1384
+ #: app/Admin/Translations.php:838
1385
  msgid "URL contains"
1386
  msgstr ""
1387
 
1388
+ #: app/Admin/Translations.php:839
1389
  msgid "URL begins with"
1390
  msgstr ""
1391
 
1392
+ #: app/Admin/Translations.php:840
1393
  msgid "URL ends with"
1394
  msgstr ""
1395
 
1396
+ #: app/Admin/Translations.php:841
1397
  msgid "User has role"
1398
  msgstr ""
1399
 
1400
+ #: app/Admin/Translations.php:844
1401
  msgid "Select one or more items."
1402
  msgstr ""
1403
 
1404
+ #: app/Admin/Translations.php:845
1405
  msgid "Are you sure you want to remove this rule?"
1406
  msgstr ""
1407
 
1408
+ #: app/Admin/Translations.php:846
1409
  msgid "Aborted. Each page rule must keep at least one rule."
1410
  msgstr ""
1411
 
1412
+ #: app/Admin/Translations.php:847
1413
  msgid "You still have selected values, are you sure you want to remove this?"
1414
  msgstr ""
1415
 
1416
+ #: app/Admin/Translations.php:848
1417
  msgid "Rule value"
1418
  msgstr ""
1419
 
1420
+ #: app/Admin/Translations.php:859
1421
  msgid "Time schedules"
1422
  msgstr ""
1423
 
1424
+ #: app/Admin/Translations.php:860
1425
  msgid "Time schedule"
1426
  msgstr ""
1427
 
1428
+ #: app/Admin/Translations.php:861
1429
  msgid "Time schedule manager"
1430
  msgstr ""
1431
 
1432
+ #: app/Admin/Translations.php:862
1433
  msgid "You can setup time schedules that will get triggered during specific times of a day. It is even possible to change the schedule actions for specific days. You can create an unlimited amount of schedules."
1434
  msgstr ""
1435
 
1436
+ #: app/Admin/Translations.php:865
1437
  msgid "Add schedule"
1438
  msgstr ""
1439
 
1440
+ #: app/Admin/Translations.php:866
1441
  msgid "Add date"
1442
  msgstr ""
1443
 
1444
+ #: app/Admin/Translations.php:867
1445
  msgid "New schedule"
1446
  msgstr ""
1447
 
1448
+ #: app/Admin/Translations.php:868
1449
  msgid "Name the new time schedule:"
1450
  msgstr ""
1451
 
1452
+ #: app/Admin/Translations.php:869
1453
  msgid "Rename schedule to:"
1454
  msgstr ""
1455
 
1456
+ #: app/Admin/Translations.php:870
1457
  msgid "Show the button at any time"
1458
  msgstr ""
1459
 
1460
  #. translators: %s becomes weekday or specific date ('Trigger on monday' or 'Trigger om January 1, 2019')
1461
+ #: app/Admin/Translations.php:873
1462
  msgid "Trigger on %s"
1463
  msgstr ""
1464
 
1465
  #. translators: 'till' as in '10:00 till 11:30'
1466
+ #: app/Admin/Translations.php:877
1467
  msgid "till"
1468
  msgstr ""
1469
 
1470
+ #: app/Admin/Translations.php:880
1471
  msgid "Remove schedule"
1472
  msgstr ""
1473
 
1474
+ #: app/Admin/Translations.php:881
1475
  msgid "You must keep at least one schedule"
1476
  msgstr ""
1477
 
1478
+ #: app/Admin/Translations.php:882
1479
  msgid "Current timezone:"
1480
  msgstr ""
1481
 
1482
+ #: app/Admin/Translations.php:885
1483
  msgid "Remove date"
1484
  msgstr ""
1485
 
1486
+ #: app/Admin/Translations.php:886
1487
  msgid "Are you sure you want to remove this date?"
1488
  msgstr ""
1489
 
1490
  #. translators: The strings will be replaced with time (example: 10:10)
1491
+ #: app/Admin/Translations.php:893
1492
  msgid "Sorry, the time '%1$s' was invalid. Reverting back to '%2$s'."
1493
  msgstr ""
1494
 
1495
  #. translators: The strings will be replaced with time (example: 10:10)
1496
+ #: app/Admin/Translations.php:899
1497
  msgid "The start time '%1$s' conflicts with the end time '%2$s'. Time has been reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1498
  msgstr ""
1499
 
1500
  #. translators: The strings will be replaced with time (example: 10:10)
1501
+ #: app/Admin/Translations.php:905
1502
  msgid "The end time '%1$s' conflicts with the start time '%2$s'. Time has been reverted to '%3$s'. Make sure you have at least 5 minutes overlap."
1503
  msgstr ""
1504
 
1505
+ #: app/Admin/Translations.php:912
1506
  msgid "Weekdays"
1507
  msgstr ""
1508
 
1509
+ #: app/Admin/Translations.php:913
1510
  msgid "Monday"
1511
  msgstr ""
1512
 
1513
+ #: app/Admin/Translations.php:914
1514
  msgid "Tuesday"
1515
  msgstr ""
1516
 
1517
+ #: app/Admin/Translations.php:915
1518
  msgid "Wednesday"
1519
  msgstr ""
1520
 
1521
+ #: app/Admin/Translations.php:916
1522
  msgid "Thursday"
1523
  msgstr ""
1524
 
1525
+ #: app/Admin/Translations.php:917
1526
  msgid "Friday"
1527
  msgstr ""
1528
 
1529
+ #: app/Admin/Translations.php:918
1530
  msgid "Saturday"
1531
  msgstr ""
1532
 
1533
+ #: app/Admin/Translations.php:919
1534
  msgid "Sunday"
1535
  msgstr ""
1536
 
1537
+ #: app/Admin/Translations.php:922
1538
  msgid "Exclude dates"
1539
  msgstr ""
1540
 
1541
+ #: app/Admin/Translations.php:923
1542
  msgid "You are able to add specific dates to show or hide the buttons attached to this time scheme. So you can say something like this: \"<i>I am opened on January 22th until 22:00 (10 PM) because of some special evening we organize.</i>\". You can add those dates and configure them. The rule will overwrite the default settings for that weekday."
1543
  msgstr ""
1544
 
1545
+ #: app/Admin/Translations.php:927
1546
  msgid "Start triggering buttons from"
1547
  msgstr ""
1548
 
1549
+ #: app/Admin/Translations.php:928
1550
  msgid "Click to add start date"
1551
  msgstr ""
1552
 
1553
  #. translators: The string will become a date
1554
+ #: app/Admin/Translations.php:932
1555
  msgid "Warning! Your start date '%s' hast past the end date of this schedule. If you do not change this date the schedule will not work."
1556
  msgstr ""
1557
 
1558
+ #: app/Admin/Translations.php:939
1559
  msgid "Stop triggering buttons after (optional)"
1560
  msgstr ""
1561
 
1562
+ #: app/Admin/Translations.php:940
1563
  msgid "Click to add ending date"
1564
  msgstr ""
1565
 
1566
+ #: app/Admin/Translations.php:941
1567
  msgid "Select a date in the datepicker below"
1568
  msgstr ""
1569
 
1570
  #. translators: The string will become a date
1571
+ #: app/Admin/Translations.php:944
1572
  msgid "Warning! Your end date '%s' has past the start date of this schedule. If you do not change this date the schedule will not work."
1573
  msgstr ""
1574
 
1575
+ #: app/Admin/Translations.php:958
1576
  msgid "Hi Buttonizer!"
1577
  msgstr ""
1578
 
1579
+ #: app/Admin/Translations.php:959
1580
  msgid "It appears you've installed Buttonizer 2.0 before. But, you installed version 1.5 again later on and updated back to 2.0!"
1581
  msgstr ""
1582
 
1583
+ #: app/Admin/Translations.php:960
1584
  msgid "The migration progress did not run as it did back then. In order to convert your buttons, press the button below!"
1585
  msgstr ""
1586
 
1587
  #. translators: %1$s and %2$s will become HTML icons as preview
1588
+ #: app/Admin/Translations.php:963
1589
  msgid "If this window keeps popping up, even when you've tried to convert the buttons, try to reset Buttonizer. Go to the 'cog' icon (%1$s) on the top bar, select 'Options %2$s' and the tab 'Reset' and follow the instructions."
1590
  msgstr ""
1591
 
1592
+ #: app/Admin/Translations.php:967
1593
  msgid "Convert my buttons!"
1594
  msgstr ""
1595
 
1596
+ #: app/Admin/Translations.php:979
1597
  msgid "Premium feature"
1598
  msgstr ""
1599
 
1600
+ #: app/Admin/Translations.php:980
1601
  msgid "Hi there, this function is a premium feature. We will describe what this feature will do:"
1602
  msgstr ""
1603
 
1604
+ #: app/Admin/Translations.php:981
1605
  msgid "What you get as a premium user:"
1606
  msgstr ""
1607
 
1608
+ #: app/Admin/Translations.php:982
1609
  msgid "Go pro"
1610
  msgstr ""
1611
 
1612
+ #: app/Admin/Translations.php:985
1613
  msgid "Show button(groups) using the advanced time schedules"
1614
  msgstr ""
1615
 
1616
+ #: app/Admin/Translations.php:986
1617
  msgid "Show button(groups) on specific pages using advanced page rules"
1618
  msgstr ""
1619
 
1620
+ #: app/Admin/Translations.php:987
1621
  msgid "Create multiple button groups"
1622
  msgstr ""
1623
 
1624
+ #: app/Admin/Translations.php:988
1625
  msgid "Custom button background &amp; icon image"
1626
  msgstr ""
1627
 
1628
+ #: app/Admin/Translations.php:990
1629
  msgid "Show or hide on scroll"
1630
  msgstr ""
1631
 
1632
+ #: app/Admin/Translations.php:991
1633
  msgid "Show on timeout"
1634
  msgstr ""
1635
 
1636
+ #: app/Admin/Translations.php:992
1637
  msgid "Be able to set CSS class names and button IDs"
1638
  msgstr ""
1639
 
1640
+ #: app/Admin/Translations.php:993
1641
  msgid "Execute javascript on button clicks"
1642
  msgstr ""
1643
 
1644
+ #: app/Admin/Translations.php:997
1645
  msgid "My first time schedule"
1646
  msgstr ""
1647
 
1648
+ #: app/Admin/Translations.php:1001
1649
  msgid "My first page rule"
1650
  msgstr ""
1651
 
1652
+ #: app/Admin/Translations.php:1003
1653
  msgid "You are able to add multiple groups on different positions"
1654
  msgstr ""
1655
 
1656
+ #: app/Admin/Translations.php:1014
1657
  msgid "Welcome to Buttonizer"
1658
  msgstr ""
1659
 
1660
  #. translators: %s will become 'Buttonizer'
1661
+ #: app/Admin/Translations.php:1017
1662
  msgid "We are pleased to welcome you to <b>%s</b>!"
1663
  msgstr ""
1664
 
1665
+ #: app/Admin/Translations.php:1020
1666
  msgid "We've created a tour for our new users. Would you like to take the tour?"
1667
  msgstr ""
1668
 
1669
+ #: app/Admin/Translations.php:1021
1670
  msgid "No thanks, I know how it works"
1671
  msgstr ""
1672
 
1673
+ #: app/Admin/Translations.php:1024
1674
  msgid "Exit tour"
1675
  msgstr ""
1676
 
1677
+ #: app/Admin/Translations.php:1027
1678
  msgid "Welcome to the Buttonizer tour!"
1679
  msgstr ""
1680
 
1681
+ #: app/Admin/Translations.php:1028
1682
  msgid "Start the tour and save time. Master the Buttonizer skills in only two minutes."
1683
  msgstr ""
1684
 
1685
  #. translators: First %1$s will be an left-key icon, second %2$s will be right-key icon, third %3$s will be an keyboard icon
1686
+ #: app/Admin/Translations.php:1031
1687
  msgid "You can use the %1$s and %2$s keys on your %3$s to navigate."
1688
  msgstr ""
1689
 
1690
+ #: app/Admin/Translations.php:1036
1691
  msgid "Buttonizer bar"
1692
  msgstr ""
1693
 
1694
+ #: app/Admin/Translations.php:1037
1695
  msgid "Manage all your Floating Action Buttons and Floating menu's in the Buttonizer bar."
1696
  msgstr ""
1697
 
1698
+ #: app/Admin/Translations.php:1040
1699
  msgid "Preview"
1700
  msgstr ""
1701
 
1702
+ #: app/Admin/Translations.php:1041
1703
  msgid "Watch the impact of your changes in the preview pane. Your buttons will only be visible to your website visitor after you click on 'Publish'."
1704
  msgstr ""
1705
 
1706
+ #: app/Admin/Translations.php:1044
1707
  msgid "Top bar"
1708
  msgstr ""
1709
 
1710
+ #: app/Admin/Translations.php:1045
1711
  msgid "In the top bar, you can:"
1712
  msgstr ""
1713
 
1714
+ #: app/Admin/Translations.php:1048
1715
  msgid "Click the <b>'X'</b> to go back to WordPress"
1716
  msgstr ""
1717
 
1718
+ #: app/Admin/Translations.php:1049
1719
  msgid "<b>Revert</b> changes you have made"
1720
  msgstr ""
1721
 
1722
+ #: app/Admin/Translations.php:1050
1723
  msgid "<b>Publish</b> all your changes"
1724
  msgstr ""
1725
 
1726
+ #: app/Admin/Translations.php:1051
1727
  msgid "Access the <b>general settings</b>"
1728
  msgstr ""
1729
 
1730
  #. translators: %s will be replaced with an arrow and an ENTER (new line)
1731
+ #: app/Admin/Translations.php:1057
1732
  msgid "Click here %s to go to Buttonizer's general settings."
1733
  msgstr ""
1734
 
1735
+ #: app/Admin/Translations.php:1062
1736
  msgid "Menu"
1737
  msgstr ""
1738
 
1739
+ #: app/Admin/Translations.php:1065
1740
  msgid "Want to know what you can do with Buttonizer? Take a look at our knowledge base!"
1741
  msgstr ""
1742
 
1743
+ #: app/Admin/Translations.php:1066
1744
  msgid "Visit our support page for help from us or other users."
1745
  msgstr ""
1746
 
1747
+ #: app/Admin/Translations.php:1067
1748
  msgid "Visit our community page and interact with other Buttonizer users!"
1749
  msgstr ""
1750
 
1751
+ #: app/Admin/Translations.php:1068
1752
  msgid "View your account details and license."
1753
  msgstr ""
1754
 
1755
+ #: app/Admin/Translations.php:1069
1756
  msgid "Upgrade or extend your license."
1757
  msgstr ""
1758
 
1759
+ #: app/Admin/Translations.php:1070
1760
  msgid "Happy with the plugin? Become an ambassador and earn some cash ;-)"
1761
  msgstr ""
1762
 
1763
+ #: app/Admin/Translations.php:1071
1764
  msgid "Change general settings like icon libraries and Google Analytics."
1765
  msgstr ""
1766
 
1767
+ #: app/Admin/Translations.php:1075
1768
  msgid "Click on <b>Options</b> to open Buttonizer's general settings."
1769
  msgstr ""
1770
 
1771
+ #: app/Admin/Translations.php:1081
1772
  msgid "In this section, you will be able to choose other icon libraries, the icon library version and whether Buttonizer should import the icon library."
1773
  msgstr ""
1774
 
1775
+ #: app/Admin/Translations.php:1082
1776
  msgid "Want to track your button events? Place your Google Analytics code here!"
1777
  msgstr ""
1778
 
1779
+ #: app/Admin/Translations.php:1083
1780
  msgid "Completely reset Buttonizers data."
1781
  msgstr ""
1782
 
1783
+ #: app/Admin/Translations.php:1087
1784
  msgid "Button group"
1785
  msgstr ""
1786
 
1787
+ #: app/Admin/Translations.php:1088
1788
  msgid "A button group contains buttons."
1789
  msgstr ""
1790
 
1791
+ #: app/Admin/Translations.php:1089
1792
  msgid "Button groups are only visible when there are <u><b>2 or more buttons</b></u> within the group."
1793
  msgstr ""
1794
 
1795
+ #: app/Admin/Translations.php:1090
1796
  msgid "The buttons in a button group are dedicated to one position. Add multiple button groups if you want to create more floating action buttons dedicated to different positions."
1797
  msgstr ""
1798
 
1799
+ #: app/Admin/Translations.php:1093
1800
  msgid "Click here to show group settings."
1801
  msgstr ""
1802
 
1803
+ #: app/Admin/Translations.php:1096
1804
  msgid "Group settings"
1805
  msgstr ""
1806
 
1807
+ #: app/Admin/Translations.php:1097
1808
  msgid "Change the style of the button group here."
1809
  msgstr ""
1810
 
1811
+ #: app/Admin/Translations.php:1098
1812
  msgid "Click on the left arrow to go back."
1813
  msgstr ""
1814
 
1815
+ #: app/Admin/Translations.php:1101
1816
+ #: app/Admin/Translations.php:1154
1817
  msgid "Position & device visibility"
1818
  msgstr ""
1819
 
1820
+ #: app/Admin/Translations.php:1102
1821
+ #: app/Admin/Translations.php:1155
1822
  msgid "When you change the position of the button group it will move the whole group, including the buttons."
1823
  msgstr ""
1824
 
1825
+ #: app/Admin/Translations.php:1103
1826
  msgid "Choose whether you want the <b><u>whole group</u></b> to be visible on desktop or mobile devices."
1827
  msgstr ""
1828
 
1829
+ #: app/Admin/Translations.php:1107
1830
  msgid "Setup Buttonizer to open automatically!"
1831
  msgstr ""
1832
 
1833
+ #: app/Admin/Translations.php:1108
1834
  msgid "Change the style of your floating menu."
1835
  msgstr ""
1836
 
1837
+ #: app/Admin/Translations.php:1109
1838
  msgid "Buttonizer will animate every 10 seconds in order to capture the visitor's attention."
1839
  msgstr ""
1840
 
1841
+ #: app/Admin/Translations.php:1113
1842
  msgid "Change the color of the button group."
1843
  msgstr ""
1844
 
1845
+ #: app/Admin/Translations.php:1114
1846
  msgid "Change the border radius of the button group!"
1847
  msgstr ""
1848
 
1849
+ #: app/Admin/Translations.php:1115
1850
+ #: app/Admin/Translations.php:1120
1851
  msgid "Choose an image to use as a background of the button group."
1852
  msgstr ""
1853
 
1854
+ #: app/Admin/Translations.php:1119
1855
  msgid "Choose your favorite icon from your selected icon library."
1856
  msgstr ""
1857
 
1858
+ #: app/Admin/Translations.php:1122
1859
  msgid "Quick setting to show or hide buttons depending device!"
1860
  msgstr ""
1861
 
1862
+ #: app/Admin/Translations.php:1124
1863
  msgid "Click here to add a new button."
1864
  msgstr ""
1865
 
1866
  #. translators: %s will be replaced with 'Add button'
1867
+ #: app/Admin/Translations.php:1127
1868
  msgid "Don't click on next... Click on '%s'"
1869
  msgstr ""
1870
 
1871
  #. translators: %s will be replaced with 'Add button'
1872
+ #: app/Admin/Translations.php:1132
1873
  msgid "If you don't want to click '%s', I can do you the honor :)"
1874
  msgstr ""
1875
 
1876
+ #: app/Admin/Translations.php:1135
1877
  msgid "Here, on the left... If you won't click it, I will click it >:-)"
1878
  msgstr ""
1879
 
1880
+ #: app/Admin/Translations.php:1136
1881
  msgid "Hello? Please click that button..."
1882
  msgstr ""
1883
 
1884
+ #: app/Admin/Translations.php:1139
1885
  msgid "You have created a new button! This is a button. Buttons are contained within a group."
1886
  msgstr ""
1887
 
1888
+ #: app/Admin/Translations.php:1140
1889
  msgid "Click here to open the menu."
1890
  msgstr ""
1891
 
1892
+ #: app/Admin/Translations.php:1142
1893
  msgid "Edit the style of the button."
1894
  msgstr ""
1895
 
1896
+ #: app/Admin/Translations.php:1143
1897
  msgid "Make the button appear/hide on certain pages and during certain times! This function is only available for our premium users."
1898
  msgstr ""
1899
 
1900
+ #: app/Admin/Translations.php:1144
1901
  msgid "Rename the button."
1902
  msgstr ""
1903
 
1904
+ #: app/Admin/Translations.php:1145
1905
  msgid "Make a copy of the button."
1906
  msgstr ""
1907
 
1908
+ #: app/Admin/Translations.php:1146
1909
  msgid "Delete the button."
1910
  msgstr ""
1911
 
1912
+ #: app/Admin/Translations.php:1148
1913
  msgid "Click here to show the button settings."
1914
  msgstr ""
1915
 
1916
+ #: app/Admin/Translations.php:1150
1917
  msgid "Button settings"
1918
  msgstr ""
1919
 
1920
+ #: app/Admin/Translations.php:1151
1921
  msgid "These are the button settings. Pretty similar to the group settings."
1922
  msgstr ""
1923
 
1924
+ #: app/Admin/Translations.php:1156
1925
  msgid "You can choose whether you want the <b><u>whole group</u></b> to be visible on desktop or mobile devices."
1926
  msgstr ""
1927
 
1928
+ #: app/Admin/Translations.php:1159
1929
  msgid "When enabled, the button will copy the button and label style of the group."
1930
  msgstr ""
1931
 
1932
+ #: app/Admin/Translations.php:1160
1933
  msgid "By turning it of you can change the style of the button."
1934
  msgstr ""
1935
 
1936
+