/*! Luxeritas WordPress Theme - free/libre wordpress platform
 *
 * @copyright Copyright (C) 2015 Thought is free.
 * @link https://thk.kanzae.net/
 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later
 * @author LunaNuko
 */
/*!
 * dropdown2 0.0.1
 * Copyright (c) 2019 Technote <technote.space@gmail.com> (https://technote.space)
 * License: GPL-3.0
 */
/*!
  Emoji Mart
  Copyright (c) 2016, Missive All rights reserved.
  https://github.com/missive/emoji-mart
*/
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/!function(n){"use strict";var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0),"undefined"!=typeof themeName[0]&&"luxeritas"===themeName[0]||(window.wp=null)}([function(e,t,n){e.exports=n(1)},function(e,t,n){n.r(t),n(2),n(3),n(4),n(5),n(6),n(7)},function(e,t){"use strict";var n=React.createElement,o=wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,a=wp.i18n.__,r=wp.richText,s=wp.element.Fragment,l=o.RichTextToolbarButton,c=o.RichTextShortcut,u=r.toggleFormat,o=r.registerFormatType,p=r.insert,f=r.applyFormat;o("luxe-blocks/rt",{title:a("Ruby","luxeritas"),tagName:"rt",className:null,edit:function(e){return e.isActive,e.value,e.onChange,n(s,null)}}),o("luxe-blocks/ruby",{title:a("Ruby","luxeritas"),tagName:"ruby",className:null,edit:function(e){function t(){var e;if(o)r=u(r,{type:"luxe-blocks/ruby"});else{if(null==(e=window.prompt(a("Please enter ruby.","luxeritas"))))return;var t=r.end,n=r.start;(r=p(r,e,t)).start=n,r.end=t+e.length,r=f(r,{type:"luxe-blocks/ruby"},n,t+e.length),r=f(r,{type:"luxe-blocks/rt"},t,t+e.length)}return i(r)}var o=e.isActive,r=e.value,i=e.onChange,e=n("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 32 32"},n("path",{d:"M0 32c4-12 14.469-32 32-32-8.219 6.594-12 22-18 22s-6 0-6 0l-6 10h-2z"}),n("path",{d:"M222.59,124.39c-3,1.84-3.2,2-6.15,3.69C198.11,139.3,180,146.67,157.89,151.9v17.21c0,9.68,0,9.68.49,11.83.74,2.92,2.34,4.15,5.9,4.77a87.47,87.47,0,0,0,13,.92,215.5,215.5,0,0,0,24-1.54c9.1-1.23,13.9-2.3,21.16-4.92l.86,28.43a104.88,104.88,0,0,0-12.67,1.08,353.21,353.21,0,0,1-35.92,2.3c-16.85,0-25.34-1.84-31-6.76-3.81-3.53-6-8.6-6.89-16.6-.37-3.07-.49-7.52-.49-16.28V105.49a196,196,0,0,0-.74-20.44h23c-.61,4.76-.73,8.61-.73,20.59v20.75c14.76-3.69,34-12.6,46.86-22a101.82,101.82,0,0,0-8.36-18.59l12.18-4.92a114.82,114.82,0,0,1,10.21,23.51l-6.15,2.77Zm3.2-50.4A119,119,0,0,1,236,96.88l-11.69,5.38a133.73,133.73,0,0,0-10.08-23.51Z"}));return n(s,null,n(c,{type:"primaryShift",character:"r",onUse:t}),n(l,{icon:e,title:a("Ruby","luxeritas"),onClick:t,isActive:o,shorcutType:"primaryShift",shorcutCharacter:"r"}))}})},function(e,t){"use strict";var i=React.createElement,n=wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,a=wp.i18n.__,o=wp.richText,s=wp.element.Fragment,l=o.toggleFormat,c=n.RichTextToolbarButton,u=n.RichTextShortcut;(0,o.registerFormatType)("luxe-blocks/cite",{title:a("Cite","luxeritas"),tagName:"cite",className:null,edit:function(e){function t(){return r(l(o,{type:"luxe-blocks/cite"}))}var n=e.isActive,o=e.value,r=e.onChange,e=i("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 36 36"},i("path",{d:"M28 4v26h-21c-1.657 0-3-1.343-3-3s1.343-3 3-3h19v-24h-20c-2.2 0-4 1.8-4 4v24c0 2.2 1.8 4 4 4h24v-28h-2z"}),i("path",{d:"M7.002 26v0c-0.001 0-0.001 0-0.002 0-0.552 0-1 0.448-1 1s0.448 1 1 1c0.001 0 0.001-0 0.002-0v0h18.997v-2h-18.997z"}));return i(s,null,i(u,{type:"ctrlShift",character:"c",onUse:t}),i(c,{icon:e,title:a("Cite","luxeritas"),onClick:t,isActive:n,shorcutType:"ctrlShift",shorcutCharacter:"c"}))}})},function(e,t){"use strict";var i=React.createElement,n=wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,a=wp.i18n.__,o=wp.richText,s=wp.element.Fragment,l=o.toggleFormat,o=o.registerFormatType,c=n.RichTextShortcut,u=n.RichTextToolbarButton;o("luxe-blocks/q",{title:a("Inline quotation","luxeritas"),tagName:"q",className:null,edit:function(e){function t(){return r(l(o,{type:"luxe-blocks/q"}))}var n=e.isActive,o=e.value,r=e.onChange,e=i("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 34 34"},i("path",{d:"M7.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.357-0.056 0.724-0.086 1.097-0.086zM25.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.358-0.056 0.724-0.086 1.097-0.086z"}));return i(s,null,i(c,{type:"primaryShift",character:"q",onUse:t}),i(u,{icon:e,title:a("Inline quotation","luxeritas"),onClick:t,isActive:n,shorcutType:"primaryShift",shorcutCharacter:"q"}))}})},function(e,t){var n=React.createElement,o=wp.element.Fragment,r=wp.i18n.__;(0,wp.richText.registerFormatType)("luxe-blocks/span",{title:r("Span","luxeritas"),tagName:"span",className:null,edit:function(e){return e.isActive,e.value,e.onChange,n(o,null)}})},function(e,t){"use strict";var i=React.createElement,n=wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,a=wp.i18n.__,o=wp.richText,s=wp.element.Fragment,l=o.toggleFormat,o=o.registerFormatType,c=n.RichTextShortcut,u=n.RichTextToolbarButton;o("luxe-blocks/bold",{title:a("Bold not strong","luxeritas"),tagName:"span",attributes:{style:""},className:"luxe-bold",edit:function(e){function t(){return r(l(o,{type:"luxe-blocks/span",attributes:{style:"font-weight:bold"}}))}var n=e.isActive,o=e.value,r=e.onChange,e=i("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"2 -4 20 38"},i("path",{d:"M8.672 23.766c0.688 0.297 1.437 0.5 2.188 0.5 3.563 0 5.875-1.422 5.875-5.234 0-0.969-0.125-1.984-0.641-2.812-1.453-2.344-3.547-2.469-6.062-2.469-0.469 0-1.141 0-1.578 0.156 0 1.656-0.016 3.313-0.016 4.953 0 1.078-0.141 4 0.234 4.906zM8.453 12.109c0.562 0.094 1.141 0.109 1.703 0.109 3.219 0 5.516-0.906 5.516-4.516 0-3.047-2.703-4.094-5.313-4.094-0.688 0-1.359 0.094-2.031 0.203 0 1.578 0.125 3.156 0.125 4.734 0 0.828-0.016 1.656-0.016 2.484 0 0.359 0 0.719 0.016 1.078zM0 26l0.031-1.469c1-0.25 2.016-0.266 2.984-0.672 0.547-0.922 0.469-2.547 0.469-3.594 0-0.344 0.031-15.281-0.344-16.016-0.234-0.453-2.531-0.562-3.047-0.625l-0.063-1.297c3.719-0.063 7.438-0.328 11.141-0.328 0.703 0 1.422 0.016 2.125 0.016 3.531 0 7.422 1.687 7.422 5.75 0 2.797-2.125 3.844-4.328 4.844 2.969 0.672 5.609 2.688 5.609 5.969 0 5.375-4.891 7.156-9.469 7.156-1.375 0-2.75-0.094-4.125-0.094-2.797 0-5.625 0.25-8.406 0.359z"}));return i(s,null,i(c,{type:"primaryShift",character:"span",onUse:t}),i(u,{icon:e,title:a("Bold not strong","luxeritas"),onClick:t,isActive:n,shorcutType:"primaryShift",shorcutCharacter:"span"}))}})},function(e,t){"use strict";var i=React.createElement,n=wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,a=wp.i18n.__,o=wp.richText,s=wp.element.Fragment,l=o.toggleFormat,o=o.registerFormatType,c=n.RichTextShortcut,u=n.RichTextToolbarButton;o("luxe-blocks/add-class-span",{title:a("Additional CSS Class","luxeritas"),tagName:"span",attributes:{class:""},className:"luxe-add-class",edit:function(e){function t(){var e=window.prompt(a("Please enter class name.","luxeritas"));if(null!=e)return r(l(o,{type:"luxe-blocks/span",attributes:{class:e}}))}var n=e.isActive,o=e.value,r=e.onChange,e=i("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 24 28"},i("path",{d:"M5.5 14c0 0.266 0.109 0.516 0.297 0.703l8.5 8.5c0.187 0.187 0.438 0.297 0.703 0.297 0.547 0 1-0.453 1-1v-4.5h7c0.547 0 1-0.453 1-1v-6c0-0.547-0.453-1-1-1h-7v-4.5c0-0.547-0.453-1-1-1-0.266 0-0.516 0.109-0.703 0.297l-8.5 8.5c-0.187 0.187-0.297 0.438-0.297 0.703zM0 8.5v11c0 2.484 2.016 4.5 4.5 4.5h5c0.266 0 0.5-0.234 0.5-0.5 0-0.438 0.203-1.5-0.5-1.5h-5c-1.375 0-2.5-1.125-2.5-2.5v-11c0-1.375 1.125-2.5 2.5-2.5h4.5c0.391 0 1 0.078 1-0.5 0-0.438 0.203-1.5-0.5-1.5h-5c-2.484 0-4.5 2.016-4.5 4.5z"}));return i(s,null,i(c,{type:"primaryShift",character:"span",onUse:t}),i(u,{icon:e,title:a("Additional CSS Class","luxeritas")+" <span>",onClick:t,isActive:n,shorcutType:"primaryShift",shorcutCharacter:"span"}))}})}]),function(n){"use strict";var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,n){"use strict";function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,i;window,e.exports=(i={},r.m=o=[function(e,t,n){var o,r,$=React.createElement;function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}window,e.exports=(r={},i.m=o=[function(e,t,n){var a;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"==o||"number"==o)e.push(n);else if(Array.isArray(n)&&n.length){var r=s.apply(null,n);r&&e.push(r)}else if("object"==o)for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}a={}.hasOwnProperty,e.exports?(s.default=s,e.exports=s):void 0===(t=function(){return s}.apply(t,[]))||(e.exports=t)},function(e,t,n){var o=n(2);"string"==typeof o&&(o=[[e.i,o,""]]),n(4)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,'/**\r\n * Colors\r\n */\n.components-dropdown-button {\n  padding: 3px;\n  display: flex; }\n  .components-dropdown-button__popover .components-popover__content {\n\tmin-width: 200px;\n\tpadding: 10px; }\n  .components-dropdown-button__toggle {\n\twidth: auto;\n\tmargin: 0;\n\tpadding: 4px;\n\tborder: 1px solid transparent;\n\tdisplay: flex;\n\tflex-direction: row; }\n\t.components-dropdown-button__toggle.is-active, .components-dropdown-button__toggle.is-active:hover {\n\t  box-shadow: none;\n\t  background-color: #555d66;\n\t  color: #fff; }\n\t.components-dropdown-button__toggle:focus::before {\n\t  top: -3px;\n\t  right: -3px;\n\t  bottom: -3px;\n\t  left: -3px; }\n\t.components-dropdown-button__toggle:hover, .components-dropdown-button__toggle:focus, .components-dropdown-button__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {\n\t  color: #555d66;\n\t  box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; }\n  .components-dropdown-button__indicator::after {\n\tcontent: "";\n\tpointer-events: none;\n\tdisplay: block;\n\twidth: 0;\n\theight: 0;\n\tborder-left: 3px solid transparent;\n\tborder-right: 3px solid transparent;\n\tborder-top: 5px solid;\n\tmargin-left: 4px;\n\tmargin-right: 2px; }\n\n#editor.block-editor__container .components-popover.components-color-palette__picker,\n#editor.block-editor__container .components-font-size-picker__dropdown-content {\n  z-index: 1000001; }\n\n.components-popover__content__dropdown-tooltip {\n  color: black;\n  background-color: white;\n  font-size: 1em !important;\n  line-height: 1.5em;\n  display: flex !important;\n  background-position: left -100% bottom -40% !important;\n  background-size: 200% 1em !important;\n  padding: 2px !important; }\n',""])},function(e,t,n){e.exports=function(i){var a=[];return a.toString=function(){return this.map(function(r){var e=function(){var e=r[1]||"",t=r[3];if(!t)return e;if(i&&"function"==typeof btoa){var n="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */",o=t.sources.map(function(e){return"/*# sourceURL="+t.sourceRoot+e+" */"});return[e].concat(o).concat([n]).join("\n")}return[e].join("\n")}();return r[2]?"@media "+r[2]+"{"+e+"}":e}).join("")},a.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var r=this[o][0];null!=r&&(n[r]=!0)}for(o=0;o<e.length;o++){var i=e[o];null!=i[0]&&n[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),a.push(i))}},a}},function(e,t,o){var n,r,i,l={},c=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=n.apply(this,arguments)),r}),a=(i={},function(e,t){if("function"==typeof e)return e();if(void 0===i[e]){var n=function(e,t){return(t||document).querySelector(e)}.call(this,e,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}i[e]=n}return i[e]}),s=null,u=0,p=[],f=o(5);function d(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=l[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(y(o.parts[i],t))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(y(o.parts[i],t));l[o.id]={id:o.id,refs:1,parts:a}}}}function m(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],i={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(i):n.push(o[a]={id:a,parts:[i]})}return n}function h(e,t){var n=a(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=p[p.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");e=a(e.insertAt.before,n);n.insertBefore(t,e)}}function v(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=p.indexOf(e))&&p.splice(e,1))}function g(e){var t,n=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce&&(t=o.nc)&&(e.attrs.nonce=t),b(n,e.attrs),h(e,n),n}function b(t,n){Object.keys(n).forEach(function(e){t.setAttribute(e,n[e])})}function y(t,e){var n,o,r,i,a;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}return r=e.singleton?(a=u++,n=s=s||g(e),o=j.bind(null,n,a,!1),j.bind(null,n,a,!0)):t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=e,a=document.createElement("link"),void 0===i.attrs.type&&(i.attrs.type="text/css"),i.attrs.rel="stylesheet",b(a,i.attrs),h(i,a),o=function(e,t,n){var o=n.css,r=n.sourceMap,n=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||n)&&(o=f(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");r=new Blob([o],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}.bind(null,n=a,e),function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),o=function(e,t){var n=t.css,t=t.media;if(t&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),function(){v(n)}),o(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||o(t=e):r()}}e.exports=function(e,a){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(a=a||{}).attrs="object"==typeof a.attrs?a.attrs:{},a.singleton||"boolean"==typeof a.singleton||(a.singleton=c()),a.insertInto||(a.insertInto="head"),a.insertAt||(a.insertAt="bottom");var s=m(e,a);return d(s,a),function(e){for(var t,n=[],o=0;o<s.length;o++){var r=s[o];(t=l[r.id]).refs--,n.push(t)}for(e&&d(m(e,a),a),o=0;o<n.length;o++)if(0===(t=n[o]).refs){for(var i=0;i<t.parts.length;i++)t.parts[i]();delete l[t.id]}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function j(e,t,n,o){n=n?"":o.css;e.styleSheet?e.styleSheet.cssText=x(t,n):(o=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(o,n[t]):e.appendChild(o))}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var t=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(t)?e:(t=0===t.indexOf("//")?t:0===t.indexOf("/")?n+t:o+t.replace(/^\.\//,""),"url("+JSON.stringify(t)+")")})}},function(e,t,n){n.r(t);var o={};n.r(o),n.d(o,"Icon",function(){return a}),n.d(o,"DropdownButton",function(){return g});var r={};n.r(r),n.d(r,"getActiveStyle",function(){return R}),n.d(r,"addActiveAttributes",function(){return F}),n.d(r,"setActiveStyle",function(){return N}),n.d(r,"onChangeStyle",function(){return E}),n.d(r,"toolbarButtons",function(){return A}),n.d(r,"getDropdownButtonProps",function(){return z}),n.d(r,"colorPalette",function(){return M}),n.d(r,"fontSizesButton",function(){return B}),n.d(r,"isValidCustomColors",function(){return I}),n.d(r,"isValidCustomFontSizes",function(){return D}),n.d(r,"getColors",function(){return U}),n.d(r,"getFontSizes",function(){return q}),n.d(r,"getProperty",function(){return G}),n.d(r,"setProperty",function(){return J}),n.d(r,"parameterManager",function(){return V}),n.d(r,"getTranslator",function(){return Y});var i=n(0),f=n.n(i),i=wp.components,s=i.SVG,l=i.Dashicon,c=wp.url.isURL,u=window.lodash.isString,a=function e(t){var n,o,r=t.icon,i=t.className,a=t.defaultIcon,t=void 0!==a&&a;return u(a=r)&&(c(a)||/^data:image/.test(a))?(n=r,o=f()("components-icon components-icon__svg",i),$(s,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"".concat(20,"px"),height:"".concat(20,"px"),viewBox:"0 0 ".concat(20," ").concat(20),"enable-background":"new 0 0 ".concat(20," ").concat(20),className:o},$("image",{width:20,height:20,x:"0",y:"0",xlinkHref:n}))):u(o=r)&&/^dashicons-/.test(o)?(n=r,o=f()("components-icon components-icon__dashicon",i),$(l,{icon:n.replace(/^dashicons-/,""),className:o})):!r&&t?e({icon:t,className:i}):r||null};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(1);var h=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(b,wp.components.Dropdown),function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(b.prototype,[{key:"closeIfClickOutside",value:function(e){var t;this.containerRef.current.contains(e.target)||((t=document.querySelector(".components-color-picker, .components-font-size-picker__dropdown-content"))&&t.contains(e.target)||this.close())}}]),b),v=wp.components.IconButton,g=function(e){var t=e.icon,n=void 0===t?"menu":t,o=e.label,r=e.tooltip,i=void 0===r?o:r,a=e.className,s=e.position,l=void 0===s?"top right":s,t=e.contentClassName,r=e.renderContent,s=e.isActive,c=void 0!==s&&s,s=e.isDisabled,u=void 0!==s&&s,e=e.isDropdownDisabled,p=void 0!==e&&e;return $(h,{className:f()("components-dropdown-button",a),contentClassName:f()("components-dropdown-button__popover",t),position:l,renderToggle:function(e){var t=e.isOpen,e=e.onToggle;return t&&p&&e(),$(v,{className:f()("components-dropdown-button__toggle",{"is-active":c}),icon:n,onClick:e,"aria-haspopup":"true","aria-expanded":t,"aria-pressed":c,label:o,tooltip:i,disabled:u},$("span",{className:"components-dropdown-button__indicator"}))},renderContent:r})};function b(){return e=this,!(t=d(b).apply(this,arguments))||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var e,t}function y(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n;t=o,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return o}function w(){return L("core/editor").getEditorSettings()}var i=wp.richText,x=i.getActiveFormat,j=i.toggleFormat,S=i.applyFormat,k=i.removeFormat,O=i.insert,i=(i.insertObject,i.replace,wp.components),_=i.ToolbarButton,C=i.BaseControl,P=i.ColorPalette,T=i.FontSizePicker,R=function(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{suffix:void 0,defaultStyle:!1,filter:void 0};if(!e.isActive)return o.defaultStyle;t=x(e.value,t);if(!t||!t.attributes)return o.defaultStyle;t=t.attributes.style||t.unregisteredAttributes&&t.unregisteredAttributes.style;if(!t)return o.defaultStyle;t=t.replace(new RegExp("^".concat(n,":\\s*")),""),n=function(e){return o.filter?o.filter(e):e};return o.suffix?n(t.replace(new RegExp("".concat(o.suffix,"$")),"")):n(t)},F=function(e,t,n){e=e.activeAttributes||{};return e[t]=n,e},N=function(e,t,n){return n=n.replace(/([0-9]+?)pxpx/,"$1px"),F(e,"style","".concat(t,": ").concat(n))},E=function(t,n,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"";return function(e){return void 0===e?t.onChange(k(t.value,n)):e?t.onChange(S(t.value,{type:n,attributes:N(t,o,e+r)})):null}},A=function(e,t,o,r,i,a){var n=5<arguments.length&&void 0!==arguments[6]?arguments[6]:{},s="title"in n?n.title:i,l="className"in n?n.className:o,t="tagName"in n?n.tagName:t;return y({name:o,group:e,tagName:t,create:function(e){var t=e.args,n=e.formatName;return!0===a&&(t.isDisabled=!1),$(_,{icon:r,title:$("div",{className:l},s),onClick:function(){if("[empty]"!==o){if(!0!==a)return t.onChange(j(t.value,{type:n}));if(-1==o.indexOf("][/"))return t.onChange(O(t.value,o,t.value.start,t.value.start));var e=o.replace("][/","]"+window.getSelection().toString()+"[/");return t.onChange(O(t.value,e,t.value.start,t.value.end))}},isActive:t.isActive,extraProps:{label:o,tooltip:$("div",{className:f()("components-popover__content__dropdown-tooltip",i.tooltipClass)},$("div",{className:o},s))}})}},i)},z=function(e,t,o,r,n,i){return y({name:t,inspectorGroup:e,create:function(e){var t=e.args,n=e.formatName;return $(g,{icon:r,label:o,renderContent:function(){return i(t,n,!1)}})},createInspector:function(e){var t=e.args,e=e.formatName;return i(t,e,!0)},attributes:{style:""}},n)},M=function(e,t,o,n,r){function i(e,t){return $(P,{colors:U(),disableCustomColors:!I(),value:R(e,t,r),onChange:E(e,t,r)})}return z(e,t,o,n,5<arguments.length&&void 0!==arguments[5]?arguments[5]:{},function(e,t,n){return n?$(C,{label:o},i(e,t)):i(e,t)})},B=function(e,t,n,o){return z(e,t,n,o,4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},function(e,t){var n=R(e,t,"font-size",{suffix:"px",filter:Number});return void 0!==n&&""!=n||(n=16),$(T,{withSlider:!0,fontSizes:q(),value:n,fallbackFontSize:n,onChange:E(e,t,"font-size","px")})})},L=wp.data.select,I=function(){return!w().disableCustomColors},D=function(){return!w().disableCustomFontSizes},U=function(){return w().colors},q=function(){return w().fontSizes};function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var G=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:void 0,o=t.split("."),r=!0,i=!1,a=void 0;try{for(var s=o[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){var l=l.value;if(!(l in e))return"function"==typeof n?n():n;e=e[l]}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return e},J=function e(t,n,o){var r=Array.isArray(n)?n:n.split(".");if(1<r.length){n=r.shift();return"object"!==H(t[n])&&(t[n]={}),t[n]=e(t[n],r,o),t}return t[r[0]]=o,t},V=function(){var n,t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return{get:function(e){return G(t,e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:e)},set:(n=t=e,function(e,t){return J(n,e,t)})}},Y=function(t){return function(e){return V(t).get("translate."+e,e)}};n.d(t,"Components",function(){return o}),n.d(t,"Helpers",function(){return r})}],i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(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="",i(i.s=6))},function(e,t,n){var a;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"==o||"number"==o)e.push(n);else if(Array.isArray(n)&&n.length){var r=s.apply(null,n);r&&e.push(r)}else if("object"==o)for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}a={}.hasOwnProperty,e.exports?(s.default=s,e.exports=s):void 0===(t=function(){return s}.apply(t,[]))||(e.exports=t)},function(e,t,n){n.r(t);var o={},d=React.createElement;n.r(o),n.d(o,"groupedFormat",function(){return l}),n.d(o,"formatType",function(){return a}),n.d(o,"registerMultipleClassFormatType",function(){return T}),n.d(o,"getFormatName",function(){return R});var u=n(0),m=wp.components.createSlotFill,h=wp.components.createSlotFill,r=n(1),p=n.n(r);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,o=arguments[t];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(e,l){var c=2<arguments.length&&void 0!==arguments[2]&&arguments[2];return d(k,null,d(e,null,function(e){return e.length?c?(i=l,(s=e.filter(function(e){return!v(e,1)[0].props.isDisabled})).length?d(y,null,d(S,i.inspectorSettings,s)):null):d(b,null,d("div",{className:"editor-format-toolbar block-editor-format-toolbar"},d(w,null,1<(t=e).length?(i=l,n=t.map(function(e){return v(e,1)[0].props}),s=!!n.filter(function(e){return e.isActive}).length,e=!n.filter(function(e){return!e.isDisabled}).length,o=i.label,r=i.menuLabel,a=i.menuClassName,d(u.Components.DropdownButton,f({},i,{isActive:s,isDisabled:e,renderContent:function(i){return d(j,{className:p()("components-dropdown-menu__menu",a),role:"menu","aria-label":r||o},n.map(function(e,t){var n,o,r="";return void 0!==e.extraProps&&void 0!==e.extraProps.label&&(r=e.extraProps.label+"-button"),d(x,{key:t,onClick:(n=i,o=e,function(e){e.stopPropagation(),n.onClose(),o.onClick&&o.onClick()}),className:p()("components-dropdown-menu__menu-item",r,{"is-active":e.isActive}),icon:e.icon,role:"menuitem",disabled:e.isDisabled},e.title)}))}}))):t[0]))):null;var t,n,o,r,a,i,s}))}var r=wp.blockEditor,b=(r&&r.BlockEdit?r:wp.editor).BlockFormatControls,y=(r&&r.BlockEdit?r:wp.editor).InspectorControls,r=wp.components,w=r.Toolbar,x=r.IconButton,j=r.NavigableMenu,S=r.PanelBody,k=wp.element.Fragment;var O={},_={},i={},a=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i[e]=Object.assign({},C(e),t),i[e]},C=function(e){return e in i?i[e]:s(e)},s=function(e){return{icon:"admin-customizer",position:"top right",label:e,menuLabel:e,className:void 0,menuClassName:void 0,inspectorSettings:{}}},l=function(e){var o=e.name,t=e.title,n=void 0===t?o:t,r=e.tagName,i=void 0===r?"span":r,a=e.className,t=void 0===a?o:a,s=e.create,l=e.createInspector,r=e.group,a=void 0===r?o:r,r=e.inspectorGroup,r=void 0===r?o:r,e=function(e,t){if(null==e)return{};var n,o=function(e,t){if(null==e)return{};for(var n,o={},r=Object.keys(e),i=0;i<r.length;i++)n=r[i],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),i=0;i<r.length;i++)n=r[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,["name","title","tagName","className","create","createInspector","group","inspectorGroup"]);if(void 0===o||void 0===a||void 0===r||"function"!=typeof s)return null;var c=R(o),u=!Object.keys(O).length;a in O||(O[a]=m("GroupedControls."+a)),r in _||(_[r]=h("GroupedInspectors."+r));var p=O[a].Fill,f=_[r].Fill;return T(c,function(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n;t=o,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return o}({title:n,tagName:i,className:t,edit:function(e){e.isDisabled=!e.isActive&&e.value.start===e.value.end,e.isDropdownDisabled=e.isDisabled&&void 0!==e.value.start;var t=s({args:e,name:o,formatName:c});t.props.isActive=e.isActive,t.props.isDisabled=e.isDisabled,t.props.isDropdownDisabled=e.isDropdownDisabled;var n="function"==typeof l?l({args:e,name:o,formatName:c}):null;return n&&(n.props.isActive=e.isActive,n.props.isDisabled=e.isDisabled),d(k,null,d(p,null,t),n&&d(f,null,n),u&&Object.keys(O).map(function(e){return g(O[e].Slot,C(e))}),u&&Object.keys(_).map(function(e){return g(_[e].Slot,C(e),!0)}))}},e))};var r=wp.data,c=r.dispatch,P=r.select,T=function(e,t){if("string"!=typeof(t=function(o){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.forEach(function(e){var t,n;t=o,e=r[n=e],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return o}({name:e},t)).name)return window.console.error("Format names must be strings."),null;if(P("core/rich-text").getFormatType(t.name))return window.console.error('Format "'+t.name+'" is already registered.'),null;if("string"!=typeof t.tagName||""===t.tagName)return window.console.error("Format tag names must be a string."),null;if(("string"!=typeof t.className||""===t.className)&&null!==t.className)return window.console.error("Format class names must be a string, or null to handle bare elements."),null;if(null===t.className){var n=P("core/rich-text").getFormatTypeForBareElement(t.tagName);if(n)return window.console.error('Format "'.concat(n.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".')),null}else{n=P("core/rich-text").getFormatTypeForClassName(t.className);if(n)return window.console.error('Format "'.concat(n.name,'" is already registered to handle class name "').concat(t.className,'".')),null}return"title"in t&&""!==t.title?"keywords"in t&&3<t.keywords.length?(window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.'),null):"string"!=typeof t.title?(window.console.error("Format titles must be strings."),null):(c("core/rich-text").addFormatTypes(t),t):(window.console.error('The format "'+t.name+'" must have a title.'),null)},R=function(e){return"".concat("luxe-format-group","/").concat(e)};n.d(t,"Common",function(){return F}),n.d(t,"RichText",function(){return o});var F={Components:u.Components,Helpers:u.Helpers}}],r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2))},function(e,t,n){"use strict";n.r(t);var o=n(0),r=React.createElement,i=wp.i18n.__,a=o.RichText.formatType,s=o.RichText.groupedFormat,l=o.Common.Helpers,c=l.toolbarButtons,u=l.colorPalette,p="span",f=i("Font family","luxeritas"),d=i("Dot ","luxeritas"),m=i("Highlighter","luxeritas"),h=l.fontSizesButton,t=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:14,height:14,viewBox:"0 0 32 32"},r("path",{d:"M24.987 0.506c-2.829 0-4.644-0.506-7.558-0.506-9.415 0-13.806 5.362-13.806 10.809 0 3.209 1.52 4.264 4.518 4.264-0.211-0.464-0.591-0.971-0.591-3.251 0-6.375 2.406-8.233 5.489-8.36 0 0-2.529 24.793-9.868 27.767v0.771h9.894l3.376-16h6.183l1.377-4h-6.716l1.623-7.693c1.858 0.38 3.673 0.76 5.235 0.76 1.942 0 3.715-0.591 4.686-5.066-1.182 0.38-2.449 0.506-3.842 0.506z"})),n=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:16,height:16,viewBox:"0 0 32 32"},r("path",{d:"M2 16h12v4h-4v12h-4v-12h-4zM30 8h-7.867v24h-4.266v-24h-7.867v-4h20z"})),o=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:20,height:20,fill:"red",class:"luxe-block-toolbar-font-color",viewBox:"0 0 32 32"},r("path",{d:"M10.063 26l1.8-6h8.274l1.8 6h3.551l-6-20h-6.976l-6 20h3.551zM14.863 10h2.274l1.8 6h-5.874l1.8-6z"})),l=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:20,height:20,class:"luxe-block-toolbar-bg-color",viewBox:"0 0 32 32"},r("path",{d:"M32 18v-12h-6v-2c0-1.1-0.9-2-2-2h-22c-1.1 0-2 0.9-2 2v6c0 1.1 0.9 2 2 2h22c1.1 0 2-0.9 2-2v-2h4v8h-18v4h-1c-0.552 0-1 0.448-1 1v10c0 0.552 0.448 1 1 1h4c0.552 0 1-0.448 1-1v-10c0-0.552-0.448-1-1-1h-1v-2h18zM24 6h-22v-2h22v2z"})),v=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:20,height:20,class:"luxe-block-toolbar-highlight",viewBox:"0 0 32 32"},r("path",{d:"M27 0c2.761 0 5 2.239 5 5 0 1.126-0.372 2.164-1 3l-2 2-7-7 2-2c0.836-0.628 1.874-1 3-1zM2 23l-2 9 9-2 18.5-18.5-7-7-18.5 18.5zM22.362 11.362l-14 14-1.724-1.724 14-14 1.724 1.724z"})),g=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:20,height:20,class:"luxe-block-toolbar-dot-highlight",viewBox:"0 0 32 32"},r("path",{d:"M31.818 9.122l-8.939-8.939c-0.292-0.292-0.676-0.226-0.855 0.146l-1.199 2.497 8.35 8.35 2.497-1.199c0.372-0.178 0.438-0.563 0.146-0.855z"}),r("path",{d:"M19.231 4.231l-8.231 0.686c-0.547 0.068-1.002 0.184-1.159 0.899-0 0.001-0 0.001-0.001 0.002-2.232 10.721-9.84 21.183-9.84 21.183l1.793 1.793 8.5-8.5c-0.187-0.392-0.293-0.83-0.293-1.293 0-1.657 1.343-3 3-3s3 1.343 3 3-1.343 3-3 3c-0.463 0-0.902-0.105-1.293-0.293l-8.5 8.5 1.793 1.793c0 0 10.462-7.608 21.183-9.84 0.001-0 0.001-0 0.002-0.001 0.714-0.157 0.831-0.612 0.898-1.159l0.686-8.231-8.538-8.539z"})),b=r("svg",{xmlns:"http://www.w3.org/1999/svg",width:18,height:18,viewBox:"0 0 24 24"},r("path",{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),r={yellow:i("Yellow","luxeritas"),red:i("Red","luxeritas"),blue:i("Blue","luxeritas"),green:i("Green","luxeritas"),orange:i("Orange","luxeritas"),pink:i("Pink","luxeritas")};a("inspector",{inspectorSettings:{title:i("Inline settings","luxeritas"),initialOpen:!0}}),a(f,{icon:t}),s(c(f,p,"sans-serif-font",t,i("Sans-serif","luxeritas"))),s(c(f,p,"serif-font",t,i("Serif","luxeritas"))),s(h("inspector","font-size",i("Font size","luxeritas"),n)),s(u("inspector","text-color",i("Text color","luxeritas"),o,"color")),s(u("inspector","background-color",i("Background color","luxeritas"),l,"background-color")),a(m,{icon:v}),Object.keys(r).forEach(function(e){var t=this[e];s(c(m,p,"luxe-hilight-"+e,v,m+" ("+t+")"))},r),a(d+m,{icon:g}),a(m,{icon:v}),Object.keys(r).forEach(function(e){var t=this[e];s(c(d+m,p,"luxe-dot-hilight-"+e,g,d+m+" ("+t+")"))},r),a(i("Shortcode","luxeritas"),{icon:b,menuClassName:"luxe-shortcode"}),Object.keys(luxeShortcodeList).forEach(function(e){var t=this[e],n=e,e=n=(n=n.replaceAll(String.fromCodePoint(8220),'"').replaceAll(String.fromCodePoint(8221),'"').replaceAll(String.fromCodePoint(8243),'"')).replaceAll(String.fromCodePoint(8216),"'").replaceAll(String.fromCodePoint(8217),"'").replaceAll(String.fromCodePoint(8242),"'");n=!0===t.close?(-1!=n.indexOf(" ")&&(e=n.substring(0,n.indexOf(" "))),"["+n+"][/"+e+"]"):"["+n+"]",s(c(i("Shortcode","luxeritas"),p,n,b,t.label,!0))},luxeShortcodeList),s(c(i("Shortcode","luxeritas"),p,"dummy-shortcode","","dummy-shortcode",!0))}]),function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,n){"use strict";function o(){}function r(){}function i(e,t,n,o,r,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function a(){return i}r.resetWarningCache=o,e.exports=(e={array:i.isRequired=i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:o}).PropTypes=e},function(e,t,f){"use strict";f.r(t);var d={};f.r(d);var v,o,r=wp.richText,g=wp.element.createElement,i=wp.i18n.__,b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,o=arguments[t];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},n=("undefined"!=typeof window&&function(){for(var i=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[e[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[t]+"CancelAnimationFrame"]||window[e[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),o=Math.max(0,16-(n-i)),r=window.setTimeout(function(){e(n+o)},o);return i=n+o,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),React),p=f.n(n),a=f(0),s=f.n(a),l="emoji-mart",c=JSON,u="undefined"!=typeof window&&"localStorage"in window;function m(e,t){if(o)o(e,t);else if(u)try{window.localStorage["".concat(l,".").concat(e)]=c.stringify(t)}catch(e){}}var h,y,w={update:function(e){for(var t in e)m(t,e[t])},set:m,get:function(e){if(v)return v(e);if(u){try{var t=window.localStorage["".concat(l,".").concat(e)]}catch(e){return}return t?JSON.parse(t):void 0}},setNamespace:function(e){l=e},setHandlers:function(e){v=(e=e||{}).getter,o=e.setter}},x=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"],j={};function S(){y=!0,h=w.get("frequently")}function k(e){for(var t in e.compressed=!1,e.emojis){var n,o=e.emojis[t];for(n in T)o[n]=o[T[n]],delete o[T[n]];o.short_names||(o.short_names=[]),o.short_names.unshift(t),o.sheet_x=o.sheet[0],o.sheet_y=o.sheet[1],delete o.sheet,o.text||(o.text=""),o.added_in||(o.added_in=6),o.added_in=o.added_in.toFixed(1)}}var O=Object.prototype.hasOwnProperty,_=!{toString:null}.propertyIsEnumerable("toString"),C=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],P=C.length,T={name:"a",unified:"b",non_qualified:"c",has_img_apple:"d",has_img_google:"e",has_img_twitter:"f",has_img_emojione:"g",has_img_facebook:"h",has_img_messenger:"i",keywords:"j",sheet:"k",text:"m",short_names:"n",added_in:"o"},R=String.fromCodePoint||function(){var e,t=[],n=-1,o=arguments.length;if(!o)return"";for(var r="";++n<o;){var i=Number(arguments[n]);if(!isFinite(i)||i<0||1114111<i||Math.floor(i)!=i)throw RangeError("Invalid code point: "+i);i<=65535?t.push(i):(e=55296+((i-=65536)>>10),i=i%1024+56320,t.push(e,i)),(n+1===o||16384<t.length)&&(r+=String.fromCharCode.apply(null,t),t.length=0)}return r},F=JSON,N=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,E=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];function A(e){e=e.split("-").map(function(e){return"0x".concat(e)});return R.apply(null,e)}function z(e,t,n,o){var r={};if("string"==typeof e){if((n=e.match(N))&&(e=n[1],n[2]&&(t=parseInt(n[2],10))),o.aliases.hasOwnProperty(e)&&(e=o.aliases[e]),!o.emojis.hasOwnProperty(e))return null;r=o.emojis[e]}else e.id&&(o.aliases.hasOwnProperty(e.id)&&(e.id=o.aliases[e.id]),o.emojis.hasOwnProperty(e.id)&&(r=o.emojis[e.id]));if(function(e){if("function"!=typeof e&&("object"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");var t,n,o=[];for(t in e)O.call(e,t)&&o.push(t);if(_)for(n=0;n<P;n++)O.call(e,C[n])&&o.push(C[n]);return o}(r).length,(r.variations||(r.variations=[]))&&(r=JSON.parse(F.stringify(r)),E[t-1],r.variations&&delete r.variations,n&&(null==b["has_img_".concat(n)]||b["has_img_".concat(n)])||!n))for(var e in b)t=b[e],r[e]=t;return r.variations&&r.variations.length&&((r=JSON.parse(F.stringify(r))).unified=r.variations.shift()),r}function M(e,t){var n,o={};for(n in e){var r=e[n],i=r;t.hasOwnProperty(n)&&(i=t[n]),"object"==typeof i&&(i=M(r,i)),o[n]=i}return o}var B={data:s.a.object.isRequired,onOver:s.a.func,onLeave:s.a.func,onClick:s.a.func,fallback:s.a.func,backgroundImageFn:s.a.func,native:s.a.bool,forceSize:s.a.bool,tooltip:s.a.bool,sheetSize:s.a.oneOf([16,20,32,64]),sheetColumns:s.a.number,sheetRows:s.a.number,set:s.a.oneOf(["apple","google","twitter","emojione","messenger","facebook"]),size:s.a.number.isRequired,emoji:s.a.oneOfType([s.a.string,s.a.object]).isRequired},L={onClick:s.a.func,onSelect:s.a.func,perLine:s.a.number,emojiSize:s.a.number,i18n:s.a.object,style:s.a.object,title:s.a.string,emoji:s.a.string,color:s.a.string,set:B.set,native:s.a.bool,backgroundImageFn:B.backgroundImageFn,sheetSize:B.sheetSize,emojisToShowFilter:s.a.func,showPreview:s.a.bool,emojiTooltip:B.tooltip,include:s.a.arrayOf(s.a.string),exclude:s.a.arrayOf(s.a.string),recent:s.a.arrayOf(s.a.string),autoFocus:s.a.bool,icons:s.a.object};function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){if(e=e,!(null!=(t=t)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function q(e,t,n){return t&&U(e.prototype,t),n&&U(e,n),e}function H(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?J(e):t}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}V($,p.a.PureComponent),q($,[{key:"handleClick",value:function(e){var t=e.currentTarget.getAttribute("data-index"),n=this.props,e=n.categories;(0,n.onAnchorClick)(e[t],t)}}]),t=$;function $(e){var t;D(this,$),t=H(this,G($).call(this,e));e=e.categories.filter(function(e){return e.first})[0];return t.state={selected:e.name},t.handleClick=t.handleClick.bind(J(t)),t}function W(e){var t=e.emoji,n=e.set,e=e.data;return z(t,f,n,e)}function Z(e){var t=e.emoji,n=e.set,e=e.data;return function(){return e=(o=z.apply(void 0,arguments)).name,t=o.short_names,n=o.unified,o.imageUrl,{id:o=o.id||t[0],name:e,short_names:t,colons:":".concat(o,":"),unified:n.toLowerCase(),native:A(n)};var e,t,n,o}(t,f,n,e)}t.propTypes={categories:s.a.array,onAnchorClick:s.a.func,icons:s.a.object};var K,a={set:"twitter",sheetSize:32,sheetColumns:52,sheetRows:52,native:!(t.defaultProps={categories:[],onAnchorClick:function(){},icons:{}}),forceSize:!1,tooltip:!1,backgroundImageFn:function(e,t){return luxeThemeURL[0]+"/images/emojisheet/32.png"}},t={onClick:function(){},onSelect:function(){},emojiSize:24,perLine:9,i18n:{},style:{},title:"Emoji Mart™",emoji:"department_store",color:"#ae65c5",set:a.set,native:a.native,sheetSize:a.sheetSize,backgroundImageFn:a.backgroundImageFn,emojisToShowFilter:null,showPreview:!0,emojiTooltip:a.tooltip,autoFocus:!1,icons:{}},Q=(K=function(t){for(var e in t.data.compressed&&k(t.data),Q.defaultProps)null==t[e]&&null!=Q.defaultProps[e]&&(t[e]=Q.defaultProps[e]);var n=W(t);if(!n)return t.fallback?t.fallback(null,t):null;var o=n.unified,r=n.short_names,i=(n.imageUrl,{}),a=t.children,s="emoji-mart-emoji",l=o&&A(o),c=[l].concat(r).filter(Boolean).join(", "),u=null;if(!o&&!f)return t.fallback?t.fallback(n,t):null;if(t.tooltip&&(u=r[0]),t.native&&o)s+=" emoji-mart-emoji-native",i={fontSize:t.size},a=l,t.forceSize&&(i.display="inline-block",i.width=t.size,i.height=t.size,i.wordBreak="keep-all");else{if(null!=n["has_img_".concat(t.set)]&&!n["has_img_".concat(t.set)])return t.fallback?t.fallback(n,t):null;i={width:t.size,height:t.size,display:"inline-block",backgroundImage:"url(".concat(t.backgroundImageFn(t.set,t.sheetSize),")"),backgroundSize:"".concat(100*t.sheetColumns,"% ").concat(100*t.sheetRows,"%"),backgroundPosition:(n=(p=W(l=t)).sheet_x,p=p.sheet_y,"".concat(100/(l.sheetColumns-1)*n,"% ").concat(100/(l.sheetRows-1)*p,"%"))}}var p={name:"span",props:{}};return t.onClick&&(p.name="button",p.props={type:"button"}),t.html?(i=function(e){var t,n=document.createElement("div");for(t in e){var o=e[t];isNaN(o-parseFloat(o))||(o+="px"),n.style[t]=o}return n.getAttribute("style")}(i),"<".concat(p.name," style='").concat(i,"' aria-label='").concat(c,"' ").concat(u?"title='".concat(u,"'"):""," class='").concat(s,"'>").concat(a||"","</").concat(p.name,">")):g(p.name,b({onClick:function(e){return e=e,void(t.onClick&&(0,t.onClick)(Z(t),e))},onMouseEnter:function(e){return e=e,void(t.onOver&&(0,t.onOver)(Z(t),e))},onMouseLeave:function(e){return e=e,void(t.onLeave&&(0,t.onLeave)(Z(t),e))},"aria-label":c,title:u,className:s},p.props),g("span",{style:i},a))},X.toString=function(){return K.toString()},X);function X(e){return K.apply(this,arguments)}Q.propTypes=b({},B,{data:s.a.object.isRequired}),Q.defaultProps=a;var ee=Q,te=(V(ne,p.a.Component),q(ne,[{key:"componentDidMount",value:function(){this.margin=0,this.minMargin=0,this.memoizeSize()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.name,o=t.perLine,r=t.native,i=t.hasStickyPosition,a=(t.emojis,t.emojiProps),s=a.size,l=a.set,c=e.perLine,u=e.native,t=e.hasStickyPosition,a=(e.emojis,e.emojiProps),e=a.size,a=a.set;return p==v&&s==e&&r==u&&l==a&&i==t?"Recent"==n&&o!=c?!0:!1:!0}},{key:"memoizeSize",value:function(){if(!this.container)return this.top=0,void(this.maxMargin=0);var e=this.container.parentElement,t=this.container.getBoundingClientRect(),n=t.top,o=t.height,r=e.getBoundingClientRect().top,t=this.label.getBoundingClientRect().height;this.top=n-r+e.scrollTop,this.maxMargin=0==o?0:o-t}},{key:"handleScroll",value:function(e){e-=this.top;if((e=(e=e<this.minMargin?this.minMargin:e)>this.maxMargin?this.maxMargin:e)!=this.margin)return this.props.hasStickyPosition||(this.label.style.top="".concat(e,"px")),this.margin=e,!0}},{key:"getEmojis",value:function(){var t=this,e=this.props,n=e.name,o=e.emojis,r=e.recent,e=e.perLine;if("Recent"==n){e=r||function(e){if(y||S(),!h){j={};for(var t=[],n=0;n<e;n++)j[x[n]]=e-n,t.push(x[n]);return t}for(var e in t=4*e,n=[],h)h.hasOwnProperty(e)&&n.push(e);var o=n.sort(function(e,t){return h[e]-h[t]}).reverse().slice(0,t),r=w.get("last");return r&&-1==o.indexOf(r)&&(o.pop(),o.push(r)),o}(e);if(e.length&&(o=e.map(function(e){return e}).filter(function(e){return!!z(e,null,null,t.data)})),0===o.length&&0<e.length)return null}return o&&o.slice(0)}},{key:"updateDisplay",value:function(e){this.getEmojis()&&this.container&&(this.container.style.display=e)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setLabelRef",value:function(e){this.label=e}},{key:"render",value:function(){var t=this,e=this.props,n=e.id,o=e.name,r=e.hasStickyPosition,i=e.emojiProps,a=e.i18n,s=this.getEmojis(),l={},e=s?{}:{display:"none"};return r||(l={height:28},0),g("section",{ref:this.setContainerRef,className:"emoji-mart-category","aria-label":a.categories[n],style:e},g("div",{style:l,"data-name":o,"aria-hidden":!0,className:"emoji-mart-category-label",ref:this.setLabelRef},a.categories[n]),g("ul",{className:"emoji-mart-category-list"},s&&s.map(function(e){return g("li",{key:e.id||e},ee(b({emoji:e,data:t.data},i)))})),s&&!s.length&&g(ae,{i18n:a,data:this.data,emojiProps:i}))}}]),ne);function ne(e){var t;return D(this,ne),(t=H(this,G(ne).call(this,e))).data=e.data,t.setContainerRef=t.setContainerRef.bind(J(t)),t.setLabelRef=t.setLabelRef.bind(J(t)),t}te.propTypes={emojis:s.a.array,hasStickyPosition:s.a.bool,name:s.a.string.isRequired,native:s.a.bool.isRequired,perLine:s.a.number.isRequired,emojiProps:s.a.object.isRequired,recent:s.a.arrayOf(s.a.string)},te.defaultProps={emojis:[],hasStickyPosition:!0};V(oe,p.a.PureComponent),q(oe,[{key:"handleClick",value:function(){this.state.opened?this.setState({opened:!1}):this.setState({opened:!0})}},{key:"render",value:function(){return null}}]),a=oe;function oe(e){return D(this,oe),(e=H(this,G(oe).call(this,e))).state={opened:!1},e}a.propTypes={onChange:s.a.func},a.defaultProps={onChange:function(){}};var re=(V(ie,p.a.PureComponent),q(ie,[{key:"render",value:function(){var e=this.state.emoji,t=this.props,n=t.emojiProps,o=t.title,r=t.emoji,t=(t.i18n,t.showPreview);if(e&&t)return g("div",{className:"emoji-mart-preview"},g("div",{className:"emoji-mart-preview-emoji","aria-hidden":"true"},ee(b({key:e.id,emoji:e,data:this.data},n))),g("div",{className:"emoji-mart-preview-data","aria-hidden":"true"}));return g("div",{className:"emoji-mart-preview"},g("div",{className:"emoji-mart-preview-emoji no-select-emoji","aria-hidden":"true"},r&&r.length&&ee(b({emoji:r,data:this.data},n))),g("div",{className:"emoji-mart-preview-data","aria-hidden":"true"},g("span",{className:"emoji-mart-title-label"},o)))}}]),ie);function ie(e){var t;return D(this,ie),(t=H(this,G(ie).call(this,e))).data=e.data,t.state={emoji:null},t}re.propTypes={title:s.a.string.isRequired,emoji:s.a.string.isRequired,emojiProps:s.a.object.isRequired},re.defaultProps={onChange:function(){}};var se={categories:{recent:i("Frequently Used","luxeritas"),people:i("Smileys & People","luxeritas"),nature:i("Animals & Nature","luxeritas"),foods:i("Food & Drink","luxeritas"),activity:i("Activity","luxeritas"),places:i("Travel & Places","luxeritas"),objects:i("Objects","luxeritas"),symbols:i("Symbols","luxeritas"),flags:i("Flags","luxeritas")}},le=(V(ce,p.a.PureComponent),q(ce,[{key:"componentDidMount",value:function(){var e=this;this.state.firstRender&&(this.firstRenderTimeout=setTimeout(function(){e.setState({firstRender:!1})},60))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.leaveTimeout),clearTimeout(this.firstRenderTimeout)}},{key:"mouseHover",value:function(e){var t=this.preview;if(t){for(var n in o)o.hasOwnProperty(n)&&(e[n]=o[n]);t.setState({emoji:e}),clearTimeout(this.leaveTimeout)}}},{key:"mouseLeave",value:function(){var e=this.preview;e&&(this.leaveTimeout=setTimeout(function(){e.setState({emoji:null})},16))}},{key:"mouseClick",value:function(e,t){this.props.onClick(e,t),this.emojiSelect(e)}},{key:"emojiSelect",value:function(e){this.props.onSelect(e),this.hideRecent||this.props.recent||(e=e,y||S(),e=e.id,(h=h||j)[e]||(h[e]=0),h[e]+=1,w.set("last",e),w.set("frequently",h))}},{key:"handleScroll",value:function(){this.waitingForPaint||(this.waitingForPaint=!0,window.requestAnimationFrame(this.handleScrollPaint))}},{key:"handleScrollPaint",value:function(){if(this.waitingForPaint=!1,this.scroll){for(var e=null,t=this.scroll.scrollTop,n=t>(this.scrollTop||0),o=0,r=0,i=this.categories.length;r<i;r++){var a=n?this.categories.length-1-r:r,s=this.categories[a];l&&(a=l.handleScroll(t),(!o||l.top<o)&&0<l.top&&(o=l.top),a&&!e&&(e=s))}t<o?e=this.categories.filter(function(e){return!(!1===e.anchor)})[0]:t+this.clientHeight>=this.scrollHeight&&(e=this.categories[this.categories.length-1]),this.scrollTop=t}}},{key:"getCategories",value:function(){return this.state.firstRender?this.categories.slice(0,3):this.categories}},{key:"setPreview",value:function(e){this.preview=e}},{key:"render",value:function(){var n=this,e=this.props,o=e.perLine,r=e.emojiSize,i=e.set,a=e.sheetSize,s=e.sheetColumns,l=e.sheetRows,t=e.style,c=e.title,u=e.emoji,p=(e.color,e.native),f=e.backgroundImageFn,d=(e.emojisToShowFilter,e.showPreview),m=e.emojiTooltip,h=(e.include,e.exclude,e.recent);e.autoFocus,function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(this.state);e=o*(r+12)+12+2+function(){if("undefined"==typeof document)return 0;var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();return g("section",{style:b({width:e},t),className:"emoji-mart","aria-label":c},g("div",{ref:this.setScroll,className:"emoji-mart-scroll",onScroll:this.handleScroll},this.getCategories().map(function(e,t){return g(te,{key:e.name,id:e.id,name:e.name,emojis:e.emojis,perLine:o,native:p,hasStickyPosition:n.hasStickyPosition,data:n.data,i18n:n.i18n,recent:e.id==n.RECENT_CATEGORY.id?h:void 0,emojiProps:{native:p,size:r,set:i,sheetSize:a,sheetColumns:s,sheetRows:l,forceSize:p,tooltip:m,backgroundImageFn:f,onOver:n.mouseHover,onLeave:n.mouseLeave,onClick:n.mouseClick}})})),(d||v)&&g("div",{className:"emoji-mart-bar"},g(re,{ref:this.setPreview,data:this.data,title:c,emoji:u,showPreview:d,emojiProps:{native:p,size:38,set:i,sheetSize:a,sheetColumns:s,sheetRows:l,backgroundImageFn:f},i18n:this.i18n})))}}]),ce);function ce(n){var e;D(this,ce),(e=H(this,G(ce).call(this,n))).RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},n.data.compressed&&k(n.data),e.data=n.data,e.i18n=M(se,n.i18n),e.icons=M(d,n.icons),e.state={firstRender:!0},e.categories=[];var t=[].concat(e.data.categories);e.hideRecent=!0,null!=n.include&&t.sort(function(e,t){return n.include.indexOf(e.id)>n.include.indexOf(t.id)?1:-1});for(var o=0;o<t.length;o++){var r=t[o],i=!n.include||!n.include.length||-1<n.include.indexOf(r.id),a=!(!n.exclude||!n.exclude.length)&&-1<n.exclude.indexOf(r.id);if(i&&!a)if(n.emojisToShowFilter){for(var s=[],l=r.emojis,c=0;c<l.length;c++){var u=l[c];n.emojisToShowFilter(e.data.emojis[u]||u)&&s.push(u)}s.length&&(a={emojis:s,name:r.name,id:r.id},e.categories.push(a))}else e.categories.push(r)}var p=!n.include||!n.include.length||-1<n.include.indexOf(e.RECENT_CATEGORY.id),f=!(!n.exclude||!n.exclude.length)&&-1<n.exclude.indexOf(e.RECENT_CATEGORY.id);return p&&!f&&(e.hideRecent=!1,e.categories.unshift(e.RECENT_CATEGORY)),e.categories[0]&&(e.categories[0].first=!0),e.handleScroll=e.handleScroll.bind(J(e)),e.handleScrollPaint=e.handleScrollPaint.bind(J(e)),e.mouseHover=e.mouseHover.bind(J(e)),e.mouseLeave=e.mouseLeave.bind(J(e)),e.mouseClick=e.mouseClick.bind(J(e)),e.emojiSelect=e.emojiSelect.bind(J(e)),e.setPreview=e.setPreview.bind(J(e)),e}le.propTypes=b({},L,{data:s.a.object.isRequired}),le.defaultProps=b({},t);var ue,pe=/\uFE0F/g,fe=String.fromCharCode(8205),de=wp.blockEditor,me=wp.components,he=wp.dom,ve=g(n.Fragment,null,g("svg",{xmlns:"http://www.w3.org/1999/svg",width:17,height:17,class:"luxe-emoji-icon",viewBox:"0 0 28 28"},g("path",{d:"M20.672 17.263c-0.911 2.935-3.591 4.904-6.672 4.904s-5.76-1.969-6.672-4.904c-0.201-0.62 0.146-1.258 0.766-1.458 0.602-0.201 1.258 0.146 1.458 0.766 0.602 1.951 2.406 3.263 4.448 3.263s3.846-1.313 4.448-3.263c0.201-0.62 0.857-0.966 1.477-0.766 0.602 0.201 0.948 0.839 0.747 1.458zM11.667 9.333c0 1.294-1.039 2.333-2.333 2.333s-2.333-1.039-2.333-2.333 1.039-2.333 2.333-2.333 2.333 1.039 2.333 2.333zM21 9.333c0 1.294-1.039 2.333-2.333 2.333s-2.333-1.039-2.333-2.333 1.039-2.333 2.333-2.333 2.333 1.039 2.333 2.333zM25.667 14c0-6.435-5.232-11.667-11.667-11.667s-11.667 5.232-11.667 11.667 5.232 11.667 11.667 11.667 11.667-5.232 11.667-11.667zM28 14c0 7.729-6.271 14-14 14s-14-6.271-14-14 6.271-14 14-14 14 6.271 14 14z"})),g("span",{className:"components-dropdown-button__indicator"},"")),ge="luxe-block-toolbar/emoji";r.registerFormatType(ge,{title:"Emoji",object:!0,tagName:"img",className:"emoji",active:!1,attributes:{url:"src",alt:"alt"},edit:function(e){var t=e.isActive,n=e.value,o=e.onChange,t=t&&g(me.Popover,{className:"emoji-mart-popover",position:"bottom center",key:"emoji-popover",focusOnMount:"container",getAnchorRect:function(){return he.getRectangleFromRange(ue)},onClose:function(){o(r.toggleFormat(n,{type:ge}))}},g(le,{set:"twitter",data:JSON.parse(luxeEmojiList[0]),title:"Emoji Mart "+String.fromCharCode(8482),onSelect:function(e){var t=e.native;!function(e){for(var t=[],n=0,o=0,r=0;r<e.length;)n=e.charCodeAt(r++),o?(t.push((65536+(o-55296<<10)+(n-56320)).toString(16)),o=0):55296<=n&&n<=56319?o=n:t.push(n.toString(16));t.join("-")}((e=t).indexOf(fe)<0?e.replace(pe,""):e);o(r.insert(n,t))}}));return g(de.BlockFormatControls,null,g(me.Toolbar,null,g("div",{className:"components-dropdown-button"},g(me.IconButton,{icon:ve,label:i("Emoji","luxeritas"),className:"components-button components-icon-button components-dropdown-button__toggle has-text",onClick:function(){var e=window.getSelection();ue=0<e.rangeCount?e.getRangeAt(0):null,o(r.toggleFormat(n,{type:ge}))}}))),t)}})}]);
