Social Icons Widget by WPZOOM - Version 4.2.9

Version Description

  • Fix Mastodon icon color
  • Add 'rel="me"' parameter
Download this release

Release Info

Developer WPZOOM
Plugin Icon 128x128 Social Icons Widget by WPZOOM
Version 4.2.9
Comparing to
See all releases

Code changes from version 4.2.8 to 4.2.9

assets/css/wpzoom-socicon.css CHANGED
@@ -802,8 +802,8 @@
802
  }
803
 
804
  .socicon-mastodon {
805
- background-color: #2B8BD0;
806
- color: #2B8BD0;
807
  }
808
 
809
  .social-icon.socicon-mastodon:before {
802
  }
803
 
804
  .socicon-mastodon {
805
+ background-color: #6364FF;
806
+ color: #6364FF;
807
  }
808
 
809
  .social-icon.socicon-mastodon:before {
block/dist/wpzoom-social-icons.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url'), 'version' => '24904f429ae60da2df2cdef61ab4641f');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url'), 'version' => '39586237b6776eaa11f6253dfe898cc4');
block/dist/wpzoom-social-icons.js CHANGED
@@ -1,3 +1,3 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{21:function(e,t,o){}}]),function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],u=0,d=[];u<a.length;u++)i=a[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&d.push(r[i][0]),r[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(p&&p(t);d.length;)d.shift()();return s.push.apply(s,l||[]),o()}function o(){for(var e,t=0;t<s.length;t++){for(var o=s[t],n=!0,a=1;a<o.length;a++){var c=o[a];0!==r[c]&&(n=!1)}n&&(s.splice(t--,1),e=i(i.s=o[0]))}return e}var n={},r={1:0},s=[];function i(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(o,n,function(t){return e[t]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var p=c;s.push([24,0]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)o.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.hooks},function(e,t,o){var n,r,s;!function(i,a){"use strict";e.exports?e.exports=a(o(14),o(15),o(16)):(r=[o(14),o(15),o(16)],void 0===(s="function"==typeof(n=a)?n.apply(t,r):n)||(e.exports=s))}(0,(function(e,t,o,n){"use strict";var r=n&&n.URI;function s(e,t){var o=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof s))return o?n?new s(e,t):new s(e):new s;if(void 0===e){if(o)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&o)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}s.version="1.19.7";var i=s.prototype,a=Object.prototype.hasOwnProperty;function c(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function p(e){return"Array"===l(e)}function u(e,t){var o,n,r={};if("RegExp"===l(t))r=null;else if(p(t))for(o=0,n=t.length;o<n;o++)r[t[o]]=!0;else r[t]=!0;for(o=0,n=e.length;o<n;o++)(r&&void 0!==r[e[o]]||!r&&t.test(e[o]))&&(e.splice(o,1),n--,o--);return e}function d(e,t){var o,n;if(p(t)){for(o=0,n=t.length;o<n;o++)if(!d(e,t[o]))return!1;return!0}var r=l(t);for(o=0,n=e.length;o<n;o++)if("RegExp"===r){if("string"==typeof e[o]&&e[o].match(t))return!0}else if(e[o]===t)return!0;return!1}function h(e,t){if(!p(e)||!p(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var o=0,n=e.length;o<n;o++)if(e[o]!==t[o])return!1;return!0}function m(e){return e.replace(/^\/+|\/+$/g,"")}function g(e){return escape(e)}function b(e){return encodeURIComponent(e).replace(/[!'()*]/g,g).replace(/\*/g,"%2A")}s._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:s.preventInvalidHostname,duplicateQueryParameters:s.duplicateQueryParameters,escapeQuerySpace:s.escapeQuerySpace}},s.preventInvalidHostname=!1,s.duplicateQueryParameters=!1,s.escapeQuerySpace=!0,s.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,s.idn_expression=/[^a-z0-9\._-]/i,s.punycode_expression=/(xn--)/i,s.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,s.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,s.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,s.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},s.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},s.hostProtocols=["http","https"],s.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,s.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},s.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return s.domAttributes[t]}},s.encode=b,s.decode=decodeURIComponent,s.iso8859=function(){s.encode=escape,s.decode=unescape},s.unicode=function(){s.encode=b,s.decode=decodeURIComponent},s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},s.encodeQuery=function(e,t){var o=s.encode(e+"");return void 0===t&&(t=s.escapeQuerySpace),t?o.replace(/%20/g,"+"):o},s.decodeQuery=function(e,t){e+="",void 0===t&&(t=s.escapeQuerySpace);try{return s.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var f,v={encode:"encode",decode:"decode"},w=function(e,t){return function(o){try{return s[t](o+"").replace(s.characters[e][t].expression,(function(o){return s.characters[e][t].map[o]}))}catch(e){return o}}};for(f in v)s[f+"PathSegment"]=w("pathname",v[f]),s[f+"UrnPathSegment"]=w("urnpath",v[f]);var y=function(e,t,o){return function(n){var r;r=o?function(e){return s[t](s[o](e))}:s[t];for(var i=(n+"").split(e),a=0,c=i.length;a<c;a++)i[a]=r(i[a]);return i.join(e)}};function I(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function O(e,t){return function(o,n){return void 0===o?this._parts[e]||"":(null!==o&&(o+="").charAt(0)===t&&(o=o.substring(1)),this._parts[e]=o,this.build(!n),this)}}s.decodePath=y("/","decodePathSegment"),s.decodeUrnPath=y(":","decodeUrnPathSegment"),s.recodePath=y("/","encodePathSegment","decode"),s.recodeUrnPath=y(":","encodeUrnPathSegment","decode"),s.encodeReserved=w("reserved","encode"),s.parse=function(e,t){var o;return t||(t={preventInvalidHostname:s.preventInvalidHostname}),(o=e.indexOf("#"))>-1&&(t.fragment=e.substring(o+1)||null,e=e.substring(0,o)),(o=e.indexOf("?"))>-1&&(t.query=e.substring(o+1)||null,e=e.substring(0,o)),"//"===(e=e.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=s.parseAuthority(e,t)):(o=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,o)||null,t.protocol&&!t.protocol.match(s.protocol_expression)?t.protocol=void 0:"//"===e.substring(o+1,o+3).replace(/\\/g,"/")?(e=e.substring(o+3),e=s.parseAuthority(e,t)):(e=e.substring(o+1),t.urn=!0)),t.path=e,t},s.parseHost=function(e,t){e||(e="");var o,n,r=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))o=e.indexOf("]"),t.hostname=e.substring(1,o)||null,t.port=e.substring(o+2,r)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),a=e.indexOf("/"),c=e.indexOf(":",i+1);-1!==c&&(-1===a||c<a)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),t.preventInvalidHostname&&s.ensureValidHostname(t.hostname,t.protocol),t.port&&s.ensureValidPort(t.port),e.substring(r)||"/"},s.parseAuthority=function(e,t){return e=s.parseUserinfo(e,t),s.parseHost(e,t)},s.parseUserinfo=function(e,t){var o=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n,r=e.indexOf("/"),i=e.lastIndexOf("@",r>-1?r:e.length-1);return i>-1&&(-1===r||i<r)?(n=e.substring(0,i).split(":"),t.username=n[0]?s.decode(n[0]):null,n.shift(),t.password=n[0]?s.decode(n.join(":")):null,e=o.substring(i+1)):(t.username=null,t.password=null),e},s.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var o,n,r,i={},c=e.split("&"),l=c.length,p=0;p<l;p++)o=c[p].split("="),n=s.decodeQuery(o.shift(),t),r=o.length?s.decodeQuery(o.join("="),t):null,"__proto__"!==n&&(a.call(i,n)?("string"!=typeof i[n]&&null!==i[n]||(i[n]=[i[n]]),i[n].push(r)):i[n]=r);return i},s.build=function(e){var t="",o=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",o=!0),t+=s.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&o&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},s.buildHost=function(e){var t="";return e.hostname?(s.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},s.buildAuthority=function(e){return s.buildUserinfo(e)+s.buildHost(e)},s.buildUserinfo=function(e){var t="";return e.username&&(t+=s.encode(e.username)),e.password&&(t+=":"+s.encode(e.password)),t&&(t+="@"),t},s.buildQuery=function(e,t,o){var n,r,i,c,l="";for(r in e)if("__proto__"!==r&&a.call(e,r))if(p(e[r]))for(n={},i=0,c=e[r].length;i<c;i++)void 0!==e[r][i]&&void 0===n[e[r][i]+""]&&(l+="&"+s.buildQueryParameter(r,e[r][i],o),!0!==t&&(n[e[r][i]+""]=!0));else void 0!==e[r]&&(l+="&"+s.buildQueryParameter(r,e[r],o));return l.substring(1)},s.buildQueryParameter=function(e,t,o){return s.encodeQuery(e,o)+(null!==t?"="+s.encodeQuery(t,o):"")},s.addQuery=function(e,t,o){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.addQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=o);"string"==typeof e[t]&&(e[t]=[e[t]]),p(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},s.setQuery=function(e,t,o){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.setQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===o?null:o}},s.removeQuery=function(e,t,o){var n,r,i;if(p(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===l(t))for(i in e)t.test(i)&&(e[i]=void 0);else if("object"==typeof t)for(i in t)a.call(t,i)&&s.removeQuery(e,i,t[i]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==o?"RegExp"===l(o)?!p(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=u(e[t],o):e[t]!==String(o)||p(o)&&1!==o.length?p(e[t])&&(e[t]=u(e[t],o)):e[t]=void 0:e[t]=void 0}},s.hasQuery=function(e,t,o,n){switch(l(t)){case"String":break;case"RegExp":for(var r in e)if(a.call(e,r)&&t.test(r)&&(void 0===o||s.hasQuery(e,r,o)))return!0;return!1;case"Object":for(var i in t)if(a.call(t,i)&&!s.hasQuery(e,i,t[i]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(l(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(p(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":return!!p(e[t])&&(n?d:h)(e[t],o);case"RegExp":return p(e[t])?!!n&&d(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return p(e[t])?!!n&&d(e[t],o):e[t]===o;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},s.joinPaths=function(){for(var e=[],t=[],o=0,n=0;n<arguments.length;n++){var r=new s(arguments[n]);e.push(r);for(var i=r.segment(),a=0;a<i.length;a++)"string"==typeof i[a]&&t.push(i[a]),i[a]&&o++}if(!t.length||!o)return new s("");var c=new s("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||c.path("/"+c.path()),c.normalize()},s.commonPath=function(e,t){var o,n=Math.min(e.length,t.length);for(o=0;o<n;o++)if(e.charAt(o)!==t.charAt(o)){o--;break}return o<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(o)&&"/"===t.charAt(o)||(o=e.substring(0,o).lastIndexOf("/")),e.substring(0,o+1))},s.withinString=function(e,t,o){o||(o={});var n=o.start||s.findUri.start,r=o.end||s.findUri.end,i=o.trim||s.findUri.trim,a=o.parens||s.findUri.parens,c=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var l=n.exec(e);if(!l)break;var p=l.index;if(o.ignoreHtml){var u=e.slice(Math.max(p-3,0),p);if(u&&c.test(u))continue}for(var d=p+e.slice(p).search(r),h=e.slice(p,d),m=-1;;){var g=a.exec(h);if(!g)break;var b=g.index+g[0].length;m=Math.max(m,b)}if(!((h=m>-1?h.slice(0,m)+h.slice(m).replace(i,""):h.replace(i,"")).length<=l[0].length||o.ignore&&o.ignore.test(h))){var f=t(h,p,d=p+h.length,e);void 0!==f?(f=String(f),e=e.slice(0,p)+f+e.slice(d),n.lastIndex=p+f.length):n.lastIndex=d}}return n.lastIndex=0,e},s.ensureValidHostname=function(t,o){var n=!!t,r=!1;if(!!o&&(r=d(s.hostProtocols,o)),r&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(t&&t.match(s.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(s.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},s.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},s.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=r),this},i.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=s.build(this._parts),this._deferred_build=!1),this},i.clone=function(){return new s(this)},i.valueOf=i.toString=function(){return this.build(!1)._string},i.protocol=I("protocol"),i.username=I("username"),i.password=I("password"),i.hostname=I("hostname"),i.port=I("port"),i.query=O("query","?"),i.fragment=O("fragment","#"),i.search=function(e,t){var o=this.query(e,t);return"string"==typeof o&&o.length?"?"+o:o},i.hash=function(e,t){var o=this.fragment(e,t);return"string"==typeof o&&o.length?"#"+o:o},i.pathname=function(e,t){if(void 0===e||!0===e){var o=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?s.decodeUrnPath:s.decodePath)(o):o}return this._parts.urn?this._parts.path=e?s.recodeUrnPath(e):"":this._parts.path=e?s.recodePath(e):"/",this.build(!t),this},i.path=i.pathname,i.href=function(e,t){var o;if(void 0===e)return this.toString();this._string="",this._parts=s._parts();var n=e instanceof s,r="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName&&(e=e[s.getDomAttribute(e)]||"",r=!1),!n&&r&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=s.parse(String(e),this._parts);else{if(!n&&!r)throw new TypeError("invalid input");var i=n?e._parts:e;for(o in i)"query"!==o&&a.call(this._parts,o)&&(this._parts[o]=i[o]);i.query&&this.query(i.query,!1)}return this.build(!t),this},i.is=function(e){var t=!1,n=!1,r=!1,i=!1,a=!1,c=!1,l=!1,p=!this._parts.urn;switch(this._parts.hostname&&(p=!1,n=s.ip4_expression.test(this._parts.hostname),r=s.ip6_expression.test(this._parts.hostname),a=(i=!(t=n||r))&&o&&o.has(this._parts.hostname),c=i&&s.idn_expression.test(this._parts.hostname),l=i&&s.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return p;case"absolute":return!p;case"domain":case"name":return i;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return l}return null};var k=i.protocol,A=i.port,j=i.hostname;i.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(s.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},i.scheme=i.protocol,i.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),s.ensureValidPort(e))),A.call(this,e,t))},i.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var o={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==s.parseHost(e,o))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=o.hostname,this._parts.preventInvalidHostname&&s.ensureValidHostname(e,this._parts.protocol)}return j.call(this,e,t)},i.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=this.protocol();return this.authority()?(o?o+"://":"")+this.authority():""}var n=s(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},i.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildHost(this._parts):"";if("/"!==s.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildAuthority(this._parts):"";if("/"!==s.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=s.buildUserinfo(this._parts);return o?o.substring(0,o.length-1):o}return"@"!==e[e.length-1]&&(e+="@"),s.parseUserinfo(e,this._parts),this.build(!t),this},i.resource=function(e,t){var o;return void 0===e?this.path()+this.search()+this.hash():(o=s.parse(e),this._parts.path=o.path,this._parts.query=o.query,this._parts.fragment=o.fragment,this.build(!t),this)},i.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,o)||""}var n=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,n),i=new RegExp("^"+c(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&s.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(i,e),this.build(!t),this},i.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.match(/\./g);if(o&&o.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(s.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(c(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},i.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(n+1);return!0!==t&&o&&o.list[r.toLowerCase()]&&o.get(this._parts.hostname)||r}var s;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!o||!o.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');s=new RegExp(c(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");s=new RegExp(c(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}return this.build(!t),this},i.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var o=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,o)||(this._parts.hostname?"/":"");return e?s.decodePath(n):n}var r=this._parts.path.length-this.filename().length,i=this._parts.path.substring(0,r),a=new RegExp("^"+c(i));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},i.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var o=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(o+1);return e?s.decodePathSegment(n):n}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var i=new RegExp(c(this.filename())+"$");return e=s.recodePath(e),this._parts.path=this._parts.path.replace(i,e),r?this.normalizePath(t):this.build(!t),this},i.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var o,n,r=this.filename(),i=r.lastIndexOf(".");return-1===i?"":(o=r.substring(i+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?s.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var a,l=this.suffix();if(l)a=e?new RegExp(c(l)+"$"):new RegExp(c("."+l)+"$");else{if(!e)return this;this._parts.path+="."+s.recodePath(e)}return a&&(e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},i.segment=function(e,t,o){var n=this._parts.urn?":":"/",r=this.path(),s="/"===r.substring(0,1),i=r.split(n);if(void 0!==e&&"number"!=typeof e&&(o=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(s&&i.shift(),e<0&&(e=Math.max(i.length+e,0)),void 0===t)return void 0===e?i:i[e];if(null===e||void 0===i[e])if(p(t)){i=[];for(var a=0,c=t.length;a<c;a++)(t[a].length||i.length&&i[i.length-1].length)&&(i.length&&!i[i.length-1].length&&i.pop(),i.push(m(t[a])))}else(t||"string"==typeof t)&&(t=m(t),""===i[i.length-1]?i[i.length-1]=t:i.push(t));else t?i[e]=m(t):i.splice(e,1);return s&&i.unshift(""),this.path(i.join(n),o)},i.segmentCoded=function(e,t,o){var n,r,i;if("number"!=typeof e&&(o=t,t=e,e=void 0),void 0===t){if(p(n=this.segment(e,t,o)))for(r=0,i=n.length;r<i;r++)n[r]=s.decode(n[r]);else n=void 0!==n?s.decode(n):void 0;return n}if(p(t))for(r=0,i=t.length;r<i;r++)t[r]=s.encode(t[r]);else t="string"==typeof t||t instanceof String?s.encode(t):t;return this.segment(e,t,o)};var C=i.query;return i.query=function(e,t){if(!0===e)return s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var o=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,o);return this._parts.query=s.buildQuery(n||o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=s.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):C.call(this,e,t)},i.setQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)n[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var r in e)a.call(e,r)&&(n[r]=e[r])}return this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.addQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.addQuery(n,e,void 0===t?null:t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.removeQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.removeQuery(n,e,t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.hasQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.hasQuery(n,e,t,o)},i.setSearch=i.setQuery,i.addSearch=i.addQuery,i.removeSearch=i.removeQuery,i.hasSearch=i.hasQuery,i.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},i.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},i.normalizeHostname=function(o){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!o)),this},i.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===s.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},i.normalizePath=function(e){var t,o=this._parts.path;if(!o)return this;if(this._parts.urn)return this._parts.path=s.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var n,r,i="";for("/"!==(o=s.recodePath(o)).charAt(0)&&(t=!0,o="/"+o),"/.."!==o.slice(-3)&&"/."!==o.slice(-2)||(o+="/"),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(i=o.substring(1).match(/^(\.\.\/)+/)||"")&&(i=i[0]);-1!==(n=o.search(/\/\.\.(\/|$)/));)0!==n?(-1===(r=o.substring(0,n).lastIndexOf("/"))&&(r=n),o=o.substring(0,r)+o.substring(n+3)):o=o.substring(3);return t&&this.is("relative")&&(o=i+o.substring(1)),this._parts.path=o,this.build(!e),this},i.normalizePathname=i.normalizePath,i.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(s.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},i.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},i.normalizeSearch=i.normalizeQuery,i.normalizeHash=i.normalizeFragment,i.iso8859=function(){var e=s.encode,t=s.decode;s.encode=escape,s.decode=decodeURIComponent;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},i.unicode=function(){var e=s.encode,t=s.decode;s.encode=b,s.decode=unescape;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},i.readable=function(){var t=this.clone();t.username("").password("").normalize();var o="";if(t._parts.protocol&&(o+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(o+=e.toUnicode(t._parts.hostname),t._parts.port&&(o+=":"+t._parts.port)):o+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(o+="/"),o+=t.path(!0),t._parts.query){for(var n="",r=0,i=t._parts.query.split("&"),a=i.length;r<a;r++){var c=(i[r]||"").split("=");n+="&"+s.decodeQuery(c[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==c[1]&&(n+="="+s.decodeQuery(c[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+s.decodeQuery(t.hash(),!0)},i.absoluteTo=function(e){var t,o,n,r=this.clone(),i=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof s||(e=new s(e)),r._parts.protocol)return r;if(r._parts.protocol=e._parts.protocol,this._parts.hostname)return r;for(o=0;n=i[o];o++)r._parts[n]=e._parts[n];return r._parts.path?(".."===r._parts.path.substring(-2)&&(r._parts.path+="/"),"/"!==r.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),r._parts.path=(t?t+"/":"")+r._parts.path,r.normalizePath())):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),r.build(),r},i.relativeTo=function(e){var t,o,n,r,i,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new s(e).normalize(),t=a._parts,o=e._parts,r=a.path(),i=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==i.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===o.protocol&&(t.protocol=null),t.username!==o.username||t.password!==o.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==o.hostname||t.port!==o.port)return a.build();if(t.hostname=null,t.port=null,r===i)return t.path="",a.build();if(!(n=s.commonPath(r,i)))return a.build();var c=o.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=c+t.path.substring(n.length)||"./",a.build()},i.equals=function(e){var t,o,n,r,i,c=this.clone(),l=new s(e),u={};if(c.normalize(),l.normalize(),c.toString()===l.toString())return!0;if(n=c.query(),r=l.query(),c.query(""),l.query(""),c.toString()!==l.toString())return!1;if(n.length!==r.length)return!1;for(i in t=s.parseQuery(n,this._parts.escapeQuerySpace),o=s.parseQuery(r,this._parts.escapeQuerySpace),t)if(a.call(t,i)){if(p(t[i])){if(!h(t[i],o[i]))return!1}else if(t[i]!==o[i])return!1;u[i]=!0}for(i in o)if(a.call(o,i)&&!u[i])return!1;return!0},i.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},i.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},i.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},s}))},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.url},function(e,t,o){(function(e,n){var r;!function(s){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n&&n;i.global!==i&&i.window!==i&&i.self;var a,c=2147483647,l=/^xn--/,p=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,m=String.fromCharCode;function g(e){throw new RangeError(d[e])}function b(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function f(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),n+b((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,o,n=[],r=0,s=e.length;r<s;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<s?56320==(64512&(o=e.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&o)+65536):(n.push(t),r--):n.push(t);return n}function w(e){return b(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+m(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,o){var n=0;for(e=o?h(e/700):e>>1,e+=h(e/t);e>455;n+=36)e=h(e/35);return h(n+36*e/(e+38))}function O(e){var t,o,n,r,s,i,a,l,p,u,d,m=[],b=e.length,f=0,v=128,y=72;for((o=e.lastIndexOf("-"))<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&g("not-basic"),m.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<b;){for(s=f,i=1,a=36;r>=b&&g("invalid-input"),((l=(d=e.charCodeAt(r++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>h((c-f)/i))&&g("overflow"),f+=l*i,!(l<(p=a<=y?1:a>=y+26?26:a-y));a+=36)i>h(c/(u=36-p))&&g("overflow"),i*=u;y=I(f-s,t=m.length+1,0==s),h(f/t)>c-v&&g("overflow"),v+=h(f/t),f%=t,m.splice(f++,0,v)}return w(m)}function k(e){var t,o,n,r,s,i,a,l,p,u,d,b,f,w,O,k=[];for(b=(e=v(e)).length,t=128,o=0,s=72,i=0;i<b;++i)(d=e[i])<128&&k.push(m(d));for(n=r=k.length,r&&k.push("-");n<b;){for(a=c,i=0;i<b;++i)(d=e[i])>=t&&d<a&&(a=d);for(a-t>h((c-o)/(f=n+1))&&g("overflow"),o+=(a-t)*f,t=a,i=0;i<b;++i)if((d=e[i])<t&&++o>c&&g("overflow"),d==t){for(l=o,p=36;!(l<(u=p<=s?1:p>=s+26?26:p-s));p+=36)O=l-u,w=36-u,k.push(m(y(u+O%w,0))),l=h(O/w);k.push(m(y(l,0))),s=I(o,f,n==r),o=0,++n}++o,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:w},decode:O,encode:k,toASCII:function(e){return f(e,(function(e){return p.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return f(e,(function(e){return l.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,o,t,e))||(e.exports=r)}()}).call(this,o(22)(e),o(23))},function(e,t,o){var n,r;!function(s,i){"use strict";e.exports?e.exports=i():void 0===(r="function"==typeof(n=i)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,o,n=e.toLowerCase().split(":"),r=n.length,s=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),-1!==n[(r=n.length)-1].indexOf(".")&&(s=7),t=0;t<r&&""!==n[t];t++);if(t<s)for(n.splice(t,1,"0000");n.length<s;)n.splice(t,0,"0000");for(var i=0;i<s;i++){o=n[i].split("");for(var a=0;a<3&&"0"===o[0]&&o.length>1;a++)o.splice(0,1);n[i]=o.join("")}var c=-1,l=0,p=0,u=-1,d=!1;for(i=0;i<s;i++)d?"0"===n[i]?p+=1:(d=!1,p>l&&(c=u,l=p)):"0"===n[i]&&(d=!0,u=i,p=1);p>l&&(c=u,l=p),l>1&&n.splice(c,l,""),r=n.length;var h="";for(""===n[0]&&(h=":"),i=0;i<r&&(h+=n[i],i!==r-1);i++)h+=":";return""===n[r-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},function(e,t,o){var n,r;!function(s,i){"use strict";e.exports?e.exports=i():void 0===(r="function"==typeof(n=i)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var r=o.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=o.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var r=o.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}))},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.tokenList},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.a11y},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";o.r(t);var n=o(17),r=o.n(n),s=o(0),i=o(3),a=(o(21),o(7)),c=Object(s.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},Object(s.createElement)(a.Path,{d:"M947.67,465.69h72a18,18,0,0,0,18-18v-72a18,18,0,0,0-18-18h-72a18,18,0,0,0-18,18v12a6,6,0,0,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,1,0-12,0v36A18,18,0,0,0,947.67,465.69Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M984,505a24,24,0,1,0,22.17,14.82A24,24,0,0,0,984,505Zm4.59,35.09A12,12,0,1,1,996,529,12,12,0,0,1,988.59,540.09Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M1032,535a6,6,0,0,0,6-6V493a18,18,0,0,0-18-18H948a18,18,0,0,0-18,18v72a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18V553a6,6,0,0,0-12,0v12a6,6,0,0,1-6,6H948a6,6,0,0,1-6-6V493a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v36A6,6,0,0,0,1032,535Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M902.57,475.25h-72a18,18,0,0,0-18,18v12a6,6,0,1,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,0,0-12,0v36a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18v-72A18,18,0,0,0,902.57,475.25Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M893.7,406.66l-36-18A6,6,0,0,0,849,394v36a6,6,0,0,0,6,6,5.92,5.92,0,0,0,2.7-.66l36-18a6,6,0,0,0,0-10.68ZM861,420.28V403.72L877.56,412Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M846.34,362.11a54,54,0,1,0,58.84,11.71A54,54,0,0,0,846.34,362.11ZM896.7,441.7a42,42,0,1,1,9.1-45.77A42,42,0,0,1,896.7,441.7Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M859.91,504.71v4.5c0,3.24-2.14,5.7-6.59,5.7h-2.13v9.36h7.52v15c0,7,5.38,11.26,14.19,11.26a18.45,18.45,0,0,0,6.75-1v-8.87a19.38,19.38,0,0,1-3.42.35c-2.82,0-4.7-.77-4.7-3.66V524.27h8.29v-9.36h-8.29v-10.2Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M994.39,395.08a17.74,17.74,0,0,1,3.85.35v-8.72a18.83,18.83,0,0,0-6.16-.78c-10.34,0-16.23,5.49-16.23,13.52v3h-6.76v9h6.76v26h13v-26h9.23v-9h-9.23V399.8C988.84,395.93,992.08,395.08,994.39,395.08Z",transform:"translate(-812.57 -357.69)"})),l=o(4),p=o.n(l),u=o(10),d=o.n(u),h=o(5),m=o.n(h),g=o(2),b=o(8),f=o(1),v=o(11),w=o(12),y=o(18),I=o.n(y);const{icons:O}=wpzSocialIconsBlock;var k=class{static filterIcons(e){const t={};return""===e?O:(Object(i.forEach)(O,(o,n)=>{t[n]=o.filter(t=>Object(i.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1)}),t)}static filterUrlScheme(e){const t={mailto:"mail",viber:"viber",skype:"skype",tg:"tg",tel:"mobile",sms:"comments",fax:"fax",news:"newspaper-o",feed:"rss"},o={"feedburner.google.com":"rss","ok.ru":"odnoklassniki","yt.com":"youtube","fb.com":"facebook","t.me":"telegram","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex"},n=new d.a(e);let r=void 0!==n.domain()?n.domain().split(".").shift():n.scheme();const s=Object(i.findKey)(t,(e,t)=>t===n.scheme());r=void 0!==s?t[s]:r;const a=Object(i.findKey)(o,(e,t)=>t===n.hostname());return void 0!==a?o[a]:r}static hyphensToSpaces(e){return e.replace(/-/g," ")}static capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}static humanizeIconLabel(e){return this.hyphensToSpaces(this.capitalize(e))}static getBlockStyle(e){const t=/is-style-(\S*)/g.exec(e);return null!==t?t[1]:null}static getIconClassList(e,t){const o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}static addPercentagePipe(e){return e+"%"}static addPercentageHalfPipe(e){return`${.5*e}%/${e}%`}static addPixelsPipe(e){return e+"px"}static arrayMoveMutate(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}static arrayMove(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}static getActiveStyle(e,t){for(const o of new I.a(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=Object(i.find)(e,{name:t});if(n)return n}return Object(i.find)(e,["isDefault",!0])}};class A extends s.Component{constructor(...e){super(...e),p()(this,"state",{color:this.props.color,showColorPicker:!1}),p()(this,"onClickColorIndicatorHandler",()=>{this.setState({showColorPicker:!0})}),p()(this,"setColorPickerHandler",e=>{this.setState({color:e.hex},()=>{this.props.save(this.state)})}),p()(this,"focusOutsideHandler",()=>{this.setState({showColorPicker:!1})})}render(){return Object(s.createElement)(f.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&Object(s.createElement)(f.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},Object(s.createElement)("div",{className:"popover-content"},Object(s.createElement)(f.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}var j=A;class C extends s.Component{constructor(...e){super(...e),p()(this,"state",{isHover:!1}),p()(this,"onMouseEnterCallback",()=>{this.setState({isHover:!0})}),p()(this,"onMouseLeaveCallback",()=>{this.setState({isHover:!1})})}render(){return Object(s.createElement)("span",{ref:this.props.setRef,onClick:()=>this.props.click(this.props.icon),className:m()(k.getIconClassList(this.props.iconKit,this.props.icon),{selected:this.props.isSelected}),style:{backgroundColor:this.state.isHover?this.props.hoverColor:this.props.color},onMouseEnter:this.onMouseEnterCallback,onMouseLeave:this.onMouseLeaveCallback})}}var E=C,z=o(19),S=o.n(z);const{iconKitsCategories:x}=wpzSocialIconsBlock;class _ extends s.Component{constructor(e){super(e),p()(this,"state",{modalShow:this.props.show,modalUrl:this.props.url,modalLabel:this.props.label,modalIcon:this.props.icon,modalIconKit:this.props.iconKit,modalColor:this.props.color,modalHoverColor:this.props.hoverColor,modalSearch:""}),p()(this,"urlTextControlHandler",e=>{const t={modalUrl:e=Object(i.isEmpty)(new d.a(e).protocol())?"https://"+e:e},o=k.filterUrlScheme(e);if(o){const e=k.filterIcons(o);e[this.state.modalIconKit].length&&(t.modalIcon=e[this.state.modalIconKit][0].icon)}this.setState(t)}),p()(this,"labelTextControlHandler",e=>{this.setState({modalLabel:e})}),p()(this,"searchTextControlHandler",e=>{this.setState({modalSearch:e})}),p()(this,"saveColorPickerHandler",e=>{this.setState({modalColor:e.color})}),p()(this,"saveHoverColorPickerHandler",e=>{this.setState({modalHoverColor:e.color})}),p()(this,"onClickIconHandler",e=>{this.setState({modalIcon:e,modalLabel:k.humanizeIconLabel(e)})}),p()(this,"scrollMe",()=>{const e=this.myRef.current;null!==e&&e.scrollIntoView(!0)}),this.myRef=S.a.createRef(),this.scrollMeDebounced=Object(i.debounce)(this.scrollMe,1e3)}static getDerivedStateFromProps(e,t){return e.show!==t.modalShow?{modalShow:e.show,modalUrl:e.url,modalLabel:e.label,modalIcon:e.icon,modalIconKit:e.iconKit,modalColor:e.color,modalHoverColor:e.hoverColor,modalSearch:""}:null}componentDidUpdate(){this.scrollMeDebounced()}render(){if(!this.state.modalShow)return null;const e=Object.keys(k.filterIcons(this.state.modalSearch)).map((e,t)=>Object(s.createElement)("div",{key:t,className:m()("option-item","icon-kit",e+"-wrapper"),style:{display:this.state.modalIconKit===e?"block":"none"}},k.filterIcons(this.state.modalSearch)[e].map((t,o)=>Object(s.createElement)(E,{key:o,setRef:this.state.modalIcon===t.icon&&this.state.modalIconKit===e?this.myRef:null,color:this.state.modalColor,hoverColor:this.state.modalHoverColor,icon:t.icon,click:this.onClickIconHandler,isSelected:this.state.modalIcon===t.icon,iconKit:e}))));return Object(s.createElement)(f.Modal,{className:m()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":k.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(g.__)("Select Icon","social-icons-widget-by-wpzoom"),shouldCloseOnClickOutside:!1,onRequestClose:()=>this.props.onClose(this.state)},Object(s.createElement)("div",{className:"modal-content"},Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("URL","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),this.props.showIconsLabel?Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Label","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))):null,Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Pick icon color","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(j,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Pick hover color","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(j,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Select Icon Kit","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.SelectControl,{value:this.state.modalIconKit,onChange:e=>{this.setState({modalIconKit:e})},options:Object.values(x)}))),Object(s.createElement)("div",{className:"option-item icon-kits-wrapper"},e)),Object(s.createElement)("div",{className:"modal-controls"},Object(s.createElement)("div",{className:"modal-search"},Object(s.createElement)(f.TextControl,{placeholder:Object(g.__)("Type to search icon","social-icons-widget-by-wpzoom"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),Object(s.createElement)("div",{className:"modal-buttons"},this.props.showDeleteBtn&&Object(s.createElement)(f.Button,{className:"button-link-delete is-button",onClick:()=>this.props.delete()},Object(g.__)("Delete Icon","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.Button,{isPrimary:!0,onClick:()=>this.props.save(this.state)},Object(g.__)("Save","social-icons-widget-by-wpzoom")))))}}var P=_;class B extends s.Component{constructor(e){super(...arguments),p()(this,"state",{selectedIcons:JSON.parse(JSON.stringify(this.props.attributes.selectedIcons))}),p()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})})}static getDerivedStateFromProps(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}getBlockStyle(e){const t=k.getBlockStyle(e);return null===t?"with-canvas-round":t}render(){const e=[{name:Object(g.__)("Turquoise","social-icons-widget-by-wpzoom"),color:"#4ECDC4"},{name:Object(g.__)("Charcoal","social-icons-widget-by-wpzoom"),color:"#2E3131"},{name:Object(g.__)("White","social-icons-widget-by-wpzoom"),color:"#fff"},{name:Object(g.__)("Dodger blue","social-icons-widget-by-wpzoom"),color:"#22A7F0"},{name:Object(g.__)("Red","social-icons-widget-by-wpzoom"),color:"#D91E18"},{name:Object(g.__)("Orange","social-icons-widget-by-wpzoom"),color:"#F89406"}],{setAttributes:t}=this.props,o="left"===this.props.attributes.iconsAlignment,n="center"===this.props.attributes.iconsAlignment,r="right"===this.props.attributes.iconsAlignment;return Object(s.createElement)(v.InspectorControls,null,Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Labels Settings","social-icons-widget-by-wpzoom")},Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"show-icon-labels"},Object(g.__)(" Show icon labels?","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"show-icon-labels",label:Object(g.__)(" Show icon labels?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.showIconsLabel,onChange:()=>{t({showIconsLabel:!this.props.attributes.showIconsLabel})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"open-link-in-new-tab"},Object(g.__)("Open links in new tab?","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"open-link-in-new-tab",label:Object(g.__)("Open links in new tab?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.openLinkInNewTab,onChange:()=>{t({openLinkInNewTab:!this.props.attributes.openLinkInNewTab})}})),!this.props.attributes.openLinkInNewTab&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-nofollow-to-links"},Object(g.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-nofollow-to-links",label:Object(g.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.nofollow,onChange:()=>{t({nofollow:!this.props.attributes.nofollow})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noreferrer-to-links"},Object(g.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-noreferrer-to-links",label:Object(g.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noreferrer,onChange:()=>{t({noreferrer:!this.props.attributes.noreferrer})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(g.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(g.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noopener,onChange:()=>{t({noopener:!this.props.attributes.noopener})}})))),Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Styling Settings","social-icons-widget-by-wpzoom")},this.props.attributes.iconsHasBorder?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-border-radius"},Object(g.__)("Icons Border Radius:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:e=>{t({iconsBorderRadius:e})}}))):null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(g.__)("Icons Alignment:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ButtonGroup,null,Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("left"),isPrimary:o,isSecondary:!o},"Left"),Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("center"),isPrimary:n,isSecondary:!n},"Center"),Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("right"),isPrimary:r,isSecondary:!r},"Right"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-font-size"},Object(g.__)("Icons Font Size:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:e=>{t({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-label-font-size"},Object(g.__)("Icons Label Font Size:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:e=>{t({iconsLabelFontSize:e})}}))):null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-padding"},Object(g.__)("Icons Padding Horizontal:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:e=>t({iconsPaddingHorizontal:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-padding"},Object(g.__)("Icons Padding Vertical:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:e=>t({iconsPaddingVertical:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-margin-horizontal"},Object(g.__)("Icons Margin Horizontal:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:e=>t({iconsMarginHorizontal:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-margin-vertical"},Object(g.__)("Icons Margin Vertical:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:e=>t({iconsMarginVertical:e}),min:0,max:200}))),Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Color Settings","social-icons-widget-by-wpzoom")},Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-color"},Object(g.__)("Set color for all icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-color",colors:e,value:this.props.attributes.iconsColor,onChange:e=>{const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.map((t,o)=>(t.color=void 0===e?this.state.selectedIcons[o].color:e,t)),t({iconsColor:e,selectedIcons:o})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-hover-color"},Object(g.__)("Set hover color for all icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-hover-color",colors:e,value:this.props.attributes.iconsHoverColor,onChange:e=>{const o=[...this.props.attributes.selectedIcons];o.map((t,o)=>(t.hoverColor=void 0===e?this.state.selectedIcons[o].hoverColor:e,t)),t({iconsHoverColor:e,selectedIcons:o})}})),this.props.attributes.showIconsLabel?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-label-color"},Object(g.__)("Set color for all label icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-label-color",colors:e,value:this.props.attributes.iconsLabelColor,onChange:e=>{t({iconsLabelColor:e})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-hover-label-color"},Object(g.__)("Set hover color for all label icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-hover-label-color",colors:e,value:this.props.attributes.iconsLabelHoverColor,onChange:e=>{t({iconsLabelHoverColor:e})}}))):null))}}function Q({value:e,save:t}){const[o,n]=Object(s.useState)(e);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.TextControl,{className:"url-input",type:"text",value:o,onChange:n,onKeyDown:e=>{e.stopPropagation(),"Enter"===e.key&&t(o)},onFocus:e=>e.target.select()}),Object(s.createElement)(f.Button,{icon:"editor-break",label:Object(g.__)("Apply","social-icons-widget-by-wpzoom"),onClick:e=>{e.stopPropagation(),t(o)},className:["is-button","button-small","is-default","url-button"]}))}var F=e=>e.isActive&&Object(s.createElement)(f.ButtonGroup,{className:m()("sortable-arrows")},Object(s.createElement)(f.Button,{className:m()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:t=>e.left(t,e.itemKey)},Object(s.createElement)(f.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:m()("arrow-icon")})),Object(s.createElement)(f.Button,{className:m()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:t=>e.right(t,e.itemKey)},Object(s.createElement)(f.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:m()("arrow-icon")})));class R extends s.Component{constructor(...e){super(...e),p()(this,"closeModal",()=>{this.props.setAttributes({showModal:!1})}),p()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),p()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})}),p()(this,"saveModalHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),o=t[this.props.attributes.activeIconIndex],n={url:e.modalUrl,label:e.modalLabel,icon:e.modalIcon,iconKit:e.modalIconKit,color:e.modalColor,hoverColor:e.modalHoverColor};t[this.props.attributes.activeIconIndex]={...o,...n},this.props.setAttributes({selectedIcons:t,showModal:!1})}),p()(this,"insertIcon",e=>{if(e.preventDefault(),e.stopPropagation(),0===e.detail)return;const t=this.getStyleVariations(k.getBlockStyle(this.props.className)),o={url:"https://wordpress.org",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0};Object(i.isEmpty)(t.defaultIcon.color)||(o.color=t.defaultIcon.color),Object(i.isEmpty)(t.defaultIcon.hoverColor)||(o.hoverColor=t.defaultIcon.hoverColor);const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1);const r=n.push(o);this.props.setAttributes({selectedIcons:n,activeIconIndex:r-1})}),p()(this,"onClickIconHandler",(e,t,o)=>{e.preventDefault();const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1),n[t].showPopover=!0,n[t].isActive=!0,this.props.setAttributes({activeIconIndex:t,selectedIcons:n})}),p()(this,"popoverCloseHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e].showPopover=!1,this.props.setAttributes({selectedIcons:t})}),p()(this,"deleteIconHandler",()=>{const e=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));e.splice(this.props.attributes.activeIconIndex,1),this.props.setAttributes({selectedIcons:e,showModal:!1,activeIconIndex:0})}),p()(this,"popoverDeleteIconHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.splice(t,1),this.props.setAttributes({selectedIcons:o,activeIconIndex:0})}),p()(this,"popoverEditSettingsHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o[t].showPopover=!1,this.props.setAttributes({showModal:!0,selectedIcons:o})}),p()(this,"popoverSearchHandler",(e,t)=>{t=Object(i.isEmpty)(new d.a(t).protocol())?"https://"+t:t;const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),n=k.filterUrlScheme(t);if(n){const t=k.filterIcons(n);Object(i.map)(t,(t,r)=>{Object(i.isEmpty)(t)||Object(i.filter)(t,(function(t){t.icon===n&&o[e].icon!==t.icon&&(o[e].iconKit=r,o[e].icon=t.icon,t.color&&(o[e].color=t.color,o[e].hoverColor=t.color),o[e].label=k.humanizeIconLabel(n))}))})}o[e].url=t,o[e].showPopover=!1,this.props.setAttributes({selectedIcons:o})}),p()(this,"moveLeftHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t-1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t-1})}),p()(this,"moveRightHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t+1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t+1})}),p()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.openLinkInNewTab&&(e=["noopener","noreferrer"]),e})}getStyleVariations(e){const t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"#fff",iconsHoverColor:null,iconsLabelHoverColor:"#fff",iconsFontSize:18,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:5,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:null,iconsHoverColor:null,iconsLabelHoverColor:null,iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:null,iconsHoverColor:null,iconsLabelHoverColor:null,iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}}};return Object(i.get)(t,e,!1)?Object(i.get)(t,e,!1):Object(i.get)(t,this.getActiveStyle())}getActiveStyle(){const{blockStyles:e}=this.props,t=k.getActiveStyle(e,this.props.className);return t&&t.name||""}componentDidUpdate(e,t){if(k.getBlockStyle(e.className)!==k.getBlockStyle(this.props.className)){const e=this.getStyleVariations(this.getActiveStyle());if(!Object(i.isEmpty)(e)){this.props.setAttributes(Object(i.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(i.isEmpty)(e.selectedIcons)||t.map(t=>(Object(i.isEmpty)(t.color)&&(t.color=e.defaultIcon.color),Object(i.isEmpty)(t.hoverColor)&&(t.hoverColor=e.defaultIcon.hoverColor),t)),Object(i.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(i.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}}componentDidMount(){if(!0===this.props.attributes.wasStyled)return;const e=this.getStyleVariations(this.getActiveStyle());if(!Object(i.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(i.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(i.isEmpty)(e.selectedIcons)||t.map(t=>{const o=Object(i.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(i.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(i.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),Object(i.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(i.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}render(){const{attributes:e,setAttributes:t,isSelected:o}=this.props;let{className:n}=this.props;null===k.getBlockStyle(n)&&(n=m()(n,"is-style-with-canvas-round")),e.showIconsLabel&&(n=m()(n,"show-icon-labels-style"));const r=e.selectedIcons.map((n,r)=>{const i=e.showIconsLabel?Object(s.createElement)("span",{className:m()("icon-label")},n.label):"",a=this.getRelAttr();return Object(s.createElement)(s.Fragment,{key:r},Object(s.createElement)("a",{onClick:e=>this.onClickIconHandler(e,r,n),href:n.url,className:m()("social-icon-link",{selected:n.isActive}),target:e.openLinkInNewTab?"_blank":void 0,rel:a.length?a.join(" "):void 0,title:n.label,style:{"--wpz-social-icons-block-item-color":n.color,"--wpz-social-icons-block-item-color-hover":n.hoverColor}},Object(s.createElement)("span",{className:m()(k.getIconClassList(n.iconKit,n.icon))}),i,n.showPopover&&o&&Object(s.createElement)(f.Popover,{className:m()("wpzoom-social-icons-popover"),key:r,position:"bottom center",onClose:()=>this.popoverCloseHandler(r)},Object(s.createElement)("div",{className:m()("popover-content")},Object(s.createElement)("div",{className:m()("popover-url-wrapper")},Object(s.createElement)(Q,{key:r,value:n.url,save:e=>this.popoverSearchHandler(r,e)})),Object(s.createElement)("div",{className:m()("popover-controls")},Object(s.createElement)(f.Button,{isLink:!0,onClick:e=>this.popoverEditSettingsHandler(e,r)},Object(g.__)("Edit Details","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:m()("popover-color-picker-wrapper")},Object(s.createElement)(j,{title:"Color",className:m()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].color=o.color,t({selectedIcons:n})},color:n.color}),Object(s.createElement)(j,{title:"Hover Color",className:m()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].hoverColor=o.color,t({selectedIcons:n})},color:n.hoverColor}),e.selectedIcons.length>1&&Object(s.createElement)(f.Button,{onClick:e=>this.popoverDeleteIconHandler(e,r),className:["is-button","button-link-delete","is-small"]},Object(g.__)("Delete Icon","social-icons-widget-by-wpzoom"))))))),Object(s.createElement)(F,{left:this.moveLeftHandler,right:this.moveRightHandler,length:e.selectedIcons.length,isActive:n.isActive&&o,itemKey:r}))});return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(B,this.props),Object(s.createElement)(v.BlockControls,null,Object(s.createElement)(v.AlignmentToolbar,{value:e.iconsAlignment,onChange:e=>this.setAlignment(e)})),Object(s.createElement)("div",{className:n,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},r,o&&Object(s.createElement)(f.Button,{type:"button",onClick:this.insertIcon,style:{padding:e.iconsPadding},className:"insert-icon"},Object(s.createElement)(f.Icon,{icon:"insert",size:"20"})),e.selectedIcons[e.activeIconIndex]&&Object(s.createElement)(P,{className:m()(k.getBlockStyle(n)),showIconsLabel:e.showIconsLabel,iconsBorderRadius:e.iconsBorderRadius,show:e.showModal,url:e.selectedIcons[e.activeIconIndex].url,label:e.selectedIcons[e.activeIconIndex].label,icon:e.selectedIcons[e.activeIconIndex].icon,iconKit:e.selectedIcons[e.activeIconIndex].iconKit,color:e.selectedIcons[e.activeIconIndex].color,hoverColor:e.selectedIcons[e.activeIconIndex].hoverColor,save:this.saveModalHandler,delete:this.deleteIconHandler,showDeleteBtn:e.selectedIcons.length>1,onClose:this.closeModal})))}}const H=Object(b.withSelect)((e,t)=>{const{getBlockStyles:o}=e("core/blocks");return{blockStyles:o(t.name)}});var N=Object(w.compose)(H)(R);class L extends s.Component{constructor(e){super(...arguments),p()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),p()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.openLinkInNewTab&&(e=["noopener","noreferrer"]),e})}render(){const{attributes:e}=this.props;let{className:t}=e;null==k.getBlockStyle(t)&&(t=m()(t,"is-style-with-canvas-round")),e.showIconsLabel&&(t=m()(t,"show-icon-labels-style"));const o=e.selectedIcons.map((t,o)=>{const n=e.showIconsLabel?Object(s.createElement)("span",{className:m()("icon-label")},t.label):"",r=this.getRelAttr();return Object(s.createElement)("a",{key:o,href:t.url,className:"social-icon-link",title:t.label,target:e.openLinkInNewTab?"_blank":void 0,rel:r.length?r.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":t.color,"--wpz-social-icons-block-item-color-hover":t.hoverColor}},Object(s.createElement)("span",{className:m()(k.getIconClassList(t.iconKit,t.icon))}),n)});return Object(s.createElement)("div",{className:t,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},o)}}var U=L,M=o(6),V=o(9),T=o(13),K=o(20);const D={},X=({replacementData:e,isConvertRun:t})=>{const[o,n]=Object(s.useState)(!1);return t&&!o?(function(e){return new Promise((function(t){let o=0;Object(i.map)(e,n=>{const{clientId:r,attributes:a}=n,{title:c,description:l,iconsAlignment:p}=a,{rootClientId:u}=Object(b.useSelect)(e=>({rootClientId:e("core/block-editor").getBlockRootClientId(r)})),d=[Object(M.createBlock)("core/heading",{content:c,level:3,placeholder:Object(g.__)("Title","social-icons-widget-by-wpzoom"),className:"zoom-social-icons-legacy-widget-title widget-title title heading-size-3"}),Object(M.createBlock)("core/paragraph",{content:l,placeholder:Object(g.__)("Text above icons","social-icons-widget-by-wpzoom"),className:m()("zoom-social-icons-legacy-widget-description",{["zoom-social-icons-list--align-"+p]:void 0!==p&&"none"!==p})}),Object(M.createBlock)("wpzoom-blocks/social-icons",a)],[h]=function({rootClientId:e="",insertionIndex:t,clientId:o,shouldFocusBlock:n=!0}){const{sidebar:r,destinationRootClientId:a,destinationIndex:c}=Object(b.useSelect)(n=>{const{getBlockIndex:r,getBlockOrder:s,getBlock:i}=n("core/block-editor"),a=e;let c;return c=void 0!==t?t:o?r(o,a):""!==a?r(e):s(a).length,{sidebar:i(a),destinationRootClientId:a,destinationIndex:c}},[e,t,o]),{replaceBlock:l}=Object(b.useDispatch)("core/block-editor");return[Object(s.useCallback)((e,t,s=!1)=>{const{attributes:{name:a}}=r;l(o,e,c,n||s?0:null,t);const p=Object(g.sprintf)(// translators: %d: the name of the block that has been added %s: sidebar name.
2
  Object(g._n)("%1$d group block added in the sidebar: %2$s.","%1$d group blocks added in the sidebar: %2$s.",Object(i.castArray)(e).length),Object(i.castArray)(e).length,a);Object(K.speak)(p)},[l,r,o,a,c,n]),c]}({rootClientId:u,clientId:r});if(h(Object(M.createBlock)("core/group",{tagName:"div",className:"zoom-social-icons-widget zoom-social-icons-legacy-widget-group",layout:{inherit:!0}},d)),o++,Object(i.size)(e)===o){const e=Object(g.sprintf)(// translators: %d: the number of the block that has been converted
3
- Object(g._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(V.doAction)("converter.isConvertDone",{message:e})}),null):Object(s.createElement)(f.Placeholder,null,Object(s.createElement)(f.Spinner,null))};var W=Object(s.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(s.useState)(!1),{createInfoNotice:i,createWarningNotice:a,createSuccessNotice:c}=Object(b.useDispatch)("core/notices");D[o]={},D[o].clientId=e,D[o].attributes=t;const l=Object(g.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(s.useEffect)(()=>{a(l,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(T.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(g.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(T.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(g.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[a,n]),Object(s.useEffect)(()=>{n&&i(Object(g.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,i]),Object(V.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{c(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(X,{replacementData:D,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(i.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},s=Object(i.assign)(n,r);"rounded"===s.iconsBackgroundStyle?s.iconsBorderRadius=3:"round"===s.iconsBackgroundStyle?s.iconsBorderRadius=50:s.iconsBorderRadius=0,"without-canvas"===s.canvasType?s.className="is-style-"+s.canvasType:"with-canvas"===s.canvasType&&(s.className="is-style-with-canvas-round");const a=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===s.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===s.canvasType}];for(let e=0;e<a.length;e++){const t=a[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return s};const q=document.getElementById("customize-theme-controls"),Y=Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:i,idBase:a,instance:c,__internalWidgetId:l}=o,p=null!=i?i:a;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===p){const{widgetType:o,hasResolvedWidgetType:n}=Object(b.useSelect)(e=>({widgetType:e("core").getWidgetType(p),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[p])}),[i,a]),u=Z(c.raw);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(e,t),o&&n&&Object(s.createElement)(W,r()({},t,{attributes:u,widgetId:l})))}return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(e,t))},"withGroupedBlock");Object(V.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(i.assign)({},e,{supports:Object(i.assign)({},e.supports,{className:!0})})})),Object(V.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),q||Object(V.addFilter)("editor.BlockEdit","wpzoom-blocks/social-icons/wrap-group-blocks",Y),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(g.__)("Social Icons Block","social-icons-widget-by-wpzoom"),description:Object(g.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:c},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2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blocks",keywords:[Object(g.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(g.__)("Dashicons","social-icons-widget-by-wpzoom"),Object(g.__)("Socicons","social-icons-widget-by-wpzoom"),Object(g.__)("Fontawesome","social-icons-widget-by-wpzoom"),Object(g.__)("Academic Icons","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#3b5998",hoverColor:"#3b5998",label:"Facebook",showPopover:!1,isActive:!1},{url:"https://twitter.com",icon:"twitter",iconKit:"socicon",color:"#1da1f2",hoverColor:"#1da1f2",label:"Twitter",showPopover:!1,isActive:!1},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E44060",hoverColor:"#E44060",label:"Instagram",showPopover:!1,isActive:!1}]}},styles:[{name:"with-canvas-round",label:Object(g.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(g.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(g.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(g.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(g.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(g.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(g.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:N,save:U});var J=Object(s.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(s.createElement)(a.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:J})}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{21:function(e,t,o){}}]),function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],u=0,d=[];u<a.length;u++)i=a[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&d.push(r[i][0]),r[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(p&&p(t);d.length;)d.shift()();return s.push.apply(s,l||[]),o()}function o(){for(var e,t=0;t<s.length;t++){for(var o=s[t],n=!0,a=1;a<o.length;a++){var c=o[a];0!==r[c]&&(n=!1)}n&&(s.splice(t--,1),e=i(i.s=o[0]))}return e}var n={},r={1:0},s=[];function i(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(o,n,function(t){return e[t]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var p=c;s.push([24,0]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)o.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.primitives},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.hooks},function(e,t,o){var n,r,s;!function(i,a){"use strict";e.exports?e.exports=a(o(14),o(15),o(16)):(r=[o(14),o(15),o(16)],void 0===(s="function"==typeof(n=a)?n.apply(t,r):n)||(e.exports=s))}(0,(function(e,t,o,n){"use strict";var r=n&&n.URI;function s(e,t){var o=arguments.length>=1,n=arguments.length>=2;if(!(this instanceof s))return o?n?new s(e,t):new s(e):new s;if(void 0===e){if(o)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&o)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}s.version="1.19.7";var i=s.prototype,a=Object.prototype.hasOwnProperty;function c(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function p(e){return"Array"===l(e)}function u(e,t){var o,n,r={};if("RegExp"===l(t))r=null;else if(p(t))for(o=0,n=t.length;o<n;o++)r[t[o]]=!0;else r[t]=!0;for(o=0,n=e.length;o<n;o++)(r&&void 0!==r[e[o]]||!r&&t.test(e[o]))&&(e.splice(o,1),n--,o--);return e}function d(e,t){var o,n;if(p(t)){for(o=0,n=t.length;o<n;o++)if(!d(e,t[o]))return!1;return!0}var r=l(t);for(o=0,n=e.length;o<n;o++)if("RegExp"===r){if("string"==typeof e[o]&&e[o].match(t))return!0}else if(e[o]===t)return!0;return!1}function h(e,t){if(!p(e)||!p(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var o=0,n=e.length;o<n;o++)if(e[o]!==t[o])return!1;return!0}function m(e){return e.replace(/^\/+|\/+$/g,"")}function g(e){return escape(e)}function b(e){return encodeURIComponent(e).replace(/[!'()*]/g,g).replace(/\*/g,"%2A")}s._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:s.preventInvalidHostname,duplicateQueryParameters:s.duplicateQueryParameters,escapeQuerySpace:s.escapeQuerySpace}},s.preventInvalidHostname=!1,s.duplicateQueryParameters=!1,s.escapeQuerySpace=!0,s.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,s.idn_expression=/[^a-z0-9\._-]/i,s.punycode_expression=/(xn--)/i,s.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,s.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,s.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,s.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},s.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},s.hostProtocols=["http","https"],s.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,s.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},s.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return s.domAttributes[t]}},s.encode=b,s.decode=decodeURIComponent,s.iso8859=function(){s.encode=escape,s.decode=unescape},s.unicode=function(){s.encode=b,s.decode=decodeURIComponent},s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},s.encodeQuery=function(e,t){var o=s.encode(e+"");return void 0===t&&(t=s.escapeQuerySpace),t?o.replace(/%20/g,"+"):o},s.decodeQuery=function(e,t){e+="",void 0===t&&(t=s.escapeQuerySpace);try{return s.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var f,v={encode:"encode",decode:"decode"},w=function(e,t){return function(o){try{return s[t](o+"").replace(s.characters[e][t].expression,(function(o){return s.characters[e][t].map[o]}))}catch(e){return o}}};for(f in v)s[f+"PathSegment"]=w("pathname",v[f]),s[f+"UrnPathSegment"]=w("urnpath",v[f]);var y=function(e,t,o){return function(n){var r;r=o?function(e){return s[t](s[o](e))}:s[t];for(var i=(n+"").split(e),a=0,c=i.length;a<c;a++)i[a]=r(i[a]);return i.join(e)}};function I(e){return function(t,o){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!o),this)}}function O(e,t){return function(o,n){return void 0===o?this._parts[e]||"":(null!==o&&(o+="").charAt(0)===t&&(o=o.substring(1)),this._parts[e]=o,this.build(!n),this)}}s.decodePath=y("/","decodePathSegment"),s.decodeUrnPath=y(":","decodeUrnPathSegment"),s.recodePath=y("/","encodePathSegment","decode"),s.recodeUrnPath=y(":","encodeUrnPathSegment","decode"),s.encodeReserved=w("reserved","encode"),s.parse=function(e,t){var o;return t||(t={preventInvalidHostname:s.preventInvalidHostname}),(o=e.indexOf("#"))>-1&&(t.fragment=e.substring(o+1)||null,e=e.substring(0,o)),(o=e.indexOf("?"))>-1&&(t.query=e.substring(o+1)||null,e=e.substring(0,o)),"//"===(e=e.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=s.parseAuthority(e,t)):(o=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,o)||null,t.protocol&&!t.protocol.match(s.protocol_expression)?t.protocol=void 0:"//"===e.substring(o+1,o+3).replace(/\\/g,"/")?(e=e.substring(o+3),e=s.parseAuthority(e,t)):(e=e.substring(o+1),t.urn=!0)),t.path=e,t},s.parseHost=function(e,t){e||(e="");var o,n,r=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===r&&(r=e.length),"["===e.charAt(0))o=e.indexOf("]"),t.hostname=e.substring(1,o)||null,t.port=e.substring(o+2,r)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),a=e.indexOf("/"),c=e.indexOf(":",i+1);-1!==c&&(-1===a||c<a)?(t.hostname=e.substring(0,r)||null,t.port=null):(n=e.substring(0,r).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}return t.hostname&&"/"!==e.substring(r).charAt(0)&&(r++,e="/"+e),t.preventInvalidHostname&&s.ensureValidHostname(t.hostname,t.protocol),t.port&&s.ensureValidPort(t.port),e.substring(r)||"/"},s.parseAuthority=function(e,t){return e=s.parseUserinfo(e,t),s.parseHost(e,t)},s.parseUserinfo=function(e,t){var o=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n,r=e.indexOf("/"),i=e.lastIndexOf("@",r>-1?r:e.length-1);return i>-1&&(-1===r||i<r)?(n=e.substring(0,i).split(":"),t.username=n[0]?s.decode(n[0]):null,n.shift(),t.password=n[0]?s.decode(n.join(":")):null,e=o.substring(i+1)):(t.username=null,t.password=null),e},s.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var o,n,r,i={},c=e.split("&"),l=c.length,p=0;p<l;p++)o=c[p].split("="),n=s.decodeQuery(o.shift(),t),r=o.length?s.decodeQuery(o.join("="),t):null,"__proto__"!==n&&(a.call(i,n)?("string"!=typeof i[n]&&null!==i[n]||(i[n]=[i[n]]),i[n].push(r)):i[n]=r);return i},s.build=function(e){var t="",o=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",o=!0),t+=s.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&o&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},s.buildHost=function(e){var t="";return e.hostname?(s.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},s.buildAuthority=function(e){return s.buildUserinfo(e)+s.buildHost(e)},s.buildUserinfo=function(e){var t="";return e.username&&(t+=s.encode(e.username)),e.password&&(t+=":"+s.encode(e.password)),t&&(t+="@"),t},s.buildQuery=function(e,t,o){var n,r,i,c,l="";for(r in e)if("__proto__"!==r&&a.call(e,r))if(p(e[r]))for(n={},i=0,c=e[r].length;i<c;i++)void 0!==e[r][i]&&void 0===n[e[r][i]+""]&&(l+="&"+s.buildQueryParameter(r,e[r][i],o),!0!==t&&(n[e[r][i]+""]=!0));else void 0!==e[r]&&(l+="&"+s.buildQueryParameter(r,e[r],o));return l.substring(1)},s.buildQueryParameter=function(e,t,o){return s.encodeQuery(e,o)+(null!==t?"="+s.encodeQuery(t,o):"")},s.addQuery=function(e,t,o){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.addQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=o);"string"==typeof e[t]&&(e[t]=[e[t]]),p(o)||(o=[o]),e[t]=(e[t]||[]).concat(o)}},s.setQuery=function(e,t,o){if("object"==typeof t)for(var n in t)a.call(t,n)&&s.setQuery(e,n,t[n]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===o?null:o}},s.removeQuery=function(e,t,o){var n,r,i;if(p(t))for(n=0,r=t.length;n<r;n++)e[t[n]]=void 0;else if("RegExp"===l(t))for(i in e)t.test(i)&&(e[i]=void 0);else if("object"==typeof t)for(i in t)a.call(t,i)&&s.removeQuery(e,i,t[i]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==o?"RegExp"===l(o)?!p(e[t])&&o.test(e[t])?e[t]=void 0:e[t]=u(e[t],o):e[t]!==String(o)||p(o)&&1!==o.length?p(e[t])&&(e[t]=u(e[t],o)):e[t]=void 0:e[t]=void 0}},s.hasQuery=function(e,t,o,n){switch(l(t)){case"String":break;case"RegExp":for(var r in e)if(a.call(e,r)&&t.test(r)&&(void 0===o||s.hasQuery(e,r,o)))return!0;return!1;case"Object":for(var i in t)if(a.call(t,i)&&!s.hasQuery(e,i,t[i]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(l(o)){case"Undefined":return t in e;case"Boolean":return o===Boolean(p(e[t])?e[t].length:e[t]);case"Function":return!!o(e[t],t,e);case"Array":return!!p(e[t])&&(n?d:h)(e[t],o);case"RegExp":return p(e[t])?!!n&&d(e[t],o):Boolean(e[t]&&e[t].match(o));case"Number":o=String(o);case"String":return p(e[t])?!!n&&d(e[t],o):e[t]===o;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},s.joinPaths=function(){for(var e=[],t=[],o=0,n=0;n<arguments.length;n++){var r=new s(arguments[n]);e.push(r);for(var i=r.segment(),a=0;a<i.length;a++)"string"==typeof i[a]&&t.push(i[a]),i[a]&&o++}if(!t.length||!o)return new s("");var c=new s("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||c.path("/"+c.path()),c.normalize()},s.commonPath=function(e,t){var o,n=Math.min(e.length,t.length);for(o=0;o<n;o++)if(e.charAt(o)!==t.charAt(o)){o--;break}return o<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(o)&&"/"===t.charAt(o)||(o=e.substring(0,o).lastIndexOf("/")),e.substring(0,o+1))},s.withinString=function(e,t,o){o||(o={});var n=o.start||s.findUri.start,r=o.end||s.findUri.end,i=o.trim||s.findUri.trim,a=o.parens||s.findUri.parens,c=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var l=n.exec(e);if(!l)break;var p=l.index;if(o.ignoreHtml){var u=e.slice(Math.max(p-3,0),p);if(u&&c.test(u))continue}for(var d=p+e.slice(p).search(r),h=e.slice(p,d),m=-1;;){var g=a.exec(h);if(!g)break;var b=g.index+g[0].length;m=Math.max(m,b)}if(!((h=m>-1?h.slice(0,m)+h.slice(m).replace(i,""):h.replace(i,"")).length<=l[0].length||o.ignore&&o.ignore.test(h))){var f=t(h,p,d=p+h.length,e);void 0!==f?(f=String(f),e=e.slice(0,p)+f+e.slice(d),n.lastIndex=p+f.length):n.lastIndex=d}}return n.lastIndex=0,e},s.ensureValidHostname=function(t,o){var n=!!t,r=!1;if(!!o&&(r=d(s.hostProtocols,o)),r&&!n)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(t&&t.match(s.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(s.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},s.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},s.noConflict=function(e){if(e){var t={URI:this.noConflict()};return n.URITemplate&&"function"==typeof n.URITemplate.noConflict&&(t.URITemplate=n.URITemplate.noConflict()),n.IPv6&&"function"==typeof n.IPv6.noConflict&&(t.IPv6=n.IPv6.noConflict()),n.SecondLevelDomains&&"function"==typeof n.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=n.SecondLevelDomains.noConflict()),t}return n.URI===this&&(n.URI=r),this},i.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=s.build(this._parts),this._deferred_build=!1),this},i.clone=function(){return new s(this)},i.valueOf=i.toString=function(){return this.build(!1)._string},i.protocol=I("protocol"),i.username=I("username"),i.password=I("password"),i.hostname=I("hostname"),i.port=I("port"),i.query=O("query","?"),i.fragment=O("fragment","#"),i.search=function(e,t){var o=this.query(e,t);return"string"==typeof o&&o.length?"?"+o:o},i.hash=function(e,t){var o=this.fragment(e,t);return"string"==typeof o&&o.length?"#"+o:o},i.pathname=function(e,t){if(void 0===e||!0===e){var o=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?s.decodeUrnPath:s.decodePath)(o):o}return this._parts.urn?this._parts.path=e?s.recodeUrnPath(e):"":this._parts.path=e?s.recodePath(e):"/",this.build(!t),this},i.path=i.pathname,i.href=function(e,t){var o;if(void 0===e)return this.toString();this._string="",this._parts=s._parts();var n=e instanceof s,r="object"==typeof e&&(e.hostname||e.path||e.pathname);if(e.nodeName&&(e=e[s.getDomAttribute(e)]||"",r=!1),!n&&r&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=s.parse(String(e),this._parts);else{if(!n&&!r)throw new TypeError("invalid input");var i=n?e._parts:e;for(o in i)"query"!==o&&a.call(this._parts,o)&&(this._parts[o]=i[o]);i.query&&this.query(i.query,!1)}return this.build(!t),this},i.is=function(e){var t=!1,n=!1,r=!1,i=!1,a=!1,c=!1,l=!1,p=!this._parts.urn;switch(this._parts.hostname&&(p=!1,n=s.ip4_expression.test(this._parts.hostname),r=s.ip6_expression.test(this._parts.hostname),a=(i=!(t=n||r))&&o&&o.has(this._parts.hostname),c=i&&s.idn_expression.test(this._parts.hostname),l=i&&s.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return p;case"absolute":return!p;case"domain":case"name":return i;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return r;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return l}return null};var k=i.protocol,A=i.port,j=i.hostname;i.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(s.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},i.scheme=i.protocol,i.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),s.ensureValidPort(e))),A.call(this,e,t))},i.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var o={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==s.parseHost(e,o))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=o.hostname,this._parts.preventInvalidHostname&&s.ensureValidHostname(e,this._parts.protocol)}return j.call(this,e,t)},i.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=this.protocol();return this.authority()?(o?o+"://":"")+this.authority():""}var n=s(e);return this.protocol(n.protocol()).authority(n.authority()).build(!t),this},i.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildHost(this._parts):"";if("/"!==s.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?s.buildAuthority(this._parts):"";if("/"!==s.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var o=s.buildUserinfo(this._parts);return o?o.substring(0,o.length-1):o}return"@"!==e[e.length-1]&&(e+="@"),s.parseUserinfo(e,this._parts),this.build(!t),this},i.resource=function(e,t){var o;return void 0===e?this.path()+this.search()+this.hash():(o=s.parse(e),this._parts.path=o.path,this._parts.query=o.query,this._parts.fragment=o.fragment,this.build(!t),this)},i.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,o)||""}var n=this._parts.hostname.length-this.domain().length,r=this._parts.hostname.substring(0,n),i=new RegExp("^"+c(r));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&s.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(i,e),this.build(!t),this},i.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var o=this._parts.hostname.match(/\./g);if(o&&o.length<2)return this._parts.hostname;var n=this._parts.hostname.length-this.tld(t).length-1;return n=this._parts.hostname.lastIndexOf(".",n-1)+1,this._parts.hostname.substring(n)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(s.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var r=new RegExp(c(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(r,e)}return this.build(!t),this},i.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.lastIndexOf("."),r=this._parts.hostname.substring(n+1);return!0!==t&&o&&o.list[r.toLowerCase()]&&o.get(this._parts.hostname)||r}var s;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!o||!o.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');s=new RegExp(c(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");s=new RegExp(c(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(s,e)}return this.build(!t),this},i.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var o=this._parts.path.length-this.filename().length-1,n=this._parts.path.substring(0,o)||(this._parts.hostname?"/":"");return e?s.decodePath(n):n}var r=this._parts.path.length-this.filename().length,i=this._parts.path.substring(0,r),a=new RegExp("^"+c(i));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},i.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var o=this._parts.path.lastIndexOf("/"),n=this._parts.path.substring(o+1);return e?s.decodePathSegment(n):n}var r=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(r=!0);var i=new RegExp(c(this.filename())+"$");return e=s.recodePath(e),this._parts.path=this._parts.path.replace(i,e),r?this.normalizePath(t):this.build(!t),this},i.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var o,n,r=this.filename(),i=r.lastIndexOf(".");return-1===i?"":(o=r.substring(i+1),n=/^[a-z0-9%]+$/i.test(o)?o:"",e?s.decodePathSegment(n):n)}"."===e.charAt(0)&&(e=e.substring(1));var a,l=this.suffix();if(l)a=e?new RegExp(c(l)+"$"):new RegExp(c("."+l)+"$");else{if(!e)return this;this._parts.path+="."+s.recodePath(e)}return a&&(e=s.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},i.segment=function(e,t,o){var n=this._parts.urn?":":"/",r=this.path(),s="/"===r.substring(0,1),i=r.split(n);if(void 0!==e&&"number"!=typeof e&&(o=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(s&&i.shift(),e<0&&(e=Math.max(i.length+e,0)),void 0===t)return void 0===e?i:i[e];if(null===e||void 0===i[e])if(p(t)){i=[];for(var a=0,c=t.length;a<c;a++)(t[a].length||i.length&&i[i.length-1].length)&&(i.length&&!i[i.length-1].length&&i.pop(),i.push(m(t[a])))}else(t||"string"==typeof t)&&(t=m(t),""===i[i.length-1]?i[i.length-1]=t:i.push(t));else t?i[e]=m(t):i.splice(e,1);return s&&i.unshift(""),this.path(i.join(n),o)},i.segmentCoded=function(e,t,o){var n,r,i;if("number"!=typeof e&&(o=t,t=e,e=void 0),void 0===t){if(p(n=this.segment(e,t,o)))for(r=0,i=n.length;r<i;r++)n[r]=s.decode(n[r]);else n=void 0!==n?s.decode(n):void 0;return n}if(p(t))for(r=0,i=t.length;r<i;r++)t[r]=s.encode(t[r]);else t="string"==typeof t||t instanceof String?s.encode(t):t;return this.segment(e,t,o)};var C=i.query;return i.query=function(e,t){if(!0===e)return s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var o=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,o);return this._parts.query=s.buildQuery(n||o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=s.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):C.call(this,e,t)},i.setQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)n[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var r in e)a.call(e,r)&&(n[r]=e[r])}return this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.addQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.addQuery(n,e,void 0===t?null:t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.removeQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.removeQuery(n,e,t),this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(o=t),this.build(!o),this},i.hasQuery=function(e,t,o){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.hasQuery(n,e,t,o)},i.setSearch=i.setQuery,i.addSearch=i.addQuery,i.removeSearch=i.removeQuery,i.hasSearch=i.hasQuery,i.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},i.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},i.normalizeHostname=function(o){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!o)),this},i.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===s.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},i.normalizePath=function(e){var t,o=this._parts.path;if(!o)return this;if(this._parts.urn)return this._parts.path=s.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var n,r,i="";for("/"!==(o=s.recodePath(o)).charAt(0)&&(t=!0,o="/"+o),"/.."!==o.slice(-3)&&"/."!==o.slice(-2)||(o+="/"),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(i=o.substring(1).match(/^(\.\.\/)+/)||"")&&(i=i[0]);-1!==(n=o.search(/\/\.\.(\/|$)/));)0!==n?(-1===(r=o.substring(0,n).lastIndexOf("/"))&&(r=n),o=o.substring(0,r)+o.substring(n+3)):o=o.substring(3);return t&&this.is("relative")&&(o=i+o.substring(1)),this._parts.path=o,this.build(!e),this},i.normalizePathname=i.normalizePath,i.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(s.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},i.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},i.normalizeSearch=i.normalizeQuery,i.normalizeHash=i.normalizeFragment,i.iso8859=function(){var e=s.encode,t=s.decode;s.encode=escape,s.decode=decodeURIComponent;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},i.unicode=function(){var e=s.encode,t=s.decode;s.encode=b,s.decode=unescape;try{this.normalize()}finally{s.encode=e,s.decode=t}return this},i.readable=function(){var t=this.clone();t.username("").password("").normalize();var o="";if(t._parts.protocol&&(o+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(o+=e.toUnicode(t._parts.hostname),t._parts.port&&(o+=":"+t._parts.port)):o+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(o+="/"),o+=t.path(!0),t._parts.query){for(var n="",r=0,i=t._parts.query.split("&"),a=i.length;r<a;r++){var c=(i[r]||"").split("=");n+="&"+s.decodeQuery(c[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==c[1]&&(n+="="+s.decodeQuery(c[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+n.substring(1)}return o+s.decodeQuery(t.hash(),!0)},i.absoluteTo=function(e){var t,o,n,r=this.clone(),i=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof s||(e=new s(e)),r._parts.protocol)return r;if(r._parts.protocol=e._parts.protocol,this._parts.hostname)return r;for(o=0;n=i[o];o++)r._parts[n]=e._parts[n];return r._parts.path?(".."===r._parts.path.substring(-2)&&(r._parts.path+="/"),"/"!==r.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),r._parts.path=(t?t+"/":"")+r._parts.path,r.normalizePath())):(r._parts.path=e._parts.path,r._parts.query||(r._parts.query=e._parts.query)),r.build(),r},i.relativeTo=function(e){var t,o,n,r,i,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new s(e).normalize(),t=a._parts,o=e._parts,r=a.path(),i=e.path(),"/"!==r.charAt(0))throw new Error("URI is already relative");if("/"!==i.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===o.protocol&&(t.protocol=null),t.username!==o.username||t.password!==o.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==o.hostname||t.port!==o.port)return a.build();if(t.hostname=null,t.port=null,r===i)return t.path="",a.build();if(!(n=s.commonPath(r,i)))return a.build();var c=o.path.substring(n.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=c+t.path.substring(n.length)||"./",a.build()},i.equals=function(e){var t,o,n,r,i,c=this.clone(),l=new s(e),u={};if(c.normalize(),l.normalize(),c.toString()===l.toString())return!0;if(n=c.query(),r=l.query(),c.query(""),l.query(""),c.toString()!==l.toString())return!1;if(n.length!==r.length)return!1;for(i in t=s.parseQuery(n,this._parts.escapeQuerySpace),o=s.parseQuery(r,this._parts.escapeQuerySpace),t)if(a.call(t,i)){if(p(t[i])){if(!h(t[i],o[i]))return!1}else if(t[i]!==o[i])return!1;u[i]=!0}for(i in o)if(a.call(o,i)&&!u[i])return!1;return!0},i.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},i.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},i.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},s}))},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.url},function(e,t,o){(function(e,n){var r;!function(s){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n&&n;i.global!==i&&i.window!==i&&i.self;var a,c=2147483647,l=/^xn--/,p=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,m=String.fromCharCode;function g(e){throw new RangeError(d[e])}function b(e,t){for(var o=e.length,n=[];o--;)n[o]=t(e[o]);return n}function f(e,t){var o=e.split("@"),n="";return o.length>1&&(n=o[0]+"@",e=o[1]),n+b((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,o,n=[],r=0,s=e.length;r<s;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<s?56320==(64512&(o=e.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&o)+65536):(n.push(t),r--):n.push(t);return n}function w(e){return b(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+m(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,o){var n=0;for(e=o?h(e/700):e>>1,e+=h(e/t);e>455;n+=36)e=h(e/35);return h(n+36*e/(e+38))}function O(e){var t,o,n,r,s,i,a,l,p,u,d,m=[],b=e.length,f=0,v=128,y=72;for((o=e.lastIndexOf("-"))<0&&(o=0),n=0;n<o;++n)e.charCodeAt(n)>=128&&g("not-basic"),m.push(e.charCodeAt(n));for(r=o>0?o+1:0;r<b;){for(s=f,i=1,a=36;r>=b&&g("invalid-input"),((l=(d=e.charCodeAt(r++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>h((c-f)/i))&&g("overflow"),f+=l*i,!(l<(p=a<=y?1:a>=y+26?26:a-y));a+=36)i>h(c/(u=36-p))&&g("overflow"),i*=u;y=I(f-s,t=m.length+1,0==s),h(f/t)>c-v&&g("overflow"),v+=h(f/t),f%=t,m.splice(f++,0,v)}return w(m)}function k(e){var t,o,n,r,s,i,a,l,p,u,d,b,f,w,O,k=[];for(b=(e=v(e)).length,t=128,o=0,s=72,i=0;i<b;++i)(d=e[i])<128&&k.push(m(d));for(n=r=k.length,r&&k.push("-");n<b;){for(a=c,i=0;i<b;++i)(d=e[i])>=t&&d<a&&(a=d);for(a-t>h((c-o)/(f=n+1))&&g("overflow"),o+=(a-t)*f,t=a,i=0;i<b;++i)if((d=e[i])<t&&++o>c&&g("overflow"),d==t){for(l=o,p=36;!(l<(u=p<=s?1:p>=s+26?26:p-s));p+=36)O=l-u,w=36-u,k.push(m(y(u+O%w,0))),l=h(O/w);k.push(m(y(l,0))),s=I(o,f,n==r),o=0,++n}++o,++t}return k.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:w},decode:O,encode:k,toASCII:function(e){return f(e,(function(e){return p.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return f(e,(function(e){return l.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,o,t,e))||(e.exports=r)}()}).call(this,o(22)(e),o(23))},function(e,t,o){var n,r;!function(s,i){"use strict";e.exports?e.exports=i():void 0===(r="function"==typeof(n=i)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,o,n=e.toLowerCase().split(":"),r=n.length,s=8;for(""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),-1!==n[(r=n.length)-1].indexOf(".")&&(s=7),t=0;t<r&&""!==n[t];t++);if(t<s)for(n.splice(t,1,"0000");n.length<s;)n.splice(t,0,"0000");for(var i=0;i<s;i++){o=n[i].split("");for(var a=0;a<3&&"0"===o[0]&&o.length>1;a++)o.splice(0,1);n[i]=o.join("")}var c=-1,l=0,p=0,u=-1,d=!1;for(i=0;i<s;i++)d?"0"===n[i]?p+=1:(d=!1,p>l&&(c=u,l=p)):"0"===n[i]&&(d=!0,u=i,p=1);p>l&&(c=u,l=p),l>1&&n.splice(c,l,""),r=n.length;var h="";for(""===n[0]&&(h=":"),i=0;i<r&&(h+=n[i],i!==r-1);i++)h+=":";return""===n[r-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},function(e,t,o){var n,r;!function(s,i){"use strict";e.exports?e.exports=i():void 0===(r="function"==typeof(n=i)?n.call(t,o,t,e):n)||(e.exports=r)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return!1;var r=o.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(n+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var n=o.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||n>=t-1)return null;var r=o.list[e.slice(t+1)];return r?r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}))},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.tokenList},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.a11y},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";o.r(t);var n=o(17),r=o.n(n),s=o(0),i=o(3),a=(o(21),o(7)),c=Object(s.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 225.43 225.56"},Object(s.createElement)(a.Path,{d:"M947.67,465.69h72a18,18,0,0,0,18-18v-72a18,18,0,0,0-18-18h-72a18,18,0,0,0-18,18v12a6,6,0,0,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,1,0-12,0v36A18,18,0,0,0,947.67,465.69Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M984,505a24,24,0,1,0,22.17,14.82A24,24,0,0,0,984,505Zm4.59,35.09A12,12,0,1,1,996,529,12,12,0,0,1,988.59,540.09Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M1032,535a6,6,0,0,0,6-6V493a18,18,0,0,0-18-18H948a18,18,0,0,0-18,18v72a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18V553a6,6,0,0,0-12,0v12a6,6,0,0,1-6,6H948a6,6,0,0,1-6-6V493a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v36A6,6,0,0,0,1032,535Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M902.57,475.25h-72a18,18,0,0,0-18,18v12a6,6,0,1,0,12,0v-12a6,6,0,0,1,6-6h72a6,6,0,0,1,6,6v72a6,6,0,0,1-6,6h-72a6,6,0,0,1-6-6v-36a6,6,0,0,0-12,0v36a18,18,0,0,0,18,18h72a18,18,0,0,0,18-18v-72A18,18,0,0,0,902.57,475.25Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M893.7,406.66l-36-18A6,6,0,0,0,849,394v36a6,6,0,0,0,6,6,5.92,5.92,0,0,0,2.7-.66l36-18a6,6,0,0,0,0-10.68ZM861,420.28V403.72L877.56,412Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M846.34,362.11a54,54,0,1,0,58.84,11.71A54,54,0,0,0,846.34,362.11ZM896.7,441.7a42,42,0,1,1,9.1-45.77A42,42,0,0,1,896.7,441.7Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M859.91,504.71v4.5c0,3.24-2.14,5.7-6.59,5.7h-2.13v9.36h7.52v15c0,7,5.38,11.26,14.19,11.26a18.45,18.45,0,0,0,6.75-1v-8.87a19.38,19.38,0,0,1-3.42.35c-2.82,0-4.7-.77-4.7-3.66V524.27h8.29v-9.36h-8.29v-10.2Z",transform:"translate(-812.57 -357.69)"}),Object(s.createElement)(a.Path,{d:"M994.39,395.08a17.74,17.74,0,0,1,3.85.35v-8.72a18.83,18.83,0,0,0-6.16-.78c-10.34,0-16.23,5.49-16.23,13.52v3h-6.76v9h6.76v26h13v-26h9.23v-9h-9.23V399.8C988.84,395.93,992.08,395.08,994.39,395.08Z",transform:"translate(-812.57 -357.69)"})),l=o(4),p=o.n(l),u=o(10),d=o.n(u),h=o(5),m=o.n(h),g=o(2),b=o(8),f=o(1),v=o(11),w=o(12),y=o(18),I=o.n(y);const{icons:O}=wpzSocialIconsBlock;var k=class{static filterIcons(e){const t={};return""===e?O:(Object(i.forEach)(O,(o,n)=>{t[n]=o.filter(t=>Object(i.isObject)(t)?t.icon.indexOf(e)>-1:t.indexOf(e)>-1)}),t)}static filterUrlScheme(e){const t={mailto:"mail",viber:"viber",skype:"skype",tg:"tg",tel:"mobile",sms:"comments",fax:"fax",news:"newspaper-o",feed:"rss"},o={"feedburner.google.com":"rss","ok.ru":"odnoklassniki","yt.com":"youtube","fb.com":"facebook","t.me":"telegram","wa.me":"whatsapp","zen.yandex.com":"zen-yandex","zen.yandex.ru":"zen-yandex"},n=new d.a(e);let r=void 0!==n.domain()?n.domain().split(".").shift():n.scheme();const s=Object(i.findKey)(t,(e,t)=>t===n.scheme());r=void 0!==s?t[s]:r;const a=Object(i.findKey)(o,(e,t)=>t===n.hostname());return void 0!==a?o[a]:r}static hyphensToSpaces(e){return e.replace(/-/g," ")}static capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}static humanizeIconLabel(e){return this.hyphensToSpaces(this.capitalize(e))}static getBlockStyle(e){const t=/is-style-(\S*)/g.exec(e);return null!==t?t[1]:null}static getIconClassList(e,t){const o={"social-icon":!0};return o[e]=!0,["fab","fas","far"].includes(e)?o["fa-"+t]=!0:o[e+"-"+t]=!0,o}static addPercentagePipe(e){return e+"%"}static addPercentageHalfPipe(e){return`${.5*e}%/${e}%`}static addPixelsPipe(e){return e+"px"}static arrayMoveMutate(e,t,o){e.splice(o<0?e.length+o:o,0,e.splice(t,1)[0])}static arrayMove(e,t,o){return e=e.slice(),this.arrayMoveMutate(e,t,o),e}static getActiveStyle(e,t){for(const o of new I.a(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=Object(i.find)(e,{name:t});if(n)return n}return Object(i.find)(e,["isDefault",!0])}};class A extends s.Component{constructor(...e){super(...e),p()(this,"state",{color:this.props.color,showColorPicker:!1}),p()(this,"onClickColorIndicatorHandler",()=>{this.setState({showColorPicker:!0})}),p()(this,"setColorPickerHandler",e=>{this.setState({color:e.hex},()=>{this.props.save(this.state)})}),p()(this,"focusOutsideHandler",()=>{this.setState({showColorPicker:!1})})}render(){return Object(s.createElement)(f.ColorIndicator,{title:this.props.title,className:this.props.className,colorValue:this.state.color,onClick:this.onClickColorIndicatorHandler},this.state.showColorPicker&&Object(s.createElement)(f.Popover,{position:"middle right",onFocusOutside:this.focusOutsideHandler},Object(s.createElement)("div",{className:"popover-content"},Object(s.createElement)(f.ColorPicker,{className:"wpzoom-color-picker",disableAlpha:!0,color:this.state.color,onChangeComplete:this.setColorPickerHandler}))))}}var j=A;class C extends s.Component{constructor(...e){super(...e),p()(this,"state",{isHover:!1}),p()(this,"onMouseEnterCallback",()=>{this.setState({isHover:!0})}),p()(this,"onMouseLeaveCallback",()=>{this.setState({isHover:!1})})}render(){return Object(s.createElement)("span",{ref:this.props.setRef,onClick:()=>this.props.click(this.props.icon),className:m()(k.getIconClassList(this.props.iconKit,this.props.icon),{selected:this.props.isSelected}),style:{backgroundColor:this.state.isHover?this.props.hoverColor:this.props.color},onMouseEnter:this.onMouseEnterCallback,onMouseLeave:this.onMouseLeaveCallback})}}var E=C,z=o(19),S=o.n(z);const{iconKitsCategories:x}=wpzSocialIconsBlock;class _ extends s.Component{constructor(e){super(e),p()(this,"state",{modalShow:this.props.show,modalUrl:this.props.url,modalLabel:this.props.label,modalIcon:this.props.icon,modalIconKit:this.props.iconKit,modalColor:this.props.color,modalHoverColor:this.props.hoverColor,modalSearch:""}),p()(this,"urlTextControlHandler",e=>{const t={modalUrl:e=Object(i.isEmpty)(new d.a(e).protocol())?"https://"+e:e},o=k.filterUrlScheme(e);if(o){const e=k.filterIcons(o);e[this.state.modalIconKit].length&&(t.modalIcon=e[this.state.modalIconKit][0].icon)}this.setState(t)}),p()(this,"labelTextControlHandler",e=>{this.setState({modalLabel:e})}),p()(this,"searchTextControlHandler",e=>{this.setState({modalSearch:e})}),p()(this,"saveColorPickerHandler",e=>{this.setState({modalColor:e.color})}),p()(this,"saveHoverColorPickerHandler",e=>{this.setState({modalHoverColor:e.color})}),p()(this,"onClickIconHandler",e=>{this.setState({modalIcon:e,modalLabel:k.humanizeIconLabel(e)})}),p()(this,"scrollMe",()=>{const e=this.myRef.current;null!==e&&e.scrollIntoView(!0)}),this.myRef=S.a.createRef(),this.scrollMeDebounced=Object(i.debounce)(this.scrollMe,1e3)}static getDerivedStateFromProps(e,t){return e.show!==t.modalShow?{modalShow:e.show,modalUrl:e.url,modalLabel:e.label,modalIcon:e.icon,modalIconKit:e.iconKit,modalColor:e.color,modalHoverColor:e.hoverColor,modalSearch:""}:null}componentDidUpdate(){this.scrollMeDebounced()}render(){if(!this.state.modalShow)return null;const e=Object.keys(k.filterIcons(this.state.modalSearch)).map((e,t)=>Object(s.createElement)("div",{key:t,className:m()("option-item","icon-kit",e+"-wrapper"),style:{display:this.state.modalIconKit===e?"block":"none"}},k.filterIcons(this.state.modalSearch)[e].map((t,o)=>Object(s.createElement)(E,{key:o,setRef:this.state.modalIcon===t.icon&&this.state.modalIconKit===e?this.myRef:null,color:this.state.modalColor,hoverColor:this.state.modalHoverColor,icon:t.icon,click:this.onClickIconHandler,isSelected:this.state.modalIcon===t.icon,iconKit:e}))));return Object(s.createElement)(f.Modal,{className:m()("wpzoom-social-icons-modal",this.props.className),style:{"--wpz-social-icons-block-modal-item-border-radius":k.addPixelsPipe(this.props.iconsBorderRadius)},title:Object(g.__)("Select Icon","social-icons-widget-by-wpzoom"),shouldCloseOnClickOutside:!1,onRequestClose:()=>this.props.onClose(this.state)},Object(s.createElement)("div",{className:"modal-content"},Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("URL","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.TextControl,{value:this.state.modalUrl,onChange:this.urlTextControlHandler}))),this.props.showIconsLabel?Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Label","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.TextControl,{value:this.state.modalLabel,onChange:this.labelTextControlHandler}))):null,Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Pick icon color","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(j,{save:this.saveColorPickerHandler,color:this.state.modalColor}))),Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Pick hover color","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(j,{save:this.saveHoverColorPickerHandler,color:this.state.modalHoverColor}))),Object(s.createElement)("div",{className:"option-item"},Object(s.createElement)("div",{className:"label"},Object(g.__)("Select Icon Kit","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:"option-wrapper"},Object(s.createElement)(f.SelectControl,{value:this.state.modalIconKit,onChange:e=>{this.setState({modalIconKit:e})},options:Object.values(x)}))),Object(s.createElement)("div",{className:"option-item icon-kits-wrapper"},e)),Object(s.createElement)("div",{className:"modal-controls"},Object(s.createElement)("div",{className:"modal-search"},Object(s.createElement)(f.TextControl,{placeholder:Object(g.__)("Type to search icon","social-icons-widget-by-wpzoom"),value:this.state.modalSearch,onChange:this.searchTextControlHandler})),Object(s.createElement)("div",{className:"modal-buttons"},this.props.showDeleteBtn&&Object(s.createElement)(f.Button,{className:"button-link-delete is-button",onClick:()=>this.props.delete()},Object(g.__)("Delete Icon","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.Button,{isPrimary:!0,onClick:()=>this.props.save(this.state)},Object(g.__)("Save","social-icons-widget-by-wpzoom")))))}}var P=_;class B extends s.Component{constructor(e){super(...arguments),p()(this,"state",{selectedIcons:JSON.parse(JSON.stringify(this.props.attributes.selectedIcons))}),p()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})})}static getDerivedStateFromProps(e,t){return t.selectedIcons.length!==e.attributes.selectedIcons.length?{selectedIcons:JSON.parse(JSON.stringify(e.attributes.selectedIcons))}:null}getBlockStyle(e){const t=k.getBlockStyle(e);return null===t?"with-canvas-round":t}render(){const e=[{name:Object(g.__)("Turquoise","social-icons-widget-by-wpzoom"),color:"#4ECDC4"},{name:Object(g.__)("Charcoal","social-icons-widget-by-wpzoom"),color:"#2E3131"},{name:Object(g.__)("White","social-icons-widget-by-wpzoom"),color:"#fff"},{name:Object(g.__)("Dodger blue","social-icons-widget-by-wpzoom"),color:"#22A7F0"},{name:Object(g.__)("Red","social-icons-widget-by-wpzoom"),color:"#D91E18"},{name:Object(g.__)("Orange","social-icons-widget-by-wpzoom"),color:"#F89406"}],{setAttributes:t}=this.props,o="left"===this.props.attributes.iconsAlignment,n="center"===this.props.attributes.iconsAlignment,r="right"===this.props.attributes.iconsAlignment;return Object(s.createElement)(v.InspectorControls,null,Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Labels Settings","social-icons-widget-by-wpzoom")},Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"show-icon-labels"},Object(g.__)(" Show icon labels?","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"show-icon-labels",label:Object(g.__)(" Show icon labels?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.showIconsLabel,onChange:()=>{t({showIconsLabel:!this.props.attributes.showIconsLabel})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"open-link-in-new-tab"},Object(g.__)("Open links in new tab?","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"open-link-in-new-tab",label:Object(g.__)("Open links in new tab?","social-icons-widget-by-wpzoom"),checked:this.props.attributes.openLinkInNewTab,onChange:()=>{t({openLinkInNewTab:!this.props.attributes.openLinkInNewTab})}})),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-nofollow-to-links"},Object(g.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-nofollow-to-links",label:Object(g.__)('Add rel="nofollow" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.nofollow,onChange:()=>{t({nofollow:!this.props.attributes.nofollow})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noreferrer-to-links"},Object(g.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-noreferrer-to-links",label:Object(g.__)('Add rel="noreferrer" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noreferrer,onChange:()=>{t({noreferrer:!this.props.attributes.noreferrer})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(g.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(g.__)('Add rel="noopener" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.noopener,onChange:()=>{t({noopener:!this.props.attributes.noopener})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(g.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom")),Object(s.createElement)(f.FormToggle,{id:"add-noopener-to-links",label:Object(g.__)('Add rel="me" to links',"social-icons-widget-by-wpzoom"),checked:this.props.attributes.relme,onChange:()=>{t({relme:!this.props.attributes.relme})}})))),Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Styling Settings","social-icons-widget-by-wpzoom")},this.props.attributes.iconsHasBorder?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-border-radius"},Object(g.__)("Icons Border Radius:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-border-radius",min:0,max:55,value:this.props.attributes.iconsBorderRadius,onChange:e=>{t({iconsBorderRadius:e})}}))):null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"add-noopener-to-links"},Object(g.__)("Icons Alignment:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ButtonGroup,null,Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("left"),isPrimary:o,isSecondary:!o},"Left"),Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("center"),isPrimary:n,isSecondary:!n},"Center"),Object(s.createElement)(f.Button,{onClick:()=>this.setAlignment("right"),isPrimary:r,isSecondary:!r},"Right"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-font-size"},Object(g.__)("Icons Font Size:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-font-size",min:0,max:200,value:this.props.attributes.iconsFontSize,onChange:e=>{t({iconsFontSize:e})}})),this.props.attributes.showIconsLabel?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-label-font-size"},Object(g.__)("Icons Label Font Size:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-label-font-size",min:0,max:200,value:this.props.attributes.iconsLabelFontSize,onChange:e=>{t({iconsLabelFontSize:e})}}))):null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-padding"},Object(g.__)("Icons Padding Horizontal:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-padding-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsPaddingHorizontal,onChange:e=>t({iconsPaddingHorizontal:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-padding"},Object(g.__)("Icons Padding Vertical:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-padding-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsPaddingVertical,onChange:e=>t({iconsPaddingVertical:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-margin-horizontal"},Object(g.__)("Icons Margin Horizontal:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-margin-horizontal",beforeIcon:"image-flip-horizontal",value:this.props.attributes.iconsMarginHorizontal,onChange:e=>t({iconsMarginHorizontal:e}),min:0,max:200})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icons-margin-vertical"},Object(g.__)("Icons Margin Vertical:","social-icons-widget-by-wpzoom"))),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.RangeControl,{id:"icons-margin-vertical",beforeIcon:"image-flip-vertical",value:this.props.attributes.iconsMarginVertical,onChange:e=>t({iconsMarginVertical:e}),min:0,max:200}))),Object(s.createElement)(f.PanelBody,{title:Object(g.__)("Icon Color Settings","social-icons-widget-by-wpzoom")},Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-color"},Object(g.__)("Set color for all icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-color",colors:e,value:this.props.attributes.iconsColor,onChange:e=>{const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.map((t,o)=>(t.color=void 0===e?this.state.selectedIcons[o].color:e,t)),t({iconsColor:e,selectedIcons:o})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-hover-color"},Object(g.__)("Set hover color for all icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsHoverColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-hover-color",colors:e,value:this.props.attributes.iconsHoverColor,onChange:e=>{const o=[...this.props.attributes.selectedIcons];o.map((t,o)=>(t.hoverColor=void 0===e?this.state.selectedIcons[o].hoverColor:e,t)),t({iconsHoverColor:e,selectedIcons:o})}})),this.props.attributes.showIconsLabel?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-label-color"},Object(g.__)("Set color for all label icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-label-color",colors:e,value:this.props.attributes.iconsLabelColor,onChange:e=>{t({iconsLabelColor:e})}})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)("label",{htmlFor:"icon-hover-label-color"},Object(g.__)("Set hover color for all label icons","social-icons-widget-by-wpzoom")),Object(s.createElement)(f.ColorIndicator,{colorValue:this.props.attributes.iconsLabelHoverColor})),Object(s.createElement)(f.PanelRow,null,Object(s.createElement)(f.ColorPalette,{id:"icon-hover-label-color",colors:e,value:this.props.attributes.iconsLabelHoverColor,onChange:e=>{t({iconsLabelHoverColor:e})}}))):null))}}function F({value:e,save:t}){const[o,n]=Object(s.useState)(e);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(f.TextControl,{className:"url-input",type:"text",value:o,onChange:n,onKeyDown:e=>{e.stopPropagation(),"Enter"===e.key&&t(o)},onFocus:e=>e.target.select()}),Object(s.createElement)(f.Button,{icon:"editor-break",label:Object(g.__)("Apply","social-icons-widget-by-wpzoom"),onClick:e=>{e.stopPropagation(),t(o)},className:["is-button","button-small","is-default","url-button"]}))}var Q=e=>e.isActive&&Object(s.createElement)(f.ButtonGroup,{className:m()("sortable-arrows")},Object(s.createElement)(f.Button,{className:m()("arrow-btn"),isSmall:!0,disabled:0===e.itemKey,onClick:t=>e.left(t,e.itemKey)},Object(s.createElement)(f.Icon,{icon:"arrow-left-alt2",label:"Move Left",size:14,className:m()("arrow-icon")})),Object(s.createElement)(f.Button,{className:m()("arrow-btn"),isSmall:!0,disabled:e.itemKey===e.length-1,onClick:t=>e.right(t,e.itemKey)},Object(s.createElement)(f.Icon,{icon:"arrow-right-alt2",label:"Move Right",size:14,className:m()("arrow-icon")})));class R extends s.Component{constructor(...e){super(...e),p()(this,"closeModal",()=>{this.props.setAttributes({showModal:!1})}),p()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),p()(this,"setAlignment",e=>{this.props.setAttributes({iconsAlignment:e})}),p()(this,"saveModalHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),o=t[this.props.attributes.activeIconIndex],n={url:e.modalUrl,label:e.modalLabel,icon:e.modalIcon,iconKit:e.modalIconKit,color:e.modalColor,hoverColor:e.modalHoverColor};t[this.props.attributes.activeIconIndex]={...o,...n},this.props.setAttributes({selectedIcons:t,showModal:!1})}),p()(this,"insertIcon",e=>{if(e.preventDefault(),e.stopPropagation(),0===e.detail)return;const t=this.getStyleVariations(k.getBlockStyle(this.props.className)),o={url:"https://wordpress.org",icon:"wordpress",iconKit:"socicon",color:"#444140",hoverColor:"#444140",label:"WordPress",showPopover:!0,isActive:!0};Object(i.isEmpty)(t.defaultIcon.color)||(o.color=t.defaultIcon.color),Object(i.isEmpty)(t.defaultIcon.hoverColor)||(o.hoverColor=t.defaultIcon.hoverColor);const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1);const r=n.push(o);this.props.setAttributes({selectedIcons:n,activeIconIndex:r-1})}),p()(this,"onClickIconHandler",(e,t,o)=>{e.preventDefault();const n=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));n.map(e=>e.isActive=!1),n[t].showPopover=!0,n[t].isActive=!0,this.props.setAttributes({activeIconIndex:t,selectedIcons:n})}),p()(this,"popoverCloseHandler",e=>{const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));t[e].showPopover=!1,this.props.setAttributes({selectedIcons:t})}),p()(this,"deleteIconHandler",()=>{const e=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));e.splice(this.props.attributes.activeIconIndex,1),this.props.setAttributes({selectedIcons:e,showModal:!1,activeIconIndex:0})}),p()(this,"popoverDeleteIconHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o.splice(t,1),this.props.setAttributes({selectedIcons:o,activeIconIndex:0})}),p()(this,"popoverEditSettingsHandler",(e,t)=>{e.stopPropagation();const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o[t].showPopover=!1,this.props.setAttributes({showModal:!0,selectedIcons:o})}),p()(this,"popoverSearchHandler",(e,t)=>{t=Object(i.isEmpty)(new d.a(t).protocol())?"https://"+t:t;const o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons)),n=k.filterUrlScheme(t);if(n){const t=k.filterIcons(n);Object(i.map)(t,(t,r)=>{Object(i.isEmpty)(t)||Object(i.filter)(t,(function(t){t.icon===n&&o[e].icon!==t.icon&&(o[e].iconKit=r,o[e].icon=t.icon,t.color&&(o[e].color=t.color,o[e].hoverColor=t.color),o[e].label=k.humanizeIconLabel(n))}))})}o[e].url=t,o[e].showPopover=!1,this.props.setAttributes({selectedIcons:o})}),p()(this,"moveLeftHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t-1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t-1})}),p()(this,"moveRightHandler",(e,t)=>{let o=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));o=k.arrayMove(o,t,t+1),this.props.setAttributes({selectedIcons:o,activeIconIndex:t+1})}),p()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),e})}getStyleVariations(e){const t={"with-label-canvas-rounded":{canvasType:"with-label-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:"#fff",iconsHoverColor:null,iconsLabelHoverColor:"#fff",iconsFontSize:18,iconsLabelFontSize:15,iconsPaddingHorizontal:5,iconsPaddingVertical:5,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"with-canvas-rounded":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:5,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-round":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:50,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"with-canvas-squared":{canvasType:"with-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsBorderRadius:0,iconsHasBorder:!0,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:"#2e3131",iconsHoverColor:null,iconsLabelHoverColor:"#2e3131",iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},selectedIcons:[{icon:"facebook",color:"#1877F2",hoverColor:"#1877F2"},{icon:"twitter",color:"#1da1f2",hoverColor:"#1da1f2"},{icon:"instagram",color:"#E4405F",hoverColor:"#E4405F"}]},"without-canvas-with-border":{canvasType:"without-canvas",showIconsLabel:!1,iconsColor:null,iconsLabelColor:null,iconsHoverColor:null,iconsLabelHoverColor:null,iconsFontSize:18,iconsLabelFontSize:16,iconsPaddingHorizontal:6,iconsPaddingVertical:6,iconsMarginHorizontal:5,iconsMarginVertical:5,iconsHasBorder:!0,iconsBorderRadius:0,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}},"without-canvas-with-label":{canvasType:"without-canvas",showIconsLabel:!0,iconsColor:null,iconsLabelColor:null,iconsHoverColor:null,iconsLabelHoverColor:null,iconsFontSize:40,iconsLabelFontSize:15,iconsPaddingHorizontal:10,iconsPaddingVertical:10,iconsMarginHorizontal:0,iconsMarginVertical:0,iconsHasBorder:!1,wasStyled:!0,defaultIcon:{icon:"facebook",color:null,hoverColor:null}}};return Object(i.get)(t,e,!1)?Object(i.get)(t,e,!1):Object(i.get)(t,this.getActiveStyle())}getActiveStyle(){const{blockStyles:e}=this.props,t=k.getActiveStyle(e,this.props.className);return t&&t.name||""}componentDidUpdate(e,t){if(k.getBlockStyle(e.className)!==k.getBlockStyle(this.props.className)){const e=this.getStyleVariations(this.getActiveStyle());if(!Object(i.isEmpty)(e)){this.props.setAttributes(Object(i.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(i.isEmpty)(e.selectedIcons)||t.map(t=>(Object(i.isEmpty)(t.color)&&(t.color=e.defaultIcon.color),Object(i.isEmpty)(t.hoverColor)&&(t.hoverColor=e.defaultIcon.hoverColor),t)),Object(i.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(i.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}}componentDidMount(){if(!0===this.props.attributes.wasStyled)return;const e=this.getStyleVariations(this.getActiveStyle());if(!Object(i.isEmpty)(e)){e.wasStyled=!0,this.props.setAttributes(Object(i.omit)(e,["selectedIcons"]));const t=JSON.parse(JSON.stringify(this.props.attributes.selectedIcons));Object(i.isEmpty)(e.selectedIcons)||t.map(t=>{const o=Object(i.find)(e.selectedIcons,["icon",t.icon]);return t.color=Object(i.isEmpty)(o)?e.defaultIcon.color:o.color,t.hoverColor=Object(i.isEmpty)(o)?e.defaultIcon.hoverColor:o.hoverColor,t}),Object(i.isEmpty)(e.iconsColor)||t.map(t=>(t.color=e.iconsColor,t)),Object(i.isEmpty)(e.iconsHoverColor)||t.map(t=>(t.hoverColor=e.iconsHoverColor,t)),this.props.setAttributes({selectedIcons:t})}}render(){const{attributes:e,setAttributes:t,isSelected:o}=this.props;let{className:n}=this.props;null===k.getBlockStyle(n)&&(n=m()(n,"is-style-with-canvas-round")),e.showIconsLabel&&(n=m()(n,"show-icon-labels-style"));const r=e.selectedIcons.map((n,r)=>{const i=e.showIconsLabel?Object(s.createElement)("span",{className:m()("icon-label")},n.label):"",a=this.getRelAttr();return Object(s.createElement)(s.Fragment,{key:r},Object(s.createElement)("a",{onClick:e=>this.onClickIconHandler(e,r,n),href:n.url,className:m()("social-icon-link",{selected:n.isActive}),target:e.openLinkInNewTab?"_blank":void 0,rel:a.length?a.join(" "):void 0,title:n.label,style:{"--wpz-social-icons-block-item-color":n.color,"--wpz-social-icons-block-item-color-hover":n.hoverColor}},Object(s.createElement)("span",{className:m()(k.getIconClassList(n.iconKit,n.icon))}),i,n.showPopover&&o&&Object(s.createElement)(f.Popover,{className:m()("wpzoom-social-icons-popover"),key:r,position:"bottom center",onClose:()=>this.popoverCloseHandler(r)},Object(s.createElement)("div",{className:m()("popover-content")},Object(s.createElement)("div",{className:m()("popover-url-wrapper")},Object(s.createElement)(F,{key:r,value:n.url,save:e=>this.popoverSearchHandler(r,e)})),Object(s.createElement)("div",{className:m()("popover-controls")},Object(s.createElement)(f.Button,{isLink:!0,onClick:e=>this.popoverEditSettingsHandler(e,r)},Object(g.__)("Edit Details","social-icons-widget-by-wpzoom")),Object(s.createElement)("div",{className:m()("popover-color-picker-wrapper")},Object(s.createElement)(j,{title:"Color",className:m()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].color=o.color,t({selectedIcons:n})},color:n.color}),Object(s.createElement)(j,{title:"Hover Color",className:m()("popover-color-picker"),save:o=>{const n=[...e.selectedIcons];n[e.activeIconIndex].hoverColor=o.color,t({selectedIcons:n})},color:n.hoverColor}),e.selectedIcons.length>1&&Object(s.createElement)(f.Button,{onClick:e=>this.popoverDeleteIconHandler(e,r),className:["is-button","button-link-delete","is-small"]},Object(g.__)("Delete Icon","social-icons-widget-by-wpzoom"))))))),Object(s.createElement)(Q,{left:this.moveLeftHandler,right:this.moveRightHandler,length:e.selectedIcons.length,isActive:n.isActive&&o,itemKey:r}))});return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(B,this.props),Object(s.createElement)(v.BlockControls,null,Object(s.createElement)(v.AlignmentToolbar,{value:e.iconsAlignment,onChange:e=>this.setAlignment(e)})),Object(s.createElement)("div",{className:n,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},r,o&&Object(s.createElement)(f.Button,{type:"button",onClick:this.insertIcon,style:{padding:e.iconsPadding},className:"insert-icon"},Object(s.createElement)(f.Icon,{icon:"insert",size:"20"})),e.selectedIcons[e.activeIconIndex]&&Object(s.createElement)(P,{className:m()(k.getBlockStyle(n)),showIconsLabel:e.showIconsLabel,iconsBorderRadius:e.iconsBorderRadius,show:e.showModal,url:e.selectedIcons[e.activeIconIndex].url,label:e.selectedIcons[e.activeIconIndex].label,icon:e.selectedIcons[e.activeIconIndex].icon,iconKit:e.selectedIcons[e.activeIconIndex].iconKit,color:e.selectedIcons[e.activeIconIndex].color,hoverColor:e.selectedIcons[e.activeIconIndex].hoverColor,save:this.saveModalHandler,delete:this.deleteIconHandler,showDeleteBtn:e.selectedIcons.length>1,onClose:this.closeModal})))}}const H=Object(b.withSelect)((e,t)=>{const{getBlockStyles:o}=e("core/blocks");return{blockStyles:o(t.name)}});var N=Object(w.compose)(H)(R);class L extends s.Component{constructor(e){super(...arguments),p()(this,"getIconsAlignmentStyle",e=>({left:"flex-start",right:"flex-end",center:"center"}[e])),p()(this,"getRelAttr",()=>{let e=[];return this.props.attributes.nofollow&&e.push("nofollow"),this.props.attributes.noreferrer&&e.push("noreferrer"),this.props.attributes.noopener&&e.push("noopener"),this.props.attributes.relme&&e.push("me"),e})}render(){const{attributes:e}=this.props;let{className:t}=e;null==k.getBlockStyle(t)&&(t=m()(t,"is-style-with-canvas-round")),e.showIconsLabel&&(t=m()(t,"show-icon-labels-style"));const o=e.selectedIcons.map((t,o)=>{const n=e.showIconsLabel?Object(s.createElement)("span",{className:m()("icon-label")},t.label):"",r=this.getRelAttr();return Object(s.createElement)("a",{key:o,href:t.url,className:"social-icon-link",title:t.label,target:e.openLinkInNewTab?"_blank":void 0,rel:r.length?r.join(" "):void 0,style:{"--wpz-social-icons-block-item-color":t.color,"--wpz-social-icons-block-item-color-hover":t.hoverColor}},Object(s.createElement)("span",{className:m()(k.getIconClassList(t.iconKit,t.icon))}),n)});return Object(s.createElement)("div",{className:t,style:{"--wpz-social-icons-block-item-font-size":k.addPixelsPipe(e.iconsFontSize),"--wpz-social-icons-block-item-padding-horizontal":k.addPixelsPipe(e.iconsPaddingHorizontal),"--wpz-social-icons-block-item-padding-vertical":k.addPixelsPipe(e.iconsPaddingVertical),"--wpz-social-icons-block-item-margin-horizontal":k.addPixelsPipe(e.iconsMarginHorizontal),"--wpz-social-icons-block-item-margin-vertical":k.addPixelsPipe(e.iconsMarginVertical),"--wpz-social-icons-block-item-border-radius":k.addPixelsPipe(e.iconsBorderRadius),"--wpz-social-icons-block-label-font-size":k.addPixelsPipe(e.iconsLabelFontSize),"--wpz-social-icons-block-label-color":e.iconsLabelColor,"--wpz-social-icons-block-label-color-hover":e.iconsLabelHoverColor,"--wpz-social-icons-alignment":this.getIconsAlignmentStyle(e.iconsAlignment)}},o)}}var U=L,M=o(6),V=o(9),T=o(13),K=o(20);const D={},X=({replacementData:e,isConvertRun:t})=>{const[o,n]=Object(s.useState)(!1);return t&&!o?(function(e){return new Promise((function(t){let o=0;Object(i.map)(e,n=>{const{clientId:r,attributes:a}=n,{title:c,description:l,iconsAlignment:p}=a,{rootClientId:u}=Object(b.useSelect)(e=>({rootClientId:e("core/block-editor").getBlockRootClientId(r)})),d=[Object(M.createBlock)("core/heading",{content:c,level:3,placeholder:Object(g.__)("Title","social-icons-widget-by-wpzoom"),className:"zoom-social-icons-legacy-widget-title widget-title title heading-size-3"}),Object(M.createBlock)("core/paragraph",{content:l,placeholder:Object(g.__)("Text above icons","social-icons-widget-by-wpzoom"),className:m()("zoom-social-icons-legacy-widget-description",{["zoom-social-icons-list--align-"+p]:void 0!==p&&"none"!==p})}),Object(M.createBlock)("wpzoom-blocks/social-icons",a)],[h]=function({rootClientId:e="",insertionIndex:t,clientId:o,shouldFocusBlock:n=!0}){const{sidebar:r,destinationRootClientId:a,destinationIndex:c}=Object(b.useSelect)(n=>{const{getBlockIndex:r,getBlockOrder:s,getBlock:i}=n("core/block-editor"),a=e;let c;return c=void 0!==t?t:o?r(o,a):""!==a?r(e):s(a).length,{sidebar:i(a),destinationRootClientId:a,destinationIndex:c}},[e,t,o]),{replaceBlock:l}=Object(b.useDispatch)("core/block-editor");return[Object(s.useCallback)((e,t,s=!1)=>{const{attributes:{name:a}}=r;l(o,e,c,n||s?0:null,t);const p=Object(g.sprintf)(// translators: %d: the name of the block that has been added %s: sidebar name.
2
  Object(g._n)("%1$d group block added in the sidebar: %2$s.","%1$d group blocks added in the sidebar: %2$s.",Object(i.castArray)(e).length),Object(i.castArray)(e).length,a);Object(K.speak)(p)},[l,r,o,a,c,n]),c]}({rootClientId:u,clientId:r});if(h(Object(M.createBlock)("core/group",{tagName:"div",className:"zoom-social-icons-widget zoom-social-icons-legacy-widget-group",layout:{inherit:!0}},d)),o++,Object(i.size)(e)===o){const e=Object(g.sprintf)(// translators: %d: the number of the block that has been converted
3
+ Object(g._n)('%d legacy widget "Social Icons" successfully converted to block','%d legacy widgets "Social Icons" successfully converted to block',o,"social-icons-widget-by-wpzoom"),o);t(e)}})}))}(e).then(e=>{n(!0),Object(V.doAction)("converter.isConvertDone",{message:e})}),null):Object(s.createElement)(f.Placeholder,null,Object(s.createElement)(f.Spinner,null))};var W=Object(s.memo)(({clientId:e,attributes:t,widgetId:o})=>{const[n,r]=Object(s.useState)(!1),{createInfoNotice:i,createWarningNotice:a,createSuccessNotice:c}=Object(b.useDispatch)("core/notices");D[o]={},D[o].clientId=e,D[o].attributes=t;const l=Object(g.__)('Legacy Social Icons Widget has been detected on this page. Since our plugin includes a Social Icons Block, supported by WordPress 5.8, we highly recommend transforming legacy widgets to blocks. You can do that by clicking on the "Convert to block" button. You can also disable the new block-based widget screen by installing the Classic Widgets plugin.',"social-icons-widget-by-wpzoom");return Object(s.useEffect)(()=>{a(l,{id:"wpzoom-social-icons-notice",isDismissible:!0,actions:[{url:Object(T.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),label:Object(g.__)("Manage in Customizer","social-icons-widget-by-wpzoom")},{url:Object(T.addQueryArgs)("plugin-install.php",{s:"classic%20widgets",tab:"search",type:"term"}),label:"Install Classic Widgets"},{label:Object(g.__)("Convert to block","social-icons-widget-by-wpzoom"),onClick:()=>r(!n)}]})},[a,n]),Object(s.useEffect)(()=>{n&&i(Object(g.__)("Converting process is starting. Please wait…","social-icons-widget-by-wpzoom"),{type:"snackbar",id:"wpzoom-social-icons-notice"})},[n,i]),Object(V.addAction)("converter.isConvertDone","wpzoom-blocks/social-icons/convert-legacy-widget",({message:e})=>{c(e,{type:"snackbar",id:"wpzoom-social-icons-notice"})}),e&&n?Object(s.createElement)(s.Fragment,null,Object(s.createElement)(X,{replacementData:D,isConvertRun:n})):null}),Z=function(e){const t=Object(M.getBlockTypes)().filter(e=>-1!==e.name.indexOf("wpzoom-blocks/social-icons"))[0],{attributes:o}=t,n=Object(i.mapValues)(o,e=>e.default),r={wasStyled:!0,canvasType:e.icon_style,showIconsLabel:"true"===e.show_icon_labels,openLinkInNewTab:"true"===e.open_new_tab,nofollow:"true"===e.no_follow,noreferrer:"true"===e.no_referrer,noopener:"true"===e.no_opener,iconsAlignment:e.icon_alignment,iconsColor:e.global_color_picker,iconsHoverColor:e.global_color_picker_hover,iconsLabelHoverColor:"inherit",iconsFontSize:e.icon_font_size,iconsPaddingVertical:e.icon_padding_size,iconsPaddingHorizontal:e.icon_padding_size,iconsBackgroundStyle:e.icon_canvas_style||"round",selectedIcons:e.fields.map(e=>function(e){return{url:e.url,icon:e.icon,iconKit:e.icon_kit,color:e.color_picker,hoverColor:e.color_picker_hover,label:e.label,showPopover:!1,isActive:!1}}(e)),title:e.title,description:e.description},s=Object(i.assign)(n,r);"rounded"===s.iconsBackgroundStyle?s.iconsBorderRadius=3:"round"===s.iconsBackgroundStyle?s.iconsBorderRadius=50:s.iconsBorderRadius=0,"without-canvas"===s.canvasType?s.className="is-style-"+s.canvasType:"with-canvas"===s.canvasType&&(s.className="is-style-with-canvas-round");const a=[{name:"without-canvas",label:"Color Icon / No Background",isDefault:"without-canvas"===s.canvasType},{name:"with-canvas-round",label:"Color Background / Round White Icon",isDefault:"with-canvas"===s.canvasType}];for(let e=0;e<a.length;e++){const t=a[e];Object(M.unregisterBlockStyle)("wpzoom-blocks/social-icons",t.name),Object(M.registerBlockStyle)("wpzoom-blocks/social-icons",t)}return s};const q=document.getElementById("customize-theme-controls"),Y=Object(w.createHigherOrderComponent)(e=>t=>{const{attributes:o,name:n}=t,{id:i,idBase:a,instance:c,__internalWidgetId:l}=o,p=null!=i?i:a;if("core/legacy-widget"===n&&"zoom-social-icons-widget"===p){const{widgetType:o,hasResolvedWidgetType:n}=Object(b.useSelect)(e=>({widgetType:e("core").getWidgetType(p),hasResolvedWidgetType:e("core").hasFinishedResolution("getWidgetType",[p])}),[i,a]),u=Z(c.raw);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(e,t),o&&n&&Object(s.createElement)(W,r()({},t,{attributes:u,widgetId:l})))}return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(e,t))},"withGroupedBlock");Object(V.addFilter)("blocks.registerBlockType","wpzoom-blocks/social-icons/class-names/heading-paragraph-block",(function(e,t){return"core/heading"!==t||"core/paragraph"!==t?e:Object(i.assign)({},e,{supports:Object(i.assign)({},e.supports,{className:!0})})})),Object(V.addFilter)("blocks.getBlockAttributes","wpzoom-blocks/social-icons",(function(e){if(void 0!==e.selectedIcons){const t=[...e.selectedIcons];t.map(e=>(e.isActive=!1,e)),e.selectedIcons=t,e.showModal=!1}return e})),q||Object(V.addFilter)("editor.BlockEdit","wpzoom-blocks/social-icons/wrap-group-blocks",Y),Object(M.registerBlockType)("wpzoom-blocks/social-icons",{title:Object(g.__)("Social Icons Block","social-icons-widget-by-wpzoom"),description:Object(g.__)("Display icons with links to social media platforms.","social-icons-widget-by-wpzoom"),icon:{foreground:"#274474",src:c},example:{attributes:{cover:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAADJCAYAAADbwHxnAAAKz2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU2kWx7/30kNCS4iAlNB77yAl9AAK0kFUQhKSUEJIQcWODI7AiKIigmVEh6rgWAAZCyKKbRCsWAdkUFHGwYINlX3AEmZ2z+6e/Z9zz/vl5n73fved7zvnPgDI6iyRKANWBiBTKBVHBvnS4xMS6bhBAAEYEIA2sGWxJSJGREQYQDTz/Lve30GiEd20msz17///V6lwuBI2AFAEwikcCTsT4eOIfWOLxFIAUAgDg2VS0ST3IUwVIxtEeGSSeVOMnsxDTZlm6lRMdKQfwqYA4EkslpgHAMkR8dNz2DwkDykaYVshRyBEOB9hLzafxUG4E2HLzMysSR5F2DTlL3l4f8uZIs/JYvHkPN3LlPD+Aokog7Xi/3wd/1uZGbKZGsaIkfji4MhphvrSs0LlLExZED7DAs5MPNTHlwXHzDBb4pc4wxyWf6h8bcaCsBlOFQQy5XmkzOgZ5koComZYnBUpr5Uq9mPMMEs8W1eWHiP387lMef5cfnTcDOcIYhfMsCQ9KnQ2xk/uF8si5fvnCoN8Z+sGynvPlPylXwFTvlbKjw6W986a3T9XyJjNKYmX743D9Q+YjYmRx4ukvvJaoowIeTw3I0jul+RE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TsEKBQ2OFILyTgNAEKhdPNy8qRgB0CFAo7HOmFBJwmQKFwunlZORKwQ4BCYYcjvZCA0wQoFE43LytHAnYIUCjscKQXEnCaAIXC6eZl5UjADgEKhR2O9EICThOgUDjdvKwcCdghQKGww5FeSMBpAhQKp5uXlSMBOwQoFHY40gsJOE2AQuF087JyJGCHAIXCDkd6IQGnCVAonG5eVo4E7BCgUNjhSC8k4DQBCoXTzcvKkYAdAhQKOxzphQScJkChcLp5WTkSsEOAQmGHI72QgNMEKBRONy8rRwJ2CFAo7HCkFxJwmgCFwunmZeVIwA4BCoUdjvRCAk4ToFA43bysHAnYIUChsMORXkjAaQIUCqebl5UjATsEKBR2ONILCThNgELhdPOyciRghwCFwg5HeiEBpwlQKJxuXlaOBOwQoFDY4UgvJOA0gf8DAD8xcfX+GGoAAAAASUVORK5CYII=",author:"WPZOOM"}},category:"wpzoom-blocks",keywords:[Object(g.__)("Social Icons","social-icons-widget-by-wpzoom"),Object(g.__)("Dashicons","social-icons-widget-by-wpzoom"),Object(g.__)("Socicons","social-icons-widget-by-wpzoom"),Object(g.__)("Fontawesome","social-icons-widget-by-wpzoom"),Object(g.__)("Academic Icons","social-icons-widget-by-wpzoom")],attributes:{wasStyled:{type:"boolean",default:!1},canvasType:{type:"string",default:"with-canvas"},showIconsLabel:{type:"boolean",default:!1},showModal:{type:"boolean",default:!1},openLinkInNewTab:{type:"boolean",default:!1},nofollow:{type:"boolean",default:!1},noreferrer:{type:"boolean",default:!1},noopener:{type:"boolean",default:!1},relme:{type:"boolean",default:!1},iconsAlignment:{type:"string",default:"left"},iconsColor:{type:"string",default:"#f1f1f1"},iconsLabelColor:{type:"string",default:"inherit"},iconsHoverColor:{type:"string",default:"#f1f1f1"},iconsLabelHoverColor:{type:"string",default:"#f1f1f1"},iconsFontSize:{type:"number",default:20},iconsLabelFontSize:{type:"number",default:20},iconsPaddingVertical:{type:"number",default:10},iconsPaddingHorizontal:{type:"number",default:10},iconsMarginVertical:{type:"number",default:5},iconsMarginHorizontal:{type:"number",default:5},iconsBorderRadius:{type:"number",default:0},iconsBackgroundStyle:{type:"string",default:"round"},iconsHasBorder:{type:"boolean",default:!1},activeIconIndex:{type:"integer",default:0},defaultIcon:{type:"object",default:{icon:"facebook",color:"#f89406",hoverColor:"#f89406"}},selectedIcons:{type:"array",default:[{url:"https://facebook.com",icon:"facebook",iconKit:"socicon",color:"#3b5998",hoverColor:"#3b5998",label:"Facebook",showPopover:!1,isActive:!1},{url:"https://twitter.com",icon:"twitter",iconKit:"socicon",color:"#1da1f2",hoverColor:"#1da1f2",label:"Twitter",showPopover:!1,isActive:!1},{url:"https://instagram.com",icon:"instagram",iconKit:"socicon",color:"#E44060",hoverColor:"#E44060",label:"Instagram",showPopover:!1,isActive:!1}]}},styles:[{name:"with-canvas-round",label:Object(g.__)("Color Background / Round White Icon","social-icons-widget-by-wpzoom"),isDefault:!0},{name:"with-canvas-rounded",label:Object(g.__)("Color Background / Rounded White Icon","social-icons-widget-by-wpzoom")},{name:"with-canvas-squared",label:Object(g.__)("Color Background / Squared White Icon","social-icons-widget-by-wpzoom")},{name:"without-canvas",label:Object(g.__)("Color Icon / No Background","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-border",label:Object(g.__)("Color Icon / No Background with border","social-icons-widget-by-wpzoom")},{name:"with-label-canvas-rounded",label:Object(g.__)("Color Background / Rounded White Icon with label","social-icons-widget-by-wpzoom")},{name:"without-canvas-with-label",label:Object(g.__)("Color Icon / No Background with label","social-icons-widget-by-wpzoom")}],transforms:{from:[{type:"block",blocks:["core/legacy-widget"],transform:({instance:e})=>Object(M.createBlock)("wpzoom-blocks/social-icons",Z(e.raw))}]},edit:N,save:U});var J=Object(s.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 64 1024 1024"},Object(s.createElement)(a.Path,{fill:"#08618a",transform:"scale(1,-1) translate(0,-1024)",d:"M581.456 542.931h-31.41v-102.1c6.669-0.4 12.537-0.867 31.877-0.867 35.745 0 57.085 21.207 57.085 54.018 0 29.009-23.541 48.949-57.552 48.949zM512.033 956.666c-280.958 0-508.699-227.741-508.699-508.699s227.741-508.699 508.699-508.699 508.699 227.741 508.699 508.699-227.807 508.699-508.699 508.699zM450.013 542.931h-32.010l-74.358-240.078h-26.475l-73.957 170.189-74.358-170.189h-26.475l-75.625 240.078h-30.21v40.013h120.039v-40.013h-38.146l44.948-146.448 68.489 159.785h25.208l68.489-159.785 42.014 146.448h-37.612v40.013h120.039v-40.013zM577.721 398.417c-13.004 0-21.007 0-27.676 0.4v-49.283h33.344v-40.013h-113.37v40.013h33.344v193.396h-33.344v40.013h113.97c59.219 0 104.234-33.878 104.234-90.163-0.067-63.487-45.415-94.364-110.503-94.364zM925.101 309.522h-213.003l-4.201 25.342 202.066 208.068h-105.901l-10.537-46.682h-43.281l20.14 86.695h206.734l4.201-25.342-202.066-208.068h112.17l10.537 46.682h43.281l-20.14-86.695z"}));Object(M.updateCategory)("wpzoom-blocks",{icon:J})}]);
includes/classes/class-zoom-social-icons-widget.php CHANGED
@@ -592,6 +592,7 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
592
  $instance['no_follow'] = ( ! empty( $new_instance['no_follow'] ) && 'true' === $new_instance['no_follow'] ) ? 'true' : 'false';
593
  $instance['no_opener'] = ( ! empty( $new_instance['no_opener'] ) && 'true' === $new_instance['no_opener'] ) ? 'true' : 'false';
594
  $instance['no_referrer'] = ( ! empty( $new_instance['no_referrer'] ) && 'true' === $new_instance['no_referrer'] ) ? 'true' : 'false';
 
595
  $instance['icon_padding_size'] = (int) $new_instance['icon_padding_size'];
596
  $instance['icon_font_size'] = (int) $new_instance['icon_font_size'];
597
  $instance['global_color_picker'] = $new_instance['global_color_picker'];
@@ -717,6 +718,10 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
717
  <input class="checkbox" type="checkbox" v-model="no_opener" :true-value="'true'" :false-value="'false'" :value="no_opener" id="<?php echo $this->get_field_id( 'no_opener' ); ?>" name="<?php echo $this->get_field_name( 'no_opener' ); ?>" />
718
  <label for="<?php echo $this->get_field_id( 'no_opener' ); ?>"><?php echo sprintf( __( 'Add %s to links', 'social-icons-widget-by-wpzoom' ), '<code>rel="noopener"</code>' ); ?></label>
719
  </p>
 
 
 
 
720
  <?php // phpcs:enable WordPress.WP.I18n.MissingTranslatorsComment ?>
721
 
722
  <p class="description"><?php esc_html_e( 'Recommended if links or icons open in a new tab', 'social-icons-widget-by-wpzoom' ); ?></p>
@@ -789,6 +794,7 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
789
  <input type='hidden' value="<?php echo $defaults['no_follow']; ?>" id="<?php echo $this->get_field_id( 'no_follow' ); ?>" name="<?php echo $this->get_field_name( 'no_follow' ); ?>" />
790
  <input type='hidden' value="<?php echo $defaults['no_opener']; ?>" id="<?php echo $this->get_field_id( 'no_opener' ); ?>" name="<?php echo $this->get_field_name( 'no_opener' ); ?>" />
791
  <input type='hidden' value="<?php echo $defaults['no_referrer']; ?>" id="<?php echo $this->get_field_id( 'no_referrer' ); ?>" name="<?php echo $this->get_field_name( 'no_referrer' ); ?>" />
 
792
 
793
  <input type='hidden' value="<?php echo $defaults['show_icon_labels']; ?>" id="<?php echo $this->get_field_id( 'show_icon_labels' ); ?>" name="<?php echo $this->get_field_name( 'show_icon_labels' ); ?>" />
794
  <?php
@@ -917,6 +923,7 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
917
  'no_follow' => 'false',
918
  'no_opener' => 'false',
919
  'no_referrer' => 'false',
 
920
  'icon_style' => 'with-canvas',
921
  'icon_alignment' => 'none',
922
  'icon_canvas_style' => 'round',
@@ -1201,6 +1208,10 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
1201
  $instance['no_referrer'] = true === $instance['no_referrer'] ? 'true' : 'false';
1202
  }
1203
 
 
 
 
 
1204
  if ( 'false' === $instance['show_icon_labels'] ) {
1205
  $class_list[] = 'zoom-social-icons-list--no-labels';
1206
  }
@@ -1224,6 +1235,7 @@ class Zoom_Social_Icons_Widget extends WP_Widget {
1224
  $rel_tag = 'true' == $instance['no_follow'] ? 'nofollow' : '';
1225
  $rel_tag .= 'true' == $instance['no_opener'] ? ' noopener' : '';
1226
  $rel_tag .= 'true' == $instance['no_referrer'] ? ' noreferrer' : '';
 
1227
  $aria_image_role = '';
1228
  $url = esc_url( $field['url'], $this->protocols );
1229
 
592
  $instance['no_follow'] = ( ! empty( $new_instance['no_follow'] ) && 'true' === $new_instance['no_follow'] ) ? 'true' : 'false';
593
  $instance['no_opener'] = ( ! empty( $new_instance['no_opener'] ) && 'true' === $new_instance['no_opener'] ) ? 'true' : 'false';
594
  $instance['no_referrer'] = ( ! empty( $new_instance['no_referrer'] ) && 'true' === $new_instance['no_referrer'] ) ? 'true' : 'false';
595
+ $instance['rel_me'] = ( ! empty( $new_instance['rel_me'] ) && 'true' === $new_instance['rel_me'] ) ? 'true' : 'false';
596
  $instance['icon_padding_size'] = (int) $new_instance['icon_padding_size'];
597
  $instance['icon_font_size'] = (int) $new_instance['icon_font_size'];
598
  $instance['global_color_picker'] = $new_instance['global_color_picker'];
718
  <input class="checkbox" type="checkbox" v-model="no_opener" :true-value="'true'" :false-value="'false'" :value="no_opener" id="<?php echo $this->get_field_id( 'no_opener' ); ?>" name="<?php echo $this->get_field_name( 'no_opener' ); ?>" />
719
  <label for="<?php echo $this->get_field_id( 'no_opener' ); ?>"><?php echo sprintf( __( 'Add %s to links', 'social-icons-widget-by-wpzoom' ), '<code>rel="noopener"</code>' ); ?></label>
720
  </p>
721
+ <p>
722
+ <input class="checkbox" type="checkbox" v-model="rel_me" :true-value="'true'" :false-value="'false'" :value="rel_me" id="<?php echo $this->get_field_id( 'rel_me' ); ?>" name="<?php echo $this->get_field_name( 'rel_me' ); ?>" />
723
+ <label for="<?php echo $this->get_field_id( 'rel_me' ); ?>"><?php echo sprintf( __( 'Add %s to links', 'social-icons-widget-by-wpzoom' ), '<code>rel="me"</code>' ); ?></label>
724
+ </p>
725
  <?php // phpcs:enable WordPress.WP.I18n.MissingTranslatorsComment ?>
726
 
727
  <p class="description"><?php esc_html_e( 'Recommended if links or icons open in a new tab', 'social-icons-widget-by-wpzoom' ); ?></p>
794
  <input type='hidden' value="<?php echo $defaults['no_follow']; ?>" id="<?php echo $this->get_field_id( 'no_follow' ); ?>" name="<?php echo $this->get_field_name( 'no_follow' ); ?>" />
795
  <input type='hidden' value="<?php echo $defaults['no_opener']; ?>" id="<?php echo $this->get_field_id( 'no_opener' ); ?>" name="<?php echo $this->get_field_name( 'no_opener' ); ?>" />
796
  <input type='hidden' value="<?php echo $defaults['no_referrer']; ?>" id="<?php echo $this->get_field_id( 'no_referrer' ); ?>" name="<?php echo $this->get_field_name( 'no_referrer' ); ?>" />
797
+ <input type='hidden' value="<?php echo $defaults['rel_me']; ?>" id="<?php echo $this->get_field_id( 'rel_me' ); ?>" name="<?php echo $this->get_field_name( 'rel_me' ); ?>" />
798
 
799
  <input type='hidden' value="<?php echo $defaults['show_icon_labels']; ?>" id="<?php echo $this->get_field_id( 'show_icon_labels' ); ?>" name="<?php echo $this->get_field_name( 'show_icon_labels' ); ?>" />
800
  <?php
923
  'no_follow' => 'false',
924
  'no_opener' => 'false',
925
  'no_referrer' => 'false',
926
+ 'rel_me' => 'false',
927
  'icon_style' => 'with-canvas',
928
  'icon_alignment' => 'none',
929
  'icon_canvas_style' => 'round',
1208
  $instance['no_referrer'] = true === $instance['no_referrer'] ? 'true' : 'false';
1209
  }
1210
 
1211
+ if ( is_bool( $instance['rel_me'] ) ) {
1212
+ $instance['rel_me'] = true === $instance['rel_me'] ? 'true' : 'false';
1213
+ }
1214
+
1215
  if ( 'false' === $instance['show_icon_labels'] ) {
1216
  $class_list[] = 'zoom-social-icons-list--no-labels';
1217
  }
1235
  $rel_tag = 'true' == $instance['no_follow'] ? 'nofollow' : '';
1236
  $rel_tag .= 'true' == $instance['no_opener'] ? ' noopener' : '';
1237
  $rel_tag .= 'true' == $instance['no_referrer'] ? ' noreferrer' : '';
1238
+ $rel_tag .= 'true' == $instance['rel_me'] ? ' me' : '';
1239
  $aria_image_role = '';
1240
  $url = esc_url( $field['url'], $this->protocols );
1241
 
includes/icons-data.php CHANGED
@@ -629,7 +629,7 @@ return array(
629
  'category' => array(
630
  'social-media',
631
  ),
632
- 'color' => '#2B8BD0',
633
  ),
634
  array(
635
  'icon' => 'medium',
629
  'category' => array(
630
  'social-media',
631
  ),
632
+ 'color' => '#6364FF',
633
  ),
634
  array(
635
  'icon' => 'medium',
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: social icons, social networks, social media, social media icons, icons, so
5
  Requires at least: 5.2
6
  Requires PHP: 7.2
7
  Tested up to: 6.1
8
- Stable tag: 4.2.8
9
  License: GNU General Public License v2.0 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -146,6 +146,10 @@ Add the Social Icons Block to the editor and customize the icons as you want.
146
 
147
  == Changelog ==
148
 
 
 
 
 
149
  = 4.2.8 =
150
  * Updating Academicons set to the latest version with new icons
151
 
5
  Requires at least: 5.2
6
  Requires PHP: 7.2
7
  Tested up to: 6.1
8
+ Stable tag: 4.2.9
9
  License: GNU General Public License v2.0 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
146
 
147
  == Changelog ==
148
 
149
+ = 4.2.9 =
150
+ * Fix Mastodon icon color
151
+ * Add 'rel="me"' parameter
152
+
153
  = 4.2.8 =
154
  * Updating Academicons set to the latest version with new icons
155
 
social-icons-widget-by-wpzoom.php CHANGED
@@ -3,20 +3,20 @@
3
  * Plugin Name: Social Icons Widget & Block by WPZOOM
4
  * Plugin URI: https://www.wpzoom.com/plugins/social-widget/
5
  * Description: Social Icons Widget & Block to display links to social media networks websites. Supports most of the known social networks and includes more than 400 icons. Sort icons by Drag & Drop and change their color easily.
6
- * Version: 4.2.8
7
  * Author: WPZOOM
8
  * Author URI: https://www.wpzoom.com/
9
  * Text Domain: social-icons-widget-by-wpzoom
10
  * License: GNU General Public License v2.0 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
12
  * Requires at least: 5.2
13
- * Tested up to: 6.0
14
  *
15
  * @package WPZOOM_Social_Icons
16
  */
17
 
18
  if ( ! defined( 'WPZOOM_SOCIAL_ICONS_PLUGIN_VERSION' ) ) {
19
- define( 'WPZOOM_SOCIAL_ICONS_PLUGIN_VERSION', '4.2.8' );
20
  }
21
 
22
  if ( ! defined( 'WPZOOM_SOCIAL_ICONS_PLUGIN_URL' ) ) {
3
  * Plugin Name: Social Icons Widget & Block by WPZOOM
4
  * Plugin URI: https://www.wpzoom.com/plugins/social-widget/
5
  * Description: Social Icons Widget & Block to display links to social media networks websites. Supports most of the known social networks and includes more than 400 icons. Sort icons by Drag & Drop and change their color easily.
6
+ * Version: 4.2.9
7
  * Author: WPZOOM
8
  * Author URI: https://www.wpzoom.com/
9
  * Text Domain: social-icons-widget-by-wpzoom
10
  * License: GNU General Public License v2.0 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
12
  * Requires at least: 5.2
13
+ * Tested up to: 6.1
14
  *
15
  * @package WPZOOM_Social_Icons
16
  */
17
 
18
  if ( ! defined( 'WPZOOM_SOCIAL_ICONS_PLUGIN_VERSION' ) ) {
19
+ define( 'WPZOOM_SOCIAL_ICONS_PLUGIN_VERSION', '4.2.9' );
20
  }
21
 
22
  if ( ! defined( 'WPZOOM_SOCIAL_ICONS_PLUGIN_URL' ) ) {