Gutenberg - Version 9.8.2

Version Description

Download this release

Release Info

Developer gutenbergplugin
Plugin Icon 128x128 Gutenberg
Version 9.8.2
Comparing to
See all releases

Code changes from version 9.8.1 to 9.8.2

build/blocks/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => 'f499779b03332f93474a64a2d94fde22');
1
+ <?php return array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => '5011a86e7df3f81b4e1b4e23a85e6646');
build/blocks/index.js CHANGED
@@ -1,4 +1,4 @@
1
- window.wp=window.wp||{},window.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=382)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},109:function(e,t){e.exports=window.wp.autop},12:function(e,t){e.exports=window.wp.compose},122:function(e,t){e.exports=window.wp.shortcode},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(23),a=r(37),o=r(30);function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||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.")}()}},141:function(e,t,r){"use strict";var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),a=new Uint8Array(16);function o(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}for(var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&i.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r}(n)}},144:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(38),a=r(37),o=r(30),i=r(39);function s(e){return Object(n.a)(e)||Object(a.a)(e)||Object(o.a)(e)||Object(i.a)()}},154:function(e,t,r){"use strict";var n=r(0),a=r(7),o=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=o},2:function(e,t){e.exports=window.lodash},23:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},25:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},255:function(e,t){e.exports=window.wp.blockSerializationDefaultParser},256:function(e,t,r){var n;(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var o={},i={},s={},c=a(!0),u="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return n.valid=!1,n.error=i+"must be an object, but "+typeof s+" given",n;if(!o.helper.isString(s.type))return n.valid=!1,n.error=i+'property "type" must be a string, but '+typeof s.type+" given",n;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return n.valid=!1,n.error=i+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===c){if(o.helper.isUndefined(s.listeners))return n.valid=!1,n.error=i+'. Extensions of type "listener" must have a property called "listeners"',n}else if(o.helper.isUndefined(s.filter)&&o.helper.isUndefined(s.regex))return n.valid=!1,n.error=i+c+' extensions must define either a "regex" property or a "filter" method',n;if(s.listeners){if("object"!=typeof s.listeners)return n.valid=!1,n.error=i+'"listeners" property must be an object but '+typeof s.listeners+" given",n;for(var u in s.listeners)if(s.listeners.hasOwnProperty(u)&&"function"!=typeof s.listeners[u])return n.valid=!1,n.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+u+" must be a function but "+typeof s.listeners[u]+" given",n}if(s.filter){if("function"!=typeof s.filter)return n.valid=!1,n.error=i+'"filter" must be a function, but '+typeof s.filter+" given",n}else if(s.regex){if(o.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return n.valid=!1,n.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",n;if(o.helper.isUndefined(s.replace))return n.valid=!1,n.error=i+'"regex" extensions must implement a replace string or function',n}}return n}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}o.helper={},o.extensions={},o.setOption=function(e,t){"use strict";return c[e]=t,this},o.getOption=function(e){"use strict";return c[e]},o.getOptions=function(){"use strict";return c},o.resetOptions=function(){"use strict";c=a(!0)},o.setFlavor=function(e){"use strict";if(!l.hasOwnProperty(e))throw Error(e+" flavor was not found");o.resetOptions();var t=l[e];for(var r in u=e,t)t.hasOwnProperty(r)&&(c[r]=t[r])},o.getFlavor=function(){"use strict";return u},o.getFlavorOptions=function(e){"use strict";if(l.hasOwnProperty(e))return l[e]},o.getDefaultOptions=function(e){"use strict";return a(e)},o.subParser=function(e,t){"use strict";if(o.helper.isString(e)){if(void 0===t){if(i.hasOwnProperty(e))return i[e];throw Error("SubParser named "+e+" not registered!")}i[e]=t}},o.extension=function(e,t){"use strict";if(!o.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=o.helper.stdExtName(e),o.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),o.helper.isArray(t)||(t=[t]);var r=d(t,e);if(!r.valid)throw Error(r.error);s[e]=t},o.getAllExtensions=function(){"use strict";return s},o.removeExtension=function(e){"use strict";delete s[e]},o.resetExtensions=function(){"use strict";s={}},o.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},o.hasOwnProperty("helper")||(o.helper={}),o.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},o.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},o.helper.isArray=function(e){"use strict";return Array.isArray(e)},o.helper.isUndefined=function(e){"use strict";return void 0===e},o.helper.forEach=function(e,t){"use strict";if(o.helper.isUndefined(e))throw new Error("obj param is required");if(o.helper.isUndefined(t))throw new Error("callback param is required");if(!o.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(o.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var n in e)e.hasOwnProperty(n)&&t(e[n],n,e)}},o.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},o.helper.escapeCharactersCallback=f,o.helper.escapeCharacters=function(e,t,r){"use strict";var n="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);var a=new RegExp(n,"g");return e.replace(a,f)},o.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var p=function(e,t,r,n){"use strict";var a,o,i,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),p=[];do{for(a=0;i=d.exec(e);)if(f.test(i[0]))a++||(s=(o=d.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var h={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(p.push(h),!l)return p}}while(a&&(d.lastIndex=o));return p};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=p(e,t,r,n),o=[],i=0;i<a.length;++i)o.push([e.slice(a[i].wholeMatch.start,a[i].wholeMatch.end),e.slice(a[i].match.start,a[i].match.end),e.slice(a[i].left.start,a[i].left.end),e.slice(a[i].right.start,a[i].right.end)]);return o},o.helper.replaceRecursiveRegExp=function(e,t,r,n,a){"use strict";if(!o.helper.isFunction(t)){var i=t;t=function(){return i}}var s=p(e,r,n,a),c=e,u=s.length;if(u>0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<u;++d)l.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<u-1&&l.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[u-1].wholeMatch.end<e.length&&l.push(e.slice(s[u-1].wholeMatch.end)),c=l.join("")}return c},o.helper.regexIndexOf=function(e,t,r){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==0)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var n=e.substring(r||0).search(t);return n>=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=u,f={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter)),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i)switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(o.extensions[e],e);if(o.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i])}if(e[i].hasOwnProperty("listeners"))for(var c in e[i].listeners)e[i].listeners.hasOwnProperty(c)&&h(c,e[i].listeners[c])}}function h(e,t){if(!o.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");a.hasOwnProperty(e)||(a[e]=[]),a[e].push(t)}!function(){for(var r in e=e||{},c)c.hasOwnProperty(r)&&(t[r]=c[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.extensions&&o.helper.forEach(t.extensions,p)}(),this._dispatch=function(e,t,r,n){if(a.hasOwnProperty(e))for(var o=0;o<a[e].length;++o){var i=a[e][o](e,t,this,r,n);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return h(e,t),this},this.makeHtml=function(e){if(!e)return e;var a={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:n,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,r=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(r,"")}(e)),e="\n\n"+e+"\n\n",e=(e=o.subParser("detab")(e,t,a)).replace(/^[ \t]+$/gm,""),o.helper.forEach(r,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),e=o.subParser("metadata")(e,t,a),e=o.subParser("hashPreCodeTags")(e,t,a),e=o.subParser("githubCodeBlocks")(e,t,a),e=o.subParser("hashHTMLBlocks")(e,t,a),e=o.subParser("hashCodeTags")(e,t,a),e=o.subParser("stripLinkDefinitions")(e,t,a),e=o.subParser("blockGamut")(e,t,a),e=o.subParser("unhashHTMLSpans")(e,t,a),e=(e=(e=o.subParser("unescapeSpecialChars")(e,t,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=o.subParser("completeHTMLDocument")(e,t,a),o.helper.forEach(n,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),f=a.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n<t.length;++n)if(1===t[n].childElementCount&&"code"===t[n].firstChild.tagName.toLowerCase()){var a=t[n].firstChild.innerHTML.trim(),i=t[n].firstChild.getAttribute("data-language")||"";if(""===i)for(var s=t[n].firstChild.className.split(" "),c=0;c<s.length;++c){var u=s[c].match(/^language-(.+)$/);if(null!==u){i=u[1];break}}a=o.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+i+'" precodenum="'+n.toString()+'"></precode>'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r<t.childNodes.length;++r){var n=t.childNodes[r];3===n.nodeType?/\S/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(n),--r):1===n.nodeType&&e(n)}}(r);for(var a=r.childNodes,i="",s=0;s<a.length;s++)i+=o.subParser("makeMarkdown.node")(a[s],n);return i},this.setOption=function(e,r){t[e]=r},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){p(e,t=t||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(!l.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=l[e];for(var n in i=e,r)r.hasOwnProperty(n)&&(t[n]=r[n])},this.getFlavor=function(){return i},this.removeExtension=function(e){o.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var a=e[t],i=0;i<r.length;++i)r[i]===a&&r[i].splice(i,1);for(;0<n.length;++i)n[0]===a&&n[0].splice(i,1)}},this.getAllExtensions=function(){return{language:r,output:n}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},o.subParser("anchors",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){if(o.helper.isUndefined(u)&&(u=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(u=r.gTitles[a])}var l='<a href="'+(i=i.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"';return""!==u&&null!==u&&(l+=' title="'+(u=(u=u.replace(/"/g,"&quot;")).replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(l+=' rel="noopener noreferrer" target="¨E95Eblank"'),l+">"+n+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+c+">"+a+"</a>"}))),r.converter._dispatch("anchors.after",e,t,r)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,b=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,v=function(e){"use strict";return function(t,r,n,a,i,s,c){var u=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),l="",d="",f=r||"",p=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'<a href="'+n+'"'+d+">"+u+"</a>"+l+p}},w=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+'<a href="'+i+'">'+a+"</a>"}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(b,v(t))).replace(_,w(t,r)),r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,v(t)):e.replace(h,v(t))).replace(m,w(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return(r=r.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";return e=r.converter._dispatch("codeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="<pre><code>"+i+c+"</code></pre>",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+"<code>"+(s=o.subParser("encodeCode")(s,t,r))+"</code>",o.subParser("hashHTMLSpans")(s,t,r)})),r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":o="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n';break;default:c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+o+i+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a<n;a++)r+=" ";return r}))).replace(/¨A/g," ")).replace(/¨B/g,""),r.converter._dispatch("detab.after",e,t,r)})),o.subParser("ellipsis",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),r.converter._dispatch("ellipsis.after",e,t,r)})),o.subParser("emoji",(function(e,t,r){"use strict";return t.emoji?(e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,(function(e,t){return o.helper.emojis.hasOwnProperty(t)?o.helper.emojis[t]:e})),r.converter._dispatch("emoji.after",e,t,r)):e})),o.subParser("encodeAmpsAndAngles",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=r.converter._dispatch("encodeAmpsAndAngles.before",e,t,r)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";return e=r.converter._dispatch("hashCodeTags.before",e,t,r),e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var i=0;i<n.length;++i)for(var s,c=new RegExp("^ {0,3}(<"+n[i]+"\\b[^>]*>)","im"),u="<"+n[i]+"\\b[^>]*>",l="</"+n[i]+">";-1!==(s=o.helper.regexIndexOf(e,c));){var d=o.helper.splitAtIndex(e,s),f=o.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n<r.gHtmlSpans.length;++n){for(var a=r.gHtmlSpans[n],o=0;/¨C(\d+)C/.test(a);){var i=RegExp.$1;if(a=a.replace("¨C"+i+"C",r.gHtmlSpans[i]),10===o){console.error("maximum nesting of 10 spans reached!!!");break}++o}e=e.replace("¨C"+n+"C",a)}return r.converter._dispatch("unhashHTMLSpans.after",e,t,r)})),o.subParser("hashPreCodeTags",(function(e,t,r){"use strict";return e=r.converter._dispatch("hashPreCodeTags.before",e,t,r),e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u="<h"+n+s+">"+i+"</h"+n+">";return o.subParser("hashBlock")(u,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l="<h"+u+s+">"+i+"</h"+u+">";return o.subParser("hashBlock")(l,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var u=o.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(i)+'"',d=n-1+a.length,f="<h"+d+l+">"+u+"</h"+d+">";return o.subParser("hashBlock")(f,t,r)})),r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,o.helper.isUndefined(l[n]))return e;a=l[n],o.helper.isUndefined(d[n])||(u=d[n]),o.helper.isUndefined(f[n])||(i=f[n].width,s=f[n].height)}t=t.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var p='<img src="'+(a=a.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'" alt="'+t+'"';return u&&o.helper.isString(u)&&(p+=' title="'+(u=u.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),i&&s&&(p+=' width="'+(i="*"===i?"auto":i)+'"',p+=' height="'+(s="*"===s?"auto":s)+'"'),p+" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,0,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),r.converter._dispatch("italicsAndBold.after",e,t,r)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,u,l){l=l&&""!==l.trim();var d=o.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return l&&(e+=" checked"),e+">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),n||d.search(/\n{2,}/)>-1?(d=o.subParser("githubCodeBlocks")(d,t,r),d=o.subParser("blockGamut")(d,t,r)):(d=(d=o.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=o.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=i?o.subParser("paragraphs")(d,t,r):o.subParser("spanGamut")(d,t,r)),"<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!o)+"</"+r+">\n",c="ul"==(r="ul"===r?"ol":"ul")?i:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!o)+"</"+r+">\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!o)+"</"+r+">\n"}return u}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s<i;s++){var c=n[s];c.search(/¨(K|G)(\d+)\1/g)>=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",a.push(c))}for(i=a.length,s=0;s<i;s++){for(var u="",l=a[s],d=!1;/¨(K|G)(\d+)\1/.test(l);){var f=RegExp.$1,p=RegExp.$2;u=(u="K"===f?r.gHtmlBlocks[p]:d?o.subParser("encodeCode")(r.ghCodeBlocks[p].text,t,r):r.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),l=l.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,u),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return"<td"+n+">"+o.subParser("spanGamut")(e,t,r)+"</td>\n"}function a(e){var a,i=e.split("\n");for(a=0;a<i.length;++a)/^ {0,3}\|/.test(i[a])&&(i[a]=i[a].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[a])&&(i[a]=i[a].replace(/\|[ \t]*$/,"")),i[a]=o.subParser("codeSpans")(i[a],t,r);var s,c,u,l,d=i[0].split("|").map((function(e){return e.trim()})),f=i[1].split("|").map((function(e){return e.trim()})),p=[],h=[],g=[],b=[];for(i.shift(),i.shift(),a=0;a<i.length;++a)""!==i[a].trim()&&p.push(i[a].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(a=0;a<f.length;++a)g.push((s=f[a],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(a=0;a<d.length;++a)o.helper.isUndefined(g[a])&&(g[a]=""),h.push((c=d[a],u=g[a],l=void 0,l="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(l=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+l+u+">"+(c=o.subParser("spanGamut")(c,t,r))+"</th>\n"));for(a=0;a<p.length;++a){for(var m=[],_=0;_<h.length;++_)o.helper.isUndefined(p[a][_]),m.push(n(p[a][_],g[_]));b.push(m)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",n=e.length,a=0;a<n;++a)r+=e[a];for(r+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){r+="<tr>\n";for(var o=0;o<n;++o)r+=t[a][o];r+="</tr>\n"}return r+"</tbody>\n</table>\n"}(h,b)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i){var s=o.subParser("makeMarkdown.node")(n[i],t);""!==s&&(r+=s)}return"> "+(r=r.trim()).split("\n").join("\n> ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="*"}return r})),o.subParser("makeMarkdown.header",(function(e,t,r){"use strict";var n=new Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var i=e.childNodes,s=i.length,c=0;c<s;++c)a+=o.subParser("makeMarkdown.node")(i[c],t)}return a})),o.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),o.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c<i;++c)void 0!==a[c].tagName&&"li"===a[c].tagName.toLowerCase()&&(n+=("ol"===r?s.toString()+". ":"- ")+o.subParser("makeMarkdown.listItem")(a[c],t),++s);return(n+="\n\x3c!-- --\x3e\n").trim()})),o.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var r="",n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),o.subParser("makeMarkdown.node",(function(e,t,r){"use strict";r=r||!1;var n="";if(3===e.nodeType)return o.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(n=o.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=o.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=o.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=o.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=o.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=o.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=o.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=o.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=o.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=o.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=o.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=o.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=o.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=o.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=o.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=o.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=o.subParser("makeMarkdown.strong")(e,t);break;case"del":n=o.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=o.subParser("makeMarkdown.links")(e,t);break;case"img":n=o.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n})),o.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return r.trim()})),o.subParser("makeMarkdown.pre",(function(e,t){"use strict";var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="~~"}return r})),o.subParser("makeMarkdown.strong",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="**"}return r})),o.subParser("makeMarkdown.table",(function(e,t){"use strict";var r,n,a="",i=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;r<s.length;++r){var u=o.subParser("makeMarkdown.tableCell")(s[r],t),l="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":l=":---";break;case"text-align:right;":l="---:";break;case"text-align:center;":l=":---:"}i[0][r]=u.trim(),i[1][r]=l}for(r=0;r<c.length;++r){var d=i.push([])-1,f=c[r].getElementsByTagName("td");for(n=0;n<s.length;++n){var p=" ";void 0!==f[n]&&(p=o.subParser("makeMarkdown.tableCell")(f[n],t)),i[d].push(p)}}var h=3;for(r=0;r<i.length;++r)for(n=0;n<i[r].length;++n){var g=i[r][n].length;g>h&&(h=g)}for(r=0;r<i.length;++r){for(n=0;n<i[r].length;++n)1===r?":"===i[r][n].slice(-1)?i[r][n]=o.helper.padEnd(i[r][n].slice(-1),h-1,"-")+":":i[r][n]=o.helper.padEnd(i[r][n],h,"-"):i[r][n]=o.helper.padEnd(i[r][n],h);a+="| "+i[r].join(" | ")+" |\n"}return a.trim()})),o.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t,!0);return r.trim()})),o.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),(t=(t=(t=(t=(t=(t=(t=(t=o.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")})),void 0===(n=function(){"use strict";return o}.call(t,r,t,e))||(e.exports=n)}).call(this)},26:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return a}))},30:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(23);function a(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},31:function(e,t){e.exports=window.wp.dom},33:function(e,t){e.exports=window.wp.hooks},35:function(e,t){e.exports=window.wp.deprecated},37:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},382:function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return ee})),r.d(t,"createBlock",(function(){return Qe})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return Xe})),r.d(t,"cloneBlock",(function(){return Je})),r.d(t,"getPossibleBlockTransformations",(function(){return nt})),r.d(t,"switchToBlockType",(function(){return it})),r.d(t,"getBlockTransforms",(function(){return ot})),r.d(t,"findTransform",(function(){return at})),r.d(t,"getBlockFromExample",(function(){return st})),r.d(t,"parse",(function(){return Fr})),r.d(t,"getBlockAttributes",(function(){return zr})),r.d(t,"parseWithAttributeSchema",(function(){return Lr})),r.d(t,"pasteHandler",(function(){return Mn})),r.d(t,"rawHandler",(function(){return In})),r.d(t,"getPhrasingContentSchema",(function(){return Hn})),r.d(t,"serialize",(function(){return Yt})),r.d(t,"getBlockContent",(function(){return Gt})),r.d(t,"getBlockDefaultClassName",(function(){return It})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Vt})),r.d(t,"getSaveElement",(function(){return $t})),r.d(t,"getSaveContent",(function(){return qt})),r.d(t,"__unstableGetBlockProps",(function(){return Ft})),r.d(t,"__unstableSerializeAndClean",(function(){return Wt})),r.d(t,"isValidBlockContent",(function(){return wr})),r.d(t,"getCategories",(function(){return Vn})),r.d(t,"setCategories",(function(){return Rn})),r.d(t,"updateCategory",(function(){return Fn})),r.d(t,"registerBlockType",(function(){return Ce})),r.d(t,"registerBlockCollection",(function(){return xe})),r.d(t,"unregisterBlockType",(function(){return Pe})),r.d(t,"setFreeformContentHandlerName",(function(){return Te})),r.d(t,"getFreeformContentHandlerName",(function(){return Se})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return Ee})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return Be})),r.d(t,"setDefaultBlockName",(function(){return Ne})),r.d(t,"getDefaultBlockName",(function(){return Me})),r.d(t,"setGroupingBlockName",(function(){return Le})),r.d(t,"getGroupingBlockName",(function(){return Ae})),r.d(t,"getBlockType",(function(){return ze})),r.d(t,"getBlockTypes",(function(){return De})),r.d(t,"getBlockSupport",(function(){return He})),r.d(t,"hasBlockSupport",(function(){return Ie})),r.d(t,"getBlockVariations",(function(){return Ge})),r.d(t,"isReusableBlock",(function(){return Ve})),r.d(t,"getChildBlockNames",(function(){return Re})),r.d(t,"hasChildBlocks",(function(){return Fe})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return $e})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return je})),r.d(t,"registerBlockStyle",(function(){return qe})),r.d(t,"unregisterBlockStyle",(function(){return Ue})),r.d(t,"registerBlockVariation",(function(){return Ke})),r.d(t,"unregisterBlockVariation",(function(){return We})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return fe})),r.d(t,"normalizeIconObject",(function(){return he})),r.d(t,"isValidIcon",(function(){return pe})),r.d(t,"__experimentalGetBlockLabel",(function(){return be})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return me})),r.d(t,"doBlocksMatchTemplate",(function(){return Un})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return Gn})),r.d(t,"children",(function(){return Ar})),r.d(t,"node",(function(){return xr})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return ve})),r.d(t,"withBlockContentContext",(function(){return Mt}));var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return O})),r.d(n,"getBlockType",(function(){return j})),r.d(n,"getBlockStyles",(function(){return C})),r.d(n,"getBlockVariations",(function(){return x})),r.d(n,"getDefaultBlockVariation",(function(){return P})),r.d(n,"getCategories",(function(){return T})),r.d(n,"getCollections",(function(){return S})),r.d(n,"getDefaultBlockName",(function(){return A})),r.d(n,"getFreeformFallbackBlockName",(function(){return E})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return B})),r.d(n,"getGroupingBlockName",(function(){return N})),r.d(n,"getChildBlockNames",(function(){return L})),r.d(n,"getBlockSupport",(function(){return M})),r.d(n,"hasBlockSupport",(function(){return z})),r.d(n,"isMatchingSearchTerm",(function(){return D})),r.d(n,"hasChildBlocks",(function(){return H})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return I}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return V})),r.d(a,"removeBlockTypes",(function(){return R})),r.d(a,"addBlockStyles",(function(){return F})),r.d(a,"removeBlockStyles",(function(){return $})),r.d(a,"addBlockVariations",(function(){return q})),r.d(a,"removeBlockVariations",(function(){return U})),r.d(a,"setDefaultBlockName",(function(){return G})),r.d(a,"setFreeformFallbackBlockName",(function(){return K})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return W})),r.d(a,"setGroupingBlockName",(function(){return Y})),r.d(a,"setCategories",(function(){return Z})),r.d(a,"updateCategory",(function(){return Q})),r.d(a,"addBlockCollection",(function(){return X})),r.d(a,"removeBlockCollection",(function(){return J}));var o=r(4),i=r(14),s=r(6),c=r(2),u=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=[{slug:"text",title:Object(u.__)("Text")},{slug:"media",title:Object(u.__)("Media")},{slug:"design",title:Object(u.__)("Design")},{slug:"widgets",title:Object(u.__)("Widgets")},{slug:"embed",title:Object(u.__)("Embeds")},{slug:"reusable",title:Object(u.__)("Reusable blocks")}];function p(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=p("SET_DEFAULT_BLOCK_NAME"),g=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),b=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME"),_=Object(o.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["styles"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["variations"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:g,unregisteredFallbackBlockName:b,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(c.isEmpty)(t.category))return e;var r=Object(c.find)(e,["slug",t.slug]);if(r)return Object(c.map)(e,(function(e){return e.slug===t.slug?d(d({},e),t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return d(d({},e),{},Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r(46);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=function(e,t){return"string"==typeof t?j(e,t):t},O=Object(v.a)((function(e){return Object.values(e.blockTypes).map((function(t){return y(y({},t),{},{variations:x(e,t.name)})}))}),(function(e){return[e.blockTypes,e.blockVariations]}));function j(e,t){return e.blockTypes[t]}function C(e,t){return e.blockStyles[t]}function x(e,t,r){var n=e.blockVariations[t];return n&&r?n.filter((function(e){return(e.scope||["block","inserter"]).includes(r)})):n}function P(e,t,r){var n=x(e,t,r);return Object(c.findLast)(n,"isDefault")||Object(c.first)(n)}function T(e){return e.categories}function S(e){return e.collections}function A(e){return e.defaultBlockName}function E(e){return e.freeformFallbackBlockName}function B(e){return e.unregisteredFallbackBlockName}function N(e){return e.groupingBlockName}var L=Object(v.a)((function(e,t){return Object(c.map)(Object(c.filter)(e.blockTypes,(function(e){return Object(c.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),M=function(e,t,r,n){var a=k(e,t);return Object(c.get)(a,["supports"].concat(Object(i.a)(r.split("."))),n)};function z(e,t,r,n){return!!M(e,t,r,n)}function D(e,t,r){var n=k(e,t),a=Object(c.flow)([c.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),o=a(r),i=Object(c.flow)([a,function(e){return Object(c.includes)(e,o)}]);return i(n.title)||Object(c.some)(n.keywords,i)||i(n.category)}var H=function(e,t){return L(e,t).length>0},I=function(e,t){return Object(c.some)(L(e,t),(function(t){return z(e,t,"inserter",!0)}))};function V(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function R(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function F(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function U(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function G(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function K(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Z(e){return{type:"SET_CATEGORIES",categories:e}}function Q(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function X(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function J(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var ee=Object(o.createReduxStore)("core/blocks",{reducer:_,selectors:n,actions:a});Object(o.register)(ee);var te=r(9),re=r(141),ne=r(33),ae=r(154),oe=r(62),ie=r.n(oe),se=r(0),ce=r(31);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var de=["#191e23","#f8f9f9"];function fe(e){var t=Me();if(e.name!==t)return!1;fe.block&&fe.block.name===t||(fe.block=Qe(t));var r=fe.block,n=ze(t);return Object(c.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function pe(e){return!!e&&(Object(c.isString)(e)||Object(se.isValidElement)(e)||Object(c.isFunction)(e)||e instanceof se.Component)}function he(e){if(pe(e))return{src:e};if(Object(c.has)(e,["background"])){var t=ie()(e.background);return le(le({},e),{},{foreground:e.foreground?e.foreground:Object(oe.mostReadable)(t,de,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ge(e){return Object(c.isString)(e)?ze(e):e}function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual",n=e.__experimentalLabel,a=e.title,o=n&&n(t,{context:r});return o?Object(ce.__unstableStripHTML)(o):a}function me(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,o=be(e,t,"accessibility"),i=void 0!==r,s=o&&o!==a;return i&&"vertical"===n?s?Object(u.sprintf)(
2
  /* translators: accessibility text. 1: The block title. 2: The block row number. 3: The block label.. */
3
  Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):Object(u.sprintf)(
4
  /* translators: accessibility text. 1: The block title. 2: The block row number. */
@@ -10,4 +10,4 @@ Object(u.__)("%1$s Block. Column %2$d"),a,r):s?Object(u.sprintf)(
10
  /* translators: accessibility text. %1: The block title. %2: The block label. */
11
  Object(u.__)("%1$s Block. %2$s"),a,o):Object(u.sprintf)(
12
  /* translators: accessibility text. %s: The block title. */
13
- Object(u.__)("%s Block"),a)}var _e=["attributes","supports","save","migrate","isEligible","apiVersion"],ve={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},color:{value:["color","text"],support:["color"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ke={common:"text",formatting:"text",layout:"design"},Oe={};function je(e){Oe=ye(ye({},Oe),e)}function Ce(e,t){if(t=ye(ye({name:e,icon:ae.a,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:function(){return null}},Object(c.pickBy)(Object(c.get)(Oe,e,{}),(function(e){return!Object(c.isNil)(e)}))),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(o.select)(ee).getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=ye({},t);if((t=Object(ne.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(c.pick)(Object(ne.applyFilters)("blocks.registerBlockType",ye(ye({},Object(c.omit)(r,_e)),t),e),_e)}))),Object(c.isPlainObject)(t))if(Object(c.isFunction)(t.save))if(!("edit"in t)||Object(c.isFunction)(t.edit))if(ke.hasOwnProperty(t.category)&&(t.category=ke[t.category]),"category"in t&&!Object(c.some)(Object(o.select)(ee).getCategories(),{slug:t.category})&&(console.warn('The block "'+e+'" is registered with an invalid category "'+t.category+'".'),delete t.category),"title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=he(t.icon),pe(t.icon.src))return Object(o.dispatch)(ee).addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else console.error("Block titles must be strings.");else console.error('The block "'+e+'" must have a title.');else console.error('The "edit" property must be a valid function.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");else console.error("Block names must be strings.")}function xe(e,t){var r=t.title,n=t.icon;Object(o.dispatch)(ee).addBlockCollection(e,r,n)}function Pe(e){var t=Object(o.select)(ee).getBlockType(e);if(t)return Object(o.dispatch)(ee).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function Te(e){Object(o.dispatch)(ee).setFreeformFallbackBlockName(e)}function Se(){return Object(o.select)(ee).getFreeformFallbackBlockName()}function Ae(){return Object(o.select)(ee).getGroupingBlockName()}function Ee(e){Object(o.dispatch)(ee).setUnregisteredFallbackBlockName(e)}function Be(){return Object(o.select)(ee).getUnregisteredFallbackBlockName()}function Ne(e){Object(o.dispatch)(ee).setDefaultBlockName(e)}function Le(e){Object(o.dispatch)(ee).setGroupingBlockName(e)}function Me(){return Object(o.select)(ee).getDefaultBlockName()}function ze(e){return Object(o.select)(ee).getBlockType(e)}function De(){return Object(o.select)(ee).getBlockTypes()}function He(e,t,r){return Object(o.select)(ee).getBlockSupport(e,t,r)}function Ie(e,t,r){return Object(o.select)(ee).hasBlockSupport(e,t,r)}function Ve(e){return"core/block"===e.name}var Re=function(e){return Object(o.select)(ee).getChildBlockNames(e)},Fe=function(e){return Object(o.select)(ee).hasChildBlocks(e)},$e=function(e){return Object(o.select)(ee).hasChildBlocksWithInserterSupport(e)},qe=function(e,t){Object(o.dispatch)(ee).addBlockStyles(e,t)},Ue=function(e,t){Object(o.dispatch)(ee).removeBlockStyles(e,t)},Ge=function(e,t){return Object(o.select)(ee).getBlockVariations(e,t)},Ke=function(e,t){Object(o.dispatch)(ee).addBlockVariations(e,t)},We=function(e,t){Object(o.dispatch)(ee).removeBlockVariations(e,t)};function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ze(e);if(void 0===n)throw new Error("Block type '".concat(e,"' is not registered."));var a=Object(c.reduce)(n.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{}),o=Object(re.a)();return{clientId:o,name:e,isValid:!0,attributes:a,innerBlocks:r}}function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],r=Object(te.a)(t,3),n=r[0],a=r[1],o=r[2];return Qe(n,a,Xe(void 0===o?[]:o))}))}function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)();return Ze(Ze({},e),{},{clientId:n,attributes:Ze(Ze({},e.attributes),t),innerBlocks:r||e.innerBlocks.map((function(e){return Je(e)}))})}var et=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!tt(e)&&n&&!e.isMultiBlock)return!1;if(!tt(e)&&!Object(c.every)(r,{name:a}))return!1;if("block"!==e.type)return!1;var o=Object(c.first)(r);if("from"===t&&-1===e.blocks.indexOf(o.name)&&!tt(e))return!1;if(!n&&rt(o.name)&&rt(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var i=e.isMultiBlock?r.map((function(e){return e.attributes})):o.attributes;if(!e.isMatch(i))return!1}return!0},tt=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},rt=function(e){return e===Ae()};function nt(e){if(Object(c.isEmpty)(e))return[];var t=function(e){if(Object(c.isEmpty)(e))return[];var t=De();return Object(c.filter)(t,(function(t){return!!at(ot("from",t.name),(function(t){return et(t,"from",e)}))}))}(e),r=function(e){if(Object(c.isEmpty)(e))return[];var t=ot("to",ze(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&et(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ze(e)}))}(e);return Object(c.uniq)([].concat(Object(i.a)(t),Object(i.a)(r)))}function at(e,t){for(var r=Object(ne.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a<e.length;a++)n(a);return r.applyFilters("transform",null)}function ot(e,t){if(void 0===t)return Object(c.flatMap)(De(),(function(t){var r=t.name;return ot(e,r)}));var r=ge(t)||{},n=r.name,a=r.transforms;return a&&Array.isArray(a[e])?a[e].map((function(e){return Ze(Ze({},e),{},{blockName:n})})):[]}function it(e,t){var r,n=Object(c.castArray)(e),a=n.length>1,o=n[0],i=o.name,s=ot("from",t),u=at(ot("to",i),(function(e){return"block"===e.type&&(tt(e)||-1!==e.blocks.indexOf(t))&&(!a||e.isMultiBlock)}))||at(s,(function(e){return"block"===e.type&&(tt(e)||-1!==e.blocks.indexOf(i))&&(!a||e.isMultiBlock)}));if(!u)return null;if(r=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(n):u.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(o):u.transform(o.attributes,o.innerBlocks),!Object(c.isObjectLike)(r))return null;if((r=Object(c.castArray)(r)).some((function(e){return!ze(e.name)})))return null;var l=Object(c.findIndex)(r,(function(e){return e.name===t}));return l<0?null:r.map((function(t,r){var n=Ze(Ze({},t),{},{clientId:r===l?o.clientId:t.clientId});return Object(ne.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var st=function e(t,r){return Qe(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))};function ct(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var ut,lt=function(){return ut||(ut=document.implementation.createHTMLDocument("")),ut};function dt(e,t){if(t){if("string"==typeof e){var r=lt();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=dt(e,t[n]),r}),{})}}function ft(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return ct(n,t)}}var pt=r(109),ht=r(255),gt=r(144),bt=r(25),mt=r(26),_t=/[\t\n\f ]/,vt=/[A-Za-z]/,wt=/\r\n?/g;function yt(e){return _t.test(e)}function kt(e){return vt.test(e)}var Ot=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"===e)this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||kt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();yt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();yt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();yt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();yt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();yt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();yt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();yt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||kt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(wt,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e}(),jt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Ot(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}(),Ct=r(59);function xt(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return e.apply(void 0,["Block validation: "+t].concat(n))}}return{error:e(console.error),warning:e(console.warn),getItems:function(){return[]}}}function Pt(){var e=[],t=xt();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.error,args:n})},warning:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.warning,args:n})},getItems:function(){return e}}}var Tt=r(61),St=r.n(Tt),At=r(8),Et=r(12),Bt=Object(se.createContext)((function(){})),Nt=Bt.Consumer,Lt=Bt.Provider,Mt=Object(Et.createHigherOrderComponent)((function(e){return function(t){return Object(se.createElement)(Nt,null,(function(r){return Object(se.createElement)(e,Object(At.a)({},t,{BlockContent:r}))}))}}),"withBlockContentContext"),zt=function(e){var t=e.children,r=e.innerBlocks;return Object(se.createElement)(Lt,{value:function(){var e=Yt(r,{isInnerBlocks:!0});return Object(se.createElement)(se.RawHTML,null,e)}},t)};function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function It(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Vt(e){var t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}var Rt={};function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Rt.blockType,r=Rt.attributes;return Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ht({},e),t,r)}function $t(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=n.save;if(a.prototype instanceof se.Component){var o=new a({attributes:t});a=o.render.bind(o)}Rt.blockType=n,Rt.attributes=t;var i=a({attributes:t,innerBlocks:r}),s=n.apiVersion>1||Ie(n,"lightBlockWrapper",!1);if(Object(c.isObject)(i)&&Object(ne.hasFilter)("blocks.getSaveContent.extraProps")&&!s){var u=Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ht({},i.props),n,t);St()(u,i.props)||(i=Object(se.cloneElement)(i,u))}return i=Object(ne.applyFilters)("blocks.getSaveElement",i,n,t),Object(se.createElement)(zt,{innerBlocks:r},i)}function qt(e,t,r){var n=ge(e);return Object(se.renderToString)($t(n,t,r))}function Ut(e,t){return Object(c.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function Gt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=qt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Kt(e,t,r){var n=Object(c.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function Wt(e){1===e.length&&fe(e[0])&&(e=[]);var t=Yt(e);return 1===e.length&&e[0].name===Se()&&(t=Object(pt.removep)(t)),t}function Yt(e,t){return Object(c.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isInnerBlocks,n=void 0!==r&&r,a=e.name,o=Gt(e);if(a===Be()||!n&&a===Se())return o;var i=ze(a),s=Ut(i,e.attributes);return Kt(a,s,o)}(e,t)})).join("\n\n")}function Zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qt=/[\t\n\r\v\f ]+/g,Xt=/^[\t\n\r\v\f ]*$/,Jt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,er=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],tr=[].concat(er,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),rr=[c.identity,function(e){return sr(e).join(" ")}],nr=/^[\da-z]+$/i,ar=/^#\d+$/,or=/^#x[\da-f]+$/i,ir=function(){function e(){Object(bt.a)(this,e)}return Object(mt.a)(e,[{key:"parse",value:function(e){if(t=e,nr.test(t)||ar.test(t)||or.test(t))return Object(Ct.decodeEntities)("&"+e+";");var t}}]),e}();function sr(e){return e.trim().split(Qt)}function cr(e){return e.attributes.filter((function(e){var t=Object(te.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(tr,r)}))}function ur(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt(),n=e.chars,a=t.chars,o=0;o<rr.length;o++){var i=rr[o];if((n=i(n))===(a=i(a)))return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function lr(e){return e.replace(Jt,"url($1)")}function dr(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t=e.split(":"),r=Object(gt.a)(t),n=r[0],a=r.slice(1).join(":");return[n.trim(),lr(a.trim())]}));return Object(c.fromPairs)(t)}var fr=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({class:function(e,t){return!c.xor.apply(void 0,Object(i.a)([e,t].map(sr))).length},style:function(e,t){return c.isEqual.apply(void 0,Object(i.a)([e,t].map(dr)))}},Object(c.fromPairs)(er.map((function(e){return[e,c.stubTrue]}))));function pr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a<t.length;a++)n[t[a][0].toLowerCase()]=t[a][1];for(var o=0;o<e.length;o++){var i=Object(te.a)(e[o],2),s=i[0],c=i[1],u=s.toLowerCase();if(!n.hasOwnProperty(u))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var l=n[u],d=fr[u];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var hr={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):pr.apply(void 0,Object(i.a)([e,t].map(cr)).concat([r]))},Chars:ur,Comment:ur};function gr(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Xt.test(t.chars))return t}}function br(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt();try{return new jt(new ir).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function mr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function _r(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();if(e===t)return!0;var n,a,o=[e,t].map((function(e){return br(e,r)})),i=Object(te.a)(o,2),s=i[0],c=i[1];if(!s||!c)return!1;for(;n=gr(s);){if(!(a=gr(c)))return r.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==a.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",a.type,a,n.type,n),!1;var u=hr[n.type];if(u&&!u(n,a,r))return!1;mr(n,c[0])?gr(c):mr(a,s[0])&&gr(s)}return!(a=gr(c))||(r.warning("Expected %o, instead saw end of content.",a),!1)}function vr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Pt(),o=ge(e);try{n=qt(o,t)}catch(e){return a.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:a.getItems()}}var i=_r(r,n,a);return i||a.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,n,r),{isValid:i,validationIssues:a.getItems()}}function wr(e,t,r){return vr(e,t,r,xt()).isValid}function yr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Or(e){for(var t={},r=0;r<e.length;r++){var n=e[r],a=n.name,o=n.value;t[a]=o}return t}function jr(e){if(e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:kr(kr({},Or(e.attributes)),{},{children:Pr(e.childNodes)})}}function Cr(e){return function(t){var r=t;e&&(r=t.querySelector(e));try{return jr(r)}catch(e){return null}}}var xr={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:jr,toHTML:function(e){return Tr([e])},matcher:Cr};function Pr(e){for(var t=[],r=0;r<e.length;r++)try{t.push(jr(e[r]))}catch(e){}return t}function Tr(e){var t=e;return Object(se.renderToString)(t)}function Sr(e){return function(t){var r=t;return e&&(r=t.querySelector(e)),r?Pr(r.childNodes):[]}}var Ar={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var r=Object(c.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),n=0;n<r.length;n++){var a=r[n],o="string"==typeof a&&"string"==typeof e[e.length-1];o?e[e.length-1]+=a:e.push(a)}return e},getChildrenArray:function(e){return e},fromDOM:Pr,toHTML:Tr,matcher:Sr};function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Br(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nr(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=ft(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(c.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return n=e.selector,a=e.multiline,function(e){var t=e;if(n&&(t=e.querySelector(n)),!t)return"";if(a){for(var r="",o=t.children.length,i=0;i<o;i++){var s=t.children[i];s.nodeName.toLowerCase()===a&&(r+=s.outerHTML)}return r}return t.innerHTML};case"text":return function(e){return ft(e,"textContent")}(e.selector);case"children":return Sr(e.selector);case"node":return Cr(e.selector);case"query":var r=Object(c.mapValues)(e.query,Nr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return dt(e,t)}))}}(e.selector,r);case"tag":return Object(c.flow)([ft(e.selector,"nodeName"),function(e){return e?e.toLowerCase():void 0}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var n,a}function Lr(e,t){return dt(e,Nr(t))}function Mr(e,t,r,n){var a,o=t.type,i=t.enum;switch(t.source){case void 0:a=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":a=Lr(r,t)}return function(e,t){return void 0===t||function(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}(e,Object(c.castArray)(t))}(a,o)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(a,i)||(a=void 0),void 0===a?t.default:a}function zr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=ge(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return Mr(n,e,t,r)}));return Object(ne.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Dr(e,t){var r=Br({},t);if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){var n=e.substring(11),a={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=n in a?a[n]:n,["amazon-kindle","wordpress"].includes(n)||(r.responsive=!0),e="core/embed"}return{name:e,attributes:r}}function Hr(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,o=e.innerHTML,s=e.innerContent,u=Se(),l=Be()||u;r=r||{},o=o.trim();var d=t||u,f=Dr(d,r);d=f.name,r=f.attributes,d===u&&(o=Object(pt.autop)(o).trim());var p=ze(d);if(!p){var h={attrs:r,blockName:t,innerBlocks:a,innerContent:s},g=Ir(h,{isCommentDelimited:!1}),b=Ir(h,{isCommentDelimited:!0});d&&(o=b),r={originalName:t,originalContent:b,originalUndelimitedContent:g},p=ze(d=l)}a=(a=a.map(Hr)).filter((function(e){return e}));var m=d===u||d===l;if(p&&(o||!m)){var _=Qe(d,zr(p,o,r),a);if(!m){var v=vr(p,_.attributes,o),w=v.isValid,y=v.validationIssues;_.isValid=w,_.validationIssues=y}return _.originalContent=_.originalContent||o,(_=function(e,t){var r=ze(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,o=a.originalContent,s=a.innerBlocks,u=0;u<n.length;u++){var l=n[u].isEligible,d=void 0===l?c.stubFalse:l;if(!e.isValid||d(t,s)){var f=Object.assign(Object(c.omit)(r,_e),n[u]),p=zr(f,o,t),h=vr(f,p,o),g=h.isValid,b=h.validationIssues;if(g){var m=s,_=f.migrate;if(_){var v=Object(c.castArray)(_(p,s)),w=Object(te.a)(v,2),y=w[0];p=void 0===y?t:y;var k=w[1];m=void 0===k?s:k}e=Br(Br({},e),{},{attributes:p,innerBlocks:m,isValid:!0})}else e=Br(Br({},e),{},{validationIssues:[].concat(Object(i.a)(Object(c.get)(e,"validationIssues",[])),Object(i.a)(b))})}}return e}(_,r)).validationIssues&&_.validationIssues.length>0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",p.name,p,qt(p,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(i.a)(r))}))),_}}function Ir(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,o=e.attrs,i=void 0===o?{}:o,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=void 0===u?[]:u,d=0,f=l.map((function(e){return null!==e?e:Ir(c[d++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?Kt(a,i,f):f}new Set(["attribute","html","text","tag"]);var Vr,Rr=(Vr=ht.parse,function(e){return Vr(e).reduce((function(e,t){var r=Hr(t);return r&&e.push(r),e}),[])}),Fr=Rr;function $r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$r(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$r(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ur(){return Object(c.filter)(ot("from"),{type:"raw"}).map((function(e){return e.isMatch?e:qr(qr({},e),{},{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}))}function Gr(e){var t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).map((function(e){var t=at(Ur(),(function(t){return(0,t.isMatch)(e)}));if(!t)return Qe("core/html",zr("core/html",e.outerHTML));var r=t.transform,n=t.blockName;return r?r(e):Qe(n,zr(n,e.outerHTML))}))}function Kr(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var o=n.firstChild;o.nodeType===o.TEXT_NODE?o.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):n.removeChild(o):o.nodeType===o.ELEMENT_NODE?"BR"===o.nodeName?(o.nextSibling&&"BR"===o.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(o.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(o):n.removeChild(o)):"P"===o.nodeName?Object(ce.isEmpty)(o)?n.removeChild(o):a.appendChild(o):Object(ce.isPhrasingContent)(o)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):a.appendChild(o):n.removeChild(o)}return a.innerHTML}function Wr(e,t){if(e.nodeType===e.COMMENT_NODE)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&"noteaser"===n.nodeValue){a=!0,Object(ce.remove)(n);break}Object(ce.replace)(e,function(e,t,r){var n=r.createElement("wp-block");return n.dataset.block="core/more",e&&(n.dataset.customText=e),t&&(n.dataset.noTeaser=""),n}(r,a,t))}}else Object(ce.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))}function Yr(e){e.nodeType===e.COMMENT_NODE&&Object(ce.remove)(e)}function Zr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Qr(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,o=r.textDecorationLine,i=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(ce.wrap)(t.createElement("strong"),e),"italic"===a&&Object(ce.wrap)(t.createElement("em"),e),("line-through"===o||Object(c.includes)(i,"line-through"))&&Object(ce.wrap)(t.createElement("s"),e),"super"===s?Object(ce.wrap)(t.createElement("sup"),e):"sub"===s&&Object(ce.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(ce.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(ce.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))}function Xr(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}var Jr=window.parseInt;function en(e){return"OL"===e.nodeName||"UL"===e.nodeName}function tn(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=Jr(n[1],10)-1||0,o=e.previousElementSibling;if(!o||!en(o)){var i=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(i),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",i),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)en(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);en(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}}function rn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function nn(e){if(rn(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var o=a,i=o.previousElementSibling,s=o.parentNode;i?(i.appendChild(t),s.removeChild(o)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&rn(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(ce.unwrap)(e)}}}var an=r(48),on=window,sn=on.atob,cn=on.File;function un(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(te.a)(r,2),a=n[0],o=n[1],i=a.slice(5).split(";"),s=Object(te.a)(i,1)[0];if(!o||!s)return void(e.src="");try{t=sn(o)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u<c.length;u++)c[u]=t.charCodeAt(u);var l=s.replace("/","."),d=new cn([c],l,{type:s});e.src=Object(an.createBlobURL)(d)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function ln(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Kr(e.innerHTML))}function dn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function fn(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ce.isTextContent)(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var o=n.closest("p,div");o?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!o.textContent.trim())&&dn(n,o):dn(n,o):"BODY"===n.parentNode.nodeName&&dn(n)}}var pn=r(122);function hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var bn=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=ot("from"),o=at(a,(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(pn.regexp)(e).test(t)}))}));if(!o)return[t];var s,u=Object(c.castArray)(o.tag),l=Object(c.find)(u,(function(e){return Object(pn.regexp)(e).test(t)})),d=r;if(s=Object(pn.next)(l,t,r)){r=s.index+s.content.length;var f=t.substr(0,s.index),p=t.substr(r);if(!(Object(c.includes)(s.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(o.isMatch&&!o.isMatch(s.shortcode.attrs))return e(t,d,[].concat(Object(i.a)(n),[o.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(o.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(s.shortcode.attrs,s)})),g=Qe(o.blockName,zr(gn(gn({},ze(o.blockName)),{},{attributes:o.attributes}),s.shortcode.content,h));return[].concat(Object(i.a)(e(f)),[g],Object(i.a)(e(p)))}return[t]},mn=r(256),vn=new(r.n(mn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function wn(e){if("IFRAME"===e.nodeName){var t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function yn(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ce.unwrap)(e)}function kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function On(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jn(e){return function(e,t){var r={phrasingContentSchema:Object(ce.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map((function(e){var t=e.isMatch,n=e.blockName,a=e.schema,o=Ie(n,"anchor");return a=Object(c.isFunction)(a)?a(r):a,o||t?Object(c.mapValues)(a,(function(e){var r=e.attributes||[];return o&&(r=[].concat(Object(i.a)(r),["id"])),On(On({},e),{},{attributes:r,isMatch:t||void 0})})):a}));return c.mergeWith.apply(void 0,[{}].concat(Object(i.a)(n),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":On(On({},e),t);case"attributes":case"require":return[].concat(Object(i.a)(e||[]),Object(i.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}(Ur(),e)}function Cn(e,t,r,n){Array.from(e).forEach((function(e){Cn(e.childNodes,t,r,n),t.forEach((function(t){r.contains(e)&&t(e,r,n)}))}))}function xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,Cn(n.body.childNodes,t,n,r),n.body.innerHTML}function Pn(e,t){var r=e["".concat(t,"Sibling")];if(r&&Object(ce.isPhrasingContent)(r))return r;var n=e.parentNode;return n&&Object(ce.isPhrasingContent)(n)?Pn(n,t):void 0}function Tn(e){if(e.nodeType===e.TEXT_NODE){for(var t=e;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;var r,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var a=Pn(e,"previous");a&&"BR"!==a.nodeName&&" "!==a.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var o=Pn(e,"next");(!o||"BR"===o.nodeName||o.nodeType===o.TEXT_NODE&&(" "===(r=o.textContent[0])||"\r"===r||"\n"===r||"\t"===r))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}}function Sn(e){"BR"===e.nodeName&&(Pn(e,"next")||e.parentNode.removeChild(e))}function An(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function En(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?En(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):En(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nn=window.console;function Ln(e,t){return e=xn(e,[yn,Qr,Yr]),e=Object(ce.removeInvalidHTML)(e,Object(ce.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=xn(e,[Tn,Sn])),Nn.log("Processed inline HTML:\n\n",e),e}function Mn(e){var t,r=e.HTML,n=void 0===r?"":r,a=e.plainText,o=void 0===a?"":a,i=e.mode,s=void 0===i?"AUTO":i,u=e.tagName,l=e.preserveWhiteSpace;if(n=(n=(n=n.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==s){var d=n||o;if(-1!==d.indexOf("\x3c!-- wp:"))return Rr(d)}if(String.prototype.normalize&&(n=n.normalize()),!o||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(t=o,n=vn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,r,n){return"".concat(t,"\n").concat(r,"\n").concat(n)}))}(t)),"AUTO"===s&&-1===o.indexOf("\n")&&0!==o.indexOf("<p>")&&0===n.indexOf("<p>")&&(s="INLINE")),"INLINE"===s)return Ln(n,l);var f=bn(n),p=f.length>1;if("AUTO"===s&&!p&&function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Zr)&&function e(t,r){return t.every((function(t){return function(e,t){if(Object(ce.isTextContent)(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(c.difference)([r,t],e).length}))}(t,r)&&e(Array.from(t.children),r)}))}(n,t)}(n,u))return Ln(n,l);var h=Object(ce.getPhrasingContentSchema)("paste"),g=jn("paste"),b=Object(c.compact)(Object(c.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[yn,tn,Xr,nn,un,Qr,Wr,Yr,wn,fn,ln],r=Bn(Bn({},g),h);return e=xn(e,t,g),e=xn(e=Kr(e=Object(ce.removeInvalidHTML)(e,r)),[Tn,Sn,An],g),Nn.log("Processed HTML piece:\n\n",e),Gr(e)})));if("AUTO"===s&&1===b.length&&Ie(b[0].name,"__unstablePasteTextInline",!1)){var m=o.trim();if(""!==m&&-1===m.indexOf("\n"))return Object(ce.removeInvalidHTML)(Gt(b[0]),h)}return b}var zn=r(35),Dn=r.n(zn);function Hn(e){return Dn()("wp.blocks.getPhrasingContentSchema",{alternative:"wp.dom.getPhrasingContentSchema"}),Object(ce.getPhrasingContentSchema)(e)}function In(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Rr(r);var n=bn(r),a=jn();return Object(c.compact)(Object(c.flatMap)(n,(function(e){return"string"!=typeof e?e:Gr(e=Kr(e=xn(e,[nn,Wr,fn,ln],a)))})))}function Vn(){return Object(o.select)(ee).getCategories()}function Rn(e){Object(o.dispatch)(ee).setCategories(e)}function Fn(e,t){Object(o.dispatch)(ee).updateCategory(e,t)}function $n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Un(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[2],i=e[r];return a===i.name&&Un(i.innerBlocks,o)}))}function Gn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[1],i=n[2],s=e[r];if(s&&s.name===a){var u=Gn(s.innerBlocks,i);return qn(qn({},s),{},{innerBlocks:u})}var l=ze(a),d=function(e,t){return Object(c.mapValues)(t,(function(t,r){return f(e[r],t)}))},f=function(e,t){return r=e,"html"===Object(c.get)(r,["source"])&&Object(c.isArray)(t)?Object(se.renderToString)(t):function(e){return"query"===Object(c.get)(e,["source"])}(e)&&t?t.map((function(t){return d(e.query,t)})):t;var r},p=Dr(a,d(Object(c.get)(l,["attributes"],{}),o));return Qe(p.name,p.attributes,Gn([],i))})):e}},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){e.exports=window.wp.data},46:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,t.a=function(e,t){var r,c;function u(){r=a?new WeakMap:i()}function l(){var r,n,a,o,i,u=arguments.length;for(o=new Array(u),a=0;a<u;a++)o[a]=arguments[a];for(i=t.apply(null,o),(r=c(i)).isUniqueByDependants||(r.lastDependants&&!s(i,r.lastDependants,0)&&r.clear(),r.lastDependants=i),n=r.head;n;){if(s(n.args,o,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,o)},o[0]=null,n.args=o,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=o),c=a?function(e){var t,a,o,s,c,u=r,l=!0;for(t=0;t<e.length;t++){if(!(c=a=e[t])||"object"!=typeof c){l=!1;break}u.has(a)?u=u.get(a):(o=new WeakMap,u.set(a,o),u=o)}return u.has(n)||((s=i()).isUniqueByDependants=l,u.set(n,s)),u.get(n)}:function(){return r},l.getDependants=t,l.clear=u,u(),l}},48:function(e,t){e.exports=window.wp.blob},59:function(e,t){e.exports=window.wp.htmlEntities},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},61:function(e,t){e.exports=window.wp.isShallowEqual},62:function(e,t,r){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t,r,n,s={r:0,g:0,b:0},c=1,d=null,f=null,p=null,h=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,r=!1;if(A[e])e=A[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=$.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=$.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=$.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=$.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=$.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=$.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=$.hex8.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:I(t[4]),format:r?"name":"hex8"}:(t=$.hex6.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"}:(t=$.hex4.exec(e))?{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=$.hex3.exec(e))&&{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(t=e.r,r=e.g,n=e.b,s={r:255*N(t,255),g:255*N(r,255),b:255*N(n,255)},h=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(d=D(e.s),f=D(e.v),s=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),o=e-n,i=r*(1-t),s=r*(1-o*t),c=r*(1-(1-o)*t),u=n%6;return{r:255*[r,s,i,i,c,r][u],g:255*[c,r,r,s,i,i][u],b:255*[i,i,c,r,r,s][u]}}(e.h,d,f),h=!0,g="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(d=D(e.s),p=D(e.l),s=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=i(c,s,e+1/3),a=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,d,p),h=!0,g="hsl"),e.hasOwnProperty("a")&&(c=e.a)),c=B(c),{ok:h,format:e.format||g,r:u(255,l(s.r,0)),g:u(255,l(s.g,0)),b:u(255,l(s.b,0)),a:c}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function p(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,l:s}}function h(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=o,c=o-i;if(a=0===o?0:c/o,o==i)n=0;else{switch(o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,v:s}}function g(e,t,r,n){var a=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function b(e,t,r,n){return[z(H(n)),z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s-=t/100,r.s=L(r.s),f(r)}function _(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s+=t/100,r.s=L(r.s),f(r)}function v(e){return f(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l+=t/100,r.l=L(r.l),f(r)}function y(e,t){t=0===t?0:t||10;var r=f(e).toRgb();return r.r=l(0,u(255,r.r-c(-t/100*255))),r.g=l(0,u(255,r.g-c(-t/100*255))),r.b=l(0,u(255,r.b-c(-t/100*255))),f(r)}function k(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l-=t/100,r.l=L(r.l),f(r)}function O(e,t){var r=f(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,f(r)}function j(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+120)%360,s:t.s,l:t.l}),f({h:(r+240)%360,s:t.s,l:t.l})]}function x(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+90)%360,s:t.s,l:t.l}),f({h:(r+180)%360,s:t.s,l:t.l}),f({h:(r+270)%360,s:t.s,l:t.l})]}function P(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+72)%360,s:t.s,l:t.l}),f({h:(r+216)%360,s:t.s,l:t.l})]}function T(e,t,r){t=t||6,r=r||30;var n=f(e).toHsl(),a=360/r,o=[f(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(f(n));return o}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(H(n))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+b(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),o=r/100;return f({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,o,i,s,c=f.readability(e,t);switch(a=!1,(o=r,"AA"!==(i=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(o.size||"small").toLowerCase())&&"large"!==s&&(s="small"),n={level:i,size:s}).level+n.size){case"AAsmall":case"AAAlarge":a=c>=4.5;break;case"AAlarge":a=c>=3;break;case"AAAsmall":a=c>=7}return a},f.mostReadable=function(e,t,r){var n,a,o,i,s=null,c=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var u=0;u<t.length;u++)(n=f.readability(e,t[u]))>c&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var A=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(A);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return u(1,l(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function H(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},7:function(e,t){e.exports=window.wp.primitives},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(38),a=r(30),o=r(39);function i(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],_n=!0,n=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(_n=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){n=!0,a=e}finally{try{_n||null==i.return||i.return()}finally{if(n)throw a}}return r}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}}});
1
+ window.wp=window.wp||{},window.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=382)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},109:function(e,t){e.exports=window.wp.autop},12:function(e,t){e.exports=window.wp.compose},122:function(e,t){e.exports=window.wp.shortcode},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(23),a=r(37),o=r(30);function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||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.")}()}},141:function(e,t,r){"use strict";var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),a=new Uint8Array(16);function o(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}for(var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,s=function(e){return"string"==typeof e&&i.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r}(n)}},144:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(38),a=r(37),o=r(30),i=r(39);function s(e){return Object(n.a)(e)||Object(a.a)(e)||Object(o.a)(e)||Object(i.a)()}},154:function(e,t,r){"use strict";var n=r(0),a=r(7),o=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=o},2:function(e,t){e.exports=window.lodash},23:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},25:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},255:function(e,t){e.exports=window.wp.blockSerializationDefaultParser},256:function(e,t,r){var n;(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var o={},i={},s={},c=a(!0),u="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return n.valid=!1,n.error=i+"must be an object, but "+typeof s+" given",n;if(!o.helper.isString(s.type))return n.valid=!1,n.error=i+'property "type" must be a string, but '+typeof s.type+" given",n;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return n.valid=!1,n.error=i+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===c){if(o.helper.isUndefined(s.listeners))return n.valid=!1,n.error=i+'. Extensions of type "listener" must have a property called "listeners"',n}else if(o.helper.isUndefined(s.filter)&&o.helper.isUndefined(s.regex))return n.valid=!1,n.error=i+c+' extensions must define either a "regex" property or a "filter" method',n;if(s.listeners){if("object"!=typeof s.listeners)return n.valid=!1,n.error=i+'"listeners" property must be an object but '+typeof s.listeners+" given",n;for(var u in s.listeners)if(s.listeners.hasOwnProperty(u)&&"function"!=typeof s.listeners[u])return n.valid=!1,n.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+u+" must be a function but "+typeof s.listeners[u]+" given",n}if(s.filter){if("function"!=typeof s.filter)return n.valid=!1,n.error=i+'"filter" must be a function, but '+typeof s.filter+" given",n}else if(s.regex){if(o.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return n.valid=!1,n.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",n;if(o.helper.isUndefined(s.replace))return n.valid=!1,n.error=i+'"regex" extensions must implement a replace string or function',n}}return n}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}o.helper={},o.extensions={},o.setOption=function(e,t){"use strict";return c[e]=t,this},o.getOption=function(e){"use strict";return c[e]},o.getOptions=function(){"use strict";return c},o.resetOptions=function(){"use strict";c=a(!0)},o.setFlavor=function(e){"use strict";if(!l.hasOwnProperty(e))throw Error(e+" flavor was not found");o.resetOptions();var t=l[e];for(var r in u=e,t)t.hasOwnProperty(r)&&(c[r]=t[r])},o.getFlavor=function(){"use strict";return u},o.getFlavorOptions=function(e){"use strict";if(l.hasOwnProperty(e))return l[e]},o.getDefaultOptions=function(e){"use strict";return a(e)},o.subParser=function(e,t){"use strict";if(o.helper.isString(e)){if(void 0===t){if(i.hasOwnProperty(e))return i[e];throw Error("SubParser named "+e+" not registered!")}i[e]=t}},o.extension=function(e,t){"use strict";if(!o.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=o.helper.stdExtName(e),o.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),o.helper.isArray(t)||(t=[t]);var r=d(t,e);if(!r.valid)throw Error(r.error);s[e]=t},o.getAllExtensions=function(){"use strict";return s},o.removeExtension=function(e){"use strict";delete s[e]},o.resetExtensions=function(){"use strict";s={}},o.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},o.hasOwnProperty("helper")||(o.helper={}),o.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},o.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},o.helper.isArray=function(e){"use strict";return Array.isArray(e)},o.helper.isUndefined=function(e){"use strict";return void 0===e},o.helper.forEach=function(e,t){"use strict";if(o.helper.isUndefined(e))throw new Error("obj param is required");if(o.helper.isUndefined(t))throw new Error("callback param is required");if(!o.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(o.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var n in e)e.hasOwnProperty(n)&&t(e[n],n,e)}},o.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},o.helper.escapeCharactersCallback=f,o.helper.escapeCharacters=function(e,t,r){"use strict";var n="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);var a=new RegExp(n,"g");return e.replace(a,f)},o.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var p=function(e,t,r,n){"use strict";var a,o,i,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),p=[];do{for(a=0;i=d.exec(e);)if(f.test(i[0]))a++||(s=(o=d.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var h={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(p.push(h),!l)return p}}while(a&&(d.lastIndex=o));return p};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=p(e,t,r,n),o=[],i=0;i<a.length;++i)o.push([e.slice(a[i].wholeMatch.start,a[i].wholeMatch.end),e.slice(a[i].match.start,a[i].match.end),e.slice(a[i].left.start,a[i].left.end),e.slice(a[i].right.start,a[i].right.end)]);return o},o.helper.replaceRecursiveRegExp=function(e,t,r,n,a){"use strict";if(!o.helper.isFunction(t)){var i=t;t=function(){return i}}var s=p(e,r,n,a),c=e,u=s.length;if(u>0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<u;++d)l.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<u-1&&l.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[u-1].wholeMatch.end<e.length&&l.push(e.slice(s[u-1].wholeMatch.end)),c=l.join("")}return c},o.helper.regexIndexOf=function(e,t,r){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==0)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var n=e.substring(r||0).search(t);return n>=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=u,f={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter)),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i)switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(o.extensions[e],e);if(o.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i])}if(e[i].hasOwnProperty("listeners"))for(var c in e[i].listeners)e[i].listeners.hasOwnProperty(c)&&h(c,e[i].listeners[c])}}function h(e,t){if(!o.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");a.hasOwnProperty(e)||(a[e]=[]),a[e].push(t)}!function(){for(var r in e=e||{},c)c.hasOwnProperty(r)&&(t[r]=c[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.extensions&&o.helper.forEach(t.extensions,p)}(),this._dispatch=function(e,t,r,n){if(a.hasOwnProperty(e))for(var o=0;o<a[e].length;++o){var i=a[e][o](e,t,this,r,n);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return h(e,t),this},this.makeHtml=function(e){if(!e)return e;var a={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:n,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,r=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(r,"")}(e)),e="\n\n"+e+"\n\n",e=(e=o.subParser("detab")(e,t,a)).replace(/^[ \t]+$/gm,""),o.helper.forEach(r,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),e=o.subParser("metadata")(e,t,a),e=o.subParser("hashPreCodeTags")(e,t,a),e=o.subParser("githubCodeBlocks")(e,t,a),e=o.subParser("hashHTMLBlocks")(e,t,a),e=o.subParser("hashCodeTags")(e,t,a),e=o.subParser("stripLinkDefinitions")(e,t,a),e=o.subParser("blockGamut")(e,t,a),e=o.subParser("unhashHTMLSpans")(e,t,a),e=(e=(e=o.subParser("unescapeSpecialChars")(e,t,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=o.subParser("completeHTMLDocument")(e,t,a),o.helper.forEach(n,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),f=a.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n<t.length;++n)if(1===t[n].childElementCount&&"code"===t[n].firstChild.tagName.toLowerCase()){var a=t[n].firstChild.innerHTML.trim(),i=t[n].firstChild.getAttribute("data-language")||"";if(""===i)for(var s=t[n].firstChild.className.split(" "),c=0;c<s.length;++c){var u=s[c].match(/^language-(.+)$/);if(null!==u){i=u[1];break}}a=o.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+i+'" precodenum="'+n.toString()+'"></precode>'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r<t.childNodes.length;++r){var n=t.childNodes[r];3===n.nodeType?/\S/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(n),--r):1===n.nodeType&&e(n)}}(r);for(var a=r.childNodes,i="",s=0;s<a.length;s++)i+=o.subParser("makeMarkdown.node")(a[s],n);return i},this.setOption=function(e,r){t[e]=r},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){p(e,t=t||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(!l.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=l[e];for(var n in i=e,r)r.hasOwnProperty(n)&&(t[n]=r[n])},this.getFlavor=function(){return i},this.removeExtension=function(e){o.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var a=e[t],i=0;i<r.length;++i)r[i]===a&&r[i].splice(i,1);for(;0<n.length;++i)n[0]===a&&n[0].splice(i,1)}},this.getAllExtensions=function(){return{language:r,output:n}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},o.subParser("anchors",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){if(o.helper.isUndefined(u)&&(u=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(u=r.gTitles[a])}var l='<a href="'+(i=i.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"';return""!==u&&null!==u&&(l+=' title="'+(u=(u=u.replace(/"/g,"&quot;")).replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(l+=' rel="noopener noreferrer" target="¨E95Eblank"'),l+">"+n+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+c+">"+a+"</a>"}))),r.converter._dispatch("anchors.after",e,t,r)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,b=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,v=function(e){"use strict";return function(t,r,n,a,i,s,c){var u=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),l="",d="",f=r||"",p=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'<a href="'+n+'"'+d+">"+u+"</a>"+l+p}},w=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+'<a href="'+i+'">'+a+"</a>"}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(b,v(t))).replace(_,w(t,r)),r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,v(t)):e.replace(h,v(t))).replace(m,w(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return(r=r.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";return e=r.converter._dispatch("codeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="<pre><code>"+i+c+"</code></pre>",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+"<code>"+(s=o.subParser("encodeCode")(s,t,r))+"</code>",o.subParser("hashHTMLSpans")(s,t,r)})),r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":o="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n';break;default:c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+o+i+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a<n;a++)r+=" ";return r}))).replace(/¨A/g," ")).replace(/¨B/g,""),r.converter._dispatch("detab.after",e,t,r)})),o.subParser("ellipsis",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),r.converter._dispatch("ellipsis.after",e,t,r)})),o.subParser("emoji",(function(e,t,r){"use strict";return t.emoji?(e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,(function(e,t){return o.helper.emojis.hasOwnProperty(t)?o.helper.emojis[t]:e})),r.converter._dispatch("emoji.after",e,t,r)):e})),o.subParser("encodeAmpsAndAngles",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=r.converter._dispatch("encodeAmpsAndAngles.before",e,t,r)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";return e=r.converter._dispatch("hashCodeTags.before",e,t,r),e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var i=0;i<n.length;++i)for(var s,c=new RegExp("^ {0,3}(<"+n[i]+"\\b[^>]*>)","im"),u="<"+n[i]+"\\b[^>]*>",l="</"+n[i]+">";-1!==(s=o.helper.regexIndexOf(e,c));){var d=o.helper.splitAtIndex(e,s),f=o.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n<r.gHtmlSpans.length;++n){for(var a=r.gHtmlSpans[n],o=0;/¨C(\d+)C/.test(a);){var i=RegExp.$1;if(a=a.replace("¨C"+i+"C",r.gHtmlSpans[i]),10===o){console.error("maximum nesting of 10 spans reached!!!");break}++o}e=e.replace("¨C"+n+"C",a)}return r.converter._dispatch("unhashHTMLSpans.after",e,t,r)})),o.subParser("hashPreCodeTags",(function(e,t,r){"use strict";return e=r.converter._dispatch("hashPreCodeTags.before",e,t,r),e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u="<h"+n+s+">"+i+"</h"+n+">";return o.subParser("hashBlock")(u,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l="<h"+u+s+">"+i+"</h"+u+">";return o.subParser("hashBlock")(l,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var u=o.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(i)+'"',d=n-1+a.length,f="<h"+d+l+">"+u+"</h"+d+">";return o.subParser("hashBlock")(f,t,r)})),r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,o.helper.isUndefined(l[n]))return e;a=l[n],o.helper.isUndefined(d[n])||(u=d[n]),o.helper.isUndefined(f[n])||(i=f[n].width,s=f[n].height)}t=t.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var p='<img src="'+(a=a.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'" alt="'+t+'"';return u&&o.helper.isString(u)&&(p+=' title="'+(u=u.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),i&&s&&(p+=' width="'+(i="*"===i?"auto":i)+'"',p+=' height="'+(s="*"===s?"auto":s)+'"'),p+" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,0,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),r.converter._dispatch("italicsAndBold.after",e,t,r)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,u,l){l=l&&""!==l.trim();var d=o.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return l&&(e+=" checked"),e+">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),n||d.search(/\n{2,}/)>-1?(d=o.subParser("githubCodeBlocks")(d,t,r),d=o.subParser("blockGamut")(d,t,r)):(d=(d=o.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=o.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=i?o.subParser("paragraphs")(d,t,r):o.subParser("spanGamut")(d,t,r)),"<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!o)+"</"+r+">\n",c="ul"==(r="ul"===r?"ol":"ul")?i:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!o)+"</"+r+">\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!o)+"</"+r+">\n"}return u}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s<i;s++){var c=n[s];c.search(/¨(K|G)(\d+)\1/g)>=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",a.push(c))}for(i=a.length,s=0;s<i;s++){for(var u="",l=a[s],d=!1;/¨(K|G)(\d+)\1/.test(l);){var f=RegExp.$1,p=RegExp.$2;u=(u="K"===f?r.gHtmlBlocks[p]:d?o.subParser("encodeCode")(r.ghCodeBlocks[p].text,t,r):r.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),l=l.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,u),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return"<td"+n+">"+o.subParser("spanGamut")(e,t,r)+"</td>\n"}function a(e){var a,i=e.split("\n");for(a=0;a<i.length;++a)/^ {0,3}\|/.test(i[a])&&(i[a]=i[a].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[a])&&(i[a]=i[a].replace(/\|[ \t]*$/,"")),i[a]=o.subParser("codeSpans")(i[a],t,r);var s,c,u,l,d=i[0].split("|").map((function(e){return e.trim()})),f=i[1].split("|").map((function(e){return e.trim()})),p=[],h=[],g=[],b=[];for(i.shift(),i.shift(),a=0;a<i.length;++a)""!==i[a].trim()&&p.push(i[a].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(a=0;a<f.length;++a)g.push((s=f[a],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(a=0;a<d.length;++a)o.helper.isUndefined(g[a])&&(g[a]=""),h.push((c=d[a],u=g[a],l=void 0,l="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(l=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+l+u+">"+(c=o.subParser("spanGamut")(c,t,r))+"</th>\n"));for(a=0;a<p.length;++a){for(var m=[],_=0;_<h.length;++_)o.helper.isUndefined(p[a][_]),m.push(n(p[a][_],g[_]));b.push(m)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",n=e.length,a=0;a<n;++a)r+=e[a];for(r+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){r+="<tr>\n";for(var o=0;o<n;++o)r+=t[a][o];r+="</tr>\n"}return r+"</tbody>\n</table>\n"}(h,b)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i){var s=o.subParser("makeMarkdown.node")(n[i],t);""!==s&&(r+=s)}return"> "+(r=r.trim()).split("\n").join("\n> ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="*"}return r})),o.subParser("makeMarkdown.header",(function(e,t,r){"use strict";var n=new Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var i=e.childNodes,s=i.length,c=0;c<s;++c)a+=o.subParser("makeMarkdown.node")(i[c],t)}return a})),o.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),o.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c<i;++c)void 0!==a[c].tagName&&"li"===a[c].tagName.toLowerCase()&&(n+=("ol"===r?s.toString()+". ":"- ")+o.subParser("makeMarkdown.listItem")(a[c],t),++s);return(n+="\n\x3c!-- --\x3e\n").trim()})),o.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var r="",n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),o.subParser("makeMarkdown.node",(function(e,t,r){"use strict";r=r||!1;var n="";if(3===e.nodeType)return o.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(n=o.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=o.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=o.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=o.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=o.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=o.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=o.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=o.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=o.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=o.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=o.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=o.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=o.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=o.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=o.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=o.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=o.subParser("makeMarkdown.strong")(e,t);break;case"del":n=o.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=o.subParser("makeMarkdown.links")(e,t);break;case"img":n=o.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n})),o.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return r.trim()})),o.subParser("makeMarkdown.pre",(function(e,t){"use strict";var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="~~"}return r})),o.subParser("makeMarkdown.strong",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="**"}return r})),o.subParser("makeMarkdown.table",(function(e,t){"use strict";var r,n,a="",i=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;r<s.length;++r){var u=o.subParser("makeMarkdown.tableCell")(s[r],t),l="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":l=":---";break;case"text-align:right;":l="---:";break;case"text-align:center;":l=":---:"}i[0][r]=u.trim(),i[1][r]=l}for(r=0;r<c.length;++r){var d=i.push([])-1,f=c[r].getElementsByTagName("td");for(n=0;n<s.length;++n){var p=" ";void 0!==f[n]&&(p=o.subParser("makeMarkdown.tableCell")(f[n],t)),i[d].push(p)}}var h=3;for(r=0;r<i.length;++r)for(n=0;n<i[r].length;++n){var g=i[r][n].length;g>h&&(h=g)}for(r=0;r<i.length;++r){for(n=0;n<i[r].length;++n)1===r?":"===i[r][n].slice(-1)?i[r][n]=o.helper.padEnd(i[r][n].slice(-1),h-1,"-")+":":i[r][n]=o.helper.padEnd(i[r][n],h,"-"):i[r][n]=o.helper.padEnd(i[r][n],h);a+="| "+i[r].join(" | ")+" |\n"}return a.trim()})),o.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t,!0);return r.trim()})),o.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),(t=(t=(t=(t=(t=(t=(t=(t=o.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")})),void 0===(n=function(){"use strict";return o}.call(t,r,t,e))||(e.exports=n)}).call(this)},26:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return a}))},30:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(23);function a(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},31:function(e,t){e.exports=window.wp.dom},33:function(e,t){e.exports=window.wp.hooks},35:function(e,t){e.exports=window.wp.deprecated},37:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},382:function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return ee})),r.d(t,"createBlock",(function(){return Qe})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return Xe})),r.d(t,"cloneBlock",(function(){return Je})),r.d(t,"getPossibleBlockTransformations",(function(){return nt})),r.d(t,"switchToBlockType",(function(){return it})),r.d(t,"getBlockTransforms",(function(){return ot})),r.d(t,"findTransform",(function(){return at})),r.d(t,"getBlockFromExample",(function(){return st})),r.d(t,"parse",(function(){return $r})),r.d(t,"getBlockAttributes",(function(){return Dr})),r.d(t,"parseWithAttributeSchema",(function(){return Mr})),r.d(t,"pasteHandler",(function(){return zn})),r.d(t,"rawHandler",(function(){return Vn})),r.d(t,"getPhrasingContentSchema",(function(){return In})),r.d(t,"serialize",(function(){return Yt})),r.d(t,"getBlockContent",(function(){return Gt})),r.d(t,"getBlockDefaultClassName",(function(){return It})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Vt})),r.d(t,"getSaveElement",(function(){return $t})),r.d(t,"getSaveContent",(function(){return qt})),r.d(t,"__unstableGetBlockProps",(function(){return Ft})),r.d(t,"__unstableSerializeAndClean",(function(){return Wt})),r.d(t,"isValidBlockContent",(function(){return yr})),r.d(t,"getCategories",(function(){return Rn})),r.d(t,"setCategories",(function(){return Fn})),r.d(t,"updateCategory",(function(){return $n})),r.d(t,"registerBlockType",(function(){return Ce})),r.d(t,"registerBlockCollection",(function(){return xe})),r.d(t,"unregisterBlockType",(function(){return Pe})),r.d(t,"setFreeformContentHandlerName",(function(){return Te})),r.d(t,"getFreeformContentHandlerName",(function(){return Se})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return Ee})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return Be})),r.d(t,"setDefaultBlockName",(function(){return Ne})),r.d(t,"getDefaultBlockName",(function(){return Me})),r.d(t,"setGroupingBlockName",(function(){return Le})),r.d(t,"getGroupingBlockName",(function(){return Ae})),r.d(t,"getBlockType",(function(){return ze})),r.d(t,"getBlockTypes",(function(){return De})),r.d(t,"getBlockSupport",(function(){return He})),r.d(t,"hasBlockSupport",(function(){return Ie})),r.d(t,"getBlockVariations",(function(){return Ge})),r.d(t,"isReusableBlock",(function(){return Ve})),r.d(t,"getChildBlockNames",(function(){return Re})),r.d(t,"hasChildBlocks",(function(){return Fe})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return $e})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return je})),r.d(t,"registerBlockStyle",(function(){return qe})),r.d(t,"unregisterBlockStyle",(function(){return Ue})),r.d(t,"registerBlockVariation",(function(){return Ke})),r.d(t,"unregisterBlockVariation",(function(){return We})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return fe})),r.d(t,"normalizeIconObject",(function(){return he})),r.d(t,"isValidIcon",(function(){return pe})),r.d(t,"__experimentalGetBlockLabel",(function(){return be})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return me})),r.d(t,"doBlocksMatchTemplate",(function(){return Gn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return Kn})),r.d(t,"children",(function(){return Er})),r.d(t,"node",(function(){return Pr})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return ve})),r.d(t,"withBlockContentContext",(function(){return Mt}));var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return O})),r.d(n,"getBlockType",(function(){return j})),r.d(n,"getBlockStyles",(function(){return C})),r.d(n,"getBlockVariations",(function(){return x})),r.d(n,"getDefaultBlockVariation",(function(){return P})),r.d(n,"getCategories",(function(){return T})),r.d(n,"getCollections",(function(){return S})),r.d(n,"getDefaultBlockName",(function(){return A})),r.d(n,"getFreeformFallbackBlockName",(function(){return E})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return B})),r.d(n,"getGroupingBlockName",(function(){return N})),r.d(n,"getChildBlockNames",(function(){return L})),r.d(n,"getBlockSupport",(function(){return M})),r.d(n,"hasBlockSupport",(function(){return z})),r.d(n,"isMatchingSearchTerm",(function(){return D})),r.d(n,"hasChildBlocks",(function(){return H})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return I}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return V})),r.d(a,"removeBlockTypes",(function(){return R})),r.d(a,"addBlockStyles",(function(){return F})),r.d(a,"removeBlockStyles",(function(){return $})),r.d(a,"addBlockVariations",(function(){return q})),r.d(a,"removeBlockVariations",(function(){return U})),r.d(a,"setDefaultBlockName",(function(){return G})),r.d(a,"setFreeformFallbackBlockName",(function(){return K})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return W})),r.d(a,"setGroupingBlockName",(function(){return Y})),r.d(a,"setCategories",(function(){return Z})),r.d(a,"updateCategory",(function(){return Q})),r.d(a,"addBlockCollection",(function(){return X})),r.d(a,"removeBlockCollection",(function(){return J}));var o=r(4),i=r(14),s=r(6),c=r(2),u=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=[{slug:"text",title:Object(u.__)("Text")},{slug:"media",title:Object(u.__)("Media")},{slug:"design",title:Object(u.__)("Design")},{slug:"widgets",title:Object(u.__)("Widgets")},{slug:"embed",title:Object(u.__)("Embeds")},{slug:"reusable",title:Object(u.__)("Reusable blocks")}];function p(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=p("SET_DEFAULT_BLOCK_NAME"),g=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),b=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME"),_=Object(o.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["styles"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["variations"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:g,unregisteredFallbackBlockName:b,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(c.isEmpty)(t.category))return e;var r=Object(c.find)(e,["slug",t.slug]);if(r)return Object(c.map)(e,(function(e){return e.slug===t.slug?d(d({},e),t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return d(d({},e),{},Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r(46);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=function(e,t){return"string"==typeof t?j(e,t):t},O=Object(v.a)((function(e){return Object.values(e.blockTypes).map((function(t){return y(y({},t),{},{variations:x(e,t.name)})}))}),(function(e){return[e.blockTypes,e.blockVariations]}));function j(e,t){return e.blockTypes[t]}function C(e,t){return e.blockStyles[t]}function x(e,t,r){var n=e.blockVariations[t];return n&&r?n.filter((function(e){return(e.scope||["block","inserter"]).includes(r)})):n}function P(e,t,r){var n=x(e,t,r);return Object(c.findLast)(n,"isDefault")||Object(c.first)(n)}function T(e){return e.categories}function S(e){return e.collections}function A(e){return e.defaultBlockName}function E(e){return e.freeformFallbackBlockName}function B(e){return e.unregisteredFallbackBlockName}function N(e){return e.groupingBlockName}var L=Object(v.a)((function(e,t){return Object(c.map)(Object(c.filter)(e.blockTypes,(function(e){return Object(c.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),M=function(e,t,r,n){var a=k(e,t);return Object(c.get)(a,["supports"].concat(Object(i.a)(r.split("."))),n)};function z(e,t,r,n){return!!M(e,t,r,n)}function D(e,t,r){var n=k(e,t),a=Object(c.flow)([c.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),o=a(r),i=Object(c.flow)([a,function(e){return Object(c.includes)(e,o)}]);return i(n.title)||Object(c.some)(n.keywords,i)||i(n.category)}var H=function(e,t){return L(e,t).length>0},I=function(e,t){return Object(c.some)(L(e,t),(function(t){return z(e,t,"inserter",!0)}))};function V(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function R(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function F(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function U(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function G(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function K(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Z(e){return{type:"SET_CATEGORIES",categories:e}}function Q(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function X(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function J(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var ee=Object(o.createReduxStore)("core/blocks",{reducer:_,selectors:n,actions:a});Object(o.register)(ee);var te=r(9),re=r(141),ne=r(33),ae=r(154),oe=r(62),ie=r.n(oe),se=r(0),ce=r(31);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var de=["#191e23","#f8f9f9"];function fe(e){var t=Me();if(e.name!==t)return!1;fe.block&&fe.block.name===t||(fe.block=Qe(t));var r=fe.block,n=ze(t);return Object(c.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function pe(e){return!!e&&(Object(c.isString)(e)||Object(se.isValidElement)(e)||Object(c.isFunction)(e)||e instanceof se.Component)}function he(e){if(pe(e))return{src:e};if(Object(c.has)(e,["background"])){var t=ie()(e.background);return le(le({},e),{},{foreground:e.foreground?e.foreground:Object(oe.mostReadable)(t,de,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ge(e){return Object(c.isString)(e)?ze(e):e}function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual",n=e.__experimentalLabel,a=e.title,o=n&&n(t,{context:r});return o?Object(ce.__unstableStripHTML)(o):a}function me(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,o=be(e,t,"accessibility"),i=void 0!==r,s=o&&o!==a;return i&&"vertical"===n?s?Object(u.sprintf)(
2
  /* translators: accessibility text. 1: The block title. 2: The block row number. 3: The block label.. */
3
  Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):Object(u.sprintf)(
4
  /* translators: accessibility text. 1: The block title. 2: The block row number. */
10
  /* translators: accessibility text. %1: The block title. %2: The block label. */
11
  Object(u.__)("%1$s Block. %2$s"),a,o):Object(u.sprintf)(
12
  /* translators: accessibility text. %s: The block title. */
13
+ Object(u.__)("%s Block"),a)}var _e=["attributes","supports","save","migrate","isEligible","apiVersion"],ve={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},color:{value:["color","text"],support:["color"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ke={common:"text",formatting:"text",layout:"design"},Oe={};function je(e){Oe=ye(ye({},Oe),e)}function Ce(e,t){if(t=ye(ye({name:e,icon:ae.a,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:function(){return null}},Object(c.pickBy)(Object(c.get)(Oe,e,{}),(function(e){return!Object(c.isNil)(e)}))),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(o.select)(ee).getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=ye({},t);if((t=Object(ne.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(c.pick)(Object(ne.applyFilters)("blocks.registerBlockType",ye(ye({},Object(c.omit)(r,_e)),t),e),_e)}))),Object(c.isPlainObject)(t))if(Object(c.isFunction)(t.save))if(!("edit"in t)||Object(c.isFunction)(t.edit))if(ke.hasOwnProperty(t.category)&&(t.category=ke[t.category]),"category"in t&&!Object(c.some)(Object(o.select)(ee).getCategories(),{slug:t.category})&&(console.warn('The block "'+e+'" is registered with an invalid category "'+t.category+'".'),delete t.category),"title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=he(t.icon),pe(t.icon.src))return Object(o.dispatch)(ee).addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else console.error("Block titles must be strings.");else console.error('The block "'+e+'" must have a title.');else console.error('The "edit" property must be a valid function.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");else console.error("Block names must be strings.")}function xe(e,t){var r=t.title,n=t.icon;Object(o.dispatch)(ee).addBlockCollection(e,r,n)}function Pe(e){var t=Object(o.select)(ee).getBlockType(e);if(t)return Object(o.dispatch)(ee).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function Te(e){Object(o.dispatch)(ee).setFreeformFallbackBlockName(e)}function Se(){return Object(o.select)(ee).getFreeformFallbackBlockName()}function Ae(){return Object(o.select)(ee).getGroupingBlockName()}function Ee(e){Object(o.dispatch)(ee).setUnregisteredFallbackBlockName(e)}function Be(){return Object(o.select)(ee).getUnregisteredFallbackBlockName()}function Ne(e){Object(o.dispatch)(ee).setDefaultBlockName(e)}function Le(e){Object(o.dispatch)(ee).setGroupingBlockName(e)}function Me(){return Object(o.select)(ee).getDefaultBlockName()}function ze(e){return Object(o.select)(ee).getBlockType(e)}function De(){return Object(o.select)(ee).getBlockTypes()}function He(e,t,r){return Object(o.select)(ee).getBlockSupport(e,t,r)}function Ie(e,t,r){return Object(o.select)(ee).hasBlockSupport(e,t,r)}function Ve(e){return"core/block"===e.name}var Re=function(e){return Object(o.select)(ee).getChildBlockNames(e)},Fe=function(e){return Object(o.select)(ee).hasChildBlocks(e)},$e=function(e){return Object(o.select)(ee).hasChildBlocksWithInserterSupport(e)},qe=function(e,t){Object(o.dispatch)(ee).addBlockStyles(e,t)},Ue=function(e,t){Object(o.dispatch)(ee).removeBlockStyles(e,t)},Ge=function(e,t){return Object(o.select)(ee).getBlockVariations(e,t)},Ke=function(e,t){Object(o.dispatch)(ee).addBlockVariations(e,t)},We=function(e,t){Object(o.dispatch)(ee).removeBlockVariations(e,t)};function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ze(e);if(void 0===n)throw new Error("Block type '".concat(e,"' is not registered."));var a=Object(c.reduce)(n.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{}),o=Object(re.a)();return{clientId:o,name:e,isValid:!0,attributes:a,innerBlocks:r}}function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],r=Object(te.a)(t,3),n=r[0],a=r[1],o=r[2];return Qe(n,a,Xe(void 0===o?[]:o))}))}function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)();return Ze(Ze({},e),{},{clientId:n,attributes:Ze(Ze({},e.attributes),t),innerBlocks:r||e.innerBlocks.map((function(e){return Je(e)}))})}var et=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!tt(e)&&n&&!e.isMultiBlock)return!1;if(!tt(e)&&!Object(c.every)(r,{name:a}))return!1;if("block"!==e.type)return!1;var o=Object(c.first)(r);if("from"===t&&-1===e.blocks.indexOf(o.name)&&!tt(e))return!1;if(!n&&rt(o.name)&&rt(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var i=e.isMultiBlock?r.map((function(e){return e.attributes})):o.attributes;if(!e.isMatch(i))return!1}return!0},tt=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},rt=function(e){return e===Ae()};function nt(e){if(Object(c.isEmpty)(e))return[];var t=function(e){if(Object(c.isEmpty)(e))return[];var t=De();return Object(c.filter)(t,(function(t){return!!at(ot("from",t.name),(function(t){return et(t,"from",e)}))}))}(e),r=function(e){if(Object(c.isEmpty)(e))return[];var t=ot("to",ze(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&et(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ze(e)}))}(e);return Object(c.uniq)([].concat(Object(i.a)(t),Object(i.a)(r)))}function at(e,t){for(var r=Object(ne.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a<e.length;a++)n(a);return r.applyFilters("transform",null)}function ot(e,t){if(void 0===t)return Object(c.flatMap)(De(),(function(t){var r=t.name;return ot(e,r)}));var r=ge(t)||{},n=r.name,a=r.transforms;return a&&Array.isArray(a[e])?a[e].map((function(e){return Ze(Ze({},e),{},{blockName:n})})):[]}function it(e,t){var r,n=Object(c.castArray)(e),a=n.length>1,o=n[0],i=o.name,s=ot("from",t),u=at(ot("to",i),(function(e){return"block"===e.type&&(tt(e)||-1!==e.blocks.indexOf(t))&&(!a||e.isMultiBlock)}))||at(s,(function(e){return"block"===e.type&&(tt(e)||-1!==e.blocks.indexOf(i))&&(!a||e.isMultiBlock)}));if(!u)return null;if(r=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(n):u.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(o):u.transform(o.attributes,o.innerBlocks),!Object(c.isObjectLike)(r))return null;if((r=Object(c.castArray)(r)).some((function(e){return!ze(e.name)})))return null;var l=Object(c.findIndex)(r,(function(e){return e.name===t}));return l<0?null:r.map((function(t,r){var n=Ze(Ze({},t),{},{clientId:r===l?o.clientId:t.clientId});return Object(ne.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var st=function e(t,r){return Qe(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))};function ct(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var ut,lt=function(){return ut||(ut=document.implementation.createHTMLDocument("")),ut};function dt(e,t){if(t){if("string"==typeof e){var r=lt();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=dt(e,t[n]),r}),{})}}function ft(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return ct(n,t)}}var pt=r(109),ht=r(255),gt=r(144),bt=r(25),mt=r(26),_t=/[\t\n\f ]/,vt=/[A-Za-z]/,wt=/\r\n?/g;function yt(e){return _t.test(e)}function kt(e){return vt.test(e)}var Ot=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"===e)this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||kt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();yt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();yt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();yt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();yt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();yt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();yt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();yt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||kt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(wt,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e}(),jt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Ot(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}(),Ct=r(59);function xt(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return e.apply(void 0,["Block validation: "+t].concat(n))}}return{error:e(console.error),warning:e(console.warn),getItems:function(){return[]}}}function Pt(){var e=[],t=xt();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.error,args:n})},warning:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.warning,args:n})},getItems:function(){return e}}}var Tt=r(61),St=r.n(Tt),At=r(8),Et=r(12),Bt=Object(se.createContext)((function(){})),Nt=Bt.Consumer,Lt=Bt.Provider,Mt=Object(Et.createHigherOrderComponent)((function(e){return function(t){return Object(se.createElement)(Nt,null,(function(r){return Object(se.createElement)(e,Object(At.a)({},t,{BlockContent:r}))}))}}),"withBlockContentContext"),zt=function(e){var t=e.children,r=e.innerBlocks;return Object(se.createElement)(Lt,{value:function(){var e=Yt(r,{isInnerBlocks:!0});return Object(se.createElement)(se.RawHTML,null,e)}},t)};function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function It(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Vt(e){var t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}var Rt={};function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Rt.blockType,r=Rt.attributes;return Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ht({},e),t,r)}function $t(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=n.save;if(a.prototype instanceof se.Component){var o=new a({attributes:t});a=o.render.bind(o)}Rt.blockType=n,Rt.attributes=t;var i=a({attributes:t,innerBlocks:r}),s=n.apiVersion>1||Ie(n,"lightBlockWrapper",!1);if(Object(c.isObject)(i)&&Object(ne.hasFilter)("blocks.getSaveContent.extraProps")&&!s){var u=Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ht({},i.props),n,t);St()(u,i.props)||(i=Object(se.cloneElement)(i,u))}return i=Object(ne.applyFilters)("blocks.getSaveElement",i,n,t),Object(se.createElement)(zt,{innerBlocks:r},i)}function qt(e,t,r){var n=ge(e);return Object(se.renderToString)($t(n,t,r))}function Ut(e,t){return Object(c.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function Gt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=qt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Kt(e,t,r){var n=Object(c.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function Wt(e){1===e.length&&fe(e[0])&&(e=[]);var t=Yt(e);return 1===e.length&&e[0].name===Se()&&(t=Object(pt.removep)(t)),t}function Yt(e,t){return Object(c.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isInnerBlocks,n=void 0!==r&&r,a=e.name,o=Gt(e);if(a===Be()||!n&&a===Se())return o;var i=ze(a),s=Ut(i,e.attributes);return Kt(a,s,o)}(e,t)})).join("\n\n")}function Zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Qt=/[\t\n\r\v\f ]+/g,Xt=/^[\t\n\r\v\f ]*$/,Jt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,er=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],tr=[].concat(er,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),rr=[c.identity,function(e){return sr(e).join(" ")}],nr=/^[\da-z]+$/i,ar=/^#\d+$/,or=/^#x[\da-f]+$/i,ir=function(){function e(){Object(bt.a)(this,e)}return Object(mt.a)(e,[{key:"parse",value:function(e){if(t=e,nr.test(t)||ar.test(t)||or.test(t))return Object(Ct.decodeEntities)("&"+e+";");var t}}]),e}();function sr(e){return e.trim().split(Qt)}function cr(e){return e.attributes.filter((function(e){var t=Object(te.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(tr,r)}))}function ur(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt(),n=e.chars,a=t.chars,o=0;o<rr.length;o++){var i=rr[o];if((n=i(n))===(a=i(a)))return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function lr(e){return 0===parseFloat(e)?"0":e}function dr(e){return sr(e).map(lr).join(" ").replace(Jt,"url($1)")}function fr(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t=e.split(":"),r=Object(gt.a)(t),n=r[0],a=r.slice(1).join(":");return[n.trim(),dr(a.trim())]}));return Object(c.fromPairs)(t)}var pr=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({class:function(e,t){return!c.xor.apply(void 0,Object(i.a)([e,t].map(sr))).length},style:function(e,t){return c.isEqual.apply(void 0,Object(i.a)([e,t].map(fr)))}},Object(c.fromPairs)(er.map((function(e){return[e,c.stubTrue]}))));function hr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a<t.length;a++)n[t[a][0].toLowerCase()]=t[a][1];for(var o=0;o<e.length;o++){var i=Object(te.a)(e[o],2),s=i[0],c=i[1],u=s.toLowerCase();if(!n.hasOwnProperty(u))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var l=n[u],d=pr[u];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var gr={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):hr.apply(void 0,Object(i.a)([e,t].map(cr)).concat([r]))},Chars:ur,Comment:ur};function br(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Xt.test(t.chars))return t}}function mr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt();try{return new jt(new ir).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function _r(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function vr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt();if(e===t)return!0;var n,a,o=[e,t].map((function(e){return mr(e,r)})),i=Object(te.a)(o,2),s=i[0],c=i[1];if(!s||!c)return!1;for(;n=br(s);){if(!(a=br(c)))return r.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==a.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",a.type,a,n.type,n),!1;var u=gr[n.type];if(u&&!u(n,a,r))return!1;_r(n,c[0])?br(c):_r(a,s[0])&&br(s)}return!(a=br(c))||(r.warning("Expected %o, instead saw end of content.",a),!1)}function wr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Pt(),o=ge(e);try{n=qt(o,t)}catch(e){return a.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:a.getItems()}}var i=vr(r,n,a);return i||a.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,n,r),{isValid:i,validationIssues:a.getItems()}}function yr(e,t,r){return wr(e,t,r,xt()).isValid}function kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jr(e){for(var t={},r=0;r<e.length;r++){var n=e[r],a=n.name,o=n.value;t[a]=o}return t}function Cr(e){if(e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:Or(Or({},jr(e.attributes)),{},{children:Tr(e.childNodes)})}}function xr(e){return function(t){var r=t;e&&(r=t.querySelector(e));try{return Cr(r)}catch(e){return null}}}var Pr={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:Cr,toHTML:function(e){return Sr([e])},matcher:xr};function Tr(e){for(var t=[],r=0;r<e.length;r++)try{t.push(Cr(e[r]))}catch(e){}return t}function Sr(e){var t=e;return Object(se.renderToString)(t)}function Ar(e){return function(t){var r=t;return e&&(r=t.querySelector(e)),r?Tr(r.childNodes):[]}}var Er={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var r=Object(c.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),n=0;n<r.length;n++){var a=r[n],o="string"==typeof a&&"string"==typeof e[e.length-1];o?e[e.length-1]+=a:e.push(a)}return e},getChildrenArray:function(e){return e},fromDOM:Tr,toHTML:Sr,matcher:Ar};function Br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lr(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=ft(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(c.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return n=e.selector,a=e.multiline,function(e){var t=e;if(n&&(t=e.querySelector(n)),!t)return"";if(a){for(var r="",o=t.children.length,i=0;i<o;i++){var s=t.children[i];s.nodeName.toLowerCase()===a&&(r+=s.outerHTML)}return r}return t.innerHTML};case"text":return function(e){return ft(e,"textContent")}(e.selector);case"children":return Ar(e.selector);case"node":return xr(e.selector);case"query":var r=Object(c.mapValues)(e.query,Lr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return dt(e,t)}))}}(e.selector,r);case"tag":return Object(c.flow)([ft(e.selector,"nodeName"),function(e){return e?e.toLowerCase():void 0}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var n,a}function Mr(e,t){return dt(e,Lr(t))}function zr(e,t,r,n){var a,o=t.type,i=t.enum;switch(t.source){case void 0:a=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":a=Mr(r,t)}return function(e,t){return void 0===t||function(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}(e,Object(c.castArray)(t))}(a,o)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(a,i)||(a=void 0),void 0===a?t.default:a}function Dr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=ge(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return zr(n,e,t,r)}));return Object(ne.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Hr(e,t){var r=Nr({},t);if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){var n=e.substring(11),a={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=n in a?a[n]:n,["amazon-kindle","wordpress"].includes(n)||(r.responsive=!0),e="core/embed"}return{name:e,attributes:r}}function Ir(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,o=e.innerHTML,s=e.innerContent,u=Se(),l=Be()||u;r=r||{},o=o.trim();var d=t||u,f=Hr(d,r);d=f.name,r=f.attributes,d===u&&(o=Object(pt.autop)(o).trim());var p=ze(d);if(!p){var h={attrs:r,blockName:t,innerBlocks:a,innerContent:s},g=Vr(h,{isCommentDelimited:!1}),b=Vr(h,{isCommentDelimited:!0});d&&(o=b),r={originalName:t,originalContent:b,originalUndelimitedContent:g},p=ze(d=l)}a=(a=a.map(Ir)).filter((function(e){return e}));var m=d===u||d===l;if(p&&(o||!m)){var _=Qe(d,Dr(p,o,r),a);if(!m){var v=wr(p,_.attributes,o),w=v.isValid,y=v.validationIssues;_.isValid=w,_.validationIssues=y}return _.originalContent=_.originalContent||o,(_=function(e,t){var r=ze(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,o=a.originalContent,s=a.innerBlocks,u=0;u<n.length;u++){var l=n[u].isEligible,d=void 0===l?c.stubFalse:l;if(!e.isValid||d(t,s)){var f=Object.assign(Object(c.omit)(r,_e),n[u]),p=Dr(f,o,t),h=wr(f,p,o),g=h.isValid,b=h.validationIssues;if(g){var m=s,_=f.migrate;if(_){var v=Object(c.castArray)(_(p,s)),w=Object(te.a)(v,2),y=w[0];p=void 0===y?t:y;var k=w[1];m=void 0===k?s:k}e=Nr(Nr({},e),{},{attributes:p,innerBlocks:m,isValid:!0})}else e=Nr(Nr({},e),{},{validationIssues:[].concat(Object(i.a)(Object(c.get)(e,"validationIssues",[])),Object(i.a)(b))})}}return e}(_,r)).validationIssues&&_.validationIssues.length>0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",p.name,p,qt(p,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(i.a)(r))}))),_}}function Vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,o=e.attrs,i=void 0===o?{}:o,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=void 0===u?[]:u,d=0,f=l.map((function(e){return null!==e?e:Vr(c[d++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?Kt(a,i,f):f}new Set(["attribute","html","text","tag"]);var Rr,Fr=(Rr=ht.parse,function(e){return Rr(e).reduce((function(e,t){var r=Ir(t);return r&&e.push(r),e}),[])}),$r=Fr;function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gr(){return Object(c.filter)(ot("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Ur(Ur({},e),{},{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}))}function Kr(e){var t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).map((function(e){var t=at(Gr(),(function(t){return(0,t.isMatch)(e)}));if(!t)return Qe("core/html",Dr("core/html",e.outerHTML));var r=t.transform,n=t.blockName;return r?r(e):Qe(n,Dr(n,e.outerHTML))}))}function Wr(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var o=n.firstChild;o.nodeType===o.TEXT_NODE?o.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):n.removeChild(o):o.nodeType===o.ELEMENT_NODE?"BR"===o.nodeName?(o.nextSibling&&"BR"===o.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(o.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(o):n.removeChild(o)):"P"===o.nodeName?Object(ce.isEmpty)(o)?n.removeChild(o):a.appendChild(o):Object(ce.isPhrasingContent)(o)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(o)):a.appendChild(o):n.removeChild(o)}return a.innerHTML}function Yr(e,t){if(e.nodeType===e.COMMENT_NODE)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&"noteaser"===n.nodeValue){a=!0,Object(ce.remove)(n);break}Object(ce.replace)(e,function(e,t,r){var n=r.createElement("wp-block");return n.dataset.block="core/more",e&&(n.dataset.customText=e),t&&(n.dataset.noTeaser=""),n}(r,a,t))}}else Object(ce.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))}function Zr(e){e.nodeType===e.COMMENT_NODE&&Object(ce.remove)(e)}function Qr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Xr(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,o=r.textDecorationLine,i=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(ce.wrap)(t.createElement("strong"),e),"italic"===a&&Object(ce.wrap)(t.createElement("em"),e),("line-through"===o||Object(c.includes)(i,"line-through"))&&Object(ce.wrap)(t.createElement("s"),e),"super"===s?Object(ce.wrap)(t.createElement("sup"),e):"sub"===s&&Object(ce.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(ce.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(ce.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))}function Jr(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}var en=window.parseInt;function tn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function rn(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=en(n[1],10)-1||0,o=e.previousElementSibling;if(!o||!tn(o)){var i=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(i),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",i),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)tn(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);tn(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}}function nn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function an(e){if(nn(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var o=a,i=o.previousElementSibling,s=o.parentNode;i?(i.appendChild(t),s.removeChild(o)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&nn(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(ce.unwrap)(e)}}}var on=r(48),sn=window,cn=sn.atob,un=sn.File;function ln(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(te.a)(r,2),a=n[0],o=n[1],i=a.slice(5).split(";"),s=Object(te.a)(i,1)[0];if(!o||!s)return void(e.src="");try{t=cn(o)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u<c.length;u++)c[u]=t.charCodeAt(u);var l=s.replace("/","."),d=new un([c],l,{type:s});e.src=Object(on.createBlobURL)(d)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function dn(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Wr(e.innerHTML))}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function pn(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ce.isTextContent)(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var o=n.closest("p,div");o?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!o.textContent.trim())&&fn(n,o):fn(n,o):"BODY"===n.parentNode.nodeName&&fn(n)}}var hn=r(122);function gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var mn=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=ot("from"),o=at(a,(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(hn.regexp)(e).test(t)}))}));if(!o)return[t];var s,u=Object(c.castArray)(o.tag),l=Object(c.find)(u,(function(e){return Object(hn.regexp)(e).test(t)})),d=r;if(s=Object(hn.next)(l,t,r)){r=s.index+s.content.length;var f=t.substr(0,s.index),p=t.substr(r);if(!(Object(c.includes)(s.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(o.isMatch&&!o.isMatch(s.shortcode.attrs))return e(t,d,[].concat(Object(i.a)(n),[o.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(o.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(s.shortcode.attrs,s)})),g=Qe(o.blockName,Dr(bn(bn({},ze(o.blockName)),{},{attributes:o.attributes}),s.shortcode.content,h));return[].concat(Object(i.a)(e(f)),[g],Object(i.a)(e(p)))}return[t]},vn=r(256),wn=new(r.n(vn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function yn(e){if("IFRAME"===e.nodeName){var t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function kn(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ce.unwrap)(e)}function On(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?On(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):On(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Cn(e){return function(e,t){var r={phrasingContentSchema:Object(ce.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map((function(e){var t=e.isMatch,n=e.blockName,a=e.schema,o=Ie(n,"anchor");return a=Object(c.isFunction)(a)?a(r):a,o||t?Object(c.mapValues)(a,(function(e){var r=e.attributes||[];return o&&(r=[].concat(Object(i.a)(r),["id"])),jn(jn({},e),{},{attributes:r,isMatch:t||void 0})})):a}));return c.mergeWith.apply(void 0,[{}].concat(Object(i.a)(n),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":jn(jn({},e),t);case"attributes":case"require":return[].concat(Object(i.a)(e||[]),Object(i.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}(Gr(),e)}function xn(e,t,r,n){Array.from(e).forEach((function(e){xn(e.childNodes,t,r,n),t.forEach((function(t){r.contains(e)&&t(e,r,n)}))}))}function Pn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,xn(n.body.childNodes,t,n,r),n.body.innerHTML}function Tn(e,t){var r=e["".concat(t,"Sibling")];if(r&&Object(ce.isPhrasingContent)(r))return r;var n=e.parentNode;return n&&Object(ce.isPhrasingContent)(n)?Tn(n,t):void 0}function Sn(e){if(e.nodeType===e.TEXT_NODE){for(var t=e;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;var r,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var a=Tn(e,"previous");a&&"BR"!==a.nodeName&&" "!==a.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var o=Tn(e,"next");(!o||"BR"===o.nodeName||o.nodeType===o.TEXT_NODE&&(" "===(r=o.textContent[0])||"\r"===r||"\n"===r||"\t"===r))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}}function An(e){"BR"===e.nodeName&&(Tn(e,"next")||e.parentNode.removeChild(e))}function En(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function Bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ln=window.console;function Mn(e,t){return e=Pn(e,[kn,Xr,Zr]),e=Object(ce.removeInvalidHTML)(e,Object(ce.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=Pn(e,[Sn,An])),Ln.log("Processed inline HTML:\n\n",e),e}function zn(e){var t,r=e.HTML,n=void 0===r?"":r,a=e.plainText,o=void 0===a?"":a,i=e.mode,s=void 0===i?"AUTO":i,u=e.tagName,l=e.preserveWhiteSpace;if(n=(n=(n=n.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==s){var d=n||o;if(-1!==d.indexOf("\x3c!-- wp:"))return Fr(d)}if(String.prototype.normalize&&(n=n.normalize()),!o||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(t=o,n=wn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,r,n){return"".concat(t,"\n").concat(r,"\n").concat(n)}))}(t)),"AUTO"===s&&-1===o.indexOf("\n")&&0!==o.indexOf("<p>")&&0===n.indexOf("<p>")&&(s="INLINE")),"INLINE"===s)return Mn(n,l);var f=mn(n),p=f.length>1;if("AUTO"===s&&!p&&function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(Qr)&&function e(t,r){return t.every((function(t){return function(e,t){if(Object(ce.isTextContent)(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(c.difference)([r,t],e).length}))}(t,r)&&e(Array.from(t.children),r)}))}(n,t)}(n,u))return Mn(n,l);var h=Object(ce.getPhrasingContentSchema)("paste"),g=Cn("paste"),b=Object(c.compact)(Object(c.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[kn,rn,Jr,an,ln,Xr,Yr,Zr,yn,pn,dn],r=Nn(Nn({},g),h);return e=Pn(e,t,g),e=Pn(e=Wr(e=Object(ce.removeInvalidHTML)(e,r)),[Sn,An,En],g),Ln.log("Processed HTML piece:\n\n",e),Kr(e)})));if("AUTO"===s&&1===b.length&&Ie(b[0].name,"__unstablePasteTextInline",!1)){var m=o.trim();if(""!==m&&-1===m.indexOf("\n"))return Object(ce.removeInvalidHTML)(Gt(b[0]),h)}return b}var Dn=r(35),Hn=r.n(Dn);function In(e){return Hn()("wp.blocks.getPhrasingContentSchema",{alternative:"wp.dom.getPhrasingContentSchema"}),Object(ce.getPhrasingContentSchema)(e)}function Vn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Fr(r);var n=mn(r),a=Cn();return Object(c.compact)(Object(c.flatMap)(n,(function(e){return"string"!=typeof e?e:Kr(e=Wr(e=Pn(e,[an,Yr,pn,dn],a)))})))}function Rn(){return Object(o.select)(ee).getCategories()}function Fn(e){Object(o.dispatch)(ee).setCategories(e)}function $n(e,t){Object(o.dispatch)(ee).updateCategory(e,t)}function qn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[2],i=e[r];return a===i.name&&Gn(i.innerBlocks,o)}))}function Kn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[1],i=n[2],s=e[r];if(s&&s.name===a){var u=Kn(s.innerBlocks,i);return Un(Un({},s),{},{innerBlocks:u})}var l=ze(a),d=function(e,t){return Object(c.mapValues)(t,(function(t,r){return f(e[r],t)}))},f=function(e,t){return r=e,"html"===Object(c.get)(r,["source"])&&Object(c.isArray)(t)?Object(se.renderToString)(t):function(e){return"query"===Object(c.get)(e,["source"])}(e)&&t?t.map((function(t){return d(e.query,t)})):t;var r},p=Hr(a,d(Object(c.get)(l,["attributes"],{}),o));return Qe(p.name,p.attributes,Kn([],i))})):e}},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){e.exports=window.wp.data},46:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,t.a=function(e,t){var r,c;function u(){r=a?new WeakMap:i()}function l(){var r,n,a,o,i,u=arguments.length;for(o=new Array(u),a=0;a<u;a++)o[a]=arguments[a];for(i=t.apply(null,o),(r=c(i)).isUniqueByDependants||(r.lastDependants&&!s(i,r.lastDependants,0)&&r.clear(),r.lastDependants=i),n=r.head;n;){if(s(n.args,o,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,o)},o[0]=null,n.args=o,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=o),c=a?function(e){var t,a,o,s,c,u=r,l=!0;for(t=0;t<e.length;t++){if(!(c=a=e[t])||"object"!=typeof c){l=!1;break}u.has(a)?u=u.get(a):(o=new WeakMap,u.set(a,o),u=o)}return u.has(n)||((s=i()).isUniqueByDependants=l,u.set(n,s)),u.get(n)}:function(){return r},l.getDependants=t,l.clear=u,u(),l}},48:function(e,t){e.exports=window.wp.blob},59:function(e,t){e.exports=window.wp.htmlEntities},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},61:function(e,t){e.exports=window.wp.isShallowEqual},62:function(e,t,r){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t,r,n,s={r:0,g:0,b:0},c=1,d=null,f=null,p=null,h=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,r=!1;if(A[e])e=A[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=$.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=$.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=$.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=$.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=$.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=$.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=$.hex8.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:I(t[4]),format:r?"name":"hex8"}:(t=$.hex6.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"}:(t=$.hex4.exec(e))?{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=$.hex3.exec(e))&&{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(t=e.r,r=e.g,n=e.b,s={r:255*N(t,255),g:255*N(r,255),b:255*N(n,255)},h=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(d=D(e.s),f=D(e.v),s=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),o=e-n,i=r*(1-t),s=r*(1-o*t),c=r*(1-(1-o)*t),u=n%6;return{r:255*[r,s,i,i,c,r][u],g:255*[c,r,r,s,i,i][u],b:255*[i,i,c,r,r,s][u]}}(e.h,d,f),h=!0,g="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(d=D(e.s),p=D(e.l),s=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=i(c,s,e+1/3),a=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,d,p),h=!0,g="hsl"),e.hasOwnProperty("a")&&(c=e.a)),c=B(c),{ok:h,format:e.format||g,r:u(255,l(s.r,0)),g:u(255,l(s.g,0)),b:u(255,l(s.b,0)),a:c}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function p(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,l:s}}function h(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=o,c=o-i;if(a=0===o?0:c/o,o==i)n=0;else{switch(o){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:a,v:s}}function g(e,t,r,n){var a=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function b(e,t,r,n){return[z(H(n)),z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s-=t/100,r.s=L(r.s),f(r)}function _(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s+=t/100,r.s=L(r.s),f(r)}function v(e){return f(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l+=t/100,r.l=L(r.l),f(r)}function y(e,t){t=0===t?0:t||10;var r=f(e).toRgb();return r.r=l(0,u(255,r.r-c(-t/100*255))),r.g=l(0,u(255,r.g-c(-t/100*255))),r.b=l(0,u(255,r.b-c(-t/100*255))),f(r)}function k(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l-=t/100,r.l=L(r.l),f(r)}function O(e,t){var r=f(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,f(r)}function j(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+120)%360,s:t.s,l:t.l}),f({h:(r+240)%360,s:t.s,l:t.l})]}function x(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+90)%360,s:t.s,l:t.l}),f({h:(r+180)%360,s:t.s,l:t.l}),f({h:(r+270)%360,s:t.s,l:t.l})]}function P(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+72)%360,s:t.s,l:t.l}),f({h:(r+216)%360,s:t.s,l:t.l})]}function T(e,t,r){t=t||6,r=r||30;var n=f(e).toHsl(),a=360/r,o=[f(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(f(n));return o}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(H(n))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+b(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(T,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),o=r/100;return f({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,o,i,s,c=f.readability(e,t);switch(a=!1,(o=r,"AA"!==(i=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(o.size||"small").toLowerCase())&&"large"!==s&&(s="small"),n={level:i,size:s}).level+n.size){case"AAsmall":case"AAAlarge":a=c>=4.5;break;case"AAlarge":a=c>=3;break;case"AAAsmall":a=c>=7}return a},f.mostReadable=function(e,t,r){var n,a,o,i,s=null,c=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var u=0;u<t.length;u++)(n=f.readability(e,t[u]))>c&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var A=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(A);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return u(1,l(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function H(e){return a.round(255*parseFloat(e)).toString(16)}function I(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},7:function(e,t){e.exports=window.wp.primitives},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(38),a=r(30),o=r(39);function i(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],_n=!0,n=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(_n=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){n=!0,a=e}finally{try{_n||null==i.return||i.return()}finally{if(n)throw a}}return r}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}}});
build/components/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '8e86dac10883c5536a52135497faf72e');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '6b7e0fd3d4b037f4ccbd50832f876864');
build/components/index.js CHANGED
@@ -9,7 +9,7 @@ Object(d.sprintf)(Object(d.__)("Color code: %s"),t)})}))}),[o,u,l,f]);return Obj
9
  /* translators: %d: number of results. */
10
  Object(d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",L.length),L.length):Object(d.__)("No results.");Object(xo.speak)(t,"polite")}}),[L,C]),Object(c.createElement)(Ec,{onFocusOutside:function(){P(!1)}},Object(c.createElement)($t,{className:u()(g,"components-combobox-control"),tabIndex:"-1",label:o,id:"components-form-token-input-".concat(j),hideLabelFromVision:b,help:h},Object(c.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:function(e){var t=!1;switch(e.keyCode){case Ur.ENTER:k&&(F(k),t=!0);break;case Ur.UP:z(-1),t=!0;break;case Ur.DOWN:z(1),t=!0;break;case Ur.ESCAPE:P(!1),E(null),t=!0,e.stopPropagation()}t&&e.preventDefault()}},Object(c.createElement)(en,null,Object(c.createElement)(Qt,null,Object(c.createElement)(yc,{className:"components-combobox-control__input",instanceId:j,ref:R,value:C?T:A,"aria-label":A?"".concat(A,", ").concat(o):null,onFocus:function(){P(!0),p(""),I("")},isExpanded:C,selectedSuggestionIndex:L.indexOf(k),onChange:function(e){var t=e.value;I(t),p(t),P(!0)}})),m&&Object(c.createElement)(Jt,null,Object(c.createElement)(Eo.a,{className:"components-combobox-control__reset",icon:gc.a,disabled:!r,onClick:function(){l(null),R.current.input.focus()},label:Object(d.__)("Reset")}))),C&&Object(c.createElement)(_c,{instanceId:j,match:{label:T},displayTransform:function(e){return e.label},suggestions:L,selectedIndex:L.indexOf(k),onHover:E,onSelect:F,scrollIntoView:!0}))))},xc=n(45),Cc=n(32),Pc=n.n(Cc);function Dc(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function Mc(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Tc(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Mc(n.overflowY,t)||Mc(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Ic(e,t,n,r,o,a,i,c){return a<e&&i>t||a>e&&i<t?0:a<=e&&c<=n||i>=t&&c>=n?a-e-r:i>t&&c<n||a<e&&c>n?i-t+o:0}n(195);var Rc=0;function Nc(e,t){return e===t||e.contains&&e.contains(t)}function Ac(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return o.cancel=r,o}function Lc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Fc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function zc(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{})}function Bc(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Hc(e,t,n,r,o){if(void 0===o&&(o=!0),0===n)return-1;var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var i=t+e;i<0?i=o?a:0:i>a&&(i=o?0:a);var c=Vc(e,i,n,r,o);return-1===c?t:c}function Vc(e,t,n,r,o){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var i=t+1;i<n;i++)if(!r(i).hasAttribute("disabled"))return i}else for(var c=t-1;c>=0;c--)if(!r(c).hasAttribute("disabled"))return c;return o?e>0?Vc(1,0,n,r,!1):Vc(-1,n-1,n,r,!1):-1}function Kc(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(Nc(t,e)||r&&Nc(t,n.activeElement))}))}var Wc=Ac((function(){Uc().textContent=""}),500);function Uc(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Gc={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var $c=Ac((function(e,t){var n,r;n=e(),r=Uc(t),n&&(r.textContent=n,Wc())}),200);function qc(e){var t=e.id,n=e.labelId,r=e.menuId,o=e.getItemId,a=e.toggleButtonId,i=void 0===t?"downshift-"+String(Rc++):t;return{labelId:n||i+"-label",menuId:r||i+"-menu",getItemId:o||function(e){return i+"-item-"+e},toggleButtonId:a||i+"-toggle-button"}}function Yc(e){return/^\S{1}$/.test(e)}function Xc(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Zc(e){var t=Object(S.useRef)(e);return t.current=e,t}function Qc(e,t,n){var r=Object(S.useRef)(),a=Object(S.useRef)(),i=Object(S.useCallback)((function(t,n){a.current=n,t=zc(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Object(o.a)({},n,{changes:r}))}),[e]),c=Object(S.useReducer)(i,t),s=c[0],l=c[1],u=Zc(n),d=Object(S.useCallback)((function(e){return l(Object(o.a)({props:u.current},e))}),[u]),f=a.current;return Object(S.useEffect)((function(){f&&r.current&&r.current!==s&&function(e,t,n){var r=e.props,a=e.type,i={};Object.keys(t).forEach((function(e){!function(e,t,n,r){var o="on"+Xc(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(e,r,t,n),n[e]!==t[e]&&(i[e]=n[e])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Object(o.a)({type:a},i))}(f,r.current,s),r.current=s}),[s,n,f]),[s,d]}var Jc={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){null!==e&&function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,i=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!Dc(e))throw new TypeError("Invalid target");for(var s=document.scrollingElement||document.documentElement,l=[],u=e;Dc(u)&&c(u);){if((u=u.parentNode)===s){l.push(u);break}u===document.body&&Tc(u)&&!Tc(document.documentElement)||Tc(u,i)&&l.push(u)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,h=e.getBoundingClientRect(),v=h.height,m=h.width,g=h.top,y=h.right,O=h.bottom,j=h.left,w="start"===r||"nearest"===r?g:"end"===r?O:g+v/2,_="center"===o?j+m/2:"end"===o?y:j,k=[],E=0;E<l.length;E++){var S=l[E],x=S.getBoundingClientRect(),C=x.height,P=x.width,D=x.top,M=x.right,T=x.bottom,I=x.left;if("if-needed"===n&&g>=0&&j>=0&&O<=f&&y<=d&&g>=D&&O<=T&&j>=I&&y<=M)return k;var R=getComputedStyle(S),N=parseInt(R.borderLeftWidth,10),A=parseInt(R.borderTopWidth,10),L=parseInt(R.borderRightWidth,10),F=parseInt(R.borderBottomWidth,10),z=0,B=0,H="offsetWidth"in S?S.offsetWidth-S.clientWidth-N-L:0,V="offsetHeight"in S?S.offsetHeight-S.clientHeight-A-F:0;if(s===S)z="start"===r?w:"end"===r?w-f:"nearest"===r?Ic(b,b+f,f,A,F,b+w,b+w+v,v):w-f/2,B="start"===o?_:"center"===o?_-d/2:"end"===o?_-d:Ic(p,p+d,d,N,L,p+_,p+_+m,m),z=Math.max(0,z+b),B=Math.max(0,B+p);else{z="start"===r?w-D-A:"end"===r?w-T+F+V:"nearest"===r?Ic(D,T,C,A,F+V,w,w+v,v):w-(D+C/2)+V/2,B="start"===o?_-I-N:"center"===o?_-(I+P/2)+H/2:"end"===o?_-M+L+H:Ic(I,M,P,N,L+H,_,_+m,m);var K=S.scrollLeft,W=S.scrollTop;w+=W-(z=Math.max(0,Math.min(W+z,S.scrollHeight-C+V))),_+=K-(B=Math.max(0,Math.min(K+B,S.scrollWidth-P+H)))}k.push({el:S,top:z,left:B})}return k}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))},circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function es(e,t,n){void 0===n&&(n=Gc);var r="default"+Xc(t);return r in e?e[r]:n[t]}function ts(e,t,n){if(void 0===n&&(n=Gc),t in e)return e[t];var r="initial"+Xc(t);return r in e?e[r]:es(e,t,n)}function ns(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,c=t.selectedItem,s=t.highlightedIndex;return 0===o.length?-1:void 0!==a&&s===a?a:void 0!==i?i:c?0===n?o.indexOf(c):Hc(n,o.indexOf(c),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function rs(e,t,n,r,o){for(var a=n.map((function(e){return r(e).toLowerCase()})),i=e.toLowerCase(),c=function(e,t){var n=o(t);return e.startsWith(i)&&!(n&&n.hasAttribute("disabled"))},s=t+1;s<a.length;s++)if(c(a[s],s))return s;for(var l=0;l<t;l++)if(c(a[l],l))return l;return t}Pc.a.array.isRequired,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.bool,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.bool,Pc.a.bool,Pc.a.bool,Pc.a.any,Pc.a.any,Pc.a.any,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.string,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})});var os=Object(o.a)({},Jc,{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),as=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function is(e,t){var n,r=t.type,a=t.props,i=t.shiftKey;switch(r){case 10:n={highlightedIndex:t.index};break;case 11:n={isOpen:es(a,"isOpen"),highlightedIndex:es(a,"highlightedIndex"),selectedItem:a.items[t.index]};break;case 15:var c=t.key,s=""+e.inputValue+c,l=rs(s,e.selectedItem?a.items.indexOf(e.selectedItem):-1,a.items,a.itemToString,t.getItemNodeFromIndex);n=Object(o.a)({inputValue:s},l>=0&&{selectedItem:a.items[l]});break;case 13:n={highlightedIndex:ns(a,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:ns(a,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=Object(o.a)({isOpen:es(a,"isOpen"),highlightedIndex:es(a,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:a.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:Vc(1,0,a.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Vc(-1,a.items.length-1,a.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var u=t.key,d=""+e.inputValue+u,f=rs(d,e.highlightedIndex,a.items,a.itemToString,t.getItemNodeFromIndex);n=Object(o.a)({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:Hc(i?5:1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,a.circularNavigation)};break;case 1:n={highlightedIndex:Hc(i?-5:-1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,a.circularNavigation)};break;case 9:n={highlightedIndex:-1};break;case 12:case 16:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ns(a,e,0)};break;case 17:n={isOpen:!0,highlightedIndex:ns(a,e,0)};break;case 18:n={isOpen:!1};break;case 19:n={highlightedIndex:t.highlightedIndex};break;case 20:n={selectedItem:t.selectedItem};break;case 21:n={inputValue:t.inputValue};break;case 22:n={highlightedIndex:es(a,"highlightedIndex"),isOpen:es(a,"isOpen"),selectedItem:es(a,"selectedItem"),inputValue:es(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Object(o.a)({},e,{},n)}function cs(e){void 0===e&&(e={});var t=Object(o.a)({},os,{},e),n=t.items,r=t.scrollIntoView,a=t.environment,i=t.initialIsOpen,c=t.defaultIsOpen,s=t.itemToString,l=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=function(e,t,n){var r=Qc(e,t,n),o=r[0],a=r[1];return[zc(o,n),a]}(is,function(e){var t=ts(e,"selectedItem"),n=ts(e,"isOpen"),r=ts(e,"highlightedIndex"),o=ts(e,"inputValue");return{highlightedIndex:r<0&&t?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}(t),t),f=d[0],p=d[1],b=f.isOpen,h=f.highlightedIndex,v=f.selectedItem,m=f.inputValue,g=Object(S.useRef)(null),y=Object(S.useRef)(null),O=Object(S.useRef)();O.current={};var j=Object(S.useRef)(!0),w=Object(S.useRef)(!0),_=Object(S.useRef)(!0),k=Object(S.useRef)(null),E=Object(S.useRef)(qc(t)),x=Object(S.useRef)(),C=Zc({state:f,props:t}),P=function(e){return O.current[E.current.getItemId(e)]};Object(S.useEffect)((function(){if(!j.current){var e=x.current;$c((function(){return u({isOpen:b,highlightedIndex:h,selectedItem:v,inputValue:m,highlightedItem:n[h],resultCount:n.length,itemToString:s,previousResultCount:e})}),a.document)}}),[b,h,v,m]),Object(S.useEffect)((function(){if(!j.current){var e=x.current;$c((function(){return l({isOpen:b,highlightedIndex:h,selectedItem:v,inputValue:m,highlightedItem:n[h],resultCount:n.length,itemToString:s,previousResultCount:e})}),a.document)}}),[v]),Object(S.useEffect)((function(){j.current&&(k.current=Ac((function(e){e({type:21,inputValue:""})}),500)),m&&k.current(p)}),[m]),Object(S.useEffect)((function(){j.current?(i||c||b)&&y.current&&y.current.focus():b&&y.current?y.current.focus():a.document.activeElement===y.current&&g.current&&(_.current=!1,g.current.focus())}),[b]),Object(S.useEffect)((function(){h<0||!b||!Object.keys(O.current).length||(!1===w.current?w.current=!0:r(P(h),y.current))}),[h]),Object(S.useEffect)((function(){j.current||(x.current=n.length)})),Object(S.useEffect)((function(){j.current=!1}),[]);var D=function(e,t,n,r){var o=Object(S.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(S.useEffect)((function(){var a=function(){o.current.isMouseDown=!0},i=function(a){o.current.isMouseDown=!1,e&&!Kc(a.target,t.map((function(e){return e.current})),n.document)&&r()},c=function(){o.current.isTouchMove=!1},s=function(){o.current.isTouchMove=!0},l=function(a){!e||o.current.isTouchMove||Kc(a.target,t.map((function(e){return e.current})),n.document,!1)||r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",i),n.addEventListener("touchstart",c),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",c),n.removeEventListener("touchmove",s),n.removeEventListener("touchend",l)}}),[e,n]),o}(b,[y,g],a,(function(){p({type:8})})),M=Object(S.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:P,shiftKey:e.shiftKey})}}}),[p]),T=Object(S.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:P})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:P})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p]),I=Object(S.useCallback)((function(){p({type:16})}),[p]),R=Object(S.useCallback)((function(){p({type:18})}),[p]),N=Object(S.useCallback)((function(){p({type:17})}),[p]),A=Object(S.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),L=Object(S.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),F=Object(S.useCallback)((function(){p({type:22})}),[p]),z=Object(S.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),B=Object(S.useCallback)((function(e){return Object(o.a)({id:E.current.labelId,htmlFor:E.current.toggleButtonId},e)}),[]),H=Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.onMouseLeave,a=n.refKey,i=void 0===a?"ref":a,c=n.onKeyDown,s=n.onBlur,l=n.ref,u=Object(xc.a)(n,["onMouseLeave","refKey","onKeyDown","onBlur","ref"]),d=C.current.state;return Object(o.a)(((t={})[i]=Fc(l,(function(e){y.current=e})),t.id=E.current.menuId,t.role="listbox",t["aria-labelledby"]=E.current.labelId,t.tabIndex=-1,t),d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":E.current.getItemId(d.highlightedIndex)},{onMouseLeave:Lc(r,(function(){p({type:9})})),onKeyDown:Lc(c,(function(e){var t=Bc(e);t&&T[t]?T[t](e):Yc(t)&&p({type:7,key:t,getItemNodeFromIndex:P})})),onBlur:Lc(s,(function(){!1!==_.current?!D.current.isMouseDown&&p({type:8}):_.current=!0}))},u)}),[p,C,T,D]);return{getToggleButtonProps:Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.onClick,a=n.onKeyDown,i=n.refKey,c=void 0===i?"ref":i,s=n.ref,l=Object(xc.a)(n,["onClick","onKeyDown","refKey","ref"]),u=Object(o.a)(((t={})[c]=Fc(s,(function(e){g.current=e})),t.id=E.current.toggleButtonId,t["aria-haspopup"]="listbox",t["aria-expanded"]=C.current.state.isOpen,t["aria-labelledby"]=E.current.labelId+" "+E.current.toggleButtonId,t),l);return l.disabled||(u.onClick=Lc(r,(function(){p({type:12})})),u.onKeyDown=Lc(a,(function(e){var t=Bc(e);t&&M[t]?M[t](e):Yc(t)&&p({type:15,key:t,getItemNodeFromIndex:P})}))),u}),[p,C,M]),getLabelProps:B,getMenuProps:H,getItemProps:Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,a=n.index,i=n.onMouseMove,c=n.onClick,s=n.refKey,l=void 0===s?"ref":s,u=n.ref,d=Object(xc.a)(n,["item","index","onMouseMove","onClick","refKey","ref"]),f=C.current,b=f.state,h=f.props,v=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(a,r,h.items);if(v<0)throw new Error("Pass either item or item index in getItemProps!");var m=Object(o.a)(((t={role:"option","aria-selected":""+(v===b.highlightedIndex),id:E.current.getItemId(v)})[l]=Fc(u,(function(e){e&&(O.current[E.current.getItemId(v)]=e)})),t),d);return d.disabled||(m.onMouseMove=Lc(i,(function(){a!==b.highlightedIndex&&(w.current=!1,p({type:10,index:a}))})),m.onClick=Lc(c,(function(){p({type:11,index:a})}))),m}),[p,C]),toggleMenu:I,openMenu:N,closeMenu:R,setHighlightedIndex:A,selectItem:L,reset:F,setInputValue:z,highlightedIndex:h,isOpen:b,selectedItem:v,inputValue:m}}cs.stateChangeTypes=as,Pc.a.array.isRequired,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.bool,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.bool,Pc.a.bool,Pc.a.bool,Pc.a.any,Pc.a.any,Pc.a.any,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})}),Object(o.a)({},Jc,{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},circularNavigation:!0}),Pc.a.array,Pc.a.array,Pc.a.array,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.func,Pc.a.func,Pc.a.string,Pc.a.string,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})});var ss=function(e){return e&&e.name},ls=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,a=t.props.items;switch(r){case cs.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case cs.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function us(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,a=e.options,i=e.onChange,s=e.value,l=cs({initialSelectedItem:a[0],items:a,itemToString:ss,onSelectedItemChange:i,selectedItem:s,stateReducer:ls}),d=l.getLabelProps,f=l.getToggleButtonProps,p=l.getMenuProps,b=l.getItemProps,h=l.isOpen,v=l.highlightedIndex,g=l.selectedItem,y=p({className:"components-custom-select-control__menu","aria-hidden":!h});return y["aria-activedescendant"]&&"downshift-null"===y["aria-activedescendant"].slice(0,"downshift-null".length)&&delete y["aria-activedescendant"],Object(c.createElement)("div",{className:u()("components-custom-select-control",t)},n?Object(c.createElement)(m,Object(o.a)({as:"label"},d()),r):Object(c.createElement)("label",d({className:"components-custom-select-control__label"}),r),Object(c.createElement)(Eo.a,f({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),ss(g),Object(c.createElement)(Ci.a,{icon:Ni.a,className:"components-custom-select-control__button-icon"})),Object(c.createElement)("ul",y,h&&a.map((function(e,t){return Object(c.createElement)("li",b({item:e,index:t,key:e.key,className:u()(e.className,"components-custom-select-control__item",{"is-highlighted":t===v}),style:e.style}),e.name,e===g&&Object(c.createElement)(Ci.a,{icon:Pi.a,className:"components-custom-select-control__item-icon"}))}))))}var ds=n(145),fs=(n(286),n(51)),ps=n.n(fs),bs=n(258),hs=n.n(bs);var vs=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(){var e;return Object(zi.a)(this,o),(e=r.apply(this,arguments)).onChangeMoment=e.onChangeMoment.bind(Object(Hi.a)(e)),e.nodeRef=Object(c.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(Hi.a)(e)),e.isDayHighlighted=e.isDayHighlighted.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(o,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current){var e=this.nodeRef.current.ownerDocument;if(!e.activeElement||!this.nodeRef.current.contains(e.activeElement)){var t=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!t)return;t.focus()}}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?ps()(n):ps()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?ps()(e):ps()()}},{key:"isDayHighlighted",value:function(e){var t;return!(null===(t=this.props.events)||void 0===t||!t.length)&&(this.props.onMonthPreviewed&&this.props.onMonthPreviewed(e.toDate()),this.props.events.some((function(t){return e.isSame(t.date,"day")})))}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(c.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(c.createElement)(hs.a,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:Object(d.isRTL)(),isOutsideRange:function(e){return n&&n(e.toDate())},isDayHighlighted:this.isDayHighlighted,onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),o}(c.Component),ms=n(55),gs=function(){var e=Object(ms.__experimentalGetSettings)().timezone,t=(new Date).getTimezoneOffset()/60*-1;if(Number(e.offset)===t)return null;var n=e.offset>=0?"+":"",r=""!==e.abbr&&isNaN(e.abbr)?e.abbr:"UTC".concat(n).concat(e.offset),o="UTC"===e.string?Object(d.__)("Coordinated Universal Time"):"(".concat(r,") ").concat(e.string.replace("_"," "));return Object(c.createElement)(b.a,{position:"top center",text:o},Object(c.createElement)("div",{className:"components-datetime__timezone"},r))};function ys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Os(e){var t=e.as,n=e.value,r=e.onUpdate,o=Object(i.a)(e,["as","value","onUpdate"]);return Object(c.createElement)(t||"input",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:n,defaultValue:n,onBlur:function(e){var t=e.target;if(n!==t.value){var a=parseInt(t.value,10);!Object(s.isInteger)(a)||void 0!==o.max&&a>o.max||void 0!==o.min&&a<o.min?t.value=n:r(t.name,a)}}},o))}var js=function(e){var t=e.is12Hour,n=e.currentTime,r=e.onChange,o=Object(c.useState)((function(){return ps()(n).startOf("minutes")})),i=Object(a.a)(o,2),s=i[0],l=i[1];Object(c.useEffect)((function(){l(n?ps()(n).startOf("minutes"):ps()())}),[n]);var f=Object(c.useMemo)((function(){return{day:s.format("DD"),month:s.format("MM"),year:s.format("YYYY"),minutes:s.format("mm"),hours:s.format(t?"hh":"HH"),am:s.format("H")<=11?"AM":"PM"}}),[s,t]),p=f.day,b=f.month,h=f.year,v=f.minutes,m=f.hours,g=f.am;function y(e){l(e),r(e.format("YYYY-MM-DDTHH:mm:ss"))}function O(e,t){y(s.clone()[e](t))}function j(e){return function(){if(g!==e){var t=parseInt(m,10);y(s.clone().hours("PM"===e?(t%12+12)%24:t%12))}}}var w=Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:p,step:1,min:1,max:31,onUpdate:O})),_=Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(c.createElement)(Os,{as:"select","aria-label":Object(d.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:b,onUpdate:function(e,t){return O(e,t-1)}},Object(c.createElement)("option",{value:"01"},Object(d.__)("January")),Object(c.createElement)("option",{value:"02"},Object(d.__)("February")),Object(c.createElement)("option",{value:"03"},Object(d.__)("March")),Object(c.createElement)("option",{value:"04"},Object(d.__)("April")),Object(c.createElement)("option",{value:"05"},Object(d.__)("May")),Object(c.createElement)("option",{value:"06"},Object(d.__)("June")),Object(c.createElement)("option",{value:"07"},Object(d.__)("July")),Object(c.createElement)("option",{value:"08"},Object(d.__)("August")),Object(c.createElement)("option",{value:"09"},Object(d.__)("September")),Object(c.createElement)("option",{value:"10"},Object(d.__)("October")),Object(c.createElement)("option",{value:"11"},Object(d.__)("November")),Object(c.createElement)("option",{value:"12"},Object(d.__)("December")))),k=t?Object(c.createElement)(c.Fragment,null,w,_):Object(c.createElement)(c.Fragment,null,_,w);return Object(c.createElement)("div",{className:u()("components-datetime__time")},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(d.__)("Date")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},k,Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:h,onUpdate:O})))),Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(d.__)("Time")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:t?1:0,max:t?12:23,value:m,onUpdate:O}),Object(c.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(c.createElement)(Os,{"aria-label":Object(d.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:v,onUpdate:O})),t&&Object(c.createElement)(Xa,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(c.createElement)(Eo.a,{isPrimary:"AM"===g,isSecondary:"AM"!==g,onClick:j("AM"),className:"components-datetime__time-am-button"},Object(d.__)("AM")),Object(c.createElement)(Eo.a,{isPrimary:"PM"===g,isSecondary:"PM"!==g,onClick:j("PM"),className:"components-datetime__time-pm-button"},Object(d.__)("PM"))),Object(c.createElement)(gs,null))))},ws=Object(c.forwardRef)((function(e,t){var n=e.currentDate,r=e.is12Hour,o=e.isInvalidDate,i=e.onMonthPreviewed,s=e.onChange,l=e.events,u=Object(c.useState)(!1),f=Object(a.a)(u,2),p=f[0],b=f[1];return Object(c.createElement)("div",{ref:t,className:"components-datetime"},!p&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(js,{currentTime:n,onChange:s,is12Hour:r}),Object(c.createElement)(vs,{currentDate:n,onChange:s,isInvalidDate:o,onMonthPreviewed:i,events:l})),p&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"components-datetime__calendar-help"},Object(c.createElement)("h4",null,Object(d.__)("Click to Select")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(d.__)("Click the right or left arrows to select other months in the past or the future.")),Object(c.createElement)("li",null,Object(d.__)("Click the desired day to select it."))),Object(c.createElement)("h4",null,Object(d.__)("Navigating with a keyboard")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d._x)("Enter","keyboard button")},"↵")," ",Object(c.createElement)("span",null,Object(d.__)("Select the date in focus."))),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Left and Right Arrows")},"←/→")," ",Object(d.__)("Move backward (left) or forward (right) by one day.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Up and Down Arrows")},"↑/↓")," ",Object(d.__)("Move backward (up) or forward (down) by one week.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Page Up and Page Down")},Object(d.__)("PgUp/PgDn"))," ",Object(d.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Home and End")},Object(d.__)("Home/End"))," ",Object(d.__)("Go to the first (home) or last (end) day of a week."))))),Object(c.createElement)("div",{className:"components-datetime__buttons"},!p&&n&&Object(c.createElement)(Eo.a,{className:"components-datetime__date-reset-button",isLink:!0,onClick:function(){return s(null)}},Object(d.__)("Reset")),Object(c.createElement)(Eo.a,{className:"components-datetime__date-help-toggle",isLink:!0,onClick:function(){b(!p)}},p?Object(d.__)("Close"):Object(d.__)("Calendar Help"))))})),_s=n(74),ks=ce("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",ke("black"),";display:block;margin:0;width:100%;",(function(e){return e.disabled?q({color:ke("ui.textDisabled")},""):""}),";",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?q("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}),";",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return q(n[t]||n.default,"")}),";",Nn({paddingLeft:8,paddingRight:24})(),"}"),Es=ce("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Nn({right:0})()," svg{display:block;}");var Ss=Object(c.forwardRef)((function e(t,n){var r=t.className,l=t.disabled,d=void 0!==l&&l,p=t.help,b=t.hideLabelFromVision,h=t.id,v=t.label,m=t.multiple,g=void 0!==m&&m,y=t.onBlur,O=void 0===y?s.noop:y,j=t.onChange,w=void 0===j?s.noop:j,_=t.onFocus,k=void 0===_?s.noop:_,E=t.options,S=void 0===E?[]:E,x=t.size,C=void 0===x?"default":x,P=t.value,D=t.labelPosition,M=void 0===D?"top":D,T=Object(i.a)(t,["className","disabled","help","hideLabelFromVision","id","label","multiple","onBlur","onChange","onFocus","options","size","value","labelPosition"]),I=Object(c.useState)(!1),R=Object(a.a)(I,2),N=R[0],A=R[1],L=function(t){var n=Object(f.useInstanceId)(e),r="inspector-select-control-".concat(n);return t||r}(h),F=p?"".concat(L,"__help"):void 0;if(Object(s.isEmpty)(S))return null;var z=u()("components-select-control",r);return Object(c.createElement)($t,{help:p},Object(c.createElement)(ir,{className:z,disabled:d,hideLabelFromVision:b,id:L,isFocused:N,label:v,size:C,suffix:Object(c.createElement)(Es,null,Object(c.createElement)(Ci.a,{icon:Ni.a,size:18})),labelPosition:M},Object(c.createElement)(ks,Object(o.a)({},T,{"aria-describedby":F,className:"components-select-control__input",disabled:d,id:L,multiple:g,onBlur:function(e){O(e),A(!1)},onChange:function(e){if(g){var t=Object(_o.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));w(t)}else w(e.target.value,{event:e})},onFocus:function(e){k(e),A(!0)},ref:n,size:C,value:P}),S.map((function(e,t){var n=e.id||"".concat(e.label,"-").concat(e.value,"-").concat(t);return Object(c.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),xs=[{name:Object(d.__)("None"),slug:"none"},{name:Object(d.__)("Small"),slug:"small"},{name:Object(d.__)("Medium"),slug:"medium"},{name:Object(d.__)("Large"),slug:"large"},{name:Object(d.__)("Extra Large"),slug:"xlarge"}],Cs=function(e){var t,n,r=e.label,o=e.value,a=e.sizes,i=void 0===a?xs:a,l=e.icon,f=e.onChange,p=e.className,b=void 0===p?"":p,h=Object(c.createElement)(c.Fragment,null,l&&Object(c.createElement)(_s.a,{icon:l}),r);return Object(c.createElement)(Ss,{className:u()(b,"block-editor-dimension-control"),label:h,hideLabelFromVision:!1,value:o,onChange:function(e){var t=function(e,t){return e.find((function(e){return t===e.slug}))}(i,e);t&&o!==t.slug?Object(s.isFunction)(f)&&f(t.slug):f(void 0)},options:(t=i,n=t.map((function(e){return{label:e.name,value:e.slug}})),[{label:Object(d.__)("Default"),value:""}].concat(n))})},Ps=n(31),Ds=ce("div",{target:"e1ac3xxk0",label:"StyledWrapper"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),Ms=Object(c.createContext)(!1),Ts=Ms.Consumer,Is=Ms.Provider,Rs=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function Ns(e){var t=e.className,n=e.children,r=e.isDisabled,a=void 0===r||r,l=Object(i.a)(e,["className","children","isDisabled"]),d=Object(c.useRef)(),f=function(){Ps.focus.focusable.find(d.current).forEach((function(e){Object(s.includes)(Rs,e.nodeName)&&e.setAttribute("disabled",""),"A"===e.nodeName&&e.setAttribute("tabindex",-1);var t=e.getAttribute("tabindex");null!==t&&"-1"!==t&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))},p=Object(c.useCallback)(Object(s.debounce)(f,{leading:!0}),[]);return Object(c.useLayoutEffect)((function(){if(a){f();var e=new window.MutationObserver(p);return e.observe(d.current,{childList:!0,attributes:!0,subtree:!0}),function(){e.disconnect(),p.cancel()}}}),[]),a?Object(c.createElement)(Is,{value:!0},Object(c.createElement)(Ds,Object(o.a)({ref:d,className:u()(t,"components-disabled")},l),n)):Object(c.createElement)(Is,{value:!1},n)}Ns.Consumer=Ts;var As=Ns,Ls=Object(at.a)({name:"DisclosureContent",compose:lt.a,keys:["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,a=Object(Re.a)(t,["onTransitionEnd","onAnimationEnd","style"]),i=e.animated&&e.animating,c=Object(S.useState)(null),s=c[0],l=c[1],u=!e.visible&&!i,d=u?Object(Re.b)({display:"none"},o):o,f=Object(ct.a)(n),p=Object(ct.a)(r),b=Object(S.useRef)(0);Object(S.useEffect)((function(){if(e.animated)return b.current=window.requestAnimationFrame((function(){b.current=window.requestAnimationFrame((function(){e.visible?l("enter"):l(i?"leave":null)}))})),function(){return window.cancelAnimationFrame(b.current)}}),[e.animated,e.visible,i]);var h=Object(S.useCallback)((function(t){var n;Object(st.a)(t)&&i&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e))}),[e.animated,i,e.stopAnimation]),v=Object(S.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),h(e)}),[h]),m=Object(S.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),h(e)}),[h]);return Object(Re.b)({id:e.baseId,"data-enter":"enter"===s?"":void 0,"data-leave":"leave"===s?"":void 0,onTransitionEnd:v,onAnimationEnd:m,hidden:u,style:d},a)}}),Fs=Object(ot.a)({as:"div",useHook:Ls}),zs="is-dragging-components-draggable";function Bs(e){var t=e.children,n=e.onDragStart,r=e.onDragOver,o=e.onDragEnd,a=e.cloneClassname,i=e.elementId,s=e.transferData,l=e.__experimentalDragComponent,u=Object(c.useRef)(),d=Object(c.useRef)((function(){}));return Object(c.useEffect)((function(){return function(){d.current()}}),[]),Object(c.createElement)(c.Fragment,null,t({onDraggableStart:function(e){var t=e.target.ownerDocument;e.dataTransfer.setData("text",JSON.stringify(s));var o=t.createElement("div"),c=t.createElement("div");if("function"==typeof e.dataTransfer.setDragImage&&(c.classList.add("components-draggable__invisible-drag-image"),t.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0)),o.classList.add("components-draggable__clone"),a&&o.classList.add(a),u.current){o.style.top="".concat(e.clientY,"px"),o.style.left="".concat(e.clientX,"px");var l=t.createElement("div");l.innerHTML=u.current.innerHTML,o.appendChild(l),t.body.appendChild(o)}else{var f=t.getElementById(i),p=f.getBoundingClientRect(),b=f.parentNode,h=parseInt(p.top,10),v=parseInt(p.left,10);o.style.width="".concat(p.width+0,"px");var m=f.cloneNode(!0);m.id="clone-".concat(i),p.height>700?(o.style.transform="scale(0.5)",o.style.transformOrigin="top left",o.style.top="".concat(e.clientY-100,"px"),o.style.left="".concat(e.clientX,"px")):(o.style.top="".concat(h-0,"px"),o.style.left="".concat(v-0,"px")),Array.from(m.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),o.appendChild(m),b.appendChild(o)}var g,y=e.clientX,O=e.clientY;function j(e){o.style.top="".concat(parseInt(o.style.top,10)+e.clientY-O,"px"),o.style.left="".concat(parseInt(o.style.left,10)+e.clientX-y,"px"),y=e.clientX,O=e.clientY,r&&r(e)}t.addEventListener("dragover",j),t.body.classList.add(zs),e.persist(),n&&(g=setTimeout((function(){return n(e)}))),d.current=function(){o&&o.parentNode&&o.parentNode.removeChild(o),c&&c.parentNode&&c.parentNode.removeChild(c),t.body.classList.remove(zs),t.removeEventListener("dragover",j),clearTimeout(g)}},onDraggableEnd:function(e){e.preventDefault(),d.current(),r&&o(e)}}),l&&Object(c.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:u},l))}var Hs=n(209),Vs=n(61),Ks=n.n(Vs),Ws=Object(c.createContext)(),Us=Ws.Provider;function Gs(e){var t=e.dataTransfer;if(t){if(Object(s.includes)(t.types,"Files")||Object(Ps.getFilesFromDataTransfer)(t).length>0)return"file";if(Object(s.includes)(t.types,"text/html"))return"html"}return"default"}function $s(e,t){return Boolean("file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop)}function qs(e){var t=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e;return{x:t.clientX,y:t.clientY}}function Ys(e,t,n){var r=Object(s.filter)(Array.from(e),(function(e){return $s(n,e)&&(r=e.element.current,o=t.x,a=t.y,(i=r.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&o>=i.left&&o<=i.right&&a>=i.top&&a<=i.bottom);var r,o,a,i}));return Object(s.find)(r,(function(e){var t=e.isRelative?e.element.current.parentElement:e.element.current;return!Object(s.some)(r,(function(n){return n!==e&&t.contains(n.element.current)}))}))}var Xs={isDraggingOverDocument:!1,isDraggingOverElement:!1,x:null,y:null,type:null};function Zs(e){var t=Object(c.useContext)(Ws);Object(c.useEffect)((function(){var n,r=e.current.ownerDocument.defaultView,o=Object(s.throttle)((function(e){if(!n||!n.contains(e.target)){var r=Gs(e),o=qs(e),a=Ys(t,o,r);n=a&&a.isRelative?a.element.current.offsetParent:null,t.forEach((function(e){var t=e===a,n={isDraggingOverDocument:$s(r,e),isDraggingOverElement:t,x:t&&e.withPosition?o.x:null,y:t&&e.withPosition?o.y:null,type:t?r:null};e.setState((function(e){return Ks()(e,n)?e:n}))})),e.preventDefault()}}),200);function a(e){o(e),e.preventDefault()}function i(){o.cancel(),t.forEach((function(e){return e.setState(Xs)}))}function c(e){e.dataTransfer&&e.dataTransfer.files.length;var n=Gs(e),r=qs(e),o=Ys(t,r,n);if(i(),o)switch(n){case"file":o.onFilesDrop(Object(Ps.getFilesFromDataTransfer)(e.dataTransfer),r);break;case"html":o.onHTMLDrop(e.dataTransfer.getData("text/html"),r);break;case"default":o.onDrop(e,r)}e.stopPropagation(),e.preventDefault()}return r.addEventListener("drop",c),r.addEventListener("dragover",a),r.addEventListener("mouseup",i),r.addEventListener("dragend",i),function(){r.removeEventListener("drop",c),r.removeEventListener("dragover",a),r.removeEventListener("mouseup",i),r.removeEventListener("dragend",i)}}),[e,t])}function Qs(e){var t=Object(c.useRef)(new Set([]));return Object(c.createElement)(Us,Object(o.a)({},e,{value:t.current}))}function Js(e){var t=e.children,n=Object(c.useRef)();return Zs(n),Object(c.createElement)("div",{ref:n,className:"components-drop-zone__provider"},t)}function el(e){var t=e.children;return Object(c.createElement)(Qs,null,Object(c.createElement)(Js,null,t))}function tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rl(e){var t=e.element,n=e.onFilesDrop,r=e.onHTMLDrop,o=e.onDrop,s=e.isDisabled,l=e.withPosition,u=e.__unstableIsRelative,d=void 0!==u&&u,f=Object(c.useContext)(Ws),p=Object(c.useState)(Xs),b=Object(a.a)(p,2),h=b[0],v=b[1];Object(c.useEffect)((function(){if(!s){var e={element:t,onDrop:o,onFilesDrop:n,onHTMLDrop:r,setState:v,withPosition:l,isRelative:d};return f.add(e),function(){f.delete(e)}}}),[s,o,n,r,l,d]);var m=h.x,g=h.y,y=null;return null!==m&&null!==g&&(y={x:m,y:g}),nl(nl({},Object(i.a)(h,["x","y"])),{},{position:y})}function ol(e){var t,n=e.className,r=e.label,o=e.onFilesDrop,a=e.onHTMLDrop,i=e.onDrop,s=Object(c.useRef)(),l=rl({element:s,onFilesDrop:o,onHTMLDrop:a,onDrop:i,__unstableIsRelative:!0}),f=l.isDraggingOverDocument,p=l.isDraggingOverElement,b=l.type;p&&(t=Object(c.createElement)("div",{className:"components-drop-zone__content"},Object(c.createElement)(Ci.a,{icon:Hs.a,className:"components-drop-zone__content-icon"}),Object(c.createElement)("span",{className:"components-drop-zone__content-text"},r||Object(d.__)("Drop files to upload"))));var v=u()("components-drop-zone",n,Object(h.a)({"is-active":(f||p)&&("file"===b&&o||"html"===b&&a||"default"===b&&i),"is-dragging-over-document":f,"is-dragging-over-element":p},"is-dragging-".concat(b),!!b));return Object(c.createElement)("div",{ref:s,className:v},t)}var al=n(35),il=n.n(al);var cl=["menuitem","menuitemradio","menuitemcheckbox"],sl=function(e){Object(Vi.a)(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function a(){var e;return Object(zi.a)(this,a),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(Hi.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Hi.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(Hi.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(a,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(s.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?Ps.focus.tabbable:Ps.focus.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?s.noop:i,l=n.stopNavigationEvents,u=a(e);if(void 0!==u&&l){e.stopImmediatePropagation();var d=e.target.getAttribute("role");cl.includes(d)&&e.preventDefault()}if(u){var f=t(e.target.ownerDocument.activeElement);if(f){var p=f.index,b=f.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(p,b.length,u):p+u;h>=0&&h<b.length&&(b[h].focus(),c(h,b[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(i.a)(e,["children"]);return Object(c.createElement)("div",Object(o.a)({ref:this.bindContainer},Object(s.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),a}(c.Component),ll=function(e,t){return Object(c.createElement)(sl,Object(o.a)({},e,{forwardedRef:t}))};ll.displayName="NavigableContainer";var ul=Object(c.forwardRef)(ll),dl=Object(c.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,a=e.orientation,l=void 0===a?"vertical":a,u=Object(i.a)(e,["role","orientation"]);return Object(c.createElement)(ul,Object(o.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:l,eventToOffset:function(e){var t=e.keyCode,n=[Ur.DOWN],r=[Ur.UP];return"horizontal"===l&&(n=[Ur.RIGHT],r=[Ur.LEFT]),"both"===l&&(n=[Ur.RIGHT,Ur.DOWN],r=[Ur.LEFT,Ur.UP]),Object(s.includes)(n,t)?1:Object(s.includes)(r,t)?-1:Object(s.includes)([Ur.DOWN,Ur.UP,Ur.LEFT,Ur.RIGHT],t)?0:void 0}},u))}));function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pl(pl({},e),t);return t.className&&e.className&&(n.className=u()(t.className,e.className)),n}var hl=function(e){var t,n=e.children,r=e.className,a=e.controls,i=e.icon,l=void 0===i?"menu":i,d=e.label,f=e.popoverProps,p=e.toggleProps,b=e.menuProps,h=e.disableOpenOnArrowDown,v=void 0!==h&&h,m=e.text,g=e.menuLabel,y=e.position,O=e.noIcons;if(g&&il()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),y&&il()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(s.isEmpty)(a)&&!Object(s.isFunction)(n))return null;Object(s.isEmpty)(a)||(t=a,Array.isArray(t[0])||(t=[t]));var j=bl({className:"components-dropdown-menu__popover",position:y},f);return Object(c.createElement)(Li,{className:u()("components-dropdown-menu",r),popoverProps:j,renderToggle:function(e){var t,n=e.isOpen,r=e.onToggle,a=bl({className:u()("components-dropdown-menu__toggle",{"is-opened":n})},p);return Object(c.createElement)(Eo.a,Object(o.a)({},a,{icon:l,onClick:function(e){r(e),a.onClick&&a.onClick(e)},onKeyDown:function(e){!function(e){v||n||e.keyCode!==Ur.DOWN||(e.preventDefault(),e.stopPropagation(),r())}(e),a.onKeyDown&&a.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:d,text:m,showTooltip:null===(t=null==p?void 0:p.showTooltip)||void 0===t||t}),a.children)},renderContent:function(e){var r=bl({"aria-label":g||d,className:u()("components-dropdown-menu__menu",{"no-icons":O})},b);return Object(c.createElement)(dl,Object(o.a)({},r,{role:"menu"}),Object(s.isFunction)(n)?n(e):null,Object(s.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(c.createElement)(Eo.a,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:u()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})},vl=n(355),ml=ce(Ci.a,{target:"etxm6pv0",label:"StyledIcon"})({name:"i8uvf3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor;"}),gl=Object(c.forwardRef)((function(e,t){var n=e.href,r=e.children,a=e.className,l=e.rel,f=void 0===l?"":l,p=Object(i.a)(e,["href","children","className","rel"]);f=Object(s.uniq)(Object(s.compact)([].concat(Object(_o.a)(f.split(" ")),["external","noreferrer","noopener"]))).join(" ");var b=u()("components-external-link",a);return Object(c.createElement)("a",Object(o.a)({},p,{className:b,href:n,target:"_blank",rel:f,ref:t}),r,Object(c.createElement)(m,{as:"span"},
11
  /* translators: accessibility text */
12
- Object(d.__)("(opens in a new tab)")),Object(c.createElement)(ml,{icon:vl.a,className:"components-external-link__icon"}))})),yl=ce("div",{target:"e11wezi70",label:"MediaWrapper"})({name:"4wwkjz",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%;"}),Ol=ce("div",{target:"e11wezi71",label:"MediaContainer"})({name:"1q0l1fq",styles:"align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0,0,0,0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"}),jl=ce("div",{target:"e11wezi72",label:"MediaPlaceholder"})("background:",ke("lightGray.300"),";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),wl=ce(qo,{target:"e11wezi73",label:"UnitControl"})({name:"v7v99c",styles:"width:100px;"}),_l=ce(tn,{target:"e11wezi74",label:"ControlWrapper"})({name:"lqoi1w",styles:"max-width:320px;padding:1em 0;"}),kl=ce("div",{target:"e11wezi75",label:"GridView"})("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%,-50%,0 );transition:opacity 120ms linear;z-index:1;",(function(e){return e.isActive&&"\n\t\topacity: 1;\n\t"}),""),El=ce("div",{target:"e11wezi76",label:"GridLine"})({name:"18dz4sk",styles:"box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0,0,0,0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 );"}),Sl=ce(El,{target:"e11wezi77",label:"GridLineX"})({name:"1u4twh6",styles:"height:1px;left:0;right:0;"}),xl=ce(El,{target:"e11wezi78",label:"GridLineY"})({name:"13gvipf",styles:"width:1px;top:0;bottom:0;"}),Cl={top:0,left:0,bottom:0,right:0,width:0,height:0},Pl=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function Dl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(".");return t[t.length-1]}function Ml(e){return Math.round(100*e)}function Tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Il(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rl(e){var t=e.onChange,n=void 0===t?s.noop:t,r=e.percentages,o=void 0===r?{x:.5,y:.5}:r,a=Ml(o.x),i=Ml(o.y);return Object(c.createElement)(_l,{className:"focal-point-picker__controls"},Object(c.createElement)(Nl,{label:Object(d.__)("Left"),value:a,onChange:function(e){n(Il(Il({},o),{},{x:parseInt(e)/100}))},dragDirection:"e"}),Object(c.createElement)(Nl,{label:Object(d.__)("Top"),value:i,onChange:function(e){n(Il(Il({},o),{},{y:parseInt(e)/100}))},dragDirection:"s"}))}function Nl(e){return Object(c.createElement)(wl,Object(o.a)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"side",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}var Al=ce("div",{target:"eas61re0",label:"FocalPointWrapper"})({name:"1frwh1y",styles:"background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;&.is-dragging{cursor:grabbing;}"}),Ll=ce(r.SVG,{target:"eas61re1",label:"PointerIconSVG"})({name:"1fp1hff",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%;"}),Fl=ce(r.Path,{target:"eas61re2",label:"PointerIconPathOutline"})({name:"j4aqsr",styles:"fill:white;"}),zl=ce(r.Path,{target:"eas61re3",label:"PointerIconPathFill"})("fill:",ke("blue.wordpress.700"),";fill:",ke("ui.theme"),";");function Bl(e){var t=e.coordinates,n=void 0===t?{left:"50%",top:"50%"}:t,r=Object(i.a)(e,["coordinates"]),a=u()("components-focal-point-picker__icon_container"),s={left:n.left,top:n.top};return Object(c.createElement)(Al,Object(o.a)({},r,{className:a,style:s}),Object(c.createElement)(Ll,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(c.createElement)(Fl,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(c.createElement)(zl,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"})))}var Hl=window,Vl=Hl.clearTimeout,Kl=Hl.setTimeout;function Wl(e){var t=e.bounds,n=void 0===t?{}:t,r=e.value,s=Object(i.a)(e,["bounds","value"]),l=function(e){var t=Object(c.useState)(!1),n=Object(a.a)(t,2),r=n[0],o=n[1];return oo((function(){o(!0);var e=Kl((function(){o(!1)}),600);return function(){return Vl(e)}}),[e]),{isActive:r}}(r),u={width:n.width,height:n.height};return Object(c.createElement)(kl,Object(o.a)({},s,l,{className:"components-focal-point-picker__grid",style:u}),Object(c.createElement)(Sl,{style:{top:"33%"}}),Object(c.createElement)(Sl,{style:{top:"66%"}}),Object(c.createElement)(xl,{style:{left:"33%"}}),Object(c.createElement)(xl,{style:{left:"66%"}}))}function Ul(e){var t=e.alt,n=e.autoPlay,r=e.src,a=e.onLoad,l=void 0===a?s.noop:a,u=e.mediaRef,d=e.muted,f=void 0===d||d,p=Object(i.a)(e,["alt","autoPlay","src","onLoad","mediaRef","muted"]);return r?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&Pl.includes(Dl(e))}(r)?Object(c.createElement)("video",Object(o.a)({},p,{autoPlay:n,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:f,onLoadedData:l,ref:u,src:r})):Object(c.createElement)("img",Object(o.a)({},p,{alt:t,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:l,ref:u,src:r})):Object(c.createElement)(Gl,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:l,mediaRef:u})}function Gl(e){var t=e.mediaRef,n=e.onLoad,r=void 0===n?s.noop:n,a=Object(i.a)(e,["mediaRef","onLoad"]),l=Object(c.useRef)(r);return Object(c.useLayoutEffect)((function(){window.requestAnimationFrame((function(){l.current()}))}),[]),Object(c.createElement)(jl,Object(o.a)({ref:t},a))}var $l=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(e){var t;return Object(zi.a)(this,o),(t=r.apply(this,arguments)).state={isDragging:!1,bounds:Cl,percentages:e.value},t.containerRef=Object(c.createRef)(),t.mediaRef=Object(c.createRef)(),t.handleOnClick=t.handleOnClick.bind(Object(Hi.a)(t)),t.handleOnMouseUp=t.handleOnMouseUp.bind(Object(Hi.a)(t)),t.handleOnKeyDown=t.handleOnKeyDown.bind(Object(Hi.a)(t)),t.onMouseMove=t.onMouseMove.bind(Object(Hi.a)(t)),t.updateBounds=t.updateBounds.bind(Object(Hi.a)(t)),t.updateValue=t.updateValue.bind(Object(Hi.a)(t)),t}return Object(Bi.a)(o,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.handleOnMouseUp),window.addEventListener("resize",this.updateBounds),this.updateBounds()}},{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1}),this.props.value.x===this.state.percentages.x&&this.props.value.y===this.state.percentages.y||this.setState({percentages:this.props.value})}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.handleOnMouseUp),window.removeEventListener("resize",this.updateBounds)}},{key:"calculateBounds",value:function(){var e=Cl;if(!this.mediaRef.current)return e;var t=this.mediaRef.current.clientWidth,n=this.mediaRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"updateValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.props.onChange,n=e.x,r=e.y,o={x:parseFloat(n).toFixed(2),y:parseFloat(r).toFixed(2)};this.setState({percentages:o},(function(){t(o)}))}},{key:"updateBounds",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"handleOnClick",value:function(e){var t=this;e.persist(),this.setState({isDragging:!0},(function(){t.onMouseMove(e)}))}},{key:"handleOnMouseUp",value:function(){this.setState({isDragging:!1})}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey;if([Ur.UP,Ur.DOWN,Ur.LEFT,Ur.RIGHT].includes(t)){var r=this.state.percentages,o=r.x,a=r.y;e.preventDefault();var i=parseFloat(o),c=parseFloat(a),s=n?.1:.01;switch(e.keyCode){case Ur.UP:c-=s;break;case Ur.DOWN:c+=s;break;case Ur.LEFT:i-=s;break;case Ur.RIGHT:i+=s}var l={x:i=bo(i,0,1,s),y:c=bo(c,0,1,s)};this.updateValue(l)}}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds;if(n){e.preventDefault();var o=e.shiftKey,a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},c=Math.max(r.left,Math.min(i.left,r.right)),s=Math.max(r.top,Math.min(i.top,r.bottom)),l=(c-r.left)/(a.width-2*r.left),u=(s-r.top)/(a.height-2*r.top),d=o?.1:.01,f={x:l=bo(l,0,1,d),y:u=bo(u,0,1,d)};this.updateValue(f)}}},{key:"pickerDimensions",value:function(){var e=this.containerRef.current;if(!e)return{width:0,height:0,left:0,top:0};var t=e.clientHeight,n=e.clientWidth,r=e.getBoundingClientRect(),o=r.top,a=r.left;return{width:n,height:t,top:o+document.body.scrollTop,left:a}}},{key:"iconCoordinates",value:function(){var e=this.props.value,t=this.state.bounds;if(void 0===t.left||void 0===t.top)return{left:"50%",top:"50%"};var n=this.pickerDimensions();return{left:e.x*(n.width-2*t.left)+t.left,top:e.y*(n.height-2*t.top)+t.top}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoPlay,r=t.className,o=t.help,a=t.instanceId,i=t.label,s=t.onDragStart,l=t.onDragEnd,f=t.url,p=this.state,b=p.bounds,h=p.isDragging,v=p.percentages,m=this.iconCoordinates(),g=u()("components-focal-point-picker-control",r),y="inspector-focal-point-picker-control-".concat(a);return Object(c.createElement)($t,{label:i,id:y,help:o,className:g},Object(c.createElement)(yl,{className:"components-focal-point-picker-wrapper"},Object(c.createElement)(Ol,{className:"components-focal-point-picker",onDragStart:function(t){e.setState({isDragging:!0}),s(t)},onDrop:function(t){e.setState({isDragging:!1}),l(t)},onKeyDown:this.handleOnKeyDown,onMouseDown:this.handleOnClick,onMouseMove:this.onMouseMove,onMouseUp:this.handleOnMouseUp,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(c.createElement)(Wl,{bounds:b,value:v.x+v.y}),Object(c.createElement)(Ul,{alt:Object(d.__)("Media preview"),autoPlay:n,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:f}),Object(c.createElement)(Bl,{coordinates:m,isDragging:h}))),Object(c.createElement)(Rl,{percentages:v,onChange:this.updateValue}))}}]),o}(c.Component);$l.defaultProps={autoPlay:!0,onDragStart:s.noop,onDragEnd:s.noop,onChange:s.noop,value:{x:.5,y:.5},url:null};var ql=Object(f.compose)([f.withInstanceId,kc])($l);function Yl(e){var t=e.iframeRef,n=e.onFocus,r=Object(i.a)(e,["iframeRef","onFocus"]),a=Object(c.useRef)(),s=t||a;return Object(c.useEffect)((function(){var e=s.current,t=e.ownerDocument,r=t.defaultView,o=r.FocusEvent;function a(){if(t.activeElement===e){var r=new o("focus",{bubbles:!0});e.dispatchEvent(r),n&&n(r)}}return r.addEventListener("blur",a),function(){r.removeEventListener("blur",a)}}),[n]),Object(c.createElement)("iframe",Object(o.a)({ref:s},r))}var Xl=n(356);function Zl(e,t,n){return"number"!=typeof e?null:parseFloat(Object(s.clamp)(e,t,n))}var Ql={name:"tdik1c",styles:"height:30px;min-height:30px;"},Jl=function(){return Ql},eu=ce("div",{target:"exqw8y20",label:"Root"})({name:"44oaj8",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;"}),tu=ce("div",{target:"exqw8y21",label:"Wrapper"})("box-sizing:border-box;color:",ke("blue.medium.focus"),";display:block;flex:1;padding-top:15px;position:relative;width:100%;",(function(e){var t=e.color,n=void 0===t?ke("ui.borderFocus"):t;return q({color:n},"")}),";",Jl,";",(function(e){var t=e.marks;return q({marginBottom:t?16:null},"")}),";",Nn({marginLeft:10}),""),nu=ce("span",{target:"exqw8y22",label:"BeforeIconWrapper"})("margin-top:3px;",Nn({marginRight:6}),""),ru=ce("span",{target:"exqw8y23",label:"AfterIconWrapper"})("margin-top:3px;",Nn({marginLeft:16}),""),ou=ce("span",{target:"exqw8y24",label:"Rail"})("background-color:",ke("lightGray.600"),";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:3px;position:absolute;margin-top:14px;top:0;",(function(e){var t=e.disabled,n=e.railColor||null;return t&&(n=ke("lightGray.400")),q({background:n},"")}),";"),au=ce("span",{target:"exqw8y25",label:"Track"})("background-color:currentColor;border-radius:1px;box-sizing:border-box;height:3px;pointer-events:none;display:block;position:absolute;margin-top:14px;top:0;",(function(e){var t=e.disabled,n=e.trackColor||"currentColor";return t&&(n=ke("lightGray.800")),q({background:n},"")}),";"),iu=ce("span",{target:"exqw8y26",label:"MarksWrapper"})({name:"8d21nl",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none;"}),cu=ce("span",{target:"exqw8y27",label:"Mark"})("box-sizing:border-box;height:9px;left:0;position:absolute;top:-4px;width:1px;",(function(e){var t=e.disabled,n=e.isFilled?"currentColor":ke("lightGray.600");return t&&(n=ke("lightGray.800")),q({backgroundColor:n},"")}),";"),su=ce("span",{target:"exqw8y28",label:"MarkLabel"})("box-sizing:border-box;color:",ke("lightGray.600"),";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(function(e){var t=e.isFilled;return q({color:ke(t?"darkGray.300":"lightGray.600")},"")}),";"),lu=ce("span",{target:"exqw8y29",label:"ThumbWrapper"})("align-items:center;box-sizing:border-box;display:flex;height:",20,"px;justify-content:center;margin-top:5px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",20,"px;",Nn({marginLeft:-10}),""),uu=ce("span",{target:"exqw8y210",label:"Thumb"})("align-items:center;background-color:white;border-radius:50%;border:1px solid ",ke("darkGray.200"),";box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",(function(e){var t=e.isFocused;return q({borderColor:ke(t?"ui.borderFocus":"darkGray.200"),boxShadow:t?"\n\t\t\t\t0 0 0 1px ".concat(ke("ui.borderFocus"),"\n\t\t\t"):"\n\t\t\t\t0 0 0 rgba(0, 0, 0, 0)\n\t\t\t"},"")}),";"),du=ce("input",{target:"exqw8y211",label:"InputRange"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",10,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",20,"px );"),fu={name:"5qqmyx",styles:"top:-80%;"},pu={name:"eda4eg",styles:"bottom:-80%;"},bu=ce("span",{target:"exqw8y212",label:"Tooltip"})("background:",ke("ui.border"),";border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(function(e){var t=e.show;return q({opacity:t?1:0},"")}),";",(function(e){return"top"===e.position?fu:pu}),";",Ee("transition"),";",Nn({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),""),hu=ce(vo,{target:"exqw8y213",label:"InputNumber"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",Ht(8),";input[type='number']&{",Jl,";}",Nn({marginLeft:Ht(2)}),""),vu=ce("span",{target:"exqw8y214",label:"ActionRightWrapper"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",Jl,";}",Nn({marginLeft:8}),""),mu=Object(c.forwardRef)((function(e,t){var n=e.describedBy,r=e.isShiftStepEnabled,l=void 0===r||r,u=e.label,d=e.onHideTooltip,f=void 0===d?s.noop:d,p=e.onMouseLeave,b=void 0===p?s.noop:p,h=e.step,v=void 0===h?1:h,m=e.onBlur,g=void 0===m?s.noop:m,y=e.onChange,O=void 0===y?s.noop:y,j=e.onFocus,w=void 0===j?s.noop:j,_=e.onMouseMove,k=void 0===_?s.noop:_,E=e.onShowTooltip,S=void 0===E?s.noop:E,x=e.shiftStep,C=void 0===x?10:x,P=e.value,D=Object(i.a)(e,["describedBy","isShiftStepEnabled","label","onHideTooltip","onMouseLeave","step","onBlur","onChange","onFocus","onMouseMove","onShowTooltip","shiftStep","value"]),M=ho({step:v,shiftStep:C,isShiftStepEnabled:l}),T=function(e){var t=e.onHide,n=void 0===t?s.noop:t,r=e.onMouseLeave,o=void 0===r?s.noop:r,i=e.onMouseMove,l=void 0===i?s.noop:i,u=e.onShow,d=void 0===u?s.noop:u,f=e.timeout,p=void 0===f?300:f,b=Object(c.useState)(!1),h=Object(a.a)(b,2),v=h[0],m=h[1],g=Object(c.useRef)(),y=Object(c.useCallback)((function(e){window.clearTimeout(g.current),g.current=setTimeout(e,p)}),[p]),O=Object(c.useCallback)((function(e){l(e),y((function(){v||(m(!0),d())}))}),[]),j=Object(c.useCallback)((function(e){o(e),y((function(){m(!1),n()}))}),[]);return Object(c.useEffect)((function(){return function(){window.clearTimeout(g.current)}})),{onMouseMove:O,onMouseLeave:j}}({onHide:f,onMouseLeave:b,onMouseMove:k,onShow:S});return Object(c.createElement)(du,Object(o.a)({},D,T,{"aria-describedby":n,"aria-label":u,"aria-hidden":!1,onBlur:g,onChange:O,onFocus:w,ref:t,step:M,tabIndex:0,type:"range",value:P}))}));function gu(e){var t=e.className,n=e.isFilled,r=void 0!==n&&n,a=e.label,s=e.style,l=void 0===s?{}:s,d=Object(i.a)(e,["className","isFilled","label","style"]),f=u()("components-range-control__mark",r&&"is-filled",t),p=u()("components-range-control__mark-label",r&&"is-filled");return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(cu,Object(o.a)({},d,{"aria-hidden":"true",className:f,isFilled:r,style:l})),a&&Object(c.createElement)(su,{"aria-hidden":"true",className:p,isFilled:r,style:l},a))}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ju(e){var t=e.disabled,n=void 0!==t&&t,r=e.marks,a=void 0!==r&&r,s=e.min,l=void 0===s?0:s,u=e.max,d=void 0===u?100:u,f=e.step,p=void 0===f?1:f,b=e.value,h=void 0===b?0:b,v=Object(i.a)(e,["disabled","marks","min","max","step","value"]);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(ou,Object(o.a)({disabled:n},v)),a&&Object(c.createElement)(wu,{disabled:n,marks:a,min:l,max:d,step:p,value:h}))}function wu(e){var t=e.disabled,n=void 0!==t&&t,r=e.marks,a=void 0!==r&&r,i=e.min,s=void 0===i?0:i,l=e.max,u=void 0===l?100:l,f=e.step,p=void 0===f?1:f,b=e.value,v=function(e){var t=e.marks,n=e.min,r=void 0===n?0:n,o=e.max,a=void 0===o?100:o,i=e.step,c=void 0===i?1:i,s=e.value,l=void 0===s?0:s;if(!t)return[];var u=a-r;if(!Array.isArray(t)){t=[];for(var f=1+Math.round(u/c);f>t.push({value:c*t.length+r}););}var p=[];return t.forEach((function(e,t){if(!(e.value<r||e.value>a)){var n="mark-".concat(t),o=e.value<=l,i="".concat((e.value-r)/u*100,"%"),c=Object(h.a)({},Object(d.isRTL)()?"right":"left",i);p.push(Ou(Ou({},e),{},{isFilled:o,key:n,style:c}))}})),p}({marks:a,min:s,max:u,step:p,value:void 0===b?0:b});return Object(c.createElement)(iu,{"aria-hidden":"true",className:"components-range-control__marks"},v.map((function(e){return Object(c.createElement)(gu,Object(o.a)({},e,{key:e.key,"aria-hidden":"true",disabled:n}))})))}function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eu(e){var t=e.className,n=e.inputRef,r=e.position,s=void 0===r?"auto":r,l=e.show,d=void 0!==l&&l,f=e.style,p=void 0===f?{}:f,b=e.value,h=void 0===b?0:b,v=e.renderTooltipContent,m=void 0===v?function(e){return e}:v,g=e.zIndex,y=void 0===g?100:g,O=Object(i.a)(e,["className","inputRef","position","show","style","value","renderTooltipContent","zIndex"]),j=function(e){var t=e.inputRef,n=e.position,r=Object(c.useState)("top"),o=Object(a.a)(r,2),i=o[0],s=o[1],l=Object(c.useCallback)((function(){if(t&&t.current){var e=n;"auto"===n&&(e=t.current.getBoundingClientRect().top-32<0?"bottom":"top"),s(e)}}),[n]);return Object(c.useEffect)((function(){l()}),[l]),Object(c.useEffect)((function(){return window.addEventListener("resize",l),function(){window.removeEventListener("resize",l)}})),i}({inputRef:n,position:s}),w=u()("components-simple-tooltip",t),_=ku(ku({},p),{},{zIndex:y});return Object(c.createElement)(bu,Object(o.a)({},O,{"aria-hidden":d,className:w,position:j,show:d,role:"tooltip",style:_}),m(h))}var Su=Object(c.forwardRef)((function e(t,n){var r,l=t.afterIcon,p=t.allowReset,b=void 0!==p&&p,v=t.beforeIcon,m=t.className,g=t.currentInput,y=t.color,O=void 0===y?ke("ui.theme"):y,j=t.disabled,w=void 0!==j&&j,_=t.help,k=t.initialPosition,E=t.isShiftStepEnabled,S=void 0===E||E,x=t.label,C=t.marks,P=void 0!==C&&C,D=t.max,M=void 0===D?100:D,T=t.min,I=void 0===T?0:T,R=t.onBlur,N=void 0===R?s.noop:R,A=t.onChange,L=void 0===A?s.noop:A,F=t.onFocus,z=void 0===F?s.noop:F,B=t.onMouseMove,H=void 0===B?s.noop:B,V=t.onMouseLeave,K=void 0===V?s.noop:V,W=t.railColor,U=t.resetFallbackValue,G=t.renderTooltipContent,$=void 0===G?function(e){return e}:G,q=t.showTooltip,Y=t.shiftStep,X=void 0===Y?10:Y,Z=t.step,Q=void 0===Z?1:Z,J=t.trackColor,ee=t.value,te=t.withInputField,ne=void 0===te||te,re=Object(i.a)(t,["afterIcon","allowReset","beforeIcon","className","currentInput","color","disabled","help","initialPosition","isShiftStepEnabled","label","marks","max","min","onBlur","onChange","onFocus","onMouseMove","onMouseLeave","railColor","resetFallbackValue","renderTooltipContent","showTooltip","shiftStep","step","trackColor","value","withInputField"]),oe=function(e){var t=e.min,n=e.max,r=e.initial,o=$o(Zl(e.value,t,n),{initial:r,fallback:null}),i=Object(a.a)(o,2),s=i[0],l=i[1];return[s,Object(c.useCallback)((function(e){l(null===e?null:Zl(e,t,n))}),[t,n])]}({min:I,max:M,value:ee,initial:k}),ae=Object(a.a)(oe,2),ie=ae[0],ce=ae[1],se=Object(c.useRef)(!1),le=Object(c.useState)(q),ue=Object(a.a)(le,2),de=ue[0],fe=ue[1],pe=Object(c.useState)(!1),be=Object(a.a)(pe,2),he=be[0],ve=be[1],me=Object(c.useRef)(),ge=null===(r=me.current)||void 0===r?void 0:r.matches(":focus"),ye=!w&&he,Oe=null===ie,je=Oe?"":void 0!==ie?ie:g,we=Oe?(M-I)/2+I:ie,_e=Oe?50:(ie-I)/(M-I)*100,Ee="".concat(Object(s.clamp)(_e,0,100),"%"),Se=u()("components-range-control",m),xe=u()("components-range-control__wrapper",!!P&&"is-marked"),Ce=Object(f.useInstanceId)(e,"inspector-range-control"),Pe=_?"".concat(Ce,"__help"):void 0,De=!1!==q&&Object(s.isFinite)(ie),Me=function(){var e=parseFloat(U),t=e;isNaN(e)&&(e=null,t=void 0),ce(e),L(t)},Te=Object(h.a)({},Object(d.isRTL)()?"right":"left",Ee);return Object(c.createElement)($t,{className:Se,label:x,id:Ce,help:_},Object(c.createElement)(eu,{className:"components-range-control__root"},v&&Object(c.createElement)(nu,null,Object(c.createElement)(_s.a,{icon:v})),Object(c.createElement)(tu,{className:xe,color:O,marks:!!P},Object(c.createElement)(mu,Object(o.a)({},re,{className:"components-range-control__slider",describedBy:Pe,disabled:w,id:Ce,isShiftStepEnabled:S,label:x,max:M,min:I,onBlur:function(e){N(e),ve(!1),fe(!1)},onChange:function(e){var t=parseFloat(e.target.value);ce(t),L(t)},onFocus:function(e){z(e),ve(!0),fe(!0)},onMouseMove:H,onMouseLeave:K,ref:function(e){me.current=e,n&&n(e)},shiftStep:X,step:Q,value:je})),Object(c.createElement)(ju,{"aria-hidden":!0,disabled:w,marks:P,max:M,min:I,railColor:W,step:Q,value:we}),Object(c.createElement)(au,{"aria-hidden":!0,className:"components-range-control__track",disabled:w,style:{width:Ee},trackColor:J}),Object(c.createElement)(lu,{style:Te},Object(c.createElement)(uu,{"aria-hidden":!0,isFocused:ye})),De&&Object(c.createElement)(Eu,{className:"components-range-control__tooltip",inputRef:me,renderTooltipContent:$,show:ge||de,style:Te,value:ie})),l&&Object(c.createElement)(ru,null,Object(c.createElement)(_s.a,{icon:l})),ne&&Object(c.createElement)(hu,{"aria-label":x,className:"components-range-control__number",disabled:w,inputMode:"decimal",isShiftStepEnabled:S,max:M,min:I,onBlur:function(){se.current&&(Me(),se.current=!1)},onChange:function(e){e=parseFloat(e),ce(e),isNaN(e)?b&&(se.current=!0):((e<I||e>M)&&(e=Zl(e,I,M)),L(e),se.current=!1)},shiftStep:X,step:Q,value:je}),b&&Object(c.createElement)(vu,null,Object(c.createElement)(Eo.a,{className:"components-range-control__reset",disabled:w||void 0===ie,isSecondary:!0,isSmall:!0,onClick:Me},Object(d.__)("Reset")))))})),xu="default";function Cu(e){var t,n=e.fallbackFontSize,r=e.fontSizes,o=void 0===r?[]:r,a=e.disableCustomFontSizes,i=void 0!==a&&a,l=e.onChange,u=e.value,p=e.withSlider,b=void 0!==p&&p,h=Object(s.isString)(u)||o[0]&&Object(s.isString)(o[0].size);t=h?parseInt(u):u;var v=Object(s.isNumber)(u)||Object(s.isString)(u)&&u.endsWith("px"),g=Object(f.useInstanceId)(Cu),y=Object(c.useMemo)((function(){return function(e,t){return t&&!e.length?null:(e=[{slug:xu,name:Object(d.__)("Default")}].concat(Object(_o.a)(e),Object(_o.a)(t?[]:[{slug:"custom",name:Object(d.__)("Custom")}]))).map((function(e){return{key:e.slug,name:e.name,size:e.size,style:{fontSize:"min( ".concat(e.size,", ").concat("25px"," )")}}}))}(o,i)}),[o,i]);if(!y)return null;var O=function(e,t){if(t){var n=e.find((function(e){return e.size===t}));return n?n.slug:"custom"}return xu}(o,u),j="components-font-size-picker__number#".concat(g);return Object(c.createElement)("fieldset",{className:"components-font-size-picker"},Object(c.createElement)(m,{as:"legend"},Object(d.__)("Font size")),Object(c.createElement)("div",{className:"components-font-size-picker__controls"},o.length>0&&Object(c.createElement)(us,{className:"components-font-size-picker__select",label:Object(d.__)("Font size"),options:y,value:y.find((function(e){return e.key===O})),onChange:function(e){var t=e.selectedItem;l(h?t.size:Number(t.size))}}),!b&&!i&&Object(c.createElement)("div",{className:"components-font-size-picker__number-container"},Object(c.createElement)("label",{htmlFor:j},Object(d.__)("Custom")),Object(c.createElement)("input",{id:j,className:"components-font-size-picker__number",type:"number",min:1,onChange:function(e){e.target.value||0===e.target.value?l(h?e.target.value+"px":Number(e.target.value)):l(void 0)},"aria-label":Object(d.__)("Custom"),value:v&&t||""})),Object(c.createElement)(Eo.a,{className:"components-color-palette__clear",disabled:void 0===u,onClick:function(){l(void 0)},isSmall:!0,isSecondary:!0},Object(d.__)("Reset"))),b&&Object(c.createElement)(Su,{className:"components-font-size-picker__custom-input",label:Object(d.__)("Custom Size"),value:v&&t||"",initialPosition:n,onChange:function(e){l(h?e+"px":e)},min:12,max:100,beforeIcon:Xl.a,afterIcon:Xl.a}))}var Pu=function(e){var t=e.accept,n=e.children,r=e.multiple,a=void 0!==r&&r,s=e.onChange,l=e.render,u=Object(i.a)(e,["accept","children","multiple","onChange","render"]),d=Object(c.useRef)(),f=function(){d.current.click()},p=l?l({openFileDialog:f}):Object(c.createElement)(Eo.a,Object(o.a)({onClick:f},u),n);return Object(c.createElement)("div",{className:"components-form-file-upload"},p,Object(c.createElement)("input",{type:"file",ref:d,multiple:a,style:{display:"none"},accept:t,onChange:s}))},Du=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,l=void 0===a?s.noop:a,d=Object(i.a)(e,["className","checked","id","onChange"]),f=u()("components-form-toggle",t,{"is-checked":n});return Object(c.createElement)("span",{className:f},Object(c.createElement)("input",Object(o.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:l},d)),Object(c.createElement)("span",{className:"components-form-toggle__track"}),Object(c.createElement)("span",{className:"components-form-toggle__thumb"}))},Mu=n(41);function Tu(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,a=e.isBorderless,i=void 0!==a&&a,l=e.disabled,p=void 0!==l&&l,b=e.onClickRemove,h=void 0===b?s.noop:b,v=e.onMouseEnter,g=e.onMouseLeave,y=e.messages,O=e.termPosition,j=e.termsCount,w=Object(f.useInstanceId)(Tu),_=u()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":i,"is-disabled":p}),k=o(t),E=Object(d.sprintf)(
13
  /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */
14
  Object(d.__)("%1$s (%2$s of %3$s)"),k,O,j);return Object(c.createElement)("span",{className:_,onMouseEnter:v,onMouseLeave:g,title:r},Object(c.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(w)},Object(c.createElement)(m,{as:"span"},E),Object(c.createElement)("span",{"aria-hidden":"true"},k)),Object(c.createElement)(Eo.a,{className:"components-form-token-field__remove-token",icon:gc.a,onClick:!p&&function(){return h({value:t})},label:y.remove,"aria-describedby":"components-form-token-field__token-text-".concat(w)}))}function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ru(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nu={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Au=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(){var e;return Object(zi.a)(this,o),(e=r.apply(this,arguments)).state=Nu,e.onKeyDown=e.onKeyDown.bind(Object(Hi.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(Hi.a)(e)),e.onFocus=e.onFocus.bind(Object(Hi.a)(e)),e.onBlur=e.onBlur.bind(Object(Hi.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(Hi.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(Hi.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(Hi.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(Hi.a)(e)),e.renderToken=e.renderToken.bind(Object(Hi.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(Hi.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(Hi.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(Hi.a)(e)),e.onInputChange=e.onInputChange.bind(Object(Hi.a)(e)),e.bindInput=e.bindInput.bind(Object(Hi.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(Hi.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(o,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!Ks()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(Nu)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case Ur.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case Ur.ENTER:t=this.addCurrentToken();break;case Ur.LEFT:t=this.handleLeftArrowKey();break;case Ur.UP:t=this.handleUpArrowKey();break;case Ur.RIGHT:t=this.handleRightArrowKey();break;case Ur.DOWN:t=this.handleDownArrowKey();break;case Ur.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case Ur.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case Ur.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(s.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}},{key:"addCurrentToken",value:function(){var e=!1,t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}},{key:"addNewTokens",value:function(e){var t=this,n=Object(s.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((function(e){return!t.valueContainsToken(e)})));if(n.length>0){var r=Object(s.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Mu.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,a=o(e),i=[],c=[];return 0===a.length?t=Object(s.difference)(t,n):(a=a.toLocaleLowerCase(),Object(s.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&c.push(e))})),t=i.concat(c)),Object(s.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(s.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,c=o?Object(d.sprintf)(
15
  /* translators: %d: number of results. */
9
  /* translators: %d: number of results. */
10
  Object(d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",L.length),L.length):Object(d.__)("No results.");Object(xo.speak)(t,"polite")}}),[L,C]),Object(c.createElement)(Ec,{onFocusOutside:function(){P(!1)}},Object(c.createElement)($t,{className:u()(g,"components-combobox-control"),tabIndex:"-1",label:o,id:"components-form-token-input-".concat(j),hideLabelFromVision:b,help:h},Object(c.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:function(e){var t=!1;switch(e.keyCode){case Ur.ENTER:k&&(F(k),t=!0);break;case Ur.UP:z(-1),t=!0;break;case Ur.DOWN:z(1),t=!0;break;case Ur.ESCAPE:P(!1),E(null),t=!0,e.stopPropagation()}t&&e.preventDefault()}},Object(c.createElement)(en,null,Object(c.createElement)(Qt,null,Object(c.createElement)(yc,{className:"components-combobox-control__input",instanceId:j,ref:R,value:C?T:A,"aria-label":A?"".concat(A,", ").concat(o):null,onFocus:function(){P(!0),p(""),I("")},isExpanded:C,selectedSuggestionIndex:L.indexOf(k),onChange:function(e){var t=e.value;I(t),p(t),P(!0)}})),m&&Object(c.createElement)(Jt,null,Object(c.createElement)(Eo.a,{className:"components-combobox-control__reset",icon:gc.a,disabled:!r,onClick:function(){l(null),R.current.input.focus()},label:Object(d.__)("Reset")}))),C&&Object(c.createElement)(_c,{instanceId:j,match:{label:T},displayTransform:function(e){return e.label},suggestions:L,selectedIndex:L.indexOf(k),onHover:E,onSelect:F,scrollIntoView:!0}))))},xc=n(45),Cc=n(32),Pc=n.n(Cc);function Dc(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function Mc(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Tc(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Mc(n.overflowY,t)||Mc(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function Ic(e,t,n,r,o,a,i,c){return a<e&&i>t||a>e&&i<t?0:a<=e&&c<=n||i>=t&&c>=n?a-e-r:i>t&&c<n||a<e&&c>n?i-t+o:0}n(195);var Rc=0;function Nc(e,t){return e===t||e.contains&&e.contains(t)}function Ac(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return o.cancel=r,o}function Lc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Fc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function zc(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{})}function Bc(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Hc(e,t,n,r,o){if(void 0===o&&(o=!0),0===n)return-1;var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var i=t+e;i<0?i=o?a:0:i>a&&(i=o?0:a);var c=Vc(e,i,n,r,o);return-1===c?t:c}function Vc(e,t,n,r,o){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var i=t+1;i<n;i++)if(!r(i).hasAttribute("disabled"))return i}else for(var c=t-1;c>=0;c--)if(!r(c).hasAttribute("disabled"))return c;return o?e>0?Vc(1,0,n,r,!1):Vc(-1,n-1,n,r,!1):-1}function Kc(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(Nc(t,e)||r&&Nc(t,n.activeElement))}))}var Wc=Ac((function(){Uc().textContent=""}),500);function Uc(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Gc={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var $c=Ac((function(e,t){var n,r;n=e(),r=Uc(t),n&&(r.textContent=n,Wc())}),200);function qc(e){var t=e.id,n=e.labelId,r=e.menuId,o=e.getItemId,a=e.toggleButtonId,i=void 0===t?"downshift-"+String(Rc++):t;return{labelId:n||i+"-label",menuId:r||i+"-menu",getItemId:o||function(e){return i+"-item-"+e},toggleButtonId:a||i+"-toggle-button"}}function Yc(e){return/^\S{1}$/.test(e)}function Xc(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Zc(e){var t=Object(S.useRef)(e);return t.current=e,t}function Qc(e,t,n){var r=Object(S.useRef)(),a=Object(S.useRef)(),i=Object(S.useCallback)((function(t,n){a.current=n,t=zc(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Object(o.a)({},n,{changes:r}))}),[e]),c=Object(S.useReducer)(i,t),s=c[0],l=c[1],u=Zc(n),d=Object(S.useCallback)((function(e){return l(Object(o.a)({props:u.current},e))}),[u]),f=a.current;return Object(S.useEffect)((function(){f&&r.current&&r.current!==s&&function(e,t,n){var r=e.props,a=e.type,i={};Object.keys(t).forEach((function(e){!function(e,t,n,r){var o="on"+Xc(e)+"Change";t[o]&&void 0!==r[e]&&r[e]!==n[e]&&t[o](r)}(e,r,t,n),n[e]!==t[e]&&(i[e]=n[e])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(Object(o.a)({type:a},i))}(f,r.current,s),r.current=s}),[s,n,f]),[s,d]}var Jc={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){null!==e&&function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,a=t.boundary,i=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!Dc(e))throw new TypeError("Invalid target");for(var s=document.scrollingElement||document.documentElement,l=[],u=e;Dc(u)&&c(u);){if((u=u.parentNode)===s){l.push(u);break}u===document.body&&Tc(u)&&!Tc(document.documentElement)||Tc(u,i)&&l.push(u)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,h=e.getBoundingClientRect(),v=h.height,m=h.width,g=h.top,y=h.right,O=h.bottom,j=h.left,w="start"===r||"nearest"===r?g:"end"===r?O:g+v/2,_="center"===o?j+m/2:"end"===o?y:j,k=[],E=0;E<l.length;E++){var S=l[E],x=S.getBoundingClientRect(),C=x.height,P=x.width,D=x.top,M=x.right,T=x.bottom,I=x.left;if("if-needed"===n&&g>=0&&j>=0&&O<=f&&y<=d&&g>=D&&O<=T&&j>=I&&y<=M)return k;var R=getComputedStyle(S),N=parseInt(R.borderLeftWidth,10),A=parseInt(R.borderTopWidth,10),L=parseInt(R.borderRightWidth,10),F=parseInt(R.borderBottomWidth,10),z=0,B=0,H="offsetWidth"in S?S.offsetWidth-S.clientWidth-N-L:0,V="offsetHeight"in S?S.offsetHeight-S.clientHeight-A-F:0;if(s===S)z="start"===r?w:"end"===r?w-f:"nearest"===r?Ic(b,b+f,f,A,F,b+w,b+w+v,v):w-f/2,B="start"===o?_:"center"===o?_-d/2:"end"===o?_-d:Ic(p,p+d,d,N,L,p+_,p+_+m,m),z=Math.max(0,z+b),B=Math.max(0,B+p);else{z="start"===r?w-D-A:"end"===r?w-T+F+V:"nearest"===r?Ic(D,T,C,A,F+V,w,w+v,v):w-(D+C/2)+V/2,B="start"===o?_-I-N:"center"===o?_-(I+P/2)+H/2:"end"===o?_-M+L+H:Ic(I,M,P,N,L+H,_,_+m,m);var K=S.scrollLeft,W=S.scrollTop;w+=W-(z=Math.max(0,Math.min(W+z,S.scrollHeight-C+V))),_+=K-(B=Math.max(0,Math.min(K+B,S.scrollWidth-P+H)))}k.push({el:S,top:z,left:B})}return k}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))},circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function es(e,t,n){void 0===n&&(n=Gc);var r="default"+Xc(t);return r in e?e[r]:n[t]}function ts(e,t,n){if(void 0===n&&(n=Gc),t in e)return e[t];var r="initial"+Xc(t);return r in e?e[r]:es(e,t,n)}function ns(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,c=t.selectedItem,s=t.highlightedIndex;return 0===o.length?-1:void 0!==a&&s===a?a:void 0!==i?i:c?0===n?o.indexOf(c):Hc(n,o.indexOf(c),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function rs(e,t,n,r,o){for(var a=n.map((function(e){return r(e).toLowerCase()})),i=e.toLowerCase(),c=function(e,t){var n=o(t);return e.startsWith(i)&&!(n&&n.hasAttribute("disabled"))},s=t+1;s<a.length;s++)if(c(a[s],s))return s;for(var l=0;l<t;l++)if(c(a[l],l))return l;return t}Pc.a.array.isRequired,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.bool,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.bool,Pc.a.bool,Pc.a.bool,Pc.a.any,Pc.a.any,Pc.a.any,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.string,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})});var os=Object(o.a)({},Jc,{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),as=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function is(e,t){var n,r=t.type,a=t.props,i=t.shiftKey;switch(r){case 10:n={highlightedIndex:t.index};break;case 11:n={isOpen:es(a,"isOpen"),highlightedIndex:es(a,"highlightedIndex"),selectedItem:a.items[t.index]};break;case 15:var c=t.key,s=""+e.inputValue+c,l=rs(s,e.selectedItem?a.items.indexOf(e.selectedItem):-1,a.items,a.itemToString,t.getItemNodeFromIndex);n=Object(o.a)({inputValue:s},l>=0&&{selectedItem:a.items[l]});break;case 13:n={highlightedIndex:ns(a,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:ns(a,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=Object(o.a)({isOpen:es(a,"isOpen"),highlightedIndex:es(a,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:a.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:Vc(1,0,a.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Vc(-1,a.items.length-1,a.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var u=t.key,d=""+e.inputValue+u,f=rs(d,e.highlightedIndex,a.items,a.itemToString,t.getItemNodeFromIndex);n=Object(o.a)({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:Hc(i?5:1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,a.circularNavigation)};break;case 1:n={highlightedIndex:Hc(i?-5:-1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,a.circularNavigation)};break;case 9:n={highlightedIndex:-1};break;case 12:case 16:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:ns(a,e,0)};break;case 17:n={isOpen:!0,highlightedIndex:ns(a,e,0)};break;case 18:n={isOpen:!1};break;case 19:n={highlightedIndex:t.highlightedIndex};break;case 20:n={selectedItem:t.selectedItem};break;case 21:n={inputValue:t.inputValue};break;case 22:n={highlightedIndex:es(a,"highlightedIndex"),isOpen:es(a,"isOpen"),selectedItem:es(a,"selectedItem"),inputValue:es(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Object(o.a)({},e,{},n)}function cs(e){void 0===e&&(e={});var t=Object(o.a)({},os,{},e),n=t.items,r=t.scrollIntoView,a=t.environment,i=t.initialIsOpen,c=t.defaultIsOpen,s=t.itemToString,l=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=function(e,t,n){var r=Qc(e,t,n),o=r[0],a=r[1];return[zc(o,n),a]}(is,function(e){var t=ts(e,"selectedItem"),n=ts(e,"isOpen"),r=ts(e,"highlightedIndex"),o=ts(e,"inputValue");return{highlightedIndex:r<0&&t?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}(t),t),f=d[0],p=d[1],b=f.isOpen,h=f.highlightedIndex,v=f.selectedItem,m=f.inputValue,g=Object(S.useRef)(null),y=Object(S.useRef)(null),O=Object(S.useRef)();O.current={};var j=Object(S.useRef)(!0),w=Object(S.useRef)(!0),_=Object(S.useRef)(!0),k=Object(S.useRef)(null),E=Object(S.useRef)(qc(t)),x=Object(S.useRef)(),C=Zc({state:f,props:t}),P=function(e){return O.current[E.current.getItemId(e)]};Object(S.useEffect)((function(){if(!j.current){var e=x.current;$c((function(){return u({isOpen:b,highlightedIndex:h,selectedItem:v,inputValue:m,highlightedItem:n[h],resultCount:n.length,itemToString:s,previousResultCount:e})}),a.document)}}),[b,h,v,m]),Object(S.useEffect)((function(){if(!j.current){var e=x.current;$c((function(){return l({isOpen:b,highlightedIndex:h,selectedItem:v,inputValue:m,highlightedItem:n[h],resultCount:n.length,itemToString:s,previousResultCount:e})}),a.document)}}),[v]),Object(S.useEffect)((function(){j.current&&(k.current=Ac((function(e){e({type:21,inputValue:""})}),500)),m&&k.current(p)}),[m]),Object(S.useEffect)((function(){j.current?(i||c||b)&&y.current&&y.current.focus():b&&y.current?y.current.focus():a.document.activeElement===y.current&&g.current&&(_.current=!1,g.current.focus())}),[b]),Object(S.useEffect)((function(){h<0||!b||!Object.keys(O.current).length||(!1===w.current?w.current=!0:r(P(h),y.current))}),[h]),Object(S.useEffect)((function(){j.current||(x.current=n.length)})),Object(S.useEffect)((function(){j.current=!1}),[]);var D=function(e,t,n,r){var o=Object(S.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(S.useEffect)((function(){var a=function(){o.current.isMouseDown=!0},i=function(a){o.current.isMouseDown=!1,e&&!Kc(a.target,t.map((function(e){return e.current})),n.document)&&r()},c=function(){o.current.isTouchMove=!1},s=function(){o.current.isTouchMove=!0},l=function(a){!e||o.current.isTouchMove||Kc(a.target,t.map((function(e){return e.current})),n.document,!1)||r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",i),n.addEventListener("touchstart",c),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",c),n.removeEventListener("touchmove",s),n.removeEventListener("touchend",l)}}),[e,n]),o}(b,[y,g],a,(function(){p({type:8})})),M=Object(S.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:P,shiftKey:e.shiftKey})}}}),[p]),T=Object(S.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:P,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:P})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:P})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p]),I=Object(S.useCallback)((function(){p({type:16})}),[p]),R=Object(S.useCallback)((function(){p({type:18})}),[p]),N=Object(S.useCallback)((function(){p({type:17})}),[p]),A=Object(S.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),L=Object(S.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),F=Object(S.useCallback)((function(){p({type:22})}),[p]),z=Object(S.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),B=Object(S.useCallback)((function(e){return Object(o.a)({id:E.current.labelId,htmlFor:E.current.toggleButtonId},e)}),[]),H=Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.onMouseLeave,a=n.refKey,i=void 0===a?"ref":a,c=n.onKeyDown,s=n.onBlur,l=n.ref,u=Object(xc.a)(n,["onMouseLeave","refKey","onKeyDown","onBlur","ref"]),d=C.current.state;return Object(o.a)(((t={})[i]=Fc(l,(function(e){y.current=e})),t.id=E.current.menuId,t.role="listbox",t["aria-labelledby"]=E.current.labelId,t.tabIndex=-1,t),d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":E.current.getItemId(d.highlightedIndex)},{onMouseLeave:Lc(r,(function(){p({type:9})})),onKeyDown:Lc(c,(function(e){var t=Bc(e);t&&T[t]?T[t](e):Yc(t)&&p({type:7,key:t,getItemNodeFromIndex:P})})),onBlur:Lc(s,(function(){!1!==_.current?!D.current.isMouseDown&&p({type:8}):_.current=!0}))},u)}),[p,C,T,D]);return{getToggleButtonProps:Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.onClick,a=n.onKeyDown,i=n.refKey,c=void 0===i?"ref":i,s=n.ref,l=Object(xc.a)(n,["onClick","onKeyDown","refKey","ref"]),u=Object(o.a)(((t={})[c]=Fc(s,(function(e){g.current=e})),t.id=E.current.toggleButtonId,t["aria-haspopup"]="listbox",t["aria-expanded"]=C.current.state.isOpen,t["aria-labelledby"]=E.current.labelId+" "+E.current.toggleButtonId,t),l);return l.disabled||(u.onClick=Lc(r,(function(){p({type:12})})),u.onKeyDown=Lc(a,(function(e){var t=Bc(e);t&&M[t]?M[t](e):Yc(t)&&p({type:15,key:t,getItemNodeFromIndex:P})}))),u}),[p,C,M]),getLabelProps:B,getMenuProps:H,getItemProps:Object(S.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,a=n.index,i=n.onMouseMove,c=n.onClick,s=n.refKey,l=void 0===s?"ref":s,u=n.ref,d=Object(xc.a)(n,["item","index","onMouseMove","onClick","refKey","ref"]),f=C.current,b=f.state,h=f.props,v=function(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}(a,r,h.items);if(v<0)throw new Error("Pass either item or item index in getItemProps!");var m=Object(o.a)(((t={role:"option","aria-selected":""+(v===b.highlightedIndex),id:E.current.getItemId(v)})[l]=Fc(u,(function(e){e&&(O.current[E.current.getItemId(v)]=e)})),t),d);return d.disabled||(m.onMouseMove=Lc(i,(function(){a!==b.highlightedIndex&&(w.current=!1,p({type:10,index:a}))})),m.onClick=Lc(c,(function(){p({type:11,index:a})}))),m}),[p,C]),toggleMenu:I,openMenu:N,closeMenu:R,setHighlightedIndex:A,selectItem:L,reset:F,setInputValue:z,highlightedIndex:h,isOpen:b,selectedItem:v,inputValue:m}}cs.stateChangeTypes=as,Pc.a.array.isRequired,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.bool,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.bool,Pc.a.bool,Pc.a.bool,Pc.a.any,Pc.a.any,Pc.a.any,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.string,Pc.a.string,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})}),Object(o.a)({},Jc,{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""},circularNavigation:!0}),Pc.a.array,Pc.a.array,Pc.a.array,Pc.a.func,Pc.a.func,Pc.a.func,Pc.a.number,Pc.a.number,Pc.a.number,Pc.a.func,Pc.a.func,Pc.a.string,Pc.a.string,Pc.a.shape({addEventListener:Pc.a.func,removeEventListener:Pc.a.func,document:Pc.a.shape({getElementById:Pc.a.func,activeElement:Pc.a.any,body:Pc.a.any})});var ss=function(e){return e&&e.name},ls=function(e,t){var n=e.selectedItem,r=t.type,o=t.changes,a=t.props.items;switch(r){case cs.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case cs.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function us(e){var t=e.className,n=e.hideLabelFromVision,r=e.label,a=e.options,i=e.onChange,s=e.value,l=cs({initialSelectedItem:a[0],items:a,itemToString:ss,onSelectedItemChange:i,selectedItem:s,stateReducer:ls}),d=l.getLabelProps,f=l.getToggleButtonProps,p=l.getMenuProps,b=l.getItemProps,h=l.isOpen,v=l.highlightedIndex,g=l.selectedItem,y=p({className:"components-custom-select-control__menu","aria-hidden":!h});return y["aria-activedescendant"]&&"downshift-null"===y["aria-activedescendant"].slice(0,"downshift-null".length)&&delete y["aria-activedescendant"],Object(c.createElement)("div",{className:u()("components-custom-select-control",t)},n?Object(c.createElement)(m,Object(o.a)({as:"label"},d()),r):Object(c.createElement)("label",d({className:"components-custom-select-control__label"}),r),Object(c.createElement)(Eo.a,f({"aria-label":r,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0}),ss(g),Object(c.createElement)(Ci.a,{icon:Ni.a,className:"components-custom-select-control__button-icon"})),Object(c.createElement)("ul",y,h&&a.map((function(e,t){return Object(c.createElement)("li",b({item:e,index:t,key:e.key,className:u()(e.className,"components-custom-select-control__item",{"is-highlighted":t===v}),style:e.style}),e.name,e===g&&Object(c.createElement)(Ci.a,{icon:Pi.a,className:"components-custom-select-control__item-icon"}))}))))}var ds=n(145),fs=(n(286),n(51)),ps=n.n(fs),bs=n(258),hs=n.n(bs);var vs=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(){var e;return Object(zi.a)(this,o),(e=r.apply(this,arguments)).onChangeMoment=e.onChangeMoment.bind(Object(Hi.a)(e)),e.nodeRef=Object(c.createRef)(),e.keepFocusInside=e.keepFocusInside.bind(Object(Hi.a)(e)),e.isDayHighlighted=e.isDayHighlighted.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(o,[{key:"keepFocusInside",value:function(){if(this.nodeRef.current){var e=this.nodeRef.current.ownerDocument;if(!e.activeElement||!this.nodeRef.current.contains(e.activeElement)){var t=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!t)return;t.focus()}}}},{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?ps()(n):ps()(),a={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(a).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?ps()(e):ps()()}},{key:"isDayHighlighted",value:function(e){var t;return!(null===(t=this.props.events)||void 0===t||!t.length)&&(this.props.onMonthPreviewed&&this.props.onMonthPreviewed(e.toDate()),this.props.events.some((function(t){return e.isSame(t.date,"day")})))}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(c.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(c.createElement)(hs.a,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:Object(d.isRTL)(),isOutsideRange:function(e){return n&&n(e.toDate())},isDayHighlighted:this.isDayHighlighted,onPrevMonthClick:this.keepFocusInside,onNextMonthClick:this.keepFocusInside}))}}]),o}(c.Component),ms=n(55),gs=function(){var e=Object(ms.__experimentalGetSettings)().timezone,t=(new Date).getTimezoneOffset()/60*-1;if(Number(e.offset)===t)return null;var n=e.offset>=0?"+":"",r=""!==e.abbr&&isNaN(e.abbr)?e.abbr:"UTC".concat(n).concat(e.offset),o="UTC"===e.string?Object(d.__)("Coordinated Universal Time"):"(".concat(r,") ").concat(e.string.replace("_"," "));return Object(c.createElement)(b.a,{position:"top center",text:o},Object(c.createElement)("div",{className:"components-datetime__timezone"},r))};function ys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Os(e){var t=e.as,n=e.value,r=e.onUpdate,o=Object(i.a)(e,["as","value","onUpdate"]);return Object(c.createElement)(t||"input",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:n,defaultValue:n,onBlur:function(e){var t=e.target;if(n!==t.value){var a=parseInt(t.value,10);!Object(s.isInteger)(a)||void 0!==o.max&&a>o.max||void 0!==o.min&&a<o.min?t.value=n:r(t.name,a)}}},o))}var js=function(e){var t=e.is12Hour,n=e.currentTime,r=e.onChange,o=Object(c.useState)((function(){return ps()(n).startOf("minutes")})),i=Object(a.a)(o,2),s=i[0],l=i[1];Object(c.useEffect)((function(){l(n?ps()(n).startOf("minutes"):ps()())}),[n]);var f=Object(c.useMemo)((function(){return{day:s.format("DD"),month:s.format("MM"),year:s.format("YYYY"),minutes:s.format("mm"),hours:s.format(t?"hh":"HH"),am:s.format("H")<=11?"AM":"PM"}}),[s,t]),p=f.day,b=f.month,h=f.year,v=f.minutes,m=f.hours,g=f.am;function y(e){l(e),r(e.format("YYYY-MM-DDTHH:mm:ss"))}function O(e,t){y(s.clone()[e](t))}function j(e){return function(){if(g!==e){var t=parseInt(m,10);y(s.clone().hours("PM"===e?(t%12+12)%24:t%12))}}}var w=Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:p,step:1,min:1,max:31,onUpdate:O})),_=Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(c.createElement)(Os,{as:"select","aria-label":Object(d.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:b,onUpdate:function(e,t){return O(e,t-1)}},Object(c.createElement)("option",{value:"01"},Object(d.__)("January")),Object(c.createElement)("option",{value:"02"},Object(d.__)("February")),Object(c.createElement)("option",{value:"03"},Object(d.__)("March")),Object(c.createElement)("option",{value:"04"},Object(d.__)("April")),Object(c.createElement)("option",{value:"05"},Object(d.__)("May")),Object(c.createElement)("option",{value:"06"},Object(d.__)("June")),Object(c.createElement)("option",{value:"07"},Object(d.__)("July")),Object(c.createElement)("option",{value:"08"},Object(d.__)("August")),Object(c.createElement)("option",{value:"09"},Object(d.__)("September")),Object(c.createElement)("option",{value:"10"},Object(d.__)("October")),Object(c.createElement)("option",{value:"11"},Object(d.__)("November")),Object(c.createElement)("option",{value:"12"},Object(d.__)("December")))),k=t?Object(c.createElement)(c.Fragment,null,w,_):Object(c.createElement)(c.Fragment,null,_,w);return Object(c.createElement)("div",{className:u()("components-datetime__time")},Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(d.__)("Date")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},k,Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:h,onUpdate:O})))),Object(c.createElement)("fieldset",null,Object(c.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(d.__)("Time")),Object(c.createElement)("div",{className:"components-datetime__time-wrapper"},Object(c.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(c.createElement)(Os,{"aria-label":Object(d.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:t?1:0,max:t?12:23,value:m,onUpdate:O}),Object(c.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(c.createElement)(Os,{"aria-label":Object(d.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:v,onUpdate:O})),t&&Object(c.createElement)(Xa,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(c.createElement)(Eo.a,{isPrimary:"AM"===g,isSecondary:"AM"!==g,onClick:j("AM"),className:"components-datetime__time-am-button"},Object(d.__)("AM")),Object(c.createElement)(Eo.a,{isPrimary:"PM"===g,isSecondary:"PM"!==g,onClick:j("PM"),className:"components-datetime__time-pm-button"},Object(d.__)("PM"))),Object(c.createElement)(gs,null))))},ws=Object(c.forwardRef)((function(e,t){var n=e.currentDate,r=e.is12Hour,o=e.isInvalidDate,i=e.onMonthPreviewed,s=e.onChange,l=e.events,u=Object(c.useState)(!1),f=Object(a.a)(u,2),p=f[0],b=f[1];return Object(c.createElement)("div",{ref:t,className:"components-datetime"},!p&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(js,{currentTime:n,onChange:s,is12Hour:r}),Object(c.createElement)(vs,{currentDate:n,onChange:s,isInvalidDate:o,onMonthPreviewed:i,events:l})),p&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"components-datetime__calendar-help"},Object(c.createElement)("h4",null,Object(d.__)("Click to Select")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(d.__)("Click the right or left arrows to select other months in the past or the future.")),Object(c.createElement)("li",null,Object(d.__)("Click the desired day to select it."))),Object(c.createElement)("h4",null,Object(d.__)("Navigating with a keyboard")),Object(c.createElement)("ul",null,Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d._x)("Enter","keyboard button")},"↵")," ",Object(c.createElement)("span",null,Object(d.__)("Select the date in focus."))),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Left and Right Arrows")},"←/→")," ",Object(d.__)("Move backward (left) or forward (right) by one day.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Up and Down Arrows")},"↑/↓")," ",Object(d.__)("Move backward (up) or forward (down) by one week.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Page Up and Page Down")},Object(d.__)("PgUp/PgDn"))," ",Object(d.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(c.createElement)("li",null,Object(c.createElement)("abbr",{"aria-label":Object(d.__)("Home and End")},Object(d.__)("Home/End"))," ",Object(d.__)("Go to the first (home) or last (end) day of a week."))))),Object(c.createElement)("div",{className:"components-datetime__buttons"},!p&&n&&Object(c.createElement)(Eo.a,{className:"components-datetime__date-reset-button",isLink:!0,onClick:function(){return s(null)}},Object(d.__)("Reset")),Object(c.createElement)(Eo.a,{className:"components-datetime__date-help-toggle",isLink:!0,onClick:function(){b(!p)}},p?Object(d.__)("Close"):Object(d.__)("Calendar Help"))))})),_s=n(74),ks=ce("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",ke("black"),";display:block;margin:0;width:100%;",(function(e){return e.disabled?q({color:ke("ui.textDisabled")},""):""}),";",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?q("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}),";",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return q(n[t]||n.default,"")}),";",Nn({paddingLeft:8,paddingRight:24})(),"}"),Es=ce("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Nn({right:0})()," svg{display:block;}");var Ss=Object(c.forwardRef)((function e(t,n){var r=t.className,l=t.disabled,d=void 0!==l&&l,p=t.help,b=t.hideLabelFromVision,h=t.id,v=t.label,m=t.multiple,g=void 0!==m&&m,y=t.onBlur,O=void 0===y?s.noop:y,j=t.onChange,w=void 0===j?s.noop:j,_=t.onFocus,k=void 0===_?s.noop:_,E=t.options,S=void 0===E?[]:E,x=t.size,C=void 0===x?"default":x,P=t.value,D=t.labelPosition,M=void 0===D?"top":D,T=Object(i.a)(t,["className","disabled","help","hideLabelFromVision","id","label","multiple","onBlur","onChange","onFocus","options","size","value","labelPosition"]),I=Object(c.useState)(!1),R=Object(a.a)(I,2),N=R[0],A=R[1],L=function(t){var n=Object(f.useInstanceId)(e),r="inspector-select-control-".concat(n);return t||r}(h),F=p?"".concat(L,"__help"):void 0;if(Object(s.isEmpty)(S))return null;var z=u()("components-select-control",r);return Object(c.createElement)($t,{help:p},Object(c.createElement)(ir,{className:z,disabled:d,hideLabelFromVision:b,id:L,isFocused:N,label:v,size:C,suffix:Object(c.createElement)(Es,null,Object(c.createElement)(Ci.a,{icon:Ni.a,size:18})),labelPosition:M},Object(c.createElement)(ks,Object(o.a)({},T,{"aria-describedby":F,className:"components-select-control__input",disabled:d,id:L,multiple:g,onBlur:function(e){O(e),A(!1)},onChange:function(e){if(g){var t=Object(_o.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));w(t)}else w(e.target.value,{event:e})},onFocus:function(e){k(e),A(!0)},ref:n,size:C,value:P}),S.map((function(e,t){var n=e.id||"".concat(e.label,"-").concat(e.value,"-").concat(t);return Object(c.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),xs=[{name:Object(d.__)("None"),slug:"none"},{name:Object(d.__)("Small"),slug:"small"},{name:Object(d.__)("Medium"),slug:"medium"},{name:Object(d.__)("Large"),slug:"large"},{name:Object(d.__)("Extra Large"),slug:"xlarge"}],Cs=function(e){var t,n,r=e.label,o=e.value,a=e.sizes,i=void 0===a?xs:a,l=e.icon,f=e.onChange,p=e.className,b=void 0===p?"":p,h=Object(c.createElement)(c.Fragment,null,l&&Object(c.createElement)(_s.a,{icon:l}),r);return Object(c.createElement)(Ss,{className:u()(b,"block-editor-dimension-control"),label:h,hideLabelFromVision:!1,value:o,onChange:function(e){var t=function(e,t){return e.find((function(e){return t===e.slug}))}(i,e);t&&o!==t.slug?Object(s.isFunction)(f)&&f(t.slug):f(void 0)},options:(t=i,n=t.map((function(e){return{label:e.name,value:e.slug}})),[{label:Object(d.__)("Default"),value:""}].concat(n))})},Ps=n(31),Ds=ce("div",{target:"e1ac3xxk0",label:"StyledWrapper"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),Ms=Object(c.createContext)(!1),Ts=Ms.Consumer,Is=Ms.Provider,Rs=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function Ns(e){var t=e.className,n=e.children,r=e.isDisabled,a=void 0===r||r,l=Object(i.a)(e,["className","children","isDisabled"]),d=Object(c.useRef)(),f=function(){Ps.focus.focusable.find(d.current).forEach((function(e){Object(s.includes)(Rs,e.nodeName)&&e.setAttribute("disabled",""),"A"===e.nodeName&&e.setAttribute("tabindex",-1);var t=e.getAttribute("tabindex");null!==t&&"-1"!==t&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))},p=Object(c.useCallback)(Object(s.debounce)(f,{leading:!0}),[]);return Object(c.useLayoutEffect)((function(){if(a){f();var e=new window.MutationObserver(p);return e.observe(d.current,{childList:!0,attributes:!0,subtree:!0}),function(){e.disconnect(),p.cancel()}}}),[]),a?Object(c.createElement)(Is,{value:!0},Object(c.createElement)(Ds,Object(o.a)({ref:d,className:u()(t,"components-disabled")},l),n)):Object(c.createElement)(Is,{value:!1},n)}Ns.Consumer=Ts;var As=Ns,Ls=Object(at.a)({name:"DisclosureContent",compose:lt.a,keys:["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,a=Object(Re.a)(t,["onTransitionEnd","onAnimationEnd","style"]),i=e.animated&&e.animating,c=Object(S.useState)(null),s=c[0],l=c[1],u=!e.visible&&!i,d=u?Object(Re.b)({display:"none"},o):o,f=Object(ct.a)(n),p=Object(ct.a)(r),b=Object(S.useRef)(0);Object(S.useEffect)((function(){if(e.animated)return b.current=window.requestAnimationFrame((function(){b.current=window.requestAnimationFrame((function(){e.visible?l("enter"):l(i?"leave":null)}))})),function(){return window.cancelAnimationFrame(b.current)}}),[e.animated,e.visible,i]);var h=Object(S.useCallback)((function(t){var n;Object(st.a)(t)&&i&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e))}),[e.animated,i,e.stopAnimation]),v=Object(S.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),h(e)}),[h]),m=Object(S.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),h(e)}),[h]);return Object(Re.b)({id:e.baseId,"data-enter":"enter"===s?"":void 0,"data-leave":"leave"===s?"":void 0,onTransitionEnd:v,onAnimationEnd:m,hidden:u,style:d},a)}}),Fs=Object(ot.a)({as:"div",useHook:Ls}),zs="is-dragging-components-draggable";function Bs(e){var t=e.children,n=e.onDragStart,r=e.onDragOver,o=e.onDragEnd,a=e.cloneClassname,i=e.elementId,s=e.transferData,l=e.__experimentalDragComponent,u=Object(c.useRef)(),d=Object(c.useRef)((function(){}));return Object(c.useEffect)((function(){return function(){d.current()}}),[]),Object(c.createElement)(c.Fragment,null,t({onDraggableStart:function(e){var t=e.target.ownerDocument;e.dataTransfer.setData("text",JSON.stringify(s));var o=t.createElement("div"),c=t.createElement("div");if("function"==typeof e.dataTransfer.setDragImage&&(c.classList.add("components-draggable__invisible-drag-image"),t.body.appendChild(c),e.dataTransfer.setDragImage(c,0,0)),o.classList.add("components-draggable__clone"),a&&o.classList.add(a),u.current){o.style.top="".concat(e.clientY,"px"),o.style.left="".concat(e.clientX,"px");var l=t.createElement("div");l.innerHTML=u.current.innerHTML,o.appendChild(l),t.body.appendChild(o)}else{var f=t.getElementById(i),p=f.getBoundingClientRect(),b=f.parentNode,h=parseInt(p.top,10),v=parseInt(p.left,10);o.style.width="".concat(p.width+0,"px");var m=f.cloneNode(!0);m.id="clone-".concat(i),p.height>700?(o.style.transform="scale(0.5)",o.style.transformOrigin="top left",o.style.top="".concat(e.clientY-100,"px"),o.style.left="".concat(e.clientX,"px")):(o.style.top="".concat(h-0,"px"),o.style.left="".concat(v-0,"px")),Array.from(m.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),o.appendChild(m),b.appendChild(o)}var g,y=e.clientX,O=e.clientY;function j(e){o.style.top="".concat(parseInt(o.style.top,10)+e.clientY-O,"px"),o.style.left="".concat(parseInt(o.style.left,10)+e.clientX-y,"px"),y=e.clientX,O=e.clientY,r&&r(e)}t.addEventListener("dragover",j),t.body.classList.add(zs),e.persist(),n&&(g=setTimeout((function(){return n(e)}))),d.current=function(){o&&o.parentNode&&o.parentNode.removeChild(o),c&&c.parentNode&&c.parentNode.removeChild(c),t.body.classList.remove(zs),t.removeEventListener("dragover",j),clearTimeout(g)}},onDraggableEnd:function(e){e.preventDefault(),d.current(),r&&o(e)}}),l&&Object(c.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:u},l))}var Hs=n(209),Vs=n(61),Ks=n.n(Vs),Ws=Object(c.createContext)(),Us=Ws.Provider;function Gs(e){var t=e.dataTransfer;if(t){if(Object(s.includes)(t.types,"Files")||Object(Ps.getFilesFromDataTransfer)(t).length>0)return"file";if(Object(s.includes)(t.types,"text/html"))return"html"}return"default"}function $s(e,t){return Boolean("file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop)}function qs(e){var t=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e;return{x:t.clientX,y:t.clientY}}function Ys(e,t,n){var r=Object(s.filter)(Array.from(e),(function(e){return $s(n,e)&&(r=e.element.current,o=t.x,a=t.y,(i=r.getBoundingClientRect()).bottom!==i.top&&i.left!==i.right&&o>=i.left&&o<=i.right&&a>=i.top&&a<=i.bottom);var r,o,a,i}));return Object(s.find)(r,(function(e){var t=e.isRelative?e.element.current.parentElement:e.element.current;return!Object(s.some)(r,(function(n){return n!==e&&t.contains(n.element.current)}))}))}var Xs={isDraggingOverDocument:!1,isDraggingOverElement:!1,x:null,y:null,type:null};function Zs(e){var t=Object(c.useContext)(Ws);Object(c.useEffect)((function(){var n,r=e.current.ownerDocument.defaultView,o=Object(s.throttle)((function(e){if(!n||!n.contains(e.target)){var r=Gs(e),o=qs(e),a=Ys(t,o,r);n=a&&a.isRelative?a.element.current.offsetParent:null,t.forEach((function(e){var t=e===a,n={isDraggingOverDocument:$s(r,e),isDraggingOverElement:t,x:t&&e.withPosition?o.x:null,y:t&&e.withPosition?o.y:null,type:t?r:null};e.setState((function(e){return Ks()(e,n)?e:n}))})),e.preventDefault()}}),200);function a(e){o(e),e.preventDefault()}function i(){o.cancel(),t.forEach((function(e){return e.setState(Xs)}))}function c(e){e.dataTransfer&&e.dataTransfer.files.length;var n=Gs(e),r=qs(e),o=Ys(t,r,n);if(i(),o)switch(n){case"file":o.onFilesDrop(Object(Ps.getFilesFromDataTransfer)(e.dataTransfer),r);break;case"html":o.onHTMLDrop(e.dataTransfer.getData("text/html"),r);break;case"default":o.onDrop(e,r)}e.stopPropagation(),e.preventDefault()}return r.addEventListener("drop",c),r.addEventListener("dragover",a),r.addEventListener("mouseup",i),r.addEventListener("dragend",i),function(){r.removeEventListener("drop",c),r.removeEventListener("dragover",a),r.removeEventListener("mouseup",i),r.removeEventListener("dragend",i)}}),[e,t])}function Qs(e){var t=Object(c.useRef)(new Set([]));return Object(c.createElement)(Us,Object(o.a)({},e,{value:t.current}))}function Js(e){var t=e.children,n=Object(c.useRef)();return Zs(n),Object(c.createElement)("div",{ref:n,className:"components-drop-zone__provider"},t)}function el(e){var t=e.children;return Object(c.createElement)(Qs,null,Object(c.createElement)(Js,null,t))}function tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rl(e){var t=e.element,n=e.onFilesDrop,r=e.onHTMLDrop,o=e.onDrop,s=e.isDisabled,l=e.withPosition,u=e.__unstableIsRelative,d=void 0!==u&&u,f=Object(c.useContext)(Ws),p=Object(c.useState)(Xs),b=Object(a.a)(p,2),h=b[0],v=b[1];Object(c.useEffect)((function(){if(!s){var e={element:t,onDrop:o,onFilesDrop:n,onHTMLDrop:r,setState:v,withPosition:l,isRelative:d};return f.add(e),function(){f.delete(e)}}}),[s,o,n,r,l,d]);var m=h.x,g=h.y,y=null;return null!==m&&null!==g&&(y={x:m,y:g}),nl(nl({},Object(i.a)(h,["x","y"])),{},{position:y})}function ol(e){var t,n=e.className,r=e.label,o=e.onFilesDrop,a=e.onHTMLDrop,i=e.onDrop,s=Object(c.useRef)(),l=rl({element:s,onFilesDrop:o,onHTMLDrop:a,onDrop:i,__unstableIsRelative:!0}),f=l.isDraggingOverDocument,p=l.isDraggingOverElement,b=l.type;p&&(t=Object(c.createElement)("div",{className:"components-drop-zone__content"},Object(c.createElement)(Ci.a,{icon:Hs.a,className:"components-drop-zone__content-icon"}),Object(c.createElement)("span",{className:"components-drop-zone__content-text"},r||Object(d.__)("Drop files to upload"))));var v=u()("components-drop-zone",n,Object(h.a)({"is-active":(f||p)&&("file"===b&&o||"html"===b&&a||"default"===b&&i),"is-dragging-over-document":f,"is-dragging-over-element":p},"is-dragging-".concat(b),!!b));return Object(c.createElement)("div",{ref:s,className:v},t)}var al=n(35),il=n.n(al);var cl=["menuitem","menuitemradio","menuitemcheckbox"],sl=function(e){Object(Vi.a)(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function a(){var e;return Object(zi.a)(this,a),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(Hi.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Hi.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(Hi.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(a,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(s.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?Ps.focus.tabbable:Ps.focus.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,a=n.eventToOffset,i=n.onNavigate,c=void 0===i?s.noop:i,l=n.stopNavigationEvents,u=a(e);if(void 0!==u&&l){e.stopImmediatePropagation();var d=e.target.getAttribute("role");cl.includes(d)&&e.preventDefault()}if(u){var f=t(e.target.ownerDocument.activeElement);if(f){var p=f.index,b=f.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(p,b.length,u):p+u;h>=0&&h<b.length&&(b[h].focus(),c(h,b[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=Object(i.a)(e,["children"]);return Object(c.createElement)("div",Object(o.a)({ref:this.bindContainer},Object(s.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),a}(c.Component),ll=function(e,t){return Object(c.createElement)(sl,Object(o.a)({},e,{forwardedRef:t}))};ll.displayName="NavigableContainer";var ul=Object(c.forwardRef)(ll),dl=Object(c.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,a=e.orientation,l=void 0===a?"vertical":a,u=Object(i.a)(e,["role","orientation"]);return Object(c.createElement)(ul,Object(o.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:l,eventToOffset:function(e){var t=e.keyCode,n=[Ur.DOWN],r=[Ur.UP];return"horizontal"===l&&(n=[Ur.RIGHT],r=[Ur.LEFT]),"both"===l&&(n=[Ur.RIGHT,Ur.DOWN],r=[Ur.LEFT,Ur.UP]),Object(s.includes)(n,t)?1:Object(s.includes)(r,t)?-1:Object(s.includes)([Ur.DOWN,Ur.UP,Ur.LEFT,Ur.RIGHT],t)?0:void 0}},u))}));function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pl(pl({},e),t);return t.className&&e.className&&(n.className=u()(t.className,e.className)),n}var hl=function(e){var t,n=e.children,r=e.className,a=e.controls,i=e.icon,l=void 0===i?"menu":i,d=e.label,f=e.popoverProps,p=e.toggleProps,b=e.menuProps,h=e.disableOpenOnArrowDown,v=void 0!==h&&h,m=e.text,g=e.menuLabel,y=e.position,O=e.noIcons;if(g&&il()("`menuLabel` prop in `DropdownComponent`",{alternative:"`menuProps` object and its `aria-label` property",plugin:"Gutenberg"}),y&&il()("`position` prop in `DropdownComponent`",{alternative:"`popoverProps` object and its `position` property",plugin:"Gutenberg"}),Object(s.isEmpty)(a)&&!Object(s.isFunction)(n))return null;Object(s.isEmpty)(a)||(t=a,Array.isArray(t[0])||(t=[t]));var j=bl({className:"components-dropdown-menu__popover",position:y},f);return Object(c.createElement)(Li,{className:u()("components-dropdown-menu",r),popoverProps:j,renderToggle:function(e){var t,n=e.isOpen,r=e.onToggle,a=bl({className:u()("components-dropdown-menu__toggle",{"is-opened":n})},p);return Object(c.createElement)(Eo.a,Object(o.a)({},a,{icon:l,onClick:function(e){r(e),a.onClick&&a.onClick(e)},onKeyDown:function(e){!function(e){v||n||e.keyCode!==Ur.DOWN||(e.preventDefault(),e.stopPropagation(),r())}(e),a.onKeyDown&&a.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:d,text:m,showTooltip:null===(t=null==p?void 0:p.showTooltip)||void 0===t||t}),a.children)},renderContent:function(e){var r=bl({"aria-label":g||d,className:u()("components-dropdown-menu__menu",{"no-icons":O})},b);return Object(c.createElement)(dl,Object(o.a)({},r,{role:"menu"}),Object(s.isFunction)(n)?n(e):null,Object(s.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(c.createElement)(Eo.a,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:u()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title)}))})))}})},vl=n(355),ml=ce(Ci.a,{target:"etxm6pv0",label:"StyledIcon"})({name:"i8uvf3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor;"}),gl=Object(c.forwardRef)((function(e,t){var n=e.href,r=e.children,a=e.className,l=e.rel,f=void 0===l?"":l,p=Object(i.a)(e,["href","children","className","rel"]);f=Object(s.uniq)(Object(s.compact)([].concat(Object(_o.a)(f.split(" ")),["external","noreferrer","noopener"]))).join(" ");var b=u()("components-external-link",a);return Object(c.createElement)("a",Object(o.a)({},p,{className:b,href:n,target:"_blank",rel:f,ref:t}),r,Object(c.createElement)(m,{as:"span"},
11
  /* translators: accessibility text */
12
+ Object(d.__)("(opens in a new tab)")),Object(c.createElement)(ml,{icon:vl.a,className:"components-external-link__icon"}))})),yl=ce("div",{target:"e11wezi70",label:"MediaWrapper"})({name:"4wwkjz",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%;"}),Ol=ce("div",{target:"e11wezi71",label:"MediaContainer"})({name:"1q0l1fq",styles:"align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0,0,0,0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"}),jl=ce("div",{target:"e11wezi72",label:"MediaPlaceholder"})("background:",ke("lightGray.300"),";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),wl=ce(qo,{target:"e11wezi73",label:"UnitControl"})({name:"v7v99c",styles:"width:100px;"}),_l=ce(tn,{target:"e11wezi74",label:"ControlWrapper"})({name:"lqoi1w",styles:"max-width:320px;padding:1em 0;"}),kl=ce("div",{target:"e11wezi75",label:"GridView"})("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%,-50%,0 );transition:opacity 120ms linear;z-index:1;",(function(e){return e.isActive&&"\n\t\topacity: 1;\n\t"}),""),El=ce("div",{target:"e11wezi76",label:"GridLine"})({name:"18dz4sk",styles:"box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0,0,0,0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 );"}),Sl=ce(El,{target:"e11wezi77",label:"GridLineX"})({name:"1u4twh6",styles:"height:1px;left:0;right:0;"}),xl=ce(El,{target:"e11wezi78",label:"GridLineY"})({name:"13gvipf",styles:"width:1px;top:0;bottom:0;"}),Cl={top:0,left:0,bottom:0,right:0,width:0,height:0},Pl=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function Dl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(".");return t[t.length-1]}function Ml(e){return Math.round(100*e)}function Tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Il(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rl(e){var t=e.onChange,n=void 0===t?s.noop:t,r=e.percentages,o=void 0===r?{x:.5,y:.5}:r,a=Ml(o.x),i=Ml(o.y);return Object(c.createElement)(_l,{className:"focal-point-picker__controls"},Object(c.createElement)(Nl,{label:Object(d.__)("Left"),value:a,onChange:function(e){n(Il(Il({},o),{},{x:parseInt(e)/100}))},dragDirection:"e"}),Object(c.createElement)(Nl,{label:Object(d.__)("Top"),value:i,onChange:function(e){n(Il(Il({},o),{},{y:parseInt(e)/100}))},dragDirection:"s"}))}function Nl(e){return Object(c.createElement)(wl,Object(o.a)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"side",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}var Al=ce("div",{target:"eas61re0",label:"FocalPointWrapper"})({name:"1frwh1y",styles:"background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;&.is-dragging{cursor:grabbing;}"}),Ll=ce(r.SVG,{target:"eas61re1",label:"PointerIconSVG"})({name:"1fp1hff",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%;"}),Fl=ce(r.Path,{target:"eas61re2",label:"PointerIconPathOutline"})({name:"j4aqsr",styles:"fill:white;"}),zl=ce(r.Path,{target:"eas61re3",label:"PointerIconPathFill"})("fill:",ke("blue.wordpress.700"),";fill:",ke("ui.theme"),";");function Bl(e){var t=e.coordinates,n=void 0===t?{left:"50%",top:"50%"}:t,r=Object(i.a)(e,["coordinates"]),a=u()("components-focal-point-picker__icon_container"),s={left:n.left,top:n.top};return Object(c.createElement)(Al,Object(o.a)({},r,{className:a,style:s}),Object(c.createElement)(Ll,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(c.createElement)(Fl,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(c.createElement)(zl,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"})))}var Hl=window,Vl=Hl.clearTimeout,Kl=Hl.setTimeout;function Wl(e){var t=e.bounds,n=void 0===t?{}:t,r=e.value,s=Object(i.a)(e,["bounds","value"]),l=function(e){var t=Object(c.useState)(!1),n=Object(a.a)(t,2),r=n[0],o=n[1];return oo((function(){o(!0);var e=Kl((function(){o(!1)}),600);return function(){return Vl(e)}}),[e]),{isActive:r}}(r),u={width:n.width,height:n.height};return Object(c.createElement)(kl,Object(o.a)({},s,l,{className:"components-focal-point-picker__grid",style:u}),Object(c.createElement)(Sl,{style:{top:"33%"}}),Object(c.createElement)(Sl,{style:{top:"66%"}}),Object(c.createElement)(xl,{style:{left:"33%"}}),Object(c.createElement)(xl,{style:{left:"66%"}}))}function Ul(e){var t=e.alt,n=e.autoPlay,r=e.src,a=e.onLoad,l=void 0===a?s.noop:a,u=e.mediaRef,d=e.muted,f=void 0===d||d,p=Object(i.a)(e,["alt","autoPlay","src","onLoad","mediaRef","muted"]);return r?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&Pl.includes(Dl(e))}(r)?Object(c.createElement)("video",Object(o.a)({},p,{autoPlay:n,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:f,onLoadedData:l,ref:u,src:r})):Object(c.createElement)("img",Object(o.a)({},p,{alt:t,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:l,ref:u,src:r})):Object(c.createElement)(Gl,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:l,mediaRef:u})}function Gl(e){var t=e.mediaRef,n=e.onLoad,r=void 0===n?s.noop:n,a=Object(i.a)(e,["mediaRef","onLoad"]),l=Object(c.useRef)(r);return Object(c.useLayoutEffect)((function(){window.requestAnimationFrame((function(){l.current()}))}),[]),Object(c.createElement)(jl,Object(o.a)({ref:t},a))}var $l=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(e){var t;return Object(zi.a)(this,o),(t=r.apply(this,arguments)).state={isDragging:!1,bounds:Cl,percentages:e.value},t.containerRef=Object(c.createRef)(),t.mediaRef=Object(c.createRef)(),t.handleOnClick=t.handleOnClick.bind(Object(Hi.a)(t)),t.handleOnMouseUp=t.handleOnMouseUp.bind(Object(Hi.a)(t)),t.handleOnKeyDown=t.handleOnKeyDown.bind(Object(Hi.a)(t)),t.onMouseMove=t.onMouseMove.bind(Object(Hi.a)(t)),t.updateBounds=t.updateBounds.bind(Object(Hi.a)(t)),t.updateValue=t.updateValue.bind(Object(Hi.a)(t)),t}return Object(Bi.a)(o,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.handleOnMouseUp),window.addEventListener("resize",this.updateBounds),this.updateBounds()}},{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1}),this.props.value.x===this.state.percentages.x&&this.props.value.y===this.state.percentages.y||this.setState({percentages:this.props.value})}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.handleOnMouseUp),window.removeEventListener("resize",this.updateBounds)}},{key:"calculateBounds",value:function(){var e=Cl;if(!this.mediaRef.current)return e;if(0===this.mediaRef.current.clientWidth||0===this.mediaRef.current.clientHeight)return e;var t=this.mediaRef.current.clientWidth,n=this.mediaRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"updateValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.props.onChange,n=e.x,r=e.y,o={x:parseFloat(n).toFixed(2),y:parseFloat(r).toFixed(2)};this.setState({percentages:o},(function(){t(o)}))}},{key:"updateBounds",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"handleOnClick",value:function(e){var t=this;e.persist(),this.setState({isDragging:!0},(function(){t.onMouseMove(e)}))}},{key:"handleOnMouseUp",value:function(){this.setState({isDragging:!1})}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey;if([Ur.UP,Ur.DOWN,Ur.LEFT,Ur.RIGHT].includes(t)){var r=this.state.percentages,o=r.x,a=r.y;e.preventDefault();var i=parseFloat(o),c=parseFloat(a),s=n?.1:.01;switch(e.keyCode){case Ur.UP:c-=s;break;case Ur.DOWN:c+=s;break;case Ur.LEFT:i-=s;break;case Ur.RIGHT:i+=s}var l={x:i=bo(i,0,1,s),y:c=bo(c,0,1,s)};this.updateValue(l)}}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds;if(n){e.preventDefault();var o=e.shiftKey,a=this.pickerDimensions(),i={left:e.pageX-a.left,top:e.pageY-a.top},c=Math.max(r.left,Math.min(i.left,r.right)),s=Math.max(r.top,Math.min(i.top,r.bottom)),l=(c-r.left)/(a.width-2*r.left),u=(s-r.top)/(a.height-2*r.top),d=o?.1:.01,f={x:l=bo(l,0,1,d),y:u=bo(u,0,1,d)};this.updateValue(f)}}},{key:"pickerDimensions",value:function(){var e=this.containerRef.current;if(!e)return{width:0,height:0,left:0,top:0};var t=e.clientHeight,n=e.clientWidth,r=e.getBoundingClientRect(),o=r.top,a=r.left;return{width:n,height:t,top:o+document.body.scrollTop,left:a}}},{key:"iconCoordinates",value:function(){var e=this.props.value,t=this.state.bounds;if(void 0===t.left||void 0===t.top)return{left:"50%",top:"50%"};var n=this.pickerDimensions();return{left:e.x*(n.width-2*t.left)+t.left,top:e.y*(n.height-2*t.top)+t.top}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoPlay,r=t.className,o=t.help,a=t.instanceId,i=t.label,s=t.onDragStart,l=t.onDragEnd,f=t.url,p=this.state,b=p.bounds,h=p.isDragging,v=p.percentages,m=this.iconCoordinates(),g=u()("components-focal-point-picker-control",r),y="inspector-focal-point-picker-control-".concat(a);return Object(c.createElement)($t,{label:i,id:y,help:o,className:g},Object(c.createElement)(yl,{className:"components-focal-point-picker-wrapper"},Object(c.createElement)(Ol,{className:"components-focal-point-picker",onDragStart:function(t){e.setState({isDragging:!0}),s(t)},onDrop:function(t){e.setState({isDragging:!1}),l(t)},onKeyDown:this.handleOnKeyDown,onMouseDown:this.handleOnClick,onMouseMove:this.onMouseMove,onMouseUp:this.handleOnMouseUp,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(c.createElement)(Wl,{bounds:b,value:v.x+v.y}),Object(c.createElement)(Ul,{alt:Object(d.__)("Media preview"),autoPlay:n,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:f}),Object(c.createElement)(Bl,{coordinates:m,isDragging:h}))),Object(c.createElement)(Rl,{percentages:v,onChange:this.updateValue}))}}]),o}(c.Component);$l.defaultProps={autoPlay:!0,onDragStart:s.noop,onDragEnd:s.noop,onChange:s.noop,value:{x:.5,y:.5},url:null};var ql=Object(f.compose)([f.withInstanceId,kc])($l);function Yl(e){var t=e.iframeRef,n=e.onFocus,r=Object(i.a)(e,["iframeRef","onFocus"]),a=Object(c.useRef)(),s=t||a;return Object(c.useEffect)((function(){var e=s.current,t=e.ownerDocument,r=t.defaultView,o=r.FocusEvent;function a(){if(t.activeElement===e){var r=new o("focus",{bubbles:!0});e.dispatchEvent(r),n&&n(r)}}return r.addEventListener("blur",a),function(){r.removeEventListener("blur",a)}}),[n]),Object(c.createElement)("iframe",Object(o.a)({ref:s},r))}var Xl=n(356);function Zl(e,t,n){return"number"!=typeof e?null:parseFloat(Object(s.clamp)(e,t,n))}var Ql={name:"tdik1c",styles:"height:30px;min-height:30px;"},Jl=function(){return Ql},eu=ce("div",{target:"exqw8y20",label:"Root"})({name:"44oaj8",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%;"}),tu=ce("div",{target:"exqw8y21",label:"Wrapper"})("box-sizing:border-box;color:",ke("blue.medium.focus"),";display:block;flex:1;padding-top:15px;position:relative;width:100%;",(function(e){var t=e.color,n=void 0===t?ke("ui.borderFocus"):t;return q({color:n},"")}),";",Jl,";",(function(e){var t=e.marks;return q({marginBottom:t?16:null},"")}),";",Nn({marginLeft:10}),""),nu=ce("span",{target:"exqw8y22",label:"BeforeIconWrapper"})("margin-top:3px;",Nn({marginRight:6}),""),ru=ce("span",{target:"exqw8y23",label:"AfterIconWrapper"})("margin-top:3px;",Nn({marginLeft:16}),""),ou=ce("span",{target:"exqw8y24",label:"Rail"})("background-color:",ke("lightGray.600"),";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:3px;position:absolute;margin-top:14px;top:0;",(function(e){var t=e.disabled,n=e.railColor||null;return t&&(n=ke("lightGray.400")),q({background:n},"")}),";"),au=ce("span",{target:"exqw8y25",label:"Track"})("background-color:currentColor;border-radius:1px;box-sizing:border-box;height:3px;pointer-events:none;display:block;position:absolute;margin-top:14px;top:0;",(function(e){var t=e.disabled,n=e.trackColor||"currentColor";return t&&(n=ke("lightGray.800")),q({background:n},"")}),";"),iu=ce("span",{target:"exqw8y26",label:"MarksWrapper"})({name:"8d21nl",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none;"}),cu=ce("span",{target:"exqw8y27",label:"Mark"})("box-sizing:border-box;height:9px;left:0;position:absolute;top:-4px;width:1px;",(function(e){var t=e.disabled,n=e.isFilled?"currentColor":ke("lightGray.600");return t&&(n=ke("lightGray.800")),q({backgroundColor:n},"")}),";"),su=ce("span",{target:"exqw8y28",label:"MarkLabel"})("box-sizing:border-box;color:",ke("lightGray.600"),";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(function(e){var t=e.isFilled;return q({color:ke(t?"darkGray.300":"lightGray.600")},"")}),";"),lu=ce("span",{target:"exqw8y29",label:"ThumbWrapper"})("align-items:center;box-sizing:border-box;display:flex;height:",20,"px;justify-content:center;margin-top:5px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",20,"px;",Nn({marginLeft:-10}),""),uu=ce("span",{target:"exqw8y210",label:"Thumb"})("align-items:center;background-color:white;border-radius:50%;border:1px solid ",ke("darkGray.200"),";box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",(function(e){var t=e.isFocused;return q({borderColor:ke(t?"ui.borderFocus":"darkGray.200"),boxShadow:t?"\n\t\t\t\t0 0 0 1px ".concat(ke("ui.borderFocus"),"\n\t\t\t"):"\n\t\t\t\t0 0 0 rgba(0, 0, 0, 0)\n\t\t\t"},"")}),";"),du=ce("input",{target:"exqw8y211",label:"InputRange"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",10,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",20,"px );"),fu={name:"5qqmyx",styles:"top:-80%;"},pu={name:"eda4eg",styles:"bottom:-80%;"},bu=ce("span",{target:"exqw8y212",label:"Tooltip"})("background:",ke("ui.border"),";border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(function(e){var t=e.show;return q({opacity:t?1:0},"")}),";",(function(e){return"top"===e.position?fu:pu}),";",Ee("transition"),";",Nn({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),""),hu=ce(vo,{target:"exqw8y213",label:"InputNumber"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",Ht(8),";input[type='number']&{",Jl,";}",Nn({marginLeft:Ht(2)}),""),vu=ce("span",{target:"exqw8y214",label:"ActionRightWrapper"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",Jl,";}",Nn({marginLeft:8}),""),mu=Object(c.forwardRef)((function(e,t){var n=e.describedBy,r=e.isShiftStepEnabled,l=void 0===r||r,u=e.label,d=e.onHideTooltip,f=void 0===d?s.noop:d,p=e.onMouseLeave,b=void 0===p?s.noop:p,h=e.step,v=void 0===h?1:h,m=e.onBlur,g=void 0===m?s.noop:m,y=e.onChange,O=void 0===y?s.noop:y,j=e.onFocus,w=void 0===j?s.noop:j,_=e.onMouseMove,k=void 0===_?s.noop:_,E=e.onShowTooltip,S=void 0===E?s.noop:E,x=e.shiftStep,C=void 0===x?10:x,P=e.value,D=Object(i.a)(e,["describedBy","isShiftStepEnabled","label","onHideTooltip","onMouseLeave","step","onBlur","onChange","onFocus","onMouseMove","onShowTooltip","shiftStep","value"]),M=ho({step:v,shiftStep:C,isShiftStepEnabled:l}),T=function(e){var t=e.onHide,n=void 0===t?s.noop:t,r=e.onMouseLeave,o=void 0===r?s.noop:r,i=e.onMouseMove,l=void 0===i?s.noop:i,u=e.onShow,d=void 0===u?s.noop:u,f=e.timeout,p=void 0===f?300:f,b=Object(c.useState)(!1),h=Object(a.a)(b,2),v=h[0],m=h[1],g=Object(c.useRef)(),y=Object(c.useCallback)((function(e){window.clearTimeout(g.current),g.current=setTimeout(e,p)}),[p]),O=Object(c.useCallback)((function(e){l(e),y((function(){v||(m(!0),d())}))}),[]),j=Object(c.useCallback)((function(e){o(e),y((function(){m(!1),n()}))}),[]);return Object(c.useEffect)((function(){return function(){window.clearTimeout(g.current)}})),{onMouseMove:O,onMouseLeave:j}}({onHide:f,onMouseLeave:b,onMouseMove:k,onShow:S});return Object(c.createElement)(du,Object(o.a)({},D,T,{"aria-describedby":n,"aria-label":u,"aria-hidden":!1,onBlur:g,onChange:O,onFocus:w,ref:t,step:M,tabIndex:0,type:"range",value:P}))}));function gu(e){var t=e.className,n=e.isFilled,r=void 0!==n&&n,a=e.label,s=e.style,l=void 0===s?{}:s,d=Object(i.a)(e,["className","isFilled","label","style"]),f=u()("components-range-control__mark",r&&"is-filled",t),p=u()("components-range-control__mark-label",r&&"is-filled");return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(cu,Object(o.a)({},d,{"aria-hidden":"true",className:f,isFilled:r,style:l})),a&&Object(c.createElement)(su,{"aria-hidden":"true",className:p,isFilled:r,style:l},a))}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ju(e){var t=e.disabled,n=void 0!==t&&t,r=e.marks,a=void 0!==r&&r,s=e.min,l=void 0===s?0:s,u=e.max,d=void 0===u?100:u,f=e.step,p=void 0===f?1:f,b=e.value,h=void 0===b?0:b,v=Object(i.a)(e,["disabled","marks","min","max","step","value"]);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(ou,Object(o.a)({disabled:n},v)),a&&Object(c.createElement)(wu,{disabled:n,marks:a,min:l,max:d,step:p,value:h}))}function wu(e){var t=e.disabled,n=void 0!==t&&t,r=e.marks,a=void 0!==r&&r,i=e.min,s=void 0===i?0:i,l=e.max,u=void 0===l?100:l,f=e.step,p=void 0===f?1:f,b=e.value,v=function(e){var t=e.marks,n=e.min,r=void 0===n?0:n,o=e.max,a=void 0===o?100:o,i=e.step,c=void 0===i?1:i,s=e.value,l=void 0===s?0:s;if(!t)return[];var u=a-r;if(!Array.isArray(t)){t=[];for(var f=1+Math.round(u/c);f>t.push({value:c*t.length+r}););}var p=[];return t.forEach((function(e,t){if(!(e.value<r||e.value>a)){var n="mark-".concat(t),o=e.value<=l,i="".concat((e.value-r)/u*100,"%"),c=Object(h.a)({},Object(d.isRTL)()?"right":"left",i);p.push(Ou(Ou({},e),{},{isFilled:o,key:n,style:c}))}})),p}({marks:a,min:s,max:u,step:p,value:void 0===b?0:b});return Object(c.createElement)(iu,{"aria-hidden":"true",className:"components-range-control__marks"},v.map((function(e){return Object(c.createElement)(gu,Object(o.a)({},e,{key:e.key,"aria-hidden":"true",disabled:n}))})))}function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eu(e){var t=e.className,n=e.inputRef,r=e.position,s=void 0===r?"auto":r,l=e.show,d=void 0!==l&&l,f=e.style,p=void 0===f?{}:f,b=e.value,h=void 0===b?0:b,v=e.renderTooltipContent,m=void 0===v?function(e){return e}:v,g=e.zIndex,y=void 0===g?100:g,O=Object(i.a)(e,["className","inputRef","position","show","style","value","renderTooltipContent","zIndex"]),j=function(e){var t=e.inputRef,n=e.position,r=Object(c.useState)("top"),o=Object(a.a)(r,2),i=o[0],s=o[1],l=Object(c.useCallback)((function(){if(t&&t.current){var e=n;"auto"===n&&(e=t.current.getBoundingClientRect().top-32<0?"bottom":"top"),s(e)}}),[n]);return Object(c.useEffect)((function(){l()}),[l]),Object(c.useEffect)((function(){return window.addEventListener("resize",l),function(){window.removeEventListener("resize",l)}})),i}({inputRef:n,position:s}),w=u()("components-simple-tooltip",t),_=ku(ku({},p),{},{zIndex:y});return Object(c.createElement)(bu,Object(o.a)({},O,{"aria-hidden":d,className:w,position:j,show:d,role:"tooltip",style:_}),m(h))}var Su=Object(c.forwardRef)((function e(t,n){var r,l=t.afterIcon,p=t.allowReset,b=void 0!==p&&p,v=t.beforeIcon,m=t.className,g=t.currentInput,y=t.color,O=void 0===y?ke("ui.theme"):y,j=t.disabled,w=void 0!==j&&j,_=t.help,k=t.initialPosition,E=t.isShiftStepEnabled,S=void 0===E||E,x=t.label,C=t.marks,P=void 0!==C&&C,D=t.max,M=void 0===D?100:D,T=t.min,I=void 0===T?0:T,R=t.onBlur,N=void 0===R?s.noop:R,A=t.onChange,L=void 0===A?s.noop:A,F=t.onFocus,z=void 0===F?s.noop:F,B=t.onMouseMove,H=void 0===B?s.noop:B,V=t.onMouseLeave,K=void 0===V?s.noop:V,W=t.railColor,U=t.resetFallbackValue,G=t.renderTooltipContent,$=void 0===G?function(e){return e}:G,q=t.showTooltip,Y=t.shiftStep,X=void 0===Y?10:Y,Z=t.step,Q=void 0===Z?1:Z,J=t.trackColor,ee=t.value,te=t.withInputField,ne=void 0===te||te,re=Object(i.a)(t,["afterIcon","allowReset","beforeIcon","className","currentInput","color","disabled","help","initialPosition","isShiftStepEnabled","label","marks","max","min","onBlur","onChange","onFocus","onMouseMove","onMouseLeave","railColor","resetFallbackValue","renderTooltipContent","showTooltip","shiftStep","step","trackColor","value","withInputField"]),oe=function(e){var t=e.min,n=e.max,r=e.initial,o=$o(Zl(e.value,t,n),{initial:r,fallback:null}),i=Object(a.a)(o,2),s=i[0],l=i[1];return[s,Object(c.useCallback)((function(e){l(null===e?null:Zl(e,t,n))}),[t,n])]}({min:I,max:M,value:ee,initial:k}),ae=Object(a.a)(oe,2),ie=ae[0],ce=ae[1],se=Object(c.useRef)(!1),le=Object(c.useState)(q),ue=Object(a.a)(le,2),de=ue[0],fe=ue[1],pe=Object(c.useState)(!1),be=Object(a.a)(pe,2),he=be[0],ve=be[1],me=Object(c.useRef)(),ge=null===(r=me.current)||void 0===r?void 0:r.matches(":focus"),ye=!w&&he,Oe=null===ie,je=Oe?"":void 0!==ie?ie:g,we=Oe?(M-I)/2+I:ie,_e=Oe?50:(ie-I)/(M-I)*100,Ee="".concat(Object(s.clamp)(_e,0,100),"%"),Se=u()("components-range-control",m),xe=u()("components-range-control__wrapper",!!P&&"is-marked"),Ce=Object(f.useInstanceId)(e,"inspector-range-control"),Pe=_?"".concat(Ce,"__help"):void 0,De=!1!==q&&Object(s.isFinite)(ie),Me=function(){var e=parseFloat(U),t=e;isNaN(e)&&(e=null,t=void 0),ce(e),L(t)},Te=Object(h.a)({},Object(d.isRTL)()?"right":"left",Ee);return Object(c.createElement)($t,{className:Se,label:x,id:Ce,help:_},Object(c.createElement)(eu,{className:"components-range-control__root"},v&&Object(c.createElement)(nu,null,Object(c.createElement)(_s.a,{icon:v})),Object(c.createElement)(tu,{className:xe,color:O,marks:!!P},Object(c.createElement)(mu,Object(o.a)({},re,{className:"components-range-control__slider",describedBy:Pe,disabled:w,id:Ce,isShiftStepEnabled:S,label:x,max:M,min:I,onBlur:function(e){N(e),ve(!1),fe(!1)},onChange:function(e){var t=parseFloat(e.target.value);ce(t),L(t)},onFocus:function(e){z(e),ve(!0),fe(!0)},onMouseMove:H,onMouseLeave:K,ref:function(e){me.current=e,n&&n(e)},shiftStep:X,step:Q,value:je})),Object(c.createElement)(ju,{"aria-hidden":!0,disabled:w,marks:P,max:M,min:I,railColor:W,step:Q,value:we}),Object(c.createElement)(au,{"aria-hidden":!0,className:"components-range-control__track",disabled:w,style:{width:Ee},trackColor:J}),Object(c.createElement)(lu,{style:Te},Object(c.createElement)(uu,{"aria-hidden":!0,isFocused:ye})),De&&Object(c.createElement)(Eu,{className:"components-range-control__tooltip",inputRef:me,renderTooltipContent:$,show:ge||de,style:Te,value:ie})),l&&Object(c.createElement)(ru,null,Object(c.createElement)(_s.a,{icon:l})),ne&&Object(c.createElement)(hu,{"aria-label":x,className:"components-range-control__number",disabled:w,inputMode:"decimal",isShiftStepEnabled:S,max:M,min:I,onBlur:function(){se.current&&(Me(),se.current=!1)},onChange:function(e){e=parseFloat(e),ce(e),isNaN(e)?b&&(se.current=!0):((e<I||e>M)&&(e=Zl(e,I,M)),L(e),se.current=!1)},shiftStep:X,step:Q,value:je}),b&&Object(c.createElement)(vu,null,Object(c.createElement)(Eo.a,{className:"components-range-control__reset",disabled:w||void 0===ie,isSecondary:!0,isSmall:!0,onClick:Me},Object(d.__)("Reset")))))})),xu="default";function Cu(e){var t,n=e.fallbackFontSize,r=e.fontSizes,o=void 0===r?[]:r,a=e.disableCustomFontSizes,i=void 0!==a&&a,l=e.onChange,u=e.value,p=e.withSlider,b=void 0!==p&&p,h=Object(s.isString)(u)||o[0]&&Object(s.isString)(o[0].size);t=h?parseInt(u):u;var v=Object(s.isNumber)(u)||Object(s.isString)(u)&&u.endsWith("px"),g=Object(f.useInstanceId)(Cu),y=Object(c.useMemo)((function(){return function(e,t){return t&&!e.length?null:(e=[{slug:xu,name:Object(d.__)("Default")}].concat(Object(_o.a)(e),Object(_o.a)(t?[]:[{slug:"custom",name:Object(d.__)("Custom")}]))).map((function(e){return{key:e.slug,name:e.name,size:e.size,style:{fontSize:"min( ".concat(e.size,", ").concat("25px"," )")}}}))}(o,i)}),[o,i]);if(!y)return null;var O=function(e,t){if(t){var n=e.find((function(e){return e.size===t}));return n?n.slug:"custom"}return xu}(o,u),j="components-font-size-picker__number#".concat(g);return Object(c.createElement)("fieldset",{className:"components-font-size-picker"},Object(c.createElement)(m,{as:"legend"},Object(d.__)("Font size")),Object(c.createElement)("div",{className:"components-font-size-picker__controls"},o.length>0&&Object(c.createElement)(us,{className:"components-font-size-picker__select",label:Object(d.__)("Font size"),options:y,value:y.find((function(e){return e.key===O})),onChange:function(e){var t=e.selectedItem;l(h?t.size:Number(t.size))}}),!b&&!i&&Object(c.createElement)("div",{className:"components-font-size-picker__number-container"},Object(c.createElement)("label",{htmlFor:j},Object(d.__)("Custom")),Object(c.createElement)("input",{id:j,className:"components-font-size-picker__number",type:"number",min:1,onChange:function(e){e.target.value||0===e.target.value?l(h?e.target.value+"px":Number(e.target.value)):l(void 0)},"aria-label":Object(d.__)("Custom"),value:v&&t||""})),Object(c.createElement)(Eo.a,{className:"components-color-palette__clear",disabled:void 0===u,onClick:function(){l(void 0)},isSmall:!0,isSecondary:!0},Object(d.__)("Reset"))),b&&Object(c.createElement)(Su,{className:"components-font-size-picker__custom-input",label:Object(d.__)("Custom Size"),value:v&&t||"",initialPosition:n,onChange:function(e){l(h?e+"px":e)},min:12,max:100,beforeIcon:Xl.a,afterIcon:Xl.a}))}var Pu=function(e){var t=e.accept,n=e.children,r=e.multiple,a=void 0!==r&&r,s=e.onChange,l=e.render,u=Object(i.a)(e,["accept","children","multiple","onChange","render"]),d=Object(c.useRef)(),f=function(){d.current.click()},p=l?l({openFileDialog:f}):Object(c.createElement)(Eo.a,Object(o.a)({onClick:f},u),n);return Object(c.createElement)("div",{className:"components-form-file-upload"},p,Object(c.createElement)("input",{type:"file",ref:d,multiple:a,style:{display:"none"},accept:t,onChange:s}))},Du=function(e){var t=e.className,n=e.checked,r=e.id,a=e.onChange,l=void 0===a?s.noop:a,d=Object(i.a)(e,["className","checked","id","onChange"]),f=u()("components-form-toggle",t,{"is-checked":n});return Object(c.createElement)("span",{className:f},Object(c.createElement)("input",Object(o.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:l},d)),Object(c.createElement)("span",{className:"components-form-toggle__track"}),Object(c.createElement)("span",{className:"components-form-toggle__thumb"}))},Mu=n(41);function Tu(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,a=e.isBorderless,i=void 0!==a&&a,l=e.disabled,p=void 0!==l&&l,b=e.onClickRemove,h=void 0===b?s.noop:b,v=e.onMouseEnter,g=e.onMouseLeave,y=e.messages,O=e.termPosition,j=e.termsCount,w=Object(f.useInstanceId)(Tu),_=u()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":i,"is-disabled":p}),k=o(t),E=Object(d.sprintf)(
13
  /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */
14
  Object(d.__)("%1$s (%2$s of %3$s)"),k,O,j);return Object(c.createElement)("span",{className:_,onMouseEnter:v,onMouseLeave:g,title:r},Object(c.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(w)},Object(c.createElement)(m,{as:"span"},E),Object(c.createElement)("span",{"aria-hidden":"true"},k)),Object(c.createElement)(Eo.a,{className:"components-form-token-field__remove-token",icon:gc.a,onClick:!p&&function(){return h({value:t})},label:y.remove,"aria-describedby":"components-form-token-field__token-text-".concat(w)}))}function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ru(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach((function(t){Object(h.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nu={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},Au=function(e){Object(Vi.a)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Wi.a)(t);if(n){var o=Object(Wi.a)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Object(Ki.a)(this,e)});function o(){var e;return Object(zi.a)(this,o),(e=r.apply(this,arguments)).state=Nu,e.onKeyDown=e.onKeyDown.bind(Object(Hi.a)(e)),e.onKeyPress=e.onKeyPress.bind(Object(Hi.a)(e)),e.onFocus=e.onFocus.bind(Object(Hi.a)(e)),e.onBlur=e.onBlur.bind(Object(Hi.a)(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Object(Hi.a)(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Object(Hi.a)(e)),e.addCurrentToken=e.addCurrentToken.bind(Object(Hi.a)(e)),e.onContainerTouched=e.onContainerTouched.bind(Object(Hi.a)(e)),e.renderToken=e.renderToken.bind(Object(Hi.a)(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Object(Hi.a)(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Object(Hi.a)(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Object(Hi.a)(e)),e.onInputChange=e.onInputChange.bind(Object(Hi.a)(e)),e.bindInput=e.bindInput.bind(Object(Hi.a)(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Object(Hi.a)(e)),e.updateSuggestions=e.updateSuggestions.bind(Object(Hi.a)(e)),e}return Object(Bi.a)(o,[{key:"componentDidUpdate",value:function(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();var t=this.props,n=t.suggestions,r=t.value,o=!Ks()(n,e.suggestions);(o||r!==e.value)&&this.updateSuggestions(o)}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(Nu)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case Ur.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case Ur.ENTER:t=this.addCurrentToken();break;case Ur.LEFT:t=this.handleLeftArrowKey();break;case Ur.UP:t=this.handleUpArrowKey();break;case Ur.RIGHT:t=this.handleRightArrowKey();break;case Ur.DOWN:t=this.handleDownArrowKey();break;case Ur.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case Ur.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case Ur.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(s.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}},{key:"addCurrentToken",value:function(){var e=!1,t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}},{key:"addNewTokens",value:function(e){var t=this,n=Object(s.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((function(e){return!t.valueContainsToken(e)})));if(n.length>0){var r=Object(s.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===Object(Mu.a)(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,a=o(e),i=[],c=[];return 0===a.length?t=Object(s.difference)(t,n):(a=a.toLocaleLowerCase(),Object(s.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(a);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&c.push(e))})),t=i.concat(c)),Object(s.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(s.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"updateSuggestions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state.incompleteTokenValue,n=t.trim().length>1,r=this.getMatchingSuggestions(t),o=r.length>0,a={isExpanded:n&&o};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),n){var i=this.props.debouncedSpeak,c=o?Object(d.sprintf)(
15
  /* translators: %d: number of results. */
changelog.txt CHANGED
@@ -1,5 +1,14 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
 
3
  = 9.8.1 =
4
 
5
  ### Bug Fixes
1
  == Changelog ==
2
 
3
+ = 9.8.2 =
4
+
5
+ ### Bug Fixes
6
+
7
+ - Cover Block: Prevent division by zero in FocalPointPicker ([28499](https://github.com/WordPress/gutenberg/pull/28499))
8
+ - Block Validation: Allow unitless zero CSS lengths ([28501](https://github.com/WordPress/gutenberg/pull/28501))
9
+
10
+
11
+
12
  = 9.8.1 =
13
 
14
  ### Bug Fixes
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
- * Version: 9.8.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '9.8.1' );
17
- define( 'GUTENBERG_GIT_COMMIT', 'c166cac3c20c6a5bf6e02c6518a47f9f2c74b2fd' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
+ * Version: 9.8.2
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '9.8.2' );
17
+ define( 'GUTENBERG_GIT_COMMIT', 'e5332c015bfe15f64dc21b49f6b2a9b140145836' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: matveb, joen, karmatosed
3
  Requires at least: 5.5.0
4
  Tested up to: 5.6
5
  Requires PHP: 5.6
6
- Stable tag: 9.8.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -57,4 +57,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
57
 
58
  == Changelog ==
59
 
60
- To read the changelog for Gutenberg 9.8.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.8.1">release page</a>.
3
  Requires at least: 5.5.0
4
  Tested up to: 5.6
5
  Requires PHP: 5.6
6
+ Stable tag: 9.8.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
57
 
58
  == Changelog ==
59
 
60
+ To read the changelog for Gutenberg 9.8.2, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.8.2">release page</a>.