| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wordpress/wp-content/plugins/block-options/build/ |
Upload File : |
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=191)}([function(e,t){e.exports=window.wp.element},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.lodash},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var i=n(75);e.exports=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&&i(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var i=n(34).default,o=n(7);e.exports=function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,n){var i;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var r=typeof i;if("string"===r||"number"===r)e.push(i);else if(Array.isArray(i)){if(i.length){var a=o.apply(null,i);a&&e.push(a)}}else if("object"===r)if(i.toString===Object.prototype.toString)for(var s in i)n.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(i=function(){return o}.apply(t,[]))||(e.exports=i)}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},,function(e){e.exports=JSON.parse('{"fonts":[{"name":"Abril Fatface","font-family":"\'Abril Fatface\', cursive","weights":""},{"name":"Alegreya","font-family":"\'Alegreya\', serif","weights":"400,400i,500,500i,700,700i,800,800i,900,900i"},{"name":"Anton","font-family":"\'Anton\', sans-serif","weights":""},{"name":"Arvo","font-family":"\'Arvo\', serif","weights":"400,400i,700,700"},{"name":"Average Sans","font-family":"\'Average Sans\', sans-serif","weights":""},{"name":"Berkshire Swash","font-family":"\'Berkshire Swash\', cursive","weights":"400"},{"name":"Bitter","font-family":"\'Bitter\', serif","weights":"400,400i,700"},{"name":"Bree Serif","font-family":"\'Bree Serif\', serif","weights":""},{"name":"Cabin","font-family":"\'Cabin\', sans-serif","weights":"400,400i,500,500i,600,600i,700,700i"},{"name":"Cardo","font-family":"\'Cardo\', serif","weights":"400,400i,700"},{"name":"Catamaran","font-family":"\'Catamaran\', sans-serif","weights":"100,200,300,400,500,600,700,800,900"},{"name":"Chivo","font-family":"\'Chivo\', sans-serif","weights":"300,300i,400,400i,700,700i,900,900i"},{"name":"Cinzel","font-family":"\'Cinzel\', serif","weights":"400,700,90"},{"name":"Cormorant Garamond","font-family":"","weights":"300,300i,400,400i,500,500i,600,600i,700,700i"},{"name":"Crimson Text","font-family":"\'Cormorant Garamond\', serif","weights":"400,400i,600,600i,700,700i"},{"name":"Dosis","font-family":"\'Dosis\', sans-serif","weights":"200,300,400,500,600,700,800"},{"name":"Eczar","font-family":"\'Eczar\', serif","weights":"400,500,600,700,800"},{"name":"Esteban","font-family":"\'Esteban\', serif","weights":""},{"name":"Fauna One","font-family":"\'Fauna One\', serif","weights":""},{"name":"Fira Code","font-family":"\'Fira Code\', monospace","weights":"300,400,500,600,700"},{"name":"Fira Sans","font-family":"\'Fira Sans\', sans-serif","weights":"100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"},{"name":"Frank Ruhl Libre","font-family":"\'Frank Ruhl Libre\', serif","weights":"300,400,500,700,900"},{"name":"Goudy Bookletter 1911","font-family":"\'Goudy Bookletter 1911\', serif","weights":""},{"name":"Julius Sans One","font-family":"\'Julius Sans One\', sans-serif","weights":""},{"name":"Karla","font-family":"\'Karla\', sans-serif","weights":"200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i"},{"name":"Lato","font-family":"\'Lato\', sans-serif","weights":"100,100i,300,300i,400,400i,700,700i,900,900i"},{"name":"Libre Baskerville","font-family":"\'Libre Baskerville\', serif","weights":"400,400i,700"},{"name":"Libre Franklin","font-family":"\'Libre Franklin\', sans-serif","weights":"100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"},{"name":"Lora","font-family":"\'Lora\', serif","weights":"400,400i,700,700i"},{"name":"Merriweather Sans","font-family":"\'Merriweather Sans\', sans-serif","weights":"300,300i,400,400i,700,700i,800,800i"},{"name":"Merriweather","font-family":"\'Merriweather\', serif","weights":"300,300i,400,400i,700,700i,900,900i"},{"name":"Monda","font-family":"\'Monda\', sans-serif","weights":"400,700"},{"name":"Muli","font-family":"\'Muli\', sans-serif","weights":"200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"},{"name":"Neuton","font-family":"\'Neuton\', serif","weights":"200,300,400,400i,700,800"},{"name":"Noto Serif","font-family":"\'Noto Serif\', serif","weights":"400,400i,700,700i"},{"name":"Nunito","font-family":"\'Nunito\', sans-serif","weights":"200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"},{"name":"Open Sans","font-family":"\'Open Sans\', sans-serif","weights":"300,300i,400,400i,600,600i,700,700i,800,800i"},{"name":"Oswald","font-family":"\'Oswald\', sans-serif","weights":"200,300,400,500,600,700"},{"name":"Ovo","font-family":"\'Ovo\', serif","weights":""},{"name":"Oxygen","font-family":"\'Oxygen\', sans-serif","weights":"300,400,700"},{"name":"PT Sans","font-family":"\'PT Sans\', sans-serif","weights":"400,400i,700,700i"},{"name":"PT Serif","font-family":"\'PT Serif\', serif","weights":"400,400i,700,700i"},{"name":"Playfair Display","font-family":"\'Playfair Display\', serif","weights":"400,400i,700,700i,900,900i"},{"name":"Poppins","font-family":"\'Poppins\', sans-serif","weights":"100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"},{"name":"Prata","font-family":"\'Prata\', serif","weights":""},{"name":"Quattrocento Sans","font-family":"\'Quattrocento Sans\', sans-serif","weights":"400,400i,700,700i"},{"name":"Quattrocento","font-family":"\'Quattrocento\', serif","weights":"400,700"},{"name":"Raleway","font-family":"\'Raleway\', sans-serif","weights":"100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"},{"name":"Roboto Condensed","font-family":"\'Roboto Condensed\', sans-serif","weights":"300,300i,400,400i,700,700i"},{"name":"Roboto Slab","font-family":"\'Roboto Slab\', serif","weights":"100,200,300,400,500,600,700,800,900"},{"name":"Roboto","font-family":"\'Roboto\', sans-serif","weights":"100,100i,300,300i,400,400i,500,500i,700,700i,900,900i"},{"name":"Rubik","font-family":"\'Rubik\', sans-serif","weights":"300,300i,400,400i,500,500i,700,700i,900,900i"},{"name":"Ruda","font-family":"\'Ruda\', sans-serif","weights":"400,700,900"},{"name":"Rufina","font-family":"\'Rufina\', serif","weights":"400,700"},{"name":"Signika","font-family":"\'Signika\', sans-serif","weights":"300,400,600,700"},{"name":"Sintony","font-family":"\'Sintony\', sans-serif","weights":"400,700"},{"name":"Slabo 13px","font-family":"\'Slabo 13px\', serif","weights":""},{"name":"Source Sans Pro","font-family":"\'Source Sans Pro\', sans-serif","weights":"200,200i,300,300i,400,400i,600,600i,700,700i,900,900i"},{"name":"Titillium Web","font-family":"\'Titillium Web\', sans-serif","weights":"200,200i,300,300i,400,400i,600,600i,700,700i,900"},{"name":"Ubuntu","font-family":"\'Ubuntu\', sans-serif","weights":"300,300i,400,400i,500,500i,700,700i"},{"name":"Unica One","font-family":"\'Unica One\', cursive","weights":""},{"name":"Varela Round","font-family":"\'Varela Round\', sans-serif","weights":""},{"name":"Vollkorn","font-family":"\'Vollkorn\', serif","weights":"400,400i,600,600i,700,700i,900,900i"},{"name":"Work Sans","font-family":"\'Work Sans\', sans-serif","weights":"100,200,300,400,500,600,700,800,900"}]}')},function(e,t,n){var i=n(53),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e){e.exports=JSON.parse('{"roboto-cabin":{"name":"Roboto Condensed + Cabin","type":"default","category":"modern,minimal,warm","heading":{"font-weight":700,"font-family":"\'Roboto Condensed\', sans-serif"},"content":{"font-family":"\'Cabin\', sans-serif"},"fonts":["Roboto+Condensed:300,300i,400,400i,700,700i","Cabin:400,400i,500,500i,600,600i,700,700i"]},"raleway-open":{"name":"Raleway + Open Sans","type":"default","category":"modern,minimal","heading":{"font-weight":300,"font-family":"\'Raleway\', sans-serif"},"content":{"font-family":"\'Open Sans\', sans-serif"},"fonts":["Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i","Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"]},"playfair-sourcesans":{"name":"Playfair Display + Source Sans","type":"default","category":"striking,classic,warm","heading":{"font-weight":300,"font-family":"\'Playfair Display\', sans-serif"},"content":{"font-family":"\'Source Sans Pro\', sans-serif"},"fonts":["Playfair+Display:400,400i,700,700i,900,900i","Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i"]},"roboto-lora":{"name":"Roboto + Lora","type":"default","category":"modern,neutral","heading":{"font-weight":700,"font-family":"\'Roboto\', sans-serif"},"content":{"font-family":"\'Lora\', serif"},"fonts":["Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i","Lora:400,400i,700,700i"]},"abril-poppins":{"name":"Abril Fatface + Poppins","type":"default","category":"eccentric,classic,warm","heading":{"font-weight":400,"font-family":"\'Abril Fatface\', cursive"},"content":{"font-family":"\'Poppins\', sans-serif"},"fonts":["Abril+Fatface","Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"]},"ruda-roboto":{"name":"Ruda + Roboto Slab","type":"default","category":"striking,eccentric,neutral","heading":{"font-weight":400,"font-family":"\'Ruda\', sans-serif"},"content":{"font-family":"\'Roboto Slab\', serif"},"fonts":["Ruda:400,700,900","Roboto+Slab:100,200,300,400,500,600,700,800,900"]},"cormorant-fira":{"name":"Cormorant Garamond + Fira Sans","type":"default","category":"eccentric,classic,minimal","heading":{"font-weight":700,"font-style":"italic","font-family":"\'Cormorant Garamond\', serif"},"content":{"font-family":"\'Fira Sans\', sans-serif"},"fonts":["Cormorant+Garamond:300,300i,400,400i,500,500i,600,600i,700,700i","Fira+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"]},"pt-playfair":{"name":"PT Sans + Playfair Display","type":"default","category":"modern,neutral","heading":{"font-weight":700,"font-family":"\'PT Sans\', sans-serif"},"content":{"font-family":"\'Playfair Display\', serif"},"fonts":["PT+Sans:400,400i,700,700i","Playfair+Display:400,400i,700,700i,900,900i"]},"oxygen-noto":{"name":"Oxygen + Noto Serif","type":"default","category":"modern,minimal,neutral","heading":{"font-weight":400,"font-family":"\'Oxygen\', sans-serif"},"content":{"font-family":"\'Noto Serif\', serif"},"fonts":["Oxygen:300,400,700","Noto+Serif:400,400i,700,700i"]},"arvo-lato":{"name":"Arvo + Lato","type":"default","category":"modern,minimal,neutral,warm","heading":{"font-weight":400,"font-family":"\'Arvo\', serif"},"content":{"font-family":"\'Lato\', sans-serif"},"fonts":["Arvo:400,400i,700,700i","Lato:100,100i,300,300i,400,400i,700,700i,900,900i"]},"lato-catamaran":{"name":"Lato + Catamaran","type":"default","category":"classic,warm","heading":{"font-weight":400,"font-style":"italic","font-family":"\'Lato\', sans-serif"},"content":{"font-family":"\'Catamaran\', sans-serif"},"fonts":["Lato:100,100i,300,300i,400,400i,700,700i,900,900i","Catamaran:100,200,300,400,500,600,700,800,900"]},"merriweather-muli":{"name":"Merriweather + Muli","type":"default","category":"striking,classic,warm","heading":{"font-weight":400,"font-family":"\'Merriweather\', serif"},"content":{"font-weight":300,"font-family":"\'Muli\', sans-serif"},"fonts":["Merriweather:300,300i,400,400i,700,700i,900,900i","Muli:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"]},"pt-bitter":{"name":"PT Sans + Bitter","type":"default","category":"modern,striking","heading":{"font-weight":400,"font-style":"italic","font-family":"\'PT Sans\', sans-serif"},"content":{"font-family":"\'Bitter\', serif"},"fonts":["PT+Sans:400,400i,700,700i","Bitter:400,400i,700"]},"cinzel-fauna":{"name":"Cinzel + Fauna One","type":"default","category":"striking,eccentric,warm","heading":{"font-weight":700,"text-transform":"uppercase","font-family":"\'Cinzel\', serif"},"content":{"font-family":"\'Fauna One\', serif"},"fonts":["Cinzel:400,700,90","Fauna+One"]},"work-open":{"name":"Work Sans + Open Sans","type":"default","category":"modern,classic,minimal,neutral","heading":{"font-weight":300,"font-family":"\'Work Sans\', sans-serif"},"content":{"font-family":"\'Open Sans\', sans-serif"},"fonts":["Work+Sans:100,200,300,400,500,600,700,800,900","Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"]},"oswald-quattro":{"name":"Oswald + Quattro Cento","type":"default","category":"modern,striking,minimal","heading":{"font-weight":400,"text-transform":"uppercase","font-family":"\'Oswald\', sans-serif"},"content":{"font-family":"\'Quattrocento\', serif"},"fonts":["Oswald:200,300,400,500,600,700","Quattrocento:400,700"]},"nunito-pt":{"name":"Nunito + PT Sans","type":"default","category":"eccentric,warm","heading":{"font-weight":400,"font-family":"\'Nunito\', sans-serif"},"content":{"font-family":"\'PT Sans\', sans-serif"},"fonts":["Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i","PT+Sans:400,400i,700,700i"]},"unica-crimson":{"name":"Unica One + Crimson Text","type":"default","category":"modern,striking,eccentric,minimal,neutral","heading":{"font-weight":400,"text-transform":"uppercase","font-family":"\'Unica One\', cursive"},"content":{"font-family":"\'Crimson Text\', serif"},"fonts":["Unica+One","Crimson+Text:400,400i,600,600i,700,700i"]},"julius-monda":{"name":"Julius Sans + Monda","type":"default","category":"striking,eccentric,minimal","heading":{"font-weight":400,"text-transform":"uppercase","font-family":"\'Julius Sans One\', sans-serif"},"content":{"font-family":"\'Monda\', sans-serif"},"fonts":["Julius+Sans+One","Monda:400,700"]},"varela-noto":{"name":"Varela Round + Noto Serif","type":"default","category":"neutral,warm","heading":{"font-weight":400,"font-family":"\'Varela Round\', sans-serif"},"content":{"font-family":"\'Noto Serif\', serif"},"fonts":["Varela+Round","Noto+Serif:400,400i,700,700i"]},"vollkorn-raleway":{"name":"Vollkorn + Raleway","type":"default","category":"modern,striking,eccentric,classic,warm","heading":{"font-weight":400,"font-style":"italic","font-family":"\'Vollkorn\', serif"},"content":{"font-family":"\'Raleway\', sans-serif"},"fonts":["Vollkorn:400,400i,600,600i,700,700i,900,900i","Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"]},"ovo-quattrocento":{"name":"Ovo + Quattrocento Sans","type":"default","category":"minimal,warm","heading":{"font-family":"\'Ovo\', serif"},"content":{"font-family":"\'Quattrocento Sans\', sans-serif"},"fonts":["Ovo","Quattrocento+Sans:400,400i,700,700i"]},"ubuntu-open":{"name":"Ubuntu + Open Sans","type":"default","category":"striking,neutral","heading":{"font-weight":700,"text-transform":"uppercase","font-family":"\'Ubuntu\', sans-serif"},"content":{"font-family":"\'Open Sans\', sans-serif"},"fonts":["Ubuntu:300,300i,400,400i,500,500i,700,700i","Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"]},"source-sintony":{"name":"Source Sans Pro + Sintony","type":"default","category":"neutral","heading":{"font-weight":900,"font-family":"\'Source Sans Pro\', sans-serif"},"content":{"font-family":"\'Sintony\', sans-serif"},"fonts":["Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i","Sintony:400,700"]},"slabo-lato":{"name":"Slabo 13px + Lato","type":"default","category":"modern,striking,eccentric,neutral,warm","heading":{"font-weight":700,"font-family":"\'Slabo 13px\', serif"},"content":{"font-family":"\'Lato\', sans-serif"},"fonts":["Slabo+13px","Lato:100,100i,300,300i,400,400i,700,700i,900,900i"]},"rufina-pt":{"name":"Rufina + PT Serif","type":"default","category":"minimal,warm","heading":{"font-weight":700,"font-family":"\'Rufina\', serif"},"content":{"font-family":"\'PT Serif\', serif"},"fonts":["Rufina:400,700","PT+Serif:400,400i,700,700i"]},"dosis-titillium":{"name":"Dosis + Titillium Web","type":"default","category":"modern,eccentric,neutral","heading":{"font-weight":400,"font-family":"\'Dosis\', sans-serif"},"content":{"font-family":"\'Titillium Web\', sans-serif"},"fonts":["Dosis:200,300,400,500,600,700,800","Titillium+Web:200,200i,300,300i,400,400i,600,600i,700,700i,900"]},"oswald-esteban":{"name":"Oswald + Esteban","type":"default","category":"modern,eccentric,warm","heading":{"font-weight":300,"font-family":"\'Oswald\', sans-serif"},"content":{"font-family":"\'Esteban\', serif"},"fonts":["Oswald:200,300,400,500,600,700","Esteban"]},"playfair-source":{"name":"Playfair Display + Source Sans Pro","type":"default","category":"striking,eccentric,warm","heading":{"font-weight":900,"font-family":"\'Playfair Display\', serif"},"content":{"font-family":"\'Source Sans Pro\', sans-serif"},"fonts":["Playfair+Display:400,400i,700,700i,900,900i","Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i"]},"libre-nunito":{"name":"Libre Baskerville + Nunito","type":"default","category":"minimal,neutral","heading":{"font-weight":700,"font-family":"\'Libre Baskerville\', serif"},"content":{"font-family":"\'Nunito\', sans-serif"},"fonts":["Libre+Baskerville:400,400i,700","Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"]},"catamaran-merriweather":{"name":"Catamaran + Merriweather Sans","type":"default","category":"modern,neutral","heading":{"font-weight":600,"font-family":"\'Catamaran\', sans-serif"},"content":{"font-weight":300,"font-family":"\'Merriweather Sans\', sans-serif"},"fonts":["Catamaran:100,200,300,400,500,600,700,800,900","Merriweather+Sans:300,300i,400,400i,700,700i,800,800i"]},"bree-alegreya":{"name":"Bree Serif + Alegreya","type":"default","category":"striking,eccentric,warm","heading":{"font-weight":700,"text-transform":"uppercase","font-family":"\'Bree Serif\', serif"},"content":{"font-weight":300,"font-family":"\'Alegreya\', serif"},"fonts":["Bree+Serif","Alegreya:400,400i,500,500i,700,700i,800,800i,900,900i"]},"cardo-libre":{"name":"Cardo + Libre Franklin","type":"default","category":"striking,classic,neutral","heading":{"font-weight":700,"font-family":"\'Cardo\', serif"},"content":{"font-family":"\'Libre Franklin\', sans-serif"},"fonts":["Cardo:400,400i,700","Libre+Franklin:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"]},"roboto-libre":{"name":"Roboto + Libre Baskerville","type":"default","category":"minimal,neutral","heading":{"font-weight":500,"font-family":"\'Roboto\', sans-serif"},"content":{"font-family":"\'Libre Baskerville\', serif"},"fonts":["Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i","Libre+Baskerville:400,400i,700"]},"goudy-average":{"name":"Goudy Bookletter 1911 + Average Sans","type":"default","category":"classic,warm","heading":{"font-weight":500,"font-family":"\'Goudy Bookletter 1911\', serif"},"content":{"font-family":"\'Average Sans\', sans-serif"},"fonts":["Goudy+Bookletter+1911","Average+Sans"]},"raleway-frank":{"name":"Raleway + Frank Ruhl Libre","type":"default","category":"minimal,neutral","heading":{"font-weight":300,"font-family":"\'Raleway\', sans-serif"},"content":{"font-family":"\'Frank Ruhl Libre\', serif"},"fonts":["Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i","Frank+Ruhl+Libre:300,400,500,700,900"]},"prata-lato":{"name":"Prata + Lato","type":"default","category":"eccentric,warm","heading":{"font-weight":400,"font-family":"\'Prata\', serif"},"content":{"font-family":"\'Lato\', sans-serif"},"fonts":["Prata","Lato:100,100i,300,300i,400,400i,700,700i,900,900i"]},"ezcar-merriweather":{"name":"Eczar + Merriweather","type":"default","category":"classic,neutral","heading":{"font-weight":600,"font-family":"\'Eczar\', serif"},"content":{"font-family":"\'Merriweather\', serif"},"fonts":["Eczar:400,500,600,700,800","Merriweather:300,300i,400,400i,700,700i,900,900i"]},"chivo-crimson":{"name":"Chivo + Crimson Text","type":"default","category":"minimal,neutral","heading":{"font-weight":300,"font-family":"\'Chivo\', sans-serif"},"content":{"font-family":"\'Crimson Text\', serif"},"fonts":["Chivo:300,300i,400,400i,700,700i,900,900i","Crimson+Text:400,400i,600,600i,700,700i"]},"rubik-karla":{"name":"Rubik + Karla","type":"default","category":"modern,minimal","heading":{"font-weight":400,"font-family":"\'Rubik\', sans-serif"},"content":{"font-family":"\'Karla\', sans-serif"},"fonts":["Rubik:300,300i,400,400i,500,500i,700,700i,900,900i","Karla:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i"]},"neuton-work":{"name":"Neuton + Work Sans","type":"default","category":"striking,classic,warm","heading":{"font-weight":400,"font-family":"\'Neuton\', serif"},"content":{"font-family":"\'Work Sans\', sans-serif"},"fonts":["Neuton:200,300,400,400i,700,800","Work+Sans:100,200,300,400,500,600,700,800,900"]},"anton-signika":{"name":"Anton + Signika","type":"default","category":"striking,eccentric,minimal,neutral","heading":{"font-weight":400,"font-family":"\'Anton\', sans-serif"},"content":{"font-weight":300,"font-family":"\'Signika\', sans-serif"},"fonts":["Anton","Signika:300,400,600,700"]}}')},function(e,t,n){var i=n(66),o=n(67),r=n(46),a=n(68);e.exports=function(e){return i(e)||o(e)||r(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,n){var i=n(89),o=n(94);e.exports=function(e,t){var n=o(e,t);return i(n)?n:void 0}},,,function(e,t,n){var i=n(30),o=n(90),r=n(91),a="[object Null]",s="[object Undefined]",l=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):r(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var i=n(49),o=n(76),r=n(155),a=n(15);e.exports=function(e,t){return(a(e)?i:r)(e,o(t,3))}},function(e,t,n){var i=n(161),o=n(162),r=n(46),a=n(163);e.exports=function(e,t){return i(e)||o(e,t)||r(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,n){var i=n(79),o=n(80),r=n(81),a=n(82),s=n(83);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var i=n(51);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},function(e,t,n){var i=n(14).Symbol;e.exports=i},function(e,t,n){var i=n(19)(Object,"create");e.exports=i},function(e,t,n){var i=n(103);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var i=n(45),o=1/0;e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,n){var i=n(19)(n(14),"Map");e.exports=i},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var i=n(95),o=n(102),r=n(104),a=n(105),s=n(106);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var i=n(124),o=n(131),r=n(43);e.exports=function(e){return r(e)?i(e):o(e)}},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var i=n(52),o=n(42);e.exports=function(e){return null!=e&&o(e.length)&&!i(e)}},function(e,t,n){var i=n(15),o=n(45),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!r.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var i=n(22),o=n(23),r="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&i(e)==r}},function(e,t,n){var i=n(35);e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var i=n(0),o={};o.typography=Object(i.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24",height:"24",viewBox:"0 0 24 24"}," ",Object(i.createElement)("defs",null," ",Object(i.createElement)("path",{id:"a",d:"M24 24H0V0h24v24z"})," ")," ",Object(i.createElement)("clipPath",{id:"b"}," ",Object(i.createElement)("use",{overflow:"visible",xlinkHref:"#a"})," ")," ",Object(i.createElement)("path",{d:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",clipPath:"url(#b)"})," "),t.a=o},,function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var i=n(28),o=n(84),r=n(85),a=n(86),s=n(87),l=n(88);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=r,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var i=n(22),o=n(39),r="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=i(e);return t==a||t==s||t==r||t==l}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(73))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var i=n(107),o=n(23);e.exports=function e(t,n,r,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:i(t,n,r,a,e,s))}},function(e,t,n){var i=n(108),o=n(111),r=n(112),a=1,s=2;e.exports=function(e,t,n,l,c,u){var f=n&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=u.get(e),m=u.get(t);if(h&&m)return h==t&&m==e;var g=-1,y=!0,b=n&s?new i:void 0;for(u.set(e,t),u.set(t,e);++g<p;){var v=e[g],k=t[g];if(l)var w=f?l(k,v,g,t,e,u):l(v,k,g,e,t,u);if(void 0!==w){if(w)continue;y=!1;break}if(b){if(!o(t,(function(e,t){if(!r(b,t)&&(v===e||c(v,e,n,l,u)))return b.push(t)}))){y=!1;break}}else if(v!==k&&!c(v,k,n,l,u)){y=!1;break}}return u.delete(e),u.delete(t),y}},function(e,t,n){var i=n(126),o=n(23),r=Object.prototype,a=r.hasOwnProperty,s=r.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var i=n(14),o=n(127),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===r?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(59)(e))},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 n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?n:t)&&("number"==o||"symbol"!=o&&i.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var i=n(128),o=n(129),r=n(130),a=r&&r.isTypedArray,s=a?o(a):i;e.exports=s},function(e,t,n){var i=n(39);e.exports=function(e){return e==e&&!i(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var i=n(65),o=n(33);e.exports=function(e,t){for(var n=0,r=(t=i(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},function(e,t,n){var i=n(15),o=n(44),r=n(143),a=n(146);e.exports=function(e,t){return i(e)?e:o(e,t)?[e]:r(a(e))}},function(e,t,n){var i=n(35);e.exports=function(e){if(Array.isArray(e))return i(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var i=n(3),o=n.n(i),r=n(4),a=n.n(r),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(1),p=n.n(f),d=n(0),h=n(24),m=n.n(h);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return u()(this,n)}}var y=wp.data,b=y.withSelect,v=y.withDispatch,k=y.select,w=wp.compose.compose,x=wp.element,_=x.Fragment,O=x.Component,S=wp.components,j=S.withSpokenMessages,E=S.CheckboxControl,C=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},M=function(e){l()(n,e);var t=g(n);function n(){var e;return o()(this,n),(e=t.apply(this,arguments)).state={isOpen:!1,isUpdated:!1},e}return a()(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.editorSettings,i=t.onToggle,o=n.editorskit;return void 0===o&&void 0!==window.editorskitSettings&&(o=window.editorskitSettings.editor_settings.editorskit),Object(d.createElement)(_,null,m()(o,(function(t){return Object(d.createElement)("section",{className:"edit-post-options-modal__section"},Object(d.createElement)("h2",{className:"edit-post-options-modal__section-title"},t.label),Object(d.createElement)("ul",{className:"edit-post-editorskit-manager-modal__checklist"},m()(t.items,(function(n){var o="disableEditorsKit"+C(n.name)+C(t.name);return Object(d.createElement)("li",{className:"edit-post-editorskit-manager-modal__checklist-item"},Object(d.createElement)(E,{className:"edit-post-options-modal__option",label:n.label,checked:!wp.data.select("core/edit-post").isFeatureActive(o),onChange:function(){i(t.name,n.name),e.setState({isUpdated:!e.state.isUpdated})}}))}))))})))}}]),n}(O);t.a=w([b((function(){return{editorSettings:k("core/editor").getEditorSettings(),preferences:k("core/edit-post").getPreferences()}})),v((function(e){return{onToggle:function(t,n){e("core/edit-post").toggleFeature("disableEditorsKit"+C(n)+C(t))}}})),j])(M)},function(e,t,n){"use strict";var i=n(11),o=n.n(i),r=n(34),a=n.n(r),s=n(17),l=n.n(s),c=n(8),u=n.n(c),f=n(3),p=n.n(f),d=n(4),h=n.n(d),m=n(7),g=n.n(m),y=n(5),b=n.n(y),v=n(6),k=n.n(v),w=n(1),x=n.n(w),_=n(0),O=n(2),S=n(10),j=n.n(S);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=x()(e);if(t){var o=x()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return k()(this,n)}}var C=wp.i18n,M=C.__,T=C.sprintf,A=wp.element,R=A.Fragment,z=A.Component,L=wp.components,N=L.Tooltip,P=L.ButtonGroup,D=L.withSpokenMessages,V=L.Button,F=D(function(e){b()(n,e);var t=E(n);function n(){return p()(this,n),t.apply(this,arguments)}return h()(n,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.createMeta,i=e.syntax,o=e.unit,r=e.value,a=e.elementType,s=e.level,l=[{name:M("Pixel","editorskit-typography-addon"),unitValue:"px"},{name:M("Em","editorskit-typography-addon"),unitValue:"em"},{name:M("Rem","editorskit-typography-addon"),unitValue:"rem"}];return Object(_.createElement)(R,null,Object(_.createElement)("div",{className:"components-editorskit-typography-unit-control"},t&&Object(_.createElement)("p",{className:"components-editorskit-typography-unit-control__label"},t),Object(_.createElement)("div",{className:"components-editorskit-typography-unit-control__fields"},Object(_.createElement)("input",{className:"components-editorskit-typography-unit-control__number",type:"number",onChange:function(e){n(i,e.target.value,a,s)},value:r}),Object(_.createElement)(P,{className:"components-editorskit-typography-unit-control__units","aria-label":M("Select Units","editorskit-typography-addon")},Object(O.map)(l,(function(e){var t=e.unitValue,r=e.name;return Object(_.createElement)(N,{text:T(M("%s Units","editorskit-typography-addon"),r)},Object(_.createElement)(V,{key:t,className:"components-editorskit-typography-unit-control__units--"+r,isDefault:!0,isPrimary:o===t,"aria-pressed":o===t,"aria-label":T(M("%s Units","editorskit-typography-addon"),r),onClick:function(){n(i+"-unit",t,a,s)}},t))}))))))}}]),n}(z)),B=n(16),$=n(13);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=x()(e);if(t){var o=x()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return k()(this,n)}}var I=wp.i18n.__,G=wp.element.Component,K=wp.components,U=K.withSpokenMessages,q=K.DropdownMenu,W={"font-size-unit":"px","line-height-unit":"px","letter-spacing-unit":"px"},Z={content:W,heading:{H1:W,H2:W,H3:W,H4:W,H5:W,H6:W},button:W,fonts:{}},J=U(function(e){b()(n,e);var t=H(n);function n(){var e;return p()(this,n),(e=t.apply(this,arguments)).duplicateFont=e.duplicateFont.bind(g()(e)),e}return h()(n,[{key:"duplicateFont",value:function(){var e,t,n,i,o,r=this.props,a=r.updateState,s=r.selectedItem,l=r.Fonts,c=r.GoogleFonts,f=r.saveMeta,p=["H1","H2","H3","H4","H5","H6"],d=l[s].name.split(" + "),h=Object(O.find)(c.fonts,["name",d[0]]),m=Object(O.find)(c.fonts,["name",d[1]]),g=l[s].headerCss,y=Object.assign(Z,{name:l[s].name+" Custom"});Object(O.map)(["content","heading","button"],(function(r){switch(r){case"heading":e=Object.assign({},y[r]),h&&(e=Object.assign(e,{"font-family":h.name})),y[r]=e,t=Object.assign({},y.fonts),t=Object.assign(t,u()({},r,h)),y.fonts=t,g&&Object(O.map)(g,(function(e,t){Object(O.map)(p,(function(i){n=Object.assign({},y[r][i]),n=Object.assign(n,u()({},t,e)),y[r][i]=n}))}));break;case"content":i=Object.assign({},y[r]),m&&(i=Object.assign(i,{"font-family":m.name})),y[r]=i,o=Object.assign({},y.fonts),o=Object.assign(o,u()({},r,m)),y.fonts=o}})),a("isAddingCustom",!0),a("contentCSS",y),f(y)}},{key:"render",value:function(){var e=this,t=this.props,n=t.onToggle,i=t.selectedItem,o=t.itemType,r=t.contentCSS,a=t.updateState,s=t.settingsPanel,l=t.currentMetaId,c=t.setVariables,u=[{title:I("Duplicate","editorskit-typography-addon"),icon:"admin-page",onClick:function(){c(i);var t=(new Date).valueOf();if(a("customKey",t),"default"===o)e.duplicateFont();else{var n=Object.assign({},r);n=Object.assign(n,{name:r.name+I(" Duplicate","editorskit-typography-addon")}),a("isAddingCustom",!0),a("contentCSS",n)}}}];return"custom"===o&&parseInt(i)===parseInt(l)&&u.push({title:I("Edit","editorskit-typography-addon"),icon:"edit",onClick:function(){n(i)}}),s&&(u=[l===i?{title:I("Remove as Default","editorskit-typography-addon"),icon:"admin-page",onClick:function(){a("isRemovingDefault",!0),a("itemSelected",i)}}:{title:I("Set as Default","editorskit-typography-addon"),icon:"admin-page",onClick:function(){a("isSettingDefault",!0),a("itemSelected",i)}}],"custom"===o&&u.push({title:I("Delete","editorskit-typography-addon"),icon:"trash",onClick:function(){a("isDeleting",!0),a("itemSelected",i)}})),Object(_.createElement)(q,{icon:"admin-generic",label:I("More Options","editorskit-typography-addon"),controls:u})}}]),n}(G)),Q=wp.components,Y=Q.Path,X=Q.SVG;function ee(e){var t=e.level,n=e.__unstableActive,i={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return i.hasOwnProperty(t)?Object(_.createElement)(X,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",__unstableActive:n},Object(_.createElement)(Y,{d:i[t]})):null}function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=x()(e);if(t){var o=x()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return k()(this,n)}}var ne,ie=wp.i18n,oe=ie.__,re=ie.sprintf,ae=wp.compose.compose,se=wp.data,le=se.withSelect,ce=se.withDispatch,ue=wp.element,fe=ue.Fragment,pe=ue.Component,de=wp.components,he=de.withSpokenMessages,me=de.Button,ge=de.TextControl,ye=de.PanelBody,be=de.SelectControl,ve=de.TabPanel,ke=de.CheckboxControl,we=de.Modal;wp.api.loadPromise.then((function(){ne=new wp.api.models.Settings}));var xe={"font-size-unit":"px","line-height-unit":"px","letter-spacing-unit":"px"},_e=document.getElementById("editorskit-typography-inline-css"),Oe="https://fonts.googleapis.com/css?family=",Se=document.createElement("link");Se.rel="stylesheet";var je=function(e){b()(n,e);var t=te(n);function n(){var e;return p()(this,n),(e=t.apply(this,arguments)).onToggle=e.onToggle.bind(g()(e)),e.onDelete=e.onDelete.bind(g()(e)),e.onSetDefault=e.onSetDefault.bind(g()(e)),e.createMeta=e.createMeta.bind(g()(e)),e.createCSS=e.createCSS.bind(g()(e)),e.setVariables=e.setVariables.bind(g()(e)),e.saveMeta=e.saveMeta.bind(g()(e)),e.updateState=e.updateState.bind(g()(e)),e.getValue=e.getValue.bind(g()(e)),e.state={isAddingCustom:!1,isActiveFont:"",contentCSS:{content:xe,heading:{H1:xe,H2:xe,H3:xe,H4:xe,H5:xe,H6:xe},button:xe,fonts:{}},optionsSaved:!1,optionsFetched:!1,optionsData:{},defaultTypography:{},customKey:"",showOptionsOn:"",searchKeyword:"",isDeleting:!1,itemSelected:"",isDeleted:"",isSettingDefault:!1,isRemovingDefault:!1,applyToAll:!1},ne.fetch().then((function(t){t.editorskit_typography_custom&&e.setState({optionsData:JSON.parse(t.editorskit_typography_custom),defaultTypography:JSON.parse(t.editorskit_typography_default)}),e.setState({optionsFetched:!0})})),e}return h()(n,[{key:"onToggle",value:function(e){var t=this.state.optionsData;void 0!==t[e]&&(this.setVariables(e),this.createCSS(t[e],e),this.setState({contentCSS:t[e],customKey:e,isAddingCustom:!0}))}},{key:"setVariables",value:function(e){var t=this.props.settingsPanel,n=this.state,i=n.optionsData,o=n.customKey,r=n.contentCSS,a={},s="",l=!1;if(!t){void 0===e&&(e=o),void 0!==B[e]?a=B[e]:void 0!==i[e]&&(a=i[e],l=!0),a&&document.body.classList.add("ek-has-typography"),document.body.classList.remove("ek-has-content-font-family"),document.body.classList.remove("ek-has-body-font-family"),document.body.classList.remove("ek-has-content-font-weight"),document.body.classList.remove("ek-has-content-font-size"),document.body.classList.remove("ek-has-content-line-height"),document.body.classList.remove("ek-has-content-letter-spacing"),document.body.classList.remove("ek-has-header-font-family"),document.body.classList.remove("ek-has-button-font-family"),document.body.classList.remove("ek-has-button-font-weight"),document.body.classList.remove("ek-has-button-text-transform");var c=function(e){return l?"'"+e+"'":e};if(void 0!==a.content){var u=a.content;u["font-family"]&&(s+="--ek-font-family:"+c(u["font-family"])+";",document.body.classList.add("ek-has-content-font-family")),u.body&&document.body.classList.add("ek-has-body-font-family"),u["font-weight"]&&(s+="--ek-font-weight:"+u["font-weight"]+";",document.body.classList.add("ek-has-content-font-weight")),u["font-size"]&&(s+="--ek-font-size:"+u["font-size"]+u["font-size-unit"]+";",document.body.classList.add("ek-has-content-font-size")),u["line-height"]&&(s+="--ek-line-height:"+u["line-height"]+u["line-height-unit"]+";",document.body.classList.add("ek-has-content-line-height")),u["letter-spacing"]&&(s+="--ek-letter-spacing:"+u["letter-spacing"]+u["letter-spacing-unit"]+";",document.body.classList.add("ek-has-content-letter-spacing"))}if(void 0!==a.heading){var f=a.heading;f["font-family"]&&(s+="--ek-heading-font-family:"+c(f["font-family"])+";",document.body.classList.add("ek-has-header-font-family")),f["font-weight"]&&(s+="--ek-heading-font-weight:"+f["font-weight"]+";")}if(Object(O.map)(r.heading,(function(e,t){if(document.body.classList.remove("ek-has-"+t+"-font-size"),document.body.classList.remove("ek-has-"+t+"-line-height"),document.body.classList.remove("ek-has-"+t+"-letter-spacing"),document.body.classList.remove("ek-apply-"+t+"-to-title"),void 0!==a.heading&&void 0!==a.heading[t]){var n=a.heading[t];n["font-weight"]&&(s+="--ek-"+t+"-font-weight:"+n["font-weight"]+";",document.body.classList.add("ek-has-"+t+"-font-weight")),n["font-size"]&&(s+="--ek-"+t+"-font-size:"+n["font-size"]+n["font-size-unit"]+";",document.body.classList.add("ek-has-"+t+"-font-size")),n["line-height"]&&(s+="--ek-"+t+"-line-height:"+n["line-height"]+n["line-height-unit"]+";",document.body.classList.add("ek-has-"+t+"-line-height")),n["letter-spacing"]&&(s+="--ek-"+t+"-letter-spacing:"+n["letter-spacing"]+n["letter-spacing-unit"]+";",document.body.classList.add("ek-has-"+t+"-letter-spacing")),n["text-transform"]&&(s+="--ek-"+t+"-text-transform:"+n["text-transform"]+";",document.body.classList.add("ek-has-"+t+"-text-transform")),n.title&&document.body.classList.add("ek-apply-"+t+"-to-title")}})),void 0!==a.button){var p=a.button;p["font-family"]&&(s+="--ek-button-font-family:"+c(p["font-family"])+";",document.body.classList.add("ek-has-button-font-family")),p["font-weight"]&&(s+="--ek-button-font-weight:"+p["font-weight"]+";",document.body.classList.add("ek-has-button-font-weight")),p["font-size"]&&(s+="--ek-button-font-size:"+p["font-size"]+p["font-size-unit"]+";",document.body.classList.add("ek-has-button-font-size")),p["line-height"]&&(s+="--ek-button-line-height:"+p["line-height"]+p["line-height-unit"]+";",document.body.classList.add("ek-has-button-line-height")),p["letter-spacing"]&&(s+="--ek-button-letter-spacing:"+p["letter-spacing"]+p["letter-spacing-unit"]+";",document.body.classList.add("ek-has-button-letter-spacing")),p["text-transform"]&&(s+="--ek-button-text-transform:"+p["text-transform"]+";",document.body.classList.add("ek-has-button-text-transform"))}_e.innerHTML="body{"+s+"}"}}},{key:"createCSS",value:function(e){var t=this.props.settingsPanel,n=this.state.contentCSS;if(!t){e&&(n=e);var i=Oe;n.fonts&&Object(O.map)(n.fonts,(function(e){e&&(i+=e.name.replace(" ","+")+":"+e.weights+"|")})),i!==Oe&&(Se.href=i.slice(0,-1)),document.head.appendChild(Se)}}},{key:"createMeta",value:function(e,t,n,i){var o=this.state.contentCSS;if(i){var r=Object.assign({},o[n][i]);r=Object.assign(r,u()({},e,t)),o[n][i]=r}else if(n){var a=Object.assign({},o[n]);a=Object.assign(a,u()({},e,t)),o[n]=a}else o=Object.assign(o,u()({},e,t));"font-family"===e&&(o.fonts[n]=Object(O.find)($.fonts,["name",t])),this.setVariables(),this.setState({contentCSS:o}),this.saveMeta(o)}},{key:"updateState",value:function(e,t){this.setState(u()({},e,t))}},{key:"saveMeta",value:function(e){var t=this,n=this.props.onFontSelection,i=this.state,o=i.optionsData,r=i.customKey;r&&""!==r||(r=(new Date).valueOf(),this.setState({customKey:r})),o=Object.assign(o,u()({},r,e)),this.createCSS(e,r),n(e,r),new wp.api.models.Settings({editorskit_typography_custom:JSON.stringify(o)}).save().then((function(){t.setState({optionsSaved:!0,optionsData:o,customKey:r}),ne.fetch()}))}},{key:"getValue",value:function(e,t,n){var i=this.state.contentCSS;if(n){if(void 0!==i[e]&&void 0!==i[e][n]&&void 0!==i[e][n][t])return i[e][n][t]}else if(void 0!==i[e]&&void 0!==i[e][t])return i[e][t];return""}},{key:"onDelete",value:function(){var e=this,t=this.props.noticeMessage,n=this.state,i=n.itemSelected,o=n.optionsData;delete o[i],new wp.api.models.Settings({editorskit_typography_custom:JSON.stringify(o)}).save().then((function(){e.setState({isDeleting:!1,optionsData:o}),ne.fetch()})),t(oe("Item successfully deleted.","editorskit-typography-addon"))}},{key:"onSetDefault",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.props.noticeMessage,i=this.state,o=i.optionsData,r=i.itemSelected,a=i.applyToAll,s={};void 0!==o[r]?s=o[r]:void 0!==B[r]&&(s=B[r]);var l={itemSelected:r,applyToAll:a,meta:s};t&&(l={});var c=new wp.api.models.Settings({editorskit_typography_default:JSON.stringify(l)});c.save().then((function(){e.setState({isSettingDefault:!1,isRemovingDefault:!1,defaultTypography:l}),ne.fetch()})),n(oe("Default Typography Successfully Set.","editorskit-typography-addon"))}},{key:"render",value:function(){var e=this,t=this.props,n=t.onFontSelection,i=t.removeFontSelection,r=t.postmeta,s=t.settingsPanel,c="";if(!this.state.optionsFetched)return Object(_.createElement)(fe,null,Object(_.createElement)("p",{className:"ek-fetching-typography"},oe("Fetching Typography Data.....","editorskit-typography-addon")));if(void 0!==r){var u=r._editorskit_typography_data;void 0!==u.meta&&void 0!==u.meta.id&&(c=u.meta.id)}var f=this.state,p=f.isAddingCustom,d=f.contentCSS,h=f.optionsData,m=f.customKey,g=f.searchKeyword,y=f.isDeleting,b=f.isSettingDefault,v=f.isRemovingDefault,k=f.defaultTypography,w=function(){return[{label:oe("Select Google Font","editorskit-typography-addon"),value:""},{label:oe("Arial","editorskit-typography-addon"),value:"Arial"},{label:oe("Helvetica","editorskit-typography-addon"),value:"Helvetica"},{label:oe("Times New Roman","editorskit-typography-addon"),value:"Times New Roman"},{label:oe("Georgia","editorskit-typography-addon"),value:"Georgia"}].concat(l()($.fonts.map((function(e){var t=e.name;return{label:t,value:t}}))))};c||m||void 0===k||!k||void 0===k.itemSelected||(c=k.itemSelected);var x=function(){return[{label:oe("Select Text Transform","editorskit-typography-addon"),value:""},{label:oe("None","editorskit-typography-addon"),value:"none"},{label:oe("Capitalize","editorskit-typography-addon"),value:"capitalize"},{label:oe("Uppercase","editorskit-typography-addon"),value:"uppercase"},{label:oe("Lowercase","editorskit-typography-addon"),value:"lowercase"},{label:oe("Initial","editorskit-typography-addon"),value:"initial"},{label:oe("Inherit","editorskit-typography-addon"),value:"inherit"}]},S=function(e){var t=Object(O.find)($.fonts,["name",e]),n=[{label:oe("Select Font Weight","editorskit-typography-addon"),value:""}];return void 0!==t&&void 0!==t.weights&&Object(O.map)(t.weights.split(","),(function(e){e&&!e.includes("i")&&n.push({label:e,value:parseInt(e)})})),n};return p?Object(_.createElement)(fe,null,Object(_.createElement)("div",{className:"editorskit-typography-custom"},Object(_.createElement)(me,{isDefault:!0,className:"editorskit-typography-back-btn",onClick:function(){e.setState({isAddingCustom:!1,searchKeyword:"",customKey:""})}},Object(_.createElement)("span",null,"‹ ",oe("Back","editorskit-typography-addon")," ")),Object(_.createElement)(ge,{className:"editorskit-typography-custom--name",label:oe("Name","editorskit-typography-addon"),value:void 0!==d.name?d.name:m,onChange:function(t){e.createMeta("name",t)}}),Object(_.createElement)(ge,{className:"editorskit-typography-custom--key",type:"hidden"}),Object(_.createElement)(ye,{title:oe("Content Typography","editorskit-typography-addon"),initialOpen:!1},Object(_.createElement)(be,{label:oe("Google Fonts","editorskit-typography-addon"),options:w(),value:this.getValue("content","font-family"),onChange:function(t){e.createMeta("font-family",t,"content")}}),S(this.getValue("content","font-family"))&&S(this.getValue("content","font-family")).length>1?Object(_.createElement)(be,{label:oe("Font Weight","editorskit-typography-addon"),options:S(this.getValue("content","font-family")),value:this.getValue("content","font-weight"),onChange:function(t){e.createMeta("font-weight",parseInt(t),"content")}}):"",Object(_.createElement)(F,{label:oe("Font Size","editorskit-typography-addon"),elementType:"content",syntax:"font-size",createMeta:this.createMeta,value:this.getValue("content","font-size"),unit:this.getValue("content","font-size-unit")}),Object(_.createElement)(F,{label:oe("Line Height","editorskit-typography-addon"),elementType:"content",syntax:"line-height",createMeta:this.createMeta,value:this.getValue("content","line-height"),unit:this.getValue("content","line-height-unit")}),Object(_.createElement)(F,{label:oe("Letter Spacing","editorskit-typography-addon"),elementType:"content",syntax:"letter-spacing",createMeta:this.createMeta,value:this.getValue("content","letter-spacing"),unit:this.getValue("content","letter-spacing-unit")}),Object(_.createElement)(ke,{label:oe("Apply Font Family to whole page","editorskit-typography-addon"),checked:!!this.getValue("content","body"),help:oe("Check this option to apply the selected font family to <body> instead of just content.","editorskit-typography-addon"),onChange:function(t){e.createMeta("body",t,"content")}})),Object(_.createElement)(ye,{title:oe("Heading Typography","editorskit-typography-addon"),initialOpen:!1},Object(_.createElement)(be,{label:oe("Google Fonts","editorskit-typography-addon"),options:w(),value:this.getValue("heading","font-family"),onChange:function(t){e.createMeta("font-family",t,"heading")}}),Object(_.createElement)(ve,{className:"editorskit-typography-tab-panel",activeClass:"active-tab",tabs:[{name:"editorskit-typography-h1",title:Object(_.createElement)(ee,{level:1}),className:"editorskit-typography-h1",level:"H1"},{name:"editorskit-typography-h2",title:Object(_.createElement)(ee,{level:2}),className:"editorskit-typography-h2",level:"H2"},{name:"editorskit-typography-h3",title:Object(_.createElement)(ee,{level:3}),className:"editorskit-typography-h3",level:"H3"},{name:"editorskit-typography-h4",title:Object(_.createElement)(ee,{level:4}),className:"editorskit-typography-h4",level:"H4"},{name:"editorskit-typography-h5",title:Object(_.createElement)(ee,{level:5}),className:"editorskit-typography-h5",level:"H5"},{name:"editorskit-typography-h6",title:Object(_.createElement)(ee,{level:6}),className:"editorskit-typography-h6",level:"H6"}]},(function(t){var n=e.getValue("heading","font-family");return Object(_.createElement)(fe,null,S(n)&&S(n).length>1?Object(_.createElement)(be,{label:re(oe("Font Weight (%s)","editorskit-typography-addon"),t.level),options:S(n),value:e.getValue("heading","font-weight",t.level),onChange:function(n){e.createMeta("font-weight",parseInt(n),"heading",t.level)}}):"",Object(_.createElement)(F,{label:re(oe("Font Size (%s)","editorskit-typography-addon"),t.level),syntax:"font-size",createMeta:e.createMeta,value:e.getValue("heading","font-size",t.level),unit:e.getValue("heading","font-size-unit",t.level),elementType:"heading",level:t.level}),Object(_.createElement)(F,{label:re(oe("Line Height (%s)","editorskit-typography-addon"),t.level),syntax:"line-height",createMeta:e.createMeta,value:e.getValue("heading","line-height",t.level),unit:e.getValue("heading","line-height-unit",t.level),elementType:"heading",level:t.level}),Object(_.createElement)(F,{label:re(oe("Letter Spacing (%s)","editorskit-typography-addon"),t.level),syntax:"letter-spacing",createMeta:e.createMeta,value:e.getValue("heading","letter-spacing",t.level),unit:e.getValue("heading","letter-spacing-unit",t.level),elementType:"heading",level:t.level}),Object(_.createElement)(be,{label:re(oe("Text Transform (%s)","editorskit-typography-addon"),t.level),options:x(),value:e.getValue("heading","text-transform",t.level),onChange:function(n){e.createMeta("text-transform",n,"heading",t.level)}}),"H1"===t.level?Object(_.createElement)(ke,{label:oe("Apply to Title","editorskit-typography-addon"),checked:!!e.getValue("heading","title",t.level),onChange:function(n){e.createMeta("title",n,"heading",t.level)}}):null)}))),Object(_.createElement)(ye,{title:oe("Buttons Typography","editorskit-typography-addon"),initialOpen:!1},Object(_.createElement)(be,{label:oe("Google Fonts","editorskit-typography-addon"),options:w(),value:this.getValue("button","font-family"),onChange:function(t){e.createMeta("font-family",t,"button")}}),S(this.getValue("button","font-family"))&&S(this.getValue("button","font-family")).length>1?Object(_.createElement)(be,{label:oe("Font Weight","editorskit-typography-addon"),options:S(this.getValue("button","font-family")),value:this.getValue("button","font-weight"),onChange:function(t){e.createMeta("font-weight",parseInt(t),"button")}}):"",Object(_.createElement)(F,{label:oe("Font Size","editorskit-typography-addon"),syntax:"font-size",createMeta:this.createMeta,value:this.getValue("button","font-size"),unit:this.getValue("button","font-size-unit"),elementType:"button"}),Object(_.createElement)(F,{label:oe("Line Height","editorskit-typography-addon"),syntax:"line-height",createMeta:this.createMeta,value:this.getValue("button","line-height"),unit:this.getValue("button","line-height-unit"),elementType:"button"}),Object(_.createElement)(F,{label:oe("Letter Spacing","editorskit-typography-addon"),syntax:"letter-spacing",createMeta:this.createMeta,value:this.getValue("button","letter-spacing"),unit:this.getValue("button","letter-spacing-unit"),elementType:"button"}),Object(_.createElement)(be,{label:oe("Text Transform","editorskit-typography-addon"),options:x(),value:this.getValue("button","text-transform"),onChange:function(t){e.createMeta("text-transform",t,"button")}})))):Object(_.createElement)(fe,null,s?null:Object(_.createElement)(me,{isPrimary:!0,isLarge:!0,className:"editorskit-typography--custom-button",onClick:function(){e.setState({isAddingCustom:!0,customKey:"",contentCSS:{content:xe,heading:{H1:xe,H2:xe,H3:xe,H4:xe,H5:xe,H6:xe},button:xe,fonts:{}}})}},Object(_.createElement)("span",null,oe("Create Custom Combination","editorskit-typography-addon"))),Object(_.createElement)(ge,{className:"editorskit-typography-search",placeholder:oe("Search","editorskit-typography-addon"),onChange:function(t){e.setState({searchKeyword:t.toLowerCase()})}}),Object(_.createElement)("div",{className:"editorskit-typography-selection"},Object(_.createElement)("ul",{className:"editorskit-typography--items"},void 0!==a()(h)&&h?Object(O.map)(h,(function(t,r){if(g&&(t.name.toLowerCase().includes(g)||void 0!==t.heading["font-family"]&&t.heading["font-family"].toLowerCase().includes(g)||void 0!==t.content["font-family"]&&t.content["font-family"].toLowerCase().includes(g)||void 0!==t.button["font-family"]&&t.button["font-family"].toLowerCase().includes(g)));else if(g)return!1;return Object(_.createElement)("li",{className:j()("editorskit-typography--item","editorskit-typography--item__custom",parseInt(r)===parseInt(c)||!c&&m===r?"editorskit-typography--item__current":null)},Object(_.createElement)(me,{onClick:function(){r===c||!c&&m===r?(i(),e.updateState("customKey","")):(e.setVariables(r),e.createCSS(t,r),n(t,r))}},Object(_.createElement)("span",null,t.name),Object(_.createElement)("span",{className:"editorskit-typography--item__custom-fonts"},Object(O.map)(t,(function(e){if(void 0!==e["font-family"])return Object(_.createElement)("span",null,e["font-family"])})))),Object(_.createElement)(J,o()({},e.props,{itemType:"custom",selectedItem:r,onDelete:e.onDelete,onToggle:e.onToggle,Fonts:B,GoogleFonts:$,updateState:e.updateState,contentCSS:t,setVariables:e.setVariables,currentMetaId:c,saveMeta:e.saveMeta})))})):"",Object(O.map)(B,(function(t,r){return!(g&&!t.name.toLowerCase().includes(g))&&Object(_.createElement)("li",{className:j()("editorskit-typography--item","editorskit-typography--item__default","editorskit-typography--item-"+r,r===c?"editorskit-typography--item__current":null)},Object(_.createElement)(me,{onClick:function(){if(!s)if(r===c)i();else{var o=Oe+t.fonts.join("|");e.setVariables(r),Se.href=o,document.head.appendChild(Se),n(t,r)}}},Object(_.createElement)("span",null,t.name),Object(_.createElement)("img",{src:window.editorskitInfo.plugin.url+"/build/images/combinations/"+t.name+".png",alt:t.name})),Object(_.createElement)(J,o()({},e.props,{itemType:"default",selectedItem:r,onToggle:e.onToggle,Fonts:B,GoogleFonts:$,updateState:e.updateState,setVariables:e.setVariables,currentMetaId:c,saveMeta:e.saveMeta})))})))),y&&Object(_.createElement)(we,{className:"editorskit-delete-typography-modal",title:oe("Delete Confirmation","editorskit-typography-addon"),onRequestClose:function(){e.updateState("isDeleting",!1)}},Object(_.createElement)("p",null,oe("Are you sure you want to delete this item?","editorskit-typography-addon")),Object(_.createElement)(me,{isLarge:!0,isDestructive:!0,onClick:this.onDelete},oe("Yes, Delete","editorskit-typography-addon")),Object(_.createElement)(me,{isDefault:!0,onClick:function(){e.updateState("isDeleting",!1)}},oe("No, Cancel","editorskit-typography-addon"))),b&&Object(_.createElement)(we,{className:"editorskit-default-typography-modal",title:oe("Set as Default Fonts","editorskit-typography-addon"),onRequestClose:function(){e.updateState("isSettingDefault",!1)}},Object(_.createElement)("p",null,oe("Setting default typography will save you time when creating new posts or pages.","editorskit-typography-addon")),Object(_.createElement)("p",{className:"editorskit-notice-box"},oe("Take note that this option will apply your selected default typography to old posts, post types and pages on your website without the need for you to edit them on the Gutenberg editor manually.","editorskit-typography-addon")),Object(_.createElement)(me,{isLarge:!0,isPrimary:!0,onClick:function(){e.onSetDefault()}},oe("Yes, Set as Default","editorskit-typography-addon")),Object(_.createElement)(me,{isDefault:!0,onClick:function(){e.updateState("isSettingDefault",!1)}},oe("No, Cancel","editorskit-typography-addon"))),v&&Object(_.createElement)(we,{className:"editorskit-default-typography-modal",title:oe("Remove Default Fonts","editorskit-typography-addon"),onRequestClose:function(){e.updateState("isRemovingDefault",!1)}},Object(_.createElement)("p",null,oe("Are you sure you want to remove this item as default typography?","editorskit-typography-addon")),Object(_.createElement)(me,{isLarge:!0,isPrimary:!0,onClick:function(){e.onSetDefault(!0)}},oe("Yes, Set Remove Default","editorskit-typography-addon")),Object(_.createElement)(me,{isDefault:!0,onClick:function(){e.updateState("isRemovingDefault",!1)}},oe("No, Cancel","editorskit-typography-addon"))))}}]),n}(pe);t.a=ae([le((function(e){return{postmeta:e("core/editor").getEditedPostAttribute("meta")}})),ce((function(e){var t=e("core/notices").createNotice;return{onFontSelection:function(t,n){e("core/editor").editPost({meta:{_editorskit_typography_data:n?{meta:{id:n,data:t}}:{meta:t}}})},removeFontSelection:function(){e("core/editor").editPost({meta:{_editorskit_typography_data:{meta:{disabled:!0}}}}),document.body.classList.remove("ek-has-typography")},noticeMessage:function(e){t("info",e,{isDismissible:!0,type:"snackbar"})}}})),he])(je)},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,i)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var i=n(77),o=n(141),r=n(151),a=n(15),s=n(152);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?o(e[0],e[1]):i(e):s(e)}},function(e,t,n){var i=n(78),o=n(140),r=n(63);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},function(e,t,n){var i=n(50),o=n(55),r=1,a=2;e.exports=function(e,t,n,s){var l=n.length,c=l,u=!s;if(null==e)return!c;for(e=Object(e);l--;){var f=n[l];if(u&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++l<c;){var p=(f=n[l])[0],d=e[p],h=f[1];if(u&&f[2]){if(void 0===d&&!(p in e))return!1}else{var m=new i;if(s)var g=s(d,h,p,e,t,m);if(!(void 0===g?o(h,d,r|a,s,m):g))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var i=n(29),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var i=n(29);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var i=n(29);e.exports=function(e){return i(this.__data__,e)>-1}},function(e,t,n){var i=n(29);e.exports=function(e,t){var n=this.__data__,o=i(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var i=n(28);e.exports=function(){this.__data__=new i,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var i=n(28),o=n(38),r=n(40),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var i=n(52),o=n(92),r=n(39),a=n(54),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,p=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||o(e))&&(i(e)?p:s).test(a(e))}},function(e,t,n){var i=n(30),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var o=a.call(e);return i&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var i,o=n(93),r=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!r&&r in e}},function(e,t,n){var i=n(14)["__core-js_shared__"];e.exports=i},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var i=n(96),o=n(28),r=n(38);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(r||o),string:new i}}},function(e,t,n){var i=n(97),o=n(98),r=n(99),a=n(100),s=n(101);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var i=n(31);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var i=n(31),o="__lodash_hash_undefined__",r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return n===o?void 0:n}return r.call(t,e)?t[e]:void 0}},function(e,t,n){var i=n(31),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var i=n(31),o="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?o:t,this}},function(e,t,n){var i=n(32);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var i=n(32);e.exports=function(e){return i(this,e).get(e)}},function(e,t,n){var i=n(32);e.exports=function(e){return i(this,e).has(e)}},function(e,t,n){var i=n(32);e.exports=function(e,t){var n=i(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var i=n(50),o=n(56),r=n(113),a=n(117),s=n(135),l=n(15),c=n(58),u=n(61),f=1,p="[object Arguments]",d="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,y,b){var v=l(e),k=l(t),w=v?d:s(e),x=k?d:s(t),_=(w=w==p?h:w)==h,O=(x=x==p?h:x)==h,S=w==x;if(S&&c(e)){if(!c(t))return!1;v=!0,_=!1}if(S&&!_)return b||(b=new i),v||u(e)?o(e,t,n,g,y,b):r(e,t,w,n,g,y,b);if(!(n&f)){var j=_&&m.call(e,"__wrapped__"),E=O&&m.call(t,"__wrapped__");if(j||E){var C=j?e.value():e,M=E?t.value():t;return b||(b=new i),y(C,M,n,g,b)}}return!!S&&(b||(b=new i),a(e,t,n,g,y,b))}},function(e,t,n){var i=n(40),o=n(109),r=n(110);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=r,e.exports=a},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var i=n(30),o=n(114),r=n(51),a=n(56),s=n(115),l=n(116),c=1,u=2,f="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Map]",m="[object Number]",g="[object RegExp]",y="[object Set]",b="[object String]",v="[object Symbol]",k="[object ArrayBuffer]",w="[object DataView]",x=i?i.prototype:void 0,_=x?x.valueOf:void 0;e.exports=function(e,t,n,i,x,O,S){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!O(new o(e),new o(t)));case f:case p:case m:return r(+e,+t);case d:return e.name==t.name&&e.message==t.message;case g:case b:return e==t+"";case h:var j=s;case y:var E=i&c;if(j||(j=l),e.size!=t.size&&!E)return!1;var C=S.get(e);if(C)return C==t;i|=u,S.set(e,t);var M=a(j(e),j(t),i,x,O,S);return S.delete(e),M;case v:if(_)return _.call(e)==_.call(t)}return!1}},function(e,t,n){var i=n(14).Uint8Array;e.exports=i},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var i=n(118),o=1,r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,l){var c=n&o,u=i(e),f=u.length;if(f!=i(t).length&&!c)return!1;for(var p=f;p--;){var d=u[p];if(!(c?d in t:r.call(t,d)))return!1}var h=l.get(e),m=l.get(t);if(h&&m)return h==t&&m==e;var g=!0;l.set(e,t),l.set(t,e);for(var y=c;++p<f;){var b=e[d=u[p]],v=t[d];if(a)var k=c?a(v,b,d,t,e,l):a(b,v,d,e,t,l);if(!(void 0===k?b===v||s(b,v,n,a,l):k)){g=!1;break}y||(y="constructor"==d)}if(g&&!y){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(g=!1)}return l.delete(e),l.delete(t),g}},function(e,t,n){var i=n(119),o=n(121),r=n(41);e.exports=function(e){return i(e,r,o)}},function(e,t,n){var i=n(120),o=n(15);e.exports=function(e,t,n){var r=t(e);return o(e)?r:i(r,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}},function(e,t,n){var i=n(122),o=n(123),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return r.call(e,t)})))}:o;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,o=0,r=[];++n<i;){var a=e[n];t(a,n,e)&&(r[o++]=a)}return r}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var i=n(125),o=n(57),r=n(15),a=n(58),s=n(60),l=n(61),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),u=!n&&o(e),f=!n&&!u&&a(e),p=!n&&!u&&!f&&l(e),d=n||u||f||p,h=d?i(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},function(e,t,n){var i=n(22),o=n(23),r="[object Arguments]";e.exports=function(e){return o(e)&&i(e)==r}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var i=n(22),o=n(42),r=n(23),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!a[i(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var i=n(53),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===o&&i.process,s=function(){try{var e=r&&r.require&&r.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(59)(e))},function(e,t,n){var i=n(132),o=n(133),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return o(e);var t=[];for(var n in Object(e))r.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var i=n(134)(Object.keys,Object);e.exports=i},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var i=n(136),o=n(38),r=n(137),a=n(138),s=n(139),l=n(22),c=n(54),u=c(i),f=c(o),p=c(r),d=c(a),h=c(s),m=l;(i&&"[object DataView]"!=m(new i(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||r&&"[object Promise]"!=m(r.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var i=n(19)(n(14),"DataView");e.exports=i},function(e,t,n){var i=n(19)(n(14),"Promise");e.exports=i},function(e,t,n){var i=n(19)(n(14),"Set");e.exports=i},function(e,t,n){var i=n(19)(n(14),"WeakMap");e.exports=i},function(e,t,n){var i=n(62),o=n(41);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,i(a)]}return t}},function(e,t,n){var i=n(55),o=n(142),r=n(148),a=n(44),s=n(62),l=n(63),c=n(33),u=1,f=2;e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?r(n,e):i(t,a,u|f)}}},function(e,t,n){var i=n(64);e.exports=function(e,t,n){var o=null==e?void 0:i(e,t);return void 0===o?n:o}},function(e,t,n){var i=n(144),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,i,o){t.push(i?o.replace(r,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var i=n(145),o=500;e.exports=function(e){var t=i(e,(function(e){return n.size===o&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var i=n(40),o="Expected a function";function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var a=e.apply(this,i);return n.cache=r.set(o,a)||r,a};return n.cache=new(r.Cache||i),n}r.Cache=i,e.exports=r},function(e,t,n){var i=n(147);e.exports=function(e){return null==e?"":i(e)}},function(e,t,n){var i=n(30),o=n(49),r=n(15),a=n(45),s=1/0,l=i?i.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},function(e,t,n){var i=n(149),o=n(150);e.exports=function(e,t){return null!=e&&o(e,t,i)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var i=n(65),o=n(57),r=n(15),a=n(60),s=n(42),l=n(33);e.exports=function(e,t,n){for(var c=-1,u=(t=i(t,e)).length,f=!1;++c<u;){var p=l(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&s(u)&&a(p,u)&&(r(e)||o(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var i=n(153),o=n(154),r=n(44),a=n(33);e.exports=function(e){return r(e)?i(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var i=n(64);e.exports=function(e){return function(t){return i(t,e)}}},function(e,t,n){var i=n(156),o=n(43);e.exports=function(e,t){var n=-1,r=o(e)?Array(e.length):[];return i(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}},function(e,t,n){var i=n(157),o=n(160)(i);e.exports=o},function(e,t,n){var i=n(158),o=n(41);e.exports=function(e,t){return e&&i(e,t,o)}},function(e,t,n){var i=n(159)();e.exports=i},function(e,t){e.exports=function(e){return function(t,n,i){for(var o=-1,r=Object(t),a=i(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(r[l],l,r))break}return t}}},function(e,t,n){var i=n(43);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!i(n))return e(n,o);for(var r=n.length,a=t?r:-1,s=Object(n);(t?a--:++a<r)&&!1!==o(s[a],a,s););return n}}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:g,table:g,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function i(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||x.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=/<!--(?!-?>)[\s\S]*?-->/,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=y({},n),n.gfm=y({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=y({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:g,paragraph:p(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),i.rules=n,i.lex=function(e,t){return new i(t).lex(e)},i.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},i.prototype.token=function(e,t){var i,o,r,a,s,l,c,f,p,d,h,m,g,y,k,w;for(e=e.replace(/^ +$/gm,"");e;)if((r=this.rules.newline.exec(e))&&(e=e.substring(r[0].length),r[0].length>1&&this.tokens.push({type:"space"})),r=this.rules.code.exec(e)){var x=this.tokens[this.tokens.length-1];e=e.substring(r[0].length),x&&"paragraph"===x.type?x.text+="\n"+r[0].trimRight():(r=r[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?r:v(r,"\n")}))}else if(r=this.rules.fences.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"code",lang:r[2]?r[2].trim():r[2],text:r[3]||""});else if(r=this.rules.heading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:r[1].length,text:r[2]});else if((r=this.rules.nptable.exec(e))&&(l={type:"table",header:b(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(r[0].length),h=0;h<l.align.length;h++)/^ *-+: *$/.test(l.align[h])?l.align[h]="right":/^ *:-+: *$/.test(l.align[h])?l.align[h]="center":/^ *:-+ *$/.test(l.align[h])?l.align[h]="left":l.align[h]=null;for(h=0;h<l.cells.length;h++)l.cells[h]=b(l.cells[h],l.header.length);this.tokens.push(l)}else if(r=this.rules.hr.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"hr"});else if(r=this.rules.blockquote.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"blockquote_start"}),r=r[0].replace(/^ *> ?/gm,""),this.token(r,t),this.tokens.push({type:"blockquote_end"});else if(r=this.rules.list.exec(e)){for(e=e.substring(r[0].length),c={type:"list_start",ordered:y=(a=r[2]).length>1,start:y?+a:"",loose:!1},this.tokens.push(c),f=[],i=!1,g=(r=r[0].match(this.rules.item)).length,h=0;h<g;h++)d=(l=r[h]).length,~(l=l.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(d-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+d+"}","gm"),"")),h!==g-1&&(s=n.bullet.exec(r[h+1])[0],(a.length>1?1===s.length:s.length>1||this.options.smartLists&&s!==a)&&(e=r.slice(h+1).join("\n")+e,h=g-1)),o=i||/\n\n(?!\s*$)/.test(l),h!==g-1&&(i="\n"===l.charAt(l.length-1),o||(o=i)),o&&(c.loose=!0),w=void 0,(k=/^\[[ xX]\] /.test(l))&&(w=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:k,checked:w,loose:o},f.push(p),this.tokens.push(p),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(g=f.length,h=0;h<g;h++)f[h].loose=!0;this.tokens.push({type:"list_end"})}else if(r=this.rules.html.exec(e))e=e.substring(r[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===r[1]||"script"===r[1]||"style"===r[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):u(r[0]):r[0]});else if(t&&(r=this.rules.def.exec(e)))e=e.substring(r[0].length),r[3]&&(r[3]=r[3].substring(1,r[3].length-1)),m=r[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[m]||(this.tokens.links[m]={href:r[2],title:r[3]});else if((r=this.rules.table.exec(e))&&(l={type:"table",header:b(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(r[0].length),h=0;h<l.align.length;h++)/^ *-+: *$/.test(l.align[h])?l.align[h]="right":/^ *:-+: *$/.test(l.align[h])?l.align[h]="center":/^ *:-+ *$/.test(l.align[h])?l.align[h]="left":l.align[h]=null;for(h=0;h<l.cells.length;h++)l.cells[h]=b(l.cells[h].replace(/^ *\| *| *\| *$/g,""),l.header.length);this.tokens.push(l)}else if(r=this.rules.lheading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:"="===r[2].charAt(0)?1:2,text:r[1]});else if(t&&(r=this.rules.paragraph.exec(e)))e=e.substring(r[0].length),this.tokens.push({type:"paragraph",text:"\n"===r[1].charAt(r[1].length-1)?r[1].slice(0,-1):r[1]});else if(r=this.rules.text.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"text",text:r[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var o={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:g,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function r(e,t){if(this.options=t||x.defaults,this.links=e,this.rules=o.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=o.pedantic:this.options.gfm&&(this.options.breaks?this.rules=o.breaks:this.rules=o.gfm)}function a(e){this.options=e||x.defaults}function s(){}function l(e){this.tokens=[],this.token=null,this.options=e||x.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new c}function c(){this.seen={}}function u(e,t){if(t){if(u.escapeTest.test(e))return e.replace(u.escapeReplace,(function(e){return u.replacements[e]}))}else if(u.escapeTestNoEncode.test(e))return e.replace(u.escapeReplaceNoEncode,(function(e){return u.replacements[e]}));return e}function f(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function p(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t,n){if(e){try{var i=decodeURIComponent(f(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!m.test(n)&&(n=function(e,t){h[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?h[" "+e]=e+"/":h[" "+e]=v(e,"/",!0));return e=h[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}o._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",o.em=p(o.em).replace(/punctuation/g,o._punctuation).getRegex(),o._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=p(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,o.tag=p(o.tag).replace("comment",n._comment).replace("attribute",o._attribute).getRegex(),o._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,o._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,o._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,o.link=p(o.link).replace("label",o._label).replace("href",o._href).replace("title",o._title).getRegex(),o.reflink=p(o.reflink).replace("label",o._label).getRegex(),o.normal=y({},o),o.pedantic=y({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",o._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o._label).getRegex()}),o.gfm=y({},o.normal,{escape:p(o.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),o.gfm.url=p(o.gfm.url,"i").replace("email",o.gfm._extended_email).getRegex(),o.breaks=y({},o.gfm,{br:p(o.br).replace("{2,}","*").getRegex(),text:p(o.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),r.rules=o,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,i,o,a,s,l="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),l+=u(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0];else if(a=this.rules.link.exec(e)){var c=k(a[2],"()");if(c>-1){var f=4+a[1].length+c;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,f).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,i=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=t[1],o=t[3]):o="":o=a[3]?a[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:r.escapes(i),title:r.escapes(o)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(u(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),i="@"===a[2]?"mailto:"+(n=u(this.mangle(a[1]))):n=u(a[1]),l+=this.renderer.link(i,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?l+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):u(a[0]):a[0]):l+=this.renderer.text(u(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])i="mailto:"+(n=u(a[0]));else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=u(a[0]),i="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),l+=this.renderer.link(i,null,n)}return l},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=t.href,i=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,u(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",i=e.length,o=0;o<i;o++)t=e.charCodeAt(o),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,i);null!=o&&o!==e&&(n=!0,e=o)}return i?'<pre><code class="'+this.options.langPrefix+u(i,!0)+'">'+(n?e:u(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+u(e)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},a.prototype.image=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,y({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop(),this.token},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,f(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,i,o="",r="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});r+=this.renderer.tablerow(n)}return this.renderer.table(o,r);case"blockquote_start":for(r="";"blockquote_end"!==this.next().type;)r+=this.tok();return this.renderer.blockquote(r);case"list_start":r="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)r+=this.tok();return this.renderer.list(r,a,s);case"list_item_start":r="";var l=this.token.loose,c=this.token.checked,u=this.token.task;for(this.token.task&&(r+=this.renderer.checkbox(c));"list_item_end"!==this.next().type;)r+=l||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(r,u,c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var p='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(p);console.log(p)}},c.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var h={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function y(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function b(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var i=!1,o=t;--o>=0&&"\\"===n[o];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function v(e,t,n){if(0===e.length)return"";for(var i=0;i<e.length;){var o=e.charAt(e.length-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,e.length-i)}function k(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&--n<0)return i;return-1}function w(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function x(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),w(t=y({},x.defaults,t||{}));var o,r,a=t.highlight,s=0;try{o=i.lex(e,t)}catch(e){return n(e)}r=o.length;var c=function(e){if(e)return t.highlight=a,n(e);var i;try{i=l.parse(o,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,i)};if(!a||a.length<3)return c();if(delete t.highlight,!r)return c();for(;s<o.length;s++)!function(e){"code"!==e.type?--r||c():a(e.text,e.lang,(function(t,n){return t?c(t):null==n||n===e.text?--r||c():(e.text=n,e.escaped=!0,void(--r||c()))}))}(o[s])}else try{return t&&(t=y({},x.defaults,t)),w(t),l.parse(i.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||x.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}g.exec=g,x.options=x.setOptions=function(e){return y(x.defaults,e),x},x.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},x.defaults=x.getDefaults(),x.Parser=l,x.parser=l.parse,x.Renderer=a,x.TextRenderer=s,x.Lexer=i,x.lexer=i.lex,x.InlineLexer=r,x.inlineLexer=r.output,x.Slugger=c,x.parse=x,e.exports=x}(this||"undefined"!=typeof window&&window)}).call(this,n(73))},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var i=n(3),o=n.n(i),r=n(4),a=n.n(r),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(1),p=n.n(f),d=n(0),h={};h.book=Object(d.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",x:"0",y:"0",viewBox:"0 0 24 24"},Object(d.createElement)("path",{fill:"none",d:"M0 0H24V24H0z"}),Object(d.createElement)("path",{d:"M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zM3 18.5V7c1.1-.35 2.3-.5 3.5-.5 1.34 0 3.13.41 4.5.99v11.5C9.63 18.41 7.84 18 6.5 18c-1.2 0-2.4.15-3.5.5zm18 0c-1.1-.35-2.3-.5-3.5-.5-1.34 0-3.13.41-4.5.99V7.49c1.37-.59 3.16-.99 4.5-.99 1.2 0 2.4.15 3.5.5v11.5z"}),Object(d.createElement)("path",{d:"M11 7.49c-1.37-.58-3.16-.99-4.5-.99-1.2 0-2.4.15-3.5.5v11.5c1.1-.35 2.3-.5 3.5-.5 1.34 0 3.13.41 4.5.99V7.49z",opacity:"0.3"}),Object(d.createElement)("g",null,Object(d.createElement)("path",{d:"M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.28 0-2.46.16-3.5.47v1.57c.99-.35 2.18-.54 3.5-.54zM17.5 13.16c.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.28 0-2.46.16-3.5.47v1.57c.99-.34 2.18-.54 3.5-.54zM17.5 15.83c.88 0 1.73.09 2.5.26v-1.52c-.79-.15-1.64-.24-2.5-.24-1.28 0-2.46.16-3.5.47v1.57c.99-.35 2.18-.54 3.5-.54z"})));var m=h,g=n(171),y=n.n(g),b=n(2);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return u()(this,n)}}var k=wp.i18n.__,w=wp.element,x=w.Fragment,_=w.Component,O=wp.components,S=O.Button,j=O.Modal,E=function(e){l()(n,e);var t=v(n);function n(){var e;return o()(this,n),(e=t.apply(this,arguments)).state={isOpen:!1,isLoaded:!1,html:""},e}return a()(n,[{key:"openModal",value:function(e){var t=this;fetch(window.editorskitSettings.url+"docs/"+e).then((function(e){return e.text()})).then((function(e){return t.setState({html:y()(e),isLoaded:!0,isOpen:!0})}))}},{key:"render",value:function(){var e=this,t=[{title:k("Adding Selected Text Color","block-options"),name:"text-color-format.md"},{title:k("Adding Highlighted Text Background Color","block-options"),name:"background-color-format.md"},{title:k('Adding Link "rel" NoFollow or Sponsored Attributes',"block-options"),name:"link-attributes-format.md"},{title:k("Subscript and Superscript Text Formatting","block-options"),name:"subscript-superscript-format.md"},{title:k("Justified Paragraph Alignment","block-options"),name:"justified-alignment-format.md"},{title:k("Transform Text to Uppercase","block-options"),name:"uppercase-text-format.md"},{title:k("Add Nonbreaking Space","block-options"),name:"nonbreaking-space-format.md"},{title:k("Clear Formatting","block-options"),name:"clear-formatting-format.md"}],n=[{title:k("Markdown Writing Shortcuts","block-options"),name:"markdown-writing.md"},{title:k("View or Add Estimated Reading Time","block-options"),name:"estimated-reading-time-writing.md"},{title:k("Transform 3 Empty Paragraphs to Spacer Block","block-options"),name:"transform-empty-spacer-writing.md"}],i=[{title:k("Set Image Block as Featured Image","block-options"),name:"set-image-as-featured-options.md"},{title:k("Export and Import Blocks","block-options"),name:"export-import-block-options.md"},{title:k("Copy Selected Block(s)","block-options"),name:"copy-selected-blocks-options.md"},{title:k("Media & Text Block Card Layout","block-options"),name:"media-text-block-layout-options.md"},{title:k("Media & Text Block Links","block-options"),name:"media-text-block-link-options.md"},{title:k("Changing List Block Font Size & Text Color","block-options"),name:"list-block-options.md"}],o=[{title:k("Easily Hide Title","block-options"),name:"hide-title-tools.md"},{title:k("Drag and Drop Featured Image","block-options"),name:"drag-drop-featured-image-tools.md"},{title:k("Code Editor Syntax Highlighter","block-options"),name:"syntax-highlighter-tools.md"},{title:k("Enable Block Guide Lines","block-options"),name:"block-guidelines-tools.md"},{title:k("Additional CSS Class(es) Auto Suggestions","block-options"),name:"custom-classnames-tools.md"},{title:k("Accessible Help, Tips & Tricks","block-options"),name:"tips-tricks-tools.md"},{title:k("Enable Developer Tools","block-options"),name:"developer-tools.md"}],r=[{title:k("Block Visibility on Desktop, Mobile or Tablet","block-options"),name:"devices-visibility.md"},{title:k("Hide Block on Logged-in/out Users","block-options"),name:"user-state-visibility.md"},{title:k("Using Custom Display Logic","block-options"),name:"display-logic-visibility.md"}],a=[{title:k("Display Cover and Image Blocks in Fullscreen","block-options"),name:"fullscreen-styling.md"},{title:k("More Image & Cover Block Styles","block-options"),name:"image-cover-styles-styling.md"},{title:k("Additional List Block Styles","block-options"),name:"list-block-styles-styling.md"}];return Object(d.createElement)(x,null,Object(d.createElement)("p",null,k("Learn more about each EditorsKit features with the tutorials below. Click on the link to open a modal pop-up with detailed explanation and animated GIF previewing how the features work.","block-options")),Object(d.createElement)("div",{className:"editorskit-docs-items-wrapper"},Object(d.createElement)("div",{className:"editorskit-docs-items-formatting"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Rich Text Formatting","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(t,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))})))),Object(d.createElement)("div",{className:"editorskit-docs-items-writing"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Writing","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(n,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))})))),Object(d.createElement)("div",{className:"editorskit-docs-items-blockoptions"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Block Options","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(i,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))})))),Object(d.createElement)("div",{className:"editorskit-docs-items-tools"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Tools","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(o,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))})))),Object(d.createElement)("div",{className:"editorskit-docs-items-visibility"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Block Visibility","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(r,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))})))),Object(d.createElement)("div",{className:"editorskit-docs-items-styling"},Object(d.createElement)("h3",{className:"editorskit-docs-items-title"},k("Block Styling","block-options")),Object(d.createElement)("ul",{className:"editorskit-docs-items-list"},Object(b.map)(a,(function(t){return Object(d.createElement)("li",null,Object(d.createElement)(S,{onClick:function(){e.openModal(t.name)}},t.title))}))))),this.state.isOpen&&this.state.isLoaded?Object(d.createElement)(j,{title:k("Documentation","block-options"),icon:m.book,onRequestClose:function(){return e.setState({html:"",isOpen:!1,isLoaded:!1})},className:"editorskit-modal-component components-modal--editorskit-docs"},Object(d.createElement)("div",{className:"components-modal--editorskit-doc",dangerouslySetInnerHTML:{__html:this.state.html}})):null)}}]),n}(_),C=n(69),M=n(17),T=n.n(M),A=wp.element.Fragment,R=wp.blockEditor.BlockIcon,z=wp.components.CheckboxControl;var L=function(e){var t=e.blockTypes,n=e.value,i=e.onItemChange;return Object(d.createElement)("ul",{className:"edit-post-manage-blocks-modal__checklist"},t.map((function(e){return Object(d.createElement)("li",{key:e.name,className:"edit-post-manage-blocks-modal__checklist-item"},Object(d.createElement)(z,{label:Object(d.createElement)(A,null,e.title,Object(d.createElement)(R,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(b.partial)(i,e.name)}))})))},N=wp.data,P=N.withSelect,D=N.withDispatch,V=wp.compose,F=V.compose,B=V.withInstanceId,$=wp.components.CheckboxControl;var H=F([B,P((function(e){return{hiddenBlockTypes:(0,e("core/edit-post").getPreference)("hiddenBlockTypes")}})),D((function(e,t){var n=e("core/edit-post"),i=n.showBlockTypes,o=n.hideBlockTypes;return{toggleVisible:function(e,t){t?i(e):o(e)},toggleAllVisible:function(e){var n=Object(b.map)(t.blockTypes,"name");e?i(n):o(n)}}}))])((function(e){var t=e.instanceId,n=e.category,i=e.blockTypes,o=e.hiddenBlockTypes,r=e.toggleVisible,a=e.toggleAllVisible;if(!i.length)return null;var s,l=b.without.apply(void 0,[Object(b.map)(i,"name")].concat(T()(o))),c="edit-post-manage-blocks-modal__category-title-"+t,u=l.length===i.length;return s=u?"true":l.length>0?"mixed":"false",Object(d.createElement)("div",{role:"group","aria-labelledby":c,className:"edit-post-manage-blocks-modal__category"},Object(d.createElement)($,{checked:u,onChange:a,className:"edit-post-manage-blocks-modal__category-title","aria-checked":s,label:Object(d.createElement)("span",{id:c},n.title)}),Object(d.createElement)(L,{blockTypes:i,value:l,onItemChange:r}))})),I=wp.i18n,G=I.__,K=I._n,U=I.sprintf,q=wp.data.withSelect,W=wp.compose,Z=W.compose,J=W.withState,Q=wp.components.TextControl,Y=wp.blocks.getBlockTypes;var X=Z([J({search:""}),q((function(e){var t=e("core/blocks"),n=t.getCategories,i=t.hasBlockSupport,o=t.isMatchingSearchTerm,r=(0,e("core/edit-post").getPreference)("hiddenBlockTypes"),a=Object(b.isArray)(r)&&r.length;return{blockTypes:Y(),categories:n(),hasBlockSupport:i,isMatchingSearchTerm:o,numberOfHiddenBlocks:a}}))])((function(e){var t=e.search,n=e.setState,i=e.blockTypes,o=e.categories,r=e.hasBlockSupport,a=e.isMatchingSearchTerm,s=e.numberOfHiddenBlocks;return i=i.filter((function(e){return r(e,"inserter",!0)&&(!t||a(e,t))&&!e.parent})),Object(d.createElement)("div",{className:"edit-post-manage-blocks-modal__content"},Object(d.createElement)(Q,{type:"search",label:G("Search for a block","block-options"),value:t,onChange:function(e){return n({search:e})},className:"edit-post-manage-blocks-modal__search"}),!!s&&Object(d.createElement)("div",{className:"edit-post-manage-blocks-modal__disabled-blocks-count"},U(K("%1$d block is disabled.","%1$d blocks are disabled.",s),s)),Object(d.createElement)("div",{tabIndex:"0",role:"region","aria-label":G("Available block types","block-options"),className:"edit-post-manage-blocks-modal__results"},0===i.length&&Object(d.createElement)("p",{className:"edit-post-manage-blocks-modal__no-results"},G("No blocks found.","block-options")),o.map((function(e){return Object(d.createElement)(H,{key:e.slug,category:e,blockTypes:Object(b.filter)(i,{category:e.slug})})}))))})),ee=wp.i18n.__,te=wp.element.Fragment,ne=(0,wp.components.withFilters)("editorskit.addOn.extraPanel")((function(){return Object(d.createElement)(te,null,Object(d.createElement)("p",null,ee("This area provide settings for all activated EditorsKit add ons.","block-options")))})),ie=wp.data,oe=ie.useSelect,re=ie.useDispatch,ae=wp.components.SnackbarList;function se(){var e=oe((function(e){return e("core/notices").getNotices().filter((function(e){return"snackbar"===e.type}))}),[]),t=re("core/notices").removeNotice;return Object(d.createElement)(ae,{className:"components-editor-notices__snackbar",notices:e,onRemove:t})}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return u()(this,n)}}var ce=wp.i18n,ue=ce.__,fe=ce.sprintf,pe=wp.blockLibrary.registerCoreBlocks,de=wp.hooks.hasFilter,he=wp.element,me=he.Fragment,ge=he.Component,ye=he.RawHTML,be=he.render,ve=wp.components,ke=ve.TabPanel,we=ve.Panel,xe=ve.PanelBody,_e=ve.PanelRow,Oe=ve.Button,Se=function(e){l()(n,e);var t=le(n);function n(){return o()(this,n),t.apply(this,arguments)}return a()(n,[{key:"render",value:function(){var e=[{name:"ek-getting-started",title:ue("Getting Started","block-options"),className:"ek-settings-getting-started"},{name:"ek-docs",title:ue("Tutorial and Docs","block-options"),className:"ek-settings-docs"},{name:"ek-features-manager",title:ue("Features Manager","block-options"),className:"ek-settings-features-manager"},{name:"ek-blocks-manager",title:ue("Blocks Manager","block-options"),className:"ek-settings-blocks-manager"}];e.push({name:"ek-addons",title:ue("Extensions","block-options"),className:"ek-settings-addons"});var t=function(){return Object(d.createElement)(ke,{className:"editorskit-settings-tab-panel",activeClass:"active-tab",tabs:e},(function(e){switch(e.name){case"ek-getting-started":return Object(d.createElement)(me,null,Object(d.createElement)("div",{className:"editorskit-started-items-wrapper"},Object(d.createElement)("div",{className:"editorskit-started-item"},Object(d.createElement)("p",null,ue("EditorsKit provides set of tools to extend the way you are building content on WordPress Gutenberg block editor. Designed and integrated to help users easily navigate; and control each block the way it should be.","block-options"))),Object(d.createElement)("div",{className:"editorskit-started-item"},Object(d.createElement)("iframe",{title:ue("EditorsKit video preview","block-options"),width:"560",height:"380",src:"https://www.youtube.com/embed/QWgO4lAJAlE",frameBorder:"0",allowFullScreen:!0})),Object(d.createElement)("div",{className:"editorskit-started-item"},Object(d.createElement)(ye,null,fe(ue("If you have any questions or suggestion, let us know through %1$sTwitter%4$s or our %2$sFacebook community %4$s. Also, %3$ssubscribe to our newsletter%4$s if you want to stay up to date with what's new and upcoming at EditorsKit.","block-options"),'<a href="https://twitter.com/editorskit" target="_blank">','<a href="https://www.facebook.com/groups/1306393256173179/" target="_blank">','<a href="https://editorskit.com/" target="_blank">',"</a>")))));case"ek-docs":return Object(d.createElement)(E,null);case"ek-features-manager":return Object(d.createElement)(me,null,Object(d.createElement)("p",null,ue('All features are active by default but you have complete control over each one of them. Disable any features do not want to use and re-enable them anytime on this page or under the "EditorsKit Settings" on Gutenberg editor. Just uncheck the box and it will automatically be saved.',"block-options")),Object(d.createElement)("div",{className:"editorskit-features-manager-items-wrapper"},Object(d.createElement)(C.a,null)));case"ek-blocks-manager":return Object(d.createElement)(me,null,Object(d.createElement)("p",null,ue("Manage each individual blocks! You can enable or disable any blocks you want and it will be reflected on Gutenberg block manager settings. Just uncheck the box and it will automatically be saved.","block-options")),Object(d.createElement)(X,null));case"ek-addons":return de("editorskit.addOn.extraPanel")?Object(d.createElement)(ne,null):Object(d.createElement)(me,null,Object(d.createElement)("div",{className:"ek-addons-list"},Object(d.createElement)("div",{className:"ek-extension"},Object(d.createElement)("h3",{className:"edd-extension-title"},ue("Typography and Google Fonts","block-options")),Object(d.createElement)("p",null,ue("Easily define typography on your WordPress posts and pages directly on the Gutenberg editor. With sets of predefined Google Fonts combination you can choose from or create your own to best match your website's branding.","block-options")),Object(d.createElement)(Oe,{isDefault:!0,isSecondary:!0,href:"https://editorskit.com/wordpress-gutenberg-editor-typography-and-google-fonts-add-on/",target:"_blank"},ue("Get this Extension","block-options")))))}}))};return Object(d.createElement)(me,null,Object(d.createElement)((function(){return Object(d.createElement)(we,null,Object(d.createElement)(xe,{opened:!0},Object(d.createElement)("div",{className:"components-panel__header"},Object(d.createElement)("p",{className:"editorskit-panel__header-hint"},ue("Settings → EditorsKit","block-options")),Object(d.createElement)("h2",null,ue("Getting Started with","block-options")," ",Object(d.createElement)("strong",null,"EditorsKit"),Object(d.createElement)("code",null,window.editorskitSettings.version)),Object(d.createElement)("p",null,ue('Congratulations! You\'ve just unlocked more Gutenberg block editor tools for easier editing and better workflow. Check more information about the plugin below and please make sure to navigate through "Tutorials and Docs" tab to learn more on how to use each available features.',"block-options"))),Object(d.createElement)(_e,null,Object(d.createElement)(t,null))))}),null),Object(d.createElement)(se,null))}}]),n}(ge);wp.domReady((function(){pe(),be(Object(d.createElement)(Se,null),document.querySelector(".editorskit-settings-wrap"))}));var je=n(25),Ee=n.n(je),Ce=n(47),Me=n(70),Te=wp.i18n.__,Ae=wp.hooks.addFilter,Re=wp.coreData.useEntityProp,ze=wp.element,Le=ze.Fragment,Ne=ze.useCallback,Pe=ze.useEffect,De=wp.data.useDispatch,Ve=wp.components,Fe=Ve.PanelBody,Be=Ve.PanelRow,$e=Ve.ToggleControl;Ae("editorskit.addOn.extraPanel","editorskit/typography-settings",(function(e){return function(t){var n=Re("root","site","editorskit_typography_enabled"),i=Ee()(n,2),o=i[0],r=i[1],a=De("core").saveEditedEntityRecord,s=De("core/edit-post").toggleFeature,l=Ne((function(){a("root","site")}),[]);return Pe((function(){wp.data.select("core/edit-post").isFeatureActive("disableEditorsKitTypography")===!o?(s("disableEditorsKitTypography"),s("disableEditorsKitTypography")):s("disableEditorsKitTypography")}),[o]),Object(d.createElement)(Le,null,Object(d.createElement)(e,t),Object(d.createElement)("div",{className:"editorskit-typography-admin-settings"},Object(d.createElement)($e,{label:Te("Typography Add-on Enabled","editorskit-typography-addon"),checked:o,onChange:function(e){r(e),l(e)}}),Object(d.createElement)("br",null),Object(d.createElement)(Fe,{title:Te("Typography Settings","editorskit-typography-addon"),icon:Ce.a.typography,initialOpen:!1},Object(d.createElement)(Be,null,Object(d.createElement)("div",{className:"editorskit-typography-admin-settings--items"},Object(d.createElement)(Me.a,{settingsPanel:!0}))))))}}))}]);