Gutenberg - Version 5.2.0

Version Description

Download this release

Release Info

Developer iseulde
Plugin Icon 128x128 Gutenberg
Version 5.2.0
Comparing to
See all releases

Code changes from version 5.1.1 to 5.2.0

build/a11y/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=198)}({194:function(e,t){!function(){e.exports=this.wp.domReady}()},198:function(e,t,n){"use strict";n.r(t);var r=n(194),i=n.n(r),o=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",p=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",function(){return s}),n.d(t,"speak",function(){return c});var s=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=o("polite")),null===t&&(t=o("assertive"))};i()(s);var c=function(e,t){a(),e=p(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
1
+ this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=197)}({194:function(e,t){!function(){e.exports=this.wp.domReady}()},197:function(e,t,n){"use strict";n.r(t);var r=n(194),i=n.n(r),o=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",p=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",function(){return s}),n.d(t,"speak",function(){return c});var s=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=o("polite")),null===t&&(t=o("assertive"))};i()(s);var c=function(e,t){a(),e=p(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
build/annotations/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.annotations=function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.r=function(n){Object.defineProperty(n,"__esModule",{value:!0})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=206)}({1:function(n,t){!function(){n.exports=this.wp.i18n}()},15:function(n,t,e){"use strict";function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}e.d(t,"a",function(){return r})},19:function(n,t,e){"use strict";var r=e(32);function o(n){return function(n){if(Array.isArray(n)){for(var t=0,e=new Array(n.length);t<n.length;t++)e[t]=n[t];return e}}(n)||Object(r.a)(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}e.d(t,"a",function(){return o})},2:function(n,t){!function(){n.exports=this.lodash}()},20:function(n,t){!function(){n.exports=this.wp.richText}()},206:function(n,t,e){"use strict";e.r(t);var r={};e.d(r,"__experimentalGetAnnotationsForBlock",function(){return b}),e.d(r,"__experimentalGetAllAnnotationsForBlock",function(){return g}),e.d(r,"__experimentalGetAnnotationsForRichText",function(){return O}),e.d(r,"__experimentalGetAnnotations",function(){return m});var o={};e.d(o,"__experimentalAddAnnotation",function(){return y}),e.d(o,"__experimentalRemoveAnnotation",function(){return A}),e.d(o,"__experimentalUpdateAnnotationRange",function(){return _}),e.d(o,"__experimentalRemoveAnnotationsBySource",function(){return j});var a=e(5),i=e(15),u=e(19),c=e(8),f=e(2);function l(n,t){var e=n.filter(t);return n.length===e.length?n:e}var s=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ANNOTATION_ADD":var e=t.blockClientId,r={id:t.id,blockClientId:e,richTextIdentifier:t.richTextIdentifier,source:t.source,selector:t.selector,range:t.range};if("range"===r.selector&&!function(n){return Object(f.isNumber)(n.start)&&Object(f.isNumber)(n.end)&&n.start<=n.end}(r.range))return n;var o=Object(f.get)(n,e,[]);return Object(c.a)({},n,Object(i.a)({},e,[].concat(Object(u.a)(o),[r])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,function(n){return l(n,function(n){return n.id!==t.annotationId})});case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,function(n){var e=!1,r=n.map(function(n){return n.id===t.annotationId?(e=!0,Object(c.a)({},n,{range:{start:t.start,end:t.end}})):n});return e?r:n});case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,function(n){return l(n,function(n){return n.source!==t.source})})}return n},p=e(21),d=e(29),v=[],b=Object(d.a)(function(n,t){return Object(f.get)(n,t,[]).filter(function(n){return"block"===n.selector})},function(n,t){return[Object(f.get)(n,t,v)]}),g=function(n,t){return Object(f.get)(n,t,v)},O=Object(d.a)(function(n,t,e){return Object(f.get)(n,t,[]).filter(function(n){return"range"===n.selector&&e===n.richTextIdentifier}).map(function(n){var t=n.range,e=Object(p.a)(n,["range"]);return Object(c.a)({},t,e)})},function(n,t){return[Object(f.get)(n,t,v)]});function m(n){return Object(f.flatMap)(n,function(n){return n})}var h=e(61),x=e.n(h);function y(n){var t=n.blockClientId,e=n.richTextIdentifier,r=void 0===e?null:e,o=n.range,a=void 0===o?null:o,i=n.selector,u=void 0===i?"range":i,c=n.source,f=void 0===c?"default":c,l=n.id,s={type:"ANNOTATION_ADD",id:void 0===l?x()():l,blockClientId:t,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(n){return{type:"ANNOTATION_REMOVE",annotationId:n}}function _(n,t,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:n,start:t,end:e}}function j(n){return{type:"ANNOTATION_REMOVE_SOURCE",source:n}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var N=e(20),T=e(40),w=e.n(T),I=e(1),E="core/annotation",R="annotation-text-";var k=w()(function(n){var t=n.annotations;return function(n,e){if(0===t.length)return n;var r={formats:n,text:e};return(r=function(n){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach(function(t){var e=t.start,r=t.end;e>n.text.length&&(e=n.text.length),r>n.text.length&&(r=n.text.length);var o=R+t.source,a=R+t.id;n=Object(N.applyFormat)(n,{type:E,attributes:{className:o,id:a}},e,r)}),n}(r,t)).formats}}),P=w()(function(n){return{annotations:n}}),C={name:E,title:Object(I.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(n,t){var e=t.richTextIdentifier,r=t.blockClientId;return P(n("core/annotations").__experimentalGetAnnotationsForRichText(r,e))},__experimentalCreatePrepareEditableTree:k,__experimentalGetPropsForEditableTreeChangeHandler:function(n){return{removeAnnotation:n("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:n("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(n){return function(t){var e=function(n){var t={};return n.forEach(function(n,e){(n=(n=n||[]).filter(function(n){return n.type===E})).forEach(function(n){var r=n.attributes.id;r=r.replace(R,""),t.hasOwnProperty(r)||(t[r]={start:e}),t[r].end=e+1})}),t}(t),r=n.removeAnnotation,o=n.updateAnnotationRange;!function(n,t,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;n.forEach(function(n){var e=t[n.id];if(e){var a=n.start,i=n.end;a===e.start&&i===e.end||o(n.id,e.start,e.end)}else r(n.id)})}(n.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},S=C.name,D=Object(p.a)(C,["name"]);Object(N.registerFormatType)(S,D);var V=e(23);Object(V.addFilter)("editor.BlockListBlock","core/annotations",function(n){return Object(a.withSelect)(function(n,t){var e=t.clientId;return{className:n("core/annotations").__experimentalGetAnnotationsForBlock(e).map(function(n){return"is-annotated-by-"+n.source}).join(" ")}})(n)})},21:function(n,t,e){"use strict";function r(n,t){if(null==n)return{};var e,r,o=function(n,t){if(null==n)return{};var e,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)e=a[r],t.indexOf(e)>=0||(o[e]=n[e]);return o}(n,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(r=0;r<a.length;r++)e=a[r],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(n,e)&&(o[e]=n[e])}return o}e.d(t,"a",function(){return r})},23:function(n,t){!function(){n.exports=this.wp.hooks}()},29:function(n,t,e){"use strict";var r,o;function a(n){return[n]}function i(n){return!!n&&"object"==typeof n}function u(){var n={clear:function(){n.head=null}};return n}function c(n,t,e){var r;if(n.length!==t.length)return!1;for(r=e;r<n.length;r++)if(n[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(n,t){var e,f;function l(){e=o?new WeakMap:u()}function s(){var e,r,o,a,i,u=arguments.length;for(a=new Array(u),o=0;o<u;o++)a[o]=arguments[o];for(i=t.apply(null,a),(e=f(i)).isUniqueByDependants||(e.lastDependants&&!c(i,e.lastDependants,0)&&e.clear(),e.lastDependants=i),r=e.head;r;){if(c(r.args,a,1))return r!==e.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=e.head,r.prev=null,e.head.prev=r,e.head=r),r.val;r=r.next}return r={val:n.apply(null,a)},a[0]=null,r.args=a,e.head&&(e.head.prev=r,r.next=e.head),e.head=r,r.val}return t||(t=a),f=o?function(n){var t,o,a,c,f=e,l=!0;for(t=0;t<n.length;t++){if(!i(o=n[t])){l=!1;break}f.has(o)?f=f.get(o):(a=new WeakMap,f.set(o,a),f=a)}return f.has(r)||((c=u()).isUniqueByDependants=l,f.set(r,c)),f.get(r)}:function(){return e},s.getDependants=t,s.clear=l,l(),s}},32:function(n,t,e){"use strict";function r(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}e.d(t,"a",function(){return r})},40:function(n,t,e){n.exports=function(n,t){var e,r,o,a=0;function i(){var t,i,u=r,c=arguments.length;n:for(;u;){if(u.args.length===arguments.length){for(i=0;i<c;i++)if(u.args[i]!==arguments[i]){u=u.next;continue n}return u!==r&&(u===o&&(o=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=r,u.prev=null,r.prev=u,r=u),u.val}u=u.next}for(t=new Array(c),i=0;i<c;i++)t[i]=arguments[i];return u={args:t,val:n.apply(null,t)},r?(r.prev=u,u.next=r):o=u,a===e?(o=o.prev).next=null:a++,r=u,u.val}return t&&t.maxSize&&(e=t.maxSize),i.clear=function(){r=null,o=null,a=0},i}},5:function(n,t){!function(){n.exports=this.wp.data}()},61:function(n,t,e){var r=e(84),o=e(83);n.exports=function(n,t,e){var a=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var u=0;u<16;++u)t[a+u]=i[u];return t||o(i)}},8:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var r=e(15);function o(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},o=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.forEach(function(t){Object(r.a)(n,t,e[t])})}return n}},83:function(n,t){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);n.exports=function(n,t){var r=t||0,o=e;return[o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]]].join("")}},84:function(n,t){var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var r=new Uint8Array(16);n.exports=function(){return e(r),r}}else{var o=new Array(16);n.exports=function(){for(var n,t=0;t<16;t++)0==(3&t)&&(n=4294967296*Math.random()),o[t]=n>>>((3&t)<<3)&255;return o}}}});
1
+ this.wp=this.wp||{},this.wp.annotations=function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.r=function(n){Object.defineProperty(n,"__esModule",{value:!0})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=205)}({1:function(n,t){!function(){n.exports=this.wp.i18n}()},15:function(n,t,e){"use strict";function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}e.d(t,"a",function(){return r})},18:function(n,t,e){"use strict";var r=e(32);function o(n){return function(n){if(Array.isArray(n)){for(var t=0,e=new Array(n.length);t<n.length;t++)e[t]=n[t];return e}}(n)||Object(r.a)(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}e.d(t,"a",function(){return o})},2:function(n,t){!function(){n.exports=this.lodash}()},20:function(n,t){!function(){n.exports=this.wp.richText}()},205:function(n,t,e){"use strict";e.r(t);var r={};e.d(r,"__experimentalGetAnnotationsForBlock",function(){return b}),e.d(r,"__experimentalGetAllAnnotationsForBlock",function(){return g}),e.d(r,"__experimentalGetAnnotationsForRichText",function(){return O}),e.d(r,"__experimentalGetAnnotations",function(){return m});var o={};e.d(o,"__experimentalAddAnnotation",function(){return y}),e.d(o,"__experimentalRemoveAnnotation",function(){return A}),e.d(o,"__experimentalUpdateAnnotationRange",function(){return _}),e.d(o,"__experimentalRemoveAnnotationsBySource",function(){return j});var a=e(5),i=e(15),u=e(18),c=e(8),f=e(2);function l(n,t){var e=n.filter(t);return n.length===e.length?n:e}var s=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ANNOTATION_ADD":var e=t.blockClientId,r={id:t.id,blockClientId:e,richTextIdentifier:t.richTextIdentifier,source:t.source,selector:t.selector,range:t.range};if("range"===r.selector&&!function(n){return Object(f.isNumber)(n.start)&&Object(f.isNumber)(n.end)&&n.start<=n.end}(r.range))return n;var o=Object(f.get)(n,e,[]);return Object(c.a)({},n,Object(i.a)({},e,[].concat(Object(u.a)(o),[r])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,function(n){return l(n,function(n){return n.id!==t.annotationId})});case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,function(n){var e=!1,r=n.map(function(n){return n.id===t.annotationId?(e=!0,Object(c.a)({},n,{range:{start:t.start,end:t.end}})):n});return e?r:n});case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,function(n){return l(n,function(n){return n.source!==t.source})})}return n},p=e(21),d=e(28),v=[],b=Object(d.a)(function(n,t){return Object(f.get)(n,t,[]).filter(function(n){return"block"===n.selector})},function(n,t){return[Object(f.get)(n,t,v)]}),g=function(n,t){return Object(f.get)(n,t,v)},O=Object(d.a)(function(n,t,e){return Object(f.get)(n,t,[]).filter(function(n){return"range"===n.selector&&e===n.richTextIdentifier}).map(function(n){var t=n.range,e=Object(p.a)(n,["range"]);return Object(c.a)({},t,e)})},function(n,t){return[Object(f.get)(n,t,v)]});function m(n){return Object(f.flatMap)(n,function(n){return n})}var h=e(62),x=e.n(h);function y(n){var t=n.blockClientId,e=n.richTextIdentifier,r=void 0===e?null:e,o=n.range,a=void 0===o?null:o,i=n.selector,u=void 0===i?"range":i,c=n.source,f=void 0===c?"default":c,l=n.id,s={type:"ANNOTATION_ADD",id:void 0===l?x()():l,blockClientId:t,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(n){return{type:"ANNOTATION_REMOVE",annotationId:n}}function _(n,t,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:n,start:t,end:e}}function j(n){return{type:"ANNOTATION_REMOVE_SOURCE",source:n}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var N=e(20),T=e(38),w=e.n(T),I=e(1),E="core/annotation",R="annotation-text-";var k=w()(function(n){var t=n.annotations;return function(n,e){if(0===t.length)return n;var r={formats:n,text:e};return(r=function(n){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach(function(t){var e=t.start,r=t.end;e>n.text.length&&(e=n.text.length),r>n.text.length&&(r=n.text.length);var o=R+t.source,a=R+t.id;n=Object(N.applyFormat)(n,{type:E,attributes:{className:o,id:a}},e,r)}),n}(r,t)).formats}}),P=w()(function(n){return{annotations:n}}),C={name:E,title:Object(I.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(n,t){var e=t.richTextIdentifier,r=t.blockClientId;return P(n("core/annotations").__experimentalGetAnnotationsForRichText(r,e))},__experimentalCreatePrepareEditableTree:k,__experimentalGetPropsForEditableTreeChangeHandler:function(n){return{removeAnnotation:n("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:n("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(n){return function(t){var e=function(n){var t={};return n.forEach(function(n,e){(n=(n=n||[]).filter(function(n){return n.type===E})).forEach(function(n){var r=n.attributes.id;r=r.replace(R,""),t.hasOwnProperty(r)||(t[r]={start:e}),t[r].end=e+1})}),t}(t),r=n.removeAnnotation,o=n.updateAnnotationRange;!function(n,t,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;n.forEach(function(n){var e=t[n.id];if(e){var a=n.start,i=n.end;a===e.start&&i===e.end||o(n.id,e.start,e.end)}else r(n.id)})}(n.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},S=C.name,D=Object(p.a)(C,["name"]);Object(N.registerFormatType)(S,D);var V=e(23);Object(V.addFilter)("editor.BlockListBlock","core/annotations",function(n){return Object(a.withSelect)(function(n,t){var e=t.clientId;return{className:n("core/annotations").__experimentalGetAnnotationsForBlock(e).map(function(n){return"is-annotated-by-"+n.source}).join(" ")}})(n)})},21:function(n,t,e){"use strict";function r(n,t){if(null==n)return{};var e,r,o=function(n,t){if(null==n)return{};var e,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)e=a[r],t.indexOf(e)>=0||(o[e]=n[e]);return o}(n,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(r=0;r<a.length;r++)e=a[r],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(n,e)&&(o[e]=n[e])}return o}e.d(t,"a",function(){return r})},23:function(n,t){!function(){n.exports=this.wp.hooks}()},28:function(n,t,e){"use strict";var r,o;function a(n){return[n]}function i(n){return!!n&&"object"==typeof n}function u(){var n={clear:function(){n.head=null}};return n}function c(n,t,e){var r;if(n.length!==t.length)return!1;for(r=e;r<n.length;r++)if(n[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(n,t){var e,f;function l(){e=o?new WeakMap:u()}function s(){var e,r,o,a,i,u=arguments.length;for(a=new Array(u),o=0;o<u;o++)a[o]=arguments[o];for(i=t.apply(null,a),(e=f(i)).isUniqueByDependants||(e.lastDependants&&!c(i,e.lastDependants,0)&&e.clear(),e.lastDependants=i),r=e.head;r;){if(c(r.args,a,1))return r!==e.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=e.head,r.prev=null,e.head.prev=r,e.head=r),r.val;r=r.next}return r={val:n.apply(null,a)},a[0]=null,r.args=a,e.head&&(e.head.prev=r,r.next=e.head),e.head=r,r.val}return t||(t=a),f=o?function(n){var t,o,a,c,f=e,l=!0;for(t=0;t<n.length;t++){if(!i(o=n[t])){l=!1;break}f.has(o)?f=f.get(o):(a=new WeakMap,f.set(o,a),f=a)}return f.has(r)||((c=u()).isUniqueByDependants=l,f.set(r,c)),f.get(r)}:function(){return e},s.getDependants=t,s.clear=l,l(),s}},32:function(n,t,e){"use strict";function r(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}e.d(t,"a",function(){return r})},38:function(n,t,e){n.exports=function(n,t){var e,r,o,a=0;function i(){var t,i,u=r,c=arguments.length;n:for(;u;){if(u.args.length===arguments.length){for(i=0;i<c;i++)if(u.args[i]!==arguments[i]){u=u.next;continue n}return u!==r&&(u===o&&(o=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=r,u.prev=null,r.prev=u,r=u),u.val}u=u.next}for(t=new Array(c),i=0;i<c;i++)t[i]=arguments[i];return u={args:t,val:n.apply(null,t)},r?(r.prev=u,u.next=r):o=u,a===e?(o=o.prev).next=null:a++,r=u,u.val}return t&&t.maxSize&&(e=t.maxSize),i.clear=function(){r=null,o=null,a=0},i}},5:function(n,t){!function(){n.exports=this.wp.data}()},62:function(n,t,e){var r=e(86),o=e(85);n.exports=function(n,t,e){var a=t&&e||0;"string"==typeof n&&(t="binary"===n?new Array(16):null,n=null);var i=(n=n||{}).random||(n.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var u=0;u<16;++u)t[a+u]=i[u];return t||o(i)}},8:function(n,t,e){"use strict";e.d(t,"a",function(){return o});var r=e(15);function o(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},o=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.forEach(function(t){Object(r.a)(n,t,e[t])})}return n}},85:function(n,t){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);n.exports=function(n,t){var r=t||0,o=e;return[o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],"-",o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]],o[n[r++]]].join("")}},86:function(n,t){var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var r=new Uint8Array(16);n.exports=function(){return e(r),r}}else{var o=new Array(16);n.exports=function(){for(var n,t=0;t<16;t++)0==(3&t)&&(n=4294967296*Math.random()),o[t]=n>>>((3&t)<<3)&255;return o}}}});
build/api-fetch/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.apiFetch=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,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=207)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},15: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})},207:function(e,t,r){"use strict";r.r(t);var n=r(8),a=r(21),o=r(1);var u=function(e){function t(e,r){var a=e.headers,o=void 0===a?{}:a;for(var u in o)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,a,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),o=(a=e.endpoint.replace(/^\//,""))?r+"/"+a:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:o}))},i=function(e){return function(t,r){return c(t,function(t){var a,o=t.url,u=t.path;return"string"==typeof u&&(a=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof a&&-1!==a.indexOf("?")&&(u=u.replace("?","&")),o=a+u),r(Object(n.a)({},t,{url:o}))})}},s=function(e){return function(t,r){var n=t.parse,a=void 0===n||n;if("string"==typeof t.path){var o=t.method||"GET",u=function(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map(function(e){return e.split("=")}).sort(function(e,t){return e[0].localeCompare(t[0])}).map(function(e){return e.join("=")}).join("&"):n}(t.path);if(a&&"GET"===o&&e[u])return Promise.resolve(e[u].body);if("OPTIONS"===o&&e[o][u])return Promise.resolve(e[o][u])}return r(t)}},f=r(38),p=r(22),l=function(e,t){var r=e.path,o=e.url,u=Object(a.a)(e,["path","url"]);return Object(n.a)({},u,{url:o&&Object(p.addQueryArgs)(o,t),path:r&&Object(p.addQueryArgs)(r,t)})},d=function(e){return e.json?e.json():Promise.reject(e)},h=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},b=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},O=function(){var e=Object(f.a)(regeneratorRuntime.mark(function e(t,r){var a,o,u,c,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(b(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},l(t,{per_page:100}),{parse:!1}));case 6:return a=e.sent,e.next=9,d(a);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(u=h(a)){e.next=15;break}return e.abrupt("return",o);case 15:c=[].concat(o);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,d(i);case 22:s=e.sent,c=c.concat(s),u=h(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),v=new Set(["PATCH","PUT","DELETE"]),j="GET";var y={Accept:"application/json, */*;q=0.1"},g={credentials:"include"},w=[function(e,t){return"string"!=typeof e.url||Object(p.hasQueryArg)(e.url,"_locale")||(e.url=Object(p.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(p.hasQueryArg)(e.path,"_locale")||(e.path=Object(p.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,a=void 0===r?j:r;return v.has(a.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":a,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},O];var m=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(a.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;p=Object(n.a)({},y,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json");return window.fetch(t||r,Object(n.a)({},g,s,{body:f,headers:p})).then(function(e){if(e.status>=200&&e.status<300)return e;throw e}).then(function(e){return i?204===e.status?null:e.json?e.json():Promise.reject(e):e}).catch(function(e){if(!i)throw e;var t={code:"invalid_json",message:Object(o.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch(function(){throw t}).then(function(e){var t={code:"unknown_error",message:Object(o.__)("An unknown error occurred.")};throw e||t})})};function x(e){var t=[].concat(w,[m]);return function e(r){return function(n){var a=t[r];return r===t.length-1?a(n):a(n,e(r+1))}}(0)(e)}x.use=function(e){w.unshift(e)},x.setFetchHandler=function(e){m=e},x.createNonceMiddleware=u,x.createPreloadingMiddleware=s,x.createRootURLMiddleware=i,x.fetchAllMiddleware=O;t.default=x},21:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.d(t,"a",function(){return n})},22:function(e,t){!function(){e.exports=this.wp.url}()},38:function(e,t,r){"use strict";function n(e,t,r,n,a,o,u){try{var c=e[o](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise(function(a,o){var u=e.apply(t,r);function c(e){n(u,a,o,c,i,"next",e)}function i(e){n(u,a,o,c,i,"throw",e)}c(void 0)})}}r.d(t,"a",function(){return a})},8:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(15);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){Object(n.a)(e,t,r[t])})}return e}}}).default;
1
+ this.wp=this.wp||{},this.wp.apiFetch=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,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=206)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},15: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})},206:function(e,t,r){"use strict";r.r(t);var n=r(8),a=r(21),o=r(1);var u=function(e){function t(e,r){var a=e.headers,o=void 0===a?{}:a;for(var u in o)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,a,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),o=(a=e.endpoint.replace(/^\//,""))?r+"/"+a:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:o}))},i=function(e){return function(t,r){return c(t,function(t){var a,o=t.url,u=t.path;return"string"==typeof u&&(a=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof a&&-1!==a.indexOf("?")&&(u=u.replace("?","&")),o=a+u),r(Object(n.a)({},t,{url:o}))})}},s=function(e){return function(t,r){var n=t.parse,a=void 0===n||n;if("string"==typeof t.path){var o=t.method||"GET",u=function(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map(function(e){return e.split("=")}).sort(function(e,t){return e[0].localeCompare(t[0])}).map(function(e){return e.join("=")}).join("&"):n}(t.path);if(a&&"GET"===o&&e[u])return Promise.resolve(e[u].body);if("OPTIONS"===o&&e[o][u])return Promise.resolve(e[o][u])}return r(t)}},f=r(41),p=r(22),l=function(e,t){var r=e.path,o=e.url,u=Object(a.a)(e,["path","url"]);return Object(n.a)({},u,{url:o&&Object(p.addQueryArgs)(o,t),path:r&&Object(p.addQueryArgs)(r,t)})},d=function(e){return e.json?e.json():Promise.reject(e)},h=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},b=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},O=function(){var e=Object(f.a)(regeneratorRuntime.mark(function e(t,r){var a,o,u,c,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(b(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},l(t,{per_page:100}),{parse:!1}));case 6:return a=e.sent,e.next=9,d(a);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(u=h(a)){e.next=15;break}return e.abrupt("return",o);case 15:c=[].concat(o);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,d(i);case 22:s=e.sent,c=c.concat(s),u=h(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),v=new Set(["PATCH","PUT","DELETE"]),j="GET";var y={Accept:"application/json, */*;q=0.1"},g={credentials:"include"},w=[function(e,t){return"string"!=typeof e.url||Object(p.hasQueryArg)(e.url,"_locale")||(e.url=Object(p.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(p.hasQueryArg)(e.path,"_locale")||(e.path=Object(p.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,a=void 0===r?j:r;return v.has(a.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":a,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},O];var m=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(a.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;p=Object(n.a)({},y,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json");return window.fetch(t||r,Object(n.a)({},g,s,{body:f,headers:p})).then(function(e){if(e.status>=200&&e.status<300)return e;throw e}).then(function(e){return i?204===e.status?null:e.json?e.json():Promise.reject(e):e}).catch(function(e){if(!i)throw e;var t={code:"invalid_json",message:Object(o.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch(function(){throw t}).then(function(e){var t={code:"unknown_error",message:Object(o.__)("An unknown error occurred.")};throw e||t})})};function x(e){var t=[].concat(w,[m]);return function e(r){return function(n){var a=t[r];return r===t.length-1?a(n):a(n,e(r+1))}}(0)(e)}x.use=function(e){w.unshift(e)},x.setFetchHandler=function(e){m=e},x.createNonceMiddleware=u,x.createPreloadingMiddleware=s,x.createRootURLMiddleware=i,x.fetchAllMiddleware=O;t.default=x},21:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.d(t,"a",function(){return n})},22:function(e,t){!function(){e.exports=this.wp.url}()},41:function(e,t,r){"use strict";function n(e,t,r,n,a,o,u){try{var c=e[o](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise(function(a,o){var u=e.apply(t,r);function c(e){n(u,a,o,c,i,"next",e)}function i(e){n(u,a,o,c,i,"throw",e)}c(void 0)})}}r.d(t,"a",function(){return a})},8:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(15);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){Object(n.a)(e,t,r[t])})}return e}}}).default;
build/autop/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.autop=function(e){var r={};function n(t){if(r[t])return r[t].exports;var p=r[t]={i:t,l:!1,exports:{}};return e[t].call(p.exports,p,p.exports,n),p.l=!0,p.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=339)}({25:function(e,r,n){"use strict";var t=n(35);var p=n(34);function c(e,r){return Object(t.a)(e)||function(e,r){var n=[],t=!0,p=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done)&&(n.push(a.value),!r||n.length!==r);t=!0);}catch(e){p=!0,c=e}finally{try{t||null==i.return||i.return()}finally{if(p)throw c}}return n}(e,r)||Object(p.a)()}n.d(r,"a",function(){return c})},339:function(e,r,n){"use strict";n.r(r),n.d(r,"autop",function(){return a}),n.d(r,"removep",function(){return i});var t=n(25),p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a<n.length;a+=2)for(var i=0;i<c.length;i++){var l=c[i];if(-1!==n[a].indexOf(l)){n[a]=n[a].replace(new RegExp(l,"g"),r[l]),t=!0;break}}return t&&(e=n.join("")),e}function a(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var p=e.split("</pre>"),a=p.pop();e="";for(var i=0;i<p.length;i++){var l=p[i],o=l.indexOf("<pre");if(-1!==o){var s="<pre wp-pre-tag-"+i+"></pre>";n.push([s,l.substr(o)+"</pre>"]),e+=l.substr(0,o)+s}else e+=l}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+u+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach(function(r){e+="<p>"+r.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+u+"[^>]*>)\\s*</p>","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,r){return r?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+u+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return p.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+t+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),p.length&&(e=e.replace(/<wp-preserve>/g,function(){return p.shift()})),e):""}},34:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",function(){return t})},35:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",function(){return t})}});
1
+ this.wp=this.wp||{},this.wp.autop=function(e){var r={};function n(t){if(r[t])return r[t].exports;var p=r[t]={i:t,l:!1,exports:{}};return e[t].call(p.exports,p,p.exports,n),p.l=!0,p.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=341)}({25:function(e,r,n){"use strict";var t=n(34);var p=n(33);function c(e,r){return Object(t.a)(e)||function(e,r){var n=[],t=!0,p=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done)&&(n.push(a.value),!r||n.length!==r);t=!0);}catch(e){p=!0,c=e}finally{try{t||null==i.return||i.return()}finally{if(p)throw c}}return n}(e,r)||Object(p.a)()}n.d(r,"a",function(){return c})},33:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",function(){return t})},34:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",function(){return t})},341:function(e,r,n){"use strict";n.r(r),n.d(r,"autop",function(){return a}),n.d(r,"removep",function(){return i});var t=n(25),p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a<n.length;a+=2)for(var i=0;i<c.length;i++){var l=c[i];if(-1!==n[a].indexOf(l)){n[a]=n[a].replace(new RegExp(l,"g"),r[l]),t=!0;break}}return t&&(e=n.join("")),e}function a(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var p=e.split("</pre>"),a=p.pop();e="";for(var i=0;i<p.length;i++){var l=p[i],o=l.indexOf("<pre");if(-1!==o){var s="<pre wp-pre-tag-"+i+"></pre>";n.push([s,l.substr(o)+"</pre>"]),e+=l.substr(0,o)+s}else e+=l}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+u+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach(function(r){e+="<p>"+r.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+u+"[^>]*>)\\s*</p>","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")})).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,function(e,r){return r?e:"<br />\n"})).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+u+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach(function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,function(e){return p.push(e),"<wp-preserve>"})),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")})),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")})),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>.*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"})).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+t+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,function(e){return e.replace(/[\r\n]+/g,"")})),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),p.length&&(e=e.replace(/<wp-preserve>/g,function(){return p.shift()})),e):""}}});
build/blob/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.blob=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=338)}({338:function(e,n,t){"use strict";t.r(n),t.d(n,"createBlobURL",function(){return c}),t.d(n,"getBlobByURL",function(){return f}),t.d(n,"revokeBlobURL",function(){return l}),t.d(n,"isBlobURL",function(){return a});var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function c(e){var n=o(e);return i[n]=e,n}function f(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
1
+ this.wp=this.wp||{},this.wp.blob=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=340)}({340:function(e,n,t){"use strict";t.r(n),t.d(n,"createBlobURL",function(){return c}),t.d(n,"getBlobByURL",function(){return f}),t.d(n,"revokeBlobURL",function(){return l}),t.d(n,"isBlobURL",function(){return a});var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function c(e){var n=o(e);return i[n]=e,n}function f(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
build/block-editor/index.js ADDED
@@ -0,0 +1 @@
 
1
+ this.wp=this.wp||{},this.wp.blockEditor=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=211)}({0:function(t,e){!function(){t.exports=this.wp.element}()},1:function(t,e){!function(){t.exports=this.wp.i18n}()},10:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},11:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(29),i=n(3);function c(t,e){return!e||"object"!==Object(r.a)(e)&&"function"!=typeof e?Object(i.a)(t):e}},12:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}n.d(e,"a",function(){return i})},13:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",function(){return r})},14:function(t,e){!function(){t.exports=this.wp.blocks}()},15:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",function(){return r})},18:function(t,e,n){"use strict";var r=n(32);function i(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",function(){return i})},19:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",function(){return r})},2:function(t,e){!function(){t.exports=this.lodash}()},21:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},c=Object.keys(t);for(r=0;r<c.length;r++)n=c[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(r=0;r<c.length;r++)n=c[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}n.d(e,"a",function(){return r})},211:function(t,e,n){"use strict";n.r(e);var r={};n.d(r,"resetBlocks",function(){return M}),n.d(r,"receiveBlocks",function(){return x}),n.d(r,"updateBlockAttributes",function(){return K}),n.d(r,"updateBlock",function(){return N}),n.d(r,"selectBlock",function(){return D}),n.d(r,"selectPreviousBlock",function(){return U}),n.d(r,"selectNextBlock",function(){return V}),n.d(r,"startMultiSelect",function(){return G}),n.d(r,"stopMultiSelect",function(){return W}),n.d(r,"multiSelect",function(){return z}),n.d(r,"clearSelectedBlock",function(){return F}),n.d(r,"toggleSelection",function(){return H}),n.d(r,"replaceBlocks",function(){return Y}),n.d(r,"replaceBlock",function(){return X}),n.d(r,"moveBlocksDown",function(){return Z}),n.d(r,"moveBlocksUp",function(){return J}),n.d(r,"moveBlockToPosition",function(){return Q}),n.d(r,"insertBlock",function(){return $}),n.d(r,"insertBlocks",function(){return tt}),n.d(r,"showInsertionPoint",function(){return et}),n.d(r,"hideInsertionPoint",function(){return nt}),n.d(r,"setTemplateValidity",function(){return rt}),n.d(r,"synchronizeTemplate",function(){return it}),n.d(r,"mergeBlocks",function(){return ct}),n.d(r,"removeBlocks",function(){return ot}),n.d(r,"removeBlock",function(){return ut}),n.d(r,"toggleBlockMode",function(){return lt}),n.d(r,"startTyping",function(){return at}),n.d(r,"stopTyping",function(){return st}),n.d(r,"enterFormattedText",function(){return ft}),n.d(r,"exitFormattedText",function(){return dt}),n.d(r,"insertDefaultBlock",function(){return bt}),n.d(r,"updateBlockListSettings",function(){return Ot}),n.d(r,"updateSettings",function(){return pt}),n.d(r,"__unstableSaveReusableBlock",function(){return gt}),n.d(r,"__unstableMarkLastChangeAsPersistent",function(){return vt});var i={};n.d(i,"INSERTER_UTILITY_HIGH",function(){return yt}),n.d(i,"INSERTER_UTILITY_MEDIUM",function(){return St}),n.d(i,"INSERTER_UTILITY_LOW",function(){return kt}),n.d(i,"INSERTER_UTILITY_NONE",function(){return ht}),n.d(i,"getBlockDependantsCacheBust",function(){return It}),n.d(i,"getBlockName",function(){return _t}),n.d(i,"isBlockValid",function(){return Tt}),n.d(i,"getBlockAttributes",function(){return Bt}),n.d(i,"getBlock",function(){return Ct}),n.d(i,"__unstableGetBlockWithoutInnerBlocks",function(){return Lt}),n.d(i,"getBlocks",function(){return Pt}),n.d(i,"getClientIdsOfDescendants",function(){return Rt}),n.d(i,"getClientIdsWithDescendants",function(){return wt}),n.d(i,"getGlobalBlockCount",function(){return At}),n.d(i,"getBlocksByClientId",function(){return Mt}),n.d(i,"getBlockCount",function(){return xt}),n.d(i,"getBlockSelectionStart",function(){return Kt}),n.d(i,"getBlockSelectionEnd",function(){return Nt}),n.d(i,"getSelectedBlockCount",function(){return Dt}),n.d(i,"hasSelectedBlock",function(){return Ut}),n.d(i,"getSelectedBlockClientId",function(){return Vt}),n.d(i,"getSelectedBlock",function(){return Gt}),n.d(i,"getBlockRootClientId",function(){return Wt}),n.d(i,"getBlockHierarchyRootClientId",function(){return zt}),n.d(i,"getAdjacentBlockClientId",function(){return Ft}),n.d(i,"getPreviousBlockClientId",function(){return Ht}),n.d(i,"getNextBlockClientId",function(){return Yt}),n.d(i,"getSelectedBlocksInitialCaretPosition",function(){return Xt}),n.d(i,"getMultiSelectedBlockClientIds",function(){return qt}),n.d(i,"getMultiSelectedBlocks",function(){return Zt}),n.d(i,"getFirstMultiSelectedBlockClientId",function(){return Jt}),n.d(i,"getLastMultiSelectedBlockClientId",function(){return Qt}),n.d(i,"isFirstMultiSelectedBlock",function(){return te}),n.d(i,"isBlockMultiSelected",function(){return ee}),n.d(i,"isAncestorMultiSelected",function(){return ne}),n.d(i,"getMultiSelectedBlocksStartClientId",function(){return re}),n.d(i,"getMultiSelectedBlocksEndClientId",function(){return ie}),n.d(i,"getBlockOrder",function(){return ce}),n.d(i,"getBlockIndex",function(){return oe}),n.d(i,"isBlockSelected",function(){return ue}),n.d(i,"hasSelectedInnerBlock",function(){return le}),n.d(i,"isBlockWithinSelection",function(){return ae}),n.d(i,"hasMultiSelection",function(){return se}),n.d(i,"isMultiSelecting",function(){return fe}),n.d(i,"isSelectionEnabled",function(){return de}),n.d(i,"getBlockMode",function(){return be}),n.d(i,"isTyping",function(){return Oe}),n.d(i,"isCaretWithinFormattedText",function(){return pe}),n.d(i,"getBlockInsertionPoint",function(){return ge}),n.d(i,"isBlockInsertionPointVisible",function(){return ve}),n.d(i,"isValidTemplate",function(){return je}),n.d(i,"getTemplate",function(){return ye}),n.d(i,"getTemplateLock",function(){return Se}),n.d(i,"canInsertBlockType",function(){return he}),n.d(i,"getInserterItems",function(){return _e}),n.d(i,"hasInserterItems",function(){return Te}),n.d(i,"getBlockListSettings",function(){return Be}),n.d(i,"getSettings",function(){return Ce}),n.d(i,"isLastBlockChangePersistent",function(){return Le});var c=n(14),o=n(5),u=n(8),l=n(21),a=n(18),s=n(15),f=n(2),d=n(1),b={insertUsage:{}},O={alignWide:!1,colors:[{name:Object(d.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(d.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(d.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(d.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(d.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(d.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(d.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(d.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(d.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(d.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(d.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(d._x)("Small","font size name"),size:13,slug:"small"},{name:Object(d._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(d._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(d._x)("Large","font size name"),size:36,slug:"large"},{name:Object(d._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:Object(d.__)("Thumbnail")},{slug:"medium",label:Object(d.__)("Medium")},{slug:"large",label:Object(d.__)("Large")},{slug:"full",label:Object(d.__)("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null};function p(t,e,n){return[].concat(Object(a.a)(t.slice(0,n)),Object(a.a)(Object(f.castArray)(e)),Object(a.a)(t.slice(n)))}function g(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=Object(a.a)(t);return i.splice(e,r),p(i,t.slice(e,e+r),n)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.a)({},e,[]);return t.forEach(function(t){var r=t.clientId,i=t.innerBlocks;n[e].push(r),Object.assign(n,v(i,r))}),n}function j(t,e){for(var n={},r=Object(a.a)(t);r.length;){var i=r.shift(),c=i.innerBlocks,o=Object(l.a)(i,["innerBlocks"]);r.push.apply(r,Object(a.a)(c)),n[o.clientId]=e(o)}return n}function y(t){return j(t,function(t){return Object(f.omit)(t,"attributes")})}function S(t){return j(t,function(t){return t.attributes})}function k(t,e){return"UPDATE_BLOCK_ATTRIBUTES"===t.type&&void 0!==e&&"UPDATE_BLOCK_ATTRIBUTES"===e.type&&t.clientId===e.clientId&&function(t,e){return Object(f.isEqual)(Object(f.keys)(t),Object(f.keys)(e))}(t.attributes,e.attributes)}var h=Object(f.flow)(o.combineReducers,function(t){return function(e,n){if(e&&"REMOVE_BLOCKS"===n.type){for(var r=Object(a.a)(n.clientIds),i=0;i<r.length;i++)r.push.apply(r,Object(a.a)(e.order[r[i]]));n=Object(u.a)({},n,{clientIds:r})}return t(e,n)}},function(t){return function(e,n){if(e&&"RESET_BLOCKS"===n.type){var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(f.reduce)(e[n],function(n,r){return[].concat(Object(a.a)(n),[r],Object(a.a)(t(e,r)))},[])}(e.order);return Object(u.a)({},e,{byClientId:Object(u.a)({},Object(f.omit)(e.byClientId,r),y(n.blocks)),attributes:Object(u.a)({},Object(f.omit)(e.attributes,r),S(n.blocks)),order:Object(u.a)({},Object(f.omit)(e.order,r),v(n.blocks))})}return t(e,n)}},function(t){return function(e,n){if(e&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,i=n.updatedId;if(r===i)return e;(e=Object(u.a)({},e)).attributes=Object(f.mapValues)(e.attributes,function(t,n){return"core/block"===e.byClientId[n].name&&t.ref===r?Object(u.a)({},t,{ref:i}):t})}return t(e,n)}},function(t){var e,n=new Set(["RECEIVE_BLOCKS"]);return function(r,i){var c=t(r,i),o="MARK_LAST_CHANGE_AS_PERSISTENT"===i.type;return r!==c||o?n.has(i.type)?Object(u.a)({},c,{isPersistentChange:!1}):(c=Object(u.a)({},c,{isPersistentChange:o||!k(i,e)}),e=i,c):Object(u.a)({},c,{isPersistentChange:Object(f.get)(r,["isPersistentChange"],!0)})}})({byClientId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_BLOCKS":return y(e.blocks);case"RECEIVE_BLOCKS":return Object(u.a)({},t,y(e.blocks));case"UPDATE_BLOCK":if(!t[e.clientId])return t;var n=Object(f.omit)(e.updates,"attributes");return Object(f.isEmpty)(n)?t:Object(u.a)({},t,Object(s.a)({},e.clientId,Object(u.a)({},t[e.clientId],n)));case"INSERT_BLOCKS":return Object(u.a)({},t,y(e.blocks));case"REPLACE_BLOCKS":return e.blocks?Object(u.a)({},Object(f.omit)(t,e.clientIds),y(e.blocks)):t;case"REMOVE_BLOCKS":return Object(f.omit)(t,e.clientIds)}return t},attributes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_BLOCKS":return S(e.blocks);case"RECEIVE_BLOCKS":return Object(u.a)({},t,S(e.blocks));case"UPDATE_BLOCK":return t[e.clientId]&&e.updates.attributes?Object(u.a)({},t,Object(s.a)({},e.clientId,Object(u.a)({},t[e.clientId],e.updates.attributes))):t;case"UPDATE_BLOCK_ATTRIBUTES":if(!t[e.clientId])return t;var n=Object(f.reduce)(e.attributes,function(n,r,i){return r!==n[i]&&((n=function(t,e){return t===e?Object(u.a)({},t):e}(t[e.clientId],n))[i]=r),n},t[e.clientId]);return n===t[e.clientId]?t:Object(u.a)({},t,Object(s.a)({},e.clientId,n));case"INSERT_BLOCKS":return Object(u.a)({},t,S(e.blocks));case"REPLACE_BLOCKS":return e.blocks?Object(u.a)({},Object(f.omit)(t,e.clientIds),S(e.blocks)):t;case"REMOVE_BLOCKS":return Object(f.omit)(t,e.clientIds)}return t},order:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RESET_BLOCKS":return v(e.blocks);case"RECEIVE_BLOCKS":return Object(u.a)({},t,Object(f.omit)(v(e.blocks),""));case"INSERT_BLOCKS":var n=e.rootClientId,r=void 0===n?"":n,i=t[r]||[],c=v(e.blocks,r),o=e.index,l=void 0===o?i.length:o;return Object(u.a)({},t,c,Object(s.a)({},r,p(i,c[r],l)));case"MOVE_BLOCK_TO_POSITION":var d,b=e.fromRootClientId,O=void 0===b?"":b,j=e.toRootClientId,y=void 0===j?"":j,S=e.clientId,k=e.index,h=void 0===k?t[y].length:k;if(O===y){var E=t[y].indexOf(S);return Object(u.a)({},t,Object(s.a)({},y,g(t[y],E,h)))}return Object(u.a)({},t,(d={},Object(s.a)(d,O,Object(f.without)(t[O],S)),Object(s.a)(d,y,p(t[y],S,h)),d));case"MOVE_BLOCKS_UP":var m=e.clientIds,I=e.rootClientId,_=void 0===I?"":I,T=Object(f.first)(m),B=t[_];if(!B.length||T===Object(f.first)(B))return t;var C=B.indexOf(T);return Object(u.a)({},t,Object(s.a)({},_,g(B,C,C-1,m.length)));case"MOVE_BLOCKS_DOWN":var L=e.clientIds,P=e.rootClientId,R=void 0===P?"":P,w=Object(f.first)(L),A=Object(f.last)(L),M=t[R];if(!M.length||A===Object(f.last)(M))return t;var x=M.indexOf(w);return Object(u.a)({},t,Object(s.a)({},R,g(M,x,x+1,L.length)));case"REPLACE_BLOCKS":var K=e.clientIds;if(!e.blocks)return t;var N=v(e.blocks);return Object(f.flow)([function(t){return Object(f.omit)(t,K)},function(t){return Object(u.a)({},t,Object(f.omit)(N,""))},function(t){return Object(f.mapValues)(t,function(t){return Object(f.reduce)(t,function(t,e){return e===K[0]?[].concat(Object(a.a)(t),Object(a.a)(N[""])):(-1===K.indexOf(e)&&t.push(e),t)},[])})}])(t);case"REMOVE_BLOCKS":return Object(f.flow)([function(t){return Object(f.omit)(t,e.clientIds)},function(t){return Object(f.mapValues)(t,function(t){return f.without.apply(void 0,[t].concat(Object(a.a)(e.clientIds)))})}])(t)}return t}});var E=Object(o.combineReducers)({blocks:h,isTyping:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return t},isCaretWithinFormattedText:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return t},blockSelection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{start:null,end:null,isMultiSelecting:!1,isEnabled:!0,initialPosition:null},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CLEAR_SELECTED_BLOCK":return null!==t.start||null!==t.end||t.isMultiSelecting?Object(u.a)({},t,{start:null,end:null,isMultiSelecting:!1,initialPosition:null}):t;case"START_MULTI_SELECT":return t.isMultiSelecting?t:Object(u.a)({},t,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return t.isMultiSelecting?Object(u.a)({},t,{isMultiSelecting:!1,initialPosition:null}):t;case"MULTI_SELECT":return Object(u.a)({},t,{start:e.start,end:e.end,initialPosition:null});case"SELECT_BLOCK":return e.clientId===t.start&&e.clientId===t.end?t:Object(u.a)({},t,{start:e.clientId,end:e.clientId,initialPosition:e.initialPosition});case"INSERT_BLOCKS":return e.updateSelection?Object(u.a)({},t,{start:e.blocks[0].clientId,end:e.blocks[0].clientId,initialPosition:null,isMultiSelecting:!1}):t;case"REMOVE_BLOCKS":return e.clientIds&&e.clientIds.length&&-1!==e.clientIds.indexOf(t.start)?Object(u.a)({},t,{start:null,end:null,initialPosition:null,isMultiSelecting:!1}):t;case"REPLACE_BLOCKS":if(-1===e.clientIds.indexOf(t.start))return t;var n=Object(f.last)(e.blocks),r=n?n.clientId:null;return r===t.start&&r===t.end?t:Object(u.a)({},t,{start:r,end:r,initialPosition:null,isMultiSelecting:!1});case"TOGGLE_SELECTION":return Object(u.a)({},t,{isEnabled:e.isSelectionEnabled})}return t},blocksMode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===e.type){var n=e.clientId;return Object(u.a)({},t,Object(s.a)({},n,t[n]&&"html"===t[n]?"visual":"html"))}return t},blockListSettings:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(f.omit)(t,e.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=e.clientId;return e.settings?Object(f.isEqual)(t[n],e.settings)?t:Object(u.a)({},t,Object(s.a)({},n,e.settings)):t.hasOwnProperty(n)?Object(f.omit)(t,n):t}return t},insertionPoint:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SHOW_INSERTION_POINT":return{rootClientId:e.rootClientId,index:e.index};case"HIDE_INSERTION_POINT":return null}return t},template:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_TEMPLATE_VALIDITY":return Object(u.a)({},t,{isValid:e.isValid})}return t},settings:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_SETTINGS":return Object(u.a)({},t,e.settings)}return t},preferences:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return e.blocks.reduce(function(t,n){var r=n.name,i={name:n.name};return Object(c.isReusableBlock)(n)&&(i.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(u.a)({},t,{insertUsage:Object(u.a)({},t.insertUsage,Object(s.a)({},r,{time:e.time,count:t.insertUsage[r]?t.insertUsage[r].count+1:1,insert:i}))})},t)}return t}}),m=n(65),I=n.n(m),_=n(89),T=n.n(_),B=n(25),C=n(45);function L(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return{type:"SELECT",storeName:t,selectorName:e,args:r}}var P={SELECT:Object(o.createRegistryControl)(function(t){return function(e){var n,r=e.storeName,i=e.selectorName,c=e.args;return(n=t.select(r))[i].apply(n,Object(a.a)(c))}})},R=regeneratorRuntime.mark(U),w=regeneratorRuntime.mark(V),A=regeneratorRuntime.mark(ot);function M(t){return{type:"RESET_BLOCKS",blocks:t}}function x(t){return{type:"RECEIVE_BLOCKS",blocks:t}}function K(t,e){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:t,attributes:e}}function N(t,e){return{type:"UPDATE_BLOCK",clientId:t,updates:e}}function D(t){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,clientId:t}}function U(t){var e;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,L("core/block-editor","getPreviousBlockClientId",t);case 2:return e=n.sent,n.next=5,D(e,-1);case 5:case"end":return n.stop()}},R,this)}function V(t){var e;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,L("core/block-editor","getNextBlockClientId",t);case 2:return e=n.sent,n.next=5,D(e);case 5:case"end":return n.stop()}},w,this)}function G(){return{type:"START_MULTI_SELECT"}}function W(){return{type:"STOP_MULTI_SELECT"}}function z(t,e){return{type:"MULTI_SELECT",start:t,end:e}}function F(){return{type:"CLEAR_SELECTED_BLOCK"}}function H(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function Y(t,e){return{type:"REPLACE_BLOCKS",clientIds:Object(f.castArray)(t),blocks:Object(f.castArray)(e),time:Date.now()}}function X(t,e){return Y(t,e)}function q(t){return function(e,n){return{clientIds:Object(f.castArray)(e),type:t,rootClientId:n}}}var Z=q("MOVE_BLOCKS_DOWN"),J=q("MOVE_BLOCKS_UP");function Q(t,e,n,r){return{type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:e,toRootClientId:n,clientId:t,index:r}}function $(t,e,n){return tt([t],e,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function tt(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:"INSERT_BLOCKS",blocks:Object(f.castArray)(t),index:e,rootClientId:n,time:Date.now(),updateSelection:r}}function et(t,e){return{type:"SHOW_INSERTION_POINT",rootClientId:t,index:e}}function nt(){return{type:"HIDE_INSERTION_POINT"}}function rt(t){return{type:"SET_TEMPLATE_VALIDITY",isValid:t}}function it(){return{type:"SYNCHRONIZE_TEMPLATE"}}function ct(t,e){return{type:"MERGE_BLOCKS",blocks:[t,e]}}function ot(t){var e,n=arguments;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(e=!(n.length>1&&void 0!==n[1])||n[1],t=Object(f.castArray)(t),!e){r.next=5;break}return r.next=5,U(t[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:t};case 7:return r.next=9,L("core/block-editor","getBlockCount");case 9:if(0!==r.sent){r.next=13;break}return r.next=13,bt();case 13:case"end":return r.stop()}},A,this)}function ut(t,e){return ot([t],e)}function lt(t){return{type:"TOGGLE_BLOCK_MODE",clientId:t}}function at(){return{type:"START_TYPING"}}function st(){return{type:"STOP_TYPING"}}function ft(){return{type:"ENTER_FORMATTED_TEXT"}}function dt(){return{type:"EXIT_FORMATTED_TEXT"}}function bt(t,e,n){return $(Object(c.createBlock)(Object(c.getDefaultBlockName)(),t),n,e)}function Ot(t,e){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:t,settings:e}}function pt(t){return{type:"UPDATE_SETTINGS",settings:t}}function gt(t,e){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:t,updatedId:e}}function vt(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var jt=n(28),yt=3,St=2,kt=1,ht=0,Et=[],mt={},It=Object(jt.a)(function(){return[]},function(t,e){return Object(f.map)(ce(t,e),function(e){return Ct(t,e)})});function _t(t,e){var n=t.blocks.byClientId[e];return n?n.name:null}function Tt(t,e){var n=t.blocks.byClientId[e];return!!n&&n.isValid}var Bt=Object(jt.a)(function(t,e){var n=t.blocks.byClientId[e];if(!n)return null;var r=t.blocks.attributes[e],i=Object(c.getBlockType)(n.name);return i&&(r=Object(f.reduce)(i.attributes,function(e,n,i){return"meta"===n.source&&(e===r&&(e=Object(u.a)({},e)),e[i]=Pe(t,n.meta)),e},r)),r},function(t,e){return[t.blocks.byClientId[e],t.blocks.attributes[e],Pe(t)]}),Ct=Object(jt.a)(function(t,e){var n=t.blocks.byClientId[e];return n?Object(u.a)({},n,{attributes:Bt(t,e),innerBlocks:Pt(t,e)}):null},function(t,e){return[].concat(Object(a.a)(Bt.getDependants(t,e)),[It(t,e)])}),Lt=Object(jt.a)(function(t,e){var n=t.blocks.byClientId[e];return n?Object(u.a)({},n,{attributes:Bt(t,e)}):null},function(t,e){return[t.blocks.byClientId[e]].concat(Object(a.a)(Bt.getDependants(t,e)))}),Pt=Object(jt.a)(function(t,e){return Object(f.map)(ce(t,e),function(e){return Ct(t,e)})},function(t){return[t.blocks.byClientId,t.blocks.order,t.blocks.attributes]}),Rt=function t(e,n){return Object(f.flatMap)(n,function(n){var r=ce(e,n);return[].concat(Object(a.a)(r),Object(a.a)(t(e,r)))})},wt=Object(jt.a)(function(t){var e=ce(t);return[].concat(Object(a.a)(e),Object(a.a)(Rt(t,e)))},function(t){return[t.blocks.order]}),At=Object(jt.a)(function(t,e){var n=wt(t);return e?Object(f.reduce)(n,function(n,r){return t.blocks.byClientId[r].name===e?n+1:n},0):n.length},function(t){return[t.blocks.order,t.blocks.byClientId]}),Mt=Object(jt.a)(function(t,e){return Object(f.map)(Object(f.castArray)(e),function(e){return Ct(t,e)})},function(t){return[Pe(t),t.blocks.byClientId,t.blocks.order,t.blocks.attributes]});function xt(t,e){return ce(t,e).length}function Kt(t){return t.blockSelection.start}function Nt(t){return t.blockSelection.end}function Dt(t){var e=qt(t).length;return e||(t.blockSelection.start?1:0)}function Ut(t){var e=t.blockSelection,n=e.start,r=e.end;return!!n&&n===r}function Vt(t){var e=t.blockSelection,n=e.start,r=e.end;return n&&n===r&&t.blocks.byClientId[n]?n:null}function Gt(t){var e=Vt(t);return e?Ct(t,e):null}var Wt=Object(jt.a)(function(t,e){var n=t.blocks.order;for(var r in n)if(Object(f.includes)(n[r],e))return r;return null},function(t){return[t.blocks.order]}),zt=Object(jt.a)(function(t,e){for(var n=e,r=e;n;)n=Wt(t,r=n);return r},function(t){return[t.blocks.order]});function Ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===e&&(e=Vt(t)),void 0===e&&(e=n<0?Jt(t):Qt(t)),!e)return null;var r=Wt(t,e);if(null===r)return null;var i=t.blocks.order[r],c=i.indexOf(e)+1*n;return c<0?null:c===i.length?null:i[c]}function Ht(t,e){return Ft(t,e,-1)}function Yt(t,e){return Ft(t,e,1)}function Xt(t){var e=t.blockSelection,n=e.start;return n===e.end&&n?t.blockSelection.initialPosition:null}var qt=Object(jt.a)(function(t){var e=t.blockSelection,n=e.start,r=e.end;if(n===r)return[];var i=Wt(t,n);if(null===i)return[];var c=ce(t,i),o=c.indexOf(n),u=c.indexOf(r);return o>u?c.slice(u,o+1):c.slice(o,u+1)},function(t){return[t.blocks.order,t.blockSelection.start,t.blockSelection.end]}),Zt=Object(jt.a)(function(t){var e=qt(t);return e.length?e.map(function(e){return Ct(t,e)}):Et},function(t){return[].concat(Object(a.a)(qt.getDependants(t)),[t.blocks.byClientId,t.blocks.order,t.blocks.attributes,Pe(t)])});function Jt(t){return Object(f.first)(qt(t))||null}function Qt(t){return Object(f.last)(qt(t))||null}var $t=Object(jt.a)(function(t,e,n){for(var r=n;e!==r&&r;)r=Wt(t,r);return e===r},function(t){return[t.blocks.order]});function te(t,e){return Jt(t)===e}function ee(t,e){return-1!==qt(t).indexOf(e)}var ne=Object(jt.a)(function(t,e){for(var n=e,r=!1;n&&!r;)r=ee(t,n=Wt(t,n));return r},function(t){return[t.blocks.order,t.blockSelection.start,t.blockSelection.end]});function re(t){var e=t.blockSelection,n=e.start;return n===e.end?null:n||null}function ie(t){var e=t.blockSelection,n=e.start,r=e.end;return n===r?null:r||null}function ce(t,e){return t.blocks.order[e||""]||Et}function oe(t,e,n){return ce(t,n).indexOf(e)}function ue(t,e){var n=t.blockSelection,r=n.start;return r===n.end&&r===e}function le(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(f.some)(ce(t,e),function(e){return ue(t,e)||ee(t,e)||n&&le(t,e,n)})}function ae(t,e){if(!e)return!1;var n=qt(t),r=n.indexOf(e);return r>-1&&r<n.length-1}function se(t){var e=t.blockSelection;return e.start!==e.end}function fe(t){return t.blockSelection.isMultiSelecting}function de(t){return t.blockSelection.isEnabled}function be(t,e){return t.blocksMode[e]||"visual"}function Oe(t){return t.isTyping}function pe(t){return t.isCaretWithinFormattedText}function ge(t){var e,n,r=t.insertionPoint,i=t.blockSelection;if(null!==r)return r;var c=i.end;return n=c?oe(t,c,e=Wt(t,c)||void 0)+1:ce(t).length,{rootClientId:e,index:n}}function ve(t){return null!==t.insertionPoint}function je(t){return t.template.isValid}function ye(t){return t.settings.template}function Se(t,e){if(!e)return t.settings.templateLock;var n=Be(t,e);return n?n.templateLock:null}var ke=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(f.isBoolean)(t)?t:Object(f.isArray)(t)?Object(f.includes)(t,e):n},i=Object(c.getBlockType)(e);if(!i)return!1;if(!r(Ce(t).allowedBlockTypes,e,!0))return!1;if(!!Se(t,n))return!1;var o=Be(t,n),u=r(Object(f.get)(o,["allowedBlocks"]),e),l=r(i.parent,_t(t,n));return null!==u&&null!==l?u||l:null!==u?u:null===l||l},he=Object(jt.a)(ke,function(t,e,n){return[t.blockListSettings[n],t.blocks.byClientId[n],t.settings.allowedBlockTypes,t.settings.templateLock]});function Ee(t,e){return t.preferences.insertUsage[e]||null}var me=function(t,e,n){return!!Object(c.hasBlockSupport)(e,"inserter",!0)&&ke(t,e.name,n)},Ie=function(t,e,n){if(!ke(t,"core/block",n))return!1;var r=_t(t,e.clientId);return!!r&&(!!Object(c.getBlockType)(r)&&(!!ke(t,r,n)&&!$t(t,e.clientId,n)))},_e=Object(jt.a)(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(t,e,n){return n?yt:e>0?St:"common"===t?kt:ht},r=function(t,e){if(!t)return e;var n=Date.now()-t;switch(!0){case n<36e5:return 4*e;case n<864e5:return 2*e;case n<6048e5:return e/2;default:return e/4}},i=Object(c.getBlockTypes)().filter(function(n){return me(t,n,e)}).map(function(e){var i=e.name,o=!1;Object(c.hasBlockSupport)(e.name,"multiple",!0)||(o=Object(f.some)(Mt(t,wt(t)),{name:e.name}));var u=Object(f.isArray)(e.parent),l=Ee(t,i)||{},a=l.time,s=l.count,d=void 0===s?0:s;return{id:i,name:e.name,initialAttributes:{},title:e.title,icon:e.icon,category:e.category,keywords:e.keywords,isDisabled:o,utility:n(e.category,d,u),frecency:r(a,d),hasChildBlocksWithInserterSupport:Object(c.hasChildBlocksWithInserterSupport)(e.name)}}),o=Re(t).filter(function(n){return Ie(t,n,e)}).map(function(e){var i="core/block/".concat(e.id),o=_t(t,e.clientId),u=Object(c.getBlockType)(o),l=Ee(t,i)||{},a=l.time,s=l.count,f=void 0===s?0:s,d=n("reusable",f,!1),b=r(a,f);return{id:i,name:"core/block",initialAttributes:{ref:e.id},title:e.title,icon:u.icon,category:"reusable",keywords:[],isDisabled:!1,utility:d,frecency:b}});return Object(f.orderBy)([].concat(Object(a.a)(i),Object(a.a)(o)),["utility","frecency"],["desc","desc"])},function(t,e){return[t.blockListSettings[e],t.blocks.byClientId,t.blocks.order,t.preferences.insertUsage,t.settings.allowedBlockTypes,t.settings.templateLock,Re(t),Object(c.getBlockTypes)()]}),Te=Object(jt.a)(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!Object(f.some)(Object(c.getBlockTypes)(),function(n){return me(t,n,e)})||Object(f.some)(Re(t),function(n){return Ie(t,n,e)})},function(t,e){return[t.blockListSettings[e],t.blocks.byClientId,t.settings.allowedBlockTypes,t.settings.templateLock,Re(t),Object(c.getBlockTypes)()]});function Be(t,e){return t.blockListSettings[e]}function Ce(t){return t.settings}function Le(t){return t.blocks.isPersistentChange}function Pe(t,e){return void 0===e?Object(f.get)(t,["settings","__experimentalMetaSource","value"],mt):Object(f.get)(t,["settings","__experimentalMetaSource","value",e])}function Re(t){return Object(f.get)(t,["settings","__experimentalReusableBlocks"],Et)}var we={MERGE_BLOCKS:function(t,e){var n=e.dispatch,r=e.getState(),i=Object(B.a)(t.blocks,2),o=i[0],l=i[1],s=Ct(r,o),f=Object(c.getBlockType)(s.name);if(f.merge){var d=Ct(r,l),b=s.name===d.name?[d]:Object(c.switchToBlockType)(d,s.name);if(b&&b.length){var O=f.merge(s.attributes,b[0].attributes);n(D(s.clientId,-1)),n(Y([s.clientId,d.clientId],[Object(u.a)({},s,{attributes:Object(u.a)({},s.attributes,O)})].concat(Object(a.a)(b.slice(1)))))}}else n(D(s.clientId))},RESET_BLOCKS:[function(t,e){var n=e.getState(),r=ye(n),i=Se(n),o=!r||"all"!==i||Object(c.doBlocksMatchTemplate)(t.blocks,r);if(o!==je(n))return rt(o)}],REPLACE_BLOCKS:[function(t,e){if(!xt(e.getState()))return bt()}],MULTI_SELECT:function(t,e){var n=Dt((0,e.getState)());Object(C.speak)(Object(d.sprintf)(Object(d._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(t,e){var n=(0,e.getState)(),r=Pt(n),i=ye(n);return M(Object(c.synchronizeBlocksWithTemplate)(r,i))}};var Ae=function(t){var e,n=[I()(we),T.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:t.getState,dispatch:function(){return r.apply(void 0,arguments)}};return e=n.map(function(t){return t(i)}),r=f.flowRight.apply(void 0,Object(a.a)(e))(t.dispatch),t.dispatch=r,t},Me=Object(o.registerStore)("core/block-editor",{reducer:E,selectors:i,actions:r,controls:P,persist:["preferences"]});Ae(Me);var xe=n(10),Ke=n(9),Ne=n(11),De=n(13),Ue=n(12),Ve=n(19),Ge=n(0),We=n(4),ze=n(7),Fe=Object(ze.createHigherOrderComponent)(function(t){return function(e){return Object(Ge.createElement)(o.RegistryConsumer,null,function(n){return Object(Ge.createElement)(t,Object(Ve.a)({},e,{registry:n}))})}},"withRegistry"),He=function(t){function e(){return Object(xe.a)(this,e),Object(Ne.a)(this,Object(De.a)(e).apply(this,arguments))}return Object(Ue.a)(e,t),Object(Ke.a)(e,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.settings,r=e.updateSettings,i=e.value,c=e.resetBlocks,o=e.registry;n!==t.settings&&r(n),o!==t.registry&&this.attachChangeObserver(o),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:i!==t.value&&(this.isSyncingIncomingValue=!0,c(i))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(t){var e=this;this.unsubscribe&&this.unsubscribe();var n=t.select("core/block-editor"),r=n.getBlocks,i=n.isLastBlockChangePersistent,c=r(),o=i();this.unsubscribe=t.subscribe(function(){var t=e.props,n=t.onChange,u=t.onInput,l=r(),a=i();if(l!==c&&e.isSyncingIncomingValue)return e.isSyncingIncomingValue=!1,c=l,void(o=a);(l!==c||a&&!o)&&(c=l,o=a,e.isSyncingOutcomingValue=!0,o?n(c):u(c))})}},{key:"render",value:function(){var t=this.props.children;return Object(Ge.createElement)(We.SlotFillProvider,null,Object(Ge.createElement)(We.DropZoneProvider,null,t))}}]),e}(Ge.Component),Ye=Object(ze.compose)([Object(o.withDispatch)(function(t){var e=t("core/block-editor");return{updateSettings:e.updateSettings,resetBlocks:e.resetBlocks}}),Fe])(He);n.d(e,"BlockEditorProvider",function(){return Ye}),n.d(e,"SETTINGS_DEFAULTS",function(){return O})},25:function(t,e,n){"use strict";var r=n(34);var i=n(33);function c(t,e){return Object(r.a)(t)||function(t,e){var n=[],r=!0,i=!1,c=void 0;try{for(var o,u=t[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,c=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw c}}return n}(t,e)||Object(i.a)()}n.d(e,"a",function(){return c})},28:function(t,e,n){"use strict";var r,i;function c(t){return[t]}function o(t){return!!t&&"object"==typeof t}function u(){var t={clear:function(){t.head=null}};return t}function l(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,e.a=function(t,e){var n,a;function s(){n=i?new WeakMap:u()}function f(){var n,r,i,c,o,u=arguments.length;for(c=new Array(u),i=0;i<u;i++)c[i]=arguments[i];for(o=e.apply(null,c),(n=a(o)).isUniqueByDependants||(n.lastDependants&&!l(o,n.lastDependants,0)&&n.clear(),n.lastDependants=o),r=n.head;r;){if(l(r.args,c,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:t.apply(null,c)},c[0]=null,r.args=c,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return e||(e=c),a=i?function(t){var e,i,c,l,a=n,s=!0;for(e=0;e<t.length;e++){if(!o(i=t[e])){s=!1;break}a.has(i)?a=a.get(i):(c=new WeakMap,a.set(i,c),a=c)}return a.has(r)||((l=u()).isUniqueByDependants=s,a.set(r,l)),a.get(r)}:function(){return n},f.getDependants=e,f.clear=s,s(),f}},29:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}n.d(e,"a",function(){return i})},3:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",function(){return r})},32:function(t,e,n){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}n.d(e,"a",function(){return r})},33:function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(e,"a",function(){return r})},34:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",function(){return r})},4:function(t,e){!function(){t.exports=this.wp.components}()},45:function(t,e){!function(){t.exports=this.wp.a11y}()},5:function(t,e){!function(){t.exports=this.wp.data}()},65:function(t,e,n){t.exports=function(){"use strict";return function(t){var e={};return function t(e,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)t(e,n[r]);else for(r in n)e[r]=(e[r]||[]).concat(n[r])}(e,t),function(t){return function(n){return function(r){var i,c,o=e[r.type],u=n(r);if(o)for(i=0;i<o.length;i++)(c=o[i](r,t))&&t.dispatch(c);return u}}}}}()},7:function(t,e){!function(){t.exports=this.wp.compose}()},8:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(15);function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){Object(r.a)(t,e,n[e])})}return t}},89:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.dispatch;return function(t){return function(n){return Array.isArray(n)?n.filter(Boolean).map(e):t(n)}}}},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return i})}});
build/block-library/index.js CHANGED
@@ -1,4 +1,4 @@
1
- this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},11:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(30),o=n(3);function a(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},119:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[c]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},12:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",function(){return o})},120:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u<s;++u){var b,m,d,h,p=e[u].replace(i,"%20"),g=p.indexOf(n);g>=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},121:function(e,t,n){"use strict";t.decode=t.parse=n(120),t.encode=t.stringify=n(119)},122:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},123:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},124:function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,m=38,d=700,h=72,p=128,g="-",O=/^xn--/,j=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,k=Math.floor,w=String.fromCharCode;function C(e){throw new RangeError(v[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function _(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(f,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function S(e){return E(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function T(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:s}function N(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?k(e/d):e>>1,e+=k(e/t);e>y*b>>1;r+=s)e=k(e/y);return k(r+(y+1)*e/(e+m))}function B(e){var t,n,r,o,a,c,i,m,d,O,j=[],f=e.length,v=0,y=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&C("not-basic"),j.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<f;){for(a=v,c=1,i=s;o>=f&&C("invalid-input"),((m=T(e.charCodeAt(o++)))>=s||m>k((l-v)/c))&&C("overflow"),v+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>k(l/(O=s-d))&&C("overflow"),c*=O;w=R(v-a,t=j.length+1,0==a),k(v/t)>l-y&&C("overflow"),y+=k(v/t),v%=t,j.splice(v++,0,y)}return S(j)}function A(e){var t,n,r,o,a,c,i,m,d,O,j,f,v,y,E,_=[];for(f=(e=x(e)).length,t=p,n=0,a=h,c=0;c<f;++c)(j=e[c])<128&&_.push(w(j));for(r=o=_.length,o&&_.push(g);r<f;){for(i=l,c=0;c<f;++c)(j=e[c])>=t&&j<i&&(i=j);for(i-t>k((l-n)/(v=r+1))&&C("overflow"),n+=(i-t)*v,t=i,c=0;c<f;++c)if((j=e[c])<t&&++n>l&&C("overflow"),j==t){for(m=n,d=s;!(m<(O=d<=a?u:d>=a+b?b:d-a));d+=s)E=m-O,y=s-O,_.push(w(N(O+E%y,0))),m=k(E/y);_.push(w(N(m,0))),a=R(n,v,r==o),n=0,++r}++n,++t}return _.join("")}i={version:"1.4.1",ucs2:{decode:x,encode:S},decode:B,encode:A,toASCII:function(e){return _(e,function(e){return j.test(e)?"xn--"+A(e):e})},toUnicode:function(e){return _(e,function(e){return O.test(e)?B(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(123)(e),n(55))},13:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return r})},14:function(e,t){!function(){e.exports=this.wp.blocks}()},15:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},16:function(e,t,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -9,7 +9,7 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},17:function(e,t){!function(){e.exports=this.wp.keycodes}()},18:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",function(){return r})},19:function(e,t,n){"use strict";var r=n(32);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return o})},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.richText}()},21:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},217:function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"name",function(){return pe}),n.d(r,"settings",function(){return ge});var o={};n.d(o,"name",function(){return et}),n.d(o,"settings",function(){return at});var a={};n.d(a,"getLevelFromHeadingNodeName",function(){return lt}),n.d(a,"name",function(){return mt}),n.d(a,"settings",function(){return dt});var c={};n.d(c,"name",function(){return gt}),n.d(c,"settings",function(){return Ot});var i={};n.d(i,"name",function(){return Tt}),n.d(i,"settings",function(){return Rt});var l={};n.d(l,"name",function(){return Bt}),n.d(l,"settings",function(){return At});var s={};n.d(s,"name",function(){return zt}),n.d(s,"settings",function(){return Ht});var u={};n.d(u,"name",function(){return Gt}),n.d(u,"settings",function(){return Kt});var b={};n.d(b,"name",function(){return en}),n.d(b,"settings",function(){return tn});var m={};n.d(m,"name",function(){return on}),n.d(m,"settings",function(){return an});var d={};n.d(d,"name",function(){return cn}),n.d(d,"settings",function(){return ln});var h={};n.d(h,"name",function(){return mn}),n.d(h,"settings",function(){return dn});var p={};n.d(p,"name",function(){return hn}),n.d(p,"settings",function(){return pn});var g={};n.d(g,"name",function(){return jn}),n.d(g,"settings",function(){return vn});var O={};n.d(O,"name",function(){return Pn}),n.d(O,"settings",function(){return In}),n.d(O,"common",function(){return Ln}),n.d(O,"others",function(){return Mn});var j={};n.d(j,"name",function(){return Vn}),n.d(j,"settings",function(){return Un});var f={};n.d(f,"name",function(){return qn}),n.d(f,"settings",function(){return Kn});var v={};n.d(v,"name",function(){return nr}),n.d(v,"settings",function(){return or});var y={};n.d(y,"name",function(){return cr}),n.d(y,"settings",function(){return ir});var k={};n.d(k,"name",function(){return pr}),n.d(k,"settings",function(){return gr});var w={};n.d(w,"name",function(){return vr}),n.d(w,"settings",function(){return yr});var C={};n.d(C,"name",function(){return wr}),n.d(C,"settings",function(){return Cr});var E={};n.d(E,"name",function(){return _r}),n.d(E,"settings",function(){return xr});var _={};n.d(_,"name",function(){return Sr}),n.d(_,"settings",function(){return Tr});var x={};n.d(x,"name",function(){return Nr}),n.d(x,"settings",function(){return Rr});var S={};n.d(S,"name",function(){return Lr}),n.d(S,"settings",function(){return Mr});var T={};n.d(T,"name",function(){return Ur}),n.d(T,"settings",function(){return Wr});var N={};n.d(N,"name",function(){return qr}),n.d(N,"settings",function(){return Kr});var R={};n.d(R,"name",function(){return $r}),n.d(R,"settings",function(){return Qr});var B={};n.d(B,"name",function(){return Yr}),n.d(B,"settings",function(){return Zr});var A={};n.d(A,"name",function(){return Xr}),n.d(A,"settings",function(){return eo});var P={};n.d(P,"name",function(){return to}),n.d(P,"settings",function(){return no});var I={};n.d(I,"name",function(){return ao}),n.d(I,"settings",function(){return co});var L={};n.d(L,"name",function(){return po}),n.d(L,"settings",function(){return go});var M={};n.d(M,"name",function(){return Oo}),n.d(M,"settings",function(){return jo});var z={};n.d(z,"name",function(){return fo}),n.d(z,"settings",function(){return vo});var H={};n.d(H,"name",function(){return yo}),n.d(H,"settings",function(){return ko});var D={};n.d(D,"name",function(){return So}),n.d(D,"settings",function(){return To});var F={};n.d(F,"name",function(){return Bo}),n.d(F,"settings",function(){return Ao});var V={};n.d(V,"name",function(){return Lo}),n.d(V,"settings",function(){return Mo});var U=n(19),W=(n(82),n(14)),G=n(15),q=n(8),K=n(0),$=n(16),Q=n.n($),Y=n(2),Z=n(1),J=n(6),X=n(4),ee=n(18),te=n(10),ne=n(9),re=n(11),oe=n(13),ae=n(12),ce=n(3),ie=n(7),le=n(5),se=window.getComputedStyle,ue=Object(X.withFallbackStyles)(function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,a=n.fontSize,c=n.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?se(i):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:a||c||!l?void 0:parseInt(l.fontSize)||void 0}}),be=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onReplace=e.onReplace.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleDropCap=e.toggleDropCap.bind(Object(ce.a)(Object(ce.a)(e))),e.splitBlock=e.splitBlock.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&"core/paragraph"===e.name?Object(q.a)({},e,{attributes:Object(q.a)({},n,e.attributes)}):e}))}},{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getDropCapHelp",value:function(e){return e?Object(Z.__)("Showing large initial letter."):Object(Z.__)("Toggle to show a large initial letter.")}},{key:"splitBlock",value:function(e,t){for(var n=this.props,r=n.attributes,o=n.insertBlocksAfter,a=n.setAttributes,c=n.onReplace,i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];null!==t&&l.push(Object(W.createBlock)("core/paragraph",{content:t})),l.length&&o&&o(l);var u=r.content;null===e?c([]):u!==e&&a({content:e})}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.setAttributes,o=t.mergeBlocks,a=t.onReplace,c=t.className,i=t.backgroundColor,l=t.textColor,s=t.setBackgroundColor,u=t.setTextColor,b=t.fallbackBackgroundColor,m=t.fallbackTextColor,d=t.fallbackFontSize,h=t.fontSize,p=t.setFontSize,g=t.isRTL,O=n.align,j=n.content,f=n.dropCap,v=n.placeholder,y=n.direction;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.AlignmentToolbar,{value:O,onChange:function(e){r({align:e})}}),g&&Object(K.createElement)(X.Toolbar,{controls:[{icon:"editor-ltr",title:Object(Z._x)("Left to right","editor button"),isActive:"ltr"===y,onClick:function(){r({direction:"ltr"===y?void 0:"ltr"})}}]})),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Text Settings"),className:"blocks-font-size"},Object(K.createElement)(J.FontSizePicker,{fallbackFontSize:d,value:h.size,onChange:p}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Drop Cap"),checked:!!f,onChange:this.toggleDropCap,help:this.getDropCapHelp})),Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:i.color,onChange:s,label:Object(Z.__)("Background Color")},{value:l.color,onChange:u,label:Object(Z.__)("Text Color")}]},Object(K.createElement)(J.ContrastChecker,Object(ee.a)({textColor:l.color,backgroundColor:i.color,fallbackTextColor:m,fallbackBackgroundColor:b},{fontSize:h.size})))),Object(K.createElement)(J.RichText,{identifier:"content",tagName:"p",className:Q()("wp-block-paragraph",c,(e={"has-text-color":l.color,"has-background":i.color,"has-drop-cap":f},Object(G.a)(e,i.class,i.class),Object(G.a)(e,l.class,l.class),Object(G.a)(e,h.class,h.class),e)),style:{backgroundColor:i.color,color:l.color,fontSize:h.size?h.size+"px":void 0,textAlign:O,direction:y},value:j,onChange:function(e){r({content:e})},unstableOnSplit:this.splitBlock,onMerge:o,onReplace:this.onReplace,onRemove:function(){return a([])},"aria-label":j?Object(Z.__)("Paragraph block"):Object(Z.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:v||Object(Z.__)("Start writing or type / to choose a block")}))}}]),t}(K.Component),me=Object(ie.compose)([Object(J.withColors)("backgroundColor",{textColor:"color"}),Object(J.withFontSizes)("fontSize"),ue,Object(le.withSelect)(function(e){return{isRTL:(0,e("core/editor").getEditorSettings)().isRTL}})])(be),de={className:!1},he={content:{type:"string",source:"html",selector:"p",default:""},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},pe="core/paragraph",ge={title:Object(Z.__)("Paragraph"),description:Object(Z.__)("Start with the building block of all narrative."),icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"})),category:"common",keywords:[Object(Z.__)("text")],supports:de,attributes:he,transforms:{from:[{type:"raw",priority:20,selector:"p",schema:{p:{children:Object(W.getPhrasingContentSchema)()}}}]},deprecated:[{supports:de,attributes:Object(q.a)({},he,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object(J.getColorClassName)("color",l),h=Object(J.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=Q()((t={},Object(G.a)(t,"align".concat(r),r),Object(G.a)(t,"has-background",i||s),Object(G.a)(t,"has-drop-cap",c),Object(G.a)(t,p,p),Object(G.a)(t,d,d),Object(G.a)(t,h,h),t)),O={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object(K.createElement)(J.RichText.Content,{tagName:"p",style:O,className:g||void 0,value:a})}},{supports:de,attributes:Object(Y.omit)(Object(q.a)({},he,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=Q()((t={},Object(G.a)(t,"align".concat(r),r),Object(G.a)(t,"has-background",i),Object(G.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object(K.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(Y.omit)(Object(q.a)({},e,{customFontSize:Object(Y.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}),["fontSize","textColor","backgroundColor"])}},{supports:de,attributes:Object(q.a)({},he,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object(K.createElement)(K.RawHTML,null,t.content)},migrate:function(e){return e}}],merge:function(e,t){return{content:e.content+t.content}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:me,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(J.getColorClassName)("color",i),h=Object(J.getColorClassName)("background-color",c),p=Object(J.getFontSizeClass)(u),g=Q()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(G.a)(t,p,p),Object(G.a)(t,d,d),Object(G.a)(t,h,h),t)),O={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object(K.createElement)(J.RichText.Content,{tagName:"p",style:O,className:g||void 0,value:o,dir:m})}},Oe=n(31),je=n(25),fe=n(22),ve=n(36),ye=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),ke=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),we=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object(K.createElement)(X.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Ce=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),Ee={foreground:"#1da1f2",src:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},_e={foreground:"#ff0000",src:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},xe={foreground:"#3b5998",src:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Se=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),Te={foreground:"#0073AA",src:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},Ne={foreground:"#1db954",src:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},Re=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Be={foreground:"#1ab7ea",src:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},Ae=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Pe={foreground:"#35465c",src:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ie=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(K.createElement)(X.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(K.createElement)(X.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),Le=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Ee,keywords:["tweet"],description:Object(Z.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:_e,keywords:[Object(Z.__)("music"),Object(Z.__)("video")],description:Object(Z.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:xe,description:Object(Z.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Se,keywords:[Object(Z.__)("image")],description:Object(Z.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Te,keywords:[Object(Z.__)("post"),Object(Z.__)("blog")],responsive:!1,description:Object(Z.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:ke,keywords:[Object(Z.__)("music"),Object(Z.__)("audio")],description:Object(Z.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:Ne,keywords:[Object(Z.__)("music"),Object(Z.__)("audio")],description:Object(Z.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Re,keywords:[Object(Z.__)("image")],description:Object(Z.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Be,keywords:[Object(Z.__)("video")],description:Object(Z.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],Me=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Ce,description:Object(Z.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:ye,description:Object(Z.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Ce,description:Object(Z.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:ye,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(W.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(Z.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Ce,description:Object(Z.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Ce,description:Object(Z.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:we,description:Object(Z.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:ye,description:Object(Z.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:ye,description:Object(Z.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:ye,description:Object(Z.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:ke,keywords:[Object(Z.__)("music"),Object(Z.__)("audio")],description:Object(Z.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:ye,description:Object(Z.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:Ae,description:Object(Z.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:ke,description:Object(Z.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Ce,description:Object(Z.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:ye,description:Object(Z.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:ye,description:Object(Z.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:we,description:Object(Z.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:ke,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:ye,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(W.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(Z.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Ce,description:Object(Z.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:Pe,description:Object(Z.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Ce,keywords:[Object(Z.__)("video")],description:Object(Z.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Ce,description:Object(Z.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ie,keywords:[Object(Z.__)("ebook")],responsive:!1,description:Object(Z.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],ze=["facebook.com","smugmug.com"],He=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],De=n(63),Fe=n.n(De),Ve=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},Ue=function(e){return Object(Y.includes)(e,'class="wp-embedded-content" data-secret')},We=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=[].concat(Object(U.a)(Le),Object(U.a)(Me)),n=0;n<t.length;n++){var r=t[n];if(Ve(e,r.patterns))return r.name}return"core/embed"}(o);if("core-embed/wordpress"!==r&&"core/embed"!==a&&r!==a)return Object(W.createBlock)(a,{url:o});if(n){var c=n.html;if(Ue(c)&&"core-embed/wordpress"!==r)return Object(W.createBlock)("core-embed/wordpress",Object(q.a)({url:o},t))}}};function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o<He.length;o++){r[He[o].className]=!1}return Fe()(t,r)}var a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;var c=a.body.querySelector("iframe");if(c&&c.height&&c.width)for(var i=(c.width/c.height).toFixed(2),l=0;l<He.length;l++){var s,u=He[l];if(i>=u.ratio)return Fe()(t,(s={},Object(G.a)(s,u.className,n),Object(G.a)(s,"wp-has-aspect-ratio",n),s))}return t}var qe=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(K.createElement)(X.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var Ke=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(ce.a)(Object(ce.a)(e))),e.calculateSize=e.calculateSize.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=Y.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=function(e,t){var n=t.clientWidth,r=e.width>n,o=e.height/e.width;return{width:r?n:e.width,height:r?n*o:e.height}}(this.image,this.container),t=e.width,n=e.height;this.setState({width:t,height:n})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object(K.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(K.Component),$e=Object(ie.withGlobalEvents)({resize:"calculateSize"})(Ke),Qe=["image"],Ye=function(e){var t=Object(Y.pick)(e,["alt","id","link","caption"]);return t.url=Object(Y.get)(e,["sizes","large","url"])||Object(Y.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ze=function(e,t){return!e&&Object(Oe.isBlobURL)(t)},Je=function(e){function t(e){var n,r=e.attributes;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(ce.a)(Object(ce.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(ce.a)(Object(ce.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(ce.a)(Object(ce.a)(n))),n.onImageClick=n.onImageClick.bind(Object(ce.a)(Object(ce.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(ce.a)(Object(ce.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(ce.a)(Object(ce.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(ce.a)(Object(ce.a)(n))),n.updateWidth=n.updateWidth.bind(Object(ce.a)(Object(ce.a)(n))),n.updateHeight=n.updateHeight.bind(Object(ce.a)(Object(ce.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(ce.a)(Object(ce.a)(n))),n.getFilename=n.getFilename.bind(Object(ce.a)(Object(ce.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.onUploadError=n.onUploadError.bind(Object(ce.a)(Object(ce.a)(n))),n.onImageError=n.onImageError.bind(Object(ce.a)(Object(ce.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(Ze(a,i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(J.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0];r(Ye(t))},allowedTypes:Qe,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;Ze(n,o)&&!Ze(c,l)&&Object(Oe.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(q.a)({},Ye(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=We({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(q.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(fe.getPath)(e);if(t)return Object(Y.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(Z.__)("None")},{value:"media",label:Object(Z.__)("Media File")},{value:"attachment",label:Object(Z.__)("Attachment Page")},{value:"custom",label:Object(Z.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(Y.compact)(Object(Y.map)(t,function(e){var t=e.name,r=e.slug,o=Object(Y.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,c=r.isLargeViewport,i=r.isSelected,l=r.className,s=r.maxWidth,u=r.noticeUI,b=r.toggleSelection,m=r.isRTL,d=o.url,h=o.alt,p=o.caption,g=o.align,O=o.id,j=o.href,f=o.rel,v=o.linkClass,y=o.linkDestination,k=o.width,w=o.height,C=o.linkTarget,E=function(e,t){return t&&!e&&!Object(Oe.isBlobURL)(t)}(O,d);d&&(e=E?Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(Z.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object(K.createElement)(J.MediaUploadCheck,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(J.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:Qe,value:O,render:function(e){var t=e.open;return Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit image"),icon:"edit",onClick:t})}}))));var _=Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.BlockAlignmentToolbar,{value:g,onChange:this.updateAlignment}),e);if(n||!d){var x=E?d:void 0;return Object(K.createElement)(K.Fragment,null,_,Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:qe}),className:l,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:u,onError:this.onUploadError,accept:"image/*",allowedTypes:Qe,value:{id:O,src:x}}))}var S=Q()(l,{"is-transient":Object(Oe.isBlobURL)(d),"is-resized":!!k||!!w,"is-focused":i}),T=-1===["wide","full"].indexOf(g)&&c,N="custom"!==y,R=this.getImageSizeOptions(),B=function(e,n){return Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Image Settings")},Object(K.createElement)(X.TextareaControl,{label:Object(Z.__)("Alt Text (Alternative Text)"),value:h,onChange:t.updateAlt,help:Object(Z.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(Y.isEmpty)(R)&&Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Image Size"),value:d,options:R,onChange:t.updateImageURL}),T&&Object(K.createElement)("div",{className:"block-library-image__dimensions"},Object(K.createElement)("p",{className:"block-library-image__dimensions__row"},Object(Z.__)("Image Dimensions")),Object(K.createElement)("div",{className:"block-library-image__dimensions__row"},Object(K.createElement)(X.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(Z.__)("Width"),value:void 0!==k?k:e,min:1,onChange:t.updateWidth}),Object(K.createElement)(X.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(Z.__)("Height"),value:void 0!==w?w:n,min:1,onChange:t.updateHeight})),Object(K.createElement)("div",{className:"block-library-image__dimensions__row"},Object(K.createElement)(X.ButtonGroup,{"aria-label":Object(Z.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),c=k===o&&w===a;return Object(K.createElement)(X.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:t.updateDimensions(o,a)},r,"%")})),Object(K.createElement)(X.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(Z.__)("Reset"))))),Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Link Settings")},Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Link To"),value:y,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==y&&Object(K.createElement)(K.Fragment,null,Object(K.createElement)(X.TextControl,{label:Object(Z.__)("Link URL"),value:j||"",onChange:t.onSetCustomHref,placeholder:N?void 0:"https://",readOnly:N}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===C}),Object(K.createElement)(X.TextControl,{label:Object(Z.__)("Link CSS Class"),value:v||"",onChange:t.onSetLinkClass}),Object(K.createElement)(X.TextControl,{label:Object(Z.__)("Link Rel"),value:f||"",onChange:t.onSetLinkRel}))))};return Object(K.createElement)(K.Fragment,null,_,Object(K.createElement)("figure",{className:S},Object(K.createElement)($e,{src:d,dirtynessTrigger:g},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,c=e.imageWidth,i=e.imageHeight,l=t.getFilename(d);n=h||(l?Object(Z.sprintf)(Object(Z.__)("This image has an empty alt attribute; its file name is %s"),l):Object(Z.__)("This image has an empty alt attribute"));var u=Object(K.createElement)(K.Fragment,null,Object(K.createElement)("img",{src:d,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(d)}}),Object(Oe.isBlobURL)(d)&&Object(K.createElement)(X.Spinner,null));if(!T||!r)return Object(K.createElement)(K.Fragment,null,B(c,i),Object(K.createElement)("div",{style:{width:k,height:w}},u));var p=k||r,O=w||o,j=c/i,f=c<i?20:20*j,v=i<c?20:20/j,y=2.5*s,C=!1,E=!1;return"center"===g?(C=!0,E=!0):m?"left"===g?C=!0:E=!0:"right"===g?E=!0:C=!0,Object(K.createElement)(K.Fragment,null,B(c,i),Object(K.createElement)(X.ResizableBox,{size:k&&w?{width:k,height:w}:void 0,minWidth:f,maxWidth:y,minHeight:v,maxHeight:y/j,lockAspectRatio:!0,enable:{top:!1,right:C,bottom:!0,left:E},onResizeStart:function(){b(!1)},onResizeStop:function(e,t,n,r){a({width:parseInt(p+r.width,10),height:parseInt(O+r.height,10)}),b(!0)}},u))}),(!J.RichText.isEmpty(p)||i)&&Object(K.createElement)(J.RichText,{tagName:"figcaption",placeholder:Object(Z.__)("Write caption…"),value:p,unstableOnFocus:this.onFocusCaption,onChange:function(e){return a({caption:e})},isSelected:this.state.captionFocused,inlineToolbar:!0})))}}]),t}(K.Component),Xe=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=e("core/editor").getEditorSettings,o=t.attributes.id,a=r(),c=a.maxWidth,i=a.isRTL,l=a.imageSizes;return{image:o?n(o):null,maxWidth:c,isRTL:i,imageSizes:l}}),Object(ve.withViewportMatch)({isLargeViewport:"medium"}),X.withNotices])(Je),et="core/image",tt={url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},nt={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},rt={figure:{require:["img"],children:Object(q.a)({},nt,{a:{attributes:["href","rel","target"],children:nt},figcaption:{children:Object(W.getPhrasingContentSchema)()}})}};function ot(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}var at={title:Object(Z.__)("Image"),description:Object(Z.__)("Insert an image to make a visual statement."),icon:qe,category:"common",keywords:["img",Object(Z.__)("photo")],attributes:tt,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:rt,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,u=c&&c.className?c.className:void 0,b=Object(W.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:u});return Object(W.createBlock)("core/image",b)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(W.createBlock)("core/image",{url:Object(Oe.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;return r.innerHTML=n.content,r.removeChild(r.firstElementChild),r.innerHTML.trim()}},href:{shortcode:function(e,t){return ot(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return ot(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return ot(t.shortcode.content,"class")}},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:Xe,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=Q()((t={},Object(G.a)(t,"align".concat(c),c),Object(G.a)(t,"is-resized",u||b),t)),p=Object(K.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b}),g=Object(K.createElement)(K.Fragment,null,i?Object(K.createElement)("a",{className:s,href:i,target:d,rel:l},p):p,!J.RichText.isEmpty(a)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object(K.createElement)("div",null,Object(K.createElement)("figure",{className:h},g)):Object(K.createElement)("figure",{className:h},g)},deprecated:[{attributes:tt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=Q()((t={},Object(G.a)(t,"align".concat(c),c),Object(G.a)(t,"is-resized",l||s),t)),m=Object(K.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object(K.createElement)("figure",{className:b},i?Object(K.createElement)("a",{href:i},m):m,!J.RichText.isEmpty(a)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:tt,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object(K.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object(K.createElement)("figure",{className:a?"align".concat(a):null},c?Object(K.createElement)("a",{href:c},u):u,!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:tt,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object(K.createElement)("img",Object(ee.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object(K.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object(K.createElement)("a",{href:c},u):u,!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:o}))}}]},ct=n(21),it=function(e){function t(){return Object(te.a)(this,t),Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(Z.sprintf)(Object(Z.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(K.createElement)(X.Toolbar,{controls:Object(Y.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}(K.Component);function lt(e){return Number(e.substr(1))}var st,ut={className:!1,anchor:!0},bt={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},mt="core/heading",dt={title:Object(Z.__)("Heading"),description:Object(Z.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(Z.__)("title"),Object(Z.__)("subtitle")],supports:ut,attributes:bt,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(W.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(W.getPhrasingContentSchema)()},h2:{children:Object(W.getPhrasingContentSchema)()},h3:{children:Object(W.getPhrasingContentSchema)()},h4:{children:Object(W.getPhrasingContentSchema)()},h5:{children:Object(W.getPhrasingContentSchema)()},h6:{children:Object(W.getPhrasingContentSchema)()}},transform:function(e){return Object(W.createBlock)("core/heading",Object(q.a)({},Object(W.getBlockAttributes)("core/heading",e.outerHTML),{level:lt(e.nodeName)}))}}].concat(Object(U.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(W.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(W.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:ut,attributes:Object(q.a)({},Object(Y.omit)(bt,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(ct.a)(e,["nodeName"]);return Object(q.a)({},n,{level:lt(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object(K.createElement)(J.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,c=e.className,i=t.align,l=t.content,s=t.level,u=t.placeholder,b="h"+s;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(it,{minLevel:2,maxLevel:5,selectedLevel:s,onChange:function(e){return n({level:e})}})),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Heading Settings")},Object(K.createElement)("p",null,Object(Z.__)("Level")),Object(K.createElement)(it,{minLevel:1,maxLevel:7,selectedLevel:s,onChange:function(e){return n({level:e})}}),Object(K.createElement)("p",null,Object(Z.__)("Text Alignment")),Object(K.createElement)(J.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}}))),Object(K.createElement)(J.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:b,value:l,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c<r;c++)a[c-2]=arguments[c];o([].concat(a,[Object(W.createBlock)("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a([])},style:{textAlign:i},className:c,placeholder:u||Object(Z.__)("Write heading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a="h"+r;return Object(K.createElement)(J.RichText.Content,{tagName:a,style:{textAlign:n},value:o})}},ht=n(20),pt=(st={},Object(G.a)(st,"value",{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""}),Object(G.a)(st,"citation",{type:"string",source:"html",selector:"cite",default:""}),Object(G.a)(st,"align",{type:"string"}),st),gt="core/quote",Ot={title:Object(Z.__)("Quote"),description:Object(Z.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M19 18h-6l2-4h-2V6h8v7l-2 5zm-2-2l2-3V8h-4v4h4l-2 4zm-8 2H3l2-4H3V6h8v7l-2 5zm-2-2l2-3V8H5v4h4l-2 4z"}))),category:"common",keywords:[Object(Z.__)("blockquote")],attributes:pt,styles:[{name:"default",label:Object(Z._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(Z._x)("Large","block style")}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/quote",{value:Object(ht.toHTMLString)({value:Object(ht.join)(e.map(function(e){var t=e.content;return Object(ht.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(W.createBlock)("core/quote",{value:"<p>".concat(t,"</p>")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(W.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(W.createBlock)("core/quote",{value:"<p>".concat(e,"</p>")})}},{type:"raw",isMatch:function(e){var t=function(){var e=!1;return function(t){return"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))}}();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:{blockquote:{children:{p:{children:Object(W.getPhrasingContentSchema)()},cite:{children:Object(W.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"<p></p>"!==t&&r.push.apply(r,Object(U.a)(Object(ht.split)(Object(ht.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(W.createBlock)("core/paragraph",{content:Object(ht.toHTMLString)({value:e})})}))),n&&"<p></p>"!==n&&r.push(Object(W.createBlock)("core/paragraph",{content:n})),0===r.length?Object(W.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(ct.a)(e,["value","citation"]);if("<p></p>"===t)return Object(W.createBlock)("core/heading",{content:n});var o=Object(ht.split)(Object(ht.create)({html:t,multilineTag:"p"}),"\u2028"),a=o.slice(1);return[Object(W.createBlock)("core/heading",{content:Object(ht.toHTMLString)({value:o[0]})}),Object(W.createBlock)("core/quote",Object(q.a)({},r,{citation:n,value:Object(ht.toHTMLString)({value:a.length?Object(ht.join)(o.slice(1),"\u2028"):Object(ht.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(W.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object(K.createElement)("blockquote",{className:c,style:{textAlign:i}},Object(K.createElement)(J.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(Z.__)("Write quote…")}),(!J.RichText.isEmpty(s)||r)&&Object(K.createElement)(J.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},placeholder:Object(Z.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object(K.createElement)("blockquote",{style:{textAlign:n||null}},Object(K.createElement)(J.RichText.Content,{multiline:!0,value:r}),!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&"<p></p>"!==n?Object(q.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(q.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(q.a)({},pt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(q.a)({},Object(Y.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(K.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(K.createElement)(J.RichText.Content,{multiline:!0,value:r}),!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(q.a)({},pt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object(K.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object(K.createElement)(J.RichText.Content,{multiline:!0,value:r}),!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"footer",value:o}))}}]},jt=n(17),ft=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(ce.a)(Object(ce.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e.bindContainer=e.bindContainer.bind(Object(ce.a)(Object(ce.a)(e))),e.state={captionSelected:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[jt.BACKSPACE,jt.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isSelected,l=t.caption,s=t.onRemove,u=t.setAttributes,b=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var m=Object(K.createElement)(K.Fragment,null,Object(K.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":b}),Object(Oe.isBlobURL)(n)&&Object(K.createElement)(X.Spinner,null)),d=Q()({"is-selected":i,"is-transient":Object(Oe.isBlobURL)(n)});return Object(K.createElement)("figure",{className:d,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},i&&Object(K.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object(K.createElement)(X.IconButton,{icon:"no-alt",onClick:s,className:"blocks-gallery-item__remove",label:Object(Z.__)("Remove Image")})),e?Object(K.createElement)("a",{href:e},m):m,!J.RichText.isEmpty(l)||i?Object(K.createElement)(J.RichText,{tagName:"figcaption",placeholder:Object(Z.__)("Write caption…"),value:l,isSelected:this.state.captionSelected,onChange:function(e){return u({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}(K.Component),vt=Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(ft),yt=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),kt=[{value:"attachment",label:Object(Z.__)("Attachment Page")},{value:"media",label:Object(Z.__)("Media File")},{value:"none",label:Object(Z.__)("None")}],wt=["image"];function Ct(e){return Math.min(3,e.images.length)}var Et=function(e){var t=Object(Y.pick)(e,["alt","id","link","caption"]);return t.url=Object(Y.get)(e,["sizes","large","url"])||Object(Y.get)(e,["media_details","sizes","large","source_url"])||e.url,t},_t=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(ce.a)(Object(ce.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(ce.a)(Object(ce.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(ce.a)(Object(ce.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(ce.a)(Object(ce.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(ce.a)(Object(ce.a)(e))),e.addFiles=e.addFiles.bind(Object(ce.a)(Object(ce.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(ce.a)(Object(ce.a)(e))),e.setAttributes=e.setAttributes.bind(Object(ce.a)(Object(ce.a)(e))),e.state={selectedImage:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(q.a)({},e,{ids:Object(Y.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(Y.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return Et(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(Z.__)("Thumbnails are cropped to align."):Object(Z.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(U.a)(n.slice(0,e)),[Object(q.a)({},n[e],t)],Object(U.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object(J.mediaUpload)({allowedTypes:wt,filesList:e,onFileChange:function(e){var n=e.map(function(e){return Et(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,o=n.isSelected,a=n.className,c=n.noticeOperations,i=n.noticeUI,l=r.images,s=r.columns,u=void 0===s?Ct(r):s,b=r.align,m=r.imageCrop,d=r.linkTo,h=Object(K.createElement)(X.DropZone,{onFilesDrop:this.addFiles}),p=Object(K.createElement)(J.BlockControls,null,!!l.length&&Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(J.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:wt,multiple:!0,gallery:!0,value:l.map(function(e){return e.id}),render:function(e){var t=e.open;return Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===l.length?Object(K.createElement)(K.Fragment,null,p,Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:yt}),className:a,labels:{title:Object(Z.__)("Gallery"),instructions:Object(Z.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:wt,multiple:!0,notices:i,onError:c.createErrorNotice})):Object(K.createElement)(K.Fragment,null,p,Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Gallery Settings")},l.length>1&&Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Columns"),value:u,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length)}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Crop Images"),checked:!!m,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Link To"),value:d,onChange:this.setLinkTo,options:kt}))),i,Object(K.createElement)("ul",{className:Q()(a,(e={},Object(G.a)(e,"align".concat(b),b),Object(G.a)(e,"columns-".concat(u),u),Object(G.a)(e,"is-cropped",m),e))},h,l.map(function(e,n){var r=Object(Z.sprintf)(Object(Z.__)("image %1$d of %2$d in gallery"),n+1,l.length);return Object(K.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(K.createElement)(vt,{url:e.url,alt:e.alt,id:e.id,isSelected:o&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),o&&Object(K.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object(K.createElement)(X.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(Z.__)("Upload an image")))))}}]),t}(K.Component),xt=Object(X.withNotices)(_t),St={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},Tt="core/gallery",Nt=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},Rt={title:Object(Z.__)("Gallery"),description:Object(Z.__)("Display multiple images in a rich gallery."),icon:yt,category:"common",keywords:[Object(Z.__)("images"),Object(Z.__)("photos")],attributes:St,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(Y.every)(e,["align",t])?t:void 0;var n=Object(Y.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(W.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return Nt(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return Nt(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(Y.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(W.createBlock)("core/gallery",{images:e.map(function(e){return Et({url:Object(Oe.createBlobURL)(e)})})});return Object(J.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(Et);t(n.clientId,{ids:Object(Y.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(W.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(W.createBlock)("core/image",{align:n})}}]},edit:xt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object(K.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(K.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(K.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(K.createElement)("figure",null,t?Object(K.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:St,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(Y.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(q.a)({},e,{ids:Object(Y.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object(K.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(K.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(K.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(K.createElement)("figure",null,t?Object(K.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:St,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object(K.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(K.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object(K.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(K.createElement)("figure",null,t?Object(K.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(q.a)({},St,{images:Object(q.a)({},St.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.align,c=t.imageCrop,i=t.linkTo;return Object(K.createElement)("div",{className:"align".concat(a," columns-").concat(o," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object(K.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(K.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(K.createElement)("a",{href:t},n):n)}))}}]};var Bt="core/archives",At={title:Object(Z.__)("Archives"),description:Object(Z.__)("Display a monthly archive of your posts."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.align,o=t.showPostCounts,a=t.displayAsDropdown;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Archives Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display as Dropdown"),checked:a,onChange:function(){return n({displayAsDropdown:!a})}}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Show Post Counts"),checked:o,onChange:function(){return n({showPostCounts:!o})}}))),Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.BlockAlignmentToolbar,{value:r,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object(K.createElement)(X.Disabled,null,Object(K.createElement)(J.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}},Pt=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),It=["audio"],Lt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(Oe.isBlobURL)(i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(J.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0],n=t.id,r=t.url;o({id:n,src:r})},onError:function(t){o({src:void 0,id:void 0}),e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:It})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(G.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=We({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeOperations,m=i.noticeUI,d=function(){e.setState({editing:!0})};return this.state.editing?Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:Pt}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:It,value:this.props.attributes,notices:m,onError:b.createErrorNotice}):Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(Z.__)("Edit audio"),onClick:d,icon:"edit"}))),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Audio Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(Z.__)("Auto")},{value:"metadata",label:Object(Z.__)("Metadata")},{value:"none",label:Object(Z.__)("None")}]}))),Object(K.createElement)("figure",{className:u},Object(K.createElement)(X.Disabled,null,Object(K.createElement)("audio",{controls:"controls",src:c})),(!J.RichText.isEmpty(r)||s)&&Object(K.createElement)(J.RichText,{tagName:"figcaption",placeholder:Object(Z.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}(K.Component),Mt=Object(X.withNotices)(Lt),zt="core/audio",Ht={title:Object(Z.__)("Audio"),description:Object(Z.__)("Embed a simple audio player."),icon:Pt,category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(W.createBlock)("core/audio",{src:Object(Oe.createBlobURL)(t)})}}]},supports:{align:!0},edit:Mt,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object(K.createElement)("figure",null,Object(K.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!J.RichText.isEmpty(r)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:r}))}},Dt=window.getComputedStyle,Ft=Object(X.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:Dt(e).backgroundColor,fallbackTextColor:a||!c?void 0:Dt(c).color}}),Vt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,a=t.setBackgroundColor,c=t.setTextColor,i=t.fallbackBackgroundColor,l=t.fallbackTextColor,s=t.setAttributes,u=t.isSelected,b=t.className,m=n.text,d=n.url,h=n.title;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)("div",{className:b,title:h,ref:this.bindRef},Object(K.createElement)(J.RichText,{placeholder:Object(Z.__)("Add text…"),value:m,onChange:function(e){return s({text:e})},formattingControls:["bold","italic","strikethrough"],className:Q()("wp-block-button__link",(e={"has-background":r.color},Object(G.a)(e,r.class,r.class),Object(G.a)(e,"has-text-color",o.color),Object(G.a)(e,o.class,o.class),e)),style:{backgroundColor:r.color,color:o.color},keepPlaceholderOnFocus:!0}),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Color Settings"),colorSettings:[{value:r.color,onChange:a,label:Object(Z.__)("Background Color")},{value:o.color,onChange:c,label:Object(Z.__)("Text Color")}]},Object(K.createElement)(J.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})))),u&&Object(K.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object(K.createElement)(X.Dashicon,{icon:"admin-links"}),Object(K.createElement)(J.URLInput,{value:d,onChange:function(e){return s({url:e})}}),Object(K.createElement)(X.IconButton,{icon:"editor-break",label:Object(Z.__)("Apply"),type:"submit"})))}}]),t}(K.Component),Ut=Object(ie.compose)([Object(J.withColors)("backgroundColor",{textColor:"color"}),Ft])(Vt),Wt={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},Gt="core/button",qt=function(e){return Object(Y.omit)(Object(q.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},Kt={title:Object(Z.__)("Button"),description:Object(Z.__)("Prompt visitors to take action with a custom button."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",attributes:Wt,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(Z._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(Z.__)("Outline")},{name:"squared",label:Object(Z._x)("Squared","block style")}],edit:Ut,save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object(J.getColorClassName)("color",i),b=Object(J.getColorClassName)("background-color",c),m=Q()("wp-block-button__link",(t={"has-text-color":i||s},Object(G.a)(t,u,u),Object(G.a)(t,"has-background",c||l),Object(G.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object(K.createElement)("div",null,Object(K.createElement)(J.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},deprecated:[{attributes:Object(q.a)({},Object(Y.pick)(Wt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object(K.createElement)("div",{className:"align".concat(a)},Object(K.createElement)(J.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:qt},{attributes:Object(q.a)({},Object(Y.pick)(Wt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object(K.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object(K.createElement)(J.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:qt}]},$t=n(27),Qt=n.n($t),Yt=n(40),Zt=n.n(Yt),Jt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).getYearMonth=Zt()(e.getYearMonth.bind(Object(ce.a)(Object(ce.a)(e))),{maxSize:1}),e.getServerSideAttributes=Zt()(e.getServerSideAttributes.bind(Object(ce.a)(Object(ce.a)(e))),{maxSize:1}),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Qt()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(q.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object(K.createElement)(X.Disabled,null,Object(K.createElement)(X.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}(K.Component),Xt=Object(le.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})(Jt),en="core/calendar",tn={title:Object(Z.__)("Calendar"),description:Object(Z.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(Z.__)("posts"),Object(Z.__)("archive")],supports:{align:!0},edit:Xt,save:function(){return null}},nn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(Y.unescape)(e.name).trim():Object(Z.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object(K.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object(K.createElement)("li",{key:e.id},Object(K.createElement)("a",{href:e.link,target:"_blank"},this.renderCategoryName(e)),a&&Object(K.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object(K.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object(K.createElement)(K.Fragment,null,Object(K.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(Z.__)("Categories")),Object(K.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object(K.createElement)("option",{key:e.id},Object(Y.times)(3*t,function(){return" "}),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Categories Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object(K.createElement)(K.Fragment,null,c,Object(K.createElement)(X.Placeholder,{icon:"admin-post",label:Object(Z.__)("Categories")},Object(K.createElement)(X.Spinner,null))):Object(K.createElement)(K.Fragment,null,c,Object(K.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}(K.Component),rn=Object(ie.compose)(Object(le.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),ie.withInstanceId)(nn),on="core/categories",an={title:Object(Z.__)("Categories"),description:Object(Z.__)("Display a list of all categories."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object(K.createElement)(X.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object(K.createElement)(X.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:rn,save:function(){return null}};var cn="core/code",ln={title:Object(Z.__)("Code"),description:Object(Z.__)("Display code snippets that respect your spacing and tabs."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(W.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object(K.createElement)("div",{className:r},Object(K.createElement)(J.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(Z.__)("Write code…"),"aria-label":Object(Z.__)("Code")}))},save:function(e){var t=e.attributes;return Object(K.createElement)("pre",null,Object(K.createElement)("code",null,t.content))}},sn=["core/column"],un=Zt()(function(e){return Object(Y.times)(e,function(){return["core/column"]})});function bn(e){var t,n=bn.doc;n||(n=document.implementation.createHTMLDocument(""),bn.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var mn="core/columns",dn={title:Object(Z.__)("Columns"),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(Z.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some(function(e){return/layout-column-\d+/.test(e.originalContent)})&&t.some(function(e){return void 0!==bn(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=bn(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(W.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object(K.createElement)("div",{className:"has-".concat(t,"-columns")},Object(K.createElement)(J.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.columns,a=Q()(r,"has-".concat(o,"-columns"));return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,null,Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Columns"),value:o,onChange:function(e){n({columns:e})},min:2,max:6}))),Object(K.createElement)("div",{className:a},Object(K.createElement)(J.InnerBlocks,{template:un(o),templateLock:"all",allowedBlocks:sn})))},save:function(e){var t=e.attributes.columns;return Object(K.createElement)("div",{className:"has-".concat(t,"-columns")},Object(K.createElement)(J.InnerBlocks.Content,null))}},hn="core/column",pn={title:Object(Z.__)("Column"),parent:["core/columns"],icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),description:Object(Z.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object(K.createElement)(J.InnerBlocks,{templateLock:!1})},save:function(){return Object(K.createElement)("div",null,Object(K.createElement)(J.InnerBlocks.Content,null))}},gn=Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object(K.createElement)(X.Path,{d:"M0 0h24v24H0z",fill:"none"})),On={title:{type:"string",source:"html",selector:"p"},url:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},jn="core/cover",fn=["image","video"],vn={title:Object(Z.__)("Cover"),description:Object(Z.__)("Add an image or video with a text overlay — great for headers."),icon:gn,category:"common",attributes:On,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(W.createBlock)("core/cover",{title:t})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(W.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(W.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.title;return Object(W.createBlock)("core/heading",{content:t})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(W.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(W.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},edit:Object(ie.compose)([Object(J.withColors)({overlayColor:"background-color"}),X.withNotices])(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,a=e.noticeOperations,c=e.noticeUI,i=e.overlayColor,l=e.setOverlayColor,s=t.backgroundType,u=t.contentAlign,b=t.dimRatio,m=t.focalPoint,d=t.hasParallax,h=t.id,p=t.title,g=t.url,O=function(e){if(e&&e.url){var t;if(e.media_type)t="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;t=e.type}n({url:e.url,id:e.id,backgroundType:t})}else n({url:void 0,id:void 0})},j=function(e){return n({title:e})},f=Object(q.a)({},"image"===s?kn(g):{},{backgroundColor:i.color});m&&(f.backgroundPosition="".concat(100*m.x,"% ").concat(100*m.y,"%"));var v=Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,!!g&&Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.AlignmentToolbar,{value:u,onChange:function(e){n({contentAlign:e})}}),Object(K.createElement)(J.MediaUploadCheck,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(J.MediaUpload,{onSelect:O,allowedTypes:fn,value:h,render:function(e){var t=e.open;return Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit media"),icon:"edit",onClick:t})}}))))),!!g&&Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Cover Settings")},"image"===s&&Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Fixed Background"),checked:d,onChange:function(){return n({hasParallax:!d})}}),"image"===s&&!d&&Object(K.createElement)(X.FocalPointPicker,{label:Object(Z.__)("Focal Point Picker"),url:g,value:m,onChange:function(e){return n({focalPoint:e})}}),Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:l,label:Object(Z.__)("Overlay Color")}]},Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Background Opacity"),value:b,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})))));if(!g){var y=!J.RichText.isEmpty(p),k=y?void 0:Object(K.createElement)(J.BlockIcon,{icon:gn}),w=y?Object(K.createElement)(J.RichText,{tagName:"h2",value:p,onChange:j,inlineToolbar:!0}):Object(Z.__)("Cover");return Object(K.createElement)(K.Fragment,null,v,Object(K.createElement)(J.MediaPlaceholder,{icon:k,className:o,labels:{title:w,instructions:Object(Z.__)("Drag an image or a video, upload a new one or select a file from your library.")},onSelect:O,accept:"image/*,video/*",allowedTypes:fn,notices:c,onError:a.createErrorNotice}))}var C=Q()(o,"center"!==u&&"has-".concat(u,"-content"),yn(b),{"has-background-dim":0!==b,"has-parallax":d});return Object(K.createElement)(K.Fragment,null,v,Object(K.createElement)("div",{"data-url":g,style:f,className:C},"video"===s&&Object(K.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:g}),(!J.RichText.isEmpty(p)||r)&&Object(K.createElement)(J.RichText,{tagName:"p",className:"wp-block-cover-text",placeholder:Object(Z.__)("Write title…"),value:p,onChange:j,inlineToolbar:!0})))}),save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(J.getColorClassName)("background-color",l),m="image"===n?kn(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=Q()(yn(a),b,Object(G.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object(K.createElement)("div",{className:d,style:m},"video"===n&&u&&Object(K.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!J.RichText.isEmpty(s)&&Object(K.createElement)(J.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},deprecated:[{attributes:Object(q.a)({},On,{align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(J.getColorClassName)("background-color",l),b=kn(n);u||(b.backgroundColor=s);var m=Q()("wp-block-cover-image",yn(a),u,Object(G.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object(K.createElement)("div",{className:m,style:b},!J.RichText.isEmpty(r)&&Object(K.createElement)(J.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))}},{attributes:Object(q.a)({},On,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=kn(n),l=Q()(yn(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object(K.createElement)("section",{className:l,style:i},Object(K.createElement)(J.RichText.Content,{tagName:"h2",value:r}))}}]};function yn(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function kn(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var wn=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,null,n&&Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Media Settings"),className:"blocks-responsive"},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Cn=function(){return Object(K.createElement)("div",{className:"wp-block-embed is-loading"},Object(K.createElement)(X.Spinner,null),Object(K.createElement)("p",null,Object(Z.__)("Embedding…")))},En=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(K.createElement)(X.Placeholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object(K.createElement)("form",{onSubmit:o},Object(K.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(Z.__)("Enter URL to embed here…"),onChange:a}),Object(K.createElement)(X.Button,{isLarge:!0,type:"submit"},Object(Z._x)("Embed","button label")),c&&Object(K.createElement)("p",{className:"components-placeholder__error"},Object(Z.__)("Sorry, this content could not be embedded."),Object(K.createElement)("br",null),Object(K.createElement)(X.Button,{isLarge:!0,onClick:l},Object(Z._x)("Try again","button label"))," ",Object(K.createElement)(X.Button,{isLarge:!0,onClick:i},Object(Z._x)("Convert to link","button label")))))},_n=n(75),xn=window.FocusEvent,Sn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(ce.a)(Object(ce.a)(e))),e.node=Object(K.createRef)(),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new xn("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object(K.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}(K.Component),Tn=Object(ie.withGlobalEvents)({blur:"checkFocus"})(Sn),Nn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(ce.a)(Object(ce.a)(e))),e.state={interactive:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e=this.props,t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,i=e.className,l=e.icon,s=e.label,u=t.scripts,b=this.state.interactive,m="photo"===r?function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object(K.createElement)("p",null,Object(K.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(K.renderToString)(n)}(t):t.html,d=Object(_n.parse)(n).host.split("."),h=d.splice(d.length-2,d.length-1).join("."),p=Object(Y.includes)(ze,h),g=Object(Z.sprintf)(Object(Z.__)("Embedded content from %s"),h),O=Fe()(r,i,"wp-block-embed__wrapper"),j="wp-embed"===r?Object(K.createElement)(Tn,{html:m}):Object(K.createElement)("div",{className:"wp-block-embed__wrapper"},Object(K.createElement)(X.SandBox,{html:m,scripts:u,title:g,type:O,onFocus:this.hideOverlay}),!b&&Object(K.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(K.createElement)("figure",{className:Fe()(i,"wp-block-embed",{"is-type-video":"video"===r})},p?Object(K.createElement)(X.Placeholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:l,showColors:!0}),label:s},Object(K.createElement)("p",{className:"components-placeholder__error"},Object(K.createElement)("a",{href:n},n)),Object(K.createElement)("p",{className:"components-placeholder__error"},Object(Z.__)("Sorry, this embedded content cannot be previewed in the editor."))):j,(!J.RichText.isEmpty(o)||c)&&Object(K.createElement)(J.RichText,{tagName:"figcaption",placeholder:Object(Z.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(K.Component);function Rn(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(te.a)(this,o),(e=Object(re.a)(this,Object(oe.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(ce.a)(Object(ce.a)(e))),e.setUrl=e.setUrl.bind(Object(ce.a)(Object(ce.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(ce.a)(Object(ce.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(ae.a)(o,r),Object(ne.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=We(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return;this.handleIncomingPreview()}}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(Y.kebabCase)(Object(Y.toLower)(""!==l?l:e));return Ue(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=Ge(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(Z.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(Z.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:Ge(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props.attributes,l=i.caption,s=i.type,u=i.allowResponsive,b=this.props,m=b.fetching,d=b.setAttributes,h=b.isSelected,p=b.className,g=b.preview,O=b.cannotEmbed,j=b.themeSupportsResponsive,f=b.tryAgain;if(m)return Object(K.createElement)(Cn,null);var v=Object(Z.sprintf)(Object(Z.__)("%s URL"),e);return!g||O||c?Object(K.createElement)(En,{icon:t,label:v,onSubmit:this.setUrl,value:a,cannotEmbed:O,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object(K.createElement)("a",{href:e},e);t(Object(W.createBlock)("core/paragraph",{content:Object(K.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:f}):Object(K.createElement)(K.Fragment,null,Object(K.createElement)(wn,{showEditButton:g&&!O,themeSupportsResponsive:j,blockSupportsResponsive:n,allowResponsive:u,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object(K.createElement)(Nn,{preview:g,className:p,url:a,type:s,caption:l,onCaptionChange:function(e){return d({caption:e})},isSelected:h,icon:t,label:v}))}}]),o}(K.Component)}var Bn={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function An(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(Z.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=Rn(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:Bn,supports:Object(q.a)({align:!0},u),transforms:c,edit:Object(ie.compose)(Object(le.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(le.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Fe()("wp-block-embed",(t={},Object(G.a)(t,"is-type-".concat(a),a),Object(G.a)(t,"is-provider-".concat(c),c),t));return Object(K.createElement)("figure",{className:i},Object(K.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:Bn,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Fe()("wp-block-embed",(t={},Object(G.a)(t,"is-type-".concat(a),a),Object(G.a)(t,"is-provider-".concat(c),c),t));return Object(K.createElement)("figure",{className:i},"\n".concat(r,"\n"),!J.RichText.isEmpty(o)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var Pn="core/embed",In=An({title:Object(Z._x)("Embed","block title"),description:Object(Z.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:ye,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(W.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),Ln=Le.map(function(e){return Object(q.a)({},e,{settings:An(e.settings)})}),Mn=Me.map(function(e){return Object(q.a)({},e,{settings:An(e.settings)})}),zn=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function Hn(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(Z.__)("URL")}];return s&&(u=[{value:i,label:Object(Z.__)("Media File")},{value:s,label:Object(Z.__)("Attachment Page")}]),Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Text Link Settings")},Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Link To"),value:l,options:u,onChange:o}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Open in New Tab"),checked:n,onChange:a})),Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Download Button Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Show Download Button"),checked:r,onChange:c}))))}var Dn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(ce.a)(Object(ce.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(ce.a)(Object(ce.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(ce.a)(Object(ce.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(ce.a)(Object(ce.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(ce.a)(Object(ce.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(ce.a)(Object(ce.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(Oe.isBlobURL)(o)){var a=Object(Oe.getBlobByURL)(o);Object(J.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(je.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(Oe.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,r=e.attributes,o=e.setAttributes,a=e.noticeUI,c=e.noticeOperations,i=e.media,l=r.fileName,s=r.href,u=r.textLinkHref,b=r.textLinkTarget,m=r.showDownloadButton,d=r.downloadButtonText,h=r.id,p=this.state,g=p.hasError,O=p.showCopyConfirmation,j=i&&i.link;if(!s||g)return Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:zn}),labels:{title:Object(Z.__)("File"),instructions:Object(Z.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:a,onError:c.createErrorNotice,accept:"*"});var f=Q()(t,{"is-transient":Object(Oe.isBlobURL)(s)});return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(Hn,Object(ee.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:j}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.MediaUploadCheck,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(J.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object(K.createElement)("div",{className:f},Object(K.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(K.createElement)(J.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:l,placeholder:Object(Z.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return o({fileName:e})}}),m&&Object(K.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(K.createElement)(J.RichText,{tagName:"div",className:"wp-block-file__button",value:d,formattingControls:[],placeholder:Object(Z.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object(K.createElement)(X.ClipboardButton,{isDefault:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(Oe.isBlobURL)(s)},O?Object(Z.__)("Copied!"):Object(Z.__)("Copy URL"))))}}]),t}(K.Component),Fn=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),X.withNotices])(Dn),Vn="core/file",Un={title:Object(Z.__)("File"),description:Object(Z.__)("Add a link to a downloadable file."),icon:zn,category:"common",keywords:[Object(Z.__)("document"),Object(Z.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(Z._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.map(function(e){var n=Object(Oe.createBlobURL)(e);t.push(Object(W.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(W.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(W.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(W.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Y.includes)(n.mime_type,"audio")},transform:function(e){return Object(W.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Y.includes)(n.mime_type,"video")},transform:function(e){return Object(W.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Y.includes)(n.mime_type,"image")},transform:function(e){return Object(W.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:Fn,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object(K.createElement)("div",null,!J.RichText.isEmpty(r)&&Object(K.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object(K.createElement)(J.RichText.Content,{value:r})),c&&Object(K.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(K.createElement)(J.RichText.Content,{value:i})))}},Wn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(ce.a)(Object(ce.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(U.a)(Object(J.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object(K.createElement)("div",{className:"wp-block-html"},Object(K.createElement)(J.BlockControls,null,Object(K.createElement)("div",{className:"components-toolbar"},Object(K.createElement)("button",{className:"components-tab-button ".concat(o?"":"is-active"),onClick:this.switchToHTML},Object(K.createElement)("span",null,"HTML")),Object(K.createElement)("button",{className:"components-tab-button ".concat(o?"is-active":""),onClick:this.switchToPreview},Object(K.createElement)("span",null,Object(Z.__)("Preview"))))),Object(K.createElement)(X.Disabled.Consumer,null,function(e){return o||e?Object(K.createElement)(X.SandBox,{html:t.content,styles:a}):Object(K.createElement)(J.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(Z.__)("Write HTML…"),"aria-label":Object(Z.__)("HTML")})}))}}]),t}(K.Component),Gn=Object(le.withSelect)(function(e){return{styles:(0,e("core/editor").getEditorSettings)().styles}})(Wn),qn="core/html",Kn={title:Object(Z.__)("Custom HTML"),description:Object(Z.__)("Add custom HTML code and preview it as you edit."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(Z.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(W.getPhrasingContentSchema)()}}}}}]},edit:Gn,save:function(e){var t=e.attributes;return Object(K.createElement)(K.RawHTML,null,t.content)}},$n=Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(K.createElement)(X.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(K.createElement)(X.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Qn=["image","video"],Yn=function(e){function t(){return Object(te.a)(this,t),Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(J.MediaUpload,{onSelect:n,allowedTypes:Qn,value:t,render:function(e){var t=e.open;return Object(K.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(Z.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object(K.createElement)(K.Fragment,null,this.renderToolbarEditButton(),Object(K.createElement)("figure",{className:r},Object(K.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object(K.createElement)(K.Fragment,null,this.renderToolbarEditButton(),Object(K.createElement)("figure",{className:n},Object(K.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:$n}),labels:{title:Object(Z.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:Qn})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange;if(r&&n){var i={right:"left"===t,left:"right"===t},l=null;switch(r){case"image":l=this.renderImage();break;case"video":l=this.renderVideo()}return Object(K.createElement)(X.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:i,onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){a(parseInt(n.style.width))},axis:"x"},l)}return this.renderPlaceholder()}}]),t}(K.Component),Zn=["core/button","core/paragraph","core/heading","core/list"],Jn=[["core/paragraph",{fontSize:"large",placeholder:Object(Z._x)("Content…","content placeholder")}]],Xn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(ce.a)(Object(ce.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(ce.a)(Object(ce.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(ce.a)(Object(ce.a)(e))),e.state={mediaWidth:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(Y.get)(e,["sizes","large","url"])||Object(Y.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth;return Object(K.createElement)(Yn,Object(ee.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=this.state.mediaWidth,h=Q()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a},Object(G.a)(e,o.class,o.class),Object(G.a)(e,"is-stacked-on-mobile",l),e)),p="".concat(d||m,"%"),g={gridTemplateColumns:"right"===u?"auto ".concat(p):"".concat(p," auto"),backgroundColor:o.color},O=[{value:o.color,onChange:i,label:Object(Z.__)("Background Color")}],j=[{icon:"align-pull-left",title:Object(Z.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(Z.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],f=Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Media & Text Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object(K.createElement)(X.TextareaControl,{label:Object(Z.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(Z.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.InspectorControls,null,f,Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Color Settings"),initialOpen:!1,colorSettings:O})),Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,{controls:j})),Object(K.createElement)("div",{className:h,style:g},this.renderMediaArea(),Object(K.createElement)(J.InnerBlocks,{allowedBlocks:Zn,template:Jn,templateInsertUpdatesSelection:!1})))}}]),t}(K.Component),er=Object(J.withColors)("backgroundColor")(Xn),tr=Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),nr="core/media-text",rr={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},or={title:Object(Z.__)("Media & Text"),description:Object(Z.__)("Set media and words side-by-side for a richer layout."),icon:tr,category:"layout",keywords:[Object(Z.__)("image"),Object(Z.__)("video")],attributes:rr,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(W.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(W.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(W.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(W.createBlock)("core/video",{id:t,src:n})}}]},edit:er,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d={image:function(){return Object(K.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object(K.createElement)("video",{controls:!0,src:u})}},h=Object(J.getColorClassName)("background-color",o),p=Q()((t={"has-media-on-the-right":"right"===l},Object(G.a)(t,h,h),Object(G.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:h?void 0:a,gridTemplateColumns:n};return Object(K.createElement)("div",{className:p,style:g},Object(K.createElement)("figure",{className:"wp-block-media-text__media"},(d[s]||Y.noop)()),Object(K.createElement)("div",{className:"wp-block-media-text__content"},Object(K.createElement)(J.InnerBlocks.Content,null)))},deprecated:[{attributes:rr,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object(K.createElement)("img",{src:u,alt:i})},video:function(){return Object(K.createElement)("video",{controls:!0,src:u})}},d=Object(J.getColorClassName)("background-color",o),h=Q()((t={"has-media-on-the-right":"right"===l},Object(G.a)(t,d,d),Object(G.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object(K.createElement)("div",{className:h,style:p},Object(K.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||Y.noop)()),Object(K.createElement)("div",{className:"wp-block-media-text__content"},Object(K.createElement)(J.InnerBlocks.Content,null)))}}]},ar=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).setAlignment=e.setAlignment.bind(Object(ce.a)(Object(ce.a)(e))),e.setCommentsToShow=e.setCommentsToShow.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(G.a)({},e,!n))}}},{key:"setAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.commentsToShow,r=e.displayAvatar,o=e.displayDate,a=e.displayExcerpt;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.BlockAlignmentToolbar,{value:t,onChange:this.setAlignment})),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Latest Comments Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display Avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display Excerpt"),checked:a,onChange:this.toggleDisplayExcerpt}),Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Number of Comments"),value:n,onChange:this.setCommentsToShow,min:1,max:100}))),Object(K.createElement)(X.Disabled,null,Object(K.createElement)(J.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}(K.Component),cr="core/latest-comments",ir={title:Object(Z.__)("Latest Comments"),description:Object(Z.__)("Display a list of your most recent comments."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(Z.__)("recent comments")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:ar,save:function(){return null}},lr=n(28),sr=n.n(lr),ur=n(47),br=n(51),mr={per_page:-1},dr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=sr()({path:Object(fe.addQueryArgs)("/wp/v2/categories",mr)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostDate,c=t.align,i=t.postLayout,l=t.columns,s=t.order,u=t.orderBy,b=t.categories,m=t.postsToShow,d=Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Latest Posts Settings")},Object(K.createElement)(X.QueryControls,Object(ee.a)({order:s,orderBy:u},{numberOfItems:m,categoriesList:o,selectedCategoryId:b,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===i&&Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Columns"),value:l,onChange:function(e){return n({columns:e})},min:2,max:h?Math.min(6,r.length):6}))),h=Array.isArray(r)&&r.length;if(!h)return Object(K.createElement)(K.Fragment,null,d,Object(K.createElement)(X.Placeholder,{icon:"admin-post",label:Object(Z.__)("Latest Posts")},Array.isArray(r)?Object(Z.__)("No posts found."):Object(K.createElement)(X.Spinner,null)));var p=r.length>m?r.slice(0,m):r,g=[{icon:"list-view",title:Object(Z.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===i},{icon:"grid-view",title:Object(Z.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===i}],O=Object(ur.__experimentalGetSettings)().formats.date;return Object(K.createElement)(K.Fragment,null,d,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.BlockAlignmentToolbar,{value:c,onChange:function(e){n({align:e})}}),Object(K.createElement)(X.Toolbar,{controls:g})),Object(K.createElement)("ul",{className:Q()(this.props.className,Object(G.a)({"is-grid":"grid"===i,"has-dates":a},"columns-".concat(l),"grid"===i))},p.map(function(e,t){return Object(K.createElement)("li",{key:t},Object(K.createElement)("a",{href:e.link,target:"_blank"},Object(br.decodeEntities)(e.title.rendered.trim())||Object(Z.__)("(Untitled)")),a&&e.date_gmt&&Object(K.createElement)("time",{dateTime:Object(ur.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(ur.dateI18n)(O,e.date_gmt)))})))}}]),t}(K.Component),hr=Object(le.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(Y.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(Y.isUndefined)(e)}))}})(dr),pr="core/latest-posts",gr={title:Object(Z.__)("Latest Posts"),description:Object(Z.__)("Display a list of your most recent posts."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object(K.createElement)(X.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object(K.createElement)(X.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object(K.createElement)(X.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object(K.createElement)(X.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(Z.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:hr,save:function(){return null}},Or=Object(q.a)({},Object(W.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){Or[e].children={li:{children:Or}}});var jr={className:!1},fr={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},vr="core/list",yr={title:Object(Z.__)("List"),description:Object(Z.__)("Create a bulleted or numbered list."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(Z.__)("bullet list"),Object(Z.__)("ordered list"),Object(Z.__)("numbered list")],attributes:fr,supports:jr,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/list",{values:Object(ht.toHTMLString)({value:Object(ht.join)(e.map(function(t){var n=t.content,r=Object(ht.create)({html:n});return e.length>1?r:Object(ht.replace)(r,/\n/g,ht.LINE_SEPARATOR)}),ht.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(W.createBlock)("core/list",{values:Object(ht.toHTMLString)({value:Object(ht.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:Or.ol,ul:Or.ul},transform:function(e){return Object(W.createBlock)("core/list",Object(q.a)({},Object(W.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(U.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(W.createBlock)("core/list",{values:"<li>".concat(e,"</li>")})}}})),Object(U.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(W.createBlock)("core/list",{ordered:!0,values:"<li>".concat(e,"</li>")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(ht.split)(Object(ht.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),ht.LINE_SEPARATOR).map(function(e){return Object(W.createBlock)("core/paragraph",{content:Object(ht.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(W.createBlock)("core/quote",{value:Object(ht.toHTMLString)({value:Object(ht.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:jr,attributes:Object(q.a)({},Object(Y.omit)(fr,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(ct.a)(e,["nodeName"]);return Object(q.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(K.createElement)(J.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"<li></li>"!==n?Object(q.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.ordered,l=t.values;return Object(K.createElement)(J.RichText,{identifier:"values",multiline:"li",tagName:i?"ol":"ul",onChange:function(e){return r({values:e})},value:l,wrapperClassName:"block-library-list",className:c,placeholder:Object(Z.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c<o;c++)a[c-2]=arguments[c];a.length||a.push(Object(W.createBlock)("core/paragraph")),"<li></li>"!==t&&a.push(Object(W.createBlock)("core/list",{ordered:i,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object(K.createElement)(J.RichText.Content,{tagName:o,value:r,multiline:"li"})}};var kr=Object(le.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/editor").replaceBlock;return{convertToHTML:function(){o(n,Object(W.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(W.getBlockType)("core/html"),l=[];return c&&i?(t=Object(Z.sprintf)(Object(Z.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object(K.createElement)(X.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(Z.__)("Keep as HTML")))):t=Object(Z.sprintf)(Object(Z.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.Warning,{actions:l},t),Object(K.createElement)(K.RawHTML,null,a))}),wr="core/missing",Cr={name:wr,category:"common",title:Object(Z.__)("Unrecognized Block"),description:Object(Z.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},edit:kr,save:function(e){var t=e.attributes;return Object(K.createElement)(K.RawHTML,null,t.originalContent)}},Er=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(ce.a)(Object(ce.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e.state={defaultText:Object(Z.__)("Read more")},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===jt.ENTER&&n([Object(W.createBlock)(Object(W.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(Z.__)("The excerpt is hidden."):Object(Z.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,null,Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object(K.createElement)("div",{className:"wp-block-more"},Object(K.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}(K.Component),_r="core/more",xr={title:Object(Z._x)("More","block name"),description:Object(Z.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(W.createBlock)("core/more",o)}}]},edit:Er,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object(K.createElement)(K.RawHTML,null,Object(Y.compact)([o,a]).join("\n"))}};var Sr="core/nextpage",Tr={title:Object(Z.__)("Page Break"),description:Object(Z.__)("Separate your content into a multi-page experience."),icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(Z.__)("next page"),Object(Z.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(W.createBlock)("core/nextpage",{})}}]},edit:function(){return Object(K.createElement)("div",{className:"wp-block-nextpage"},Object(K.createElement)("span",null,Object(Z.__)("Page break")))},save:function(){return Object(K.createElement)(K.RawHTML,null,"\x3c!--nextpage--\x3e")}},Nr="core/preformatted",Rr={title:Object(Z.__)("Preformatted"),description:Object(Z.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object(K.createElement)(X.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object(K.createElement)(X.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(W.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(W.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=t.content;return Object(K.createElement)(J.RichText,{tagName:"pre",value:a,onChange:function(e){r({content:e})},placeholder:Object(Z.__)("Write preformatted text…"),wrapperClassName:o,onMerge:n})},save:function(e){var t=e.attributes.content;return Object(K.createElement)(J.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},Br="is-style-".concat("solid-color"),Ar=function(e){function t(e){var n;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(ce.a)(Object(ce.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(ce.a)(Object(ce.a)(n))),n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(Y.includes)(c,Br),l=!r.color||this.wasTextColorAutomaticallyComputed,s=i&&l&&e;a(e),s&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(Y.includes)(c,Br),u=s?{backgroundColor:n.color}:{borderColor:n.color},b={color:r.color},m=r.color?Q()("has-text-color",Object(G.a)({},r.class,r.class)):void 0;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)("figure",{style:u,className:Q()(c,Object(G.a)({},n.class,s&&n.class))},Object(K.createElement)("blockquote",{style:b,className:m},Object(K.createElement)(J.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(Z.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!J.RichText.isEmpty(l)||a)&&Object(K.createElement)(J.RichText,{value:l,placeholder:Object(Z.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(Z.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(Z.__)("Text Color")}]},s&&Object(K.createElement)(J.ContrastChecker,Object(ee.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}(K.Component),Pr=Object(J.withColors)({mainColor:"background-color",textColor:"color"})(Ar),Ir={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},Lr="core/pullquote",Mr={title:Object(Z.__)("Pullquote"),description:Object(Z.__)("Give special visual emphasis to a quote from your text."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object(K.createElement)(X.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object(K.createElement)(X.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:Ir,styles:[{name:"default",label:Object(Z._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(Z.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:Pr,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(Y.includes)(u,Br))(t=Object(J.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(Y.get)(Object(le.select)("core/editor").getEditorSettings(),["colors"],[]);n={borderColor:Object(J.getColorObjectByAttributeValues)(b,o).color}}var m=Object(J.getColorClassName)("color",c),d=c||i?Q()("has-text-color",Object(G.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object(K.createElement)("figure",{className:t,style:n},Object(K.createElement)("blockquote",{className:d,style:h},Object(K.createElement)(J.RichText.Content,{value:l,multiline:!0}),!J.RichText.isEmpty(s)&&Object(K.createElement)(J.RichText.Content,{tagName:"cite",value:s})))},deprecated:[{attributes:Object(q.a)({},Ir),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object(K.createElement)("blockquote",null,Object(K.createElement)(J.RichText.Content,{value:n,multiline:!0}),!J.RichText.isEmpty(r)&&Object(K.createElement)(J.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(q.a)({},Ir,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object(K.createElement)("blockquote",{className:"align".concat(o)},Object(K.createElement)(J.RichText.Content,{value:n,multiline:!0}),!J.RichText.isEmpty(r)&&Object(K.createElement)(J.RichText.Content,{tagName:"footer",value:r}))}}]},zr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).titleField=Object(K.createRef)(),e.editButton=Object(K.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(ce.a)(Object(ce.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(ce.a)(Object(ce.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===jt.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object(K.createElement)(K.Fragment,null,!t&&!r&&Object(K.createElement)("div",{className:"reusable-block-edit-panel"},Object(K.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object(K.createElement)(X.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(Z.__)("Edit"))),(t||r)&&Object(K.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object(K.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(Z.__)("Name:")),Object(K.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object(K.createElement)(X.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(Z.__)("Save"))))}}]),t}(K.Component),Hr=Object(ie.withInstanceId)(zr);var Dr=function(e){var t=e.title,n=Object(Z.sprintf)(Object(Z.__)("Reusable Block: %s"),t);return Object(K.createElement)(X.Tooltip,{text:n},Object(K.createElement)("span",{className:"reusable-block-indicator"},Object(K.createElement)(X.Dashicon,{icon:"controls-repeat"})))},Fr=function(e){function t(e){var n,r=e.reusableBlock;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.stopEditing=n.stopEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.setAttributes=n.setAttributes.bind(Object(ce.a)(Object(ce.a)(n))),n.setTitle=n.setTitle.bind(Object(ce.a)(Object(ce.a)(n))),n.save=n.save.bind(Object(ce.a)(Object(ce.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(q.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.block,o=e.isFetching,a=e.isSaving,c=e.canUpdateBlock,i=this.state,l=i.isEditing,s=i.title,u=i.changedAttributes;if(!n&&o)return Object(K.createElement)(X.Placeholder,null,Object(K.createElement)(X.Spinner,null));if(!n||!r)return Object(K.createElement)(X.Placeholder,null,Object(Z.__)("Block has been deleted or is unavailable."));var b=Object(K.createElement)(J.BlockEdit,Object(ee.a)({},this.props,{isSelected:l&&t,clientId:r.clientId,name:r.name,attributes:Object(q.a)({},r.attributes,u),setAttributes:l?this.setAttributes:Y.noop}));return l||(b=Object(K.createElement)(X.Disabled,null,b)),Object(K.createElement)(K.Fragment,null,(t||l)&&Object(K.createElement)(Hr,{isEditing:l,title:null!==s?s:n.title,isSaving:a&&!n.isTemporary,isEditDisabled:!c,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!l&&Object(K.createElement)(Dr,{title:n.title}),b)}}]),t}(K.Component),Vr=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=n.getBlock,i=e("core").canUser,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?c(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!i("update","blocks",l)}}),Object(le.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.updateBlockAttributes,a=n.__experimentalUpdateReusableBlockTitle,c=n.__experimentalSaveReusableBlock,i=t.attributes.ref;return{fetchReusableBlock:Object(Y.partial)(r,i),updateAttributes:o,onUpdateTitle:Object(Y.partial)(a,i),onSave:Object(Y.partial)(c,i)}})])(Fr),Ur="core/block",Wr={title:Object(Z.__)("Reusable Block"),category:"reusable",description:Object(Z.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:Vr,save:function(){return null}},Gr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(G.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object(K.createElement)(X.Placeholder,{icon:"rss",label:"RSS"},Object(K.createElement)("form",{onSubmit:this.onSubmitURL},Object(K.createElement)(X.TextControl,{placeholder:Object(Z.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object(K.createElement)(X.Button,{isLarge:!0,type:"submit"},Object(Z.__)("Use URL"))));var b=[{icon:"edit",title:Object(Z.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(Z.__)("List View"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(Z.__)("Grid View"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,{controls:b})),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("RSS Settings")},Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100}),"grid"===n&&Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6}))),Object(K.createElement)(X.Disabled,null,Object(K.createElement)(X.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}(K.Component),qr="core/rss",Kr={title:Object(Z.__)("RSS"),description:Object(Z.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(Z.__)("atom"),Object(Z.__)("feed")],supports:{html:!1},edit:Gr,save:function(){return null}};var $r="core/search",Qr={title:Object(Z.__)("Search"),description:Object(Z.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(Z.__)("find")],edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object(K.createElement)("div",{className:t},Object(K.createElement)(J.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(Z.__)("Label text"),placeholder:Object(Z.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:o,onChange:function(e){return r({label:e})}}),Object(K.createElement)("input",{className:"wp-block-search__input","aria-label":Object(Z.__)("Optional placeholder text"),placeholder:a?void 0:Object(Z.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object(K.createElement)(J.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(Z.__)("Button text"),placeholder:Object(Z.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:c,onChange:function(e){return r({buttonText:e})}}))},save:function(){return null}},Yr="core/separator",Zr={title:Object(Z.__)("Separator"),description:Object(Z.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(Z.__)("horizontal-line"),"hr",Object(Z.__)("divider")],styles:[{name:"default",label:Object(Z.__)("Default"),isDefault:!0},{name:"wide",label:Object(Z.__)("Wide Line")},{name:"dots",label:Object(Z.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(W.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object(K.createElement)("hr",{className:t})},save:function(){return Object(K.createElement)("hr",null)}},Jr=n(60),Xr="core/shortcode",eo={title:Object(Z.__)("Shortcode"),description:Object(Z.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Jr.removep)(Object(Jr.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(ie.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object(K.createElement)("div",{className:"wp-block-shortcode"},Object(K.createElement)("label",{htmlFor:o},Object(K.createElement)(X.Dashicon,{icon:"shortcode"}),Object(Z.__)("Shortcode")),Object(K.createElement)(J.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(Z.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object(K.createElement)(K.RawHTML,null,t.text)}},to="core/spacer",no={title:Object(Z.__)("Spacer"),description:Object(Z.__)("Add white space between blocks and customize its height."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(ie.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.toggleSelection,a=e.instanceId,c=t.height,i="block-spacer-height-input-".concat(a);return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(X.ResizableBox,{className:Q()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:c},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,a){r({height:parseInt(c+a.height,10)}),o(!0)},onResizeStart:function(){o(!1)}}),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Spacer Settings")},Object(K.createElement)(X.BaseControl,{label:Object(Z.__)("Height in pixels"),id:i},Object(K.createElement)("input",{type:"number",id:i,onChange:function(e){r({height:parseInt(e.target.value,10)})},value:c,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object(K.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},ro=n(50),oo=n.n(ro),ao="core/subhead",co={title:Object(Z.__)("Subheading (deprecated)"),description:Object(Z.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return oo()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object(K.createElement)(J.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(Z.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object(K.createElement)(J.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}};var io=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],lo=Object(J.createCustomColorsHOC)(io),so=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(ce.a)(Object(ce.a)(e))),e.onChange=e.onChange.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(ce.a)(Object(ce.a)(e))),e.renderSection=e.renderSection.bind(Object(ce.a)(Object(ce.a)(e))),e.getTableControls=e.getTableControls.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(ce.a)(Object(ce.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(ce.a)(Object(ce.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(ce.a)(Object(ce.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t=this.props.setAttributes,n=this.state,r=n.initialRowCount,o=n.initialColumnCount;t(function(e){var t=e.rowCount,n=e.columnCount;return{body:Object(Y.times)(t,function(){return{cells:Object(Y.times)(n,function(){return{content:"",tag:"td"}})}})}}({rowCount:r=parseInt(r,10)||2,columnCount:o=parseInt(o,10)||2}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(G.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(q.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(G.a)({},n,[].concat(Object(U.a)(e[n].slice(0,r)),[{cells:Object(Y.times)(o,function(){return{content:"",tag:"td"}})}],Object(U.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(G.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(G.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(U.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(U.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(G.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(Z.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(Z.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(Z.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(Z.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(Z.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(Z.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,r=e.rows;if(!r.length)return null;var o="t".concat(n),a=this.state.selectedCell;return Object(K.createElement)(o,null,r.map(function(e,r){var o=e.cells;return Object(K.createElement)("tr",{key:r},o.map(function(e,o){var c=e.content,i=e.tag,l=a&&n===a.section&&r===a.rowIndex&&o===a.columnIndex,s={section:n,rowIndex:r,columnIndex:o},u=Q()({"is-selected":l});return Object(K.createElement)(i,{key:o,className:u},Object(K.createElement)(J.RichText,{className:"wp-block-table__cell-content",value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.backgroundColor,o=e.setBackgroundColor,a=this.state,c=a.initialRowCount,i=a.initialColumnCount,l=t.hasFixedLayout,s=t.head,u=t.body,b=t.foot,m=!s.length&&!u.length&&!b.length,d=this.renderSection;if(m)return Object(K.createElement)("form",{onSubmit:this.onCreateTable},Object(K.createElement)(X.TextControl,{type:"number",label:Object(Z.__)("Column Count"),value:i,onChange:this.onChangeInitialColumnCount,min:"1"}),Object(K.createElement)(X.TextControl,{type:"number",label:Object(Z.__)("Row Count"),value:c,onChange:this.onChangeInitialRowCount,min:"1"}),Object(K.createElement)(X.Button,{isPrimary:!0,type:"submit"},Object(Z.__)("Create")));var h=Q()(n,r.class,{"has-fixed-layout":l,"has-background":!!r.color});return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(X.DropdownMenu,{icon:"editor-table",label:Object(Z.__)("Edit table"),controls:this.getTableControls()}))),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Table Settings"),className:"blocks-table-settings"},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Fixed width table cells"),checked:!!l,onChange:this.onChangeFixedLayout})),Object(K.createElement)(J.PanelColorSettings,{title:Object(Z.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:r.color,onChange:o,label:Object(Z.__)("Background Color"),disableCustomColors:!0,colors:io}]})),Object(K.createElement)("table",{className:h},Object(K.createElement)(d,{type:"head",rows:s}),Object(K.createElement)(d,{type:"body",rows:u}),Object(K.createElement)(d,{type:"foot",rows:b})))}}]),t}(K.Component),uo=lo("backgroundColor")(so),bo={tr:{children:{th:{children:Object(W.getPhrasingContentSchema)()},td:{children:Object(W.getPhrasingContentSchema)()}}}},mo={table:{children:{thead:{children:bo},tfoot:{children:bo},tbody:{children:bo}}}};function ho(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var po="core/table",go={title:Object(Z.__)("Table"),description:Object(Z.__)("Insert a table — perfect for sharing charts and data."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:ho("head"),body:ho("body"),foot:ho("foot")},styles:[{name:"regular",label:Object(Z._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(Z.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:mo}]},edit:uo,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(J.getColorClassName)("background-color",c),l=Q()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object(K.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object(K.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag;return Object(K.createElement)(J.RichText.Content,{tagName:r,value:n,key:t})}))}))};return Object(K.createElement)("table",{className:l},Object(K.createElement)(s,{type:"head",rows:r}),Object(K.createElement)(s,{type:"body",rows:o}),Object(K.createElement)(s,{type:"foot",rows:a}))}},Oo="core/template",jo={title:Object(Z.__)("Reusable Template"),category:"reusable",description:Object(Z.__)("Template block used as a container."),icon:Object(K.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(K.createElement)(X.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(K.createElement)(X.G,null,Object(K.createElement)(X.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object(K.createElement)(J.InnerBlocks,null)},save:function(){return Object(K.createElement)(J.InnerBlocks.Content,null)}},fo="core/text-columns",vo={supports:{inserter:!1},title:Object(Z.__)("Text Columns (deprecated)"),description:Object(Z.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(W.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(W.createBlock)("core/column",{},[Object(W.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return oo()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,null,Object(K.createElement)(X.RangeControl,{label:Object(Z.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4}))),Object(K.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(Y.times)(c,function(e){return Object(K.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(K.createElement)(J.RichText,{tagName:"p",value:Object(Y.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(U.a)(a.slice(0,e)),[{children:t}],Object(U.a)(a.slice(e+1)))})},placeholder:Object(Z.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object(K.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(Y.times)(o,function(e){return Object(K.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(K.createElement)(J.RichText.Content,{tagName:"p",value:Object(Y.get)(r,[e,"children"])}))}))}},yo="core/verse",ko={title:Object(Z.__)("Verse"),description:Object(Z.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(Z.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(W.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(J.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object(K.createElement)(J.RichText,{tagName:"pre",value:c,onChange:function(e){n({content:e})},style:{textAlign:a},placeholder:Object(Z.__)("Write…"),wrapperClassName:r,onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object(K.createElement)(J.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})},merge:function(e,t){return{content:e.content+t.content}}},wo=Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(K.createElement)(X.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),Co=["video"],Eo=["image"],_o=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object(K.createRef)(),e.posterImageButton=Object(K.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(ce.a)(Object(ce.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(Oe.isBlobURL)(i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(J.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0].url;o({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:Co})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(G.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=We({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=this.props,b=u.setAttributes,m=u.isSelected,d=u.className,h=u.noticeOperations,p=u.noticeUI,g=function(){e.setState({editing:!0})};return this.state.editing?Object(K.createElement)(J.MediaPlaceholder,{icon:Object(K.createElement)(J.BlockIcon,{icon:wo}),className:d,onSelect:function(t){if(!t||!t.url)return b({src:void 0,id:void 0}),void g();b({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:Co,value:this.props.attributes,notices:p,onError:h.createErrorNotice}):Object(K.createElement)(K.Fragment,null,Object(K.createElement)(J.BlockControls,null,Object(K.createElement)(X.Toolbar,null,Object(K.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(Z.__)("Edit video"),onClick:g,icon:"edit"}))),Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Video Settings")},Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:c}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:o}),Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Preload"),value:l,onChange:function(e){return b({preload:e})},options:[{value:"auto",label:Object(Z.__)("Auto")},{value:"metadata",label:Object(Z.__)("Metadata")},{value:"none",label:Object(Z.__)("None")}]}),Object(K.createElement)(J.MediaUploadCheck,null,Object(K.createElement)(X.BaseControl,{className:"editor-video-poster-control",label:Object(Z.__)("Poster Image")},Object(K.createElement)(J.MediaUpload,{title:Object(Z.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:Eo,render:function(t){var n=t.open;return Object(K.createElement)(X.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(Z.__)("Replace image"):Object(Z.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object(K.createElement)(X.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(Z.__)("Remove Poster Image")))))),Object(K.createElement)("figure",{className:d},Object(K.createElement)(X.Disabled,null,Object(K.createElement)("video",{controls:o,poster:i,src:s,ref:this.videoPlayer})),(!J.RichText.isEmpty(r)||m)&&Object(K.createElement)(J.RichText,{tagName:"figcaption",placeholder:Object(Z.__)("Write caption…"),value:r,onChange:function(e){return b({caption:e})},inlineToolbar:!0})))}}]),t}(K.Component),xo=Object(X.withNotices)(_o),So="core/video",To={title:Object(Z.__)("Video"),description:Object(Z.__)("Embed a video from your media library or upload a new one."),icon:wo,keywords:[Object(Z.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(W.createBlock)("core/video",{src:Object(Oe.createBlobURL)(t)})}}]},supports:{align:!0},edit:xo,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src;return Object(K.createElement)("figure",null,s&&Object(K.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s}),!J.RichText.isEmpty(r)&&Object(K.createElement)(J.RichText.Content,{tagName:"figcaption",value:r}))}},No=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(Y.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(Z.__)("- Select -"),value:""},n=Object(Y.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(U.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object(K.createElement)(J.InspectorControls,null,Object(K.createElement)(X.PanelBody,{title:Object(Z.__)("Tag Cloud Settings")},Object(K.createElement)(X.SelectControl,{label:Object(Z.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object(K.createElement)(X.ToggleControl,{label:Object(Z.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object(K.createElement)(K.Fragment,null,o,Object(K.createElement)(X.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}(K.Component),Ro=Object(le.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(No),Bo="core/tag-cloud",Ao={title:Object(Z.__)("Tag Cloud"),description:Object(Z.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:Ro,save:function(){return null}},Po=window.wp;var Io=function(e){function t(e){var n;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).call(this,e))).initialize=n.initialize.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetup=n.onSetup.bind(Object(ce.a)(Object(ce.a)(n))),n.focus=n.focus.bind(Object(ce.a)(Object(ce.a)(n))),n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),Po.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;Po.oldEditor.initialize("editor-".concat(e),{tinymce:Object(q.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",function(){return e.setContent(o)}),e.on("blur",function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",function(){t&&e.selection.moveToBookmark(t)}),!1}),e.on("mousedown touchstart",function(){t=null}),e.on("keydown",function(t){t.keyCode!==jt.BACKSPACE&&t.keyCode!==jt.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===jt.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(Z._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(Z.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())})}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object(K.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(Z.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object(K.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}(K.Component),Lo="core/freeform",Mo={title:Object(Z._x)("Classic","block title"),description:Object(Z.__)("Use the classic WordPress editor."),icon:Object(K.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(K.createElement)(X.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object(K.createElement)(X.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object(K.createElement)(X.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object(K.createElement)(X.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object(K.createElement)(X.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:Io,save:function(e){var t=e.attributes.content;return Object(K.createElement)(K.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",function(){return zo});var zo=function(){[r,o,a,i,w,c,A,l,s,u,b,m,d,h,p,g,O].concat(Object(U.a)(Ln),Object(U.a)(Mn),[j,window.wp&&window.wp.oldEditor?V:null,f,v,y,k,C,E,_,x,S,N,R,B,T,P,I,L,F,M,z,H,D]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(W.registerBlockType)(t,n)}}),Object(W.setDefaultBlockName)(pe),window.wp&&window.wp.oldEditor&&Object(W.setFreeformContentHandlerName)(Lo),Object(W.setUnregisteredTypeHandlerName)(wr)}},22:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(35);var o=n(34);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},27:function(e,t){!function(){e.exports=this.moment}()},28:function(e,t){!function(){e.exports=this.wp.apiFetch}()},3:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return r})},30:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},31:function(e,t){!function(){e.exports=this.wp.blob}()},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},34:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},36:function(e,t){!function(){e.exports=this.wp.viewport}()},4:function(e,t){!function(){e.exports=this.wp.components}()},40:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c<l;c++)if(i.args[c]!==arguments[c]){i=i.next;continue e}return i!==r&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=r,i.prev=null,r.prev=i,r=i),i.val}i=i.next}for(t=new Array(l),c=0;c<l;c++)t[c]=arguments[c];return i={args:t,val:e.apply(null,t)},r?(r.prev=i,i.next=r):o=i,a===n?(o=o.prev).next=null:a++,r=i,i.val}return t&&t.maxSize&&(n=t.maxSize),c.clear=function(){r=null,o=null,a=0},c}},47:function(e,t){!function(){e.exports=this.wp.date}()},5:function(e,t){!function(){e.exports=this.wp.data}()},50:function(e,t){!function(){e.exports=this.wp.deprecated}()},51:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},55:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},6:function(e,t){!function(){e.exports=this.wp.editor}()},60:function(e,t){!function(){e.exports=this.wp.autop}()},63:function(e,t,n){var r;
13
  /*!
14
  Copyright (c) 2016 Jed Watson.
15
  Licensed under the MIT License (MIT), see
@@ -20,4 +20,4 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t
20
  Licensed under the MIT License (MIT), see
21
  http://jedwatson.github.io/classnames
22
  */
23
- !function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)o(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function o(e,o){if(o){var a=typeof o;"string"===a?function(e,t){for(var n=t.split(r),o=n.length,a=0;a<o;++a)e[n[a]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===a?function(e,t){for(var r in t)n.call(t,r)&&(e[r]=!!t[r])}(e,o):"number"===a&&function(e,t){e[t]=!0}(e,o)}}return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=new e;t(a,r);var c=[];for(var i in a)a[i]&&c.push(i);return c.join(" ")}}();void 0!==e&&e.exports?e.exports=n:void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},7:function(e,t){!function(){e.exports=this.wp.compose}()},75:function(e,t,n){"use strict";var r=n(124),o=n(122);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=f,t.resolve=function(e,t){return f(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?f(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=f(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var c=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},j=n(121);function f(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a<e.indexOf("#")?"?":"#",s=e.split(i);s[0]=s[0].replace(/\\/g,"/");var f=e=s.join(i);if(f=f.trim(),!n&&1===e.split("#").length){var v=l.exec(f);if(v)return this.path=f,this.href=f,this.pathname=v[1],v[2]?(this.search=v[2],this.query=t?j.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=c.exec(f);if(y){var k=(y=y[0]).toLowerCase();this.protocol=k,f=f.substr(y.length)}if(n||y||f.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===f.substr(0,2);!w||y&&g[y]||(f=f.substr(2),this.slashes=!0)}if(!g[y]&&(w||y&&!O[y])){for(var C,E,_=-1,x=0;x<m.length;x++){-1!==(S=f.indexOf(m[x]))&&(-1===_||S<_)&&(_=S)}-1!==(E=-1===_?f.lastIndexOf("@"):f.lastIndexOf("@",_))&&(C=f.slice(0,E),f=f.slice(E+1),this.auth=decodeURIComponent(C)),_=-1;for(x=0;x<b.length;x++){var S;-1!==(S=f.indexOf(b[x]))&&(-1===_||S<_)&&(_=S)}-1===_&&(_=f.length),this.host=f.slice(0,_),f=f.slice(_),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var N=this.hostname.split(/\./),R=(x=0,N.length);x<R;x++){var B=N[x];if(B&&!B.match(d)){for(var A="",P=0,I=B.length;P<I;P++)B.charCodeAt(P)>127?A+="x":A+=B[P];if(!A.match(d)){var L=N.slice(0,x),M=N.slice(x+1),z=B.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(f="/"+M.join(".")+f),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==f[0]&&(f="/"+f))}if(!p[k])for(x=0,R=u.length;x<R;x++){var F=u[x];if(-1!==f.indexOf(F)){var V=encodeURIComponent(F);V===F&&(V=escape(F)),f=f.split(F).join(V)}}var U=f.indexOf("#");-1!==U&&(this.hash=f.substr(U),f=f.slice(0,U));var W=f.indexOf("?");if(-1!==W?(this.search=f.substr(W),this.query=f.substr(W+1),t&&(this.query=j.parse(this.query)),f=f.slice(0,W)):t&&(this.search="",this.query={}),f&&(this.pathname=f),O[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var G=this.search||"";this.path=H+G}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,c="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(c=j.stringify(this.query));var i=this.search||c&&"?"+c||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||O[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),i&&"?"!==i.charAt(0)&&(i="?"+i),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(i=i.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(f(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(o.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),c=0;c<r.length;c++){var i=r[c];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];"protocol"!==u&&(n[u]=e[u])}return O[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!O[e.protocol]){for(var b=Object.keys(e),m=0;m<b.length;m++){var d=b[m];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",j=n.search||"";n.path=p+j}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var f=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||f||n.host&&e.pathname,k=y,w=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!O[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===w[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=w.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=w.slice(-1)[0],_=(n.host||e.host||w.length>1)&&("."===E||".."===E)||""===E,x=0,S=w.length;S>=0;S--)"."===(E=w[S])?w.splice(S,1):".."===E?(w.splice(S,1),x++):x&&(w.splice(S,1),x--);if(!y&&!k)for(;x--;x)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),_&&"/"!==w.join("/").substr(-1)&&w.push("");var T,N=""===w[0]||w[0]&&"/"===w[0].charAt(0);C&&(n.hostname=n.host=N?"":w.length?w.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&w.length)&&!N&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},8:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(15);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){Object(r.a)(e,t,n[t])})}return e}},82:function(e,t){!function(){e.exports=this.wp.coreData}()},9:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){return o})}});
1
+ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},11:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(29),o=n(3);function a(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},12:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",function(){return o})},121:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(c(e),function(c){var i=encodeURIComponent(r(c))+n;return o(e[c])?a(e[c],function(e){return i+encodeURIComponent(r(e))}).join(t):i+encodeURIComponent(r(e[c]))}).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},122:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var i=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u<s;++u){var b,m,d,h,p=e[u].replace(i,"%20"),g=p.indexOf(n);g>=0?(b=p.substr(0,g),m=p.substr(g+1)):(b=p,m=""),d=decodeURIComponent(b),h=decodeURIComponent(m),r(c,d)?o(c[d])?c[d].push(h):c[d]=[c[d],h]:c[d]=h}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},123:function(e,t,n){"use strict";t.decode=t.parse=n(122),t.encode=t.stringify=n(121)},124:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},125:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},126:function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(a){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var i,l=2147483647,s=36,u=1,b=26,m=38,d=700,h=72,p=128,g="-",O=/^xn--/,j=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=s-u,k=Math.floor,w=String.fromCharCode;function C(e){throw new RangeError(v[e])}function E(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function _(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+E((e=e.replace(f,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function S(e){return E(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function T(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:s}function N(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?k(e/d):e>>1,e+=k(e/t);e>y*b>>1;r+=s)e=k(e/y);return k(r+(y+1)*e/(e+m))}function B(e){var t,n,r,o,a,c,i,m,d,O,j=[],f=e.length,v=0,y=p,w=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&C("not-basic"),j.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<f;){for(a=v,c=1,i=s;o>=f&&C("invalid-input"),((m=T(e.charCodeAt(o++)))>=s||m>k((l-v)/c))&&C("overflow"),v+=m*c,!(m<(d=i<=w?u:i>=w+b?b:i-w));i+=s)c>k(l/(O=s-d))&&C("overflow"),c*=O;w=R(v-a,t=j.length+1,0==a),k(v/t)>l-y&&C("overflow"),y+=k(v/t),v%=t,j.splice(v++,0,y)}return S(j)}function A(e){var t,n,r,o,a,c,i,m,d,O,j,f,v,y,E,_=[];for(f=(e=x(e)).length,t=p,n=0,a=h,c=0;c<f;++c)(j=e[c])<128&&_.push(w(j));for(r=o=_.length,o&&_.push(g);r<f;){for(i=l,c=0;c<f;++c)(j=e[c])>=t&&j<i&&(i=j);for(i-t>k((l-n)/(v=r+1))&&C("overflow"),n+=(i-t)*v,t=i,c=0;c<f;++c)if((j=e[c])<t&&++n>l&&C("overflow"),j==t){for(m=n,d=s;!(m<(O=d<=a?u:d>=a+b?b:d-a));d+=s)E=m-O,y=s-O,_.push(w(N(O+E%y,0))),m=k(E/y);_.push(w(N(m,0))),a=R(n,v,r==o),n=0,++r}++n,++t}return _.join("")}i={version:"1.4.1",ucs2:{decode:x,encode:S},decode:B,encode:A,toASCII:function(e){return _(e,function(e){return j.test(e)?"xn--"+A(e):e})},toUnicode:function(e){return _(e,function(e){return O.test(e)?B(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(125)(e),n(55))},13:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return r})},14:function(e,t){!function(){e.exports=this.wp.blocks}()},15:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},16:function(e,t,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},17:function(e,t){!function(){e.exports=this.wp.keycodes}()},18:function(e,t,n){"use strict";var r=n(32);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return o})},19:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",function(){return r})},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.richText}()},21:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},217:function(e,t,n){"use strict";n.r(t);var r={};n.d(r,"name",function(){return pe}),n.d(r,"settings",function(){return ge});var o={};n.d(o,"name",function(){return et}),n.d(o,"settings",function(){return at});var a={};n.d(a,"getLevelFromHeadingNodeName",function(){return lt}),n.d(a,"name",function(){return mt}),n.d(a,"settings",function(){return dt});var c={};n.d(c,"name",function(){return gt}),n.d(c,"settings",function(){return Ot});var i={};n.d(i,"name",function(){return Tt}),n.d(i,"settings",function(){return Rt});var l={};n.d(l,"name",function(){return Bt}),n.d(l,"settings",function(){return At});var s={};n.d(s,"name",function(){return zt}),n.d(s,"settings",function(){return Ht});var u={};n.d(u,"name",function(){return Gt}),n.d(u,"settings",function(){return Kt});var b={};n.d(b,"name",function(){return en}),n.d(b,"settings",function(){return tn});var m={};n.d(m,"name",function(){return on}),n.d(m,"settings",function(){return an});var d={};n.d(d,"name",function(){return cn}),n.d(d,"settings",function(){return ln});var h={};n.d(h,"name",function(){return mn}),n.d(h,"settings",function(){return dn});var p={};n.d(p,"name",function(){return hn}),n.d(p,"settings",function(){return pn});var g={};n.d(g,"name",function(){return jn}),n.d(g,"settings",function(){return vn});var O={};n.d(O,"name",function(){return Pn}),n.d(O,"settings",function(){return In}),n.d(O,"common",function(){return Ln}),n.d(O,"others",function(){return Mn});var j={};n.d(j,"name",function(){return Vn}),n.d(j,"settings",function(){return Un});var f={};n.d(f,"name",function(){return qn}),n.d(f,"settings",function(){return Kn});var v={};n.d(v,"name",function(){return nr}),n.d(v,"settings",function(){return or});var y={};n.d(y,"name",function(){return cr}),n.d(y,"settings",function(){return ir});var k={};n.d(k,"name",function(){return hr}),n.d(k,"settings",function(){return pr});var w={};n.d(w,"name",function(){return fr}),n.d(w,"settings",function(){return vr});var C={};n.d(C,"name",function(){return kr}),n.d(C,"settings",function(){return wr});var E={};n.d(E,"name",function(){return Er}),n.d(E,"settings",function(){return _r});var _={};n.d(_,"name",function(){return xr}),n.d(_,"settings",function(){return Sr});var x={};n.d(x,"name",function(){return Tr}),n.d(x,"settings",function(){return Nr});var S={};n.d(S,"name",function(){return Ir}),n.d(S,"settings",function(){return Lr});var T={};n.d(T,"name",function(){return Vr}),n.d(T,"settings",function(){return Ur});var N={};n.d(N,"name",function(){return Gr}),n.d(N,"settings",function(){return qr});var R={};n.d(R,"name",function(){return Kr}),n.d(R,"settings",function(){return $r});var B={};n.d(B,"name",function(){return Qr}),n.d(B,"settings",function(){return Yr});var A={};n.d(A,"name",function(){return Jr}),n.d(A,"settings",function(){return Xr});var P={};n.d(P,"name",function(){return eo}),n.d(P,"settings",function(){return to});var I={};n.d(I,"name",function(){return oo}),n.d(I,"settings",function(){return ao});var L={};n.d(L,"name",function(){return ho}),n.d(L,"settings",function(){return po});var M={};n.d(M,"name",function(){return go}),n.d(M,"settings",function(){return Oo});var z={};n.d(z,"name",function(){return jo}),n.d(z,"settings",function(){return fo});var H={};n.d(H,"name",function(){return vo}),n.d(H,"settings",function(){return yo});var D={};n.d(D,"name",function(){return xo}),n.d(D,"settings",function(){return So});var F={};n.d(F,"name",function(){return Ro}),n.d(F,"settings",function(){return Bo});var V={};n.d(V,"name",function(){return Io}),n.d(V,"settings",function(){return Lo});var U=n(18),W=(n(84),n(59),n(6)),G=n(14),q=n(15),K=n(8),$=n(0),Q=n(16),Y=n.n(Q),Z=n(2),J=n(1),X=n(4),ee=n(19),te=n(10),ne=n(9),re=n(11),oe=n(13),ae=n(12),ce=n(3),ie=n(7),le=n(5),se=window.getComputedStyle,ue=Object(X.withFallbackStyles)(function(e,t){var n=t.attributes,r=n.textColor,o=n.backgroundColor,a=n.fontSize,c=n.customFontSize,i=e.querySelector('[contenteditable="true"]'),l=i?se(i):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor,fallbackTextColor:r||!l?void 0:l.color,fallbackFontSize:a||c||!l?void 0:parseInt(l.fontSize)||void 0}}),be=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onReplace=e.onReplace.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleDropCap=e.toggleDropCap.bind(Object(ce.a)(Object(ce.a)(e))),e.splitBlock=e.splitBlock.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onReplace",value:function(e){var t=this.props,n=t.attributes,r=t.onReplace;r(e.map(function(e,t){return 0===t&&"core/paragraph"===e.name?Object(K.a)({},e,{attributes:Object(K.a)({},n,e.attributes)}):e}))}},{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"getDropCapHelp",value:function(e){return e?Object(J.__)("Showing large initial letter."):Object(J.__)("Toggle to show a large initial letter.")}},{key:"splitBlock",value:function(e,t){for(var n=this.props,r=n.attributes,o=n.insertBlocksAfter,a=n.setAttributes,c=n.onReplace,i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];null!==t&&l.push(Object(G.createBlock)("core/paragraph",{content:t})),l.length&&o&&o(l);var u=r.content;null===e?c([]):u!==e&&a({content:e})}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.setAttributes,o=t.mergeBlocks,a=t.onReplace,c=t.className,i=t.backgroundColor,l=t.textColor,s=t.setBackgroundColor,u=t.setTextColor,b=t.fallbackBackgroundColor,m=t.fallbackTextColor,d=t.fallbackFontSize,h=t.fontSize,p=t.setFontSize,g=t.isRTL,O=n.align,j=n.content,f=n.dropCap,v=n.placeholder,y=n.direction;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:O,onChange:function(e){r({align:e})}}),g&&Object($.createElement)(X.Toolbar,{controls:[{icon:"editor-ltr",title:Object(J._x)("Left to right","editor button"),isActive:"ltr"===y,onClick:function(){r({direction:"ltr"===y?void 0:"ltr"})}}]})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Text Settings"),className:"blocks-font-size"},Object($.createElement)(W.FontSizePicker,{fallbackFontSize:d,value:h.size,onChange:p}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Drop Cap"),checked:!!f,onChange:this.toggleDropCap,help:this.getDropCapHelp})),Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:i.color,onChange:s,label:Object(J.__)("Background Color")},{value:l.color,onChange:u,label:Object(J.__)("Text Color")}]},Object($.createElement)(W.ContrastChecker,Object(ee.a)({textColor:l.color,backgroundColor:i.color,fallbackTextColor:m,fallbackBackgroundColor:b},{fontSize:h.size})))),Object($.createElement)(W.RichText,{identifier:"content",tagName:"p",className:Y()("wp-block-paragraph",c,(e={"has-text-color":l.color,"has-background":i.color,"has-drop-cap":f},Object(q.a)(e,i.class,i.class),Object(q.a)(e,l.class,l.class),Object(q.a)(e,h.class,h.class),e)),style:{backgroundColor:i.color,color:l.color,fontSize:h.size?h.size+"px":void 0,textAlign:O,direction:y},value:j,onChange:function(e){r({content:e})},unstableOnSplit:this.splitBlock,onMerge:o,onReplace:this.onReplace,onRemove:function(){return a([])},"aria-label":j?Object(J.__)("Paragraph block"):Object(J.__)("Empty block; start writing or type forward slash to choose a block"),placeholder:v||Object(J.__)("Start writing or type / to choose a block")}))}}]),t}($.Component),me=Object(ie.compose)([Object(W.withColors)("backgroundColor",{textColor:"color"}),Object(W.withFontSizes)("fontSize"),ue,Object(le.withSelect)(function(e){return{isRTL:(0,e("core/block-editor").getSettings)().isRTL}})])(be),de={className:!1},he={content:{type:"string",source:"html",selector:"p",default:""},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},direction:{type:"string",enum:["ltr","rtl"]}},pe="core/paragraph",ge={title:Object(J.__)("Paragraph"),description:Object(J.__)("Start with the building block of all narrative."),icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M11 5v7H9.5C7.6 12 6 10.4 6 8.5S7.6 5 9.5 5H11m8-2H9.5C6.5 3 4 5.5 4 8.5S6.5 14 9.5 14H11v7h2V5h2v16h2V5h2V3z"})),category:"common",keywords:[Object(J.__)("text")],supports:de,attributes:he,transforms:{from:[{type:"raw",priority:20,selector:"p",schema:{p:{children:Object(G.getPhrasingContentSchema)()}}}]},deprecated:[{supports:de,attributes:Object(K.a)({},he,{width:{type:"string"}}),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.customBackgroundColor,u=n.customTextColor,b=n.fontSize,m=n.customFontSize,d=Object(W.getColorClassName)("color",l),h=Object(W.getColorClassName)("background-color",i),p=b&&"is-".concat(b,"-text"),g=Y()((t={},Object(q.a)(t,"align".concat(r),r),Object(q.a)(t,"has-background",i||s),Object(q.a)(t,"has-drop-cap",c),Object(q.a)(t,p,p),Object(q.a)(t,d,d),Object(q.a)(t,h,h),t)),O={backgroundColor:h?void 0:s,color:d?void 0:u,fontSize:p?void 0:m,textAlign:o};return Object($.createElement)(W.RichText.Content,{tagName:"p",style:O,className:g||void 0,value:a})}},{supports:de,attributes:Object(Z.omit)(Object(K.a)({},he,{fontSize:{type:"number"}}),"customFontSize","customTextColor","customBackgroundColor"),save:function(e){var t,n=e.attributes,r=n.width,o=n.align,a=n.content,c=n.dropCap,i=n.backgroundColor,l=n.textColor,s=n.fontSize,u=Y()((t={},Object(q.a)(t,"align".concat(r),r),Object(q.a)(t,"has-background",i),Object(q.a)(t,"has-drop-cap",c),t)),b={backgroundColor:i,color:l,fontSize:s,textAlign:o};return Object($.createElement)("p",{style:b,className:u||void 0},a)},migrate:function(e){return Object(Z.omit)(Object(K.a)({},e,{customFontSize:Object(Z.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}),["fontSize","textColor","backgroundColor"])}},{supports:de,attributes:Object(K.a)({},he,{content:{type:"string",source:"html",default:""}}),save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.content)},migrate:function(e){return e}}],merge:function(e,t){return{content:e.content+t.content}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:me,save:function(e){var t,n=e.attributes,r=n.align,o=n.content,a=n.dropCap,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=n.fontSize,b=n.customFontSize,m=n.direction,d=Object(W.getColorClassName)("color",i),h=Object(W.getColorClassName)("background-color",c),p=Object(W.getFontSizeClass)(u),g=Y()((t={"has-text-color":i||s,"has-background":c||l,"has-drop-cap":a},Object(q.a)(t,p,p),Object(q.a)(t,d,d),Object(q.a)(t,h,h),t)),O={backgroundColor:h?void 0:l,color:d?void 0:s,fontSize:p?void 0:b,textAlign:r};return Object($.createElement)(W.RichText.Content,{tagName:"p",style:O,className:g||void 0,value:o,dir:m})}},Oe=n(31),je=n(25),fe=n(22),ve=n(36),ye=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"M19,4H5C3.89,4,3,4.9,3,6v12c0,1.1,0.89,2,2,2h14c1.1,0,2-0.9,2-2V6C21,4.9,20.11,4,19,4z M19,18H5V8h14V18z"})),ke=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"})),we=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"M21,4H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,18H3V6h18V18z"}),Object($.createElement)(X.Polygon,{points:"14.5 11 11 15.51 8.5 12.5 5 17 19 17"})),Ce=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"m10 8v8l5-4-5-4zm9-5h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2zm0 16h-14v-14h14v14z"})),Ee={foreground:"#1da1f2",src:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},_e={foreground:"#ff0000",src:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},xe={foreground:"#3b5998",src:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},Se=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),Te={foreground:"#0073AA",src:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},Ne={foreground:"#1db954",src:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},Re=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),Be={foreground:"#1ab7ea",src:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},Ae=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Pe={foreground:"#35465c",src:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))},Ie=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object($.createElement)(X.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object($.createElement)(X.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),Le=[{name:"core-embed/twitter",settings:{title:"Twitter",icon:Ee,keywords:["tweet"],description:Object(J.__)("Embed a tweet.")},patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i]},{name:"core-embed/youtube",settings:{title:"YouTube",icon:_e,keywords:[Object(J.__)("music"),Object(J.__)("video")],description:Object(J.__)("Embed a YouTube video.")},patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i]},{name:"core-embed/facebook",settings:{title:"Facebook",icon:xe,description:Object(J.__)("Embed a Facebook post.")},patterns:[/^https?:\/\/www\.facebook.com\/.+/i]},{name:"core-embed/instagram",settings:{title:"Instagram",icon:Se,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed an Instagram post.")},patterns:[/^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i]},{name:"core-embed/wordpress",settings:{title:"WordPress",icon:Te,keywords:[Object(J.__)("post"),Object(J.__)("blog")],responsive:!1,description:Object(J.__)("Embed a WordPress post.")}},{name:"core-embed/soundcloud",settings:{title:"SoundCloud",icon:ke,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed SoundCloud content.")},patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i]},{name:"core-embed/spotify",settings:{title:"Spotify",icon:Ne,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Spotify content.")},patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i]},{name:"core-embed/flickr",settings:{title:"Flickr",icon:Re,keywords:[Object(J.__)("image")],description:Object(J.__)("Embed Flickr content.")},patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i]},{name:"core-embed/vimeo",settings:{title:"Vimeo",icon:Be,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a Vimeo video.")},patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i]}],Me=[{name:"core-embed/animoto",settings:{title:"Animoto",icon:Ce,description:Object(J.__)("Embed an Animoto video.")},patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i]},{name:"core-embed/cloudup",settings:{title:"Cloudup",icon:ye,description:Object(J.__)("Embed Cloudup content.")},patterns:[/^https?:\/\/cloudup\.com\/.+/i]},{name:"core-embed/collegehumor",settings:{title:"CollegeHumor",icon:Ce,description:Object(J.__)("Embed CollegeHumor content.")},patterns:[/^https?:\/\/(www\.)?collegehumor\.com\/.+/i]},{name:"core-embed/crowdsignal",settings:{title:"Crowdsignal",icon:ye,keywords:["polldaddy"],transform:[{type:"block",blocks:["core-embed/polldaddy"],transform:function(e){return Object(G.createBlock)("core-embed/crowdsignal",{content:e})}}],description:Object(J.__)("Embed Crowdsignal (formerly Polldaddy) content.")},patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i]},{name:"core-embed/dailymotion",settings:{title:"Dailymotion",icon:Ce,description:Object(J.__)("Embed a Dailymotion video.")},patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i]},{name:"core-embed/hulu",settings:{title:"Hulu",icon:Ce,description:Object(J.__)("Embed Hulu content.")},patterns:[/^https?:\/\/(www\.)?hulu\.com\/.+/i]},{name:"core-embed/imgur",settings:{title:"Imgur",icon:we,description:Object(J.__)("Embed Imgur content.")},patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i]},{name:"core-embed/issuu",settings:{title:"Issuu",icon:ye,description:Object(J.__)("Embed Issuu content.")},patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i]},{name:"core-embed/kickstarter",settings:{title:"Kickstarter",icon:ye,description:Object(J.__)("Embed Kickstarter content.")},patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i]},{name:"core-embed/meetup-com",settings:{title:"Meetup.com",icon:ye,description:Object(J.__)("Embed Meetup.com content.")},patterns:[/^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i]},{name:"core-embed/mixcloud",settings:{title:"Mixcloud",icon:ke,keywords:[Object(J.__)("music"),Object(J.__)("audio")],description:Object(J.__)("Embed Mixcloud content.")},patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i]},{name:"core-embed/polldaddy",settings:{title:"Polldaddy",icon:ye,description:Object(J.__)("Embed Polldaddy content."),supports:{inserter:!1}},patterns:[]},{name:"core-embed/reddit",settings:{title:"Reddit",icon:Ae,description:Object(J.__)("Embed a Reddit thread.")},patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i]},{name:"core-embed/reverbnation",settings:{title:"ReverbNation",icon:ke,description:Object(J.__)("Embed ReverbNation content.")},patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i]},{name:"core-embed/screencast",settings:{title:"Screencast",icon:Ce,description:Object(J.__)("Embed Screencast content.")},patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i]},{name:"core-embed/scribd",settings:{title:"Scribd",icon:ye,description:Object(J.__)("Embed Scribd content.")},patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i]},{name:"core-embed/slideshare",settings:{title:"Slideshare",icon:ye,description:Object(J.__)("Embed Slideshare content.")},patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i]},{name:"core-embed/smugmug",settings:{title:"SmugMug",icon:we,description:Object(J.__)("Embed SmugMug content.")},patterns:[/^https?:\/\/(www\.)?smugmug\.com\/.+/i]},{name:"core-embed/speaker",settings:{title:"Speaker",icon:ke,supports:{inserter:!1}},patterns:[]},{name:"core-embed/speaker-deck",settings:{title:"Speaker Deck",icon:ye,transform:[{type:"block",blocks:["core-embed/speaker"],transform:function(e){return Object(G.createBlock)("core-embed/speaker-deck",{content:e})}}],description:Object(J.__)("Embed Speaker Deck content.")},patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i]},{name:"core-embed/ted",settings:{title:"TED",icon:Ce,description:Object(J.__)("Embed a TED video.")},patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i]},{name:"core-embed/tumblr",settings:{title:"Tumblr",icon:Pe,description:Object(J.__)("Embed a Tumblr post.")},patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i]},{name:"core-embed/videopress",settings:{title:"VideoPress",icon:Ce,keywords:[Object(J.__)("video")],description:Object(J.__)("Embed a VideoPress video.")},patterns:[/^https?:\/\/videopress\.com\/.+/i]},{name:"core-embed/wordpress-tv",settings:{title:"WordPress.tv",icon:Ce,description:Object(J.__)("Embed a WordPress.tv video.")},patterns:[/^https?:\/\/wordpress\.tv\/.+/i]},{name:"core-embed/amazon-kindle",settings:{title:"Amazon Kindle",icon:Ie,keywords:[Object(J.__)("ebook")],responsive:!1,description:Object(J.__)("Embed Amazon Kindle content.")},patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i]}],ze=["facebook.com","smugmug.com"],He=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],De=n(64),Fe=n.n(De),Ve=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some(function(t){return e.match(t)})},Ue=function(e){return Object(Z.includes)(e,'class="wp-embedded-content" data-secret')},We=function(e,t){var n=e.preview,r=e.name,o=e.attributes.url;if(o){var a=function(e){for(var t=[].concat(Object(U.a)(Le),Object(U.a)(Me)),n=0;n<t.length;n++){var r=t[n];if(Ve(e,r.patterns))return r.name}return"core/embed"}(o);if("core-embed/wordpress"!==r&&"core/embed"!==a&&r!==a)return Object(G.createBlock)(a,{url:o});if(n){var c=n.html;if(Ue(c)&&"core-embed/wordpress"!==r)return Object(G.createBlock)("core-embed/wordpress",Object(K.a)({url:o},t))}}};function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n){for(var r={"wp-has-aspect-ratio":!1},o=0;o<He.length;o++){r[He[o].className]=!1}return Fe()(t,r)}var a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;var c=a.body.querySelector("iframe");if(c&&c.height&&c.width)for(var i=(c.width/c.height).toFixed(2),l=0;l<He.length;l++){var s,u=He[l];if(i>=u.ratio)return Fe()(t,(s={},Object(q.a)(s,u.className,n),Object(q.a)(s,"wp-has-aspect-ratio",n),s))}return t}var qe=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object($.createElement)(X.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"}));var Ke=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(Object(ce.a)(Object(ce.a)(e))),e.calculateSize=e.calculateSize.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=Z.noop)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=function(e,t){var n=t.clientWidth,r=e.width>n,o=e.height/e.width;return{width:r?n:e.width,height:r?n*o:e.height}}(this.image,this.container),t=e.width,n=e.height;this.setState({width:t,height:n})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return Object($.createElement)("div",{ref:this.bindContainer},this.props.children(e))}}]),t}($.Component),$e=Object(ie.withGlobalEvents)({resize:"calculateSize"})(Ke),Qe=["image"],Ye=function(e){var t=Object(Z.pick)(e,["alt","id","link","caption"]);return t.url=Object(Z.get)(e,["sizes","large","url"])||Object(Z.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Ze=function(e,t){return!e&&Object(Oe.isBlobURL)(t)},Je=function(e){function t(e){var n,r=e.attributes;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).updateAlt=n.updateAlt.bind(Object(ce.a)(Object(ce.a)(n))),n.updateAlignment=n.updateAlignment.bind(Object(ce.a)(Object(ce.a)(n))),n.onFocusCaption=n.onFocusCaption.bind(Object(ce.a)(Object(ce.a)(n))),n.onImageClick=n.onImageClick.bind(Object(ce.a)(Object(ce.a)(n))),n.onSelectImage=n.onSelectImage.bind(Object(ce.a)(Object(ce.a)(n))),n.onSelectURL=n.onSelectURL.bind(Object(ce.a)(Object(ce.a)(n))),n.updateImageURL=n.updateImageURL.bind(Object(ce.a)(Object(ce.a)(n))),n.updateWidth=n.updateWidth.bind(Object(ce.a)(Object(ce.a)(n))),n.updateHeight=n.updateHeight.bind(Object(ce.a)(Object(ce.a)(n))),n.updateDimensions=n.updateDimensions.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetCustomHref=n.onSetCustomHref.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkClass=n.onSetLinkClass.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkRel=n.onSetLinkRel.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetLinkDestination=n.onSetLinkDestination.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetNewTab=n.onSetNewTab.bind(Object(ce.a)(Object(ce.a)(n))),n.getFilename=n.getFilename.bind(Object(ce.a)(Object(ce.a)(n))),n.toggleIsEditing=n.toggleIsEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.onUploadError=n.onUploadError.bind(Object(ce.a)(Object(ce.a)(n))),n.onImageError=n.onImageError.bind(Object(ce.a)(Object(ce.a)(n))),n.state={captionFocused:!1,isEditing:!r.url},n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.noticeOperations,a=n.id,c=n.url,i=void 0===c?"":c;if(Ze(a,i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(W.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0];r(Ye(t))},allowedTypes:Qe,onError:function(t){o.createErrorNotice(t),e.setState({isEditing:!0})}})}}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,a=this.props.attributes,c=a.id,i=a.url,l=void 0===i?"":i;Ze(n,o)&&!Ze(c,l)&&Object(Oe.revokeBlobURL)(l),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"onUploadError",value:function(e){this.props.noticeOperations.createErrorNotice(e),this.setState({isEditing:!0})}},{key:"onSelectImage",value:function(e){e&&e.url?(this.setState({isEditing:!1}),this.props.setAttributes(Object(K.a)({},Ye(e),{width:void 0,height:void 0}))):this.props.setAttributes({url:void 0,alt:void 0,id:void 0,caption:void 0})}},{key:"onSetLinkDestination",value:function(e){var t;t="none"===e?void 0:"media"===e?this.props.image&&this.props.image.source_url||this.props.attributes.url:"attachment"===e?this.props.image&&this.props.image.link:this.props.attributes.href,this.props.setAttributes({linkDestination:e,href:t})}},{key:"onSelectURL",value:function(e){e!==this.props.attributes.url&&this.props.setAttributes({url:e,id:void 0}),this.setState({isEditing:!1})}},{key:"onImageError",value:function(e){var t=We({attributes:{url:e}});void 0!==t&&this.props.onReplace(t)}},{key:"onSetCustomHref",value:function(e){this.props.setAttributes({href:e})}},{key:"onSetLinkClass",value:function(e){this.props.setAttributes({linkClass:e})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onFocusCaption",value:function(){this.state.captionFocused||this.setState({captionFocused:!0})}},{key:"onImageClick",value:function(){this.state.captionFocused&&this.setState({captionFocused:!1})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(Object(K.a)({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e,width:void 0,height:void 0})}},{key:"updateWidth",value:function(e){this.props.setAttributes({width:parseInt(e,10)})}},{key:"updateHeight",value:function(e){this.props.setAttributes({height:parseInt(e,10)})}},{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.setAttributes({width:t,height:n})}}},{key:"getFilename",value:function(e){var t=Object(fe.getPath)(e);if(t)return Object(Z.last)(t.split("/"))}},{key:"getLinkDestinationOptions",value:function(){return[{value:"none",label:Object(J.__)("None")},{value:"media",label:Object(J.__)("Media File")},{value:"attachment",label:Object(J.__)("Attachment Page")},{value:"custom",label:Object(J.__)("Custom URL")}]}},{key:"toggleIsEditing",value:function(){this.setState({isEditing:!this.state.isEditing})}},{key:"getImageSizeOptions",value:function(){var e=this.props,t=e.imageSizes,n=e.image;return Object(Z.compact)(Object(Z.map)(t,function(e){var t=e.name,r=e.slug,o=Object(Z.get)(n,["media_details","sizes",r,"source_url"]);return o?{value:o,label:t}:null}))}},{key:"render",value:function(){var e,t=this,n=this.state.isEditing,r=this.props,o=r.attributes,a=r.setAttributes,c=r.isLargeViewport,i=r.isSelected,l=r.className,s=r.maxWidth,u=r.noticeUI,b=r.toggleSelection,m=r.isRTL,d=o.url,h=o.alt,p=o.caption,g=o.align,O=o.id,j=o.href,f=o.rel,v=o.linkClass,y=o.linkDestination,k=o.width,w=o.height,C=o.linkTarget,E=function(e,t){return t&&!e&&!Object(Oe.isBlobURL)(t)}(O,d);d&&(e=E?Object($.createElement)(X.Toolbar,null,Object($.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit image"),onClick:this.toggleIsEditing,icon:"edit"})):Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:this.onSelectImage,allowedTypes:Qe,value:O,render:function(e){var t=e.open;return Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit image"),icon:"edit",onClick:t})}}))));var _=Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:g,onChange:this.updateAlignment}),e);if(n||!d){var x=E?d:void 0;return Object($.createElement)($.Fragment,null,_,Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:qe}),className:l,onSelect:this.onSelectImage,onSelectURL:this.onSelectURL,notices:u,onError:this.onUploadError,accept:"image/*",allowedTypes:Qe,value:{id:O,src:x}}))}var S=Y()(l,{"is-transient":Object(Oe.isBlobURL)(d),"is-resized":!!k||!!w,"is-focused":i}),T=-1===["wide","full"].indexOf(g)&&c,N="custom"!==y,R=this.getImageSizeOptions(),B=function(e,n){return Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Image Settings")},Object($.createElement)(X.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:h,onChange:t.updateAlt,help:Object(J.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}),!Object(Z.isEmpty)(R)&&Object($.createElement)(X.SelectControl,{label:Object(J.__)("Image Size"),value:d,options:R,onChange:t.updateImageURL}),T&&Object($.createElement)("div",{className:"block-library-image__dimensions"},Object($.createElement)("p",{className:"block-library-image__dimensions__row"},Object(J.__)("Image Dimensions")),Object($.createElement)("div",{className:"block-library-image__dimensions__row"},Object($.createElement)(X.TextControl,{type:"number",className:"block-library-image__dimensions__width",label:Object(J.__)("Width"),value:void 0!==k?k:e,min:1,onChange:t.updateWidth}),Object($.createElement)(X.TextControl,{type:"number",className:"block-library-image__dimensions__height",label:Object(J.__)("Height"),value:void 0!==w?w:n,min:1,onChange:t.updateHeight})),Object($.createElement)("div",{className:"block-library-image__dimensions__row"},Object($.createElement)(X.ButtonGroup,{"aria-label":Object(J.__)("Image Size")},[25,50,75,100].map(function(r){var o=Math.round(e*(r/100)),a=Math.round(n*(r/100)),c=k===o&&w===a;return Object($.createElement)(X.Button,{key:r,isSmall:!0,isPrimary:c,"aria-pressed":c,onClick:t.updateDimensions(o,a)},r,"%")})),Object($.createElement)(X.Button,{isSmall:!0,onClick:t.updateDimensions()},Object(J.__)("Reset"))))),Object($.createElement)(X.PanelBody,{title:Object(J.__)("Link Settings")},Object($.createElement)(X.SelectControl,{label:Object(J.__)("Link To"),value:y,options:t.getLinkDestinationOptions(),onChange:t.onSetLinkDestination}),"none"!==y&&Object($.createElement)($.Fragment,null,Object($.createElement)(X.TextControl,{label:Object(J.__)("Link URL"),value:j||"",onChange:t.onSetCustomHref,placeholder:N?void 0:"https://",readOnly:N}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Open in New Tab"),onChange:t.onSetNewTab,checked:"_blank"===C}),Object($.createElement)(X.TextControl,{label:Object(J.__)("Link CSS Class"),value:v||"",onChange:t.onSetLinkClass}),Object($.createElement)(X.TextControl,{label:Object(J.__)("Link Rel"),value:f||"",onChange:t.onSetLinkRel}))))};return Object($.createElement)($.Fragment,null,_,Object($.createElement)("figure",{className:S},Object($.createElement)($e,{src:d,dirtynessTrigger:g},function(e){var n,r=e.imageWidthWithinContainer,o=e.imageHeightWithinContainer,c=e.imageWidth,i=e.imageHeight,l=t.getFilename(d);n=h||(l?Object(J.sprintf)(Object(J.__)("This image has an empty alt attribute; its file name is %s"),l):Object(J.__)("This image has an empty alt attribute"));var u=Object($.createElement)($.Fragment,null,Object($.createElement)("img",{src:d,alt:n,onClick:t.onImageClick,onError:function(){return t.onImageError(d)}}),Object(Oe.isBlobURL)(d)&&Object($.createElement)(X.Spinner,null));if(!T||!r)return Object($.createElement)($.Fragment,null,B(c,i),Object($.createElement)("div",{style:{width:k,height:w}},u));var p=k||r,O=w||o,j=c/i,f=c<i?20:20*j,v=i<c?20:20/j,y=2.5*s,C=!1,E=!1;return"center"===g?(C=!0,E=!0):m?"left"===g?C=!0:E=!0:"right"===g?E=!0:C=!0,Object($.createElement)($.Fragment,null,B(c,i),Object($.createElement)(X.ResizableBox,{size:k&&w?{width:k,height:w}:void 0,minWidth:f,maxWidth:y,minHeight:v,maxHeight:y/j,lockAspectRatio:!0,enable:{top:!1,right:C,bottom:!0,left:E},onResizeStart:function(){b(!1)},onResizeStop:function(e,t,n,r){a({width:parseInt(p+r.width,10),height:parseInt(O+r.height,10)}),b(!0)}},u))}),(!W.RichText.isEmpty(p)||i)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:p,unstableOnFocus:this.onFocusCaption,onChange:function(e){return a({caption:e})},isSelected:this.state.captionFocused,inlineToolbar:!0})))}}]),t}($.Component),Xe=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=e("core/block-editor").getSettings,o=t.attributes.id,a=r(),c=a.maxWidth,i=a.isRTL,l=a.imageSizes;return{image:o?n(o):null,maxWidth:c,isRTL:i,imageSizes:l}}),Object(ve.withViewportMatch)({isLargeViewport:"medium"}),X.withNotices])(Je),et="core/image",tt={url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},nt={img:{attributes:["src","alt"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},rt={figure:{require:["img"],children:Object(K.a)({},nt,{a:{attributes:["href","rel","target"],children:nt},figcaption:{children:Object(G.getPhrasingContentSchema)()}})}};function ot(e,t){var n=document.implementation.createHTMLDocument("").body;n.innerHTML=e;var r=n.firstElementChild;if(r&&"A"===r.nodeName)return r.getAttribute(t)||void 0}var at={title:Object(J.__)("Image"),description:Object(J.__)("Insert an image to make a visual statement."),icon:qe,category:"common",keywords:["img",Object(J.__)("photo")],attributes:tt,transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("img")},schema:rt,transform:function(e){var t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),r=n?n[1]:void 0,o=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),a=o?Number(o[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,l=c&&c.href?c.href:void 0,s=c&&c.rel?c.rel:void 0,u=c&&c.className?c.className:void 0,b=Object(G.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:a,linkDestination:i,href:l,rel:s,linkClass:u});return Object(G.createBlock)("core/image",b)}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){var t=e[0];return Object(G.createBlock)("core/image",{url:Object(Oe.createBlobURL)(t)})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){var n=t.shortcode,r=document.implementation.createHTMLDocument("").body;return r.innerHTML=n.content,r.removeChild(r.firstElementChild),r.innerHTML.trim()}},href:{shortcode:function(e,t){return ot(t.shortcode.content,"href")}},rel:{shortcode:function(e,t){return ot(t.shortcode.content,"rel")}},linkClass:{shortcode:function(e,t){return ot(t.shortcode.content,"class")}},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"center"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:Xe,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.rel,s=n.linkClass,u=n.width,b=n.height,m=n.id,d=n.linkTarget,h=Y()((t={},Object(q.a)(t,"align".concat(c),c),Object(q.a)(t,"is-resized",u||b),t)),p=Object($.createElement)("img",{src:r,alt:o,className:m?"wp-image-".concat(m):null,width:u,height:b}),g=Object($.createElement)($.Fragment,null,i?Object($.createElement)("a",{className:s,href:i,target:d,rel:l},p):p,!W.RichText.isEmpty(a)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:a}));return"left"===c||"right"===c||"center"===c?Object($.createElement)("div",null,Object($.createElement)("figure",{className:h},g)):Object($.createElement)("figure",{className:h},g)},deprecated:[{attributes:tt,save:function(e){var t,n=e.attributes,r=n.url,o=n.alt,a=n.caption,c=n.align,i=n.href,l=n.width,s=n.height,u=n.id,b=Y()((t={},Object(q.a)(t,"align".concat(c),c),Object(q.a)(t,"is-resized",l||s),t)),m=Object($.createElement)("img",{src:r,alt:o,className:u?"wp-image-".concat(u):null,width:l,height:s});return Object($.createElement)("figure",{className:b},i?Object($.createElement)("a",{href:i},m):m,!W.RichText.isEmpty(a)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:a}))}},{attributes:tt,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=t.id,u=Object($.createElement)("img",{src:n,alt:r,className:s?"wp-image-".concat(s):null,width:i,height:l});return Object($.createElement)("figure",{className:a?"align".concat(a):null},c?Object($.createElement)("a",{href:c},u):u,!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}},{attributes:tt,save:function(e){var t=e.attributes,n=t.url,r=t.alt,o=t.caption,a=t.align,c=t.href,i=t.width,l=t.height,s=i||l?{width:i,height:l}:{},u=Object($.createElement)("img",Object(ee.a)({src:n,alt:r},s)),b={};return i?b={width:i}:"left"!==a&&"right"!==a||(b={maxWidth:"50%"}),Object($.createElement)("figure",{className:a?"align".concat(a):null,style:b},c?Object($.createElement)("a",{href:c},u):u,!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}}]},ct=n(21),it=function(e){function t(){return Object(te.a)(this,t),Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"createLevelControl",value:function(e,t,n){return{icon:"heading",title:Object(J.sprintf)(Object(J.__)("Heading %d"),e),isActive:e===t,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object($.createElement)(X.Toolbar,{controls:Object(Z.range)(n,r).map(function(t){return e.createLevelControl(t,o,a)})})}}]),t}($.Component);function lt(e){return Number(e.substr(1))}var st,ut={className:!1,anchor:!0},bt={content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},align:{type:"string"},placeholder:{type:"string"}},mt="core/heading",dt={title:Object(J.__)("Heading"),description:Object(J.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M5 4v3h5.5v12h3V7H19V4z"}),Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"})),category:"common",keywords:[Object(J.__)("title"),Object(J.__)("subtitle")],supports:ut,attributes:bt,transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/heading",{content:t})}},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:{h1:{children:Object(G.getPhrasingContentSchema)()},h2:{children:Object(G.getPhrasingContentSchema)()},h3:{children:Object(G.getPhrasingContentSchema)()},h4:{children:Object(G.getPhrasingContentSchema)()},h5:{children:Object(G.getPhrasingContentSchema)()},h6:{children:Object(G.getPhrasingContentSchema)()}},transform:function(e){return Object(G.createBlock)("core/heading",Object(K.a)({},Object(G.getBlockAttributes)("core/heading",e.outerHTML),{level:lt(e.nodeName)}))}}].concat(Object(U.a)([2,3,4,5,6].map(function(e){return{type:"prefix",prefix:Array(e+1).join("#"),transform:function(t){return Object(G.createBlock)("core/heading",{level:e,content:t})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/paragraph",{content:t})}}]},deprecated:[{supports:ut,attributes:Object(K.a)({},Object(Z.omit)(bt,["level"]),{nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"}}),migrate:function(e){var t=e.nodeName,n=Object(ct.a)(e,["nodeName"]);return Object(K.a)({},n,{level:lt(t)})},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content;return Object($.createElement)(W.RichText.Content,{tagName:r.toLowerCase(),style:{textAlign:n},value:o})}}],merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.mergeBlocks,o=e.insertBlocksAfter,a=e.onReplace,c=e.className,i=t.align,l=t.content,s=t.level,u=t.placeholder,b="h"+s;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(it,{minLevel:2,maxLevel:5,selectedLevel:s,onChange:function(e){return n({level:e})}})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Heading Settings")},Object($.createElement)("p",null,Object(J.__)("Level")),Object($.createElement)(it,{minLevel:1,maxLevel:7,selectedLevel:s,onChange:function(e){return n({level:e})}}),Object($.createElement)("p",null,Object(J.__)("Text Alignment")),Object($.createElement)(W.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}}))),Object($.createElement)(W.RichText,{identifier:"content",wrapperClassName:"wp-block-heading",tagName:b,value:l,onChange:function(e){return n({content:e})},onMerge:r,unstableOnSplit:o?function(e,t){n({content:e});for(var r=arguments.length,a=new Array(r>2?r-2:0),c=2;c<r;c++)a[c-2]=arguments[c];o([].concat(a,[Object(G.createBlock)("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a([])},style:{textAlign:i},className:c,placeholder:u||Object(J.__)("Write heading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.level,o=t.content,a="h"+r;return Object($.createElement)(W.RichText.Content,{tagName:a,style:{textAlign:n},value:o})}},ht=n(20),pt=(st={},Object(q.a)(st,"value",{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""}),Object(q.a)(st,"citation",{type:"string",source:"html",selector:"cite",default:""}),Object(q.a)(st,"align",{type:"string"}),st),gt="core/quote",Ot={title:Object(J.__)("Quote"),description:Object(J.__)('Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar'),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"})),category:"common",keywords:[Object(J.__)("blockquote")],attributes:pt,styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(J._x)("Large","block style")}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/quote",{value:Object(ht.toHTMLString)({value:Object(ht.join)(e.map(function(e){var t=e.content;return Object(ht.create)({html:t})}),"\u2028"),multilineTag:"p"})})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/quote",{value:"<p>".concat(t,"</p>")})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(G.createBlock)("core/quote",{value:t,citation:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(G.createBlock)("core/quote",{value:"<p>".concat(e,"</p>")})}},{type:"raw",isMatch:function(e){var t=function(){var e=!1;return function(t){return"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))}}();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:{blockquote:{children:{p:{children:Object(G.getPhrasingContentSchema)()},cite:{children:Object(G.getPhrasingContentSchema)()}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=[];return t&&"<p></p>"!==t&&r.push.apply(r,Object(U.a)(Object(ht.split)(Object(ht.create)({html:t,multilineTag:"p"}),"\u2028").map(function(e){return Object(G.createBlock)("core/paragraph",{content:Object(ht.toHTMLString)({value:e})})}))),n&&"<p></p>"!==n&&r.push(Object(G.createBlock)("core/paragraph",{content:n})),0===r.length?Object(G.createBlock)("core/paragraph",{content:""}):r}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=Object(ct.a)(e,["value","citation"]);if("<p></p>"===t)return Object(G.createBlock)("core/heading",{content:n});var o=Object(ht.split)(Object(ht.create)({html:t,multilineTag:"p"}),"\u2028"),a=o.slice(1);return[Object(G.createBlock)("core/heading",{content:Object(ht.toHTMLString)({value:o[0]})}),Object(G.createBlock)("core/quote",Object(K.a)({},r,{citation:n,value:Object(ht.toHTMLString)({value:a.length?Object(ht.join)(o.slice(1),"\u2028"):Object(ht.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,n=e.citation;return Object(G.createBlock)("core/pullquote",{value:t,citation:n})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.align,l=t.value,s=t.citation;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:i,onChange:function(e){n({align:e})}})),Object($.createElement)("blockquote",{className:c,style:{textAlign:i}},Object($.createElement)(W.RichText,{identifier:"value",multiline:!0,value:l,onChange:function(e){return n({value:e})},onMerge:o,onRemove:function(e){var t=!s||0===s.length;!e&&t&&a([])},placeholder:Object(J.__)("Write quote…")}),(!W.RichText.isEmpty(s)||r)&&Object($.createElement)(W.RichText,{identifier:"citation",value:s,onChange:function(e){return n({citation:e})},placeholder:Object(J.__)("Write citation…"),className:"wp-block-quote__citation"})))},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation;return Object($.createElement)("blockquote",{style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:o}))},merge:function(e,t){var n=t.value,r=t.citation;return n&&"<p></p>"!==n?Object(K.a)({},e,{value:e.value+n,citation:e.citation+r}):Object(K.a)({},e,{citation:e.citation+r})},deprecated:[{attributes:Object(K.a)({},pt,{style:{type:"number",default:1}}),migrate:function(e){return 2===e.style?Object(K.a)({},Object(Z.omit)(e,["style"]),{className:e.className?e.className+" is-style-large":"is-style-large"}):e},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object($.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:o}))}},{attributes:Object(K.a)({},pt,{citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}}),save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,a=t.style;return Object($.createElement)("blockquote",{className:"blocks-quote-style-".concat(a),style:{textAlign:n||null}},Object($.createElement)(W.RichText.Content,{multiline:!0,value:r}),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"footer",value:o}))}}]},jt=n(17),ft=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onImageClick=e.onImageClick.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectCaption=e.onSelectCaption.bind(Object(ce.a)(Object(ce.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e.bindContainer=e.bindContainer.bind(Object(ce.a)(Object(ce.a)(e))),e.state={captionSelected:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onImageClick",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onKeyDown",value:function(e){this.container===document.activeElement&&this.props.isSelected&&-1!==[jt.BACKSPACE,jt.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isSelected,r=t.image,o=t.url;r&&!o&&this.props.setAttributes({url:r.source_url,alt:r.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"render",value:function(){var e,t=this.props,n=t.url,r=t.alt,o=t.id,a=t.linkTo,c=t.link,i=t.isSelected,l=t.caption,s=t.onRemove,u=t.setAttributes,b=t["aria-label"];switch(a){case"media":e=n;break;case"attachment":e=c}var m=Object($.createElement)($.Fragment,null,Object($.createElement)("img",{src:n,alt:r,"data-id":o,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":b}),Object(Oe.isBlobURL)(n)&&Object($.createElement)(X.Spinner,null)),d=Y()({"is-selected":i,"is-transient":Object(Oe.isBlobURL)(n)});return Object($.createElement)("figure",{className:d,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},i&&Object($.createElement)("div",{className:"block-library-gallery-item__inline-menu"},Object($.createElement)(X.IconButton,{icon:"no-alt",onClick:s,className:"blocks-gallery-item__remove",label:Object(J.__)("Remove Image")})),e?Object($.createElement)("a",{href:e},m):m,!W.RichText.isEmpty(l)||i?Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:l,isSelected:this.state.captionSelected,onChange:function(e){return u({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}):null)}}]),t}($.Component),vt=Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}})(ft),yt=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67l1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}))),kt=[{value:"attachment",label:Object(J.__)("Attachment Page")},{value:"media",label:Object(J.__)("Media File")},{value:"none",label:Object(J.__)("None")}],wt=["image"];function Ct(e){return Math.min(3,e.images.length)}var Et=function(e){var t=Object(Z.pick)(e,["alt","id","link","caption"]);return t.url=Object(Z.get)(e,["sizes","large","url"])||Object(Z.get)(e,["media_details","sizes","large","source_url"])||e.url,t},_t=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectImage=e.onSelectImage.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectImages=e.onSelectImages.bind(Object(ce.a)(Object(ce.a)(e))),e.setLinkTo=e.setLinkTo.bind(Object(ce.a)(Object(ce.a)(e))),e.setColumnsNumber=e.setColumnsNumber.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleImageCrop=e.toggleImageCrop.bind(Object(ce.a)(Object(ce.a)(e))),e.onRemoveImage=e.onRemoveImage.bind(Object(ce.a)(Object(ce.a)(e))),e.setImageAttributes=e.setImageAttributes.bind(Object(ce.a)(Object(ce.a)(e))),e.addFiles=e.addFiles.bind(Object(ce.a)(Object(ce.a)(e))),e.uploadFromFiles=e.uploadFromFiles.bind(Object(ce.a)(Object(ce.a)(e))),e.setAttributes=e.setAttributes.bind(Object(ce.a)(Object(ce.a)(e))),e.state={selectedImage:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=Object(K.a)({},e,{ids:Object(Z.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImage",value:function(e){var t=this;return function(){t.state.selectedImage!==e&&t.setState({selectedImage:e})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=Object(Z.filter)(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.setState({selectedImage:null}),t.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){var t=this.props.attributes.columns;this.setAttributes({images:e.map(function(e){return Et(e)}),columns:t?Math.min(e.length,t):t})}},{key:"setLinkTo",value:function(e){this.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.setAttributes({columns:e})}},{key:"toggleImageCrop",value:function(){this.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"getImageCropHelp",value:function(e){return e?Object(J.__)("Thumbnails are cropped to align."):Object(J.__)("Thumbnails are not cropped.")}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;n[e]&&r({images:[].concat(Object(U.a)(n.slice(0,e)),[Object(K.a)({},n[e],t)],Object(U.a)(n.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.props.noticeOperations,r=this.setAttributes;Object(W.mediaUpload)({allowedTypes:wt,filesList:e,onFileChange:function(e){var n=e.map(function(e){return Et(e)});r({images:t.concat(n)})},onError:n.createErrorNotice})}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,o=n.isSelected,a=n.className,c=n.noticeOperations,i=n.noticeUI,l=r.images,s=r.columns,u=void 0===s?Ct(r):s,b=r.align,m=r.imageCrop,d=r.linkTo,h=Object($.createElement)(X.DropZone,{onFilesDrop:this.addFiles}),p=Object($.createElement)(W.BlockControls,null,!!l.length&&Object($.createElement)(X.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:wt,multiple:!0,gallery:!0,value:l.map(function(e){return e.id}),render:function(e){var t=e.open;return Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit gallery"),icon:"edit",onClick:t})}})));return 0===l.length?Object($.createElement)($.Fragment,null,p,Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:yt}),className:a,labels:{title:Object(J.__)("Gallery"),instructions:Object(J.__)("Drag images, upload new ones or select files from your library.")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:wt,multiple:!0,notices:i,onError:c.createErrorNotice})):Object($.createElement)($.Fragment,null,p,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Gallery Settings")},l.length>1&&Object($.createElement)(X.RangeControl,{label:Object(J.__)("Columns"),value:u,onChange:this.setColumnsNumber,min:1,max:Math.min(8,l.length)}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Crop Images"),checked:!!m,onChange:this.toggleImageCrop,help:this.getImageCropHelp}),Object($.createElement)(X.SelectControl,{label:Object(J.__)("Link To"),value:d,onChange:this.setLinkTo,options:kt}))),i,Object($.createElement)("ul",{className:Y()(a,(e={},Object(q.a)(e,"align".concat(b),b),Object(q.a)(e,"columns-".concat(u),u),Object(q.a)(e,"is-cropped",m),e))},h,l.map(function(e,n){var r=Object(J.sprintf)(Object(J.__)("image %1$d of %2$d in gallery"),n+1,l.length);return Object($.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object($.createElement)(vt,{url:e.url,alt:e.alt,id:e.id,isSelected:o&&t.state.selectedImage===n,onRemove:t.onRemoveImage(n),onSelect:t.onSelectImage(n),setAttributes:function(e){return t.setImageAttributes(n,e)},caption:e.caption,"aria-label":r}))}),o&&Object($.createElement)("li",{className:"blocks-gallery-item has-add-item-button"},Object($.createElement)(X.FormFileUpload,{multiple:!0,isLarge:!0,className:"block-library-gallery-add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(J.__)("Upload an image")))))}}]),t}($.Component),xt=Object(X.withNotices)(_t),St={images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},Tt="core/gallery",Nt=function(e){return e?e.split(",").map(function(e){return parseInt(e,10)}):[]},Rt={title:Object(J.__)("Gallery"),description:Object(J.__)("Display multiple images in a rich gallery."),icon:yt,category:"common",keywords:[Object(J.__)("images"),Object(J.__)("photos")],attributes:St,supports:{align:!0},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(Z.every)(e,["align",t])?t:void 0;var n=Object(Z.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return Object(G.createBlock)("core/gallery",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return Nt(t).map(function(e){return{id:e}})}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return Nt(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(Z.every)(e,function(e){return 0===e.type.indexOf("image/")})},transform:function(e,t){var n=Object(G.createBlock)("core/gallery",{images:e.map(function(e){return Et({url:Object(Oe.createBlobURL)(e)})})});return Object(W.mediaUpload)({filesList:e,onFileChange:function(e){var r=e.map(Et);t(n.clientId,{ids:Object(Z.map)(r,"id"),images:r})},allowedTypes:["image"]}),n}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,a=e.caption;return Object(G.createBlock)("core/image",{id:t,url:r,alt:o,caption:a,align:n})}):Object(G.createBlock)("core/image",{align:n})}}]},edit:xt,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object($.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},deprecated:[{attributes:St,isEligible:function(e){var t=e.images,n=e.ids;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(Z.some)(t,function(e,t){return!e&&null!==n[t]||parseInt(e,10)!==n[t]}))},migrate:function(e){return Object(K.a)({},e,{ids:Object(Z.map)(e.images,function(e){var t=e.id;return t?parseInt(t,10):null})})},save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object($.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:St,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.imageCrop,c=t.linkTo;return Object($.createElement)("ul",{className:"columns-".concat(o," ").concat(a?"is-cropped":"")},n.map(function(e){var t;switch(c){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return Object($.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object($.createElement)("figure",null,t?Object($.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:Object(K.a)({},St,{images:Object(K.a)({},St.images,{selector:"div.wp-block-gallery figure.blocks-gallery-image img"}),align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Ct(t):r,a=t.align,c=t.imageCrop,i=t.linkTo;return Object($.createElement)("div",{className:"align".concat(a," columns-").concat(o," ").concat(c?"is-cropped":"")},n.map(function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var n=Object($.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object($.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object($.createElement)("a",{href:t},n):n)}))}}]};var Bt="core/archives",At={title:Object(J.__)("Archives"),description:Object(J.__)("Display a monthly archive of your posts."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M7 11h2v2H7v-2zm14-5v14c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2l.01-14c0-1.1.88-2 1.99-2h1V2h2v2h8V2h2v2h1c1.1 0 2 .9 2 2zM5 8h14V6H5v2zm14 12V10H5v10h14zm-4-7h2v-2h-2v2zm-4 0h2v-2h-2v2z"}))),category:"widgets",supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right"].includes(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.align,o=t.showPostCounts,a=t.displayAsDropdown;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Archives Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:a,onChange:function(){return n({displayAsDropdown:!a})}}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:o,onChange:function(){return n({showPostCounts:!o})}}))),Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:r,onChange:function(e){n({align:e})},controls:["left","center","right"]})),Object($.createElement)(X.Disabled,null,Object($.createElement)(W.ServerSideRender,{block:"core/archives",attributes:t})))},save:function(){return null}},Pt=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"m12 3l0.01 10.55c-0.59-0.34-1.27-0.55-2-0.55-2.22 0-4.01 1.79-4.01 4s1.79 4 4.01 4 3.99-1.79 3.99-4v-10h4v-4h-6zm-1.99 16c-1.1 0-2-0.9-2-2s0.9-2 2-2 2 0.9 2 2-0.9 2-2 2z"})),It=["audio"],Lt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(Oe.isBlobURL)(i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(W.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0],n=t.id,r=t.url;o({id:n,src:r})},onError:function(t){o({src:void 0,id:void 0}),e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:It})}}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(q.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=We({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src,i=this.props,l=i.setAttributes,s=i.isSelected,u=i.className,b=i.noticeOperations,m=i.noticeUI,d=function(){e.setState({editing:!0})};return this.state.editing?Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:Pt}),className:u,onSelect:function(t){if(!t||!t.url)return l({src:void 0,id:void 0}),void d();l({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"audio/*",allowedTypes:It,value:this.props.attributes,notices:m,onError:b.createErrorNotice}):Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit audio"),onClick:d,icon:"edit"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Audio Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:o}),Object($.createElement)(X.SelectControl,{label:Object(J.__)("Preload"),value:void 0!==a?a:"none",onChange:function(e){return l({preload:"none"!==e?e:void 0})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}))),Object($.createElement)("figure",{className:u},Object($.createElement)(X.Disabled,null,Object($.createElement)("audio",{controls:"controls",src:c})),(!W.RichText.isEmpty(r)||s)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:r,onChange:function(e){return l({caption:e})},inlineToolbar:!0})))}}]),t}($.Component),Mt=Object(X.withNotices)(Lt),zt="core/audio",Ht={title:Object(J.__)("Audio"),description:Object(J.__)("Embed a simple audio player."),icon:Pt,category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(G.createBlock)("core/audio",{src:Object(Oe.createBlobURL)(t)})}}]},supports:{align:!0},edit:Mt,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.loop,a=t.preload,c=t.src;return Object($.createElement)("figure",null,Object($.createElement)("audio",{controls:"controls",src:c,autoPlay:n,loop:o,preload:a}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:r}))}},Dt=window.getComputedStyle,Ft=Object(X.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=r&&r.color,a=n&&n.color,c=!a&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:o||!e?void 0:Dt(e).backgroundColor,fallbackTextColor:a||!c?void 0:Dt(c).color}}),Vt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,a=t.setBackgroundColor,c=t.setTextColor,i=t.fallbackBackgroundColor,l=t.fallbackTextColor,s=t.setAttributes,u=t.isSelected,b=t.className,m=n.text,d=n.url,h=n.title;return Object($.createElement)($.Fragment,null,Object($.createElement)("div",{className:b,title:h,ref:this.bindRef},Object($.createElement)(W.RichText,{placeholder:Object(J.__)("Add text…"),value:m,onChange:function(e){return s({text:e})},formattingControls:["bold","italic","strikethrough"],className:Y()("wp-block-button__link",(e={"has-background":r.color},Object(q.a)(e,r.class,r.class),Object(q.a)(e,"has-text-color",o.color),Object(q.a)(e,o.class,o.class),e)),style:{backgroundColor:r.color,color:o.color},keepPlaceholderOnFocus:!0}),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:r.color,onChange:a,label:Object(J.__)("Background Color")},{value:o.color,onChange:c,label:Object(J.__)("Text Color")}]},Object($.createElement)(W.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:i,fallbackTextColor:l})))),u&&Object($.createElement)("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},Object($.createElement)(X.Dashicon,{icon:"admin-links"}),Object($.createElement)(W.URLInput,{value:d,onChange:function(e){return s({url:e})}}),Object($.createElement)(X.IconButton,{icon:"editor-break",label:Object(J.__)("Apply"),type:"submit"})))}}]),t}($.Component),Ut=Object(ie.compose)([Object(W.withColors)("backgroundColor",{textColor:"color"}),Ft])(Vt),Wt={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},Gt="core/button",qt=function(e){return Object(Z.omit)(Object(K.a)({},e,{customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0}),["color","textColor"])},Kt={title:Object(J.__)("Button"),description:Object(J.__)("Prompt visitors to take action with a button-style link."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M19 6H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H5V8h14v8z"}))),category:"layout",keywords:[Object(J.__)("link")],attributes:Wt,supports:{align:!0,alignWide:!1},styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"outline",label:Object(J.__)("Outline")},{name:"squared",label:Object(J._x)("Squared","block style")}],edit:Ut,save:function(e){var t,n=e.attributes,r=n.url,o=n.text,a=n.title,c=n.backgroundColor,i=n.textColor,l=n.customBackgroundColor,s=n.customTextColor,u=Object(W.getColorClassName)("color",i),b=Object(W.getColorClassName)("background-color",c),m=Y()("wp-block-button__link",(t={"has-text-color":i||s},Object(q.a)(t,u,u),Object(q.a)(t,"has-background",c||l),Object(q.a)(t,b,b),t)),d={backgroundColor:b?void 0:l,color:u?void 0:s};return Object($.createElement)("div",null,Object($.createElement)(W.RichText.Content,{tagName:"a",className:m,href:r,title:a,style:d,value:o}))},deprecated:[{attributes:Object(K.a)({},Object(Z.pick)(Wt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c={backgroundColor:t.color,color:t.textColor};return Object($.createElement)("div",{className:"align".concat(a)},Object($.createElement)(W.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:o,style:c,value:r}))},migrate:qt},{attributes:Object(K.a)({},Object(Z.pick)(Wt,["url","title","text"]),{color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,a=t.align,c=t.color,i=t.textColor;return Object($.createElement)("div",{className:"align".concat(a),style:{backgroundColor:c}},Object($.createElement)(W.RichText.Content,{tagName:"a",href:n,title:o,style:{color:i},value:r}))},migrate:qt}]},$t=n(27),Qt=n.n($t),Yt=n(38),Zt=n.n(Yt),Jt=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).getYearMonth=Zt()(e.getYearMonth.bind(Object(ce.a)(Object(ce.a)(e))),{maxSize:1}),e.getServerSideAttributes=Zt()(e.getServerSideAttributes.bind(Object(ce.a)(Object(ce.a)(e))),{maxSize:1}),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"getYearMonth",value:function(e){if(!e)return{};var t=Qt()(e);return{year:t.year(),month:t.month()+1}}},{key:"getServerSideAttributes",value:function(e,t){return Object(K.a)({},e,this.getYearMonth(t))}},{key:"render",value:function(){return Object($.createElement)(X.Disabled,null,Object($.createElement)(X.ServerSideRender,{block:"core/calendar",attributes:this.getServerSideAttributes(this.props.attributes,this.props.date)}))}}]),t}($.Component),Xt=Object(le.withSelect)(function(e){return{date:e("core/editor").getEditedPostAttribute("date")}})(Jt),en="core/calendar",tn={title:Object(J.__)("Calendar"),description:Object(J.__)("A calendar of your site’s posts."),icon:"calendar",category:"widgets",keywords:[Object(J.__)("posts"),Object(J.__)("archive")],supports:{align:!0},edit:Xt,save:function(){return null}},nn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.categories;return t&&t.length?null===e?t:t.filter(function(t){return t.parent===e}):[]}},{key:"getCategoryListClassName",value:function(e){return"wp-block-categories__list wp-block-categories__list-level-".concat(e)}},{key:"renderCategoryName",value:function(e){return e.name?Object(Z.unescape)(e.name).trim():Object(J.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy?0:null,n=this.getCategories(t);return Object($.createElement)("ul",{className:this.getCategoryListClassName(0)},n.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return Object($.createElement)("li",{key:e.id},Object($.createElement)("a",{href:e.link,target:"_blank"},this.renderCategoryName(e)),a&&Object($.createElement)("span",{className:"wp-block-categories__post-count"}," ","(",e.count,")"),o&&!!c.length&&Object($.createElement)("ul",{className:this.getCategoryListClassName(t+1)},c.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes.showHierarchy?0:null,r=this.getCategories(n),o="blocks-category-select-".concat(t);return Object($.createElement)($.Fragment,null,Object($.createElement)("label",{htmlFor:o,className:"screen-reader-text"},Object(J.__)("Categories")),Object($.createElement)("select",{id:o,className:"wp-block-categories__dropdown"},r.map(function(t){return e.renderCategoryDropdownItem(t,0)})))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,a=r.showPostCounts,c=this.getCategories(e.id);return[Object($.createElement)("option",{key:e.id},Object(Z.times)(3*t,function(){return" "}),this.renderCategoryName(e),a?" (".concat(e.count,")"):""),o&&!!c.length&&c.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.isRequesting,r=t.displayAsDropdown,o=t.showHierarchy,a=t.showPostCounts,c=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Categories Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display as Dropdown"),checked:r,onChange:this.toggleDisplayAsDropdown}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Show Hierarchy"),checked:o,onChange:this.toggleShowHierarchy}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Show Post Counts"),checked:a,onChange:this.toggleShowPostCounts})));return n?Object($.createElement)($.Fragment,null,c,Object($.createElement)(X.Placeholder,{icon:"admin-post",label:Object(J.__)("Categories")},Object($.createElement)(X.Spinner,null))):Object($.createElement)($.Fragment,null,c,Object($.createElement)("div",{className:this.props.className},r?this.renderCategoryDropdown():this.renderCategoryList()))}}]),t}($.Component),rn=Object(ie.compose)(Object(le.withSelect)(function(e){var t=e("core").getEntityRecords,n=e("core/data").isResolving,r={per_page:-1,hide_empty:!0};return{categories:t("taxonomy","category",r),isRequesting:n("core","getEntityRecords",["taxonomy","category",r])}}),ie.withInstanceId)(nn),on="core/categories",an={title:Object(J.__)("Categories"),description:Object(J.__)("Display a list of all categories."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"M12,2l-5.5,9h11L12,2z M12,5.84L13.93,9h-3.87L12,5.84z"}),Object($.createElement)(X.Path,{d:"m17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),Object($.createElement)(X.Path,{d:"m3 21.5h8v-8h-8v8zm2-6h4v4h-4v-4z"})),category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,alignWide:!1,html:!1},edit:rn,save:function(){return null}};var cn="core/code",ln={title:Object(J.__)("Code"),description:Object(J.__)("Display code snippets that respect your spacing and tabs."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"M9.4,16.6L4.8,12l4.6-4.6L8,6l-6,6l6,6L9.4,16.6z M14.6,16.6l4.6-4.6l-4.6-4.6L16,6l6,6l-6,6L14.6,16.6z"})),category:"formatting",attributes:{content:{type:"string",source:"text",selector:"code"}},supports:{html:!1},transforms:{from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(G.createBlock)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className;return Object($.createElement)("div",{className:r},Object($.createElement)(W.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write code…"),"aria-label":Object(J.__)("Code")}))},save:function(e){var t=e.attributes;return Object($.createElement)("pre",null,Object($.createElement)("code",null,t.content))}},sn=["core/column"],un=Zt()(function(e){return Object(Z.times)(e,function(){return["core/column"]})});function bn(e){var t,n=bn.doc;n||(n=document.implementation.createHTMLDocument(""),bn.doc=n),n.body.innerHTML=e;var r=!0,o=!1,a=void 0;try{for(var c,i=n.body.firstChild.classList[Symbol.iterator]();!(r=(c=i.next()).done);r=!0){if(t=c.value.match(/^layout-column-(\d+)$/))return Number(t[1])-1}}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}}var mn="core/columns",dn={title:Object(J.__)("Columns"),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M4,4H20a2,2,0,0,1,2,2V18a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V6A2,2,0,0,1,4,4ZM4 6V18H8V6Zm6 0V18h4V6Zm6 0V18h4V6Z"}))),category:"layout",attributes:{columns:{type:"number",default:2}},description:Object(J.__)("Add a block that displays content in multiple columns, then add whatever content blocks you’d like."),supports:{align:["wide","full"],html:!1},deprecated:[{attributes:{columns:{type:"number",default:2}},isEligible:function(e,t){return!!t.some(function(e){return/layout-column-\d+/.test(e.originalContent)})&&t.some(function(e){return void 0!==bn(e.originalContent)})},migrate:function(e,t){return[e,t.reduce(function(e,t){var n=bn(t.originalContent);return void 0===n&&(n=0),e[n]||(e[n]=[]),e[n].push(t),e},[]).map(function(e){return Object(G.createBlock)("core/column",{},e)})]},save:function(e){var t=e.attributes.columns;return Object($.createElement)("div",{className:"has-".concat(t,"-columns")},Object($.createElement)(W.InnerBlocks.Content,null))}}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.columns,a=Y()(r,"has-".concat(o,"-columns"));return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,null,Object($.createElement)(X.RangeControl,{label:Object(J.__)("Columns"),value:o,onChange:function(e){n({columns:e})},min:2,max:6}))),Object($.createElement)("div",{className:a},Object($.createElement)(W.InnerBlocks,{template:un(o),templateLock:"all",allowedBlocks:sn})))},save:function(e){var t=e.attributes.columns;return Object($.createElement)("div",{className:"has-".concat(t,"-columns")},Object($.createElement)(W.InnerBlocks.Content,null))}},hn="core/column",pn={title:Object(J.__)("Column"),parent:["core/columns"],icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16zm0-11.47L17.74 9 12 13.47 6.26 9 12 4.53z"})),description:Object(J.__)("A single column within a columns block."),category:"common",supports:{inserter:!1,reusable:!1,html:!1},edit:function(){return Object($.createElement)(W.InnerBlocks,{templateLock:!1})},save:function(){return Object($.createElement)("div",null,Object($.createElement)(W.InnerBlocks.Content,null))}},gn=Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2zm0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2v7zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4v-7z"}),Object($.createElement)(X.Path,{d:"M0 0h24v24H0z",fill:"none"})),On={title:{type:"string",source:"html",selector:"p"},url:{type:"string"},contentAlign:{type:"string",default:"center"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},jn="core/cover",fn=["image","video"],vn={title:Object(J.__)("Cover"),description:Object(J.__)("Add an image or video with a text overlay — great for headers."),icon:gn,category:"common",attributes:On,supports:{align:!0},transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/cover",{title:t})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.caption,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/cover",{title:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.caption,n=e.src,r=e.align,o=e.id;return Object(G.createBlock)("core/cover",{title:t,url:n,align:r,id:o,backgroundType:"video"})}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.title;return Object(G.createBlock)("core/heading",{content:t})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.backgroundType;return!e.url||"image"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/image",{caption:t,url:n,align:r,id:o})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.backgroundType;return!e.url||"video"===t},transform:function(e){var t=e.title,n=e.url,r=e.align,o=e.id;return Object(G.createBlock)("core/video",{caption:t,src:n,id:o,align:r})}}]},edit:Object(ie.compose)([Object(W.withColors)({overlayColor:"background-color"}),X.withNotices])(function(e){var t=e.attributes,n=e.setAttributes,r=e.isSelected,o=e.className,a=e.noticeOperations,c=e.noticeUI,i=e.overlayColor,l=e.setOverlayColor,s=t.backgroundType,u=t.contentAlign,b=t.dimRatio,m=t.focalPoint,d=t.hasParallax,h=t.id,p=t.title,g=t.url,O=function(e){if(e&&e.url){var t;if(e.media_type)t="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;t=e.type}n({url:e.url,id:e.id,backgroundType:t})}else n({url:void 0,id:void 0})},j=function(e){return n({title:e})},f=Object(K.a)({},"image"===s?kn(g):{},{backgroundColor:i.color});m&&(f.backgroundPosition="".concat(100*m.x,"% ").concat(100*m.y,"%"));var v=Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,!!g&&Object($.createElement)($.Fragment,null,Object($.createElement)(W.AlignmentToolbar,{value:u,onChange:function(e){n({contentAlign:e})}}),Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:O,allowedTypes:fn,value:h,render:function(e){var t=e.open;return Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}}))))),!!g&&Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Cover Settings")},"image"===s&&Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Fixed Background"),checked:d,onChange:function(){return n({hasParallax:!d})}}),"image"===s&&!d&&Object($.createElement)(X.FocalPointPicker,{label:Object(J.__)("Focal Point Picker"),url:g,value:m,onChange:function(e){return n({focalPoint:e})}}),Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Overlay"),initialOpen:!0,colorSettings:[{value:i.color,onChange:l,label:Object(J.__)("Overlay Color")}]},Object($.createElement)(X.RangeControl,{label:Object(J.__)("Background Opacity"),value:b,onChange:function(e){return n({dimRatio:e})},min:0,max:100,step:10})))));if(!g){var y=!W.RichText.isEmpty(p),k=y?void 0:Object($.createElement)(W.BlockIcon,{icon:gn}),w=y?Object($.createElement)(W.RichText,{tagName:"h2",value:p,onChange:j,inlineToolbar:!0}):Object(J.__)("Cover");return Object($.createElement)($.Fragment,null,v,Object($.createElement)(W.MediaPlaceholder,{icon:k,className:o,labels:{title:w,instructions:Object(J.__)("Drag an image or a video, upload a new one or select a file from your library.")},onSelect:O,accept:"image/*,video/*",allowedTypes:fn,notices:c,onError:a.createErrorNotice}))}var C=Y()(o,"center"!==u&&"has-".concat(u,"-content"),yn(b),{"has-background-dim":0!==b,"has-parallax":d});return Object($.createElement)($.Fragment,null,v,Object($.createElement)("div",{"data-url":g,style:f,className:C},"video"===s&&Object($.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:g}),(!W.RichText.isEmpty(p)||r)&&Object($.createElement)(W.RichText,{tagName:"p",className:"wp-block-cover-text",placeholder:Object(J.__)("Write title…"),value:p,onChange:j,inlineToolbar:!0})))}),save:function(e){var t=e.attributes,n=t.backgroundType,r=t.contentAlign,o=t.customOverlayColor,a=t.dimRatio,c=t.focalPoint,i=t.hasParallax,l=t.overlayColor,s=t.title,u=t.url,b=Object(W.getColorClassName)("background-color",l),m="image"===n?kn(u):{};b||(m.backgroundColor=o),c&&!i&&(m.backgroundPosition="".concat(100*c.x,"% ").concat(100*c.y,"%"));var d=Y()(yn(a),b,Object(q.a)({"has-background-dim":0!==a,"has-parallax":i},"has-".concat(r,"-content"),"center"!==r));return Object($.createElement)("div",{className:d,style:m},"video"===n&&u&&Object($.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},deprecated:[{attributes:Object(K.a)({},On,{align:{type:"string"}}),supports:{className:!1},save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=t.contentAlign,l=t.overlayColor,s=t.customOverlayColor,u=Object(W.getColorClassName)("background-color",l),b=kn(n);u||(b.backgroundColor=s);var m=Y()("wp-block-cover-image",yn(a),u,Object(q.a)({"has-background-dim":0!==a,"has-parallax":o},"has-".concat(i,"-content"),"center"!==i),c?"align".concat(c):null);return Object($.createElement)("div",{className:m,style:b},!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r}))}},{attributes:Object(K.a)({},On,{align:{type:"string"},title:{type:"string",source:"html",selector:"h2"}}),save:function(e){var t=e.attributes,n=t.url,r=t.title,o=t.hasParallax,a=t.dimRatio,c=t.align,i=kn(n),l=Y()(yn(a),{"has-background-dim":0!==a,"has-parallax":o},c?"align".concat(c):null);return Object($.createElement)("section",{className:l,style:i},Object($.createElement)(W.RichText.Content,{tagName:"h2",value:r}))}}]};function yn(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}function kn(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var wn=function(e){var t=e.blockSupportsResponsive,n=e.showEditButton,r=e.themeSupportsResponsive,o=e.allowResponsive,a=e.getResponsiveHelp,c=e.toggleResponsive,i=e.switchBackToURLInput;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,null,n&&Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit URL"),icon:"edit",onClick:i}))),r&&t&&Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Media Settings"),className:"blocks-responsive"},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Resize for smaller devices"),checked:o,help:a,onChange:c}))))},Cn=function(){return Object($.createElement)("div",{className:"wp-block-embed is-loading"},Object($.createElement)(X.Spinner,null),Object($.createElement)("p",null,Object(J.__)("Embedding…")))},En=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,c=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object($.createElement)(X.Placeholder,{icon:Object($.createElement)(W.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed"},Object($.createElement)("form",{onSubmit:o},Object($.createElement)("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(J.__)("Enter URL to embed here…"),onChange:a}),Object($.createElement)(X.Button,{isLarge:!0,type:"submit"},Object(J._x)("Embed","button label")),c&&Object($.createElement)("p",{className:"components-placeholder__error"},Object(J.__)("Sorry, this content could not be embedded."),Object($.createElement)("br",null),Object($.createElement)(X.Button,{isLarge:!0,onClick:l},Object(J._x)("Try again","button label"))," ",Object($.createElement)(X.Button,{isLarge:!0,onClick:i},Object(J._x)("Convert to link","button label")))))},_n=n(77),xn=window.FocusEvent,Sn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).checkFocus=e.checkFocus.bind(Object(ce.a)(Object(ce.a)(e))),e.node=Object($.createRef)(),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"checkFocus",value:function(){var e=document.activeElement;if("IFRAME"===e.tagName&&e.parentNode===this.node.current){var t=new xn("focus",{bubbles:!0});e.dispatchEvent(t)}}},{key:"render",value:function(){var e=this.props.html;return Object($.createElement)("div",{ref:this.node,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:e}})}}]),t}($.Component),Tn=Object(ie.withGlobalEvents)({blur:"checkFocus"})(Sn),Nn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).hideOverlay=e.hideOverlay.bind(Object(ce.a)(Object(ce.a)(e))),e.state={interactive:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e=this.props,t=e.preview,n=e.url,r=e.type,o=e.caption,a=e.onCaptionChange,c=e.isSelected,i=e.className,l=e.icon,s=e.label,u=t.scripts,b=this.state.interactive,m="photo"===r?function(e){var t=e.thumbnail_url?e.thumbnail_url:e.url,n=Object($.createElement)("p",null,Object($.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object($.renderToString)(n)}(t):t.html,d=Object(_n.parse)(n).host.split("."),h=d.splice(d.length-2,d.length-1).join("."),p=Object(Z.includes)(ze,h),g=Object(J.sprintf)(Object(J.__)("Embedded content from %s"),h),O=Fe()(r,i,"wp-block-embed__wrapper"),j="wp-embed"===r?Object($.createElement)(Tn,{html:m}):Object($.createElement)("div",{className:"wp-block-embed__wrapper"},Object($.createElement)(X.SandBox,{html:m,scripts:u,title:g,type:O,onFocus:this.hideOverlay}),!b&&Object($.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object($.createElement)("figure",{className:Fe()(i,"wp-block-embed",{"is-type-video":"video"===r})},p?Object($.createElement)(X.Placeholder,{icon:Object($.createElement)(W.BlockIcon,{icon:l,showColors:!0}),label:s},Object($.createElement)("p",{className:"components-placeholder__error"},Object($.createElement)("a",{href:n},n)),Object($.createElement)("p",{className:"components-placeholder__error"},Object(J.sprintf)(Object(J.__)("Embedded content from %s can't be previewed in the editor."),h))):j,(!W.RichText.isEmpty(o)||c)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:o,onChange:a,inlineToolbar:!0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}($.Component);function Rn(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){function o(){var e;return Object(te.a)(this,o),(e=Object(re.a)(this,Object(oe.a)(o).apply(this,arguments))).switchBackToURLInput=e.switchBackToURLInput.bind(Object(ce.a)(Object(ce.a)(e))),e.setUrl=e.setUrl.bind(Object(ce.a)(Object(ce.a)(e))),e.getAttributesFromPreview=e.getAttributesFromPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.setAttributesFromPreview=e.setAttributesFromPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.getResponsiveHelp=e.getResponsiveHelp.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleResponsive=e.toggleResponsive.bind(Object(ce.a)(Object(ce.a)(e))),e.handleIncomingPreview=e.handleIncomingPreview.bind(Object(ce.a)(Object(ce.a)(e))),e.state={editingURL:!1,url:e.props.attributes.url},e.props.preview&&e.handleIncomingPreview(),e}return Object(ae.a)(o,r),Object(ne.a)(o,[{key:"handleIncomingPreview",value:function(){var e=this.props.attributes.allowResponsive;this.setAttributesFromPreview();var t=We(this.props,this.getAttributesFromPreview(this.props.preview,e));t&&this.props.onReplace(t)}},{key:"componentDidUpdate",value:function(e){var t=void 0!==this.props.preview,n=void 0!==e.preview,r=e.preview&&this.props.preview&&this.props.preview.html!==e.preview.html||t&&!n,o=this.props.attributes.url!==e.attributes.url;if(r||o){if(this.props.cannotEmbed)return;this.handleIncomingPreview()}}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;this.setState({editingURL:!1}),n({url:t})}},{key:"getAttributesFromPreview",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={},a=t.type,c=void 0===a?"rich":a,i=t.html,l=t.provider_name,s=Object(Z.kebabCase)(Object(Z.toLower)(""!==l?l:e));return Ue(i)&&(c="wp-embed"),(i||"photo"===c)&&(o.type=c,o.providerNameSlug=s),o.className=Ge(i,this.props.attributes.className,n&&r),o}},{key:"setAttributesFromPreview",value:function(){var e=this.props,t=e.setAttributes,n=e.preview,r=this.props.attributes.allowResponsive;t(this.getAttributesFromPreview(n,r))}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"getResponsiveHelp",value:function(e){return e?Object(J.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(J.__)("This embed may not preserve its aspect ratio when the browser is resized.")}},{key:"toggleResponsive",value:function(){var e=this.props.attributes,t=e.allowResponsive,r=e.className,o=this.props.preview.html,a=!t;this.props.setAttributes({allowResponsive:a,className:Ge(o,r,n&&a)})}},{key:"render",value:function(){var r=this,o=this.state,a=o.url,c=o.editingURL,i=this.props.attributes,l=i.caption,s=i.type,u=i.allowResponsive,b=this.props,m=b.fetching,d=b.setAttributes,h=b.isSelected,p=b.className,g=b.preview,O=b.cannotEmbed,j=b.themeSupportsResponsive,f=b.tryAgain;if(m)return Object($.createElement)(Cn,null);var v=Object(J.sprintf)(Object(J.__)("%s URL"),e);return!g||O||c?Object($.createElement)(En,{icon:t,label:v,onSubmit:this.setUrl,value:a,cannotEmbed:O,onChange:function(e){return r.setState({url:e.target.value})},fallback:function(){return function(e,t){var n=Object($.createElement)("a",{href:e},e);t(Object(G.createBlock)("core/paragraph",{content:Object($.renderToString)(n)}))}(a,r.props.onReplace)},tryAgain:f}):Object($.createElement)($.Fragment,null,Object($.createElement)(wn,{showEditButton:g&&!O,themeSupportsResponsive:j,blockSupportsResponsive:n,allowResponsive:u,getResponsiveHelp:this.getResponsiveHelp,toggleResponsive:this.toggleResponsive,switchBackToURLInput:this.switchBackToURLInput}),Object($.createElement)(Nn,{preview:g,className:p,url:a,type:s,caption:l,onCaptionChange:function(e){return d({caption:e})},isSelected:h,icon:t,label:v}))}}]),o}($.Component)}var Bn={url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0}};function An(e){var t=e.title,n=e.description,r=e.icon,o=e.category,a=void 0===o?"embed":o,c=e.transforms,i=e.keywords,l=void 0===i?[]:i,s=e.supports,u=void 0===s?{}:s,b=e.responsive,m=void 0===b||b,d=n||Object(J.__)("Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube."),h=Rn(t,r,m);return{title:t,description:d,icon:r,category:a,keywords:l,attributes:Bn,supports:Object(K.a)({align:!0},u),transforms:c,edit:Object(ie.compose)(Object(le.withSelect)(function(e,t){var n=t.attributes.url,r=e("core"),o=r.getEmbedPreview,a=r.isPreviewEmbedFallback,c=r.isRequestingEmbedPreview,i=r.getThemeSupports,l=void 0!==n&&o(n),s=void 0!==n&&a(n),u=void 0!==n&&c(n),b=i(),m=!!l&&void 0===l.type&&!1===l.html,d=!!l&&l.data&&404===l.data.status,h=!!l&&!m&&!d,p=void 0!==n&&(!h||s);return{preview:h?l:void 0,fetching:u,themeSupportsResponsive:b["responsive-embeds"],cannotEmbed:p}}),Object(le.withDispatch)(function(e,t){var n=t.attributes.url,r=e("core/data");return{tryAgain:function(){r.invalidateResolution("core","getEmbedPreview",[n])}}}))(h),save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Fe()("wp-block-embed",(t={},Object(q.a)(t,"is-type-".concat(a),a),Object(q.a)(t,"is-provider-".concat(c),c),t));return Object($.createElement)("figure",{className:i},Object($.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(r,"\n")),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))},deprecated:[{attributes:Bn,save:function(e){var t,n=e.attributes,r=n.url,o=n.caption,a=n.type,c=n.providerNameSlug;if(!r)return null;var i=Fe()("wp-block-embed",(t={},Object(q.a)(t,"is-type-".concat(a),a),Object(q.a)(t,"is-provider-".concat(c),c),t));return Object($.createElement)("figure",{className:i},"\n".concat(r,"\n"),!W.RichText.isEmpty(o)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:o}))}}]}}var Pn="core/embed",In=An({title:Object(J._x)("Embed","block title"),description:Object(J.__)("Embed videos, images, tweets, audio, and other content from external sources."),icon:ye,responsive:!1,transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)},transform:function(e){return Object(G.createBlock)("core/embed",{url:e.textContent.trim()})}}]}}),Ln=Le.map(function(e){return Object(K.a)({},e,{settings:An(e.settings)})}),Mn=Me.map(function(e){return Object(K.a)({},e,{settings:An(e.settings)})}),zn=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}));function Hn(e){var t=e.hrefs,n=e.openInNewWindow,r=e.showDownloadButton,o=e.changeLinkDestinationOption,a=e.changeOpenInNewWindow,c=e.changeShowDownloadButton,i=t.href,l=t.textLinkHref,s=t.attachmentPage,u=[{value:i,label:Object(J.__)("URL")}];return s&&(u=[{value:i,label:Object(J.__)("Media File")},{value:s,label:Object(J.__)("Attachment Page")}]),Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Text Link Settings")},Object($.createElement)(X.SelectControl,{label:Object(J.__)("Link To"),value:l,options:u,onChange:o}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Open in New Tab"),checked:n,onChange:a})),Object($.createElement)(X.PanelBody,{title:Object(J.__)("Download Button Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Show Download Button"),checked:r,onChange:c}))))}var Dn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectFile=e.onSelectFile.bind(Object(ce.a)(Object(ce.a)(e))),e.confirmCopyURL=e.confirmCopyURL.bind(Object(ce.a)(Object(ce.a)(e))),e.resetCopyConfirmation=e.resetCopyConfirmation.bind(Object(ce.a)(Object(ce.a)(e))),e.changeLinkDestinationOption=e.changeLinkDestinationOption.bind(Object(ce.a)(Object(ce.a)(e))),e.changeOpenInNewWindow=e.changeOpenInNewWindow.bind(Object(ce.a)(Object(ce.a)(e))),e.changeShowDownloadButton=e.changeShowDownloadButton.bind(Object(ce.a)(Object(ce.a)(e))),e.state={hasError:!1,showCopyConfirmation:!1},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=n.href;if(Object(Oe.isBlobURL)(o)){var a=Object(Oe.getBlobByURL)(o);Object(W.mediaUpload)({filesList:[a],onFileChange:function(t){var n=Object(je.a)(t,1)[0];return e.onSelectFile(n)},onError:function(t){e.setState({hasError:!0}),r.createErrorNotice(t)}}),Object(Oe.revokeBlobURL)(o)}}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id}))}},{key:"confirmCopyURL",value:function(){this.setState({showCopyConfirmation:!0})}},{key:"resetCopyConfirmation",value:function(){this.setState({showCopyConfirmation:!1})}},{key:"changeLinkDestinationOption",value:function(e){this.props.setAttributes({textLinkHref:e})}},{key:"changeOpenInNewWindow",value:function(e){this.props.setAttributes({textLinkTarget:!!e&&"_blank"})}},{key:"changeShowDownloadButton",value:function(e){this.props.setAttributes({showDownloadButton:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,r=e.attributes,o=e.setAttributes,a=e.noticeUI,c=e.noticeOperations,i=e.media,l=r.fileName,s=r.href,u=r.textLinkHref,b=r.textLinkTarget,m=r.showDownloadButton,d=r.downloadButtonText,h=r.id,p=this.state,g=p.hasError,O=p.showCopyConfirmation,j=i&&i.link;if(!s||g)return Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:zn}),labels:{title:Object(J.__)("File"),instructions:Object(J.__)("Drag a file, upload a new one or select a file from your library.")},onSelect:this.onSelectFile,notices:a,onError:c.createErrorNotice,accept:"*"});var f=Y()(t,{"is-transient":Object(Oe.isBlobURL)(s)});return Object($.createElement)($.Fragment,null,Object($.createElement)(Hn,Object(ee.a)({hrefs:{href:s,textLinkHref:u,attachmentPage:j}},{openInNewWindow:!!b,showDownloadButton:m,changeLinkDestinationOption:this.changeLinkDestinationOption,changeOpenInNewWindow:this.changeOpenInNewWindow,changeShowDownloadButton:this.changeShowDownloadButton})),Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:this.onSelectFile,value:h,render:function(e){var t=e.open;return Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit file"),onClick:t,icon:"edit"})}})))),Object($.createElement)("div",{className:f},Object($.createElement)("div",{className:"wp-block-file__content-wrapper"},Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-file__textlink",tagName:"div",value:l,placeholder:Object(J.__)("Write file name…"),keepPlaceholderOnFocus:!0,formattingControls:[],onChange:function(e){return o({fileName:e})}}),m&&Object($.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object($.createElement)(W.RichText,{tagName:"div",className:"wp-block-file__button",value:d,formattingControls:[],placeholder:Object(J.__)("Add text…"),keepPlaceholderOnFocus:!0,onChange:function(e){return o({downloadButtonText:e})}}))),n&&Object($.createElement)(X.ClipboardButton,{isDefault:!0,text:s,className:"wp-block-file__copy-url-button",onCopy:this.confirmCopyURL,onFinishCopy:this.resetCopyConfirmation,disabled:Object(Oe.isBlobURL)(s)},O?Object(J.__)("Copied!"):Object(J.__)("Copy URL"))))}}]),t}($.Component),Fn=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core").getMedia,r=t.attributes.id;return{media:void 0===r?void 0:n(r)}}),X.withNotices])(Dn),Vn="core/file",Un={title:Object(J.__)("File"),description:Object(J.__)("Add a link to a downloadable file."),icon:zn,category:"common",keywords:[Object(J.__)("document"),Object(J.__)("pdf")],attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]",default:Object(J._x)("Download","button label")}},supports:{align:!0},transforms:{from:[{type:"files",isMatch:function(e){return e.length>0},priority:15,transform:function(e){var t=[];return e.forEach(function(e){var n=Object(Oe.createBlobURL)(e);t.push(Object(G.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(G.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Z.includes)(n.mime_type,"audio")},transform:function(e){return Object(G.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Z.includes)(n.mime_type,"video")},transform:function(e){return Object(G.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var n=(0,Object(le.select)("core").getMedia)(t);return!!n&&Object(Z.includes)(n.mime_type,"image")},transform:function(e){return Object(G.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id})}}]},edit:Fn,save:function(e){var t=e.attributes,n=t.href,r=t.fileName,o=t.textLinkHref,a=t.textLinkTarget,c=t.showDownloadButton,i=t.downloadButtonText;return n&&Object($.createElement)("div",null,!W.RichText.isEmpty(r)&&Object($.createElement)("a",{href:o,target:a,rel:!!a&&"noreferrer noopener"},Object($.createElement)(W.RichText.Content,{value:r})),c&&Object($.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object($.createElement)(W.RichText.Content,{value:i})))}},Wn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={isPreview:!1,styles:[]},e.switchToHTML=e.switchToHTML.bind(Object(ce.a)(Object(ce.a)(e))),e.switchToPreview=e.switchToPreview.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.styles;this.setState({styles:["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(U.a)(Object(W.transformStyles)(e)))})}},{key:"switchToPreview",value:function(){this.setState({isPreview:!0})}},{key:"switchToHTML",value:function(){this.setState({isPreview:!1})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=this.state,o=r.isPreview,a=r.styles;return Object($.createElement)("div",{className:"wp-block-html"},Object($.createElement)(W.BlockControls,null,Object($.createElement)("div",{className:"components-toolbar"},Object($.createElement)("button",{className:"components-tab-button ".concat(o?"":"is-active"),onClick:this.switchToHTML},Object($.createElement)("span",null,"HTML")),Object($.createElement)("button",{className:"components-tab-button ".concat(o?"is-active":""),onClick:this.switchToPreview},Object($.createElement)("span",null,Object(J.__)("Preview"))))),Object($.createElement)(X.Disabled.Consumer,null,function(e){return o||e?Object($.createElement)(X.SandBox,{html:t.content,styles:a}):Object($.createElement)(W.PlainText,{value:t.content,onChange:function(e){return n({content:e})},placeholder:Object(J.__)("Write HTML…"),"aria-label":Object(J.__)("HTML")})}))}}]),t}($.Component),Gn=Object(le.withSelect)(function(e){return{styles:(0,e("core/block-editor").getSettings)().styles}})(Wn),qn="core/html",Kn={title:Object(J.__)("Custom HTML"),description:Object(J.__)("Add custom HTML code and preview it as you edit."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"})),category:"formatting",keywords:[Object(J.__)("embed")],supports:{customClassName:!1,className:!1,html:!1},attributes:{content:{type:"string",source:"html"}},transforms:{from:[{type:"raw",isMatch:function(e){return"FIGURE"===e.nodeName&&!!e.querySelector("iframe")},schema:{figure:{require:["iframe"],children:{iframe:{attributes:["src","allowfullscreen","height","width"]},figcaption:{children:Object(G.getPhrasingContentSchema)()}}}}}]},edit:Gn,save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.content)}},$n=Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object($.createElement)(X.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object($.createElement)(X.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),Qn=["image","video"],Yn=function(e){function t(){return Object(te.a)(this,t),Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(W.MediaUpload,{onSelect:n,allowedTypes:Qn,value:t,render:function(e){var t=e.open;return Object($.createElement)(X.IconButton,{className:"components-toolbar__control",label:Object(J.__)("Edit media"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.className;return Object($.createElement)($.Fragment,null,this.renderToolbarEditButton(),Object($.createElement)("figure",{className:r},Object($.createElement)("img",{src:n,alt:t})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return Object($.createElement)($.Fragment,null,this.renderToolbarEditButton(),Object($.createElement)("figure",{className:n},Object($.createElement)("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:$n}),labels:{title:Object(J.__)("Media area")},className:n,onSelect:t,accept:"image/*,video/*",allowedTypes:Qn})}},{key:"render",value:function(){var e=this.props,t=e.mediaPosition,n=e.mediaUrl,r=e.mediaType,o=e.mediaWidth,a=e.commitWidthChange,c=e.onWidthChange;if(r&&n){var i={right:"left"===t,left:"right"===t},l=null;switch(r){case"image":l=this.renderImage();break;case"video":l=this.renderVideo()}return Object($.createElement)(X.ResizableBox,{className:"editor-media-container__resizer",size:{width:o+"%"},minWidth:"10%",maxWidth:"100%",enable:i,onResize:function(e,t,n){c(parseInt(n.style.width))},onResizeStop:function(e,t,n){a(parseInt(n.style.width))},axis:"x"},l)}return this.renderPlaceholder()}}]),t}($.Component),Zn=["core/button","core/paragraph","core/heading","core/list"],Jn=[["core/paragraph",{fontSize:"large",placeholder:Object(J._x)("Content…","content placeholder")}]],Xn=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onSelectMedia=e.onSelectMedia.bind(Object(ce.a)(Object(ce.a)(e))),e.onWidthChange=e.onWidthChange.bind(Object(ce.a)(Object(ce.a)(e))),e.commitWidthChange=e.commitWidthChange.bind(Object(ce.a)(Object(ce.a)(e))),e.state={mediaWidth:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onSelectMedia",value:function(e){var t,n,r=this.props.setAttributes;"image"===(t=e.media_type?"image"===e.media_type?"image":"video":e.type)&&(n=Object(Z.get)(e,["sizes","large","url"])||Object(Z.get)(e,["media_details","sizes","large","source_url"])),r({mediaAlt:e.alt,mediaId:e.id,mediaType:t,mediaUrl:n||e.url})}},{key:"onWidthChange",value:function(e){this.setState({mediaWidth:e})}},{key:"commitWidthChange",value:function(e){(0,this.props.setAttributes)({mediaWidth:e}),this.setState({mediaWidth:null})}},{key:"renderMediaArea",value:function(){var e=this.props.attributes,t=e.mediaAlt,n=e.mediaId,r=e.mediaPosition,o=e.mediaType,a=e.mediaUrl,c=e.mediaWidth;return Object($.createElement)(Yn,Object(ee.a)({className:"block-library-media-text__media-container",onSelectMedia:this.onSelectMedia,onWidthChange:this.onWidthChange,commitWidthChange:this.commitWidthChange},{mediaAlt:t,mediaId:n,mediaType:o,mediaUrl:a,mediaPosition:r,mediaWidth:c}))}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.className,o=t.backgroundColor,a=t.isSelected,c=t.setAttributes,i=t.setBackgroundColor,l=n.isStackedOnMobile,s=n.mediaAlt,u=n.mediaPosition,b=n.mediaType,m=n.mediaWidth,d=this.state.mediaWidth,h=Y()(r,(e={"has-media-on-the-right":"right"===u,"is-selected":a},Object(q.a)(e,o.class,o.class),Object(q.a)(e,"is-stacked-on-mobile",l),e)),p="".concat(d||m,"%"),g={gridTemplateColumns:"right"===u?"auto ".concat(p):"".concat(p," auto"),backgroundColor:o.color},O=[{value:o.color,onChange:i,label:Object(J.__)("Background Color")}],j=[{icon:"align-pull-left",title:Object(J.__)("Show media on left"),isActive:"left"===u,onClick:function(){return c({mediaPosition:"left"})}},{icon:"align-pull-right",title:Object(J.__)("Show media on right"),isActive:"right"===u,onClick:function(){return c({mediaPosition:"right"})}}],f=Object($.createElement)(X.PanelBody,{title:Object(J.__)("Media & Text Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Stack on mobile"),checked:l,onChange:function(){return c({isStackedOnMobile:!l})}}),"image"===b&&Object($.createElement)(X.TextareaControl,{label:Object(J.__)("Alt Text (Alternative Text)"),value:s,onChange:function(e){c({mediaAlt:e})},help:Object(J.__)("Alternative text describes your image to people who can’t see it. Add a short description with its key details.")}));return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,f,Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:O})),Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,{controls:j})),Object($.createElement)("div",{className:h,style:g},this.renderMediaArea(),Object($.createElement)(W.InnerBlocks,{allowedBlocks:Zn,template:Jn,templateInsertUpdatesSelection:!1})))}}]),t}($.Component),er=Object(W.withColors)("backgroundColor")(Xn),tr=Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M13 17h8v-2h-8v2zM3 19h8V5H3v14zM13 9h8V7h-8v2zm0 4h8v-2h-8v2z"})),nr="core/media-text",rr={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!1}},or={title:Object(J.__)("Media & Text"),description:Object(J.__)("Set media and words side-by-side for a richer layout."),icon:tr,category:"layout",keywords:[Object(J.__)("image"),Object(J.__)("video")],attributes:rr,supports:{align:["wide","full"],html:!1},transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.alt,n=e.url,r=e.id;return Object(G.createBlock)("core/media-text",{mediaAlt:t,mediaId:r,mediaUrl:n,mediaType:"image"})}},{type:"block",blocks:["core/video"],transform:function(e){var t=e.src,n=e.id;return Object(G.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video"})}}],to:[{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"image"===t},transform:function(e){var t=e.mediaAlt,n=e.mediaId,r=e.mediaUrl;return Object(G.createBlock)("core/image",{alt:t,id:n,url:r})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.mediaType;return!e.mediaUrl||"video"===t},transform:function(e){var t=e.mediaId,n=e.mediaUrl;return Object(G.createBlock)("core/video",{id:t,src:n})}}]},edit:er,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m=r.mediaId,d={image:function(){return Object($.createElement)("img",{src:u,alt:i,className:m&&"image"===s?"wp-image-".concat(m):null})},video:function(){return Object($.createElement)("video",{controls:!0,src:u})}},h=Object(W.getColorClassName)("background-color",o),p=Y()((t={"has-media-on-the-right":"right"===l},Object(q.a)(t,h,h),Object(q.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var g={backgroundColor:h?void 0:a,gridTemplateColumns:n};return Object($.createElement)("div",{className:p,style:g},Object($.createElement)("figure",{className:"wp-block-media-text__media"},(d[s]||Z.noop)()),Object($.createElement)("div",{className:"wp-block-media-text__content"},Object($.createElement)(W.InnerBlocks.Content,null)))},deprecated:[{attributes:rr,save:function(e){var t,n,r=e.attributes,o=r.backgroundColor,a=r.customBackgroundColor,c=r.isStackedOnMobile,i=r.mediaAlt,l=r.mediaPosition,s=r.mediaType,u=r.mediaUrl,b=r.mediaWidth,m={image:function(){return Object($.createElement)("img",{src:u,alt:i})},video:function(){return Object($.createElement)("video",{controls:!0,src:u})}},d=Object(W.getColorClassName)("background-color",o),h=Y()((t={"has-media-on-the-right":"right"===l},Object(q.a)(t,d,d),Object(q.a)(t,"is-stacked-on-mobile",c),t));50!==b&&(n="right"===l?"auto ".concat(b,"%"):"".concat(b,"% auto"));var p={backgroundColor:d?void 0:a,gridTemplateColumns:n};return Object($.createElement)("div",{className:h,style:p},Object($.createElement)("figure",{className:"wp-block-media-text__media"},(m[s]||Z.noop)()),Object($.createElement)("div",{className:"wp-block-media-text__content"},Object($.createElement)(W.InnerBlocks.Content,null)))}}]},ar=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).setAlignment=e.setAlignment.bind(Object(ce.a)(Object(ce.a)(e))),e.setCommentsToShow=e.setCommentsToShow.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleDisplayAvatar=e.createToggleAttribute("displayAvatar"),e.toggleDisplayDate=e.createToggleAttribute("displayDate"),e.toggleDisplayExcerpt=e.createToggleAttribute("displayExcerpt"),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"createToggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(q.a)({},e,!n))}}},{key:"setAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"setCommentsToShow",value:function(e){this.props.setAttributes({commentsToShow:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.commentsToShow,r=e.displayAvatar,o=e.displayDate,a=e.displayExcerpt;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:t,onChange:this.setAlignment})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Latest Comments Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display Avatar"),checked:r,onChange:this.toggleDisplayAvatar}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display Date"),checked:o,onChange:this.toggleDisplayDate}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display Excerpt"),checked:a,onChange:this.toggleDisplayExcerpt}),Object($.createElement)(X.RangeControl,{label:Object(J.__)("Number of Comments"),value:n,onChange:this.setCommentsToShow,min:1,max:100}))),Object($.createElement)(X.Disabled,null,Object($.createElement)(W.ServerSideRender,{block:"core/latest-comments",attributes:this.props.attributes})))}}]),t}($.Component),cr="core/latest-comments",ir={title:Object(J.__)("Latest Comments"),description:Object(J.__)("Display a list of your most recent comments."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}))),category:"widgets",keywords:[Object(J.__)("recent comments")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:ar,save:function(){return null}},lr=n(30),sr=n.n(lr),ur=n(47),br={per_page:-1},mr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={categoriesList:[]},e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=sr()({path:Object(fe.addQueryArgs)("/wp/v2/categories",br)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.latestPosts,o=this.state.categoriesList,a=t.displayPostDate,c=t.align,i=t.postLayout,l=t.columns,s=t.order,u=t.orderBy,b=t.categories,m=t.postsToShow,d=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Latest Posts Settings")},Object($.createElement)(X.QueryControls,Object(ee.a)({order:s,orderBy:u},{numberOfItems:m,categoriesList:o,selectedCategoryId:b,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===i&&Object($.createElement)(X.RangeControl,{label:Object(J.__)("Columns"),value:l,onChange:function(e){return n({columns:e})},min:2,max:h?Math.min(6,r.length):6}))),h=Array.isArray(r)&&r.length;if(!h)return Object($.createElement)($.Fragment,null,d,Object($.createElement)(X.Placeholder,{icon:"admin-post",label:Object(J.__)("Latest Posts")},Array.isArray(r)?Object(J.__)("No posts found."):Object($.createElement)(X.Spinner,null)));var p=r.length>m?r.slice(0,m):r,g=[{icon:"list-view",title:Object(J.__)("List View"),onClick:function(){return n({postLayout:"list"})},isActive:"list"===i},{icon:"grid-view",title:Object(J.__)("Grid View"),onClick:function(){return n({postLayout:"grid"})},isActive:"grid"===i}],O=Object(ur.__experimentalGetSettings)().formats.date;return Object($.createElement)($.Fragment,null,d,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:c,onChange:function(e){n({align:e})}}),Object($.createElement)(X.Toolbar,{controls:g})),Object($.createElement)("ul",{className:Y()(this.props.className,Object(q.a)({"is-grid":"grid"===i,"has-dates":a},"columns-".concat(l),"grid"===i))},p.map(function(e,t){var n=e.title.rendered.trim();return Object($.createElement)("li",{key:t},Object($.createElement)("a",{href:e.link,target:"_blank"},n?Object($.createElement)($.RawHTML,null,n):Object(J.__)("(Untitled)")),a&&e.date_gmt&&Object($.createElement)("time",{dateTime:Object(ur.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(ur.dateI18n)(O,e.date_gmt)))})))}}]),t}($.Component),dr=Object(le.withSelect)(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,a=n.orderBy,c=n.categories;return{latestPosts:(0,e("core").getEntityRecords)("postType","post",Object(Z.pickBy)({categories:c,order:o,orderby:a,per_page:r},function(e){return!Object(Z.isUndefined)(e)}))}})(mr),hr="core/latest-posts",pr={title:Object(J.__)("Latest Posts"),description:Object(J.__)("Display a list of your most recent posts."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Rect,{x:"11",y:"7",width:"6",height:"2"}),Object($.createElement)(X.Rect,{x:"11",y:"11",width:"6",height:"2"}),Object($.createElement)(X.Rect,{x:"11",y:"15",width:"6",height:"2"}),Object($.createElement)(X.Rect,{x:"7",y:"7",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"7",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"7",y:"15",width:"2",height:"2"}),Object($.createElement)(X.Path,{d:"M20.1,3H3.9C3.4,3,3,3.4,3,3.9v16.2C3,20.5,3.4,21,3.9,21h16.2c0.4,0,0.9-0.5,0.9-0.9V3.9C21,3.4,20.5,3,20.1,3z M19,19H5V5h14V19z"})),category:"widgets",keywords:[Object(J.__)("recent posts")],supports:{html:!1},getEditWrapperProps:function(e){var t=e.align;if(["left","center","right","wide","full"].includes(t))return{"data-align":t}},edit:dr,save:function(){return null}},gr=Object(K.a)({},Object(G.getPhrasingContentSchema)(),{ul:{},ol:{attributes:["type"]}});["ul","ol"].forEach(function(e){gr[e].children={li:{children:gr}}});var Or={className:!1},jr={ordered:{type:"boolean",default:!1},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",default:""}},fr="core/list",vr={title:Object(J.__)("List"),description:Object(J.__)("Create a bulleted or numbered list."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M9 19h12v-2H9v2zm0-6h12v-2H9v2zm0-8v2h12V5H9zm-4-.5c-.828 0-1.5.672-1.5 1.5S4.172 7.5 5 7.5 6.5 6.828 6.5 6 5.828 4.5 5 4.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm0 6c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"}))),category:"common",keywords:[Object(J.__)("bullet list"),Object(J.__)("ordered list"),Object(J.__)("numbered list")],attributes:jr,supports:Or,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/list",{values:Object(ht.toHTMLString)({value:Object(ht.join)(e.map(function(t){var n=t.content,r=Object(ht.create)({html:n});return e.length>1?r:Object(ht.replace)(r,/\n/g,ht.LINE_SEPARATOR)}),ht.LINE_SEPARATOR),multilineTag:"li"})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value;return Object(G.createBlock)("core/list",{values:Object(ht.toHTMLString)({value:Object(ht.create)({html:t,multilineTag:"p"}),multilineTag:"li"})})}},{type:"raw",selector:"ol,ul",schema:{ol:gr.ol,ul:gr.ul},transform:function(e){return Object(G.createBlock)("core/list",Object(K.a)({},Object(G.getBlockAttributes)("core/list",e.outerHTML),{ordered:"OL"===e.nodeName}))}}].concat(Object(U.a)(["*","-"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(G.createBlock)("core/list",{values:"<li>".concat(e,"</li>")})}}})),Object(U.a)(["1.","1)"].map(function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(G.createBlock)("core/list",{ordered:!0,values:"<li>".concat(e,"</li>")})}}}))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(ht.split)(Object(ht.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),ht.LINE_SEPARATOR).map(function(e){return Object(G.createBlock)("core/paragraph",{content:Object(ht.toHTMLString)({value:e})})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(G.createBlock)("core/quote",{value:Object(ht.toHTMLString)({value:Object(ht.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"})})}}]},deprecated:[{supports:Or,attributes:Object(K.a)({},Object(Z.omit)(jr,["ordered"]),{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"}}),migrate:function(e){var t=e.nodeName,n=Object(ct.a)(e,["nodeName"]);return Object(K.a)({},n,{ordered:"OL"===t})},save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object($.createElement)(W.RichText.Content,{tagName:n.toLowerCase(),value:r})}}],merge:function(e,t){var n=t.values;return n&&"<li></li>"!==n?Object(K.a)({},e,{values:e.values+n}):e},edit:function(e){var t=e.attributes,n=e.insertBlocksAfter,r=e.setAttributes,o=e.mergeBlocks,a=e.onReplace,c=e.className,i=t.ordered,l=t.values;return Object($.createElement)(W.RichText,{identifier:"values",multiline:"li",tagName:i?"ol":"ul",onChange:function(e){return r({values:e})},value:l,wrapperClassName:"block-library-list",className:c,placeholder:Object(J.__)("Write list…"),onMerge:o,unstableOnSplit:n?function(e,t){for(var o=arguments.length,a=new Array(o>2?o-2:0),c=2;c<o;c++)a[c-2]=arguments[c];a.length||a.push(Object(G.createBlock)("core/paragraph")),"<li></li>"!==t&&a.push(Object(G.createBlock)("core/list",{ordered:i,values:t})),r({values:e}),n(a)}:void 0,onRemove:function(){return a([])},onTagNameChange:function(e){return r({ordered:"ol"===e})}})},save:function(e){var t=e.attributes,n=t.ordered,r=t.values,o=n?"ol":"ul";return Object($.createElement)(W.RichText.Content,{tagName:o,value:r,multiline:"li"})}};var yr=Object(le.withDispatch)(function(e,t){var n=t.clientId,r=t.attributes,o=e("core/block-editor").replaceBlock;return{convertToHTML:function(){o(n,Object(G.createBlock)("core/html",{content:r.originalUndelimitedContent}))}}})(function(e){var t,n=e.attributes,r=e.convertToHTML,o=n.originalName,a=n.originalUndelimitedContent,c=!!a,i=Object(G.getBlockType)("core/html"),l=[];return c&&i?(t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),l.push(Object($.createElement)(X.Button,{key:"convert",onClick:r,isLarge:!0,isPrimary:!0},Object(J.__)("Keep as HTML")))):t=Object(J.sprintf)(Object(J.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object($.createElement)($.Fragment,null,Object($.createElement)(W.Warning,{actions:l},t),Object($.createElement)($.RawHTML,null,a))}),kr="core/missing",wr={name:kr,category:"common",title:Object(J.__)("Unrecognized Block"),description:Object(J.__)("Your site doesn’t include support for this block."),supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1},attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},edit:yr,save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.originalContent)}},Cr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onChangeInput=e.onChangeInput.bind(Object(ce.a)(Object(ce.a)(e))),e.onKeyDown=e.onKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e.state={defaultText:Object(J.__)("Read more")},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onChangeInput",value:function(e){this.setState({defaultText:""});var t=0===e.target.value.length?void 0:e.target.value;this.props.setAttributes({customText:t})}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=this.props.insertBlocksAfter;t===jt.ENTER&&n([Object(G.createBlock)(Object(G.getDefaultBlockName)())])}},{key:"getHideExcerptHelp",value:function(e){return e?Object(J.__)("The excerpt is hidden."):Object(J.__)("The excerpt is visible.")}},{key:"render",value:function(){var e=this.props.attributes,t=e.customText,n=e.noTeaser,r=this.props.setAttributes,o=this.state.defaultText,a=void 0!==t?t:o,c=a.length+1;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,null,Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return r({noTeaser:!n})},help:this.getHideExcerptHelp}))),Object($.createElement)("div",{className:"wp-block-more"},Object($.createElement)("input",{type:"text",value:a,size:c,onChange:this.onChangeInput,onKeyDown:this.onKeyDown})))}}]),t}($.Component),Er="core/more",_r={title:Object(J._x)("More","block name"),description:Object(J.__)("Content before this block will be shown in the excerpt on your archives page."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}))),category:"layout",supports:{customClassName:!1,className:!1,html:!1,multiple:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,n=t.customText,r=t.noTeaser,o={};return n&&(o.customText=n),""===r&&(o.noTeaser=!0),Object(G.createBlock)("core/more",o)}}]},edit:Cr,save:function(e){var t=e.attributes,n=t.customText,r=t.noTeaser,o=n?"\x3c!--more ".concat(n,"--\x3e"):"\x3c!--more--\x3e",a=r?"\x3c!--noteaser--\x3e":"";return Object($.createElement)($.RawHTML,null,Object(Z.compact)([o,a]).join("\n"))}};var xr="core/nextpage",Sr={title:Object(J.__)("Page Break"),description:Object(J.__)("Separate your content into a multi-page experience."),icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M9 12h6v-2H9zm-7 0h5v-2H2zm15 0h5v-2h-5zm3 2v2l-6 6H6a2 2 0 0 1-2-2v-6h2v6h6v-4a2 2 0 0 1 2-2h6zM4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}))),category:"layout",keywords:[Object(J.__)("next page"),Object(J.__)("pagination")],supports:{customClassName:!1,className:!1,html:!1},attributes:{},transforms:{from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(G.createBlock)("core/nextpage",{})}}]},edit:function(){return Object($.createElement)("div",{className:"wp-block-nextpage"},Object($.createElement)("span",null,Object(J.__)("Page break")))},save:function(){return Object($.createElement)($.RawHTML,null,"\x3c!--nextpage--\x3e")}},Tr="core/preformatted",Nr={title:Object(J.__)("Preformatted"),description:Object(J.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,18H4V6h16V18z"}),Object($.createElement)(X.Rect,{x:"6",y:"10",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"6",y:"14",width:"8",height:"2"}),Object($.createElement)(X.Rect,{x:"16",y:"14",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"10",y:"10",width:"8",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html",selector:"pre",default:""}},transforms:{from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content;return Object(G.createBlock)("core/preformatted",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:{pre:{children:Object(G.getPhrasingContentSchema)()}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.mergeBlocks,r=e.setAttributes,o=e.className,a=t.content;return Object($.createElement)(W.RichText,{tagName:"pre",value:a.replace(/\n/g,"<br>"),onChange:function(e){r({content:e})},placeholder:Object(J.__)("Write preformatted text…"),wrapperClassName:o,onMerge:n})},save:function(e){var t=e.attributes.content;return Object($.createElement)(W.RichText.Content,{tagName:"pre",value:t})},merge:function(e,t){return{content:e.content+t.content}}},Rr="is-style-".concat("solid-color"),Br=function(e){function t(e){var n;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).call(this,e))).wasTextColorAutomaticallyComputed=!1,n.pullQuoteMainColorSetter=n.pullQuoteMainColorSetter.bind(Object(ce.a)(Object(ce.a)(n))),n.pullQuoteTextColorSetter=n.pullQuoteTextColorSetter.bind(Object(ce.a)(Object(ce.a)(n))),n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"pullQuoteMainColorSetter",value:function(e){var t=this.props,n=t.colorUtils,r=t.textColor,o=t.setTextColor,a=t.setMainColor,c=t.className,i=Object(Z.includes)(c,Rr),l=!r.color||this.wasTextColorAutomaticallyComputed,s=i&&l&&e;a(e),s&&(this.wasTextColorAutomaticallyComputed=!0,o(n.getMostReadableColor(e)))}},{key:"pullQuoteTextColorSetter",value:function(e){(0,this.props.setTextColor)(e),this.wasTextColorAutomaticallyComputed=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.mainColor,r=e.textColor,o=e.setAttributes,a=e.isSelected,c=e.className,i=t.value,l=t.citation,s=Object(Z.includes)(c,Rr),u=s?{backgroundColor:n.color}:{borderColor:n.color},b={color:r.color},m=r.color?Y()("has-text-color",Object(q.a)({},r.class,r.class)):void 0;return Object($.createElement)($.Fragment,null,Object($.createElement)("figure",{style:u,className:Y()(c,Object(q.a)({},n.class,s&&n.class))},Object($.createElement)("blockquote",{style:b,className:m},Object($.createElement)(W.RichText,{multiline:!0,value:i,onChange:function(e){return o({value:e})},placeholder:Object(J.__)("Write quote…"),wrapperClassName:"block-library-pullquote__content"}),(!W.RichText.isEmpty(l)||a)&&Object($.createElement)(W.RichText,{value:l,placeholder:Object(J.__)("Write citation…"),onChange:function(e){return o({citation:e})},className:"wp-block-pullquote__citation"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Color Settings"),colorSettings:[{value:n.color,onChange:this.pullQuoteMainColorSetter,label:Object(J.__)("Main Color")},{value:r.color,onChange:this.pullQuoteTextColorSetter,label:Object(J.__)("Text Color")}]},s&&Object($.createElement)(W.ContrastChecker,Object(ee.a)({textColor:r.color,backgroundColor:n.color},{isLargeText:!1})))))}}]),t}($.Component),Ar=Object(W.withColors)({mainColor:"background-color",textColor:"color"})(Br),Pr={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},Ir="core/pullquote",Lr={title:Object(J.__)("Pullquote"),description:Object(J.__)("Give special visual emphasis to a quote from your text."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Polygon,{points:"21 18 2 18 2 20 21 20"}),Object($.createElement)(X.Path,{d:"m19 10v4h-15v-4h15m1-2h-17c-0.55 0-1 0.45-1 1v6c0 0.55 0.45 1 1 1h17c0.55 0 1-0.45 1-1v-6c0-0.55-0.45-1-1-1z"}),Object($.createElement)(X.Polygon,{points:"21 4 2 4 2 6 21 6"})),category:"formatting",attributes:Pr,styles:[{name:"default",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(J.__)("Solid Color")}],supports:{align:["left","right","wide","full"]},edit:Ar,save:function(e){var t,n,r=e.attributes,o=r.mainColor,a=r.customMainColor,c=r.textColor,i=r.customTextColor,l=r.value,s=r.citation,u=r.className;if(Object(Z.includes)(u,Rr))(t=Object(W.getColorClassName)("background-color",o))||(n={backgroundColor:a});else if(a)n={borderColor:a};else if(o){var b=Object(Z.get)(Object(le.select)("core/block-editor").getSettings(),["colors"],[]);n={borderColor:Object(W.getColorObjectByAttributeValues)(b,o).color}}var m=Object(W.getColorClassName)("color",c),d=c||i?Y()("has-text-color",Object(q.a)({},m,m)):void 0,h=m?void 0:{color:i};return Object($.createElement)("figure",{className:t,style:n},Object($.createElement)("blockquote",{className:d,style:h},Object($.createElement)(W.RichText.Content,{value:l,multiline:!0}),!W.RichText.isEmpty(s)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:s})))},deprecated:[{attributes:Object(K.a)({},Pr),save:function(e){var t=e.attributes,n=t.value,r=t.citation;return Object($.createElement)("blockquote",null,Object($.createElement)(W.RichText.Content,{value:n,multiline:!0}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"cite",value:r}))}},{attributes:Object(K.a)({},Pr,{citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}}),save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return Object($.createElement)("blockquote",{className:"align".concat(o)},Object($.createElement)(W.RichText.Content,{value:n,multiline:!0}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"footer",value:r}))}}]},Mr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).titleField=Object($.createRef)(),e.editButton=Object($.createRef)(),e.handleFormSubmit=e.handleFormSubmit.bind(Object(ce.a)(Object(ce.a)(e))),e.handleTitleChange=e.handleTitleChange.bind(Object(ce.a)(Object(ce.a)(e))),e.handleTitleKeyDown=e.handleTitleKeyDown.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){this.props.isEditing&&this.titleField.current&&this.titleField.current.select()}},{key:"componentDidUpdate",value:function(e){!e.isEditing&&this.props.isEditing&&this.titleField.current.select(),!e.isEditing&&!e.isSaving||this.props.isEditing||this.props.isSaving||this.editButton.current.focus()}},{key:"handleFormSubmit",value:function(e){e.preventDefault(),this.props.onSave()}},{key:"handleTitleChange",value:function(e){this.props.onChangeTitle(e.target.value)}},{key:"handleTitleKeyDown",value:function(e){e.keyCode===jt.ESCAPE&&(e.stopPropagation(),this.props.onCancel())}},{key:"render",value:function(){var e=this.props,t=e.isEditing,n=e.title,r=e.isSaving,o=e.isEditDisabled,a=e.onEdit,c=e.instanceId;return Object($.createElement)($.Fragment,null,!t&&!r&&Object($.createElement)("div",{className:"reusable-block-edit-panel"},Object($.createElement)("b",{className:"reusable-block-edit-panel__info"},n),Object($.createElement)(X.Button,{ref:this.editButton,isLarge:!0,className:"reusable-block-edit-panel__button",disabled:o,onClick:a},Object(J.__)("Edit"))),(t||r)&&Object($.createElement)("form",{className:"reusable-block-edit-panel",onSubmit:this.handleFormSubmit},Object($.createElement)("label",{htmlFor:"reusable-block-edit-panel__title-".concat(c),className:"reusable-block-edit-panel__label"},Object(J.__)("Name:")),Object($.createElement)("input",{ref:this.titleField,type:"text",disabled:r,className:"reusable-block-edit-panel__title",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleTitleKeyDown,id:"reusable-block-edit-panel__title-".concat(c)}),Object($.createElement)(X.Button,{type:"submit",isLarge:!0,isBusy:r,disabled:!n||r,className:"reusable-block-edit-panel__button"},Object(J.__)("Save"))))}}]),t}($.Component),zr=Object(ie.withInstanceId)(Mr);var Hr=function(e){var t=e.title,n=Object(J.sprintf)(Object(J.__)("Reusable Block: %s"),t);return Object($.createElement)(X.Tooltip,{text:n},Object($.createElement)("span",{className:"reusable-block-indicator"},Object($.createElement)(X.Dashicon,{icon:"controls-repeat"})))},Dr=function(e){function t(e){var n,r=e.reusableBlock;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).startEditing=n.startEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.stopEditing=n.stopEditing.bind(Object(ce.a)(Object(ce.a)(n))),n.setAttributes=n.setAttributes.bind(Object(ce.a)(Object(ce.a)(n))),n.setTitle=n.setTitle.bind(Object(ce.a)(Object(ce.a)(n))),n.save=n.save.bind(Object(ce.a)(Object(ce.a)(n))),r&&r.isTemporary?n.state={isEditing:!0,title:r.title,changedAttributes:{}}:n.state={isEditing:!1,title:null,changedAttributes:null},n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){this.props.reusableBlock||this.props.fetchReusableBlock()}},{key:"startEditing",value:function(){var e=this.props.reusableBlock;this.setState({isEditing:!0,title:e.title,changedAttributes:{}})}},{key:"stopEditing",value:function(){this.setState({isEditing:!1,title:null,changedAttributes:null})}},{key:"setAttributes",value:function(e){this.setState(function(t){if(null!==t.changedAttributes)return{changedAttributes:Object(K.a)({},t.changedAttributes,e)}})}},{key:"setTitle",value:function(e){this.setState({title:e})}},{key:"save",value:function(){var e=this.props,t=e.reusableBlock,n=e.onUpdateTitle,r=e.updateAttributes,o=e.block,a=e.onSave,c=this.state,i=c.title,l=c.changedAttributes;i!==t.title&&n(i),r(o.clientId,l),a(),this.stopEditing()}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.reusableBlock,r=e.block,o=e.isFetching,a=e.isSaving,c=e.canUpdateBlock,i=this.state,l=i.isEditing,s=i.title,u=i.changedAttributes;if(!n&&o)return Object($.createElement)(X.Placeholder,null,Object($.createElement)(X.Spinner,null));if(!n||!r)return Object($.createElement)(X.Placeholder,null,Object(J.__)("Block has been deleted or is unavailable."));var b=Object($.createElement)(W.BlockEdit,Object(ee.a)({},this.props,{isSelected:l&&t,clientId:r.clientId,name:r.name,attributes:Object(K.a)({},r.attributes,u),setAttributes:l?this.setAttributes:Z.noop}));return l||(b=Object($.createElement)(X.Disabled,null,b)),Object($.createElement)($.Fragment,null,(t||l)&&Object($.createElement)(zr,{isEditing:l,title:null!==s?s:n.title,isSaving:a&&!n.isTemporary,isEditDisabled:!c,onEdit:this.startEditing,onChangeTitle:this.setTitle,onSave:this.save,onCancel:this.stopEditing}),!t&&!l&&Object($.createElement)(Hr,{title:n.title}),b)}}]),t}($.Component),Fr=Object(ie.compose)([Object(le.withSelect)(function(e,t){var n=e("core/editor"),r=n.__experimentalGetReusableBlock,o=n.__experimentalIsFetchingReusableBlock,a=n.__experimentalIsSavingReusableBlock,c=e("core").canUser,i=e("core/block-editor").getBlock,l=t.attributes.ref,s=r(l);return{reusableBlock:s,isFetching:o(l),isSaving:a(l),block:s?i(s.clientId):null,canUpdateBlock:!!s&&!s.isTemporary&&!!c("update","blocks",l)}}),Object(le.withDispatch)(function(e,t){var n=e("core/editor"),r=n.__experimentalFetchReusableBlocks,o=n.__experimentalUpdateReusableBlockTitle,a=n.__experimentalSaveReusableBlock,c=e("core/block-editor").updateBlockAttributes,i=t.attributes.ref;return{fetchReusableBlock:Object(Z.partial)(r,i),updateAttributes:c,onUpdateTitle:Object(Z.partial)(o,i),onSave:Object(Z.partial)(a,i)}})])(Dr),Vr="core/block",Ur={title:Object(J.__)("Reusable Block"),category:"reusable",description:Object(J.__)("Create content, and save it for you and other contributors to reuse across your site. Update the block, and the changes apply everywhere it’s used."),attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},edit:Fr,save:function(){return null}},Wr=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.feedURL},e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSubmitURL=e.onSubmitURL.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"toggleAttribute",value:function(e){var t=this;return function(){var n=t.props.attributes[e];(0,t.props.setAttributes)(Object(q.a)({},e,!n))}}},{key:"onSubmitURL",value:function(e){e.preventDefault(),this.props.attributes.feedURL&&this.setState({editing:!1})}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.blockLayout,r=t.columns,o=t.displayAuthor,a=t.displayExcerpt,c=t.displayDate,i=t.excerptLength,l=t.feedURL,s=t.itemsToShow,u=this.props.setAttributes;if(this.state.editing)return Object($.createElement)(X.Placeholder,{icon:"rss",label:"RSS"},Object($.createElement)("form",{onSubmit:this.onSubmitURL},Object($.createElement)(X.TextControl,{placeholder:Object(J.__)("Enter URL here…"),value:l,onChange:function(e){return u({feedURL:e})},className:"components-placeholder__input"}),Object($.createElement)(X.Button,{isLarge:!0,type:"submit"},Object(J.__)("Use URL"))));var b=[{icon:"edit",title:Object(J.__)("Edit RSS URL"),onClick:function(){return e.setState({editing:!0})}},{icon:"list-view",title:Object(J.__)("List View"),onClick:function(){return u({blockLayout:"list"})},isActive:"list"===n},{icon:"grid-view",title:Object(J.__)("Grid View"),onClick:function(){return u({blockLayout:"grid"})},isActive:"grid"===n}];return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,{controls:b})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("RSS Settings")},Object($.createElement)(X.RangeControl,{label:Object(J.__)("Number of items"),value:s,onChange:function(e){return u({itemsToShow:e})},min:1,max:10}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display author"),checked:o,onChange:this.toggleAttribute("displayAuthor")}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display date"),checked:c,onChange:this.toggleAttribute("displayDate")}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Display excerpt"),checked:a,onChange:this.toggleAttribute("displayExcerpt")}),a&&Object($.createElement)(X.RangeControl,{label:Object(J.__)("Max number of words in excerpt"),value:i,onChange:function(e){return u({excerptLength:e})},min:10,max:100}),"grid"===n&&Object($.createElement)(X.RangeControl,{label:Object(J.__)("Columns"),value:r,onChange:function(e){return u({columns:e})},min:2,max:6}))),Object($.createElement)(X.Disabled,null,Object($.createElement)(X.ServerSideRender,{block:"core/rss",attributes:this.props.attributes})))}}]),t}($.Component),Gr="core/rss",qr={title:Object(J.__)("RSS"),description:Object(J.__)("Display entries from any RSS or Atom feed."),icon:"rss",category:"widgets",keywords:[Object(J.__)("atom"),Object(J.__)("feed")],supports:{html:!1},edit:Wr,save:function(){return null}};var Kr="core/search",$r={title:Object(J.__)("Search"),description:Object(J.__)("Help visitors find your content."),icon:"search",category:"widgets",keywords:[Object(J.__)("find")],edit:function(e){var t=e.className,n=e.attributes,r=e.setAttributes,o=n.label,a=n.placeholder,c=n.buttonText;return Object($.createElement)("div",{className:t},Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-search__label","aria-label":Object(J.__)("Label text"),placeholder:Object(J.__)("Add label…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:o,onChange:function(e){return r({label:e})}}),Object($.createElement)("input",{className:"wp-block-search__input","aria-label":Object(J.__)("Optional placeholder text"),placeholder:a?void 0:Object(J.__)("Optional placeholder…"),value:a,onChange:function(e){return r({placeholder:e.target.value})}}),Object($.createElement)(W.RichText,{wrapperClassName:"wp-block-search__button",className:"wp-block-search__button-rich-text","aria-label":Object(J.__)("Button text"),placeholder:Object(J.__)("Add button text…"),keepPlaceholderOnFocus:!0,formattingControls:[],value:c,onChange:function(e){return r({buttonText:e})}}))},save:function(){return null}},Qr="core/separator",Yr={title:Object(J.__)("Separator"),description:Object(J.__)("Create a break between ideas or sections with a horizontal separator."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M19 13H5v-2h14v2z"})),category:"layout",keywords:[Object(J.__)("horizontal-line"),"hr",Object(J.__)("divider")],styles:[{name:"default",label:Object(J.__)("Default"),isDefault:!0},{name:"wide",label:Object(J.__)("Wide Line")},{name:"dots",label:Object(J.__)("Dots")}],transforms:{from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(G.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},edit:function(e){var t=e.className;return Object($.createElement)("hr",{className:t})},save:function(){return Object($.createElement)("hr",null)}},Zr=n(61),Jr="core/shortcode",Xr={title:Object(J.__)("Shortcode"),description:Object(J.__)("Insert additional custom elements with a WordPress shortcode."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M8.5,21.4l1.9,0.5l5.2-19.3l-1.9-0.5L8.5,21.4z M3,19h4v-2H5V7h2V5H3V19z M17,5v2h2v10h-2v2h4V5H17z"})),category:"widgets",attributes:{text:{type:"string",source:"html"}},transforms:{from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var n=t.content;return Object(Zr.removep)(Object(Zr.autop)(n))}}},priority:20}]},supports:{customClassName:!1,className:!1,html:!1},edit:Object(ie.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,o="blocks-shortcode-input-".concat(r);return Object($.createElement)("div",{className:"wp-block-shortcode"},Object($.createElement)("label",{htmlFor:o},Object($.createElement)(X.Dashicon,{icon:"shortcode"}),Object(J.__)("Shortcode")),Object($.createElement)(W.PlainText,{className:"input-control",id:o,value:t.text,placeholder:Object(J.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))}),save:function(e){var t=e.attributes;return Object($.createElement)($.RawHTML,null,t.text)}},eo="core/spacer",to={title:Object(J.__)("Spacer"),description:Object(J.__)("Add white space between blocks and customize its height."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),category:"layout",attributes:{height:{type:"number",default:100}},edit:Object(ie.withInstanceId)(function(e){var t=e.attributes,n=e.isSelected,r=e.setAttributes,o=e.toggleSelection,a=e.instanceId,c=t.height,i="block-spacer-height-input-".concat(a);return Object($.createElement)($.Fragment,null,Object($.createElement)(X.ResizableBox,{className:Y()("block-library-spacer__resize-container",{"is-selected":n}),size:{height:c},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,n,a){r({height:parseInt(c+a.height,10)}),o(!0)},onResizeStart:function(){o(!1)}}),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Spacer Settings")},Object($.createElement)(X.BaseControl,{label:Object(J.__)("Height in pixels"),id:i},Object($.createElement)("input",{type:"number",id:i,onChange:function(e){r({height:parseInt(e.target.value,10)})},value:c,min:"20",step:"10"})))))}),save:function(e){var t=e.attributes;return Object($.createElement)("div",{style:{height:t.height},"aria-hidden":!0})}},no=n(50),ro=n.n(no),oo="core/subhead",ao={title:Object(J.__)("Subheading (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),category:"common",supports:{inserter:!1,multiple:!1},attributes:{content:{type:"string",source:"html",selector:"p"},align:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.align,a=t.content,c=t.placeholder;return ro()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:o,onChange:function(e){n({align:e})}})),Object($.createElement)(W.RichText,{tagName:"p",value:a,onChange:function(e){n({content:e})},style:{textAlign:o},className:r,placeholder:c||Object(J.__)("Write subheading…")}))},save:function(e){var t=e.attributes,n=t.align,r=t.content;return Object($.createElement)(W.RichText.Content,{tagName:"p",style:{textAlign:n},value:r})}};var co=[{color:"#f3f4f5",name:"Subtle light gray",slug:"subtle-light-gray"},{color:"#e9fbe5",name:"Subtle pale green",slug:"subtle-pale-green"},{color:"#e7f5fe",name:"Subtle pale blue",slug:"subtle-pale-blue"},{color:"#fcf0ef",name:"Subtle pale pink",slug:"subtle-pale-pink"}],io=Object(W.createCustomColorsHOC)(co),lo=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).onCreateTable=e.onCreateTable.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeFixedLayout=e.onChangeFixedLayout.bind(Object(ce.a)(Object(ce.a)(e))),e.onChange=e.onChange.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeInitialColumnCount=e.onChangeInitialColumnCount.bind(Object(ce.a)(Object(ce.a)(e))),e.onChangeInitialRowCount=e.onChangeInitialRowCount.bind(Object(ce.a)(Object(ce.a)(e))),e.renderSection=e.renderSection.bind(Object(ce.a)(Object(ce.a)(e))),e.getTableControls=e.getTableControls.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRow=e.onInsertRow.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRowBefore=e.onInsertRowBefore.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertRowAfter=e.onInsertRowAfter.bind(Object(ce.a)(Object(ce.a)(e))),e.onDeleteRow=e.onDeleteRow.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumn=e.onInsertColumn.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumnBefore=e.onInsertColumnBefore.bind(Object(ce.a)(Object(ce.a)(e))),e.onInsertColumnAfter=e.onInsertColumnAfter.bind(Object(ce.a)(Object(ce.a)(e))),e.onDeleteColumn=e.onDeleteColumn.bind(Object(ce.a)(Object(ce.a)(e))),e.state={initialRowCount:2,initialColumnCount:2,selectedCell:null},e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"onChangeInitialColumnCount",value:function(e){this.setState({initialColumnCount:e})}},{key:"onChangeInitialRowCount",value:function(e){this.setState({initialRowCount:e})}},{key:"onCreateTable",value:function(e){e.preventDefault();var t=this.props.setAttributes,n=this.state,r=n.initialRowCount,o=n.initialColumnCount;t(function(e){var t=e.rowCount,n=e.columnCount;return{body:Object(Z.times)(t,function(){return{cells:Object(Z.times)(n,function(){return{content:"",tag:"td"}})}})}}({rowCount:r=parseInt(r,10)||2,columnCount:o=parseInt(o,10)||2}))}},{key:"onChangeFixedLayout",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({hasFixedLayout:!t.hasFixedLayout})}},{key:"onChange",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes;(0,n.setAttributes)(function(e,t){var n=t.section,r=t.rowIndex,o=t.columnIndex,a=t.content;return Object(q.a)({},n,e[n].map(function(e,t){return t!==r?e:{cells:e.cells.map(function(e,t){return t!==o?e:Object(K.a)({},e,{content:a})})}}))}(r,{section:t.section,rowIndex:t.rowIndex,columnIndex:t.columnIndex,content:e}))}}},{key:"onInsertRow",value:function(e){var t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.rowIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.rowIndex,o=e[n][0].cells.length;return Object(q.a)({},n,[].concat(Object(U.a)(e[n].slice(0,r)),[{cells:Object(Z.times)(o,function(){return{content:"",tag:"td"}})}],Object(U.a)(e[n].slice(r))))}(r,{section:a,rowIndex:c+e}))}}},{key:"onInsertRowBefore",value:function(){this.onInsertRow(0)}},{key:"onInsertRowAfter",value:function(){this.onInsertRow(1)}},{key:"onDeleteRow",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.rowIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.rowIndex;return Object(q.a)({},n,e[n].filter(function(e,t){return t!==r}))}(n,{section:o,rowIndex:a}))}}},{key:"onInsertColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.selectedCell;if(t){var n=this.props,r=n.attributes,o=n.setAttributes,a=t.section,c=t.columnIndex;this.setState({selectedCell:null}),o(function(e,t){var n=t.section,r=t.columnIndex;return Object(q.a)({},n,e[n].map(function(e){return{cells:[].concat(Object(U.a)(e.cells.slice(0,r)),[{content:"",tag:"td"}],Object(U.a)(e.cells.slice(r)))}}))}(r,{section:a,columnIndex:c+e}))}}},{key:"onInsertColumnBefore",value:function(){this.onInsertColumn(0)}},{key:"onInsertColumnAfter",value:function(){this.onInsertColumn(1)}},{key:"onDeleteColumn",value:function(){var e=this.state.selectedCell;if(e){var t=this.props,n=t.attributes,r=t.setAttributes,o=e.section,a=e.columnIndex;this.setState({selectedCell:null}),r(function(e,t){var n=t.section,r=t.columnIndex;return Object(q.a)({},n,e[n].map(function(e){return{cells:e.cells.filter(function(e,t){return t!==r})}}).filter(function(e){return e.cells.length}))}(n,{section:o,columnIndex:a}))}}},{key:"createOnFocus",value:function(e){var t=this;return function(){t.setState({selectedCell:e})}}},{key:"getTableControls",value:function(){var e=this.state.selectedCell;return[{icon:"table-row-before",title:Object(J.__)("Add Row Before"),isDisabled:!e,onClick:this.onInsertRowBefore},{icon:"table-row-after",title:Object(J.__)("Add Row After"),isDisabled:!e,onClick:this.onInsertRowAfter},{icon:"table-row-delete",title:Object(J.__)("Delete Row"),isDisabled:!e,onClick:this.onDeleteRow},{icon:"table-col-before",title:Object(J.__)("Add Column Before"),isDisabled:!e,onClick:this.onInsertColumnBefore},{icon:"table-col-after",title:Object(J.__)("Add Column After"),isDisabled:!e,onClick:this.onInsertColumnAfter},{icon:"table-col-delete",title:Object(J.__)("Delete Column"),isDisabled:!e,onClick:this.onDeleteColumn}]}},{key:"renderSection",value:function(e){var t=this,n=e.type,r=e.rows;if(!r.length)return null;var o="t".concat(n),a=this.state.selectedCell;return Object($.createElement)(o,null,r.map(function(e,r){var o=e.cells;return Object($.createElement)("tr",{key:r},o.map(function(e,o){var c=e.content,i=e.tag,l=a&&n===a.section&&r===a.rowIndex&&o===a.columnIndex,s={section:n,rowIndex:r,columnIndex:o},u=Y()({"is-selected":l});return Object($.createElement)(i,{key:o,className:u},Object($.createElement)(W.RichText,{className:"wp-block-table__cell-content",value:c,onChange:t.onChange,unstableOnFocus:t.createOnFocus(s)}))}))}))}},{key:"componentDidUpdate",value:function(){var e=this.props.isSelected,t=this.state.selectedCell;!e&&t&&this.setState({selectedCell:null})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.backgroundColor,o=e.setBackgroundColor,a=this.state,c=a.initialRowCount,i=a.initialColumnCount,l=t.hasFixedLayout,s=t.head,u=t.body,b=t.foot,m=!s.length&&!u.length&&!b.length,d=this.renderSection;if(m)return Object($.createElement)("form",{onSubmit:this.onCreateTable},Object($.createElement)(X.TextControl,{type:"number",label:Object(J.__)("Column Count"),value:i,onChange:this.onChangeInitialColumnCount,min:"1"}),Object($.createElement)(X.TextControl,{type:"number",label:Object(J.__)("Row Count"),value:c,onChange:this.onChangeInitialRowCount,min:"1"}),Object($.createElement)(X.Button,{isPrimary:!0,type:"submit"},Object(J.__)("Create")));var h=Y()(n,r.class,{"has-fixed-layout":l,"has-background":!!r.color});return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(X.DropdownMenu,{icon:"editor-table",label:Object(J.__)("Edit table"),controls:this.getTableControls()}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Table Settings"),className:"blocks-table-settings"},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Fixed width table cells"),checked:!!l,onChange:this.onChangeFixedLayout})),Object($.createElement)(W.PanelColorSettings,{title:Object(J.__)("Color Settings"),initialOpen:!1,colorSettings:[{value:r.color,onChange:o,label:Object(J.__)("Background Color"),disableCustomColors:!0,colors:co}]})),Object($.createElement)("table",{className:h},Object($.createElement)(d,{type:"head",rows:s}),Object($.createElement)(d,{type:"body",rows:u}),Object($.createElement)(d,{type:"foot",rows:b})))}}]),t}($.Component),so=io("backgroundColor")(lo),uo={tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:Object(G.getPhrasingContentSchema)()},td:{allowEmpty:!0,children:Object(G.getPhrasingContentSchema)()}}}},bo={table:{children:{thead:{allowEmpty:!0,children:uo},tfoot:{allowEmpty:!0,children:uo},tbody:{allowEmpty:!0,children:uo}}}};function mo(e){return{type:"array",default:[],source:"query",selector:"t".concat(e," tr"),query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"}}}}}}var ho="core/table",po={title:Object(J.__)("Table"),description:Object(J.__)("Insert a table — perfect for sharing charts and data."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}))),category:"formatting",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:mo("head"),body:mo("body"),foot:mo("foot")},styles:[{name:"regular",label:Object(J._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(J.__)("Stripes")}],supports:{align:!0},transforms:{from:[{type:"raw",selector:"table",schema:bo}]},edit:so,save:function(e){var t=e.attributes,n=t.hasFixedLayout,r=t.head,o=t.body,a=t.foot,c=t.backgroundColor;if(!r.length&&!o.length&&!a.length)return null;var i=Object(W.getColorClassName)("background-color",c),l=Y()(i,{"has-fixed-layout":n,"has-background":!!i}),s=function(e){var t=e.type,n=e.rows;if(!n.length)return null;var r="t".concat(t);return Object($.createElement)(r,null,n.map(function(e,t){var n=e.cells;return Object($.createElement)("tr",{key:t},n.map(function(e,t){var n=e.content,r=e.tag;return Object($.createElement)(W.RichText.Content,{tagName:r,value:n,key:t})}))}))};return Object($.createElement)("table",{className:l},Object($.createElement)(s,{type:"head",rows:r}),Object($.createElement)(s,{type:"body",rows:o}),Object($.createElement)(s,{type:"foot",rows:a}))}},go="core/template",Oo={title:Object(J.__)("Reusable Template"),category:"reusable",description:Object(J.__)("Template block used as a container."),icon:Object($.createElement)(X.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object($.createElement)(X.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object($.createElement)(X.G,null,Object($.createElement)(X.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),supports:{customClassName:!1,html:!1,inserter:!1},edit:function(){return Object($.createElement)(W.InnerBlocks,null)},save:function(){return Object($.createElement)(W.InnerBlocks.Content,null)}},jo="core/text-columns",fo={supports:{inserter:!1},title:Object(J.__)("Text Columns (deprecated)"),description:Object(J.__)("This block is deprecated. Please use the Columns block instead."),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},transforms:{to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,n=e.columns,r=e.content,o=e.width;return Object(G.createBlock)("core/columns",{align:"wide"===o||"full"===o?o:void 0,className:t,columns:n},r.map(function(e){var t=e.children;return Object(G.createBlock)("core/column",{},[Object(G.createBlock)("core/paragraph",{content:t})])}))}}]},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.width,a=t.content,c=t.columns;return ro()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.BlockAlignmentToolbar,{value:o,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,null,Object($.createElement)(X.RangeControl,{label:Object(J.__)("Columns"),value:c,onChange:function(e){return n({columns:e})},min:2,max:4}))),Object($.createElement)("div",{className:"".concat(r," align").concat(o," columns-").concat(c)},Object(Z.times)(c,function(e){return Object($.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object($.createElement)(W.RichText,{tagName:"p",value:Object(Z.get)(a,[e,"children"]),onChange:function(t){n({content:[].concat(Object(U.a)(a.slice(0,e)),[{children:t}],Object(U.a)(a.slice(e+1)))})},placeholder:Object(J.__)("New Column")}))})))},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return Object($.createElement)("div",{className:"align".concat(n," columns-").concat(o)},Object(Z.times)(o,function(e){return Object($.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object($.createElement)(W.RichText.Content,{tagName:"p",value:Object(Z.get)(r,[e,"children"])}))}))}},vo="core/verse",yo={title:Object(J.__)("Verse"),description:Object(J.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M3 17v4h4l11-11-4-4L3 17zm3 2H5v-1l9-9 1 1-9 9zM21 6l-3-3h-1l-2 2 4 4 2-2V6z"})),category:"formatting",keywords:[Object(J.__)("poetry")],attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(G.createBlock)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.mergeBlocks,a=t.textAlign,c=t.content;return Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(W.AlignmentToolbar,{value:a,onChange:function(e){n({textAlign:e})}})),Object($.createElement)(W.RichText,{tagName:"pre",value:c,onChange:function(e){n({content:e})},style:{textAlign:a},placeholder:Object(J.__)("Write…"),wrapperClassName:r,onMerge:o}))},save:function(e){var t=e.attributes,n=t.textAlign,r=t.content;return Object($.createElement)(W.RichText.Content,{tagName:"pre",style:{textAlign:n},value:r})},merge:function(e,t){return{content:e.content+t.content}}},ko=Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object($.createElement)(X.Path,{d:"M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z"})),wo=["video"],Co=["image"],Eo=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.src},e.videoPlayer=Object($.createRef)(),e.posterImageButton=Object($.createRef)(),e.toggleAttribute=e.toggleAttribute.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectURL=e.onSelectURL.bind(Object(ce.a)(Object(ce.a)(e))),e.onSelectPoster=e.onSelectPoster.bind(Object(ce.a)(Object(ce.a)(e))),e.onRemovePoster=e.onRemovePoster.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.noticeOperations,o=t.setAttributes,a=n.id,c=n.src,i=void 0===c?"":c;if(!a&&Object(Oe.isBlobURL)(i)){var l=Object(Oe.getBlobByURL)(i);l&&Object(W.mediaUpload)({filesList:[l],onFileChange:function(e){var t=Object(je.a)(e,1)[0].url;o({src:t})},onError:function(t){e.setState({editing:!0}),r.createErrorNotice(t)},allowedTypes:wo})}}},{key:"componentDidUpdate",value:function(e){this.props.attributes.poster!==e.attributes.poster&&this.videoPlayer.current.load()}},{key:"toggleAttribute",value:function(e){var t=this;return function(n){t.props.setAttributes(Object(q.a)({},e,n))}}},{key:"onSelectURL",value:function(e){var t=this.props,n=t.attributes,r=t.setAttributes;if(e!==n.src){var o=We({attributes:{url:e}});if(void 0!==o)return void this.props.onReplace(o);r({src:e,id:void 0})}this.setState({editing:!1})}},{key:"onSelectPoster",value:function(e){(0,this.props.setAttributes)({poster:e.url})}},{key:"onRemovePoster",value:function(){(0,this.props.setAttributes)({poster:""}),this.posterImageButton.current.focus()}},{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src,u=this.props,b=u.setAttributes,m=u.isSelected,d=u.className,h=u.noticeOperations,p=u.noticeUI,g=function(){e.setState({editing:!0})};return this.state.editing?Object($.createElement)(W.MediaPlaceholder,{icon:Object($.createElement)(W.BlockIcon,{icon:ko}),className:d,onSelect:function(t){if(!t||!t.url)return b({src:void 0,id:void 0}),void g();b({src:t.url,id:t.id}),e.setState({src:t.url,editing:!1})},onSelectURL:this.onSelectURL,accept:"video/*",allowedTypes:wo,value:this.props.attributes,notices:p,onError:h.createErrorNotice}):Object($.createElement)($.Fragment,null,Object($.createElement)(W.BlockControls,null,Object($.createElement)(X.Toolbar,null,Object($.createElement)(X.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(J.__)("Edit video"),onClick:g,icon:"edit"}))),Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Video Settings")},Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Autoplay"),onChange:this.toggleAttribute("autoplay"),checked:n}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Loop"),onChange:this.toggleAttribute("loop"),checked:a}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Muted"),onChange:this.toggleAttribute("muted"),checked:c}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Playback Controls"),onChange:this.toggleAttribute("controls"),checked:o}),Object($.createElement)(X.SelectControl,{label:Object(J.__)("Preload"),value:l,onChange:function(e){return b({preload:e})},options:[{value:"auto",label:Object(J.__)("Auto")},{value:"metadata",label:Object(J.__)("Metadata")},{value:"none",label:Object(J.__)("None")}]}),Object($.createElement)(W.MediaUploadCheck,null,Object($.createElement)(X.BaseControl,{className:"editor-video-poster-control",label:Object(J.__)("Poster Image")},Object($.createElement)(W.MediaUpload,{title:Object(J.__)("Select Poster Image"),onSelect:this.onSelectPoster,allowedTypes:Co,render:function(t){var n=t.open;return Object($.createElement)(X.Button,{isDefault:!0,onClick:n,ref:e.posterImageButton},e.props.attributes.poster?Object(J.__)("Replace image"):Object(J.__)("Select Poster Image"))}}),!!this.props.attributes.poster&&Object($.createElement)(X.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(J.__)("Remove Poster Image")))))),Object($.createElement)("figure",{className:d},Object($.createElement)(X.Disabled,null,Object($.createElement)("video",{controls:o,poster:i,src:s,ref:this.videoPlayer})),(!W.RichText.isEmpty(r)||m)&&Object($.createElement)(W.RichText,{tagName:"figcaption",placeholder:Object(J.__)("Write caption…"),value:r,onChange:function(e){return b({caption:e})},inlineToolbar:!0})))}}]),t}($.Component),_o=Object(X.withNotices)(Eo),xo="core/video",So={title:Object(J.__)("Video"),description:Object(J.__)("Embed a video from your media library or upload a new one."),icon:ko,keywords:[Object(J.__)("movie")],category:"common",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"}},transforms:{from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("video/")},transform:function(e){var t=e[0];return Object(G.createBlock)("core/video",{src:Object(Oe.createBlobURL)(t)})}}]},supports:{align:!0},edit:_o,save:function(e){var t=e.attributes,n=t.autoplay,r=t.caption,o=t.controls,a=t.loop,c=t.muted,i=t.poster,l=t.preload,s=t.src;return Object($.createElement)("figure",null,s&&Object($.createElement)("video",{autoPlay:n,controls:o,loop:a,muted:c,poster:i,preload:"metadata"!==l?l:void 0,src:s}),!W.RichText.isEmpty(r)&&Object($.createElement)(W.RichText.Content,{tagName:"figcaption",value:r}))}},To=function(e){function t(){var e;return Object(te.a)(this,t),(e=Object(re.a)(this,Object(oe.a)(t).apply(this,arguments))).state={editing:!e.props.attributes.taxonomy},e.setTaxonomy=e.setTaxonomy.bind(Object(ce.a)(Object(ce.a)(e))),e.toggleShowTagCounts=e.toggleShowTagCounts.bind(Object(ce.a)(Object(ce.a)(e))),e}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"getTaxonomyOptions",value:function(){var e=Object(Z.filter)(this.props.taxonomies,"show_cloud"),t={label:Object(J.__)("- Select -"),value:""},n=Object(Z.map)(e,function(e){return{value:e.slug,label:e.name}});return[t].concat(Object(U.a)(n))}},{key:"setTaxonomy",value:function(e){(0,this.props.setAttributes)({taxonomy:e})}},{key:"toggleShowTagCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showTagCounts:!t.showTagCounts})}},{key:"render",value:function(){var e=this.props.attributes,t=e.taxonomy,n=e.showTagCounts,r=this.getTaxonomyOptions(),o=Object($.createElement)(W.InspectorControls,null,Object($.createElement)(X.PanelBody,{title:Object(J.__)("Tag Cloud Settings")},Object($.createElement)(X.SelectControl,{label:Object(J.__)("Taxonomy"),options:r,value:t,onChange:this.setTaxonomy}),Object($.createElement)(X.ToggleControl,{label:Object(J.__)("Show post counts"),checked:n,onChange:this.toggleShowTagCounts})));return Object($.createElement)($.Fragment,null,o,Object($.createElement)(X.ServerSideRender,{key:"tag-cloud",block:"core/tag-cloud",attributes:e}))}}]),t}($.Component),No=Object(le.withSelect)(function(e){return{taxonomies:e("core").getTaxonomies()}})(To),Ro="core/tag-cloud",Bo={title:Object(J.__)("Tag Cloud"),description:Object(J.__)("A cloud of your most used tags."),icon:"tag",category:"widgets",supports:{html:!1,align:!0},edit:No,save:function(){return null}},Ao=window.wp;var Po=function(e){function t(e){var n;return Object(te.a)(this,t),(n=Object(re.a)(this,Object(oe.a)(t).call(this,e))).initialize=n.initialize.bind(Object(ce.a)(Object(ce.a)(n))),n.onSetup=n.onSetup.bind(Object(ce.a)(Object(ce.a)(n))),n.focus=n.focus.bind(Object(ce.a)(Object(ce.a)(n))),n}return Object(ae.a)(t,e),Object(ne.a)(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),Ao.oldEditor.remove("editor-".concat(this.props.clientId))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.clientId,r=t.attributes.content,o=window.tinymce.get("editor-".concat(n));e.attributes.content!==r&&o.setContent(r||"")}},{key:"initialize",value:function(){var e=this.props.clientId,t=window.wpEditorL10n.tinymce.settings;Ao.oldEditor.initialize("editor-".concat(e),{tinymce:Object(K.a)({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(e),setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t,n=this,r=this.props,o=r.attributes.content,a=r.setAttributes,c=this.ref;this.editor=e,o&&e.on("loadContent",function(){return e.setContent(o)}),e.on("blur",function(){return t=e.selection.getBookmark(2,!0),a({content:e.getContent()}),e.once("focus",function(){t&&e.selection.moveToBookmark(t)}),!1}),e.on("mousedown touchstart",function(){t=null}),e.on("keydown",function(t){t.keyCode!==jt.BACKSPACE&&t.keyCode!==jt.DELETE||!function(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(n.props.onReplace([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===jt.F10&&t.stopPropagation()}),e.addButton("kitchensink",{tooltip:Object(J._x)("More","button to expand options"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=!this.active();this.active(t),e.dom.toggleClass(c,"has-advanced-toolbar",t)}}),e.on("init",function(){e.settings.toolbar1&&-1===e.settings.toolbar1.indexOf("kitchensink")&&e.dom.addClass(c,"has-advanced-toolbar")}),e.addButton("wp_add_media",{tooltip:Object(J.__)("Insert Media"),icon:"dashicon dashicons-admin-media",cmd:"WP_Medialib"}),e.on("init",function(){var e=n.editor.getBody();document.activeElement===e&&(e.blur(),n.editor.focus())})}},{key:"focus",value:function(){this.editor&&this.editor.focus()}},{key:"onToolbarKeyDown",value:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},{key:"render",value:function(){var e=this,t=this.props.clientId;return[Object($.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),ref:function(t){return e.ref=t},className:"block-library-classic__toolbar",onClick:this.focus,"data-placeholder":Object(J.__)("Classic"),onKeyDown:this.onToolbarKeyDown}),Object($.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})]}}]),t}($.Component),Io="core/freeform",Lo={title:Object(J._x)("Classic","block title"),description:Object(J.__)("Use the classic WordPress editor."),icon:Object($.createElement)(X.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object($.createElement)(X.Path,{d:"M0,0h24v24H0V0z M0,0h24v24H0V0z",fill:"none"}),Object($.createElement)(X.Path,{d:"m20 7v10h-16v-10h16m0-2h-16c-1.1 0-1.99 0.9-1.99 2l-0.01 10c0 1.1 0.9 2 2 2h16c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2z"}),Object($.createElement)(X.Rect,{x:"11",y:"8",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"11",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"8",y:"8",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"8",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"5",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"5",y:"8",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"8",y:"14",width:"8",height:"2"}),Object($.createElement)(X.Rect,{x:"14",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"14",y:"8",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"17",y:"11",width:"2",height:"2"}),Object($.createElement)(X.Rect,{x:"17",y:"8",width:"2",height:"2"})),category:"formatting",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},edit:Po,save:function(e){var t=e.attributes.content;return Object($.createElement)($.RawHTML,null,t)}};n.d(t,"registerCoreBlocks",function(){return Mo});var Mo=function(){[r,o,a,i,w,c,A,l,s,u,b,m,d,h,p,g,O].concat(Object(U.a)(Ln),Object(U.a)(Mn),[j,window.wp&&window.wp.oldEditor?V:null,f,v,y,k,C,E,_,x,S,N,R,B,T,P,I,L,F,M,z,H,D]).forEach(function(e){if(e){var t=e.name,n=e.settings;Object(G.registerBlockType)(t,n)}}),Object(G.setDefaultBlockName)(pe),window.wp&&window.wp.oldEditor&&Object(G.setFreeformContentHandlerName)(Io),Object(G.setUnregisteredTypeHandlerName)(kr)}},22:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(34);var o=n(33);function a(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(r=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw a}}return n}(e,t)||Object(o.a)()}n.d(t,"a",function(){return a})},27:function(e,t){!function(){e.exports=this.moment}()},29:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},3:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return r})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},31:function(e,t){!function(){e.exports=this.wp.blob}()},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},33:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},34:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},36:function(e,t){!function(){e.exports=this.wp.viewport}()},38:function(e,t,n){e.exports=function(e,t){var n,r,o,a=0;function c(){var t,c,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(c=0;c<l;c++)if(i.args[c]!==arguments[c]){i=i.next;continue e}return i!==r&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=r,i.prev=null,r.prev=i,r=i),i.val}i=i.next}for(t=new Array(l),c=0;c<l;c++)t[c]=arguments[c];return i={args:t,val:e.apply(null,t)},r?(r.prev=i,i.next=r):o=i,a===n?(o=o.prev).next=null:a++,r=i,i.val}return t&&t.maxSize&&(n=t.maxSize),c.clear=function(){r=null,o=null,a=0},c}},4:function(e,t){!function(){e.exports=this.wp.components}()},47:function(e,t){!function(){e.exports=this.wp.date}()},5:function(e,t){!function(){e.exports=this.wp.data}()},50:function(e,t){!function(){e.exports=this.wp.deprecated}()},55:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},59:function(e,t){!function(){e.exports=this.wp.blockEditor}()},6:function(e,t){!function(){e.exports=this.wp.editor}()},61:function(e,t){!function(){e.exports=this.wp.autop}()},64:function(e,t,n){var r;
13
  /*!
14
  Copyright (c) 2016 Jed Watson.
15
  Licensed under the MIT License (MIT), see
20
  Licensed under the MIT License (MIT), see
21
  http://jedwatson.github.io/classnames
22
  */
23
+ !function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)o(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function o(e,o){if(o){var a=typeof o;"string"===a?function(e,t){for(var n=t.split(r),o=n.length,a=0;a<o;++a)e[n[a]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===a?function(e,t){for(var r in t)n.call(t,r)&&(e[r]=!!t[r])}(e,o):"number"===a&&function(e,t){e[t]=!0}(e,o)}}return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=new e;t(a,r);var c=[];for(var i in a)a[i]&&c.push(i);return c.join(" ")}}();void 0!==e&&e.exports?e.exports=n:void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},7:function(e,t){!function(){e.exports=this.wp.compose}()},77:function(e,t,n){"use strict";var r=n(126),o=n(124);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=f,t.resolve=function(e,t){return f(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?f(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=f(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var c=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),b=["%","/","?",";","#"].concat(u),m=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},j=n(123);function f(e,t,n){if(e&&o.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),i=-1!==a&&a<e.indexOf("#")?"?":"#",s=e.split(i);s[0]=s[0].replace(/\\/g,"/");var f=e=s.join(i);if(f=f.trim(),!n&&1===e.split("#").length){var v=l.exec(f);if(v)return this.path=f,this.href=f,this.pathname=v[1],v[2]?(this.search=v[2],this.query=t?j.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=c.exec(f);if(y){var k=(y=y[0]).toLowerCase();this.protocol=k,f=f.substr(y.length)}if(n||y||f.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===f.substr(0,2);!w||y&&g[y]||(f=f.substr(2),this.slashes=!0)}if(!g[y]&&(w||y&&!O[y])){for(var C,E,_=-1,x=0;x<m.length;x++){-1!==(S=f.indexOf(m[x]))&&(-1===_||S<_)&&(_=S)}-1!==(E=-1===_?f.lastIndexOf("@"):f.lastIndexOf("@",_))&&(C=f.slice(0,E),f=f.slice(E+1),this.auth=decodeURIComponent(C)),_=-1;for(x=0;x<b.length;x++){var S;-1!==(S=f.indexOf(b[x]))&&(-1===_||S<_)&&(_=S)}-1===_&&(_=f.length),this.host=f.slice(0,_),f=f.slice(_),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var N=this.hostname.split(/\./),R=(x=0,N.length);x<R;x++){var B=N[x];if(B&&!B.match(d)){for(var A="",P=0,I=B.length;P<I;P++)B.charCodeAt(P)>127?A+="x":A+=B[P];if(!A.match(d)){var L=N.slice(0,x),M=N.slice(x+1),z=B.match(h);z&&(L.push(z[1]),M.unshift(z[2])),M.length&&(f="/"+M.join(".")+f),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",D=this.hostname||"";this.host=D+H,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==f[0]&&(f="/"+f))}if(!p[k])for(x=0,R=u.length;x<R;x++){var F=u[x];if(-1!==f.indexOf(F)){var V=encodeURIComponent(F);V===F&&(V=escape(F)),f=f.split(F).join(V)}}var U=f.indexOf("#");-1!==U&&(this.hash=f.substr(U),f=f.slice(0,U));var W=f.indexOf("?");if(-1!==W?(this.search=f.substr(W),this.query=f.substr(W+1),t&&(this.query=j.parse(this.query)),f=f.slice(0,W)):t&&(this.search="",this.query={}),f&&(this.pathname=f),O[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var G=this.search||"";this.path=H+G}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,c="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(c=j.stringify(this.query));var i=this.search||c&&"?"+c||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||O[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),i&&"?"!==i.charAt(0)&&(i="?"+i),t+a+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(i=i.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(f(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(o.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),c=0;c<r.length;c++){var i=r[c];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];"protocol"!==u&&(n[u]=e[u])}return O[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!O[e.protocol]){for(var b=Object.keys(e),m=0;m<b.length;m++){var d=b[m];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",j=n.search||"";n.path=p+j}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var f=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||f||n.host&&e.pathname,k=y,w=n.pathname&&n.pathname.split("/")||[],C=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!O[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===w[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=w.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=w.slice(-1)[0],_=(n.host||e.host||w.length>1)&&("."===E||".."===E)||""===E,x=0,S=w.length;S>=0;S--)"."===(E=w[S])?w.splice(S,1):".."===E?(w.splice(S,1),x++):x&&(w.splice(S,1),x--);if(!y&&!k)for(;x--;x)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),_&&"/"!==w.join("/").substr(-1)&&w.push("");var T,N=""===w[0]||w[0]&&"/"===w[0].charAt(0);C&&(n.hostname=n.host=N?"":w.length?w.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(y=y||n.host&&w.length)&&!N&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},8:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(15);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){Object(r.a)(e,t,n[t])})}return e}},84:function(e,t){!function(){e.exports=this.wp.coreData}()},9:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){return o})}});
build/block-serialization-default-parser/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.r=function(n){Object.defineProperty(n,"__esModule",{value:!0})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=337)}({25:function(n,t,r){"use strict";var e=r(35);var u=r(34);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==c.return||c.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},337:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return f});var e,u,o,i,c=r(25),s=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function a(n){return l(null,{},[],n,[n])}var f=function(n){e=n,u=0,o=[],i=[],s.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=s.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(c.a)(n,7),u=r[0],o=r[1],i=r[2],l=r[3],a=r[4],f=r[6],p=u.length,b=!!o,v=!!f,h=(i||"core/")+l,k=!!a,d=k?function(n){try{return JSON.parse(n)}catch(n){return null}}(a):{};if(v)return["void-block",h,d,t,p];if(b)return["block-closer",h,null,t,p];return["block-opener",h,d,t,p]}(),t=Object(c.a)(n,5),r=t[0],f=t[1],p=t[2],k=t[3],d=t[4],O=i.length,g=k>u?u:null;switch(r){case"no-more-tokens":if(0===O)return b(),!1;if(1===O)return h(),!1;for(;0<i.length;)h();return!1;case"void-block":return 0===O?(null!==g&&o.push(a(e.substr(g,k-g))),o.push(l(f,p,[],"",[])),u=k+d,!0):(v(l(f,p,[],"",[]),k,d),u=k+d,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(l(f,p,[],"",[]),k,d,k+d,g)),u=k+d,!0;case"block-closer":if(0===O)return b(),!1;if(1===O)return h(k),u=k+d,!0;var y=i.pop(),w=e.substr(y.prevOffset,k-y.prevOffset);return y.block.innerHTML+=w,y.block.innerContent.push(w),y.prevOffset=k+d,v(y.block,y.tokenStart,y.tokenLength,k+d),u=k+d,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(a(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var c=e.substr(o.prevOffset,t-o.prevOffset);c&&(o.block.innerHTML+=c,o.block.innerContent.push(c)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function h(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,c=t.prevOffset,s=t.tokenStart,l=n?e.substr(c,n-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==u&&o.push(a(e.substr(u,s-u))),o.push(r)}},34:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})},35:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})}});
1
+ this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.r=function(n){Object.defineProperty(n,"__esModule",{value:!0})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=339)}({25:function(n,t,r){"use strict";var e=r(34);var u=r(33);function o(n,t){return Object(e.a)(n)||function(n,t){var r=[],e=!0,u=!1,o=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){u=!0,o=n}finally{try{e||null==c.return||c.return()}finally{if(u)throw o}}return r}(n,t)||Object(u.a)()}r.d(t,"a",function(){return o})},33:function(n,t,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return e})},339:function(n,t,r){"use strict";r.r(t),r.d(t,"parse",function(){return f});var e,u,o,i,c=r(25),s=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(n,t,r,e,u){return{blockName:n,attrs:t,innerBlocks:r,innerHTML:e,innerContent:u}}function a(n){return l(null,{},[],n,[n])}var f=function(n){e=n,u=0,o=[],i=[],s.lastIndex=0;do{}while(p());return o};function p(){var n=function(){var n=s.exec(e);if(null===n)return["no-more-tokens"];var t=n.index,r=Object(c.a)(n,7),u=r[0],o=r[1],i=r[2],l=r[3],a=r[4],f=r[6],p=u.length,b=!!o,v=!!f,h=(i||"core/")+l,k=!!a,d=k?function(n){try{return JSON.parse(n)}catch(n){return null}}(a):{};if(v)return["void-block",h,d,t,p];if(b)return["block-closer",h,null,t,p];return["block-opener",h,d,t,p]}(),t=Object(c.a)(n,5),r=t[0],f=t[1],p=t[2],k=t[3],d=t[4],O=i.length,g=k>u?u:null;switch(r){case"no-more-tokens":if(0===O)return b(),!1;if(1===O)return h(),!1;for(;0<i.length;)h();return!1;case"void-block":return 0===O?(null!==g&&o.push(a(e.substr(g,k-g))),o.push(l(f,p,[],"",[])),u=k+d,!0):(v(l(f,p,[],"",[]),k,d),u=k+d,!0);case"block-opener":return i.push(function(n,t,r,e,u){return{block:n,tokenStart:t,tokenLength:r,prevOffset:e||t+r,leadingHtmlStart:u}}(l(f,p,[],"",[]),k,d,k+d,g)),u=k+d,!0;case"block-closer":if(0===O)return b(),!1;if(1===O)return h(k),u=k+d,!0;var y=i.pop(),w=e.substr(y.prevOffset,k-y.prevOffset);return y.block.innerHTML+=w,y.block.innerContent.push(w),y.prevOffset=k+d,v(y.block,y.tokenStart,y.tokenLength,k+d),u=k+d,!0;default:return b(),!1}}function b(n){var t=n||e.length-u;0!==t&&o.push(a(e.substr(u,t)))}function v(n,t,r,u){var o=i[i.length-1];o.block.innerBlocks.push(n);var c=e.substr(o.prevOffset,t-o.prevOffset);c&&(o.block.innerHTML+=c,o.block.innerContent.push(c)),o.block.innerContent.push(null),o.prevOffset=u||t+r}function h(n){var t=i.pop(),r=t.block,u=t.leadingHtmlStart,c=t.prevOffset,s=t.tokenStart,l=n?e.substr(c,n-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==u&&o.push(a(e.substr(u,s-u))),o.push(r)}},34:function(n,t,r){"use strict";function e(n){if(Array.isArray(n))return n}r.d(t,"a",function(){return e})}});
build/block-serialization-spec-parser/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.blockSerializationSpecParser=function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=195)}({181:function(e,t,r){var o,n,c;n=[],void 0===(c="function"==typeof(o=function(){"use strict";function e(t,r,o,n){this.message=t,this.expected=r,this.found=o,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(e,Error),e.buildMessage=function(e,t){var r={literal:function(e){return'"'+n(e.text)+'"'},class:function(e){var t,r="";for(t=0;t<e.parts.length;t++)r+=e.parts[t]instanceof Array?c(e.parts[t][0])+"-"+c(e.parts[t][1]):c(e.parts[t]);return"["+(e.inverted?"^":"")+r+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function o(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+o(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+o(e)})}function c(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+o(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+o(e)})}function p(e){return r[e.type](e)}return"Expected "+function(e){var t,r,o=new Array(e.length);for(t=0;t<e.length;t++)o[t]=p(e[t]);if(o.sort(),o.length>0){for(t=1,r=1;t<o.length;t++)o[t-1]!==o[t]&&(o[r]=o[t],r++);o.length=r}switch(o.length){case 1:return o[0];case 2:return o[0]+" or "+o[1];default:return o.slice(0,-1).join(", ")+", or "+o[o.length-1]}}(e)+" but "+function(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},{SyntaxError:e,parse:function(t,r){r=void 0!==r?r:{};var o,n={},c={Block_List:Z},p=Z,a={type:"any"},l=function(e,t,r){return[t,r]},i=function(e,t,r){return function(e,t,r){var o,n,c,p,a,l=[];for(e.length&&l.push(pe(e)),o=0,n=t.length;o<n;o++)p=t[o],a=p[0],c=p[1],l.push(a),c.length&&l.push(pe(c));return r.length&&l.push(pe(r)),l}(e,t,r)},x="\x3c!--",s=G("\x3c!--",!1),u="wp:",b=G("wp:",!1),f=function(e,t){return t},k="/--\x3e",v=G("/--\x3e",!1),h=function(e,t){return{blockName:e,attrs:t||{},innerBlocks:[],innerHTML:"",innerContent:[]}},w=function(e,t,r){var o=function(e){var t,r,o,n="",c=[],p=[];for(t=0,r=e.length;t<r;t++)"string"==typeof(o=e[t])?(n+=o,p.push(o)):(c.push(o),p.push(null));return[n,c,p]}(t),n=o[0],c=o[1],p=o[2];return{blockName:e.blockName,attrs:e.attrs,innerBlocks:c,innerHTML:n,innerContent:p}},d="--\x3e",y=G("--\x3e",!1),g=function(e,t){return{blockName:e,attrs:t||{}}},m="/wp:",H=G("/wp:",!1),A=function(e){return{blockName:e}},P="/",N=G("/",!1),C=function(e){return"core/"+e},B=/^[a-z]/,T=K([["a","z"]],!1,!1),L=/^[a-z0-9_\-]/,M=K([["a","z"],["0","9"],"_","-"],!1,!1),E=Q("JSON-encoded attributes embedded in a block's opening comment"),S="{",j=G("{",!1),q="}",F=G("}",!1),O="",_=function(e){return function(e){try{return JSON.parse(e)}catch(e){return null}}(e)},z=/^[ \t\r\n]/,R=K([" ","\t","\r","\n"],!1,!1),J=0,I=[{line:1,column:1}],U=0,$=[],D=0;if("startRule"in r){if(!(r.startRule in c))throw new Error("Can't start parsing from rule \""+r.startRule+'".');p=c[r.startRule]}function G(e,t){return{type:"literal",text:e,ignoreCase:t}}function K(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function Q(e){return{type:"other",description:e}}function V(e){var r,o=I[e];if(o)return o;for(r=e-1;!I[r];)r--;for(o={line:(o=I[r]).line,column:o.column};r<e;)10===t.charCodeAt(r)?(o.line++,o.column=1):o.column++,r++;return I[e]=o,o}function W(e,t){var r=V(e),o=V(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:o.line,column:o.column}}}function X(e){J<U||(J>U&&(U=J,$=[]),$.push(e))}function Y(t,r,o){return new e(e.buildMessage(t,r),t,r,o)}function Z(){var e,r,o,c,p,x,s,u,b,f;for(e=J,r=J,o=[],c=J,p=J,D++,x=ee(),D--,x===n?p=void 0:(J=p,p=n),p!==n?(t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a)),x!==n?c=p=[p,x]:(J=c,c=n)):(J=c,c=n);c!==n;)o.push(c),c=J,p=J,D++,x=ee(),D--,x===n?p=void 0:(J=p,p=n),p!==n?(t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a)),x!==n?c=p=[p,x]:(J=c,c=n)):(J=c,c=n);if((r=o!==n?t.substring(r,J):o)!==n){if(o=[],c=J,(p=ee())!==n){for(x=J,s=[],u=J,b=J,D++,f=ee(),D--,f===n?b=void 0:(J=b,b=n),b!==n?(t.length>J?(f=t.charAt(J),J++):(f=n,0===D&&X(a)),f!==n?u=b=[b,f]:(J=u,u=n)):(J=u,u=n);u!==n;)s.push(u),u=J,b=J,D++,f=ee(),D--,f===n?b=void 0:(J=b,b=n),b!==n?(t.length>J?(f=t.charAt(J),J++):(f=n,0===D&&X(a)),f!==n?u=b=[b,f]:(J=u,u=n)):(J=u,u=n);(x=s!==n?t.substring(x,J):s)!==n?(p=l(r,p,x),c=p):(J=c,c=n)}else J=c,c=n;for(;c!==n;)if(o.push(c),c=J,(p=ee())!==n){for(x=J,s=[],u=J,b=J,D++,f=ee(),D--,f===n?b=void 0:(J=b,b=n),b!==n?(t.length>J?(f=t.charAt(J),J++):(f=n,0===D&&X(a)),f!==n?u=b=[b,f]:(J=u,u=n)):(J=u,u=n);u!==n;)s.push(u),u=J,b=J,D++,f=ee(),D--,f===n?b=void 0:(J=b,b=n),b!==n?(t.length>J?(f=t.charAt(J),J++):(f=n,0===D&&X(a)),f!==n?u=b=[b,f]:(J=u,u=n)):(J=u,u=n);(x=s!==n?t.substring(x,J):s)!==n?(p=l(r,p,x),c=p):(J=c,c=n)}else J=c,c=n;if(o!==n){for(c=J,p=[],t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a));x!==n;)p.push(x),t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a));(c=p!==n?t.substring(c,J):p)!==n?(r=i(r,o,c),e=r):(J=e,e=n)}else J=e,e=n}else J=e,e=n;return e}function ee(){var e;return(e=function(){var e,r,o,c,p,a;return e=J,t.substr(J,4)===x?(r=x,J+=4):(r=n,0===D&&X(s)),r!==n&&ce()!==n?(t.substr(J,3)===u?(o=u,J+=3):(o=n,0===D&&X(b)),o!==n&&(c=re())!==n&&ce()!==n?(p=J,(a=ne())!==n&&ce()!==n?(a=f(c,a),p=a):(J=p,p=n),p===n&&(p=null),p!==n?(t.substr(J,4)===k?(a=k,J+=4):(a=n,0===D&&X(v)),a!==n?(r=h(c,p),e=r):(J=e,e=n)):(J=e,e=n)):(J=e,e=n)):(J=e,e=n),e}())===n&&(e=function(){var e,r,o,c,p,l,i,k,v;if(e=J,(r=function(){var e,r,o,c,p,a;return e=J,t.substr(J,4)===x?(r=x,J+=4):(r=n,0===D&&X(s)),r!==n&&ce()!==n?(t.substr(J,3)===u?(o=u,J+=3):(o=n,0===D&&X(b)),o!==n&&(c=re())!==n&&ce()!==n?(p=J,(a=ne())!==n&&ce()!==n?(a=f(c,a),p=a):(J=p,p=n),p===n&&(p=null),p!==n?(t.substr(J,3)===d?(a=d,J+=3):(a=n,0===D&&X(y)),a!==n?(r=g(c,p),e=r):(J=e,e=n)):(J=e,e=n)):(J=e,e=n)):(J=e,e=n),e}())!==n){if(o=[],(c=ee())===n){if(c=J,p=[],l=J,i=J,D++,k=ee(),D--,k===n?i=void 0:(J=i,i=n),i!==n?(k=J,D++,v=te(),D--,v===n?k=void 0:(J=k,k=n),k!==n?(t.length>J?(v=t.charAt(J),J++):(v=n,0===D&&X(a)),v!==n?l=i=[i,k,v]:(J=l,l=n)):(J=l,l=n)):(J=l,l=n),l!==n)for(;l!==n;)p.push(l),l=J,i=J,D++,k=ee(),D--,k===n?i=void 0:(J=i,i=n),i!==n?(k=J,D++,v=te(),D--,v===n?k=void 0:(J=k,k=n),k!==n?(t.length>J?(v=t.charAt(J),J++):(v=n,0===D&&X(a)),v!==n?l=i=[i,k,v]:(J=l,l=n)):(J=l,l=n)):(J=l,l=n);else p=n;c=p!==n?t.substring(c,J):p}for(;c!==n;)if(o.push(c),(c=ee())===n){if(c=J,p=[],l=J,i=J,D++,k=ee(),D--,k===n?i=void 0:(J=i,i=n),i!==n?(k=J,D++,v=te(),D--,v===n?k=void 0:(J=k,k=n),k!==n?(t.length>J?(v=t.charAt(J),J++):(v=n,0===D&&X(a)),v!==n?l=i=[i,k,v]:(J=l,l=n)):(J=l,l=n)):(J=l,l=n),l!==n)for(;l!==n;)p.push(l),l=J,i=J,D++,k=ee(),D--,k===n?i=void 0:(J=i,i=n),i!==n?(k=J,D++,v=te(),D--,v===n?k=void 0:(J=k,k=n),k!==n?(t.length>J?(v=t.charAt(J),J++):(v=n,0===D&&X(a)),v!==n?l=i=[i,k,v]:(J=l,l=n)):(J=l,l=n)):(J=l,l=n);else p=n;c=p!==n?t.substring(c,J):p}o!==n&&(c=te())!==n?(r=w(r,o,c),e=r):(J=e,e=n)}else J=e,e=n;return e}()),e}function te(){var e,r,o,c,p;return e=J,t.substr(J,4)===x?(r=x,J+=4):(r=n,0===D&&X(s)),r!==n&&ce()!==n?(t.substr(J,4)===m?(o=m,J+=4):(o=n,0===D&&X(H)),o!==n&&(c=re())!==n&&ce()!==n?(t.substr(J,3)===d?(p=d,J+=3):(p=n,0===D&&X(y)),p!==n?(r=A(c),e=r):(J=e,e=n)):(J=e,e=n)):(J=e,e=n),e}function re(){var e;return(e=function(){var e,r,o,c,p;return e=J,r=J,(o=oe())!==n?(47===t.charCodeAt(J)?(c=P,J++):(c=n,0===D&&X(N)),c!==n&&(p=oe())!==n?r=o=[o,c,p]:(J=r,r=n)):(J=r,r=n),e=r!==n?t.substring(e,J):r}())===n&&(e=function(){var e,r;return e=J,(e=(r=oe())!==n?t.substring(e,J):r)!==n&&(e=C(e)),e}()),e}function oe(){var e,r,o,c,p;if(e=J,r=J,B.test(t.charAt(J))?(o=t.charAt(J),J++):(o=n,0===D&&X(T)),o!==n){for(c=[],L.test(t.charAt(J))?(p=t.charAt(J),J++):(p=n,0===D&&X(M));p!==n;)c.push(p),L.test(t.charAt(J))?(p=t.charAt(J),J++):(p=n,0===D&&X(M));c!==n?r=o=[o,c]:(J=r,r=n)}else J=r,r=n;return e=r!==n?t.substring(e,J):r}function ne(){var e,r,o,c,p,l,i,x,s,u,b,f,k;if(D++,e=J,r=J,o=J,123===t.charCodeAt(J)?(c=S,J++):(c=n,0===D&&X(j)),c!==n){for(p=[],l=J,i=J,D++,x=J,125===t.charCodeAt(J)?(s=q,J++):(s=n,0===D&&X(F)),s!==n&&(u=ce())!==n&&(b=O)!==n?(47===t.charCodeAt(J)?(f=P,J++):(f=n,0===D&&X(N)),f===n&&(f=null),f!==n?(t.substr(J,3)===d?(k=d,J+=3):(k=n,0===D&&X(y)),k!==n?x=s=[s,u,b,f,k]:(J=x,x=n)):(J=x,x=n)):(J=x,x=n),D--,x===n?i=void 0:(J=i,i=n),i!==n?(t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a)),x!==n?l=i=[i,x]:(J=l,l=n)):(J=l,l=n);l!==n;)p.push(l),l=J,i=J,D++,x=J,125===t.charCodeAt(J)?(s=q,J++):(s=n,0===D&&X(F)),s!==n&&(u=ce())!==n&&(b=O)!==n?(47===t.charCodeAt(J)?(f=P,J++):(f=n,0===D&&X(N)),f===n&&(f=null),f!==n?(t.substr(J,3)===d?(k=d,J+=3):(k=n,0===D&&X(y)),k!==n?x=s=[s,u,b,f,k]:(J=x,x=n)):(J=x,x=n)):(J=x,x=n),D--,x===n?i=void 0:(J=i,i=n),i!==n?(t.length>J?(x=t.charAt(J),J++):(x=n,0===D&&X(a)),x!==n?l=i=[i,x]:(J=l,l=n)):(J=l,l=n);p!==n?(125===t.charCodeAt(J)?(l=q,J++):(l=n,0===D&&X(F)),l!==n?o=c=[c,p,l]:(J=o,o=n)):(J=o,o=n)}else J=o,o=n;return(r=o!==n?t.substring(r,J):o)!==n&&(r=_(r)),D--,(e=r)===n&&(r=n,0===D&&X(E)),e}function ce(){var e,r;if(e=[],z.test(t.charAt(J))?(r=t.charAt(J),J++):(r=n,0===D&&X(R)),r!==n)for(;r!==n;)e.push(r),z.test(t.charAt(J))?(r=t.charAt(J),J++):(r=n,0===D&&X(R));else e=n;return e}function pe(e){return e.length&&{blockName:null,attrs:{},innerBlocks:[],innerHTML:e,innerContent:[e]}}if((o=p())!==n&&J===t.length)return o;throw o!==n&&J<t.length&&X({type:"end"}),Y($,U<t.length?t.charAt(U):null,U<t.length?W(U,U+1):W(U,U))}}})?o.apply(t,n):o)||(e.exports=c)},195:function(e,t,r){"use strict";r.r(t);var o=r(181);const n=e=>()=>{describe("output structure",()=>{test("output is an array",()=>{expect(e("")).toEqual(expect.any(Array)),expect(e("test")).toEqual(expect.any(Array)),expect(e("\x3c!-- wp:void /--\x3e")).toEqual(expect.any(Array)),expect(e("\x3c!-- wp:block --\x3e\x3c!-- wp:inner /--\x3e\x3c!-- /wp:block --\x3e")).toEqual(expect.any(Array)),expect(e("\x3c!-- wp:first /--\x3e\x3c!-- wp:second /--\x3e")).toEqual(expect.any(Array))}),test("parses blocks of various types",()=>{expect(e("\x3c!-- wp:void /--\x3e")[0]).toHaveProperty("blockName","core/void"),expect(e("\x3c!-- wp:void {} /--\x3e")[0]).toHaveProperty("blockName","core/void"),expect(e('\x3c!-- wp:void {"value":true} /--\x3e')[0]).toHaveProperty("blockName","core/void"),expect(e('\x3c!-- wp:void {"a":{}} /--\x3e')[0]).toHaveProperty("blockName","core/void"),expect(e('\x3c!-- wp:void { "value" : true } /--\x3e')[0]).toHaveProperty("blockName","core/void"),expect(e('\x3c!-- wp:void {\n\t"value" : true\n} /--\x3e')[0]).toHaveProperty("blockName","core/void"),expect(e("\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("blockName","core/block"),expect(e("\x3c!-- wp:block {} --\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("blockName","core/block"),expect(e('\x3c!-- wp:block {"value":true} --\x3e\x3c!-- /wp:block --\x3e')[0]).toHaveProperty("blockName","core/block"),expect(e("\x3c!-- wp:block {} --\x3einner\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("blockName","core/block"),expect(e('\x3c!-- wp:block {"value":{"a" : "true"}} --\x3einner\x3c!-- /wp:block --\x3e')[0]).toHaveProperty("blockName","core/block")}),test("blockName is namespaced string (except freeform)",()=>{expect(e("freeform has null name")[0]).toHaveProperty("blockName",null),expect(e("\x3c!-- wp:more /--\x3e")[0]).toHaveProperty("blockName","core/more"),expect(e("\x3c!-- wp:core/more /--\x3e")[0]).toHaveProperty("blockName","core/more"),expect(e("\x3c!-- wp:my/more /--\x3e")[0]).toHaveProperty("blockName","my/more")}),test("JSON attributes are key/value object",()=>{expect(e("freeform has empty attrs")[0]).toHaveProperty("attrs",{}),expect(e("\x3c!-- wp:void /--\x3e")[0]).toHaveProperty("attrs",{}),expect(e("\x3c!-- wp:void {} /--\x3e")[0]).toHaveProperty("blockName","core/void"),expect(e("\x3c!-- wp:void {} /--\x3e")[0]).toHaveProperty("attrs",{}),expect(e('\x3c!-- wp:void {"key": "value"} /--\x3e')[0]).toHaveProperty("attrs",{key:"value"}),expect(e("\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("attrs",{}),expect(e("\x3c!-- wp:block {} --\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("attrs",{}),expect(e('\x3c!-- wp:block {"key": "value"} --\x3e\x3c!-- /wp:block --\x3e')[0]).toHaveProperty("attrs",{key:"value"})}),test("innerBlocks is a list",()=>{expect(e("freeform has empty innerBlocks")[0]).toHaveProperty("innerBlocks",[]),expect(e("\x3c!-- wp:void /--\x3e")[0]).toHaveProperty("innerBlocks",[]),expect(e("\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerBlocks",[]);const t=e("\x3c!-- wp:block --\x3e\x3c!-- wp:inner /--\x3e\x3c!-- /wp:block --\x3e")[0];expect(t).toHaveProperty("innerBlocks",expect.any(Array)),expect(t.innerBlocks).toHaveLength(1);const r=e("\x3c!-- wp:block --\x3ea\x3c!-- wp:first /--\x3eb\x3c!-- wp:second /--\x3ec\x3c!-- /wp:block --\x3e")[0];expect(r).toHaveProperty("innerBlocks",expect.any(Array)),expect(r.innerBlocks).toHaveLength(2)}),test("innerHTML is a string",()=>{expect(e("test")[0]).toHaveProperty("innerHTML",expect.any(String)),expect(e("\x3c!-- wp:test /--\x3e")[0]).toHaveProperty("innerHTML",expect.any(String)),expect(e("\x3c!-- wp:test --\x3e\x3c!-- /wp:test --\x3e")[0]).toHaveProperty("innerHTML",expect.any(String)),expect(e("\x3c!-- wp:test --\x3etest\x3c!-- /wp:test --\x3e")[0]).toHaveProperty("innerHTML",expect.any(String))})}),describe("generic tests",()=>{test("parse() accepts inputs with multiple Reusable blocks",()=>{expect(e('\x3c!-- wp:block {"ref":313} /--\x3e\x3c!-- wp:block {"ref":482} /--\x3e')).toEqual([expect.objectContaining({blockName:"core/block",attrs:{ref:313}}),expect.objectContaining({blockName:"core/block",attrs:{ref:482}})])}),test("treats void blocks and empty blocks identically",()=>{expect(e("\x3c!-- wp:block /--\x3e")).toEqual(e("\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e")),expect(e('\x3c!-- wp:my/bus { "is": "fast" } /--\x3e')).toEqual(e('\x3c!-- wp:my/bus { "is": "fast" } --\x3e\x3c!-- /wp:my/bus --\x3e'))}),test("should grab HTML soup before block openers",()=>{["<p>Break me</p>\x3c!-- wp:block /--\x3e","<p>Break me</p>\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e"].forEach(t=>expect(e(t)).toEqual([expect.objectContaining({innerHTML:"<p>Break me</p>"}),expect.objectContaining({blockName:"core/block",innerHTML:""})]))}),test("should grab HTML soup before inner block openers",()=>["\x3c!-- wp:outer --\x3e<p>Break me</p>\x3c!-- wp:block /--\x3e\x3c!-- /wp:outer --\x3e","\x3c!-- wp:outer --\x3e<p>Break me</p>\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e\x3c!-- /wp:outer --\x3e"].forEach(t=>expect(e(t)).toEqual([expect.objectContaining({innerBlocks:[expect.objectContaining({blockName:"core/block",innerHTML:""})],innerHTML:"<p>Break me</p>"})]))),test("should grab HTML soup after blocks",()=>["\x3c!-- wp:block /--\x3e<p>Break me</p>","\x3c!-- wp:block --\x3e\x3c!-- /wp:block --\x3e<p>Break me</p>"].forEach(t=>expect(e(t)).toEqual([expect.objectContaining({blockName:"core/block",innerHTML:""}),expect.objectContaining({innerHTML:"<p>Break me</p>"})])))}),describe("innerBlock placemarkers",()=>{test("innerContent exists",()=>{expect(e("test")[0]).toHaveProperty("innerContent",["test"]),expect(e("\x3c!-- wp:void /--\x3e")[0]).toHaveProperty("innerContent",[])}),test("innerContent contains innerHTML",()=>{expect(e("\x3c!-- wp:block --\x3eInner\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerContent",["Inner"])}),test("block locations become null",()=>{expect(e("\x3c!-- wp:block --\x3e\x3c!-- wp:void /--\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerContent",[null])}),test("HTML soup appears after blocks",()=>{expect(e("\x3c!-- wp:block --\x3e\x3c!-- wp:void /--\x3eAfter\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerContent",[null,"After"])}),test("HTML soup appears before blocks",()=>{expect(e("\x3c!-- wp:block --\x3eBefore\x3c!-- wp:void /--\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerContent",["Before",null])}),test("blocks follow each other",()=>{expect(e("\x3c!-- wp:block --\x3e\x3c!-- wp:void /--\x3e\x3c!-- wp:void /--\x3e\x3c!-- /wp:block --\x3e")[0]).toHaveProperty("innerContent",[null,null])})}),describe("attack vectors",()=>{test("really long JSON attribute sections",()=>{const t="a".repeat(1e5);let r;expect(()=>r=e(`\x3c!-- wp:fake {"a":"${t}"} /--\x3e`)[0]).not.toThrow(),expect(r.attrs.a).toHaveLength(1e5)}),describe("invalid block comment syntax",()=>{test("extra space after void closer",()=>{let t;expect(()=>t=e("\x3c!-- wp:block / --\x3e")[0]).not.toThrow(),expect(t.blockName).toBeNull()})})})},c=(...e)=>describe.skip(...e),p=(e,t)=>c(e,()=>{});r.d(t,"parse",function(){return o.parse}),r.d(t,"jsTester",function(){return n}),r.d(t,"phpTester",function(){return p})}});
1
+ this.wp=this.wp||{},this.wp.blockSerializationSpecParser=function(t){var r={};function n(e){if(r[e])return r[e].exports;var u=r[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=338)}({338:function(t,r,n){"use strict";function e(t,r,n,u){this.message=t,this.expected=r,this.found=n,this.location=u,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}!function(t,r){function n(){this.constructor=t}n.prototype=r.prototype,t.prototype=new n}(e,Error),e.buildMessage=function(t,r){var n={literal:function(t){return'"'+u(t.text)+'"'},class:function(t){var r,n="";for(r=0;r<t.parts.length;r++)n+=t.parts[r]instanceof Array?o(t.parts[r][0])+"-"+o(t.parts[r][1]):o(t.parts[r]);return"["+(t.inverted?"^":"")+n+"]"},any:function(t){return"any character"},end:function(t){return"end of input"},other:function(t){return t.description}};function e(t){return t.charCodeAt(0).toString(16).toUpperCase()}function u(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+e(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+e(t)})}function o(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+e(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+e(t)})}function c(t){return n[t.type](t)}return"Expected "+function(t){var r,n,e=new Array(t.length);for(r=0;r<t.length;r++)e[r]=c(t[r]);if(e.sort(),e.length>0){for(r=1,n=1;r<e.length;r++)e[r-1]!==e[r]&&(e[n]=e[r],n++);e.length=n}switch(e.length){case 1:return e[0];case 2:return e[0]+" or "+e[1];default:return e.slice(0,-1).join(", ")+", or "+e[e.length-1]}}(t)+" but "+function(t){return t?'"'+u(t)+'"':"end of input"}(r)+" found."},t.exports={SyntaxError:e,parse:function(t,r){r=void 0!==r?r:{};var n,u={},o={Block_List:$},c=$,i={type:"any"},a=function(t,r,n){return[r,n]},s=function(t,r,n){return function(t,r,n){var e,u,o,c,i,a=[];for(t.length&&a.push(ct(t)),e=0,u=r.length;e<u;e++)c=r[e],i=c[0],o=c[1],a.push(i),o.length&&a.push(ct(o));return n.length&&a.push(ct(n)),a}(t,r,n)},l="\x3c!--",f=K("\x3c!--",!1),h="wp:",p=K("wp:",!1),g=function(t,r){return r},d="/--\x3e",v=K("/--\x3e",!1),b=function(t,r){return{blockName:t,attrs:r||{},innerBlocks:[],innerHTML:"",innerContent:[]}},A=function(t,r,n){var e=function(t){var r,n,e,u="",o=[],c=[];for(r=0,n=t.length;r<n;r++)"string"==typeof(e=t[r])?(u+=e,c.push(e)):(o.push(e),c.push(null));return[u,o,c]}(r),u=e[0],o=e[1],c=e[2];return{blockName:t.blockName,attrs:t.attrs,innerBlocks:o,innerHTML:u,innerContent:c}},x="--\x3e",m=K("--\x3e",!1),y=function(t,r){return{blockName:t,attrs:r||{}}},C="/wp:",w=K("/wp:",!1),k=function(t){return{blockName:t}},S="/",F=K("/",!1),N=function(t){return"core/"+t},E=/^[a-z]/,M=Q([["a","z"]],!1,!1),_=/^[a-z0-9_\-]/,O=Q([["a","z"],["0","9"],"_","-"],!1,!1),z=V("JSON-encoded attributes embedded in a block's opening comment"),T="{",j=K("{",!1),B="}",L=K("}",!1),P="",R=function(t){return function(t){try{return JSON.parse(t)}catch(t){return null}}(t)},H=/^[ \t\r\n]/,J=Q([" ","\t","\r","\n"],!1,!1),U=0,q=[{line:1,column:1}],D=0,G=[],I=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');c=o[r.startRule]}function K(t,r){return{type:"literal",text:t,ignoreCase:r}}function Q(t,r,n){return{type:"class",parts:t,inverted:r,ignoreCase:n}}function V(t){return{type:"other",description:t}}function W(r){var n,e=q[r];if(e)return e;for(n=r-1;!q[n];)n--;for(e={line:(e=q[n]).line,column:e.column};n<r;)10===t.charCodeAt(n)?(e.line++,e.column=1):e.column++,n++;return q[r]=e,e}function X(t,r){var n=W(t),e=W(r);return{start:{offset:t,line:n.line,column:n.column},end:{offset:r,line:e.line,column:e.column}}}function Y(t){U<D||(U>D&&(D=U,G=[]),G.push(t))}function Z(t,r,n){return new e(e.buildMessage(t,r),t,r,n)}function $(){var r,n,e,o,c,l,f,h,p,g;for(r=U,n=U,e=[],o=U,c=U,I++,l=tt(),I--,l===u?c=void 0:(U=c,c=u),c!==u?(t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i)),l!==u?o=c=[c,l]:(U=o,o=u)):(U=o,o=u);o!==u;)e.push(o),o=U,c=U,I++,l=tt(),I--,l===u?c=void 0:(U=c,c=u),c!==u?(t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i)),l!==u?o=c=[c,l]:(U=o,o=u)):(U=o,o=u);if((n=e!==u?t.substring(n,U):e)!==u){if(e=[],o=U,(c=tt())!==u){for(l=U,f=[],h=U,p=U,I++,g=tt(),I--,g===u?p=void 0:(U=p,p=u),p!==u?(t.length>U?(g=t.charAt(U),U++):(g=u,0===I&&Y(i)),g!==u?h=p=[p,g]:(U=h,h=u)):(U=h,h=u);h!==u;)f.push(h),h=U,p=U,I++,g=tt(),I--,g===u?p=void 0:(U=p,p=u),p!==u?(t.length>U?(g=t.charAt(U),U++):(g=u,0===I&&Y(i)),g!==u?h=p=[p,g]:(U=h,h=u)):(U=h,h=u);(l=f!==u?t.substring(l,U):f)!==u?o=c=a(n,c,l):(U=o,o=u)}else U=o,o=u;for(;o!==u;)if(e.push(o),o=U,(c=tt())!==u){for(l=U,f=[],h=U,p=U,I++,g=tt(),I--,g===u?p=void 0:(U=p,p=u),p!==u?(t.length>U?(g=t.charAt(U),U++):(g=u,0===I&&Y(i)),g!==u?h=p=[p,g]:(U=h,h=u)):(U=h,h=u);h!==u;)f.push(h),h=U,p=U,I++,g=tt(),I--,g===u?p=void 0:(U=p,p=u),p!==u?(t.length>U?(g=t.charAt(U),U++):(g=u,0===I&&Y(i)),g!==u?h=p=[p,g]:(U=h,h=u)):(U=h,h=u);(l=f!==u?t.substring(l,U):f)!==u?o=c=a(n,c,l):(U=o,o=u)}else U=o,o=u;if(e!==u){for(o=U,c=[],t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i));l!==u;)c.push(l),t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i));(o=c!==u?t.substring(o,U):c)!==u?r=n=s(n,e,o):(U=r,r=u)}else U=r,r=u}else U=r,r=u;return r}function tt(){var r;return(r=function(){var r,n,e,o,c,i;return r=U,t.substr(U,4)===l?(n=l,U+=4):(n=u,0===I&&Y(f)),n!==u&&ot()!==u?(t.substr(U,3)===h?(e=h,U+=3):(e=u,0===I&&Y(p)),e!==u&&(o=nt())!==u&&ot()!==u?(c=U,(i=ut())!==u&&ot()!==u?(i=g(o,i),c=i):(U=c,c=u),c===u&&(c=null),c!==u?(t.substr(U,4)===d?(i=d,U+=4):(i=u,0===I&&Y(v)),i!==u?(n=b(o,c),r=n):(U=r,r=u)):(U=r,r=u)):(U=r,r=u)):(U=r,r=u),r}())===u&&(r=function(){var r,n,e,o,c,a,s,d,v;if(r=U,(n=function(){var r,n,e,o,c,i;return r=U,t.substr(U,4)===l?(n=l,U+=4):(n=u,0===I&&Y(f)),n!==u&&ot()!==u?(t.substr(U,3)===h?(e=h,U+=3):(e=u,0===I&&Y(p)),e!==u&&(o=nt())!==u&&ot()!==u?(c=U,(i=ut())!==u&&ot()!==u?(i=g(o,i),c=i):(U=c,c=u),c===u&&(c=null),c!==u?(t.substr(U,3)===x?(i=x,U+=3):(i=u,0===I&&Y(m)),i!==u?(n=y(o,c),r=n):(U=r,r=u)):(U=r,r=u)):(U=r,r=u)):(U=r,r=u),r}())!==u){if(e=[],(o=tt())===u){if(o=U,c=[],a=U,s=U,I++,d=tt(),I--,d===u?s=void 0:(U=s,s=u),s!==u?(d=U,I++,v=rt(),I--,v===u?d=void 0:(U=d,d=u),d!==u?(t.length>U?(v=t.charAt(U),U++):(v=u,0===I&&Y(i)),v!==u?a=s=[s,d,v]:(U=a,a=u)):(U=a,a=u)):(U=a,a=u),a!==u)for(;a!==u;)c.push(a),a=U,s=U,I++,d=tt(),I--,d===u?s=void 0:(U=s,s=u),s!==u?(d=U,I++,v=rt(),I--,v===u?d=void 0:(U=d,d=u),d!==u?(t.length>U?(v=t.charAt(U),U++):(v=u,0===I&&Y(i)),v!==u?a=s=[s,d,v]:(U=a,a=u)):(U=a,a=u)):(U=a,a=u);else c=u;o=c!==u?t.substring(o,U):c}for(;o!==u;)if(e.push(o),(o=tt())===u){if(o=U,c=[],a=U,s=U,I++,d=tt(),I--,d===u?s=void 0:(U=s,s=u),s!==u?(d=U,I++,v=rt(),I--,v===u?d=void 0:(U=d,d=u),d!==u?(t.length>U?(v=t.charAt(U),U++):(v=u,0===I&&Y(i)),v!==u?a=s=[s,d,v]:(U=a,a=u)):(U=a,a=u)):(U=a,a=u),a!==u)for(;a!==u;)c.push(a),a=U,s=U,I++,d=tt(),I--,d===u?s=void 0:(U=s,s=u),s!==u?(d=U,I++,v=rt(),I--,v===u?d=void 0:(U=d,d=u),d!==u?(t.length>U?(v=t.charAt(U),U++):(v=u,0===I&&Y(i)),v!==u?a=s=[s,d,v]:(U=a,a=u)):(U=a,a=u)):(U=a,a=u);else c=u;o=c!==u?t.substring(o,U):c}e!==u&&(o=rt())!==u?(n=A(n,e,o),r=n):(U=r,r=u)}else U=r,r=u;return r}()),r}function rt(){var r,n,e,o,c;return r=U,t.substr(U,4)===l?(n=l,U+=4):(n=u,0===I&&Y(f)),n!==u&&ot()!==u?(t.substr(U,4)===C?(e=C,U+=4):(e=u,0===I&&Y(w)),e!==u&&(o=nt())!==u&&ot()!==u?(t.substr(U,3)===x?(c=x,U+=3):(c=u,0===I&&Y(m)),c!==u?r=n=k(o):(U=r,r=u)):(U=r,r=u)):(U=r,r=u),r}function nt(){var r;return(r=function(){var r,n,e,o,c;return r=U,n=U,(e=et())!==u?(47===t.charCodeAt(U)?(o=S,U++):(o=u,0===I&&Y(F)),o!==u&&(c=et())!==u?n=e=[e,o,c]:(U=n,n=u)):(U=n,n=u),r=n!==u?t.substring(r,U):n}())===u&&(r=function(){var r,n;return U,r=U,(r=(n=et())!==u?t.substring(r,U):n)!==u&&(r=N(r)),r}()),r}function et(){var r,n,e,o,c;if(r=U,n=U,E.test(t.charAt(U))?(e=t.charAt(U),U++):(e=u,0===I&&Y(M)),e!==u){for(o=[],_.test(t.charAt(U))?(c=t.charAt(U),U++):(c=u,0===I&&Y(O));c!==u;)o.push(c),_.test(t.charAt(U))?(c=t.charAt(U),U++):(c=u,0===I&&Y(O));o!==u?n=e=[e,o]:(U=n,n=u)}else U=n,n=u;return r=n!==u?t.substring(r,U):n}function ut(){var r,n,e,o,c,a,s,l,f,h,p,g,d;if(I++,r=U,n=U,e=U,123===t.charCodeAt(U)?(o=T,U++):(o=u,0===I&&Y(j)),o!==u){for(c=[],a=U,s=U,I++,l=U,125===t.charCodeAt(U)?(f=B,U++):(f=u,0===I&&Y(L)),f!==u&&(h=ot())!==u&&(p=P)!==u?(47===t.charCodeAt(U)?(g=S,U++):(g=u,0===I&&Y(F)),g===u&&(g=null),g!==u?(t.substr(U,3)===x?(d=x,U+=3):(d=u,0===I&&Y(m)),d!==u?l=f=[f,h,p,g,d]:(U=l,l=u)):(U=l,l=u)):(U=l,l=u),I--,l===u?s=void 0:(U=s,s=u),s!==u?(t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i)),l!==u?a=s=[s,l]:(U=a,a=u)):(U=a,a=u);a!==u;)c.push(a),a=U,s=U,I++,l=U,125===t.charCodeAt(U)?(f=B,U++):(f=u,0===I&&Y(L)),f!==u&&(h=ot())!==u&&(p=P)!==u?(47===t.charCodeAt(U)?(g=S,U++):(g=u,0===I&&Y(F)),g===u&&(g=null),g!==u?(t.substr(U,3)===x?(d=x,U+=3):(d=u,0===I&&Y(m)),d!==u?l=f=[f,h,p,g,d]:(U=l,l=u)):(U=l,l=u)):(U=l,l=u),I--,l===u?s=void 0:(U=s,s=u),s!==u?(t.length>U?(l=t.charAt(U),U++):(l=u,0===I&&Y(i)),l!==u?a=s=[s,l]:(U=a,a=u)):(U=a,a=u);c!==u?(125===t.charCodeAt(U)?(a=B,U++):(a=u,0===I&&Y(L)),a!==u?e=o=[o,c,a]:(U=e,e=u)):(U=e,e=u)}else U=e,e=u;return(n=e!==u?t.substring(n,U):e)!==u&&(n=R(n)),I--,(r=n)===u&&(n=u,0===I&&Y(z)),r}function ot(){var r,n;if(r=[],H.test(t.charAt(U))?(n=t.charAt(U),U++):(n=u,0===I&&Y(J)),n!==u)for(;n!==u;)r.push(n),H.test(t.charAt(U))?(n=t.charAt(U),U++):(n=u,0===I&&Y(J));else r=u;return r}function ct(t){return t.length&&{blockName:null,attrs:{},innerBlocks:[],innerHTML:t,innerContent:[t]}}if((n=c())!==u&&U===t.length)return n;throw n!==u&&U<t.length&&Y({type:"end"}),Z(G,D<t.length?t.charAt(D):null,D<t.length?X(D,D+1):X(D,D))}}}});
build/blocks/index.js CHANGED
@@ -1,2 +1,2 @@
1
- this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(g){if(t[g])return t[g].exports;var n=t[g]={i:g,l:!1,exports:{}};return e[g].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,g){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:g})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=214)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,r){"use strict";function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",function(){return g})},127:function(e,t){!function(){e.exports=this.wp.shortcode}()},15:function(e,t,r){"use strict";function g(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 g})},18:function(e,t,r){"use strict";function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var g in r)Object.prototype.hasOwnProperty.call(r,g)&&(e[g]=r[g])}return e}).apply(this,arguments)}r.d(t,"a",function(){return g})},19:function(e,t,r){"use strict";var g=r(32);function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||Object(g.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(t,"a",function(){return n})},192:function(e,t,r){var g;/*! showdown v 1.8.6 - 22-12-2017 */
2
- (function(){function n(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 g in t)t.hasOwnProperty(g)&&(r[g]=t[g].defaultValue);return r}var a={},A={},C={},i=n(!0),o="vanilla",I={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:n(!0),allOn:function(){"use strict";var e=n(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function s(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",g={valid:!0,error:""};a.helper.isArray(e)||(e=[e]);for(var n=0;n<e.length;++n){var A=r+" sub-extension "+n+": ",C=e[n];if("object"!=typeof C)return g.valid=!1,g.error=A+"must be an object, but "+typeof C+" given",g;if(!a.helper.isString(C.type))return g.valid=!1,g.error=A+'property "type" must be a string, but '+typeof C.type+" given",g;var i=C.type=C.type.toLowerCase();if("language"===i&&(i=C.type="lang"),"html"===i&&(i=C.type="output"),"lang"!==i&&"output"!==i&&"listener"!==i)return g.valid=!1,g.error=A+"type "+i+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',g;if("listener"===i){if(a.helper.isUndefined(C.listeners))return g.valid=!1,g.error=A+'. Extensions of type "listener" must have a property called "listeners"',g}else if(a.helper.isUndefined(C.filter)&&a.helper.isUndefined(C.regex))return g.valid=!1,g.error=A+i+' extensions must define either a "regex" property or a "filter" method',g;if(C.listeners){if("object"!=typeof C.listeners)return g.valid=!1,g.error=A+'"listeners" property must be an object but '+typeof C.listeners+" given",g;for(var o in C.listeners)if(C.listeners.hasOwnProperty(o)&&"function"!=typeof C.listeners[o])return g.valid=!1,g.error=A+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+o+" must be a function but "+typeof C.listeners[o]+" given",g}if(C.filter){if("function"!=typeof C.filter)return g.valid=!1,g.error=A+'"filter" must be a function, but '+typeof C.filter+" given",g}else if(C.regex){if(a.helper.isString(C.regex)&&(C.regex=new RegExp(C.regex,"g")),!(C.regex instanceof RegExp))return g.valid=!1,g.error=A+'"regex" property must either be a string or a RegExp object, but '+typeof C.regex+" given",g;if(a.helper.isUndefined(C.replace))return g.valid=!1,g.error=A+'"regex" extensions must implement a replace string or function',g}}return g}function c(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}a.helper={},a.extensions={},a.setOption=function(e,t){"use strict";return i[e]=t,this},a.getOption=function(e){"use strict";return i[e]},a.getOptions=function(){"use strict";return i},a.resetOptions=function(){"use strict";i=n(!0)},a.setFlavor=function(e){"use strict";if(!I.hasOwnProperty(e))throw Error(e+" flavor was not found");a.resetOptions();var t=I[e];for(var r in o=e,t)t.hasOwnProperty(r)&&(i[r]=t[r])},a.getFlavor=function(){"use strict";return o},a.getFlavorOptions=function(e){"use strict";if(I.hasOwnProperty(e))return I[e]},a.getDefaultOptions=function(e){"use strict";return n(e)},a.subParser=function(e,t){"use strict";if(a.helper.isString(e)){if(void 0===t){if(A.hasOwnProperty(e))return A[e];throw Error("SubParser named "+e+" not registered!")}A[e]=t}},a.extension=function(e,t){"use strict";if(!a.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=a.helper.stdExtName(e),a.helper.isUndefined(t)){if(!C.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return C[e]}"function"==typeof t&&(t=t()),a.helper.isArray(t)||(t=[t]);var r=s(t,e);if(!r.valid)throw Error(r.error);C[e]=t},a.getAllExtensions=function(){"use strict";return C},a.removeExtension=function(e){"use strict";delete C[e]},a.resetExtensions=function(){"use strict";C={}},a.validateExtension=function(e){"use strict";var t=s(e,null);return!!t.valid||(console.warn(t.error),!1)},a.hasOwnProperty("helper")||(a.helper={}),a.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},a.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},a.helper.isArray=function(e){"use strict";return Array.isArray(e)},a.helper.isUndefined=function(e){"use strict";return void 0===e},a.helper.forEach=function(e,t){"use strict";if(a.helper.isUndefined(e))throw new Error("obj param is required");if(a.helper.isUndefined(t))throw new Error("callback param is required");if(!a.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(a.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 g in e)e.hasOwnProperty(g)&&t(e[g],g,e)}},a.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},a.helper.escapeCharactersCallback=c,a.helper.escapeCharacters=function(e,t,r){"use strict";var g="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(g="\\\\"+g);var n=new RegExp(g,"g");return e=e.replace(n,c)};var l=function(e,t,r,g){"use strict";var n,a,A,C,i,o=g||"",I=o.indexOf("g")>-1,s=new RegExp(t+"|"+r,"g"+o.replace(/g/g,"")),c=new RegExp(t,o.replace(/g/g,"")),l=[];do{for(n=0;A=s.exec(e);)if(c.test(A[0]))n++||(C=(a=s.lastIndex)-A[0].length);else if(n&&!--n){i=A.index+A[0].length;var u={left:{start:C,end:a},match:{start:a,end:A.index},right:{start:A.index,end:i},wholeMatch:{start:C,end:i}};if(l.push(u),!I)return l}}while(n&&(s.lastIndex=a));return l};a.helper.matchRecursiveRegExp=function(e,t,r,g){"use strict";for(var n=l(e,t,r,g),a=[],A=0;A<n.length;++A)a.push([e.slice(n[A].wholeMatch.start,n[A].wholeMatch.end),e.slice(n[A].match.start,n[A].match.end),e.slice(n[A].left.start,n[A].left.end),e.slice(n[A].right.start,n[A].right.end)]);return a},a.helper.replaceRecursiveRegExp=function(e,t,r,g,n){"use strict";if(!a.helper.isFunction(t)){var A=t;t=function(){return A}}var C=l(e,r,g,n),i=e,o=C.length;if(o>0){var I=[];0!==C[0].wholeMatch.start&&I.push(e.slice(0,C[0].wholeMatch.start));for(var s=0;s<o;++s)I.push(t(e.slice(C[s].wholeMatch.start,C[s].wholeMatch.end),e.slice(C[s].match.start,C[s].match.end),e.slice(C[s].left.start,C[s].left.end),e.slice(C[s].right.start,C[s].right.end))),s<o-1&&I.push(e.slice(C[s].wholeMatch.end,C[s+1].wholeMatch.start));C[o-1].wholeMatch.end<e.length&&I.push(e.slice(C[o-1].wholeMatch.end)),i=I.join("")}return i},a.helper.regexIndexOf=function(e,t,r){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var g=e.substring(r||0).search(t);return g>=0?g+(r||0):g},a.helper.splitAtIndex=function(e,t){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},a.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=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})},"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}}),a.helper.regexes={asteriskDashAndColon:/([*_:~])/g},a.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 width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAOwUlEQVR42uVbCVyO6RbPmn0sw9gZS0aZO4y5GTEUE2ObxjZjrbHEJVy3sWS5pkaWxjLEkCVDSbSgFLdESaWSLIVUSIi4kvb9f895vi/zbbR+yZ339/tbnu99n/ec/3Oe85xznufV0CjDBaAdwZqwnzCJ0FXjHV70/i8J5oQDhCFV8cJdq1atwqxZs+Ds7Iz4+HhqwgXCLELNKlK6G2Ej4e6lS5ewZcsWzJgxA+fOnWNZFqvzxT1v3boF/qcsBg0ahP3796OwsJAFWKYuIqjfPoS9cXFxWL58Obp06SInh5aWFr//jjoJWLlu3TolAorRuXNn7Ny5k4W4Spgj81xrgj5hLmED4RDhlNRygglBhADCSakpWxFMCHoETUJTwrYHDx7A1NT0je9nPHz4kN/fXl0EeI0aNeqtAjB69+4NPz8/FsSdlXvy5An8/f1hZ2cHCwsLGBsbY/To0cJy9PT0MGDAAAwePBhGRkbClNesWYODBw8iODgYOTk53M/d9evXo27duiW++8iRI3z/ZHURENOjR48ShSjGuHHjhHJ16tQp9TOKaNWqlZKpvw1MHluQOpSvk5eXh5YtW5ZbmarAvHnzmIBd6iCgXnZ2Npo1a1atCWAfwY5SHQTUKCoqQocOHao1AebmHBJgi7p8QBDP6epMwKFDvMDAWF0ELLS1ta3WBNy9e5cJMFIXAdvt7e2rNQHDhw9nAv5D+KKylV9y8+bNCi1pVYWZM2cyCfaVTcDdsqzH7xpBQRxcwqyylLdi5/K+KM/Q0dFhAqIri4Bn1T0AUgVpdmhYUeVHnD59+r1TnjF27Fgm4HhFCThoYmLyXhLQoEGD4mRKsyIE3OrZs+d7SQCDCyZcNSqv8k1evXoFTU3NUr+wzUcfYqRBf8yb/C2WzfoBFoTF08fBdMIITDD8CsP1+kL30x7Q6dYZH7drjfZ0f4fWLdG1Q1t81qMLBvTRwejB/TBl1BDMnzQGS2dMxKo5k7Fs9iSY/jAaBvR8Pc26pZaH02quLZSXgO6xsbGlelGnli1wZKcVMqN8gKcRwItrf+K/VB95doXaLwOJIVSzOU/+2Re5kV7IuuyJrIhTyLt6mmztLBBPNZLHoUAy9fE8UvJ8ikxfj8PwJPQErJeYlkquTZs2MQFLykuANgc/Jb2kn3Z3ZMaQUrmxwO1zyAo7gfRAJ6RfOIyMEFdkXj5F8BTK5lzxQv610yi8QcFatI8gQoCIK7x+hojwRnaE5H4JTiEj9Pjr/rJDqcZyn9b4ovu45LYbdWvXeqtsXMHiSlZ5CegRExPz1hd83PYj5POo0QinXyLFg48hnZTOiQ1Dzr1IZEaeQRoJn0HKZIR7lA2kfHrQUerXHTlx4ZL+rnjjFRGRGeYB5MUj2GnbW+XbuJFrp1heXgI6JCYmvvUFN1x3Aek3SWkapRAXMeJFGS8ge2Xfuog0toaykED3Mpk8+shOk+sv68Y50V9WuKewBKt5094o39atW/mRf5WXgIYZGRlo3Lixys4nj6A6Z1YMcqRCpwU4ouDlUyHk/QA/hNttR25Wlvh/ZthJUsil9ATQ/axkYbqEzDgfL0Ts/x35+aLyTES7IY36Q6w/+Q4/tP6wuUoZ9+7dy7ebVmQZjO/atavKzn32rAdeXkd6KCkXdAxZ13yFcLFnvPD73zrDVrsdTs6eggKSuSjjORHkUGoC0i86Iyc6QPQX7eqMnTodYNuzHU4vnosiaitMSUSavwMy6d3IvEUrzViVMrq5uXEX4ytCgL++vr5Sx7Vr1cIDX0dKkQJfj37Rs3jw1sBxkwlwGD4Ax3+ciN1faCHW76xQRFgAOcjSEMBkIe0x8nLzcez7kTg8Rh/uxuOxR/cTJISFSfq7eATpZCk8CAfXLVFJwIULXHnHoIoQYLtw4UKljps2aogXQcQuef/XAiMDKY+S4DhyEFwpDnCj9f+Afl8EbbWRTANaAdihlYoAMn8aZzyNuYODX/eD29TvRH/7v+qN8H27JdOAyWQfQQ74xPafVRLAPox9WUlK6hIGEgx4f00Kg2JcvHhRqeP6FIwknXemyen/2gLIIeC/CYk49M0AuE4xgtu0sThg8AUCN62TEuBdRgJo2Y+Kxh9D/k59SQiwH9QHobt3SAk4KSGA4oWjm1YqyVi8U6Soj4yOrHM/jTAyKVby/PnzIoNi8L+L4eXlpXoFcLcTgc1rAlISkJeXDxeK2A6P1hdTwI6mQPTJE+WbAlnJyE7PhNO3Q3BkrKGYWtxfHMkkmQLO0ilwA7+vXqAkn66urtBLUZ9iHfm30NBQaPAf165dA0d9vP2UlJSEp0+f4vHjx3j06JH4e+rUqUovcNmyGkiNEkLwklXsBG+ecMUOnfbYod1emG5uboFKJ8jPFVD0l0dBUHqoPDHpQeQEb0qc4FUHe3KAbYUT9JgzDbwOFL5MfN0fXkXhJ5PxSvLt2LFD1Ah5u4z1YJ14l4qnBe8v3rhxAzz4PAVG8nLHivIP0dHRiIiIQGRkpEgmrl69ClW1QBMjQ7LDW8hmU+RRI69ckJIkhL7jfRJBm62R+TJVYq6h0jhBRslsivqenT2MF/7OyI70VmkFhWnPJaS6OyPkt43IycqR9EfWlH7JDQUUTuNhCHR7Ke9YcRp/5coVoQPrcvnyZURFRYmBZlLS0kR8MVLD29sbnp6e8PHxQUBAgCgn8YO8E3z79m3BGKeVc+bMkXuBZt06SA12F/F5Go0gR4C8HBalPZMPXKL8lQKhPAqF+f97KXFyNx6HQsoPsshJ/kmAp2TKkJLISpXvjyxNhMYcDVLOEO+lPDi8B5mamipkZx1YF9YpJCRErAy+vr5CZ9ZdWABhDGEYYTBhAOFz3g4nfMJelNCbkNCpUye5F034mvxIPi1/FM+zQCw0k5B9O0iEr5kRXkqhMJOVf9NXIHjtT7hmaymSoBzKETimkAuFpaF1dkwI9RcmIYaXv3BJXoGCuyIgk5WpefPmKCgoYK46SmX/RKoL69Sfl0WuFEl1HlmWJXE5z6WmTZvKJxxmxkIQ3AuU5APk6NICj4hRT6eITTEEzqWk55HHPjz3cxJhNF5cxeNT9kj2cRDTQjEkzpDtjyyCic5l5fEA7uSHFEefR5pPsahrb2B9QkICFHeJ51HunkdLIg0VLY0BFKdLwllVHp4dHyvst3QuEiiju21vA/+VZkiluIKt4I3RIfWXQ4QgKUxkni47LJWUP3PmjHo2RxVI+CebmKJP6EiFDVurxUgmExe5PHlnPAkn8w4QqW62NCVmYopozid5H0CI9RKE21ggJeAYEeMnfitOnRn5XCfgeJ+VTosWQU8MOc6ZE0cqnUm4fv165SrPBVHCfMI4TowUfmOfsIcdJh92kBWmUcP6GDt8EDZbzIffH5tx3/ewSFjw5LKk0MEFEkZenDBjgew7Yiog5brkt+QrknvJmhIp4Apw/A1bVpjhG/0v5d7Vrl07bNu2TelUSqUoz8uI3Z49OEtBAy+TdP1CqKtwHzvQUxxgTJs2TeX5gdq1a0ObSmCjh+jB+NuvRamL1+3ls77HCip1rTSdJP5eNnMizKndjMLoH42G4bthX+FzHS3UVVEC69evH3799VeKMXJZrlWKclUGAZ5jxoxB02ZNsNlxH74aagBHZyex986HlVTczyGmI58h4CjL2toa48ePFxsUPEotWrQoc0GT0/C2bduiY8eO4ISMcxLeoOFYhS6qm2EpoZG65jmbv+dPSyRZlt5QfVjvtX19AOFNL+aDFNI4m0eFc9Ho5ORkaGtrl5kAVp6DMOk88efEjLe++ZhclZwHTJHEHbs4YOCmLj2645fdvwnTK42zoXtaEHwNDQ3LXdZm5yad3/2r+gQmDsRnIF5KAldX6zdsgG/GG8F44Vzcu3eP2y1K6GPr2rVrK1zbnz59Or/LoaoJCPZ4kCZsjw9GECL79OmDj9q2wb+320C3/5fgPQO6Vrzh+fpcDqxXr16lbHBwgkZXm6okYJr0ECMrX5vraiJ1lArEjrEnzWuOqemiYj9spGd2ee478XkiPsJakmJ83qA05/8qXNurJFLiunXrhpo1a6LxB02wyHIFZpovgOHwYfjZ0hK2lH5u2rwZ5suWYv5ycyUlmjRpgl69eimlrFy3kwuoyOvXr19frm3RokVMwPZ3TYC57E6xVq+e6KzVDSaL/oEp82Zh8IhhWLjGAp/p9oX5ujVKBNjY2MDV1VWuzd3dXaTesm2biUQuZ8u28elSPmKr8a4vdog8GnJpcT1N1KHUuBbt0jSgWuGbzJh3mVhh2TYHBwdxjFa2jVcZnvPVlQBOLXdZWlqW2ZFxNYYVlm07fPgwAgMD5dr4OD5HeHLFFxM+O42DGtXhIkFaMQlcUjIzM0P37t1Ro0YNpZPjPJcVK7SOjo5ybU5OTqIAo0gAh97VlgAZIj4l8Pn4WFaO64ocuXG6zJtDbMqySnC7IgF8uptLVrJtq1evFuWqak+A4j4i4TNpltiJ8LPiNFFFwNGjRyWFyfedAFUny/joekkEuLi4KK0CfykCeFnkiu1flgBeFtl3/D8SsMbKykpOifv37ysRcPz4cVHKUiSA8wwNdR9/VTMBSh9Y8S4Nf2qnSICiBbDzVCRg9uzZTMC+94kAv6FDh8opwRsVHPjItnl4eEDxHNLKlStFXV+2javQ/M1SpZe+1KA4L4G7WDG57fSm/OUbXiqG0ewAFYOeYcN4fwZhvLkp2y4tftrxcltdlf/w+fPn4qNGxTCYU2m6nrRu3VqunT/EoiuZvw6TTZHpyuNNmEaNGsndP3fu3OJAq1N1JOAHDmyKheVtNP4OkE2crULRAW7fvl20EyyLy24a8p+/7WISFixYIMLt4t82bNhQYjXqXREgPq3j74mlX3AmSL8E1eOPIBXnuVT5OsVZpuLnOMeOHeN7vifwiYhYzhC5IpwlOXj1QXWdBmy/XWU/X+UqMZfKBw4cKAobHPlJlZe9h6tOu+7cuSN2dg0MDMSSyZUpmXvaSD+crq/xvl0k9BTCRa7qEPq+5T4t6ffF52WVV+f1P6zyLG30bsU4AAAAAElFTkSuQmCC">',showdown:'<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAECtaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTctMTAtMjRUMTM6MzE6MzArMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8cGhvdG9zaG9wOklDQ1Byb2ZpbGU+c1JHQiBJRUM2MTk2Ni0yLjE8L3Bob3Rvc2hvcDpJQ0NQcm9maWxlPgogICAgICAgICA8cGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgICAgIDxyZGY6QmFnPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHBob3Rvc2hvcDpMYXllck5hbWU+UyAtPC9waG90b3Nob3A6TGF5ZXJOYW1lPgogICAgICAgICAgICAgICAgICA8cGhvdG9zaG9wOkxheWVyVGV4dD5TIC08L3Bob3Rvc2hvcDpMYXllclRleHQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpCYWc+CiAgICAgICAgIDwvcGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6N2NkMzQxNzctOWYyZi0yNDRiLWEyYjQtMzU1MzJkY2Y1MWJiPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD5hZG9iZTpkb2NpZDpwaG90b3Nob3A6M2E1YzgxYmYtYjhiNy0xMWU3LTk0NDktYTQ2MzdlZjJkNjMzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE3LTEwLTI0VDEzOjMxOjMwKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjdjZDM0MTc3LTlmMmYtMjQ0Yi1hMmI0LTM1NTMyZGNmNTFiYjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjYwQzVBRTY1RjY5Q0U0MTE5NDVBODU1RTNCQ0E3RUVCPC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOlhSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WVJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDxleGlmOkNvbG9yU3BhY2U+MTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pse7bzcAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA1JJREFUeNrsm1+OmlAUhz+aeS9dwZggJn1AnRUMO6jpBgZXULuC2hWUWUGZBTSxKyiuoA4mfUBMnB04K5g+9DihRBHlyh/lJLwIXLgf99xzzu9etZeXFy7Z3nDh1gBoAFy4XeVtQNO0zNcapmUDfUBPnFoBfhQGq6IBaHmjwD4Ahmk5wAD4kKG5J8CNwsAFaHe6DvA9cc0wCgOv8gDka3vA9RHNPgo0D7hNnJtGYWBXxgV2dH4MfMnRRA+Y1WIO2NJ5F/ikoKm3tYsChmkNFHW+fmHQMC1dfHaXPQP3wM1yMdc2B/AOGALTWobBmI1Shu0UGCwX83XyRBQGawHntTtdG5gUNfxVu4CTNqNv6/wWGL7kCc+1AmCYVisl3I2ydD4GYZUCs7IjoLXrxHIx9w9tLAqDCfBwDrXAY457x+cAoCfuwRGjYFUnAGk+PsjR7s8Dn1VeLWCYVlpDw+VivjVHSHt+u9PVJbzGzZXQWTkAkz0V31fATUaEsjVJlQBs4FeGcteLgzgbAALBA+4y3voAeJL8nA0AHfClnM1qm1HhnYUidCSE+KzvSSJUTwAxCOMcpfETMFYpfRUKIAbCFhC3OTJJJwqDWS0BxED0JZ4Pjix1P2+E0loCSMBwyK4S/xc1ojBwag8gMU84cvTKGgmlAYhngu1O9xAXuVE5J1QCQCz3bwHuHvdQui5QKQAxEO6eEKpsFCgTRSXkvdoxSlBMCxhJJbgrrbZRtHCiShN0pRB6PeQ3ckBw2K0oKXMBVYJIP+Nvh9qulFivGoBt1lLQxowT2ykBXCfnhZIglgYACWmqXQv+baioBYCeiCQHm+QEg1O7RhF7hO4OhSAhcJKSFU7qBGADwZeqMMuXn6TUBw8qlaMrirNb4LdhWlP+SWD+cjFfxTpuS2GUpik+o3jFSEkqbJiWn0P0OMSGqlWiOu0TvD+FRHZKAE+oW+cfRmEwqlsesJJEJs8y91QqP+9UL6lqEtz2gpuNEY5sm9sIHln2DRa2aFKGJtiXkZEMiWtgVvRKUSUFkSKt2S7fAGgAXLYpmQQXf36MUChTZdUa2u8/rkvPA6Tz30r4eH3ybcBS5gJ6SaNXb+aABkA1AMxKenclBZLW/He4cYEGwEXb3wEASelexk6LIIIAAAAASUVORK5CYII=">'},a.Converter=function(e){"use strict";var t={},r=[],g=[],n={},A=o,c={parsed:{},raw:"",format:""};function l(e,t){if(t=t||null,a.helper.isString(e)){if(t=e=a.helper.stdExtName(e),a.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 a.Converter));a.helper.isArray(e)||(e=[e]);var n=s(e,t);if(!n.valid)throw Error(n.error);for(var A=0;A<e.length;++A)switch(e[A].type){case"lang":r.push(e[A]);break;case"output":g.push(e[A]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(a.extensions[e],e);if(a.helper.isUndefined(C[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=C[e]}"function"==typeof e&&(e=e()),a.helper.isArray(e)||(e=[e]);var n=s(e,t);if(!n.valid)throw Error(n.error);for(var A=0;A<e.length;++A){switch(e[A].type){case"lang":r.push(e[A]);break;case"output":g.push(e[A])}if(e[A].hasOwnProperty("listeners"))for(var i in e[A].listeners)e[A].listeners.hasOwnProperty(i)&&u(i,e[A].listeners[i])}}function u(e,t){if(!a.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");n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)}!function(){for(var r in e=e||{},i)i.hasOwnProperty(r)&&(t[r]=i[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var g in e)e.hasOwnProperty(g)&&(t[g]=e[g]);t.extensions&&a.helper.forEach(t.extensions,l)}(),this._dispatch=function(e,t,r,g){if(n.hasOwnProperty(e))for(var a=0;a<n[e].length;++a){var A=n[e][a](e,t,this,r,g);A&&void 0!==A&&(t=A)}return t},this.listen=function(e,t){return u(e,t),this},this.makeHtml=function(e){if(!e)return e;var n={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:g,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," "),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=a.subParser("detab")(e,t,n)).replace(/^[ \t]+$/gm,""),a.helper.forEach(r,function(r){e=a.subParser("runExtension")(r,e,t,n)}),e=a.subParser("metadata")(e,t,n),e=a.subParser("hashPreCodeTags")(e,t,n),e=a.subParser("githubCodeBlocks")(e,t,n),e=a.subParser("hashHTMLBlocks")(e,t,n),e=a.subParser("hashCodeTags")(e,t,n),e=a.subParser("stripLinkDefinitions")(e,t,n),e=a.subParser("blockGamut")(e,t,n),e=a.subParser("unhashHTMLSpans")(e,t,n),e=(e=(e=a.subParser("unescapeSpecialChars")(e,t,n)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=a.subParser("completeHTMLDocument")(e,t,n),a.helper.forEach(g,function(r){e=a.subParser("runExtension")(r,e,t,n)}),c=n.metadata,e},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){l(e,t=t||null)},this.useExtension=function(e){l(e)},this.setFlavor=function(e){if(!I.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=I[e];for(var g in A=e,r)r.hasOwnProperty(g)&&(t[g]=r[g])},this.getFlavor=function(){return A},this.removeExtension=function(e){a.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],A=0;A<r.length;++A)r[A]===n&&r[A].splice(A,1);for(;0<g.length;++A)g[0]===n&&g[0].splice(A,1)}},this.getAllExtensions=function(){return{language:r,output:g}},this.getMetadata=function(e){return e?c.raw:c.parsed},this.getMetadataFormat=function(){return c.format},this._setMetadataPair=function(e,t){c.parsed[e]=t},this._setMetadataFormat=function(e){c.format=e},this._setMetadataRaw=function(e){c.raw=e}},a.subParser("anchors",function(e,t,r){"use strict";var g=function(e,g,n,A,C,i,o){if(a.helper.isUndefined(o)&&(o=""),n=n.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)A="";else if(!A){if(n||(n=g.toLowerCase().replace(/ ?\n/g," ")),A="#"+n,a.helper.isUndefined(r.gUrls[n]))return e;A=r.gUrls[n],a.helper.isUndefined(r.gTitles[n])||(o=r.gTitles[n])}var I='<a href="'+(A=A.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"';return""!==o&&null!==o&&(I+=' title="'+(o=(o=o.replace(/"/g,"&quot;")).replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(A)&&(I+=' target="¨E95Eblank"'),I+=">"+g+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,g)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,g)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,g)).replace(/\[([^\[\]]+)]()()()()()/g,g),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,r,g,n,A){if("\\"===g)return r+n;if(!a.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var C=t.ghMentionsLink.replace(/\{u}/g,A),i="";return t.openLinksInNewWindow&&(i=' target="¨E95Eblank"'),r+'<a href="'+C+'"'+i+">"+n+"</a>"})),e=r.converter._dispatch("anchors.after",e,t,r)});var u=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,h=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,f=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,p=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){"use strict";return function(t,r,g,n,A,C,i){var o=g=g.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback),I="",s="",c=r||"",l=i||"";return/^www\./i.test(g)&&(g=g.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&C&&(I=C),e.openLinksInNewWindow&&(s=' target="¨E95Eblank"'),c+'<a href="'+g+'"'+s+">"+o+"</a>"+I+l}},b=function(e,t){"use strict";return function(r,g,n){var A="mailto:";return g=g||"",n=a.subParser("unescapeSpecialChars")(n,e,t),e.encodeEmails?(A=a.helper.encodeEmailAddress(A+n),n=a.helper.encodeEmailAddress(n)):A+=n,g+'<a href="'+A+'">'+n+"</a>"}};a.subParser("autoLinks",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(h,m(t))).replace(p,b(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),a.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(d,m(t)):e.replace(u,m(t))).replace(f,b(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),a.subParser("blockGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=a.subParser("blockQuotes")(e,t,r),e=a.subParser("headers")(e,t,r),e=a.subParser("horizontalRule")(e,t,r),e=a.subParser("lists")(e,t,r),e=a.subParser("codeBlocks")(e,t,r),e=a.subParser("tables")(e,t,r),e=a.subParser("hashHTMLBlocks")(e,t,r),e=a.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),a.subParser("blockQuotes",function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var g=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(g=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(g,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=a.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=a.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=(r=r.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),a.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),a.subParser("codeBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,g,n){var A=g,C=n,i="\n";return A=a.subParser("outdent")(A,t,r),A=a.subParser("encodeCode")(A,t,r),A=(A=(A=a.subParser("detab")(A,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(i=""),A="<pre><code>"+A+i+"</code></pre>",a.subParser("hashBlock")(A,t,r)+C})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),a.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,g,n,A){var C=A;return C=(C=C.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),C=g+"<code>"+(C=a.subParser("encodeCode")(C,t,r))+"</code>",C=a.subParser("hashHTMLSpans")(C,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),a.subParser("completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var g="html",n="<!DOCTYPE HTML>\n",a="",A='<meta charset="utf-8">\n',C="",i="";for(var o in void 0!==r.metadata.parsed.doctype&&(n="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(g=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==g||(A='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(o))switch(o.toLowerCase()){case"doctype":break;case"title":a="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":A="html"===g||"html5"===g?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":C=' lang="'+r.metadata.parsed[o]+'"',i+='<meta name="'+o+'" content="'+r.metadata.parsed[o]+'">\n';break;default:i+='<meta name="'+o+'" content="'+r.metadata.parsed[o]+'">\n'}return e=n+"<html"+C+">\n<head>\n"+a+A+i+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),a.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,g=4-r.length%4,n=0;n<g;n++)r+=" ";return r})).replace(/¨A/g," ")).replace(/¨B/g,""),e=r.converter._dispatch("detab.after",e,t,r)}),a.subParser("ellipsis",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),e=r.converter._dispatch("ellipsis.after",e,t,r)}),a.subParser("emoji",function(e,t,r){"use strict";if(!t.emoji)return e;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,function(e,t){return a.helper.emojis.hasOwnProperty(t)?a.helper.emojis[t]:e}),e=r.converter._dispatch("emoji.after",e,t,r)}),a.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;"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),a.subParser("encodeBackslashEscapes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,a.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,a.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),a.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,a.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),a.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,a.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,a.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),a.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)(```+|~~~+)([^\s`~]*)\n([\s\S]*?)\n\1/g,function(e,g,n,A){var C=t.omitExtraWLInCodeBlocks?"":"\n";return A=a.subParser("encodeCode")(A,t,r),A=(A=(A=a.subParser("detab")(A,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),A="<pre><code"+(n?' class="'+n+" language-"+n+'"':"")+">"+A+C+"</code></pre>",A=a.subParser("hashBlock")(A,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:A})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),a.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",e=r.converter._dispatch("hashBlock.after",e,t,r)}),a.subParser("hashCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=a.helper.replaceRecursiveRegExp(e,function(e,g,n,A){var C=n+a.subParser("encodeCode")(g,t,r)+A;return"¨C"+(r.gHtmlSpans.push(C)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),a.subParser("hashElement",function(e,t,r){"use strict";return function(e,t){var g=t;return g=(g=(g=g.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),g="\n\n¨K"+(r.gHtmlBlocks.push(g)-1)+"K\n\n"}}),a.subParser("hashHTMLBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var g=["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"],n=function(e,t,g,n){var a=e;return-1!==g.search(/\bmarkdown\b/)&&(a=g+r.converter.makeHtml(t)+n),"\n\n¨K"+(r.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"&lt;"+t+"&gt;"}));for(var A=0;A<g.length;++A)for(var C,i=new RegExp("^ {0,3}(<"+g[A]+"\\b[^>]*>)","im"),o="<"+g[A]+"\\b[^>]*>",I="</"+g[A]+">";-1!==(C=a.helper.regexIndexOf(e,i));){var s=a.helper.splitAtIndex(e,C),c=a.helper.replaceRecursiveRegExp(s[1],n,o,I,"im");if(c===s[1])break;e=s[0].concat(c)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,a.subParser("hashElement")(e,t,r)),e=(e=a.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,a.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),a.subParser("hashHTMLSpans",function(e,t,r){"use strict";function g(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 g(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return g(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return g(e)})).replace(/<[^>]+?>/gi,function(e){return g(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),a.subParser("unhashHTMLSpans",function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var g=0;g<r.gHtmlSpans.length;++g){for(var n=r.gHtmlSpans[g],a=0;/¨C(\d+)C/.test(n);){var A=RegExp.$1;if(n=n.replace("¨C"+A+"C",r.gHtmlSpans[A]),10===a){console.error("maximum nesting of 10 spans reached!!!");break}++a}e=e.replace("¨C"+g+"C",n)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)}),a.subParser("hashPreCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=a.helper.replaceRecursiveRegExp(e,function(e,g,n,A){var C=n+a.subParser("encodeCode")(g,t,r)+A;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:C})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),a.subParser("headers",function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var g=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),n=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,A=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(n,function(e,n){var A=a.subParser("spanGamut")(n,t,r),C=t.noHeaderId?"":' id="'+i(n)+'"',o="<h"+g+C+">"+A+"</h"+g+">";return a.subParser("hashBlock")(o,t,r)})).replace(A,function(e,n){var A=a.subParser("spanGamut")(n,t,r),C=t.noHeaderId?"":' id="'+i(n)+'"',o=g+1,I="<h"+o+C+">"+A+"</h"+o+">";return a.subParser("hashBlock")(I,t,r)});var C=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function i(e){var g,n;if(t.customizedHeaderId){var A=e.match(/\{([^{]+?)}\s*$/);A&&A[1]&&(e=A[1])}return g=e,n=a.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(g=n+g),g=t.ghCompatibleHeaderId?g.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?g.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():g.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(g=n+g),r.hashLinkCounts[g]?g=g+"-"+r.hashLinkCounts[g]++:r.hashLinkCounts[g]=1,g}return e=e.replace(C,function(e,n,A){var C=A;t.customizedHeaderId&&(C=A.replace(/\s?\{([^{]+?)}\s*$/,""));var o=a.subParser("spanGamut")(C,t,r),I=t.noHeaderId?"":' id="'+i(A)+'"',s=g-1+n.length,c="<h"+s+I+">"+o+"</h"+s+">";return a.subParser("hashBlock")(c,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),a.subParser("horizontalRule",function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var g=a.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,g)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,g)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,g),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),a.subParser("images",function(e,t,r){"use strict";function g(e,t,g,n,A,C,i,o){var I=r.gUrls,s=r.gTitles,c=r.gDimensions;if(g=g.toLowerCase(),o||(o=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)n="";else if(""===n||null===n){if(""!==g&&null!==g||(g=t.toLowerCase().replace(/ ?\n/g," ")),n="#"+g,a.helper.isUndefined(I[g]))return e;n=I[g],a.helper.isUndefined(s[g])||(o=s[g]),a.helper.isUndefined(c[g])||(A=c[g].width,C=c[g].height)}t=t.replace(/"/g,"&quot;").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback);var l='<img src="'+(n=n.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'" alt="'+t+'"';return o&&(l+=' title="'+(o=o.replace(/"/g,"&quot;").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"'),A&&C&&(l+=' width="'+(A="*"===A?"auto":A)+'"',l+=' height="'+(C="*"===C?"auto":C)+'"'),l+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,g)).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,n,a,A,C,i){return g(e,t,r,n=n.replace(/\s/g,""),a,A,0,i)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,g)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,g)).replace(/!\[([^\[\]]+)]()()()()()/g,g),e=r.converter._dispatch("images.after",e,t,r)}),a.subParser("italicsAndBold",function(e,t,r){"use strict";function g(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 g(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return g(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return g(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?g(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?g(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?g(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]+?)\*\*\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]+?)\*\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]+?)\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?g(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?g(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?g(t,"<em>","</em>"):e}),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),a.subParser("lists",function(e,t,r){"use strict";function g(e,g){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,A=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(n,function(e,g,n,C,i,o,I){I=I&&""!==I.trim();var s=a.subParser("outdent")(i,t,r),c="";return o&&t.tasklists&&(c=' class="task-list-item" style="list-style-type: none;"',s=s.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 I&&(e+=" checked"),e+=">"})),s=s.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),g||s.search(/\n{2,}/)>-1?(s=a.subParser("githubCodeBlocks")(s,t,r),s=a.subParser("blockGamut")(s,t,r)):(s=(s=a.subParser("lists")(s,t,r)).replace(/\n$/,""),s=(s=a.subParser("hashHTMLBlocks")(s,t,r)).replace(/\n\n+/g,"\n\n"),s=A?a.subParser("paragraphs")(s,t,r):a.subParser("spanGamut")(s,t,r)),s="<li"+c+">"+(s=s.replace("¨A",""))+"</li>\n"})).replace(/¨0/g,""),r.gListLevel--,g&&(e=e.replace(/\s+$/,"")),e}function n(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function A(e,r,a){var A=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,C=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,i="ul"===r?A:C,o="";if(-1!==e.search(i))!function t(I){var s=I.search(i),c=n(e,r);-1!==s?(o+="\n\n<"+r+c+">\n"+g(I.slice(0,s),!!a)+"</"+r+">\n",i="ul"===(r="ul"===r?"ol":"ul")?A:C,t(I.slice(s))):o+="\n\n<"+r+c+">\n"+g(I,!!a)+"</"+r+">\n"}(e);else{var I=n(e,r);o="\n\n<"+r+I+">\n"+g(e,!!a)+"</"+r+">\n"}return o}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 A(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,g){return A(r,g.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),a.subParser("metadata",function(e,t,r){"use strict";if(!t.metadata)return e;function g(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,g){return r.metadata.parsed[t]=g,""})}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 g(r),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,n){return t&&(r.metadata.format=t),g(n),"¨M"})).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)}),a.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,""),e=r.converter._dispatch("outdent.after",e,t,r)}),a.subParser("paragraphs",function(e,t,r){"use strict";for(var g=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),n=[],A=g.length,C=0;C<A;C++){var i=g[C];i.search(/¨(K|G)(\d+)\1/g)>=0?n.push(i):i.search(/\S/)>=0&&(i=(i=a.subParser("spanGamut")(i,t,r)).replace(/^([ \t]*)/g,"<p>"),i+="</p>",n.push(i))}for(A=n.length,C=0;C<A;C++){for(var o="",I=n[C],s=!1;/¨(K|G)(\d+)\1/.test(I);){var c=RegExp.$1,l=RegExp.$2;o=(o="K"===c?r.gHtmlBlocks[l]:s?a.subParser("encodeCode")(r.ghCodeBlocks[l].text,t,r):r.ghCodeBlocks[l].codeblock).replace(/\$/g,"$$$$"),I=I.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,o),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(I)&&(s=!0)}n[C]=I}return e=(e=(e=n.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),a.subParser("runExtension",function(e,t,r,g){"use strict";if(e.filter)t=e.filter(t,g.converter,r);else if(e.regex){var n=e.regex;n instanceof RegExp||(n=new RegExp(n,"g")),t=t.replace(n,e.replace)}return t}),a.subParser("spanGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=a.subParser("codeSpans")(e,t,r),e=a.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=a.subParser("encodeBackslashEscapes")(e,t,r),e=a.subParser("images")(e,t,r),e=a.subParser("anchors")(e,t,r),e=a.subParser("autoLinks")(e,t,r),e=a.subParser("simplifiedAutoLinks")(e,t,r),e=a.subParser("emoji")(e,t,r),e=a.subParser("underline")(e,t,r),e=a.subParser("italicsAndBold")(e,t,r),e=a.subParser("strikethrough")(e,t,r),e=a.subParser("ellipsis")(e,t,r),e=a.subParser("hashHTMLSpans")(e,t,r),e=a.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"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),a.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,g){return function(e){return t.simplifiedAutoLink&&(e=a.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(g)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),a.subParser("stripLinkDefinitions",function(e,t,r){"use strict";var g=function(e,g,n,A,C,i,o){return g=g.toLowerCase(),n.match(/^data:.+?\/.+?;base64,/)?r.gUrls[g]=n.replace(/\s/g,""):r.gUrls[g]=a.subParser("encodeAmpsAndAngles")(n,t,r),i?i+o:(o&&(r.gTitles[g]=o.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&A&&C&&(r.gDimensions[g]={width:A,height:C}),"")};return e=(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,g)).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,g)).replace(/¨0/,"")}),a.subParser("tables",function(e,t,r){"use strict";if(!t.tables)return e;function g(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function n(e,g){var n="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(n=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+n+g+">"+(e=a.subParser("spanGamut")(e,t,r))+"</th>\n"}function A(e,g){return"<td"+g+">"+a.subParser("spanGamut")(e,t,r)+"</td>\n"}function C(e){var C,i=e.split("\n");for(C=0;C<i.length;++C)/^ {0,3}\|/.test(i[C])&&(i[C]=i[C].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[C])&&(i[C]=i[C].replace(/\|[ \t]*$/,"")),i[C]=a.subParser("codeSpans")(i[C],t,r);var o=i[0].split("|").map(function(e){return e.trim()}),I=i[1].split("|").map(function(e){return e.trim()}),s=[],c=[],l=[],u=[];for(i.shift(),i.shift(),C=0;C<i.length;++C)""!==i[C].trim()&&s.push(i[C].split("|").map(function(e){return e.trim()}));if(o.length<I.length)return e;for(C=0;C<I.length;++C)l.push(g(I[C]));for(C=0;C<o.length;++C)a.helper.isUndefined(l[C])&&(l[C]=""),c.push(n(o[C],l[C]));for(C=0;C<s.length;++C){for(var d=[],h=0;h<c.length;++h)a.helper.isUndefined(s[C][h]),d.push(A(s[C][h],l[h]));u.push(d)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",g=e.length,n=0;n<g;++n)r+=e[n];for(r+="</tr>\n</thead>\n<tbody>\n",n=0;n<t.length;++n){r+="<tr>\n";for(var a=0;a<g;++a)r+=t[n][a];r+="</tr>\n"}return r+="</tbody>\n</table>\n"}(c,u)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,a.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,C)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,C),e=r.converter._dispatch("tables.after",e,t,r)}),a.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.replace(/\b_?__(\S[\s\S]*)___?\b/g,function(e,t){return"<u>"+t+"</u>"}):e.replace(/_?__(\S[\s\S]*?)___?/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/(_)/g,a.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),a.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)}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)});void 0===(g=function(){"use strict";return a}.call(t,r,t,e))||(e.exports=g)}).call(this)},193:function(e,t){!function(){e.exports=this.wp.blockSerializationDefaultParser}()},2:function(e,t){!function(){e.exports=this.lodash}()},214:function(e,t,r){"use strict";r.r(t);var g={};r.d(g,"getBlockTypes",function(){return p}),r.d(g,"getBlockType",function(){return m}),r.d(g,"getBlockStyles",function(){return b}),r.d(g,"getCategories",function(){return _}),r.d(g,"getDefaultBlockName",function(){return v}),r.d(g,"getFreeformFallbackBlockName",function(){return w}),r.d(g,"getUnregisteredFallbackBlockName",function(){return k}),r.d(g,"getChildBlockNames",function(){return y}),r.d(g,"getBlockSupport",function(){return j}),r.d(g,"hasBlockSupport",function(){return O}),r.d(g,"hasChildBlocks",function(){return x}),r.d(g,"hasChildBlocksWithInserterSupport",function(){return T});var n={};r.d(n,"addBlockTypes",function(){return E}),r.d(n,"removeBlockTypes",function(){return N}),r.d(n,"addBlockStyles",function(){return S}),r.d(n,"removeBlockStyles",function(){return P}),r.d(n,"setDefaultBlockName",function(){return B}),r.d(n,"setFreeformFallbackBlockName",function(){return L}),r.d(n,"setUnregisteredFallbackBlockName",function(){return z}),r.d(n,"setCategories",function(){return R}),r.d(n,"updateCategory",function(){return M});var a=r(5),A=r(15),C=r(19),i=r(8),o=r(2),I=r(1),s=[{slug:"common",title:Object(I.__)("Common Blocks")},{slug:"formatting",title:Object(I.__)("Formatting")},{slug:"layout",title:Object(I.__)("Layout Elements")},{slug:"widgets",title:Object(I.__)("Widgets")},{slug:"embed",title:Object(I.__)("Embeds")},{slug:"reusable",title:Object(I.__)("Reusable Blocks")}];function c(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 l=c("SET_DEFAULT_BLOCK_NAME"),u=c("SET_FREEFORM_FALLBACK_BLOCK_NAME"),d=c("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var h=Object(a.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 Object(i.a)({},e,Object(o.keyBy)(Object(o.map)(t.blockTypes,function(e){return Object(o.omit)(e,"styles ")}),"name"));case"REMOVE_BLOCK_TYPES":return Object(o.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 Object(i.a)({},e,Object(o.mapValues)(Object(o.keyBy)(t.blockTypes,"name"),function(t){return Object(o.uniqBy)([].concat(Object(C.a)(Object(o.get)(t,["styles"],[])),Object(C.a)(Object(o.get)(e,[t.name],[]))),function(e){return e.name})}));case"ADD_BLOCK_STYLES":return Object(i.a)({},e,Object(A.a)({},t.blockName,Object(o.uniqBy)([].concat(Object(C.a)(Object(o.get)(e,[t.blockName],[])),Object(C.a)(t.styles)),function(e){return e.name})));case"REMOVE_BLOCK_STYLES":return Object(i.a)({},e,Object(A.a)({},t.blockName,Object(o.filter)(Object(o.get)(e,[t.blockName],[]),function(e){return-1===t.styleNames.indexOf(e.name)})))}return e},defaultBlockName:l,freeformFallbackBlockName:u,unregisteredFallbackBlockName:d,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(o.isEmpty)(t.category))return e;if(Object(o.find)(e,["slug",t.slug]))return Object(o.map)(e,function(e){return e.slug===t.slug?Object(i.a)({},e,t.category):e})}return e}}),f=r(29),p=Object(f.a)(function(e){return Object.values(e.blockTypes)},function(e){return[e.blockTypes]});function m(e,t){return e.blockTypes[t]}function b(e,t){return e.blockStyles[t]}function _(e){return e.categories}function v(e){return e.defaultBlockName}function w(e){return e.freeformFallbackBlockName}function k(e){return e.unregisteredFallbackBlockName}var y=Object(f.a)(function(e,t){return Object(o.map)(Object(o.filter)(e.blockTypes,function(e){return Object(o.includes)(e.parent,t)}),function(e){return e.name})},function(e){return[e.blockTypes]}),j=function(e,t,r,g){var n="string"==typeof t?m(e,t):t;return Object(o.get)(n,["supports",r],g)};function O(e,t,r,g){return!!j(e,t,r,g)}var x=function(e,t){return y(e,t).length>0},T=function(e,t){return Object(o.some)(y(e,t),function(t){return O(e,t,"inserter",!0)})};function E(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(o.castArray)(e)}}function N(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(o.castArray)(e)}}function S(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(o.castArray)(t),blockName:e}}function P(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(o.castArray)(t),blockName:e}}function B(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function L(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function z(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function R(e){return{type:"SET_CATEGORIES",categories:e}}function M(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(a.registerStore)("core/blocks",{reducer:h,selectors:g,actions:n});var D=r(61),V=r.n(D),H=r(23),F=r(46),Z=r.n(F),G=r(0),U=["#191e23","#f8f9f9"];function Y(e){var t=ae();if(e.name!==t)return!1;Y.block&&Y.block.name===t||(Y.block=he(t));var r=Y.block,g=Ae(t);return Object(o.every)(g.attributes,function(t,g){return r.attributes[g]===e.attributes[g]})}function W(e){return!!e&&(Object(o.isString)(e)||Object(G.isValidElement)(e)||Object(o.isFunction)(e)||e instanceof G.Component)}function K(e){if(e||(e="block-default"),W(e))return{src:e};if(Object(o.has)(e,["background"])){var t=Z()(e.background);return Object(i.a)({},e,{foreground:e.foreground?e.foreground:Object(F.mostReadable)(t,U,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function X(e){return Object(o.isString)(e)?Ae(e):e}var Q={};function J(e){Q=e}function q(e,t){if(t=Object(i.a)({name:e},Object(o.get)(Q,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(a.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else if((t=Object(H.applyFilters)("blocks.registerBlockType",t,e))&&Object(o.isFunction)(t.save))if("edit"in t&&!Object(o.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(o.some)(Object(a.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=K(t.icon),W(t.icon.src))return Object(a.dispatch)("core/blocks").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://wordpress.org/gutenberg/handbook/designers-developers/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 block "'+e+'" must have a category.');else console.error('The "save" property must be specified and must be a valid function.');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 $(e){var t=Object(a.select)("core/blocks").getBlockType(e);if(t)return Object(a.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function ee(e){Object(a.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function te(){return Object(a.select)("core/blocks").getFreeformFallbackBlockName()}function re(e){Object(a.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ge(){return Object(a.select)("core/blocks").getUnregisteredFallbackBlockName()}function ne(e){Object(a.dispatch)("core/blocks").setDefaultBlockName(e)}function ae(){return Object(a.select)("core/blocks").getDefaultBlockName()}function Ae(e){return Object(a.select)("core/blocks").getBlockType(e)}function Ce(){return Object(a.select)("core/blocks").getBlockTypes()}function ie(e,t,r){return Object(a.select)("core/blocks").getBlockSupport(e,t,r)}function oe(e,t,r){return Object(a.select)("core/blocks").hasBlockSupport(e,t,r)}function Ie(e){return"core/block"===e.name}var se=function(e){return Object(a.select)("core/blocks").getChildBlockNames(e)},ce=function(e){return Object(a.select)("core/blocks").hasChildBlocks(e)},le=function(e){return Object(a.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},ue=function(e,t){Object(a.dispatch)("core/blocks").addBlockStyles(e,t)},de=function(e,t){Object(a.dispatch)("core/blocks").removeBlockStyles(e,t)};function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],g=Ae(e),n=Object(o.reduce)(g.attributes,function(e,r,g){var n=t[g];return void 0!==n?e[g]=n:r.hasOwnProperty("default")&&(e[g]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[g]?e[g]=[e[g]]:Array.isArray(e[g])||(e[g]=[])),e},{});return{clientId:V()(),name:e,isValid:!0,attributes:n,innerBlocks:r}}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,g=V()();return Object(i.a)({},e,{clientId:g,attributes:Object(i.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map(function(e){return fe(e)})})}var pe=function(e,t,r){if(Object(o.isEmpty)(r))return!1;if(!(!(r.length>1)||e.isMultiBlock))return!1;if(!("block"===e.type))return!1;var g=Object(o.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(g.name)))return!1;if(Object(o.isFunction)(e.isMatch)){var n=e.isMultiBlock?r.map(function(e){return e.attributes}):g.attributes;if(!e.isMatch(n))return!1}return!0},me=function(e){if(Object(o.isEmpty)(e))return[];var t=Ce();return Object(o.filter)(t,function(t){return!!ve(we("from",t.name),function(t){return pe(t,"from",e)})})},be=function(e){if(Object(o.isEmpty)(e))return[];var t=we("to",Ae(Object(o.first)(e).name).name),r=Object(o.filter)(t,function(t){return pe(t,"to",e)});return Object(o.flatMap)(r,function(e){return e.blocks}).map(function(e){return Ae(e)})};function _e(e){if(Object(o.isEmpty)(e))return[];var t=Object(o.first)(e);if(e.length>1&&!Object(o.every)(e,{name:t.name}))return[];var r=me(e),g=be(e);return Object(o.uniq)([].concat(Object(C.a)(r),Object(C.a)(g)))}function ve(e,t){for(var r=Object(H.createHooks)(),g=function(g){var n=e[g];t(n)&&r.addFilter("transform","transform/"+g.toString(),function(e){return e||n},n.priority)},n=0;n<e.length;n++)g(n);return r.applyFilters("transform",null)}function we(e,t){if(void 0===t)return Object(o.flatMap)(Ce(),function(t){var r=t.name;return we(e,r)});var r=X(t)||{},g=r.name,n=r.transforms;return n&&Array.isArray(n[e])?n[e].map(function(e){return Object(i.a)({},e,{blockName:g})}):[]}function ke(e,t){var r=Object(o.castArray)(e),g=r.length>1,n=r[0],a=n.name;if(g&&!Object(o.every)(r,function(e){return e.name===a}))return null;var A,C=we("from",t),I=ve(we("to",a),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!g||e.isMultiBlock)})||ve(C,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(a)&&(!g||e.isMultiBlock)});if(!I)return null;if(A=I.isMultiBlock?I.transform(r.map(function(e){return e.attributes}),r.map(function(e){return e.innerBlocks})):I.transform(n.attributes,n.innerBlocks),!Object(o.isObjectLike)(A))return null;if((A=Object(o.castArray)(A)).some(function(e){return!Ae(e.name)}))return null;var s=Object(o.findIndex)(A,function(e){return e.name===t});return s<0?null:A.map(function(t,r){var g=Object(i.a)({},t,{clientId:r===s?n.clientId:t.clientId});return Object(H.applyFilters)("blocks.switchToBlockType.transformedBlock",g,e)})}var ye=r(25);var je=function(){var e;return function(){return e||(e=document.implementation.createHTMLDocument("")),e}}();function Oe(e,t){if(t){if("string"==typeof e){var r=je();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,g){return r[g]=Oe(e,t[g]),r},{})}}function xe(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var g=r;if(e&&(g=r.querySelector(e)),g)return function(e,t){for(var r,g=t.split(".");r=g.shift();){if(!(r in e))return;e=e[r]}return e}(g,t)}}var Te=r(60),Ee=r(193),Ne=r(35),Se=r(32),Pe=r(34);var Be=r(10),Le=r(9),ze=/[\t\n\f ]/,Re=/[A-Za-z]/,Me=/\r\n?/g;function De(e){return ze.test(e)}function Ve(e){return Re.test(e)}var He=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="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.state="markupDeclaration":"/"===e?this.state="endTagOpen":Ve(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();De(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();De(e)?this.consume():"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();De(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="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();De(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();De(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();De(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();De(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();Ve(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},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(Me,"\n")}(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="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 g=t.length;g;)this.consume(),g--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),Fe=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new He(this,e)}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.addLocInfo=function(){this.options.loc&&(this.token.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.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},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]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}(),Ze=r(51),Ge=r(41),Ue=r.n(Ge),Ye=r(18),We=r(7),Ke=Object(G.createContext)(function(){}),Xe=Ke.Consumer,Qe=Ke.Provider,Je=Object(We.createHigherOrderComponent)(function(e){return function(t){return Object(G.createElement)(Xe,null,function(r){return Object(G.createElement)(e,Object(Ye.a)({},t,{BlockContent:r}))})}},"withBlockContentContext"),qe=function(e){var t=e.children,r=e.innerBlocks;return Object(G.createElement)(Qe,{value:function(){var e=At(r);return Object(G.createElement)(G.RawHTML,null,e)}},t)};function $e(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(H.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function et(e){var t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(H.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}function tt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],g=X(e),n=g.save;if(n.prototype instanceof G.Component){var a=new n({attributes:t});n=a.render.bind(a)}var A=n({attributes:t,innerBlocks:r});if(Object(o.isObject)(A)&&Object(H.hasFilter)("blocks.getSaveContent.extraProps")){var C=Object(H.applyFilters)("blocks.getSaveContent.extraProps",Object(i.a)({},A.props),g,t);Ue()(C,A.props)||(A=Object(G.cloneElement)(A,C))}return A=Object(H.applyFilters)("blocks.getSaveElement",A,g,t),Object(G.createElement)(qe,{innerBlocks:r},A)}function rt(e,t,r){var g=X(e);return Object(G.renderToString)(tt(g,t,r))}function gt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=rt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function nt(e,t,r){var g=Object(o.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)+" ",n=Object(o.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(n," ").concat(g,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(n," --\x3e"):"\x3c!-- wp:".concat(n," ").concat(g,"/--\x3e")}function at(e){var t=e.name,r=gt(e);switch(t){case te():case ge():return r;default:return nt(t,function(e,t){return Object(o.reduce)(e.attributes,function(e,r,g){var n=t[g];return void 0===n?e:void 0!==r.source?e:"default"in r&&r.default===n?e:(e[g]=n,e)},{})}(Ae(t),e.attributes),r)}}function At(e){return Object(o.castArray)(e).map(at).join("\n\n")}var Ct=/[\t\n\r\v\f ]+/g,it=/^[\t\n\r\v\f ]*$/,ot=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,It=["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"],st=[].concat(It,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),ct=[o.identity,function(e){return pt(e).join(" ")}],lt=/^[\da-z]+$/i,ut=/^#\d+$/,dt=/^#x[\da-f]+$/i;var ht=function(){function e(){Object(Be.a)(this,e)}return Object(Le.a)(e,[{key:"parse",value:function(e){if(function(e){return lt.test(e)||ut.test(e)||dt.test(e)}(e))return Object(Ze.decodeEntities)("&"+e+";")}}]),e}(),ft=function(){function e(e){return function(t){for(var r=arguments.length,g=new Array(r>1?r-1:0),n=1;n<r;n++)g[n-1]=arguments[n];return e.apply(void 0,["Block validation: "+t].concat(g))}}return{error:e(console.error),warning:e(console.warn)}}();function pt(e){return e.trim().split(Ct)}function mt(e){return e.attributes.filter(function(e){var t=Object(ye.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(o.includes)(st,r)})}function bt(e,t){for(var r=e.chars,g=t.chars,n=0;n<ct.length;n++){var a=ct[n];if((r=a(r))===(g=a(g)))return!0}return ft.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function _t(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=function(e){return Object(Ne.a)(e)||Object(Se.a)(e)||Object(Pe.a)()}(e.split(":")),r=t[0],g=t.slice(1).join(":");return[r.trim(),function(e){return e.replace(ot,"url($1)")}(g.trim())]});return Object(o.fromPairs)(t)}var vt=Object(i.a)({class:function(e,t){return!o.xor.apply(void 0,Object(C.a)([e,t].map(pt))).length},style:function(e,t){return o.isEqual.apply(void 0,Object(C.a)([e,t].map(_t)))}},Object(o.fromPairs)(It.map(function(e){return[e,o.stubTrue]})));var wt={StartTag:function(e,t){return e.tagName!==t.tagName?(ft.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){if(e.length!==t.length)return ft.warning("Expected attributes %o, instead saw %o.",t,e),!1;var r=[e,t].map(o.fromPairs),g=Object(ye.a)(r,2),n=g[0],a=g[1];for(var A in n){if(!a.hasOwnProperty(A))return ft.warning("Encountered unexpected attribute `%s`.",A),!1;var C=n[A],i=a[A],I=vt[A];if(I){if(!I(C,i))return ft.warning("Expected attribute `%s` of value `%s`, saw `%s`.",A,i,C),!1}else if(C!==i)return ft.warning("Expected attribute `%s` of value `%s`, saw `%s`.",A,i,C),!1}return!0}.apply(void 0,Object(C.a)([e,t].map(mt)))},Chars:bt,Comment:bt};function kt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!it.test(t.chars))return t}}function yt(e){try{return new Fe(new ht).tokenize(e)}catch(t){ft.warning("Malformed HTML detected: %s",e)}return null}function jt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Ot(e,t,r){var g,n=X(e);try{g=rt(n,t)}catch(e){return ft.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var a=function(e,t){var r,g,n=[e,t].map(yt),a=Object(ye.a)(n,2),A=a[0],C=a[1];if(!A||!C)return!1;for(;r=kt(A);){if(!(g=kt(C)))return ft.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==g.type)return ft.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",g.type,g,r.type,r),!1;var i=wt[r.type];if(i&&!i(r,g))return!1;jt(r,C[0])?kt(C):jt(g,A[0])&&kt(A)}return!(g=kt(C))||(ft.warning("Expected %o, instead saw end of content.",g),!1)}(r,g);return a||ft.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",n.name,n,g,r),a}function xt(e){for(var t=[],r=0;r<e.length;r++)try{t.push(Lt(e[r]))}catch(e){}return t}function Tt(e){var t=function(e){return e}(e);return Object(G.renderToString)(t)}function Et(e){return function(t){var r=t;return e&&(r=t.querySelector(e)),r?xt(r.childNodes):[]}}var Nt={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var r=Object(o.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),g=0;g<r.length;g++){var n=r[g];"string"==typeof n&&"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n)}return e},getChildrenArray:function(e){return e},fromDOM:xt,toHTML:Tt,matcher:Et},St=window.Node,Pt=St.TEXT_NODE,Bt=St.ELEMENT_NODE;function Lt(e){if(e.nodeType===Pt)return e.nodeValue;if(e.nodeType!==Bt)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:Object(i.a)({},function(e){for(var t={},r=0;r<e.length;r++){var g=e[r],n=g.name,a=g.value;t[n]=a}return t}(e.attributes),{children:xt(e.childNodes)})}}function zt(e){return function(t){var r=t;e&&(r=t.querySelector(e));try{return Lt(r)}catch(e){return null}}}var Rt={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:Lt,toHTML:function(e){return Tt([e])},matcher:zt};new Set(["attribute","html","text","tag"]);var Mt=function(e){return Object(o.flow)([e,function(e){return void 0!==e}])};function Dt(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)})}function Vt(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var g=xe(e,"attributes")(r);if(g&&g.hasOwnProperty(t))return g[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=Mt(t)),t;case"html":return function(e,t){return function(r){var g=r;if(e&&(g=r.querySelector(e)),!g)return"";if(t){for(var n="",a=g.children.length,A=0;A<a;A++){var C=g.children[A];C.nodeName.toLowerCase()===t&&(n+=C.outerHTML)}return n}return g.innerHTML}}(e.selector,e.multiline);case"text":return function(e){return xe(e,"textContent")}(e.selector);case"children":return Et(e.selector);case"node":return zt(e.selector);case"query":var r=Object(o.mapValues)(e.query,Vt);return function(e,t){return function(r){var g=r.querySelectorAll(e);return[].map.call(g,function(e){return Oe(e,t)})}}(e.selector,r);case"tag":return Object(o.flow)([xe(e.selector,"nodeName"),function(e){return e.toLowerCase()}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}}function Ht(e,t){return Oe(e,Vt(t))}function Ft(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},g=X(e),n=Object(o.mapValues)(g.attributes,function(e,g){return function(e,t,r,g){var n,a=t.type;switch(t.source){case void 0:n=g?g[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":n=Ht(r,t)}return void 0===a||Dt(n,Object(o.castArray)(a))||(n=void 0),void 0===n?t.default:n}(g,e,t,r)});return Object(H.applyFilters)("blocks.getBlockAttributes",n,g,t,r)}function Zt(e){var t=e.blockName,r=e.attrs,g=e.innerBlocks,n=void 0===g?[]:g,a=e.innerHTML,A=te(),C=ge()||A;r=r||{},a=a.trim();var I=t||A;"core/cover-image"===I&&(I="core/cover"),"core/text"!==I&&"core/cover-text"!==I||(I="core/paragraph"),I===A&&(a=Object(Te.autop)(a).trim());var s=Ae(I);if(!s){var c=a;I&&(a=nt(I,r,a)),r={originalName:t,originalUndelimitedContent:c},s=Ae(I=C)}n=n.map(Zt);var l=I===A||I===C;if(s&&(a||!l)){var u=he(I,Ft(s,a,r),n);return l||(u.isValid=Ot(s,u.attributes,a)),u.originalContent=a,u=function(e){var t=Ae(e.name),r=t.deprecated;if(!r||!r.length)return e;for(var g=e,n=g.originalContent,a=g.attributes,A=g.innerBlocks,C=0;C<r.length;C++){var I=r[C].isEligible,s=void 0===I?o.stubFalse:I;if(!e.isValid||s(a,A)){var c=Object.assign(Object(o.omit)(t,["attributes","save","supports"]),r[C]),l=Ft(c,n,a);if(Ot(c,l,n)){e=Object(i.a)({},e,{isValid:!0});var u=A,d=c.migrate;if(d){var h=Object(o.castArray)(d(l,A)),f=Object(ye.a)(h,2),p=f[0];l=void 0===p?a:p;var m=f[1];u=void 0===m?A:m}e.attributes=l,e.innerBlocks=u}}}return e}(u)}}var Gt=function(e){return function(t){return e(t).reduce(function(e,t){var r=Zt(t);return r&&e.push(r),e},[])}}(Ee.parse),Ut=Gt,Yt=r(24),Wt={strong:{},em:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function Kt(){return Wt}function Xt(e){var t=e.nodeName.toLowerCase();return Kt().hasOwnProperty(t)||"span"===t}["strong","em","del","ins","a","code","abbr","sub","sup"].forEach(function(e){Wt[e].children=Object(o.omit)(Wt,e)});var Qt=window.Node,Jt=Qt.ELEMENT_NODE,qt=Qt.TEXT_NODE;function $t(e){var t=e.map(function(e){var t=e.isMatch,r=e.blockName,g=e.schema,n=oe(r,"anchor");return n||t?Object(o.mapValues)(g,function(e){var r=e.attributes||[];return n&&(r=[].concat(Object(C.a)(r),["id"])),Object(i.a)({},e,{attributes:r,isMatch:t||void 0})}):g});return o.mergeWith.apply(void 0,[{}].concat(Object(C.a)(t),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(i.a)({},e,t);case"attributes":case"require":return[].concat(Object(C.a)(e||[]),Object(C.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function er(e){return!e.hasChildNodes()||Array.from(e.childNodes).every(function(e){return e.nodeType===qt?!e.nodeValue.trim():e.nodeType!==Jt||("BR"===e.nodeName||!e.hasAttributes()&&er(e))})}function tr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,g=document.implementation.createHTMLDocument("");return g.body.innerHTML=e,function e(t,r,g,n){Array.from(t).forEach(function(t){e(t.childNodes,r,g,n),r.forEach(function(e){g.contains(t)&&e(t,g,n)})})}(g.body.childNodes,t,g,r),g.body.innerHTML}function rr(e,t,r){var g=document.implementation.createHTMLDocument("");return g.body.innerHTML=e,function e(t,r,g,n){Array.from(t).forEach(function(t){var a=t.nodeName.toLowerCase();if(!g.hasOwnProperty(a)||g[a].isMatch&&!g[a].isMatch(t))e(t.childNodes,r,g,n),n&&!Xt(t)&&t.nextElementSibling&&Object(Yt.insertAfter)(r.createElement("br"),t),Object(Yt.unwrap)(t);else if(t.nodeType===Jt){var A=g[a],C=A.attributes,i=void 0===C?[]:C,I=A.classes,s=void 0===I?[]:I,c=A.children,l=A.require,u=void 0===l?[]:l;if(er(t)&&c)return void Object(Yt.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(e){var r=e.name;"class"===r||Object(o.includes)(i,r)||t.removeAttribute(r)}),t.classList.length)){var d=s.map(function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:o.noop});Array.from(t.classList).forEach(function(e){d.some(function(t){return t(e)})||t.classList.remove(e)}),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===c)return;if(c)u.length&&!t.querySelector(u.join(","))?(e(t.childNodes,r,g,n),Object(Yt.unwrap)(t)):"BODY"===t.parentNode.nodeName&&Xt(t)?(e(t.childNodes,r,g,n),Array.from(t.childNodes).some(function(e){return!Xt(e)})&&Object(Yt.unwrap)(t)):e(t.childNodes,r,c,n);else for(;t.firstChild;)Object(Yt.remove)(t.firstChild)}}})}(g.body.childNodes,g,t,r),g.body.innerHTML}var gr=window.Node,nr=gr.ELEMENT_NODE,ar=gr.TEXT_NODE,Ar=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),g=t.body,n=r.body;for(g.innerHTML=e;g.firstChild;){var a=g.firstChild;a.nodeType===ar?a.nodeValue.trim()?(n.lastChild&&"P"===n.lastChild.nodeName||n.appendChild(r.createElement("P")),n.lastChild.appendChild(a)):g.removeChild(a):a.nodeType===nr?"BR"===a.nodeName?(a.nextSibling&&"BR"===a.nextSibling.nodeName&&(n.appendChild(r.createElement("P")),g.removeChild(a.nextSibling)),n.lastChild&&"P"===n.lastChild.nodeName&&n.lastChild.hasChildNodes()?n.lastChild.appendChild(a):g.removeChild(a)):"P"===a.nodeName?er(a)?g.removeChild(a):n.appendChild(a):Xt(a)?(n.lastChild&&"P"===n.lastChild.nodeName||n.appendChild(r.createElement("P")),n.lastChild.appendChild(a)):n.appendChild(a):g.removeChild(a)}return n.innerHTML},Cr=window.Node.COMMENT_NODE,ir=function(e,t){if(e.nodeType===Cr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),g=e,n=!1;g=g.nextSibling;)if(g.nodeType===Cr&&"noteaser"===g.nodeValue){n=!0,Object(Yt.remove)(g);break}Object(Yt.replace)(e,function(e,t,r){var g=r.createElement("wp-block");g.dataset.block="core/more",e&&(g.dataset.customText=e);t&&(g.dataset.noTeaser="");return g}(r,n,t))}}else Object(Yt.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function or(e,t){return e.every(function(e){return function(e,t){if(Xt(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(o.difference)([r,t],e).length})}(e,t)&&or(Array.from(e.children),t)})}function Ir(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var sr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var g=Array.from(r.body.children);return!g.some(Ir)&&or(g,t)},cr=function(e,t){if("SPAN"===e.nodeName){var r=e.style,g=r.fontWeight,n=r.fontStyle,a=r.textDecorationLine,A=r.verticalAlign;"bold"!==g&&"700"!==g||Object(Yt.wrap)(t.createElement("strong"),e),"italic"===n&&Object(Yt.wrap)(t.createElement("em"),e),"line-through"===a&&Object(Yt.wrap)(t.createElement("del"),e),"super"===A?Object(Yt.wrap)(t.createElement("sup"),e):"sub"===A&&Object(Yt.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(Yt.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(Yt.replaceTag)(e,"em"):"A"===e.nodeName&&("_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},lr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},ur=window.parseInt;function dr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var hr=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var g=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(g){var n=ur(g[1],10)-1||0,a=e.previousElementSibling;if(!a||!dr(a)){var A=e.textContent.trim().slice(0,1),C=/[1iIaA]/.test(A),i=t.createElement(C?"ol":"ul");C&&i.setAttribute("type",A),e.parentNode.insertBefore(i,e)}var o=e.previousElementSibling,I=o.nodeName,s=t.createElement("li"),c=o;for(e.removeChild(e.firstElementChild);e.firstChild;)s.appendChild(e.firstChild);for(;n--;)dr(c=c.lastElementChild||c)&&(c=c.lastElementChild||c);dr(c)||(c=c.appendChild(t.createElement(I))),c.appendChild(s),e.parentNode.removeChild(e)}}}};function fr(e){return"OL"===e.nodeName||"UL"===e.nodeName}var pr=function(e){if(fr(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 g=e.parentNode;if(g&&"LI"===g.nodeName&&1===g.children.length&&!/\S/.test(function(e){return Object(C.a)(e.childNodes).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")}(g))){var n=g,a=n.previousElementSibling,A=n.parentNode;a?(a.appendChild(t),A.removeChild(n)):(A.parentNode.insertBefore(t,A),A.parentNode.removeChild(A))}if(g&&fr(g)){var i=e.previousElementSibling;i?i.appendChild(e):Object(Yt.unwrap)(e)}}},mr=r(31),br=window,_r=br.atob,vr=br.File,wr=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),g=Object(ye.a)(r,2),n=g[0],a=g[1],A=n.slice(5).split(";"),C=Object(ye.a)(A,1)[0];if(!a||!C)return void(e.src="");try{t=_r(a)}catch(t){return void(e.src="")}for(var i=new Uint8Array(t.length),o=0;o<i.length;o++)i[o]=t.charCodeAt(o);var I=C.replace("/","."),s=new vr([i],I,{type:C});e.src=Object(mr.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},kr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Ar(e.innerHTML))};var yr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Xt(e)&&Object(o.has)(t,["figure","children",r])}(e,r)){var g=e,n=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(o.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===n.nodeName&&1===n.childNodes.length&&(g=e.parentNode);for(var a=g;a&&"P"!==a.nodeName;)a=a.parentElement;var A=t.createElement("figure");a?a.parentNode.insertBefore(A,a):g.parentNode.insertBefore(A,g),A.appendChild(g)}},jr=r(127);var Or=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,g=ve(we("from"),function(e){return"shortcode"===e.type&&Object(o.some)(Object(o.castArray)(e.tag),function(e){return Object(jr.regexp)(e).test(t)})});if(!g)return[t];var n,a=Object(o.castArray)(g.tag),A=Object(o.first)(a);if(n=Object(jr.next)(A,t,r)){var I=t.substr(0,n.index);if(r=n.index+n.content.length,!Object(o.includes)(n.shortcode.content||"","<")&&!/(\n|<p>)\s*$/.test(I))return e(t,r);var s=Object(o.mapValues)(Object(o.pickBy)(g.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(n.shortcode.attrs,n)});return[I,he(g.blockName,Ft(Object(i.a)({},Ae(g.blockName),{attributes:g.attributes}),n.shortcode.content,s))].concat(Object(C.a)(e(t.substr(r))))}return[t]},xr=r(192),Tr=new(r.n(xr).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var Er=function(e){return Tr.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(e,t,r,g){return"".concat(t,"\n").concat(r,"\n").concat(g)})}(e))},Nr=function(e){"IFRAME"===e.nodeName&&Object(Yt.remove)(e)},Sr=window.console;function Pr(e){return e=rr(e=tr(e,[cr]),Kt(),{inline:!0}),Sr.log("Processed inline HTML:\n\n",e),e}function Br(){return Object(o.filter)(we("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(i.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})}function Lr(e){var t=e.html,r=e.rawTransforms,g=document.implementation.createHTMLDocument("");return g.body.innerHTML=t,Array.from(g.body.children).map(function(e){var t=ve(r,function(t){return(0,t.isMatch)(e)});if(!t)return he("core/html",Ft("core/html",e.outerHTML));var g=t.transform,n=t.blockName;return g?g(e):he(n,Ft(n,e.outerHTML))})}function zr(e){var t=e.HTML,r=void 0===t?"":t,g=e.plainText,n=void 0===g?"":g,a=e.mode,A=void 0===a?"AUTO":a,C=e.tagName,I=e.canUserUseUnfilteredHTML,s=void 0!==I&&I;if(r=r.replace(/<meta[^>]+>/,""),"INLINE"!==A&&-1!==r.indexOf("\x3c!-- wp:"))return Gt(r);if(String.prototype.normalize&&(r=r.normalize()),!n||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=Er(n),"AUTO"===A&&-1===n.indexOf("\n")&&0!==n.indexOf("<p>")&&0===r.indexOf("<p>")&&(A="INLINE")),"INLINE"===A)return Pr(r);var c=Or(r),l=c.length>1;if("AUTO"===A&&!l&&sr(r,C))return Pr(r);var u=Br(),d=Kt(),h=$t(u),f=Object(o.compact)(Object(o.flatMap)(c,function(e){if("string"!=typeof e)return e;var t=[hr,lr,pr,wr,cr,ir,yr,kr];s||t.unshift(Nr);var r=Object(i.a)({},h,d);return e=rr(e=tr(e,t,h),r),e=Ar(e),Sr.log("Processed HTML piece:\n\n",e),Lr({html:e,rawTransforms:u})}));if("AUTO"===A&&1===f.length){var p=n.trim();if(""!==p&&-1===p.indexOf("\n"))return rr(gt(f[0]),d)}return f}function Rr(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Gt(r);var g=Or(r),n=Br(),a=$t(n);return Object(o.compact)(Object(o.flatMap)(g,function(e){return"string"!=typeof e?e:(e=tr(e,[pr,ir,yr,kr],a),Lr({html:e=Ar(e),rawTransforms:n}))}))}function Mr(){return Object(a.select)("core/blocks").getCategories()}function Dr(e){Object(a.dispatch)("core/blocks").setCategories(e)}function Vr(e,t){Object(a.dispatch)("core/blocks").updateCategory(e,t)}function Hr(){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(o.every)(t,function(t,r){var g=Object(ye.a)(t,3),n=g[0],a=g[2],A=e[r];return n===A.name&&Hr(A.innerBlocks,a)})}function Fr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(o.map)(t,function(t,r){var g=Object(ye.a)(t,3),n=g[0],a=g[1],A=g[2],C=e[r];if(C&&C.name===n){var I=Fr(C.innerBlocks,A);return Object(i.a)({},C,{innerBlocks:I})}var s=Ae(n),c=function(e,t){return Object(o.mapValues)(t,function(t,r){return l(e[r],t)})},l=function(e,t){return function(e){return"html"===Object(o.get)(e,["source"])}(e)&&Object(o.isArray)(t)?Object(G.renderToString)(t):function(e){return"query"===Object(o.get)(e,["source"])}(e)&&t?t.map(function(t){return c(e.query,t)}):t};return he(n,c(Object(o.get)(s,["attributes"],{}),a),Fr([],A))}):e}r.d(t,"createBlock",function(){return he}),r.d(t,"cloneBlock",function(){return fe}),r.d(t,"getPossibleBlockTransformations",function(){return _e}),r.d(t,"switchToBlockType",function(){return ke}),r.d(t,"getBlockTransforms",function(){return we}),r.d(t,"findTransform",function(){return ve}),r.d(t,"parse",function(){return Ut}),r.d(t,"getBlockAttributes",function(){return Ft}),r.d(t,"parseWithAttributeSchema",function(){return Ht}),r.d(t,"pasteHandler",function(){return zr}),r.d(t,"rawHandler",function(){return Rr}),r.d(t,"getPhrasingContentSchema",function(){return Kt}),r.d(t,"serialize",function(){return At}),r.d(t,"getBlockContent",function(){return gt}),r.d(t,"getBlockDefaultClassName",function(){return $e}),r.d(t,"getBlockMenuDefaultClassName",function(){return et}),r.d(t,"getSaveElement",function(){return tt}),r.d(t,"getSaveContent",function(){return rt}),r.d(t,"isValidBlockContent",function(){return Ot}),r.d(t,"getCategories",function(){return Mr}),r.d(t,"setCategories",function(){return Dr}),r.d(t,"updateCategory",function(){return Vr}),r.d(t,"registerBlockType",function(){return q}),r.d(t,"unregisterBlockType",function(){return $}),r.d(t,"setFreeformContentHandlerName",function(){return ee}),r.d(t,"getFreeformContentHandlerName",function(){return te}),r.d(t,"setUnregisteredTypeHandlerName",function(){return re}),r.d(t,"getUnregisteredTypeHandlerName",function(){return ge}),r.d(t,"setDefaultBlockName",function(){return ne}),r.d(t,"getDefaultBlockName",function(){return ae}),r.d(t,"getBlockType",function(){return Ae}),r.d(t,"getBlockTypes",function(){return Ce}),r.d(t,"getBlockSupport",function(){return ie}),r.d(t,"hasBlockSupport",function(){return oe}),r.d(t,"isReusableBlock",function(){return Ie}),r.d(t,"getChildBlockNames",function(){return se}),r.d(t,"hasChildBlocks",function(){return ce}),r.d(t,"hasChildBlocksWithInserterSupport",function(){return le}),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",function(){return J}),r.d(t,"registerBlockStyle",function(){return ue}),r.d(t,"unregisterBlockStyle",function(){return de}),r.d(t,"isUnmodifiedDefaultBlock",function(){return Y}),r.d(t,"normalizeIconObject",function(){return K}),r.d(t,"isValidIcon",function(){return W}),r.d(t,"doBlocksMatchTemplate",function(){return Hr}),r.d(t,"synchronizeBlocksWithTemplate",function(){return Fr}),r.d(t,"children",function(){return Nt}),r.d(t,"node",function(){return Rt}),r.d(t,"withBlockContentContext",function(){return Je})},23:function(e,t){!function(){e.exports=this.wp.hooks}()},24:function(e,t){!function(){e.exports=this.wp.dom}()},25:function(e,t,r){"use strict";var g=r(35);var n=r(34);function a(e,t){return Object(g.a)(e)||function(e,t){var r=[],g=!0,n=!1,a=void 0;try{for(var A,C=e[Symbol.iterator]();!(g=(A=C.next()).done)&&(r.push(A.value),!t||r.length!==t);g=!0);}catch(e){n=!0,a=e}finally{try{g||null==C.return||C.return()}finally{if(n)throw a}}return r}(e,t)||Object(n.a)()}r.d(t,"a",function(){return a})},29:function(e,t,r){"use strict";var g,n;function a(e){return[e]}function A(e){return!!e&&"object"==typeof e}function C(){var e={clear:function(){e.head=null}};return e}function i(e,t,r){var g;if(e.length!==t.length)return!1;for(g=r;g<e.length;g++)if(e[g]!==t[g])return!1;return!0}g={},n="undefined"!=typeof WeakMap,t.a=function(e,t){var r,o;function I(){r=n?new WeakMap:C()}function s(){var r,g,n,a,A,C=arguments.length;for(a=new Array(C),n=0;n<C;n++)a[n]=arguments[n];for(A=t.apply(null,a),(r=o(A)).isUniqueByDependants||(r.lastDependants&&!i(A,r.lastDependants,0)&&r.clear(),r.lastDependants=A),g=r.head;g;){if(i(g.args,a,1))return g!==r.head&&(g.prev.next=g.next,g.next&&(g.next.prev=g.prev),g.next=r.head,g.prev=null,r.head.prev=g,r.head=g),g.val;g=g.next}return g={val:e.apply(null,a)},a[0]=null,g.args=a,r.head&&(r.head.prev=g,g.next=r.head),r.head=g,g.val}return t||(t=a),o=n?function(e){var t,n,a,i,o=r,I=!0;for(t=0;t<e.length;t++){if(!A(n=e[t])){I=!1;break}o.has(n)?o=o.get(n):(a=new WeakMap,o.set(n,a),o=a)}return o.has(g)||((i=C()).isUniqueByDependants=I,o.set(g,i)),o.get(g)}:function(){return r},s.getDependants=t,s.clear=I,I(),s}},31:function(e,t){!function(){e.exports=this.wp.blob}()},32:function(e,t,r){"use strict";function g(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",function(){return g})},34:function(e,t,r){"use strict";function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return g})},35:function(e,t,r){"use strict";function g(e){if(Array.isArray(e))return e}r.d(t,"a",function(){return g})},41:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},46:function(e,t,r){var g;!function(n){var a=/^\s+/,A=/\s+$/,C=0,i=n.round,o=n.min,I=n.max,s=n.random;function c(e,t){if(e=e||"",t=t||{},e instanceof c)return e;if(!(this instanceof c))return new c(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,g=null,C=null,i=null,s=!1,c=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(A,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=V.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=V.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=V.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=V.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=V.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=V.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=V.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:D(t[4]),format:r?"name":"hex8"};if(t=V.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=V.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=V.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=function(e,t,r){return{r:255*P(e,255),g:255*P(t,255),b:255*P(r,255)}}(e.r,e.g,e.b),s=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(g=R(e.s),C=R(e.v),t=function(e,t,r){e=6*P(e,360),t=P(t,100),r=P(r,100);var g=n.floor(e),a=e-g,A=r*(1-t),C=r*(1-a*t),i=r*(1-(1-a)*t),o=g%6;return{r:255*[r,C,A,A,i,r][o],g:255*[i,r,r,C,A,A][o],b:255*[A,A,i,r,r,C][o]}}(e.h,g,C),s=!0,c="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(g=R(e.s),i=R(e.l),t=function(e,t,r){var g,n,a;function A(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=P(e,360),t=P(t,100),r=P(r,100),0===t)g=n=a=r;else{var C=r<.5?r*(1+t):r+t-r*t,i=2*r-C;g=A(i,C,e+1/3),n=A(i,C,e),a=A(i,C,e-1/3)}return{r:255*g,g:255*n,b:255*a}}(e.h,g,i),s=!0,c="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=S(r),{ok:s,format:e.format||c,r:o(255,I(t.r,0)),g:o(255,I(t.g,0)),b:o(255,I(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=i(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=r.ok,this._tc_id=C++}function l(e,t,r){e=P(e,255),t=P(t,255),r=P(r,255);var g,n,a=I(e,t,r),A=o(e,t,r),C=(a+A)/2;if(a==A)g=n=0;else{var i=a-A;switch(n=C>.5?i/(2-a-A):i/(a+A),a){case e:g=(t-r)/i+(t<r?6:0);break;case t:g=(r-e)/i+2;break;case r:g=(e-t)/i+4}g/=6}return{h:g,s:n,l:C}}function u(e,t,r){e=P(e,255),t=P(t,255),r=P(r,255);var g,n,a=I(e,t,r),A=o(e,t,r),C=a,i=a-A;if(n=0===a?0:i/a,a==A)g=0;else{switch(a){case e:g=(t-r)/i+(t<r?6:0);break;case t:g=(r-e)/i+2;break;case r:g=(e-t)/i+4}g/=6}return{h:g,s:n,v:C}}function d(e,t,r,g){var n=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16))];return g&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function h(e,t,r,g){return[z(M(g)),z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s-=t/100,r.s=B(r.s),c(r)}function p(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s+=t/100,r.s=B(r.s),c(r)}function m(e){return c(e).desaturate(100)}function b(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l+=t/100,r.l=B(r.l),c(r)}function _(e,t){t=0===t?0:t||10;var r=c(e).toRgb();return r.r=I(0,o(255,r.r-i(-t/100*255))),r.g=I(0,o(255,r.g-i(-t/100*255))),r.b=I(0,o(255,r.b-i(-t/100*255))),c(r)}function v(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l-=t/100,r.l=B(r.l),c(r)}function w(e,t){var r=c(e).toHsl(),g=(r.h+t)%360;return r.h=g<0?360+g:g,c(r)}function k(e){var t=c(e).toHsl();return t.h=(t.h+180)%360,c(t)}function y(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+120)%360,s:t.s,l:t.l}),c({h:(r+240)%360,s:t.s,l:t.l})]}function j(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+90)%360,s:t.s,l:t.l}),c({h:(r+180)%360,s:t.s,l:t.l}),c({h:(r+270)%360,s:t.s,l:t.l})]}function O(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+72)%360,s:t.s,l:t.l}),c({h:(r+216)%360,s:t.s,l:t.l})]}function x(e,t,r){t=t||6,r=r||30;var g=c(e).toHsl(),n=360/r,a=[c(e)];for(g.h=(g.h-(n*t>>1)+720)%360;--t;)g.h=(g.h+n)%360,a.push(c(g));return a}function T(e,t){t=t||6;for(var r=c(e).toHsv(),g=r.h,n=r.s,a=r.v,A=[],C=1/t;t--;)A.push(c({h:g,s:n,v:a})),a=(a+C)%1;return A}c.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,g=this.toRgb();return e=g.r/255,t=g.g/255,r=g.b/255,.2126*(e<=.03928?e/12.92:n.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:n.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:n.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=S(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),g=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+g+"%)":"hsva("+t+", "+r+"%, "+g+"%, "+this._roundA+")"},toHsl:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),g=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+g+"%)":"hsla("+t+", "+r+"%, "+g+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,g,n){var a=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16)),z(M(g))];if(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[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*P(this._r,255))+"%",g:i(100*P(this._g,255))+"%",b:i(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%)":"rgba("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,g=this._gradientType?"GradientType = 1, ":"";if(e){var n=c(e);r="#"+h(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+g+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,g=this._a<1&&this._a>=0;return t||!g||"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 c(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(b,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var g in e)e.hasOwnProperty(g)&&(r[g]="a"===g?e[g]:R(e[g]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var g=c(e).toRgb(),n=c(t).toRgb(),a=r/100;return c({r:(n.r-g.r)*a+g.r,g:(n.g-g.g)*a+g.g,b:(n.b-g.b)*a+g.b,a:(n.a-g.a)*a+g.a})},c.readability=function(e,t){var r=c(e),g=c(t);return(n.max(r.getLuminance(),g.getLuminance())+.05)/(n.min(r.getLuminance(),g.getLuminance())+.05)},c.isReadable=function(e,t,r){var g,n,a=c.readability(e,t);switch(n=!1,(g=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+g.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7}return n},c.mostReadable=function(e,t,r){var g,n,a,A,C=null,i=0;n=(r=r||{}).includeFallbackColors,a=r.level,A=r.size;for(var o=0;o<t.length;o++)(g=c.readability(e,t[o]))>i&&(i=g,C=c(t[o]));return c.isReadable(e,C,{level:a,size:A})||!n?C:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var E=c.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"},N=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function S(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(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=o(t,I(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),n.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function B(e){return o(1,I(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function M(e){return n.round(255*parseFloat(e)).toString(16)}function D(e){return L(e)/255}var V=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+r),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 H(e){return!!V.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=c:void 0===(g=function(){return c}.call(t,r,t,e))||(e.exports=g)}(Math)},5:function(e,t){!function(){e.exports=this.wp.data}()},51:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},60:function(e,t){!function(){e.exports=this.wp.autop}()},61:function(e,t,r){var g=r(84),n=r(83);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var A=(e=e||{}).random||(e.rng||g)();if(A[6]=15&A[6]|64,A[8]=63&A[8]|128,t)for(var C=0;C<16;++C)t[a+C]=A[C];return t||n(A)}},7:function(e,t){!function(){e.exports=this.wp.compose}()},8:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var g=r(15);function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){Object(g.a)(e,t,r[t])})}return e}},83:function(e,t){for(var r=[],g=0;g<256;++g)r[g]=(g+256).toString(16).substr(1);e.exports=function(e,t){var g=t||0,n=r;return[n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]]].join("")}},84:function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var g=new Uint8Array(16);e.exports=function(){return r(g),g}}else{var n=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},9:function(e,t,r){"use strict";function g(e,t){for(var r=0;r<t.length;r++){var g=t[r];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function n(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}r.d(t,"a",function(){return n})}});
1
+ this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(g){if(t[g])return t[g].exports;var n=t[g]={i:g,l:!1,exports:{}};return e[g].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,g){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:g})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=214)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,r){"use strict";function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",function(){return g})},129:function(e,t){!function(){e.exports=this.wp.shortcode}()},15:function(e,t,r){"use strict";function g(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 g})},18:function(e,t,r){"use strict";var g=r(32);function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||Object(g.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(t,"a",function(){return n})},19:function(e,t,r){"use strict";function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var g in r)Object.prototype.hasOwnProperty.call(r,g)&&(e[g]=r[g])}return e}).apply(this,arguments)}r.d(t,"a",function(){return g})},192:function(e,t,r){var g;/*! showdown v 1.8.6 - 22-12-2017 */
2
+ (function(){function n(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 g in t)t.hasOwnProperty(g)&&(r[g]=t[g].defaultValue);return r}var a={},A={},C={},i=n(!0),o="vanilla",I={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:n(!0),allOn:function(){"use strict";var e=n(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function s(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",g={valid:!0,error:""};a.helper.isArray(e)||(e=[e]);for(var n=0;n<e.length;++n){var A=r+" sub-extension "+n+": ",C=e[n];if("object"!=typeof C)return g.valid=!1,g.error=A+"must be an object, but "+typeof C+" given",g;if(!a.helper.isString(C.type))return g.valid=!1,g.error=A+'property "type" must be a string, but '+typeof C.type+" given",g;var i=C.type=C.type.toLowerCase();if("language"===i&&(i=C.type="lang"),"html"===i&&(i=C.type="output"),"lang"!==i&&"output"!==i&&"listener"!==i)return g.valid=!1,g.error=A+"type "+i+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',g;if("listener"===i){if(a.helper.isUndefined(C.listeners))return g.valid=!1,g.error=A+'. Extensions of type "listener" must have a property called "listeners"',g}else if(a.helper.isUndefined(C.filter)&&a.helper.isUndefined(C.regex))return g.valid=!1,g.error=A+i+' extensions must define either a "regex" property or a "filter" method',g;if(C.listeners){if("object"!=typeof C.listeners)return g.valid=!1,g.error=A+'"listeners" property must be an object but '+typeof C.listeners+" given",g;for(var o in C.listeners)if(C.listeners.hasOwnProperty(o)&&"function"!=typeof C.listeners[o])return g.valid=!1,g.error=A+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+o+" must be a function but "+typeof C.listeners[o]+" given",g}if(C.filter){if("function"!=typeof C.filter)return g.valid=!1,g.error=A+'"filter" must be a function, but '+typeof C.filter+" given",g}else if(C.regex){if(a.helper.isString(C.regex)&&(C.regex=new RegExp(C.regex,"g")),!(C.regex instanceof RegExp))return g.valid=!1,g.error=A+'"regex" property must either be a string or a RegExp object, but '+typeof C.regex+" given",g;if(a.helper.isUndefined(C.replace))return g.valid=!1,g.error=A+'"regex" extensions must implement a replace string or function',g}}return g}function c(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}a.helper={},a.extensions={},a.setOption=function(e,t){"use strict";return i[e]=t,this},a.getOption=function(e){"use strict";return i[e]},a.getOptions=function(){"use strict";return i},a.resetOptions=function(){"use strict";i=n(!0)},a.setFlavor=function(e){"use strict";if(!I.hasOwnProperty(e))throw Error(e+" flavor was not found");a.resetOptions();var t=I[e];for(var r in o=e,t)t.hasOwnProperty(r)&&(i[r]=t[r])},a.getFlavor=function(){"use strict";return o},a.getFlavorOptions=function(e){"use strict";if(I.hasOwnProperty(e))return I[e]},a.getDefaultOptions=function(e){"use strict";return n(e)},a.subParser=function(e,t){"use strict";if(a.helper.isString(e)){if(void 0===t){if(A.hasOwnProperty(e))return A[e];throw Error("SubParser named "+e+" not registered!")}A[e]=t}},a.extension=function(e,t){"use strict";if(!a.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=a.helper.stdExtName(e),a.helper.isUndefined(t)){if(!C.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return C[e]}"function"==typeof t&&(t=t()),a.helper.isArray(t)||(t=[t]);var r=s(t,e);if(!r.valid)throw Error(r.error);C[e]=t},a.getAllExtensions=function(){"use strict";return C},a.removeExtension=function(e){"use strict";delete C[e]},a.resetExtensions=function(){"use strict";C={}},a.validateExtension=function(e){"use strict";var t=s(e,null);return!!t.valid||(console.warn(t.error),!1)},a.hasOwnProperty("helper")||(a.helper={}),a.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},a.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},a.helper.isArray=function(e){"use strict";return Array.isArray(e)},a.helper.isUndefined=function(e){"use strict";return void 0===e},a.helper.forEach=function(e,t){"use strict";if(a.helper.isUndefined(e))throw new Error("obj param is required");if(a.helper.isUndefined(t))throw new Error("callback param is required");if(!a.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(a.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 g in e)e.hasOwnProperty(g)&&t(e[g],g,e)}},a.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},a.helper.escapeCharactersCallback=c,a.helper.escapeCharacters=function(e,t,r){"use strict";var g="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(g="\\\\"+g);var n=new RegExp(g,"g");return e=e.replace(n,c)};var l=function(e,t,r,g){"use strict";var n,a,A,C,i,o=g||"",I=o.indexOf("g")>-1,s=new RegExp(t+"|"+r,"g"+o.replace(/g/g,"")),c=new RegExp(t,o.replace(/g/g,"")),l=[];do{for(n=0;A=s.exec(e);)if(c.test(A[0]))n++||(C=(a=s.lastIndex)-A[0].length);else if(n&&!--n){i=A.index+A[0].length;var u={left:{start:C,end:a},match:{start:a,end:A.index},right:{start:A.index,end:i},wholeMatch:{start:C,end:i}};if(l.push(u),!I)return l}}while(n&&(s.lastIndex=a));return l};a.helper.matchRecursiveRegExp=function(e,t,r,g){"use strict";for(var n=l(e,t,r,g),a=[],A=0;A<n.length;++A)a.push([e.slice(n[A].wholeMatch.start,n[A].wholeMatch.end),e.slice(n[A].match.start,n[A].match.end),e.slice(n[A].left.start,n[A].left.end),e.slice(n[A].right.start,n[A].right.end)]);return a},a.helper.replaceRecursiveRegExp=function(e,t,r,g,n){"use strict";if(!a.helper.isFunction(t)){var A=t;t=function(){return A}}var C=l(e,r,g,n),i=e,o=C.length;if(o>0){var I=[];0!==C[0].wholeMatch.start&&I.push(e.slice(0,C[0].wholeMatch.start));for(var s=0;s<o;++s)I.push(t(e.slice(C[s].wholeMatch.start,C[s].wholeMatch.end),e.slice(C[s].match.start,C[s].match.end),e.slice(C[s].left.start,C[s].left.end),e.slice(C[s].right.start,C[s].right.end))),s<o-1&&I.push(e.slice(C[s].wholeMatch.end,C[s+1].wholeMatch.start));C[o-1].wholeMatch.end<e.length&&I.push(e.slice(C[o-1].wholeMatch.end)),i=I.join("")}return i},a.helper.regexIndexOf=function(e,t,r){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var g=e.substring(r||0).search(t);return g>=0?g+(r||0):g},a.helper.splitAtIndex=function(e,t){"use strict";if(!a.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},a.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=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})},"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}}),a.helper.regexes={asteriskDashAndColon:/([*_:~])/g},a.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 width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAOwUlEQVR42uVbCVyO6RbPmn0sw9gZS0aZO4y5GTEUE2ObxjZjrbHEJVy3sWS5pkaWxjLEkCVDSbSgFLdESaWSLIVUSIi4kvb9f895vi/zbbR+yZ339/tbnu99n/ec/3Oe85xznufV0CjDBaAdwZqwnzCJ0FXjHV70/i8J5oQDhCFV8cJdq1atwqxZs+Ds7Iz4+HhqwgXCLELNKlK6G2Ej4e6lS5ewZcsWzJgxA+fOnWNZFqvzxT1v3boF/qcsBg0ahP3796OwsJAFWKYuIqjfPoS9cXFxWL58Obp06SInh5aWFr//jjoJWLlu3TolAorRuXNn7Ny5k4W4Spgj81xrgj5hLmED4RDhlNRygglBhADCSakpWxFMCHoETUJTwrYHDx7A1NT0je9nPHz4kN/fXl0EeI0aNeqtAjB69+4NPz8/FsSdlXvy5An8/f1hZ2cHCwsLGBsbY/To0cJy9PT0MGDAAAwePBhGRkbClNesWYODBw8iODgYOTk53M/d9evXo27duiW++8iRI3z/ZHURENOjR48ShSjGuHHjhHJ16tQp9TOKaNWqlZKpvw1MHluQOpSvk5eXh5YtW5ZbmarAvHnzmIBd6iCgXnZ2Npo1a1atCWAfwY5SHQTUKCoqQocOHao1AebmHBJgi7p8QBDP6epMwKFDvMDAWF0ELLS1ta3WBNy9e5cJMFIXAdvt7e2rNQHDhw9nAv5D+KKylV9y8+bNCi1pVYWZM2cyCfaVTcDdsqzH7xpBQRxcwqyylLdi5/K+KM/Q0dFhAqIri4Bn1T0AUgVpdmhYUeVHnD59+r1TnjF27Fgm4HhFCThoYmLyXhLQoEGD4mRKsyIE3OrZs+d7SQCDCyZcNSqv8k1evXoFTU3NUr+wzUcfYqRBf8yb/C2WzfoBFoTF08fBdMIITDD8CsP1+kL30x7Q6dYZH7drjfZ0f4fWLdG1Q1t81qMLBvTRwejB/TBl1BDMnzQGS2dMxKo5k7Fs9iSY/jAaBvR8Pc26pZaH02quLZSXgO6xsbGlelGnli1wZKcVMqN8gKcRwItrf+K/VB95doXaLwOJIVSzOU/+2Re5kV7IuuyJrIhTyLt6mmztLBBPNZLHoUAy9fE8UvJ8ikxfj8PwJPQErJeYlkquTZs2MQFLykuANgc/Jb2kn3Z3ZMaQUrmxwO1zyAo7gfRAJ6RfOIyMEFdkXj5F8BTK5lzxQv610yi8QcFatI8gQoCIK7x+hojwRnaE5H4JTiEj9Pjr/rJDqcZyn9b4ovu45LYbdWvXeqtsXMHiSlZ5CegRExPz1hd83PYj5POo0QinXyLFg48hnZTOiQ1Dzr1IZEaeQRoJn0HKZIR7lA2kfHrQUerXHTlx4ZL+rnjjFRGRGeYB5MUj2GnbW+XbuJFrp1heXgI6JCYmvvUFN1x3Aek3SWkapRAXMeJFGS8ge2Xfuog0toaykED3Mpk8+shOk+sv68Y50V9WuKewBKt5094o39atW/mRf5WXgIYZGRlo3Lixys4nj6A6Z1YMcqRCpwU4ouDlUyHk/QA/hNttR25Wlvh/ZthJUsil9ATQ/axkYbqEzDgfL0Ts/x35+aLyTES7IY36Q6w/+Q4/tP6wuUoZ9+7dy7ebVmQZjO/atavKzn32rAdeXkd6KCkXdAxZ13yFcLFnvPD73zrDVrsdTs6eggKSuSjjORHkUGoC0i86Iyc6QPQX7eqMnTodYNuzHU4vnosiaitMSUSavwMy6d3IvEUrzViVMrq5uXEX4ytCgL++vr5Sx7Vr1cIDX0dKkQJfj37Rs3jw1sBxkwlwGD4Ax3+ciN1faCHW76xQRFgAOcjSEMBkIe0x8nLzcez7kTg8Rh/uxuOxR/cTJISFSfq7eATpZCk8CAfXLVFJwIULXHnHoIoQYLtw4UKljps2aogXQcQuef/XAiMDKY+S4DhyEFwpDnCj9f+Afl8EbbWRTANaAdihlYoAMn8aZzyNuYODX/eD29TvRH/7v+qN8H27JdOAyWQfQQ74xPafVRLAPox9WUlK6hIGEgx4f00Kg2JcvHhRqeP6FIwknXemyen/2gLIIeC/CYk49M0AuE4xgtu0sThg8AUCN62TEuBdRgJo2Y+Kxh9D/k59SQiwH9QHobt3SAk4KSGA4oWjm1YqyVi8U6Soj4yOrHM/jTAyKVby/PnzIoNi8L+L4eXlpXoFcLcTgc1rAlISkJeXDxeK2A6P1hdTwI6mQPTJE+WbAlnJyE7PhNO3Q3BkrKGYWtxfHMkkmQLO0ilwA7+vXqAkn66urtBLUZ9iHfm30NBQaPAf165dA0d9vP2UlJSEp0+f4vHjx3j06JH4e+rUqUovcNmyGkiNEkLwklXsBG+ecMUOnfbYod1emG5uboFKJ8jPFVD0l0dBUHqoPDHpQeQEb0qc4FUHe3KAbYUT9JgzDbwOFL5MfN0fXkXhJ5PxSvLt2LFD1Ah5u4z1YJ14l4qnBe8v3rhxAzz4PAVG8nLHivIP0dHRiIiIQGRkpEgmrl69ClW1QBMjQ7LDW8hmU+RRI69ckJIkhL7jfRJBm62R+TJVYq6h0jhBRslsivqenT2MF/7OyI70VmkFhWnPJaS6OyPkt43IycqR9EfWlH7JDQUUTuNhCHR7Ke9YcRp/5coVoQPrcvnyZURFRYmBZlLS0kR8MVLD29sbnp6e8PHxQUBAgCgn8YO8E3z79m3BGKeVc+bMkXuBZt06SA12F/F5Go0gR4C8HBalPZMPXKL8lQKhPAqF+f97KXFyNx6HQsoPsshJ/kmAp2TKkJLISpXvjyxNhMYcDVLOEO+lPDi8B5mamipkZx1YF9YpJCRErAy+vr5CZ9ZdWABhDGEYYTBhAOFz3g4nfMJelNCbkNCpUye5F034mvxIPi1/FM+zQCw0k5B9O0iEr5kRXkqhMJOVf9NXIHjtT7hmaymSoBzKETimkAuFpaF1dkwI9RcmIYaXv3BJXoGCuyIgk5WpefPmKCgoYK46SmX/RKoL69Sfl0WuFEl1HlmWJXE5z6WmTZvKJxxmxkIQ3AuU5APk6NICj4hRT6eITTEEzqWk55HHPjz3cxJhNF5cxeNT9kj2cRDTQjEkzpDtjyyCic5l5fEA7uSHFEefR5pPsahrb2B9QkICFHeJ51HunkdLIg0VLY0BFKdLwllVHp4dHyvst3QuEiiju21vA/+VZkiluIKt4I3RIfWXQ4QgKUxkni47LJWUP3PmjHo2RxVI+CebmKJP6EiFDVurxUgmExe5PHlnPAkn8w4QqW62NCVmYopozid5H0CI9RKE21ggJeAYEeMnfitOnRn5XCfgeJ+VTosWQU8MOc6ZE0cqnUm4fv165SrPBVHCfMI4TowUfmOfsIcdJh92kBWmUcP6GDt8EDZbzIffH5tx3/ewSFjw5LKk0MEFEkZenDBjgew7Yiog5brkt+QrknvJmhIp4Apw/A1bVpjhG/0v5d7Vrl07bNu2TelUSqUoz8uI3Z49OEtBAy+TdP1CqKtwHzvQUxxgTJs2TeX5gdq1a0ObSmCjh+jB+NuvRamL1+3ls77HCip1rTSdJP5eNnMizKndjMLoH42G4bthX+FzHS3UVVEC69evH3799VeKMXJZrlWKclUGAZ5jxoxB02ZNsNlxH74aagBHZyex986HlVTczyGmI58h4CjL2toa48ePFxsUPEotWrQoc0GT0/C2bduiY8eO4ISMcxLeoOFYhS6qm2EpoZG65jmbv+dPSyRZlt5QfVjvtX19AOFNL+aDFNI4m0eFc9Ho5ORkaGtrl5kAVp6DMOk88efEjLe++ZhclZwHTJHEHbs4YOCmLj2645fdvwnTK42zoXtaEHwNDQ3LXdZm5yad3/2r+gQmDsRnIF5KAldX6zdsgG/GG8F44Vzcu3eP2y1K6GPr2rVrK1zbnz59Or/LoaoJCPZ4kCZsjw9GECL79OmDj9q2wb+320C3/5fgPQO6Vrzh+fpcDqxXr16lbHBwgkZXm6okYJr0ECMrX5vraiJ1lArEjrEnzWuOqemiYj9spGd2ee478XkiPsJakmJ83qA05/8qXNurJFLiunXrhpo1a6LxB02wyHIFZpovgOHwYfjZ0hK2lH5u2rwZ5suWYv5ycyUlmjRpgl69eimlrFy3kwuoyOvXr19frm3RokVMwPZ3TYC57E6xVq+e6KzVDSaL/oEp82Zh8IhhWLjGAp/p9oX5ujVKBNjY2MDV1VWuzd3dXaTesm2biUQuZ8u28elSPmKr8a4vdog8GnJpcT1N1KHUuBbt0jSgWuGbzJh3mVhh2TYHBwdxjFa2jVcZnvPVlQBOLXdZWlqW2ZFxNYYVlm07fPgwAgMD5dr4OD5HeHLFFxM+O42DGtXhIkFaMQlcUjIzM0P37t1Ro0YNpZPjPJcVK7SOjo5ybU5OTqIAo0gAh97VlgAZIj4l8Pn4WFaO64ocuXG6zJtDbMqySnC7IgF8uptLVrJtq1evFuWqak+A4j4i4TNpltiJ8LPiNFFFwNGjRyWFyfedAFUny/joekkEuLi4KK0CfykCeFnkiu1flgBeFtl3/D8SsMbKykpOifv37ysRcPz4cVHKUiSA8wwNdR9/VTMBSh9Y8S4Nf2qnSICiBbDzVCRg9uzZTMC+94kAv6FDh8opwRsVHPjItnl4eEDxHNLKlStFXV+2javQ/M1SpZe+1KA4L4G7WDG57fSm/OUbXiqG0ewAFYOeYcN4fwZhvLkp2y4tftrxcltdlf/w+fPn4qNGxTCYU2m6nrRu3VqunT/EoiuZvw6TTZHpyuNNmEaNGsndP3fu3OJAq1N1JOAHDmyKheVtNP4OkE2crULRAW7fvl20EyyLy24a8p+/7WISFixYIMLt4t82bNhQYjXqXREgPq3j74mlX3AmSL8E1eOPIBXnuVT5OsVZpuLnOMeOHeN7vifwiYhYzhC5IpwlOXj1QXWdBmy/XWU/X+UqMZfKBw4cKAobHPlJlZe9h6tOu+7cuSN2dg0MDMSSyZUpmXvaSD+crq/xvl0k9BTCRa7qEPq+5T4t6ffF52WVV+f1P6zyLG30bsU4AAAAAElFTkSuQmCC">',showdown:'<img width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAECtaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzA2NyA3OS4xNTc3NDcsIDIwMTUvMDMvMzAtMjM6NDA6NDIgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTctMTAtMjRUMTM6MzE6MzArMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8cGhvdG9zaG9wOkNvbG9yTW9kZT4zPC9waG90b3Nob3A6Q29sb3JNb2RlPgogICAgICAgICA8cGhvdG9zaG9wOklDQ1Byb2ZpbGU+c1JHQiBJRUM2MTk2Ni0yLjE8L3Bob3Rvc2hvcDpJQ0NQcm9maWxlPgogICAgICAgICA8cGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgICAgIDxyZGY6QmFnPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHBob3Rvc2hvcDpMYXllck5hbWU+UyAtPC9waG90b3Nob3A6TGF5ZXJOYW1lPgogICAgICAgICAgICAgICAgICA8cGhvdG9zaG9wOkxheWVyVGV4dD5TIC08L3Bob3Rvc2hvcDpMYXllclRleHQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpCYWc+CiAgICAgICAgIDwvcGhvdG9zaG9wOlRleHRMYXllcnM+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6N2NkMzQxNzctOWYyZi0yNDRiLWEyYjQtMzU1MzJkY2Y1MWJiPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD5hZG9iZTpkb2NpZDpwaG90b3Nob3A6M2E1YzgxYmYtYjhiNy0xMWU3LTk0NDktYTQ2MzdlZjJkNjMzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTUtMDEtMTVUMjE6MDE6MTlaPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE3LTEwLTI0VDEzOjMxOjMwKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjdjZDM0MTc3LTlmMmYtMjQ0Yi1hMmI0LTM1NTMyZGNmNTFiYjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNy0xMC0yNFQxMzozMTozMCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6ODZjNjBkMGQtOGY0Yy01ZTRlLWEwMjQtODI4ZWQyNTIwZDc3PC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjYwQzVBRTY1RjY5Q0U0MTE5NDVBODU1RTNCQ0E3RUVCPC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6NjBDNUFFNjVGNjlDRTQxMTk0NUE4NTVFM0JDQTdFRUI8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOlhSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WVJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDxleGlmOkNvbG9yU3BhY2U+MTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NjQ8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pse7bzcAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA1JJREFUeNrsm1+OmlAUhz+aeS9dwZggJn1AnRUMO6jpBgZXULuC2hWUWUGZBTSxKyiuoA4mfUBMnB04K5g+9DihRBHlyh/lJLwIXLgf99xzzu9etZeXFy7Z3nDh1gBoAFy4XeVtQNO0zNcapmUDfUBPnFoBfhQGq6IBaHmjwD4Ahmk5wAD4kKG5J8CNwsAFaHe6DvA9cc0wCgOv8gDka3vA9RHNPgo0D7hNnJtGYWBXxgV2dH4MfMnRRA+Y1WIO2NJ5F/ikoKm3tYsChmkNFHW+fmHQMC1dfHaXPQP3wM1yMdc2B/AOGALTWobBmI1Shu0UGCwX83XyRBQGawHntTtdG5gUNfxVu4CTNqNv6/wWGL7kCc+1AmCYVisl3I2ydD4GYZUCs7IjoLXrxHIx9w9tLAqDCfBwDrXAY457x+cAoCfuwRGjYFUnAGk+PsjR7s8Dn1VeLWCYVlpDw+VivjVHSHt+u9PVJbzGzZXQWTkAkz0V31fATUaEsjVJlQBs4FeGcteLgzgbAALBA+4y3voAeJL8nA0AHfClnM1qm1HhnYUidCSE+KzvSSJUTwAxCOMcpfETMFYpfRUKIAbCFhC3OTJJJwqDWS0BxED0JZ4Pjix1P2+E0loCSMBwyK4S/xc1ojBwag8gMU84cvTKGgmlAYhngu1O9xAXuVE5J1QCQCz3bwHuHvdQui5QKQAxEO6eEKpsFCgTRSXkvdoxSlBMCxhJJbgrrbZRtHCiShN0pRB6PeQ3ckBw2K0oKXMBVYJIP+Nvh9qulFivGoBt1lLQxowT2ykBXCfnhZIglgYACWmqXQv+baioBYCeiCQHm+QEg1O7RhF7hO4OhSAhcJKSFU7qBGADwZeqMMuXn6TUBw8qlaMrirNb4LdhWlP+SWD+cjFfxTpuS2GUpik+o3jFSEkqbJiWn0P0OMSGqlWiOu0TvD+FRHZKAE+oW+cfRmEwqlsesJJEJs8y91QqP+9UL6lqEtz2gpuNEY5sm9sIHln2DRa2aFKGJtiXkZEMiWtgVvRKUSUFkSKt2S7fAGgAXLYpmQQXf36MUChTZdUa2u8/rkvPA6Tz30r4eH3ybcBS5gJ6SaNXb+aABkA1AMxKenclBZLW/He4cYEGwEXb3wEASelexk6LIIIAAAAASUVORK5CYII=">'},a.Converter=function(e){"use strict";var t={},r=[],g=[],n={},A=o,c={parsed:{},raw:"",format:""};function l(e,t){if(t=t||null,a.helper.isString(e)){if(t=e=a.helper.stdExtName(e),a.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 a.Converter));a.helper.isArray(e)||(e=[e]);var n=s(e,t);if(!n.valid)throw Error(n.error);for(var A=0;A<e.length;++A)switch(e[A].type){case"lang":r.push(e[A]);break;case"output":g.push(e[A]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(a.extensions[e],e);if(a.helper.isUndefined(C[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=C[e]}"function"==typeof e&&(e=e()),a.helper.isArray(e)||(e=[e]);var n=s(e,t);if(!n.valid)throw Error(n.error);for(var A=0;A<e.length;++A){switch(e[A].type){case"lang":r.push(e[A]);break;case"output":g.push(e[A])}if(e[A].hasOwnProperty("listeners"))for(var i in e[A].listeners)e[A].listeners.hasOwnProperty(i)&&u(i,e[A].listeners[i])}}function u(e,t){if(!a.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");n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)}!function(){for(var r in e=e||{},i)i.hasOwnProperty(r)&&(t[r]=i[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var g in e)e.hasOwnProperty(g)&&(t[g]=e[g]);t.extensions&&a.helper.forEach(t.extensions,l)}(),this._dispatch=function(e,t,r,g){if(n.hasOwnProperty(e))for(var a=0;a<n[e].length;++a){var A=n[e][a](e,t,this,r,g);A&&void 0!==A&&(t=A)}return t},this.listen=function(e,t){return u(e,t),this},this.makeHtml=function(e){if(!e)return e;var n={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:g,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," "),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=a.subParser("detab")(e,t,n)).replace(/^[ \t]+$/gm,""),a.helper.forEach(r,function(r){e=a.subParser("runExtension")(r,e,t,n)}),e=a.subParser("metadata")(e,t,n),e=a.subParser("hashPreCodeTags")(e,t,n),e=a.subParser("githubCodeBlocks")(e,t,n),e=a.subParser("hashHTMLBlocks")(e,t,n),e=a.subParser("hashCodeTags")(e,t,n),e=a.subParser("stripLinkDefinitions")(e,t,n),e=a.subParser("blockGamut")(e,t,n),e=a.subParser("unhashHTMLSpans")(e,t,n),e=(e=(e=a.subParser("unescapeSpecialChars")(e,t,n)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=a.subParser("completeHTMLDocument")(e,t,n),a.helper.forEach(g,function(r){e=a.subParser("runExtension")(r,e,t,n)}),c=n.metadata,e},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){l(e,t=t||null)},this.useExtension=function(e){l(e)},this.setFlavor=function(e){if(!I.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=I[e];for(var g in A=e,r)r.hasOwnProperty(g)&&(t[g]=r[g])},this.getFlavor=function(){return A},this.removeExtension=function(e){a.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],A=0;A<r.length;++A)r[A]===n&&r[A].splice(A,1);for(;0<g.length;++A)g[0]===n&&g[0].splice(A,1)}},this.getAllExtensions=function(){return{language:r,output:g}},this.getMetadata=function(e){return e?c.raw:c.parsed},this.getMetadataFormat=function(){return c.format},this._setMetadataPair=function(e,t){c.parsed[e]=t},this._setMetadataFormat=function(e){c.format=e},this._setMetadataRaw=function(e){c.raw=e}},a.subParser("anchors",function(e,t,r){"use strict";var g=function(e,g,n,A,C,i,o){if(a.helper.isUndefined(o)&&(o=""),n=n.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)A="";else if(!A){if(n||(n=g.toLowerCase().replace(/ ?\n/g," ")),A="#"+n,a.helper.isUndefined(r.gUrls[n]))return e;A=r.gUrls[n],a.helper.isUndefined(r.gTitles[n])||(o=r.gTitles[n])}var I='<a href="'+(A=A.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"';return""!==o&&null!==o&&(I+=' title="'+(o=(o=o.replace(/"/g,"&quot;")).replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(A)&&(I+=' target="¨E95Eblank"'),I+=">"+g+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,g)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,g)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,g)).replace(/\[([^\[\]]+)]()()()()()/g,g),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,r,g,n,A){if("\\"===g)return r+n;if(!a.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var C=t.ghMentionsLink.replace(/\{u}/g,A),i="";return t.openLinksInNewWindow&&(i=' target="¨E95Eblank"'),r+'<a href="'+C+'"'+i+">"+n+"</a>"})),e=r.converter._dispatch("anchors.after",e,t,r)});var u=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,h=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,f=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,p=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){"use strict";return function(t,r,g,n,A,C,i){var o=g=g.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback),I="",s="",c=r||"",l=i||"";return/^www\./i.test(g)&&(g=g.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&C&&(I=C),e.openLinksInNewWindow&&(s=' target="¨E95Eblank"'),c+'<a href="'+g+'"'+s+">"+o+"</a>"+I+l}},b=function(e,t){"use strict";return function(r,g,n){var A="mailto:";return g=g||"",n=a.subParser("unescapeSpecialChars")(n,e,t),e.encodeEmails?(A=a.helper.encodeEmailAddress(A+n),n=a.helper.encodeEmailAddress(n)):A+=n,g+'<a href="'+A+'">'+n+"</a>"}};a.subParser("autoLinks",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(h,m(t))).replace(p,b(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),a.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(d,m(t)):e.replace(u,m(t))).replace(f,b(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),a.subParser("blockGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=a.subParser("blockQuotes")(e,t,r),e=a.subParser("headers")(e,t,r),e=a.subParser("horizontalRule")(e,t,r),e=a.subParser("lists")(e,t,r),e=a.subParser("codeBlocks")(e,t,r),e=a.subParser("tables")(e,t,r),e=a.subParser("hashHTMLBlocks")(e,t,r),e=a.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),a.subParser("blockQuotes",function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var g=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(g=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(g,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=a.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=a.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=(r=r.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),a.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),a.subParser("codeBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,g,n){var A=g,C=n,i="\n";return A=a.subParser("outdent")(A,t,r),A=a.subParser("encodeCode")(A,t,r),A=(A=(A=a.subParser("detab")(A,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(i=""),A="<pre><code>"+A+i+"</code></pre>",a.subParser("hashBlock")(A,t,r)+C})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),a.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,g,n,A){var C=A;return C=(C=C.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),C=g+"<code>"+(C=a.subParser("encodeCode")(C,t,r))+"</code>",C=a.subParser("hashHTMLSpans")(C,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),a.subParser("completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var g="html",n="<!DOCTYPE HTML>\n",a="",A='<meta charset="utf-8">\n',C="",i="";for(var o in void 0!==r.metadata.parsed.doctype&&(n="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(g=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==g||(A='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(o))switch(o.toLowerCase()){case"doctype":break;case"title":a="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":A="html"===g||"html5"===g?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":C=' lang="'+r.metadata.parsed[o]+'"',i+='<meta name="'+o+'" content="'+r.metadata.parsed[o]+'">\n';break;default:i+='<meta name="'+o+'" content="'+r.metadata.parsed[o]+'">\n'}return e=n+"<html"+C+">\n<head>\n"+a+A+i+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),a.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,g=4-r.length%4,n=0;n<g;n++)r+=" ";return r})).replace(/¨A/g," ")).replace(/¨B/g,""),e=r.converter._dispatch("detab.after",e,t,r)}),a.subParser("ellipsis",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),e=r.converter._dispatch("ellipsis.after",e,t,r)}),a.subParser("emoji",function(e,t,r){"use strict";if(!t.emoji)return e;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,function(e,t){return a.helper.emojis.hasOwnProperty(t)?a.helper.emojis[t]:e}),e=r.converter._dispatch("emoji.after",e,t,r)}),a.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;"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),a.subParser("encodeBackslashEscapes",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,a.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,a.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),a.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,a.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),a.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,a.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,a.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),a.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)(```+|~~~+)([^\s`~]*)\n([\s\S]*?)\n\1/g,function(e,g,n,A){var C=t.omitExtraWLInCodeBlocks?"":"\n";return A=a.subParser("encodeCode")(A,t,r),A=(A=(A=a.subParser("detab")(A,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),A="<pre><code"+(n?' class="'+n+" language-"+n+'"':"")+">"+A+C+"</code></pre>",A=a.subParser("hashBlock")(A,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:A})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),a.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",e=r.converter._dispatch("hashBlock.after",e,t,r)}),a.subParser("hashCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=a.helper.replaceRecursiveRegExp(e,function(e,g,n,A){var C=n+a.subParser("encodeCode")(g,t,r)+A;return"¨C"+(r.gHtmlSpans.push(C)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),a.subParser("hashElement",function(e,t,r){"use strict";return function(e,t){var g=t;return g=(g=(g=g.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),g="\n\n¨K"+(r.gHtmlBlocks.push(g)-1)+"K\n\n"}}),a.subParser("hashHTMLBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var g=["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"],n=function(e,t,g,n){var a=e;return-1!==g.search(/\bmarkdown\b/)&&(a=g+r.converter.makeHtml(t)+n),"\n\n¨K"+(r.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"&lt;"+t+"&gt;"}));for(var A=0;A<g.length;++A)for(var C,i=new RegExp("^ {0,3}(<"+g[A]+"\\b[^>]*>)","im"),o="<"+g[A]+"\\b[^>]*>",I="</"+g[A]+">";-1!==(C=a.helper.regexIndexOf(e,i));){var s=a.helper.splitAtIndex(e,C),c=a.helper.replaceRecursiveRegExp(s[1],n,o,I,"im");if(c===s[1])break;e=s[0].concat(c)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,a.subParser("hashElement")(e,t,r)),e=(e=a.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,a.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),a.subParser("hashHTMLSpans",function(e,t,r){"use strict";function g(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 g(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return g(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return g(e)})).replace(/<[^>]+?>/gi,function(e){return g(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),a.subParser("unhashHTMLSpans",function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var g=0;g<r.gHtmlSpans.length;++g){for(var n=r.gHtmlSpans[g],a=0;/¨C(\d+)C/.test(n);){var A=RegExp.$1;if(n=n.replace("¨C"+A+"C",r.gHtmlSpans[A]),10===a){console.error("maximum nesting of 10 spans reached!!!");break}++a}e=e.replace("¨C"+g+"C",n)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)}),a.subParser("hashPreCodeTags",function(e,t,r){"use strict";e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=a.helper.replaceRecursiveRegExp(e,function(e,g,n,A){var C=n+a.subParser("encodeCode")(g,t,r)+A;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:C})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),a.subParser("headers",function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var g=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),n=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,A=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(n,function(e,n){var A=a.subParser("spanGamut")(n,t,r),C=t.noHeaderId?"":' id="'+i(n)+'"',o="<h"+g+C+">"+A+"</h"+g+">";return a.subParser("hashBlock")(o,t,r)})).replace(A,function(e,n){var A=a.subParser("spanGamut")(n,t,r),C=t.noHeaderId?"":' id="'+i(n)+'"',o=g+1,I="<h"+o+C+">"+A+"</h"+o+">";return a.subParser("hashBlock")(I,t,r)});var C=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function i(e){var g,n;if(t.customizedHeaderId){var A=e.match(/\{([^{]+?)}\s*$/);A&&A[1]&&(e=A[1])}return g=e,n=a.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(g=n+g),g=t.ghCompatibleHeaderId?g.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?g.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():g.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(g=n+g),r.hashLinkCounts[g]?g=g+"-"+r.hashLinkCounts[g]++:r.hashLinkCounts[g]=1,g}return e=e.replace(C,function(e,n,A){var C=A;t.customizedHeaderId&&(C=A.replace(/\s?\{([^{]+?)}\s*$/,""));var o=a.subParser("spanGamut")(C,t,r),I=t.noHeaderId?"":' id="'+i(A)+'"',s=g-1+n.length,c="<h"+s+I+">"+o+"</h"+s+">";return a.subParser("hashBlock")(c,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),a.subParser("horizontalRule",function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var g=a.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,g)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,g)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,g),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),a.subParser("images",function(e,t,r){"use strict";function g(e,t,g,n,A,C,i,o){var I=r.gUrls,s=r.gTitles,c=r.gDimensions;if(g=g.toLowerCase(),o||(o=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)n="";else if(""===n||null===n){if(""!==g&&null!==g||(g=t.toLowerCase().replace(/ ?\n/g," ")),n="#"+g,a.helper.isUndefined(I[g]))return e;n=I[g],a.helper.isUndefined(s[g])||(o=s[g]),a.helper.isUndefined(c[g])||(A=c[g].width,C=c[g].height)}t=t.replace(/"/g,"&quot;").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback);var l='<img src="'+(n=n.replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'" alt="'+t+'"';return o&&(l+=' title="'+(o=o.replace(/"/g,"&quot;").replace(a.helper.regexes.asteriskDashAndColon,a.helper.escapeCharactersCallback))+'"'),A&&C&&(l+=' width="'+(A="*"===A?"auto":A)+'"',l+=' height="'+(C="*"===C?"auto":C)+'"'),l+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,g)).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,n,a,A,C,i){return g(e,t,r,n=n.replace(/\s/g,""),a,A,0,i)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,g)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,g)).replace(/!\[([^\[\]]+)]()()()()()/g,g),e=r.converter._dispatch("images.after",e,t,r)}),a.subParser("italicsAndBold",function(e,t,r){"use strict";function g(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 g(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return g(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return g(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?g(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?g(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?g(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]+?)\*\*\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]+?)\*\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]+?)\*\B(?!\*)/g,function(e,t,r){return g(r,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?g(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?g(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?g(t,"<em>","</em>"):e}),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),a.subParser("lists",function(e,t,r){"use strict";function g(e,g){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,A=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(n=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(n,function(e,g,n,C,i,o,I){I=I&&""!==I.trim();var s=a.subParser("outdent")(i,t,r),c="";return o&&t.tasklists&&(c=' class="task-list-item" style="list-style-type: none;"',s=s.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 I&&(e+=" checked"),e+=">"})),s=s.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),g||s.search(/\n{2,}/)>-1?(s=a.subParser("githubCodeBlocks")(s,t,r),s=a.subParser("blockGamut")(s,t,r)):(s=(s=a.subParser("lists")(s,t,r)).replace(/\n$/,""),s=(s=a.subParser("hashHTMLBlocks")(s,t,r)).replace(/\n\n+/g,"\n\n"),s=A?a.subParser("paragraphs")(s,t,r):a.subParser("spanGamut")(s,t,r)),s="<li"+c+">"+(s=s.replace("¨A",""))+"</li>\n"})).replace(/¨0/g,""),r.gListLevel--,g&&(e=e.replace(/\s+$/,"")),e}function n(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function A(e,r,a){var A=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,C=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,i="ul"===r?A:C,o="";if(-1!==e.search(i))!function t(I){var s=I.search(i),c=n(e,r);-1!==s?(o+="\n\n<"+r+c+">\n"+g(I.slice(0,s),!!a)+"</"+r+">\n",i="ul"===(r="ul"===r?"ol":"ul")?A:C,t(I.slice(s))):o+="\n\n<"+r+c+">\n"+g(I,!!a)+"</"+r+">\n"}(e);else{var I=n(e,r);o="\n\n<"+r+I+">\n"+g(e,!!a)+"</"+r+">\n"}return o}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 A(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,g){return A(r,g.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),a.subParser("metadata",function(e,t,r){"use strict";if(!t.metadata)return e;function g(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,g){return r.metadata.parsed[t]=g,""})}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 g(r),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,n){return t&&(r.metadata.format=t),g(n),"¨M"})).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)}),a.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,""),e=r.converter._dispatch("outdent.after",e,t,r)}),a.subParser("paragraphs",function(e,t,r){"use strict";for(var g=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),n=[],A=g.length,C=0;C<A;C++){var i=g[C];i.search(/¨(K|G)(\d+)\1/g)>=0?n.push(i):i.search(/\S/)>=0&&(i=(i=a.subParser("spanGamut")(i,t,r)).replace(/^([ \t]*)/g,"<p>"),i+="</p>",n.push(i))}for(A=n.length,C=0;C<A;C++){for(var o="",I=n[C],s=!1;/¨(K|G)(\d+)\1/.test(I);){var c=RegExp.$1,l=RegExp.$2;o=(o="K"===c?r.gHtmlBlocks[l]:s?a.subParser("encodeCode")(r.ghCodeBlocks[l].text,t,r):r.ghCodeBlocks[l].codeblock).replace(/\$/g,"$$$$"),I=I.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,o),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(I)&&(s=!0)}n[C]=I}return e=(e=(e=n.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),a.subParser("runExtension",function(e,t,r,g){"use strict";if(e.filter)t=e.filter(t,g.converter,r);else if(e.regex){var n=e.regex;n instanceof RegExp||(n=new RegExp(n,"g")),t=t.replace(n,e.replace)}return t}),a.subParser("spanGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=a.subParser("codeSpans")(e,t,r),e=a.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=a.subParser("encodeBackslashEscapes")(e,t,r),e=a.subParser("images")(e,t,r),e=a.subParser("anchors")(e,t,r),e=a.subParser("autoLinks")(e,t,r),e=a.subParser("simplifiedAutoLinks")(e,t,r),e=a.subParser("emoji")(e,t,r),e=a.subParser("underline")(e,t,r),e=a.subParser("italicsAndBold")(e,t,r),e=a.subParser("strikethrough")(e,t,r),e=a.subParser("ellipsis")(e,t,r),e=a.subParser("hashHTMLSpans")(e,t,r),e=a.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"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),a.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,g){return function(e){return t.simplifiedAutoLink&&(e=a.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(g)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),a.subParser("stripLinkDefinitions",function(e,t,r){"use strict";var g=function(e,g,n,A,C,i,o){return g=g.toLowerCase(),n.match(/^data:.+?\/.+?;base64,/)?r.gUrls[g]=n.replace(/\s/g,""):r.gUrls[g]=a.subParser("encodeAmpsAndAngles")(n,t,r),i?i+o:(o&&(r.gTitles[g]=o.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&A&&C&&(r.gDimensions[g]={width:A,height:C}),"")};return e=(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,g)).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,g)).replace(/¨0/,"")}),a.subParser("tables",function(e,t,r){"use strict";if(!t.tables)return e;function g(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function n(e,g){var n="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(n=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+n+g+">"+(e=a.subParser("spanGamut")(e,t,r))+"</th>\n"}function A(e,g){return"<td"+g+">"+a.subParser("spanGamut")(e,t,r)+"</td>\n"}function C(e){var C,i=e.split("\n");for(C=0;C<i.length;++C)/^ {0,3}\|/.test(i[C])&&(i[C]=i[C].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[C])&&(i[C]=i[C].replace(/\|[ \t]*$/,"")),i[C]=a.subParser("codeSpans")(i[C],t,r);var o=i[0].split("|").map(function(e){return e.trim()}),I=i[1].split("|").map(function(e){return e.trim()}),s=[],c=[],l=[],u=[];for(i.shift(),i.shift(),C=0;C<i.length;++C)""!==i[C].trim()&&s.push(i[C].split("|").map(function(e){return e.trim()}));if(o.length<I.length)return e;for(C=0;C<I.length;++C)l.push(g(I[C]));for(C=0;C<o.length;++C)a.helper.isUndefined(l[C])&&(l[C]=""),c.push(n(o[C],l[C]));for(C=0;C<s.length;++C){for(var d=[],h=0;h<c.length;++h)a.helper.isUndefined(s[C][h]),d.push(A(s[C][h],l[h]));u.push(d)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",g=e.length,n=0;n<g;++n)r+=e[n];for(r+="</tr>\n</thead>\n<tbody>\n",n=0;n<t.length;++n){r+="<tr>\n";for(var a=0;a<g;++a)r+=t[n][a];r+="</tr>\n"}return r+="</tbody>\n</table>\n"}(c,u)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,a.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,C)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,C),e=r.converter._dispatch("tables.after",e,t,r)}),a.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.replace(/\b_?__(\S[\s\S]*)___?\b/g,function(e,t){return"<u>"+t+"</u>"}):e.replace(/_?__(\S[\s\S]*?)___?/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/(_)/g,a.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),a.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)}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)});void 0===(g=function(){"use strict";return a}.call(t,r,t,e))||(e.exports=g)}).call(this)},193:function(e,t){!function(){e.exports=this.wp.blockSerializationDefaultParser}()},2:function(e,t){!function(){e.exports=this.lodash}()},214:function(e,t,r){"use strict";r.r(t);var g={};r.d(g,"getBlockTypes",function(){return p}),r.d(g,"getBlockType",function(){return m}),r.d(g,"getBlockStyles",function(){return b}),r.d(g,"getCategories",function(){return _}),r.d(g,"getDefaultBlockName",function(){return v}),r.d(g,"getFreeformFallbackBlockName",function(){return w}),r.d(g,"getUnregisteredFallbackBlockName",function(){return k}),r.d(g,"getChildBlockNames",function(){return y}),r.d(g,"getBlockSupport",function(){return j}),r.d(g,"hasBlockSupport",function(){return O}),r.d(g,"hasChildBlocks",function(){return x}),r.d(g,"hasChildBlocksWithInserterSupport",function(){return T});var n={};r.d(n,"addBlockTypes",function(){return E}),r.d(n,"removeBlockTypes",function(){return N}),r.d(n,"addBlockStyles",function(){return S}),r.d(n,"removeBlockStyles",function(){return P}),r.d(n,"setDefaultBlockName",function(){return B}),r.d(n,"setFreeformFallbackBlockName",function(){return L}),r.d(n,"setUnregisteredFallbackBlockName",function(){return z}),r.d(n,"setCategories",function(){return M}),r.d(n,"updateCategory",function(){return R});var a=r(5),A=r(15),C=r(18),i=r(8),o=r(2),I=r(1),s=[{slug:"common",title:Object(I.__)("Common Blocks")},{slug:"formatting",title:Object(I.__)("Formatting")},{slug:"layout",title:Object(I.__)("Layout Elements")},{slug:"widgets",title:Object(I.__)("Widgets")},{slug:"embed",title:Object(I.__)("Embeds")},{slug:"reusable",title:Object(I.__)("Reusable Blocks")}];function c(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 l=c("SET_DEFAULT_BLOCK_NAME"),u=c("SET_FREEFORM_FALLBACK_BLOCK_NAME"),d=c("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var h=Object(a.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 Object(i.a)({},e,Object(o.keyBy)(Object(o.map)(t.blockTypes,function(e){return Object(o.omit)(e,"styles ")}),"name"));case"REMOVE_BLOCK_TYPES":return Object(o.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 Object(i.a)({},e,Object(o.mapValues)(Object(o.keyBy)(t.blockTypes,"name"),function(t){return Object(o.uniqBy)([].concat(Object(C.a)(Object(o.get)(t,["styles"],[])),Object(C.a)(Object(o.get)(e,[t.name],[]))),function(e){return e.name})}));case"ADD_BLOCK_STYLES":return Object(i.a)({},e,Object(A.a)({},t.blockName,Object(o.uniqBy)([].concat(Object(C.a)(Object(o.get)(e,[t.blockName],[])),Object(C.a)(t.styles)),function(e){return e.name})));case"REMOVE_BLOCK_STYLES":return Object(i.a)({},e,Object(A.a)({},t.blockName,Object(o.filter)(Object(o.get)(e,[t.blockName],[]),function(e){return-1===t.styleNames.indexOf(e.name)})))}return e},defaultBlockName:l,freeformFallbackBlockName:u,unregisteredFallbackBlockName:d,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(o.isEmpty)(t.category))return e;if(Object(o.find)(e,["slug",t.slug]))return Object(o.map)(e,function(e){return e.slug===t.slug?Object(i.a)({},e,t.category):e})}return e}}),f=r(28),p=Object(f.a)(function(e){return Object.values(e.blockTypes)},function(e){return[e.blockTypes]});function m(e,t){return e.blockTypes[t]}function b(e,t){return e.blockStyles[t]}function _(e){return e.categories}function v(e){return e.defaultBlockName}function w(e){return e.freeformFallbackBlockName}function k(e){return e.unregisteredFallbackBlockName}var y=Object(f.a)(function(e,t){return Object(o.map)(Object(o.filter)(e.blockTypes,function(e){return Object(o.includes)(e.parent,t)}),function(e){return e.name})},function(e){return[e.blockTypes]}),j=function(e,t,r,g){var n="string"==typeof t?m(e,t):t;return Object(o.get)(n,["supports",r],g)};function O(e,t,r,g){return!!j(e,t,r,g)}var x=function(e,t){return y(e,t).length>0},T=function(e,t){return Object(o.some)(y(e,t),function(t){return O(e,t,"inserter",!0)})};function E(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(o.castArray)(e)}}function N(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(o.castArray)(e)}}function S(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(o.castArray)(t),blockName:e}}function P(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(o.castArray)(t),blockName:e}}function B(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function L(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function z(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function M(e){return{type:"SET_CATEGORIES",categories:e}}function R(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Object(a.registerStore)("core/blocks",{reducer:h,selectors:g,actions:n});var D=r(62),V=r.n(D),H=r(23),F=r(46),Z=r.n(F),G=r(0),U=["#191e23","#f8f9f9"];function Y(e){var t=ae();if(e.name!==t)return!1;Y.block&&Y.block.name===t||(Y.block=he(t));var r=Y.block,g=Ae(t);return Object(o.every)(g.attributes,function(t,g){return r.attributes[g]===e.attributes[g]})}function W(e){return!!e&&(Object(o.isString)(e)||Object(G.isValidElement)(e)||Object(o.isFunction)(e)||e instanceof G.Component)}function K(e){if(e||(e="block-default"),W(e))return{src:e};if(Object(o.has)(e,["background"])){var t=Z()(e.background);return Object(i.a)({},e,{foreground:e.foreground?e.foreground:Object(F.mostReadable)(t,U,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function X(e){return Object(o.isString)(e)?Ae(e):e}var Q={};function J(e){Q=e}function q(e,t){if(t=Object(i.a)({name:e},Object(o.get)(Q,e),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(a.select)("core/blocks").getBlockType(e))console.error('Block "'+e+'" is already registered.');else if((t=Object(H.applyFilters)("blocks.registerBlockType",t,e))&&Object(o.isFunction)(t.save))if("edit"in t&&!Object(o.isFunction)(t.edit))console.error('The "edit" property must be a valid function.');else if("category"in t)if("category"in t&&!Object(o.some)(Object(a.select)("core/blocks").getCategories(),{slug:t.category}))console.error('The block "'+e+'" must have a registered category.');else if("title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=K(t.icon),W(t.icon.src))return Object(a.dispatch)("core/blocks").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://wordpress.org/gutenberg/handbook/designers-developers/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 block "'+e+'" must have a category.');else console.error('The "save" property must be specified and must be a valid function.');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 $(e){var t=Object(a.select)("core/blocks").getBlockType(e);if(t)return Object(a.dispatch)("core/blocks").removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function ee(e){Object(a.dispatch)("core/blocks").setFreeformFallbackBlockName(e)}function te(){return Object(a.select)("core/blocks").getFreeformFallbackBlockName()}function re(e){Object(a.dispatch)("core/blocks").setUnregisteredFallbackBlockName(e)}function ge(){return Object(a.select)("core/blocks").getUnregisteredFallbackBlockName()}function ne(e){Object(a.dispatch)("core/blocks").setDefaultBlockName(e)}function ae(){return Object(a.select)("core/blocks").getDefaultBlockName()}function Ae(e){return Object(a.select)("core/blocks").getBlockType(e)}function Ce(){return Object(a.select)("core/blocks").getBlockTypes()}function ie(e,t,r){return Object(a.select)("core/blocks").getBlockSupport(e,t,r)}function oe(e,t,r){return Object(a.select)("core/blocks").hasBlockSupport(e,t,r)}function Ie(e){return"core/block"===e.name}var se=function(e){return Object(a.select)("core/blocks").getChildBlockNames(e)},ce=function(e){return Object(a.select)("core/blocks").hasChildBlocks(e)},le=function(e){return Object(a.select)("core/blocks").hasChildBlocksWithInserterSupport(e)},ue=function(e,t){Object(a.dispatch)("core/blocks").addBlockStyles(e,t)},de=function(e,t){Object(a.dispatch)("core/blocks").removeBlockStyles(e,t)};function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],g=Ae(e),n=Object(o.reduce)(g.attributes,function(e,r,g){var n=t[g];return void 0!==n?e[g]=n:r.hasOwnProperty("default")&&(e[g]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[g]?e[g]=[e[g]]:Array.isArray(e[g])||(e[g]=[])),e},{});return{clientId:V()(),name:e,isValid:!0,attributes:n,innerBlocks:r}}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,g=V()();return Object(i.a)({},e,{clientId:g,attributes:Object(i.a)({},e.attributes,t),innerBlocks:r||e.innerBlocks.map(function(e){return fe(e)})})}var pe=function(e,t,r){if(Object(o.isEmpty)(r))return!1;if(!(!(r.length>1)||e.isMultiBlock))return!1;if(!("block"===e.type))return!1;var g=Object(o.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(g.name)))return!1;if(Object(o.isFunction)(e.isMatch)){var n=e.isMultiBlock?r.map(function(e){return e.attributes}):g.attributes;if(!e.isMatch(n))return!1}return!0},me=function(e){if(Object(o.isEmpty)(e))return[];var t=Ce();return Object(o.filter)(t,function(t){return!!ve(we("from",t.name),function(t){return pe(t,"from",e)})})},be=function(e){if(Object(o.isEmpty)(e))return[];var t=we("to",Ae(Object(o.first)(e).name).name),r=Object(o.filter)(t,function(t){return pe(t,"to",e)});return Object(o.flatMap)(r,function(e){return e.blocks}).map(function(e){return Ae(e)})};function _e(e){if(Object(o.isEmpty)(e))return[];var t=Object(o.first)(e);if(e.length>1&&!Object(o.every)(e,{name:t.name}))return[];var r=me(e),g=be(e);return Object(o.uniq)([].concat(Object(C.a)(r),Object(C.a)(g)))}function ve(e,t){for(var r=Object(H.createHooks)(),g=function(g){var n=e[g];t(n)&&r.addFilter("transform","transform/"+g.toString(),function(e){return e||n},n.priority)},n=0;n<e.length;n++)g(n);return r.applyFilters("transform",null)}function we(e,t){if(void 0===t)return Object(o.flatMap)(Ce(),function(t){var r=t.name;return we(e,r)});var r=X(t)||{},g=r.name,n=r.transforms;return n&&Array.isArray(n[e])?n[e].map(function(e){return Object(i.a)({},e,{blockName:g})}):[]}function ke(e,t){var r=Object(o.castArray)(e),g=r.length>1,n=r[0],a=n.name;if(g&&!Object(o.every)(r,function(e){return e.name===a}))return null;var A,C=we("from",t),I=ve(we("to",a),function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!g||e.isMultiBlock)})||ve(C,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(a)&&(!g||e.isMultiBlock)});if(!I)return null;if(A=I.isMultiBlock?I.transform(r.map(function(e){return e.attributes}),r.map(function(e){return e.innerBlocks})):I.transform(n.attributes,n.innerBlocks),!Object(o.isObjectLike)(A))return null;if((A=Object(o.castArray)(A)).some(function(e){return!Ae(e.name)}))return null;var s=Object(o.findIndex)(A,function(e){return e.name===t});return s<0?null:A.map(function(t,r){var g=Object(i.a)({},t,{clientId:r===s?n.clientId:t.clientId});return Object(H.applyFilters)("blocks.switchToBlockType.transformedBlock",g,e)})}var ye=r(25);var je=function(){var e;return function(){return e||(e=document.implementation.createHTMLDocument("")),e}}();function Oe(e,t){if(t){if("string"==typeof e){var r=je();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,g){return r[g]=Oe(e,t[g]),r},{})}}function xe(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var g=r;if(e&&(g=r.querySelector(e)),g)return function(e,t){for(var r,g=t.split(".");r=g.shift();){if(!(r in e))return;e=e[r]}return e}(g,t)}}var Te=r(61),Ee=r(193),Ne=r(34),Se=r(32),Pe=r(33);var Be=r(10),Le=r(9),ze=/[\t\n\f ]/,Me=/[A-Za-z]/,Re=/\r\n?/g;function De(e){return ze.test(e)}function Ve(e){return Me.test(e)}var He=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="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.state="markupDeclaration":"/"===e?this.state="endTagOpen":Ve(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();De(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();De(e)?this.consume():"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();De(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="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();De(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();De(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();De(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();De(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();Ve(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},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(Re,"\n")}(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="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 g=t.length;g;)this.consume(),g--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),Fe=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new He(this,e)}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.addLocInfo=function(){this.options.loc&&(this.token.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.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},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]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}(),Ze=r(53),Ge=r(40),Ue=r.n(Ge),Ye=r(19),We=r(7),Ke=Object(G.createContext)(function(){}),Xe=Ke.Consumer,Qe=Ke.Provider,Je=Object(We.createHigherOrderComponent)(function(e){return function(t){return Object(G.createElement)(Xe,null,function(r){return Object(G.createElement)(e,Object(Ye.a)({},t,{BlockContent:r}))})}},"withBlockContentContext"),qe=function(e){var t=e.children,r=e.innerBlocks;return Object(G.createElement)(Qe,{value:function(){var e=At(r);return Object(G.createElement)(G.RawHTML,null,e)}},t)};function $e(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(H.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function et(e){var t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(H.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}function tt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],g=X(e),n=g.save;if(n.prototype instanceof G.Component){var a=new n({attributes:t});n=a.render.bind(a)}var A=n({attributes:t,innerBlocks:r});if(Object(o.isObject)(A)&&Object(H.hasFilter)("blocks.getSaveContent.extraProps")){var C=Object(H.applyFilters)("blocks.getSaveContent.extraProps",Object(i.a)({},A.props),g,t);Ue()(C,A.props)||(A=Object(G.cloneElement)(A,C))}return A=Object(H.applyFilters)("blocks.getSaveElement",A,g,t),Object(G.createElement)(qe,{innerBlocks:r},A)}function rt(e,t,r){var g=X(e);return Object(G.renderToString)(tt(g,t,r))}function gt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=rt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function nt(e,t,r){var g=Object(o.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)+" ",n=Object(o.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(n," ").concat(g,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(n," --\x3e"):"\x3c!-- wp:".concat(n," ").concat(g,"/--\x3e")}function at(e){var t=e.name,r=gt(e);switch(t){case te():case ge():return r;default:return nt(t,function(e,t){return Object(o.reduce)(e.attributes,function(e,r,g){var n=t[g];return void 0===n?e:void 0!==r.source?e:"default"in r&&r.default===n?e:(e[g]=n,e)},{})}(Ae(t),e.attributes),r)}}function At(e){return Object(o.castArray)(e).map(at).join("\n\n")}var Ct=/[\t\n\r\v\f ]+/g,it=/^[\t\n\r\v\f ]*$/,ot=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,It=["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"],st=[].concat(It,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),ct=[o.identity,function(e){return pt(e).join(" ")}],lt=/^[\da-z]+$/i,ut=/^#\d+$/,dt=/^#x[\da-f]+$/i;var ht=function(){function e(){Object(Be.a)(this,e)}return Object(Le.a)(e,[{key:"parse",value:function(e){if(function(e){return lt.test(e)||ut.test(e)||dt.test(e)}(e))return Object(Ze.decodeEntities)("&"+e+";")}}]),e}(),ft=function(){function e(e){return function(t){for(var r=arguments.length,g=new Array(r>1?r-1:0),n=1;n<r;n++)g[n-1]=arguments[n];return e.apply(void 0,["Block validation: "+t].concat(g))}}return{error:e(console.error),warning:e(console.warn)}}();function pt(e){return e.trim().split(Ct)}function mt(e){return e.attributes.filter(function(e){var t=Object(ye.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(o.includes)(st,r)})}function bt(e,t){for(var r=e.chars,g=t.chars,n=0;n<ct.length;n++){var a=ct[n];if((r=a(r))===(g=a(g)))return!0}return ft.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function _t(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=function(e){return Object(Ne.a)(e)||Object(Se.a)(e)||Object(Pe.a)()}(e.split(":")),r=t[0],g=t.slice(1).join(":");return[r.trim(),function(e){return e.replace(ot,"url($1)")}(g.trim())]});return Object(o.fromPairs)(t)}var vt=Object(i.a)({class:function(e,t){return!o.xor.apply(void 0,Object(C.a)([e,t].map(pt))).length},style:function(e,t){return o.isEqual.apply(void 0,Object(C.a)([e,t].map(_t)))}},Object(o.fromPairs)(It.map(function(e){return[e,o.stubTrue]})));var wt={StartTag:function(e,t){return e.tagName!==t.tagName?(ft.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):function(e,t){if(e.length!==t.length)return ft.warning("Expected attributes %o, instead saw %o.",t,e),!1;var r=[e,t].map(o.fromPairs),g=Object(ye.a)(r,2),n=g[0],a=g[1];for(var A in n){if(!a.hasOwnProperty(A))return ft.warning("Encountered unexpected attribute `%s`.",A),!1;var C=n[A],i=a[A],I=vt[A];if(I){if(!I(C,i))return ft.warning("Expected attribute `%s` of value `%s`, saw `%s`.",A,i,C),!1}else if(C!==i)return ft.warning("Expected attribute `%s` of value `%s`, saw `%s`.",A,i,C),!1}return!0}.apply(void 0,Object(C.a)([e,t].map(mt)))},Chars:bt,Comment:bt};function kt(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!it.test(t.chars))return t}}function yt(e){try{return new Fe(new ht).tokenize(e)}catch(t){ft.warning("Malformed HTML detected: %s",e)}return null}function jt(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Ot(e,t,r){var g,n=X(e);try{g=rt(n,t)}catch(e){return ft.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var a=function(e,t){var r,g,n=[e,t].map(yt),a=Object(ye.a)(n,2),A=a[0],C=a[1];if(!A||!C)return!1;for(;r=kt(A);){if(!(g=kt(C)))return ft.warning("Expected end of content, instead saw %o.",r),!1;if(r.type!==g.type)return ft.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",g.type,g,r.type,r),!1;var i=wt[r.type];if(i&&!i(r,g))return!1;jt(r,C[0])?kt(C):jt(g,A[0])&&kt(A)}return!(g=kt(C))||(ft.warning("Expected %o, instead saw end of content.",g),!1)}(r,g);return a||ft.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",n.name,n,g,r),a}function xt(e){for(var t=[],r=0;r<e.length;r++)try{t.push(Lt(e[r]))}catch(e){}return t}function Tt(e){var t=function(e){return e}(e);return Object(G.renderToString)(t)}function Et(e){return function(t){var r=t;return e&&(r=t.querySelector(e)),r?xt(r.childNodes):[]}}var Nt={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var r=Object(o.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),g=0;g<r.length;g++){var n=r[g];"string"==typeof n&&"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n)}return e},getChildrenArray:function(e){return e},fromDOM:xt,toHTML:Tt,matcher:Et},St=window.Node,Pt=St.TEXT_NODE,Bt=St.ELEMENT_NODE;function Lt(e){if(e.nodeType===Pt)return e.nodeValue;if(e.nodeType!==Bt)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:Object(i.a)({},function(e){for(var t={},r=0;r<e.length;r++){var g=e[r],n=g.name,a=g.value;t[n]=a}return t}(e.attributes),{children:xt(e.childNodes)})}}function zt(e){return function(t){var r=t;e&&(r=t.querySelector(e));try{return Lt(r)}catch(e){return null}}}var Mt={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:Lt,toHTML:function(e){return Tt([e])},matcher:zt};new Set(["attribute","html","text","tag"]);var Rt=function(e){return Object(o.flow)([e,function(e){return void 0!==e}])};function Dt(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)})}function Vt(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var g=xe(e,"attributes")(r);if(g&&g.hasOwnProperty(t))return g[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=Rt(t)),t;case"html":return function(e,t){return function(r){var g=r;if(e&&(g=r.querySelector(e)),!g)return"";if(t){for(var n="",a=g.children.length,A=0;A<a;A++){var C=g.children[A];C.nodeName.toLowerCase()===t&&(n+=C.outerHTML)}return n}return g.innerHTML}}(e.selector,e.multiline);case"text":return function(e){return xe(e,"textContent")}(e.selector);case"children":return Et(e.selector);case"node":return zt(e.selector);case"query":var r=Object(o.mapValues)(e.query,Vt);return function(e,t){return function(r){var g=r.querySelectorAll(e);return[].map.call(g,function(e){return Oe(e,t)})}}(e.selector,r);case"tag":return Object(o.flow)([xe(e.selector,"nodeName"),function(e){return e.toLowerCase()}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}}function Ht(e,t){return Oe(e,Vt(t))}function Ft(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},g=X(e),n=Object(o.mapValues)(g.attributes,function(e,g){return function(e,t,r,g){var n,a=t.type;switch(t.source){case void 0:n=g?g[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":n=Ht(r,t)}return void 0===a||Dt(n,Object(o.castArray)(a))||(n=void 0),void 0===n?t.default:n}(g,e,t,r)});return Object(H.applyFilters)("blocks.getBlockAttributes",n,g,t,r)}function Zt(e){var t=e.blockName,r=e.attrs,g=e.innerBlocks,n=void 0===g?[]:g,a=e.innerHTML,A=te(),C=ge()||A;r=r||{},a=a.trim();var I=t||A;"core/cover-image"===I&&(I="core/cover"),"core/text"!==I&&"core/cover-text"!==I||(I="core/paragraph"),I===A&&(a=Object(Te.autop)(a).trim());var s=Ae(I);if(!s){var c=a;I&&(a=nt(I,r,a)),r={originalName:t,originalUndelimitedContent:c},s=Ae(I=C)}n=n.map(Zt);var l=I===A||I===C;if(s&&(a||!l)){var u=he(I,Ft(s,a,r),n);return l||(u.isValid=Ot(s,u.attributes,a)),u.originalContent=a,u=function(e,t){var r=Ae(e.name),g=r.deprecated;if(!g||!g.length)return e;for(var n=e,a=n.originalContent,A=n.innerBlocks,C=0;C<g.length;C++){var I=g[C].isEligible,s=void 0===I?o.stubFalse:I;if(!e.isValid||s(t,A)){var c=Object.assign(Object(o.omit)(r,["attributes","save","supports"]),g[C]),l=Ft(c,a,t);if(Ot(c,l,a)){e=Object(i.a)({},e,{isValid:!0});var u=A,d=c.migrate;if(d){var h=Object(o.castArray)(d(l,A)),f=Object(ye.a)(h,2),p=f[0];l=void 0===p?t:p;var m=f[1];u=void 0===m?A:m}e.attributes=l,e.innerBlocks=u}}}return e}(u,r)}}var Gt=function(e){return function(t){return e(t).reduce(function(e,t){var r=Zt(t);return r&&e.push(r),e},[])}}(Ee.parse),Ut=Gt,Yt=r(24),Wt={strong:{},em:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function Kt(){return Wt}function Xt(e){var t=e.nodeName.toLowerCase();return Kt().hasOwnProperty(t)||"span"===t}["strong","em","del","ins","a","code","abbr","sub","sup"].forEach(function(e){Wt[e].children=Object(o.omit)(Wt,e)});var Qt=window.Node,Jt=Qt.ELEMENT_NODE,qt=Qt.TEXT_NODE;function $t(e){var t=e.map(function(e){var t=e.isMatch,r=e.blockName,g=e.schema,n=oe(r,"anchor");return n||t?Object(o.mapValues)(g,function(e){var r=e.attributes||[];return n&&(r=[].concat(Object(C.a)(r),["id"])),Object(i.a)({},e,{attributes:r,isMatch:t||void 0})}):g});return o.mergeWith.apply(void 0,[{}].concat(Object(C.a)(t),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":Object(i.a)({},e,t);case"attributes":case"require":return[].concat(Object(C.a)(e||[]),Object(C.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function er(e){return!e.hasChildNodes()||Array.from(e.childNodes).every(function(e){return e.nodeType===qt?!e.nodeValue.trim():e.nodeType!==Jt||("BR"===e.nodeName||!e.hasAttributes()&&er(e))})}function tr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,g=document.implementation.createHTMLDocument("");return g.body.innerHTML=e,function e(t,r,g,n){Array.from(t).forEach(function(t){e(t.childNodes,r,g,n),r.forEach(function(e){g.contains(t)&&e(t,g,n)})})}(g.body.childNodes,t,g,r),g.body.innerHTML}function rr(e,t,r){var g=document.implementation.createHTMLDocument("");return g.body.innerHTML=e,function e(t,r,g,n){Array.from(t).forEach(function(t){var a=t.nodeName.toLowerCase();if(!g.hasOwnProperty(a)||g[a].isMatch&&!g[a].isMatch(t))e(t.childNodes,r,g,n),n&&!Xt(t)&&t.nextElementSibling&&Object(Yt.insertAfter)(r.createElement("br"),t),Object(Yt.unwrap)(t);else if(t.nodeType===Jt){var A=g[a],C=A.attributes,i=void 0===C?[]:C,I=A.classes,s=void 0===I?[]:I,c=A.children,l=A.require,u=void 0===l?[]:l,d=A.allowEmpty;if(c&&!d&&er(t))return void Object(Yt.remove)(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach(function(e){var r=e.name;"class"===r||Object(o.includes)(i,r)||t.removeAttribute(r)}),t.classList&&t.classList.length)){var h=s.map(function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:o.noop});Array.from(t.classList).forEach(function(e){h.some(function(t){return t(e)})||t.classList.remove(e)}),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===c)return;if(c)u.length&&!t.querySelector(u.join(","))?(e(t.childNodes,r,g,n),Object(Yt.unwrap)(t)):"BODY"===t.parentNode.nodeName&&Xt(t)?(e(t.childNodes,r,g,n),Array.from(t.childNodes).some(function(e){return!Xt(e)})&&Object(Yt.unwrap)(t)):e(t.childNodes,r,c,n);else for(;t.firstChild;)Object(Yt.remove)(t.firstChild)}}})}(g.body.childNodes,g,t,r),g.body.innerHTML}var gr=window.Node,nr=gr.ELEMENT_NODE,ar=gr.TEXT_NODE,Ar=function(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),g=t.body,n=r.body;for(g.innerHTML=e;g.firstChild;){var a=g.firstChild;a.nodeType===ar?a.nodeValue.trim()?(n.lastChild&&"P"===n.lastChild.nodeName||n.appendChild(r.createElement("P")),n.lastChild.appendChild(a)):g.removeChild(a):a.nodeType===nr?"BR"===a.nodeName?(a.nextSibling&&"BR"===a.nextSibling.nodeName&&(n.appendChild(r.createElement("P")),g.removeChild(a.nextSibling)),n.lastChild&&"P"===n.lastChild.nodeName&&n.lastChild.hasChildNodes()?n.lastChild.appendChild(a):g.removeChild(a)):"P"===a.nodeName?er(a)?g.removeChild(a):n.appendChild(a):Xt(a)?(n.lastChild&&"P"===n.lastChild.nodeName||n.appendChild(r.createElement("P")),n.lastChild.appendChild(a)):n.appendChild(a):g.removeChild(a)}return n.innerHTML},Cr=window.Node.COMMENT_NODE,ir=function(e,t){if(e.nodeType===Cr)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),g=e,n=!1;g=g.nextSibling;)if(g.nodeType===Cr&&"noteaser"===g.nodeValue){n=!0,Object(Yt.remove)(g);break}Object(Yt.replace)(e,function(e,t,r){var g=r.createElement("wp-block");g.dataset.block="core/more",e&&(g.dataset.customText=e);t&&(g.dataset.noTeaser="");return g}(r,n,t))}}else Object(Yt.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function or(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Ir=function(e){if(or(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 g=e.parentNode;if(g&&"LI"===g.nodeName&&1===g.children.length&&!/\S/.test(function(e){return Object(C.a)(e.childNodes).map(function(e){var t=e.nodeValue;return void 0===t?"":t}).join("")}(g))){var n=g,a=n.previousElementSibling,A=n.parentNode;a?(a.appendChild(t),A.removeChild(n)):(A.parentNode.insertBefore(t,A),A.parentNode.removeChild(A))}if(g&&or(g)){var i=e.previousElementSibling;i?i.appendChild(e):Object(Yt.unwrap)(e)}}},sr=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Ar(e.innerHTML))};var cr=function(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Xt(e)&&Object(o.has)(t,["figure","children",r])}(e,r)){var g=e,n=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(o.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===n.nodeName&&1===n.childNodes.length&&(g=e.parentNode);for(var a=g;a&&"P"!==a.nodeName;)a=a.parentElement;var A=t.createElement("figure");a?a.parentNode.insertBefore(A,a):g.parentNode.insertBefore(A,g),A.appendChild(g)}},lr=r(129);var ur=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,g=ve(we("from"),function(e){return"shortcode"===e.type&&Object(o.some)(Object(o.castArray)(e.tag),function(e){return Object(lr.regexp)(e).test(t)})});if(!g)return[t];var n,a=Object(o.castArray)(g.tag),A=Object(o.first)(a);if(n=Object(lr.next)(A,t,r)){var I=t.substr(0,n.index);if(r=n.index+n.content.length,!Object(o.includes)(n.shortcode.content||"","<")&&!/(\n|<p>)\s*$/.test(I))return e(t,r);var s=Object(o.mapValues)(Object(o.pickBy)(g.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(n.shortcode.attrs,n)});return[I,he(g.blockName,Ft(Object(i.a)({},Ae(g.blockName),{attributes:g.attributes}),n.shortcode.content,s))].concat(Object(C.a)(e(t.substr(r))))}return[t]};function dr(e,t){return e.every(function(e){return function(e,t){if(Xt(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(o.difference)([r,t],e).length})}(e,t)&&dr(Array.from(e.children),t)})}function hr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var fr=function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var g=Array.from(r.body.children);return!g.some(hr)&&dr(g,t)},pr=function(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,g=r.fontWeight,n=r.fontStyle,a=r.textDecorationLine,A=r.verticalAlign;"bold"!==g&&"700"!==g||Object(Yt.wrap)(t.createElement("strong"),e),"italic"===n&&Object(Yt.wrap)(t.createElement("em"),e),"line-through"===a&&Object(Yt.wrap)(t.createElement("del"),e),"super"===A?Object(Yt.wrap)(t.createElement("sup"),e):"sub"===A&&Object(Yt.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(Yt.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(Yt.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},mr=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},br=window.parseInt;function _r(e){return"OL"===e.nodeName||"UL"===e.nodeName}var vr=function(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var g=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(g){var n=br(g[1],10)-1||0,a=e.previousElementSibling;if(!a||!_r(a)){var A=e.textContent.trim().slice(0,1),C=/[1iIaA]/.test(A),i=t.createElement(C?"ol":"ul");C&&i.setAttribute("type",A),e.parentNode.insertBefore(i,e)}var o=e.previousElementSibling,I=o.nodeName,s=t.createElement("li"),c=o;for(e.removeChild(e.firstElementChild);e.firstChild;)s.appendChild(e.firstChild);for(;n--;)_r(c=c.lastElementChild||c)&&(c=c.lastElementChild||c);_r(c)||(c=c.appendChild(t.createElement(I))),c.appendChild(s),e.parentNode.removeChild(e)}}}},wr=r(31),kr=window,yr=kr.atob,jr=kr.File,Or=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),g=Object(ye.a)(r,2),n=g[0],a=g[1],A=n.slice(5).split(";"),C=Object(ye.a)(A,1)[0];if(!a||!C)return void(e.src="");try{t=yr(a)}catch(t){return void(e.src="")}for(var i=new Uint8Array(t.length),o=0;o<i.length;o++)i[o]=t.charCodeAt(o);var I=C.replace("/","."),s=new jr([i],I,{type:C});e.src=Object(wr.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},xr=r(192),Tr=new(r.n(xr).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var Er=function(e){return Tr.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,function(e,t,r,g){return"".concat(t,"\n").concat(r,"\n").concat(g)})}(e))},Nr=function(e){"IFRAME"===e.nodeName&&Object(Yt.remove)(e)},Sr=function(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(Yt.unwrap)(e)},Pr=window.console;function Br(e){return e=rr(e=tr(e,[Sr,pr]),Kt(),{inline:!0}),Pr.log("Processed inline HTML:\n\n",e),e}function Lr(e){var t=e.HTML,r=void 0===t?"":t,g=e.plainText,n=void 0===g?"":g,a=e.mode,A=void 0===a?"AUTO":a,C=e.tagName,I=e.canUserUseUnfilteredHTML,s=void 0!==I&&I;if(r=r.replace(/<meta[^>]+>/,""),"INLINE"!==A&&-1!==r.indexOf("\x3c!-- wp:"))return Gt(r);if(String.prototype.normalize&&(r=r.normalize()),!n||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(r=Er(n),"AUTO"===A&&-1===n.indexOf("\n")&&0!==n.indexOf("<p>")&&0===r.indexOf("<p>")&&(A="INLINE")),"INLINE"===A)return Br(r);var c=ur(r),l=c.length>1;if("AUTO"===A&&!l&&fr(r,C))return Br(r);var u=Object(o.filter)(we("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(i.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),d=Kt(),h=$t(u),f=Object(o.compact)(Object(o.flatMap)(c,function(e){if("string"!=typeof e)return e;var t=[Sr,vr,mr,Ir,Or,pr,ir,cr,sr];s||t.unshift(Nr);var r=Object(i.a)({},h,d);return e=rr(e=tr(e,t,h),r),e=Ar(e),Pr.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,r=e.rawTransforms,g=document.implementation.createHTMLDocument("");return g.body.innerHTML=t,Array.from(g.body.children).map(function(e){var t=ve(r,function(t){return(0,t.isMatch)(e)});if(!t)return he("core/html",Ft("core/html",e.outerHTML));var g=t.transform,n=t.blockName;return g?g(e):he(n,Ft(n,e.outerHTML))})}({html:e,rawTransforms:u})}));if("AUTO"===A&&1===f.length){var p=n.trim();if(""!==p&&-1===p.indexOf("\n"))return rr(gt(f[0]),d)}return f}function zr(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Gt(r);var g=ur(r),n=Object(o.filter)(we("from"),{type:"raw"}).map(function(e){return e.isMatch?e:Object(i.a)({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}),a=$t(n);return Object(o.compact)(Object(o.flatMap)(g,function(e){return"string"!=typeof e?e:(e=tr(e,[Ir,ir,cr,sr],a),function(e){var t=e.html,r=e.rawTransforms,g=document.implementation.createHTMLDocument("");return g.body.innerHTML=t,Array.from(g.body.children).map(function(e){var t=ve(r,function(t){return(0,t.isMatch)(e)});if(!t)return he("core/html",Ft("core/html",e.outerHTML));var g=t.transform,n=t.blockName;return g?g(e):he(n,Ft(n,e.outerHTML))})}({html:e=Ar(e),rawTransforms:n}))}))}function Mr(){return Object(a.select)("core/blocks").getCategories()}function Rr(e){Object(a.dispatch)("core/blocks").setCategories(e)}function Dr(e,t){Object(a.dispatch)("core/blocks").updateCategory(e,t)}function Vr(){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(o.every)(t,function(t,r){var g=Object(ye.a)(t,3),n=g[0],a=g[2],A=e[r];return n===A.name&&Vr(A.innerBlocks,a)})}function Hr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(o.map)(t,function(t,r){var g=Object(ye.a)(t,3),n=g[0],a=g[1],A=g[2],C=e[r];if(C&&C.name===n){var I=Hr(C.innerBlocks,A);return Object(i.a)({},C,{innerBlocks:I})}var s=Ae(n),c=function(e,t){return Object(o.mapValues)(t,function(t,r){return l(e[r],t)})},l=function(e,t){return function(e){return"html"===Object(o.get)(e,["source"])}(e)&&Object(o.isArray)(t)?Object(G.renderToString)(t):function(e){return"query"===Object(o.get)(e,["source"])}(e)&&t?t.map(function(t){return c(e.query,t)}):t};return he(n,c(Object(o.get)(s,["attributes"],{}),a),Hr([],A))}):e}r.d(t,"createBlock",function(){return he}),r.d(t,"cloneBlock",function(){return fe}),r.d(t,"getPossibleBlockTransformations",function(){return _e}),r.d(t,"switchToBlockType",function(){return ke}),r.d(t,"getBlockTransforms",function(){return we}),r.d(t,"findTransform",function(){return ve}),r.d(t,"parse",function(){return Ut}),r.d(t,"getBlockAttributes",function(){return Ft}),r.d(t,"parseWithAttributeSchema",function(){return Ht}),r.d(t,"pasteHandler",function(){return Lr}),r.d(t,"rawHandler",function(){return zr}),r.d(t,"getPhrasingContentSchema",function(){return Kt}),r.d(t,"serialize",function(){return At}),r.d(t,"getBlockContent",function(){return gt}),r.d(t,"getBlockDefaultClassName",function(){return $e}),r.d(t,"getBlockMenuDefaultClassName",function(){return et}),r.d(t,"getSaveElement",function(){return tt}),r.d(t,"getSaveContent",function(){return rt}),r.d(t,"isValidBlockContent",function(){return Ot}),r.d(t,"getCategories",function(){return Mr}),r.d(t,"setCategories",function(){return Rr}),r.d(t,"updateCategory",function(){return Dr}),r.d(t,"registerBlockType",function(){return q}),r.d(t,"unregisterBlockType",function(){return $}),r.d(t,"setFreeformContentHandlerName",function(){return ee}),r.d(t,"getFreeformContentHandlerName",function(){return te}),r.d(t,"setUnregisteredTypeHandlerName",function(){return re}),r.d(t,"getUnregisteredTypeHandlerName",function(){return ge}),r.d(t,"setDefaultBlockName",function(){return ne}),r.d(t,"getDefaultBlockName",function(){return ae}),r.d(t,"getBlockType",function(){return Ae}),r.d(t,"getBlockTypes",function(){return Ce}),r.d(t,"getBlockSupport",function(){return ie}),r.d(t,"hasBlockSupport",function(){return oe}),r.d(t,"isReusableBlock",function(){return Ie}),r.d(t,"getChildBlockNames",function(){return se}),r.d(t,"hasChildBlocks",function(){return ce}),r.d(t,"hasChildBlocksWithInserterSupport",function(){return le}),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",function(){return J}),r.d(t,"registerBlockStyle",function(){return ue}),r.d(t,"unregisterBlockStyle",function(){return de}),r.d(t,"isUnmodifiedDefaultBlock",function(){return Y}),r.d(t,"normalizeIconObject",function(){return K}),r.d(t,"isValidIcon",function(){return W}),r.d(t,"doBlocksMatchTemplate",function(){return Vr}),r.d(t,"synchronizeBlocksWithTemplate",function(){return Hr}),r.d(t,"children",function(){return Nt}),r.d(t,"node",function(){return Mt}),r.d(t,"withBlockContentContext",function(){return Je})},23:function(e,t){!function(){e.exports=this.wp.hooks}()},24:function(e,t){!function(){e.exports=this.wp.dom}()},25:function(e,t,r){"use strict";var g=r(34);var n=r(33);function a(e,t){return Object(g.a)(e)||function(e,t){var r=[],g=!0,n=!1,a=void 0;try{for(var A,C=e[Symbol.iterator]();!(g=(A=C.next()).done)&&(r.push(A.value),!t||r.length!==t);g=!0);}catch(e){n=!0,a=e}finally{try{g||null==C.return||C.return()}finally{if(n)throw a}}return r}(e,t)||Object(n.a)()}r.d(t,"a",function(){return a})},28:function(e,t,r){"use strict";var g,n;function a(e){return[e]}function A(e){return!!e&&"object"==typeof e}function C(){var e={clear:function(){e.head=null}};return e}function i(e,t,r){var g;if(e.length!==t.length)return!1;for(g=r;g<e.length;g++)if(e[g]!==t[g])return!1;return!0}g={},n="undefined"!=typeof WeakMap,t.a=function(e,t){var r,o;function I(){r=n?new WeakMap:C()}function s(){var r,g,n,a,A,C=arguments.length;for(a=new Array(C),n=0;n<C;n++)a[n]=arguments[n];for(A=t.apply(null,a),(r=o(A)).isUniqueByDependants||(r.lastDependants&&!i(A,r.lastDependants,0)&&r.clear(),r.lastDependants=A),g=r.head;g;){if(i(g.args,a,1))return g!==r.head&&(g.prev.next=g.next,g.next&&(g.next.prev=g.prev),g.next=r.head,g.prev=null,r.head.prev=g,r.head=g),g.val;g=g.next}return g={val:e.apply(null,a)},a[0]=null,g.args=a,r.head&&(r.head.prev=g,g.next=r.head),r.head=g,g.val}return t||(t=a),o=n?function(e){var t,n,a,i,o=r,I=!0;for(t=0;t<e.length;t++){if(!A(n=e[t])){I=!1;break}o.has(n)?o=o.get(n):(a=new WeakMap,o.set(n,a),o=a)}return o.has(g)||((i=C()).isUniqueByDependants=I,o.set(g,i)),o.get(g)}:function(){return r},s.getDependants=t,s.clear=I,I(),s}},31:function(e,t){!function(){e.exports=this.wp.blob}()},32:function(e,t,r){"use strict";function g(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",function(){return g})},33:function(e,t,r){"use strict";function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return g})},34:function(e,t,r){"use strict";function g(e){if(Array.isArray(e))return e}r.d(t,"a",function(){return g})},40:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},46:function(e,t,r){var g;!function(n){var a=/^\s+/,A=/\s+$/,C=0,i=n.round,o=n.min,I=n.max,s=n.random;function c(e,t){if(e=e||"",t=t||{},e instanceof c)return e;if(!(this instanceof c))return new c(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,g=null,C=null,i=null,s=!1,c=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(A,"").toLowerCase();var t,r=!1;if(E[e])e=E[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=V.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=V.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=V.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=V.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=V.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=V.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=V.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:D(t[4]),format:r?"name":"hex8"};if(t=V.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=V.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:D(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=V.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=function(e,t,r){return{r:255*P(e,255),g:255*P(t,255),b:255*P(r,255)}}(e.r,e.g,e.b),s=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(g=M(e.s),C=M(e.v),t=function(e,t,r){e=6*P(e,360),t=P(t,100),r=P(r,100);var g=n.floor(e),a=e-g,A=r*(1-t),C=r*(1-a*t),i=r*(1-(1-a)*t),o=g%6;return{r:255*[r,C,A,A,i,r][o],g:255*[i,r,r,C,A,A][o],b:255*[A,A,i,r,r,C][o]}}(e.h,g,C),s=!0,c="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(g=M(e.s),i=M(e.l),t=function(e,t,r){var g,n,a;function A(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=P(e,360),t=P(t,100),r=P(r,100),0===t)g=n=a=r;else{var C=r<.5?r*(1+t):r+t-r*t,i=2*r-C;g=A(i,C,e+1/3),n=A(i,C,e),a=A(i,C,e-1/3)}return{r:255*g,g:255*n,b:255*a}}(e.h,g,i),s=!0,c="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=S(r),{ok:s,format:e.format||c,r:o(255,I(t.r,0)),g:o(255,I(t.g,0)),b:o(255,I(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=i(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=r.ok,this._tc_id=C++}function l(e,t,r){e=P(e,255),t=P(t,255),r=P(r,255);var g,n,a=I(e,t,r),A=o(e,t,r),C=(a+A)/2;if(a==A)g=n=0;else{var i=a-A;switch(n=C>.5?i/(2-a-A):i/(a+A),a){case e:g=(t-r)/i+(t<r?6:0);break;case t:g=(r-e)/i+2;break;case r:g=(e-t)/i+4}g/=6}return{h:g,s:n,l:C}}function u(e,t,r){e=P(e,255),t=P(t,255),r=P(r,255);var g,n,a=I(e,t,r),A=o(e,t,r),C=a,i=a-A;if(n=0===a?0:i/a,a==A)g=0;else{switch(a){case e:g=(t-r)/i+(t<r?6:0);break;case t:g=(r-e)/i+2;break;case r:g=(e-t)/i+4}g/=6}return{h:g,s:n,v:C}}function d(e,t,r,g){var n=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16))];return g&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function h(e,t,r,g){return[z(R(g)),z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16))].join("")}function f(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s-=t/100,r.s=B(r.s),c(r)}function p(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.s+=t/100,r.s=B(r.s),c(r)}function m(e){return c(e).desaturate(100)}function b(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l+=t/100,r.l=B(r.l),c(r)}function _(e,t){t=0===t?0:t||10;var r=c(e).toRgb();return r.r=I(0,o(255,r.r-i(-t/100*255))),r.g=I(0,o(255,r.g-i(-t/100*255))),r.b=I(0,o(255,r.b-i(-t/100*255))),c(r)}function v(e,t){t=0===t?0:t||10;var r=c(e).toHsl();return r.l-=t/100,r.l=B(r.l),c(r)}function w(e,t){var r=c(e).toHsl(),g=(r.h+t)%360;return r.h=g<0?360+g:g,c(r)}function k(e){var t=c(e).toHsl();return t.h=(t.h+180)%360,c(t)}function y(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+120)%360,s:t.s,l:t.l}),c({h:(r+240)%360,s:t.s,l:t.l})]}function j(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+90)%360,s:t.s,l:t.l}),c({h:(r+180)%360,s:t.s,l:t.l}),c({h:(r+270)%360,s:t.s,l:t.l})]}function O(e){var t=c(e).toHsl(),r=t.h;return[c(e),c({h:(r+72)%360,s:t.s,l:t.l}),c({h:(r+216)%360,s:t.s,l:t.l})]}function x(e,t,r){t=t||6,r=r||30;var g=c(e).toHsl(),n=360/r,a=[c(e)];for(g.h=(g.h-(n*t>>1)+720)%360;--t;)g.h=(g.h+n)%360,a.push(c(g));return a}function T(e,t){t=t||6;for(var r=c(e).toHsv(),g=r.h,n=r.s,a=r.v,A=[],C=1/t;t--;)A.push(c({h:g,s:n,v:a})),a=(a+C)%1;return A}c.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,g=this.toRgb();return e=g.r/255,t=g.g/255,r=g.b/255,.2126*(e<=.03928?e/12.92:n.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:n.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:n.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=S(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),g=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+g+"%)":"hsva("+t+", "+r+"%, "+g+"%, "+this._roundA+")"},toHsl:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),g=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+g+"%)":"hsla("+t+", "+r+"%, "+g+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,g,n){var a=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16)),z(R(g))];if(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[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*P(this._r,255))+"%",g:i(100*P(this._g,255))+"%",b:i(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%)":"rgba("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,g=this._gradientType?"GradientType = 1, ":"";if(e){var n=c(e);r="#"+h(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+g+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,g=this._a<1&&this._a>=0;return t||!g||"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 c(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(b,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(j,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var g in e)e.hasOwnProperty(g)&&(r[g]="a"===g?e[g]:M(e[g]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var g=c(e).toRgb(),n=c(t).toRgb(),a=r/100;return c({r:(n.r-g.r)*a+g.r,g:(n.g-g.g)*a+g.g,b:(n.b-g.b)*a+g.b,a:(n.a-g.a)*a+g.a})},c.readability=function(e,t){var r=c(e),g=c(t);return(n.max(r.getLuminance(),g.getLuminance())+.05)/(n.min(r.getLuminance(),g.getLuminance())+.05)},c.isReadable=function(e,t,r){var g,n,a=c.readability(e,t);switch(n=!1,(g=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+g.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7}return n},c.mostReadable=function(e,t,r){var g,n,a,A,C=null,i=0;n=(r=r||{}).includeFallbackColors,a=r.level,A=r.size;for(var o=0;o<t.length;o++)(g=c.readability(e,t[o]))>i&&(i=g,C=c(t[o]));return c.isReadable(e,C,{level:a,size:A})||!n?C:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var E=c.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"},N=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(E);function S(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(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=o(t,I(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),n.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function B(e){return o(1,I(0,e))}function L(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function R(e){return n.round(255*parseFloat(e)).toString(16)}function D(e){return L(e)/255}var V=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",r="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+r),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 H(e){return!!V.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=c:void 0===(g=function(){return c}.call(t,r,t,e))||(e.exports=g)}(Math)},5:function(e,t){!function(){e.exports=this.wp.data}()},53:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},61:function(e,t){!function(){e.exports=this.wp.autop}()},62:function(e,t,r){var g=r(86),n=r(85);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var A=(e=e||{}).random||(e.rng||g)();if(A[6]=15&A[6]|64,A[8]=63&A[8]|128,t)for(var C=0;C<16;++C)t[a+C]=A[C];return t||n(A)}},7:function(e,t){!function(){e.exports=this.wp.compose}()},8:function(e,t,r){"use strict";r.d(t,"a",function(){return n});var g=r(15);function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){Object(g.a)(e,t,r[t])})}return e}},85:function(e,t){for(var r=[],g=0;g<256;++g)r[g]=(g+256).toString(16).substr(1);e.exports=function(e,t){var g=t||0,n=r;return[n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],"-",n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]],n[e[g++]]].join("")}},86:function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var g=new Uint8Array(16);e.exports=function(){return r(g),g}}else{var n=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},9:function(e,t,r){"use strict";function g(e,t){for(var r=0;r<t.length;r++){var g=t[r];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function n(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}r.d(t,"a",function(){return n})}});
build/components/index.js CHANGED
@@ -1,4 +1,4 @@
1
- this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=218)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},,,,function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(15);function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}},function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(30),r=n(3);function a(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeof t?Object(r.a)(e):t}},function(e,t,n){"use strict";function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return o})},,function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return o})},function(e,t,n){var o;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -9,11 +9,11 @@ this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(o){if(t[o
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o))e.push(r.apply(null,o));else if("object"===a)for(var i in o)n.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=r:void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";var o=n(32);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return r})},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",function(){return o})},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){!function(){e.exports=this.wp.dom}()},function(e,t,n){"use strict";var o=n(35);var r=n(34);function a(e,t){return Object(o.a)(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}(e,t)||Object(r.a)()}n.d(t,"a",function(){return a})},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.moment}()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},,function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return(r="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":o(e)})(e)}n.d(t,"a",function(){return r})},,function(e,t,n){"use strict";function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return o})},,function(e,t,n){e.exports=n(308)()},,function(e,t,n){e.exports=n(303)},,function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t,n){e.exports=n(115)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="Interact with the calendar and add the check-in date for your trip.",r="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",h="Return to the date input field.",f="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},v=function(e){return e.date},m=function(e){var t=e.date;return"Not available. "+String(t)},y=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:o,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:o,jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableStartDate:p,chooseAvailableEndDate:b,dateIsUnavailable:m,dateIsSelected:y},t.DateRangePickerInputPhrases={focusStartDate:o,clearDates:"Clear Dates",keyboardNavigationInstructions:f},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,keyboardNavigationInstructions:f,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:f},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:r,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h,chooseAvailableStartDate:p,chooseAvailableEndDate:b,chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:h},t.DayPickerNavigationPhrases={jumpToPrevMonth:r,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:v,dateIsUnavailable:m,dateIsSelected:y}},function(e,t,n){"use strict";var o=n(65),r=n(167),a=n(166),i=n(309),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t,n){var o;!function(r){var a=/^\s+/,i=/\s+$/,c=0,s=r.round,l=r.min,u=r.max,d=r.random;function h(e,t){if(e=e||"",t=t||{},e instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,o=null,c=null,s=null,d=!1,h=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=F.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=F.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=F.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=F.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=F.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=F.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=F.hex8.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),a:A(t[4]),format:n?"name":"hex8"};if(t=F.hex6.exec(e))return{r:H(t[1]),g:H(t[2]),b:H(t[3]),format:n?"name":"hex"};if(t=F.hex4.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),a:A(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=F.hex3.exec(e))return{r:H(t[1]+""+t[1]),g:H(t[2]+""+t[2]),b:H(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(t=function(e,t,n){return{r:255*I(e,255),g:255*I(t,255),b:255*I(n,255)}}(e.r,e.g,e.b),d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(o=R(e.s),c=R(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var o=r.floor(e),a=e-o,i=n*(1-t),c=n*(1-a*t),s=n*(1-(1-a)*t),l=o%6;return{r:255*[n,c,i,i,s,n][l],g:255*[s,n,n,c,i,i][l],b:255*[i,i,s,n,n,c][l]}}(e.h,o,c),d=!0,h="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(o=R(e.s),s=R(e.l),t=function(e,t,n){var o,r,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)o=r=a=n;else{var c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=i(s,c,e+1/3),r=i(s,c,e),a=i(s,c,e-1/3)}return{r:255*o,g:255*r,b:255*a}}(e.h,o,s),d=!0,h="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=T(n),{ok:d,format:e.format||h,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=s(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=c++}function f(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var o,r,a=u(e,t,n),i=l(e,t,n),c=(a+i)/2;if(a==i)o=r=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:r,l:c}}function p(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var o,r,a=u(e,t,n),i=l(e,t,n),c=a,s=a-i;if(r=0===a?0:s/a,a==i)o=0;else{switch(a){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:r,v:c}}function b(e,t,n,o){var r=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16))];return o&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function v(e,t,n,o){return[N(L(o)),N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var n=h(e).toHsl();return n.s-=t/100,n.s=x(n.s),h(n)}function y(e,t){t=0===t?0:t||10;var n=h(e).toHsl();return n.s+=t/100,n.s=x(n.s),h(n)}function g(e){return h(e).desaturate(100)}function O(e,t){t=0===t?0:t||10;var n=h(e).toHsl();return n.l+=t/100,n.l=x(n.l),h(n)}function k(e,t){t=0===t?0:t||10;var n=h(e).toRgb();return n.r=u(0,l(255,n.r-s(-t/100*255))),n.g=u(0,l(255,n.g-s(-t/100*255))),n.b=u(0,l(255,n.b-s(-t/100*255))),h(n)}function _(e,t){t=0===t?0:t||10;var n=h(e).toHsl();return n.l-=t/100,n.l=x(n.l),h(n)}function D(e,t){var n=h(e).toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,h(n)}function w(e){var t=h(e).toHsl();return t.h=(t.h+180)%360,h(t)}function M(e){var t=h(e).toHsl(),n=t.h;return[h(e),h({h:(n+120)%360,s:t.s,l:t.l}),h({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=h(e).toHsl(),n=t.h;return[h(e),h({h:(n+90)%360,s:t.s,l:t.l}),h({h:(n+180)%360,s:t.s,l:t.l}),h({h:(n+270)%360,s:t.s,l:t.l})]}function j(e){var t=h(e).toHsl(),n=t.h;return[h(e),h({h:(n+72)%360,s:t.s,l:t.l}),h({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var o=h(e).toHsl(),r=360/n,a=[h(e)];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(h(o));return a}function P(e,t){t=t||6;for(var n=h(e).toHsv(),o=n.h,r=n.s,a=n.v,i=[],c=1/t;t--;)i.push(h({h:o,s:r,v:a})),a=(a+c)%1;return i}h.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,n,o=this.toRgb();return e=o.r/255,t=o.g/255,n=o.b/255,.2126*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=s(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+o+"%)":"hsva("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=s(360*e.h),n=s(100*e.s),o=s(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+o+"%)":"hsla("+t+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,o,r){var a=[N(s(e).toString(16)),N(s(t).toString(16)),N(s(n).toString(16)),N(L(o))];if(r&&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[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(z[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+v(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,o=this._a<1&&this._a>=0;return t||!o||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:R(e[o]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:d(),g:d(),b:d()})},h.mix=function(e,t,n){n=0===n?0:n||50;var o=h(e).toRgb(),r=h(t).toRgb(),a=n/100;return h({r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a})},h.readability=function(e,t){var n=h(e),o=h(t);return(r.max(n.getLuminance(),o.getLuminance())+.05)/(r.min(n.getLuminance(),o.getLuminance())+.05)},h.isReadable=function(e,t,n){var o,r,a=h.readability(e,t);switch(r=!1,(o=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+o.size){case"AAsmall":case"AAAlarge":r=a>=4.5;break;case"AAlarge":r=a>=3;break;case"AAAsmall":r=a>=7}return r},h.mostReadable=function(e,t,n){var o,r,a,i,c=null,s=0;r=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var l=0;l<t.length;l++)(o=h.readability(e,t[l]))>s&&(s=o,c=h(t[l]));return h.isReadable(e,c,{level:a,size:i})||!r?c:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.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"},z=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function x(e){return l(1,u(0,e))}function H(e){return parseInt(e,16)}function N(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function L(e){return r.round(255*parseFloat(e)).toString(16)}function A(e){return H(e)/255}var F=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),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 V(e){return!!F.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=h:void 0===(o=function(){return h}.call(t,n,t,e))||(e.exports=o)}(Math)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce(function(e,t){return(0,o.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,r.default.oneOfType([r.default.string,r.default.func,r.default.node])))},{})};var o=a(n(44)),r=a(n(37));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){e.exports=this.ReactDOM}()},,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,i=void 0===n?"styles":n,u=t.themePropName,h=void 0===u?"theme":u,p=t.cssPropName,y=void 0===p?"css":p,g=t.flushBefore,O=void 0!==g&&g,k=t.pureComponent,_=void 0,D=void 0,w=void 0,M=void 0,S=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(void 0!==k&&k);function j(t,n){var o=function(e){return e===l.DIRECTIONS.LTR?w:M}(t),r=t===l.DIRECTIONS.LTR?_:D,a=d.default.get();if(r&&o===a)return r;var i=t===l.DIRECTIONS.RTL;return i?(D=e?d.default.createRTL(e):b,M=a,r=D):(_=e?d.default.createLTR(e):b,w=a,r=_),r}function C(e,t){return{resolveMethod:function(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}(e),styleDef:j(e,t)}}return function(){return function(e){var t=e.displayName||e.name||"Component",n=function(n){function c(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e,n)),r=o.context[l.CHANNEL]?o.context[l.CHANNEL].getState():m;return o.state=C(r,t),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,n),r(c,[{key:"componentDidMount",value:function(){return function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe(function(n){e.setState(C(n,t))}))}}()},{key:"componentWillUnmount",value:function(){return function(){this.channelUnsubscribe&&this.channelUnsubscribe()}}()},{key:"render",value:function(){return function(){var t;O&&d.default.flush();var n=this.state,r=n.resolveMethod,c=n.styleDef;return a.default.createElement(e,o({},this.props,(f(t={},h,d.default.get()),f(t,i,c()),f(t,y,r),t)))}}()}]),c}(S);n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=v,e.propTypes&&(n.propTypes=(0,s.default)({},e.propTypes),delete n.propTypes[i],delete n.propTypes[h],delete n.propTypes[y]);e.defaultProps&&(n.defaultProps=(0,s.default)({},e.defaultProps));return(0,c.default)(n,e)}}()};var a=h(n(26)),i=h(n(302)),c=h(n(299)),s=h(n(298)),l=n(297),u=h(n(296)),d=h(n(169));function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:i.default.object.isRequired,theme:i.default.object.isRequired,css:i.default.func.isRequired};var p={},b=function(){return p};var v=f({},l.CHANNEL,u.default),m=l.DIRECTIONS.LTR},,,function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,function(e,t,n){var o=n(27),r=n(305),a=n(304);e.exports={momentObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return r.isValidMoment(e)},"Moment"),momentString:a.createMomentChecker("string",function(e){return"string"==typeof e},function(e){return r.isValidMoment(o(e))},"Moment"),momentDurationObj:a.createMomentChecker("object",function(e){return"object"==typeof e},function(e){return o.isDuration(e)},"Duration")}},function(e,t,n){"use strict";e.exports=n(104)},,function(e,t,n){var o=n(84),r=n(83);e.exports=function(e,t,n){var a=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var c=0;c<16;++c)t[a+c]=i[c];return t||r(i)}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf(r.WEEKDAYS)},function(e,t,n){"use strict";var o=n(180),r=n(327),a="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=Object.defineProperty&&function(){var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),s=function(e,t,n,o){(!(t in e)||function(e){return"function"==typeof e&&"[object Function]"===i.call(e)}(o)&&o())&&(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},l=function(e,t){var n=arguments.length>2?arguments[2]:{},i=o(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t))),r(i,function(o){s(e,o,t[o],n[o])})};l.supportsDescriptors=!!c,e.exports=l},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.OPEN_DOWN,r.OPEN_UP])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.HORIZONTAL_ORIENTATION,r.VERTICAL_ORIENTATION,r.VERTICAL_SCROLLABLE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,r.DISPLAY_FORMAT,r.ISO_FORMAT]:[r.DISPLAY_FORMAT,r.ISO_FORMAT],a=(0,o.default)(e,n,!0);return a.isValid()?a.hour(12):null};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(27)),r=n(33)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year()};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},function(e,t,n){"use strict";var o=n(306);e.exports=function(e,t,n){return!o(e.props,t)||!o(e.state,n)}},function(e,t,n){"use strict";var o=n(326);e.exports=Function.prototype.bind||o},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var r=function(){return function(e){return o.default.createElement("svg",e,o.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))}}();r.defaultProps={viewBox:"0 0 12 12"},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=e.year(),r=e.month(),a=t.year(),i=t.month(),c=n===a;return c&&r===i?e.date()<t.date():c?r<i:n<a};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t)||(0,r.default)(e,t))};var o=a(n(27)),r=a(n(78));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.INFO_POSITION_TOP,r.INFO_POSITION_BOTTOM,r.INFO_POSITION_BEFORE,r.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.ICON_BEFORE_POSITION,r.ICON_AFTER_POSITION])},,function(e,t){for(var n=[],o=0;o<256;++o)n[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var o=t||0,r=n;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t)||(0,r.default)(e,t)||(0,a.default)(e,t))};var o=i(n(27)),r=i(n(78)),a=i(n(72));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOfType([o.default.bool,o.default.oneOf([r.START_DATE,r.END_DATE])])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,r.default)(e,t);return n?n.format(a.ISO_MONTH_FORMAT):null};var o=i(n(27)),r=i(n(71)),a=n(33);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",function(){return l});var o=!("undefined"==typeof window||!window.document||!window.document.createElement);var r=void 0;function a(){return void 0===r&&(r=function(){if(!o)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),r}function i(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function c(e){this.target=e,this.events={}}c.prototype.getEventHandlers=function(){return function(e,t){var n=String(e)+" "+String(function(e){return e?!0===e?100:(e.capture<<0)+(e.passive<<1)+(e.once<<2):0}(t));return this.events[n]||(this.events[n]={handlers:[],handleEvent:void 0},this.events[n].nextHandlers=this.events[n].handlers),this.events[n]}}(),c.prototype.handleEvent=function(){return function(e,t,n){var o=this.getEventHandlers(e,t);o.handlers=o.nextHandlers,o.handlers.forEach(function(e){e&&e(n)})}}(),c.prototype.add=function(){return function(e,t,n){var o=this,r=this.getEventHandlers(e,n);i(r),0===r.nextHandlers.length&&(r.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,r.handleEvent,n)),r.nextHandlers.push(t);var a=!0;return function(){if(a){a=!1,i(r);var c=r.nextHandlers.indexOf(t);r.nextHandlers.splice(c,1),0===r.nextHandlers.length&&(o.target&&o.target.removeEventListener(e,r.handleEvent,n),r.handleEvent=void 0)}}}}();var s="__consolidated_events_handlers__";function l(e,t,n,o){e[s]||(e[s]=new c(e));var r=function(e){if(e)return a()?e:!!e.capture}(o);return e[s].add(t,n,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,r.default)(e,t);return n?n.format(a.ISO_FORMAT):null};var o=i(n(27)),r=i(n(71)),a=n(33);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(39);t.default=(0,r.and)([o.default.instanceOf(Set),function(){return function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var i=e[t],c=void 0;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(i)).some(function(e,n){var a,i=String(t)+": index "+String(n);return null!=(c=(a=o.default.string).isRequired.apply(a,[function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},i,e),i].concat(r)))}),null==c?null:c}}()],"Modifiers (Set of Strings)")},function(e,t,n){"use strict";var o=n(74);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},,,function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var a=n(336),i=n(26),c=n(49);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),r(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,r=n.wrappedRef,a=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["wrappedRef"]);return i.createElement(e,o({},a,{ref:function(e){t.__wrappedInstance=e,t.__domNode=c.findDOMNode(e),r&&r(e)}}))}}]),n}();return n.displayName="clickOutside("+t+")",a(n,e)}},,,,function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function a(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function i(e){return a(e)}function c(e){return a(e,!0)}function s(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,a=r.body,i=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=i.clientLeft||a.clientLeft||0,top:o-=i.clientTop||a.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=i(o),t.top+=c(o),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",h="runtimeStyle",f="left",p="px";var b=void 0;function v(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===b(e,"boxSizing")}"undefined"!=typeof window&&(b=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,a=n||r.defaultView.getComputedStyle(e,null);return a&&(o=a.getPropertyValue(t)||a[t]),o}:function(e,t){var n=e[d]&&e[d][t];if(l.test(n)&&!u.test(t)){var o=e.style,r=o[f],a=e[h][f];e[h][f]=e[d][f],o[f]="fontSize"===t?"1em":n||0,n=o.pixelLeft+p,o[f]=r,e[h][f]=a}return""===n?"auto":n});var y=["margin","border","padding"],g=-1,O=2,k=1;function _(e,t,n){var o=0,r=void 0,a=void 0,i=void 0;for(a=0;a<t.length;a++)if(r=t[a])for(i=0;i<n.length;i++){var c=void 0;c="border"===r?r+n[i]+"Width":r+n[i],o+=parseFloat(b(e,c))||0}return o}function D(e){return null!=e&&e==e.window}var w={};function M(e,t,n){if(D(e))return"width"===t?w.viewportWidth(e):w.viewportHeight(e);if(9===e.nodeType)return"width"===t?w.docWidth(e):w.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,a=(b(e),m(e)),i=0;(null==r||r<=0)&&(r=void 0,(null==(i=b(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=a?k:g);var c=void 0!==r||a,s=r||i;if(n===g)return c?s-_(e,["border","padding"],o):i;if(c){var l=n===O?-_(e,["border"],o):_(e,["margin"],o);return s+(n===k?0:l)}return i+_(e,y.slice(n),o)}v(["Width","Height"],function(e){w["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],w["viewport"+e](n))},w["viewport"+e]=function(t){var n="client"+e,o=t.document,r=o.body,a=o.documentElement[n];return"CSS1Compat"===o.compatMode&&a||r&&r[n]||a}});var S={position:"absolute",visibility:"hidden",display:"block"};function j(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=M.apply(void 0,n):function(e,t,n){var o={},r=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(o[a]=r[a],r[a]=t[a]);for(a in n.call(e),t)t.hasOwnProperty(a)&&(r[a]=o[a])}(e,S,function(){t=M.apply(void 0,n)}),t}function C(e,t,n){var o=n;if("object"!==(void 0===t?"undefined":r(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):b(e,t);for(var a in t)t.hasOwnProperty(a)&&C(e,a,t[a])}v(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);w["outer"+t]=function(t,n){return t&&j(t,e,n?0:k)};var n="width"===e?["Left","Right"]:["Top","Bottom"];w[e]=function(t,o){if(void 0===o)return t&&j(t,e,g);if(t){b(t);return m(t)&&(o+=_(t,["padding","border"],n)),C(t,e,o)}}}),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);!function(e,t){"static"===C(e,"position")&&(e.style.position="relative");var n=s(e),o={},r=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r=parseFloat(C(e,a))||0,o[a]=r+t[a]-n[a]);C(e,o)}(e,t)},isWindow:D,each:v,css:C,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(D(e)){if(void 0===t)return i(e);window.scrollTo(t,c(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(D(e)){if(void 0===t)return c(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},w)},function(e,t,n){"use strict";var o=n(103);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,i=n.alignWithTop,c=n.alignWithLeft,s=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var h=o.isWindow(t),f=o.offset(e),p=o.outerHeight(e),b=o.outerWidth(e),v=void 0,m=void 0,y=void 0,g=void 0,O=void 0,k=void 0,_=void 0,D=void 0,w=void 0,M=void 0;h?(_=t,M=o.height(_),w=o.width(_),D={left:o.scrollLeft(_),top:o.scrollTop(_)},O={left:f.left-D.left-l,top:f.top-D.top-s},k={left:f.left+b-(D.left+w)+d,top:f.top+p-(D.top+M)+u},g=D):(v=o.offset(t),m=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:f.left-(v.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-l,top:f.top-(v.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-s},k={left:f.left+b-(v.left+y+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:f.top+p-(v.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),O.top<0||k.top>0?!0===i?o.scrollTop(t,g.top+O.top):!1===i?o.scrollTop(t,g.top+k.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top):a||((i=void 0===i||!!i)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+k.top)),r&&(O.left<0||k.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+k.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left):a||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+k.left)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=z(n(44)),i=z(n(26)),c=z(n(37)),s=z(n(73)),l=n(39),u=n(52),d=z(n(27)),h=z(n(147)),f=z(n(69)),p=z(n(111)),b=n(43),v=z(n(48)),m=z(n(162)),y=z(n(267)),g=n(264),O=z(g),k=z(n(262)),_=z(n(161)),D=z(n(163)),w=z(n(261)),M=z(n(106)),S=z(n(95)),j=z(n(70)),C=z(n(64)),P=z(n(80)),E=n(33);function z(e){return e&&e.__esModule?e:{default:e}}function T(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var I=23,x="prev",H="next",N="month_selection",R="year_selection",L=(0,l.forbidExtraProps)((0,a.default)({},u.withStylesPropTypes,{enableOutsideDays:c.default.bool,numberOfMonths:c.default.number,orientation:j.default,withPortal:c.default.bool,onOutsideClick:c.default.func,hidden:c.default.bool,initialVisibleMonth:c.default.func,firstDayOfWeek:C.default,renderCalendarInfo:c.default.func,calendarInfoPosition:P.default,hideKeyboardShortcutsPanel:c.default.bool,daySize:l.nonNegativeInteger,isRTL:c.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:c.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:c.default.node,navNext:c.default.node,noNavButtons:c.default.bool,onPrevMonthClick:c.default.func,onNextMonthClick:c.default.func,onMonthChange:c.default.func,onYearChange:c.default.func,onMultiplyScrollableMonths:c.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),modifiers:c.default.objectOf(c.default.objectOf(S.default)),renderCalendarDay:c.default.func,renderDayContents:c.default.func,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,isFocused:c.default.bool,getFirstFocusableDay:c.default.func,onBlur:c.default.func,showKeyboardShortcuts:c.default.bool,monthFormat:c.default.string,weekDayFormat:c.default.string,phrases:c.default.shape((0,v.default)(b.DayPickerPhrases)),dayAriaLabelFormat:c.default.string})),A=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:E.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){return function(){}}(),hidden:!1,initialVisibleMonth:function(){return function(){return(0,d.default)()}}(),firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:E.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:E.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){return function(){}}(),onNextMonthClick:function(){return function(){}}(),onMonthChange:function(){return function(){}}(),onYearChange:function(){return function(){}}(),onMultiplyScrollableMonths:function(){return function(){}}(),renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){return function(){}}(),onDayMouseEnter:function(){return function(){}}(),onDayMouseLeave:function(){return function(){}}(),isFocused:!1,getFirstFocusableDay:null,onBlur:function(){return function(){}}(),showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:b.DayPickerPhrases,dayAriaLabelFormat:void 0},F=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=e.hidden?(0,d.default)():e.initialVisibleMonth(),r=o.clone().startOf("month");e.getFirstFocusableDay&&(r=e.getFirstFocusableDay(o));var a=e.horizontalMonthPadding,i=e.isRTL&&n.isHorizontal()?-(0,_.default)(e.daySize,a):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:o,monthTransition:null,translationValue:i,scrollableMonthMultiple:1,calendarMonthWidth:(0,_.default)(e.daySize,a),focusedDate:!e.hidden||e.isFocused?r:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){return function(){}}(),isTouchDevice:(0,f.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(o),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,h.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentDidMount",value:function(){return function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,f.default)(),calendarInfoWidth:(0,D.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,f.default)()}),this.setCalendarMonthWeeks(e)}}()},{key:"componentWillReceiveProps",value:function(){return function(e){var t=e.hidden,n=e.isFocused,o=e.showKeyboardShortcuts,r=e.onBlur,a=e.renderMonthText,i=e.horizontalMonthPadding,c=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var s=this.props,l=s.daySize,u=s.isFocused,d=s.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,_.default)(e.daySize,i)}),n!==u)if(n){var h=this.getFocusedDay(c),f=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(f=r),this.setState({showKeyboardShortcuts:o,onKeyboardShortcutsPanelClose:f,focusedDate:h,withMouseInteractions:!1})}else this.setState({focusedDate:null});a!==d&&this.setState({monthTitleHeight:null})}}()},{key:"shouldComponentUpdate",value:function(){return function(e,t){return(0,s.default)(this,e,t)}}()},{key:"componentWillUpdate",value:function(){return function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout(function(){var t=e.state.calendarInfoWidth,n=(0,D.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})},t))}}()},{key:"componentDidUpdate",value:function(){return function(e){var t=this.props,n=t.orientation,o=t.daySize,r=t.isFocused,a=t.numberOfMonths,i=this.state,c=i.focusedDate,s=i.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||o!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,a+1),u=s+Math.max.apply(Math,[0].concat(T(l)))*(o-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!r||c||this.container.focus()}}()},{key:"componentWillUnmount",value:function(){return function(){clearTimeout(this.setCalendarInfoWidthTimeout)}}()},{key:"onKeyDown",value:function(){return function(e){e.stopPropagation(),E.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}}()},{key:"onFinalKeyDown",value:function(){return function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,o=t.isRTL,r=this.state,a=r.focusedDate,i=r.showKeyboardShortcuts;if(a){var c=a.clone(),s=!1,l=(0,w.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),c.subtract(1,"week"),s=this.maybeTransitionPrevMonth(c);break;case"ArrowLeft":e.preventDefault(),o?c.add(1,"day"):c.subtract(1,"day"),s=this.maybeTransitionPrevMonth(c);break;case"Home":e.preventDefault(),c.startOf("week"),s=this.maybeTransitionPrevMonth(c);break;case"PageUp":e.preventDefault(),c.subtract(1,"month"),s=this.maybeTransitionPrevMonth(c);break;case"ArrowDown":e.preventDefault(),c.add(1,"week"),s=this.maybeTransitionNextMonth(c);break;case"ArrowRight":e.preventDefault(),o?c.subtract(1,"day"):c.add(1,"day"),s=this.maybeTransitionNextMonth(c);break;case"End":e.preventDefault(),c.endOf("week"),s=this.maybeTransitionNextMonth(c);break;case"PageDown":e.preventDefault(),c.add(1,"month"),s=this.maybeTransitionNextMonth(c);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":i?this.closeKeyboardShortcutsPanel():n()}s||this.setState({focusedDate:c})}}}()},{key:"onPrevMonthClick",value:function(){return function(e,t){var n=this.props,o=n.daySize,r=n.isRTL,a=n.numberOfMonths,i=this.state,c=i.calendarMonthWidth,s=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=s+this.calendarMonthWeeks[0]*(o-1)+1;else if(this.isHorizontal()){l=c,r&&(l=-2*c);var u=this.calendarMonthWeeks.slice(0,a),d=s+Math.max.apply(Math,[0].concat(T(u)))*(o-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:x,translationValue:l,focusedDate:null,nextFocusedDate:e})}}()},{key:"onMonthChange",value:function(){return function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:N,translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}}()},{key:"onYearChange",value:function(){return function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:R,translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}}()},{key:"onNextMonthClick",value:function(){return function(e,t){var n=this.props,o=n.isRTL,r=n.numberOfMonths,a=n.daySize,i=this.state,c=i.calendarMonthWidth,s=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(s+this.calendarMonthWeeks[1]*(a-1)+1)),this.isHorizontal()){l=-c,o&&(l=0);var u=this.calendarMonthWeeks.slice(2,r+2),d=s+Math.max.apply(Math,[0].concat(T(u)))*(a-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:H,translationValue:l,focusedDate:null,nextFocusedDate:e})}}()},{key:"getFirstDayOfWeek",value:function(){return function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}}()},{key:"getFirstVisibleIndex",value:function(){return function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===E.VERTICAL_SCROLLABLE)return 0;var n=1;return t===x?n-=1:t===H&&(n+=1),n}}()},{key:"getFocusedDay",value:function(){return function(e){var t=this.props,n=t.getFirstFocusableDay,o=t.numberOfMonths,r=void 0;return n&&(r=n(e)),!e||r&&(0,M.default)(r,e,o)||(r=e.clone().startOf("month")),r}}()},{key:"setMonthTitleHeight",value:function(){return function(e){var t=this;this.setState({monthTitleHeight:e},function(){t.calculateAndSetDayPickerHeight()})}}()},{key:"setCalendarMonthWeeks",value:function(){return function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),o=this.getFirstDayOfWeek(),r=0;r<t+2;r+=1){var a=(0,k.default)(n,o);this.calendarMonthWeeks.push(a),n=n.add(1,"months")}}}()},{key:"setContainerRef",value:function(){return function(e){this.container=e}}()},{key:"setCalendarInfoRef",value:function(){return function(e){this.calendarInfo=e}}()},{key:"setTransitionContainerRef",value:function(){return function(e){this.transitionContainer=e}}()},{key:"maybeTransitionNextMonth",value:function(){return function(e){var t=this.props.numberOfMonths,n=this.state,o=n.currentMonth,r=n.focusedDate,a=e.month(),i=r.month(),c=(0,M.default)(e,o,t);return a!==i&&!c&&(this.onNextMonthClick(e),!0)}}()},{key:"maybeTransitionPrevMonth",value:function(){return function(e){var t=this.props.numberOfMonths,n=this.state,o=n.currentMonth,r=n.focusedDate,a=e.month(),i=r.month(),c=(0,M.default)(e,o,t);return a!==i&&!c&&(this.onPrevMonthClick(e),!0)}}()},{key:"multiplyScrollableMonths",value:function(){return function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState(function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}})}}()},{key:"isHorizontal",value:function(){return function(){return this.props.orientation===E.HORIZONTAL_ORIENTATION}}()},{key:"isVertical",value:function(){return function(){var e=this.props.orientation;return e===E.VERTICAL_ORIENTATION||e===E.VERTICAL_SCROLLABLE}}()},{key:"updateStateAfterMonthTransition",value:function(){return function(){var e=this,t=this.props,n=t.onPrevMonthClick,o=t.onNextMonthClick,r=t.numberOfMonths,a=t.onMonthChange,i=t.onYearChange,c=t.isRTL,s=this.state,l=s.currentMonth,u=s.monthTransition,d=s.focusedDate,h=s.nextFocusedDate,f=s.withMouseInteractions,p=s.calendarMonthWidth;if(u){var b=l.clone(),v=this.getFirstDayOfWeek();if(u===x){b.subtract(1,"month"),n&&n(b);var m=b.clone().subtract(1,"month"),y=(0,k.default)(m,v);this.calendarMonthWeeks=[y].concat(T(this.calendarMonthWeeks.slice(0,-1)))}else if(u===H){b.add(1,"month"),o&&o(b);var g=b.clone().add(r,"month"),O=(0,k.default)(g,v);this.calendarMonthWeeks=[].concat(T(this.calendarMonthWeeks.slice(1)),[O])}else u===N?a&&a(b):u===R&&i&&i(b);var _=null;h?_=h:d||f||(_=this.getFocusedDay(b)),this.setState({currentMonth:b,monthTransition:null,translationValue:c&&this.isHorizontal()?-p:0,nextFocusedDate:null,focusedDate:_},function(){if(f){var t=(0,w.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}})}}}()},{key:"adjustDayPickerHeight",value:function(){return function(e){var t=this,n=e+I;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout(function(){t.setState({hasSetHeight:!0})},0),this.calendarMonthGridHeight=n)}}()},{key:"calculateAndSetDayPickerHeight",value:function(){return function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,o=this.state.monthTitleHeight,r=this.calendarMonthWeeks.slice(1,n+1),a=o+Math.max.apply(Math,[0].concat(T(r)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(a)}}()},{key:"openKeyboardShortcutsPanel",value:function(){return function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}}()},{key:"closeKeyboardShortcutsPanel",value:function(){return function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}}()},{key:"renderNavigation",value:function(){return function(){var e=this,t=this.props,n=t.navPrev,o=t.navNext,r=t.noNavButtons,a=t.orientation,c=t.phrases,s=t.isRTL;if(r)return null;var l=void 0;return l=a===E.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},i.default.createElement(y.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:o,orientation:a,phrases:c,isRTL:s})}}()},{key:"renderWeekHeader",value:function(){return function(e){var t=this.props,n=t.daySize,r=t.horizontalMonthPadding,a=t.orientation,c=t.weekDayFormat,s=t.styles,l=this.state.calendarMonthWidth,h=a===E.VERTICAL_SCROLLABLE,f={left:e*l},p={marginLeft:-l/2},b={};this.isHorizontal()?b=f:this.isVertical()&&!h&&(b=p);for(var v=this.getFirstDayOfWeek(),m=[],y=0;y<7;y+=1)m.push(i.default.createElement("li",o({key:y},(0,u.css)(s.DayPicker_weekHeader_li,{width:n})),i.default.createElement("small",null,(0,d.default)().day((y+v)%7).format(c))));return i.default.createElement("div",o({},(0,u.css)(s.DayPicker_weekHeader,this.isVertical()&&s.DayPicker_weekHeader__vertical,h&&s.DayPicker_weekHeader__verticalScrollable,b,{padding:"0 "+String(r)+"px"}),{key:"week-"+String(e)}),i.default.createElement("ul",(0,u.css)(s.DayPicker_weekHeader_ul),m))}}()},{key:"render",value:function(){return function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,r=t.currentMonth,a=t.monthTransition,c=t.translationValue,s=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,h=t.isTouchDevice,f=t.hasSetHeight,b=t.calendarInfoWidth,v=t.monthTitleHeight,y=this.props,k=y.enableOutsideDays,_=y.numberOfMonths,D=y.orientation,w=y.modifiers,M=y.withPortal,S=y.onDayClick,j=y.onDayMouseEnter,C=y.onDayMouseLeave,P=y.firstDayOfWeek,z=y.renderMonthText,T=y.renderCalendarDay,I=y.renderDayContents,x=y.renderCalendarInfo,H=y.renderMonthElement,N=y.calendarInfoPosition,R=y.hideKeyboardShortcutsPanel,L=y.onOutsideClick,A=y.monthFormat,F=y.daySize,V=y.isFocused,B=y.isRTL,K=y.styles,W=y.theme,U=y.phrases,Y=y.verticalHeight,$=y.dayAriaLabelFormat,G=y.noBorder,q=y.transitionDuration,Z=y.verticalBorderSpacing,X=y.horizontalMonthPadding,Q=W.reactDates.spacing.dayPickerHorizontalPadding,J=this.isHorizontal(),ee=this.isVertical()?1:_,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var oe=D===E.VERTICAL_SCROLLABLE,re=void 0;J?re=this.calendarMonthGridHeight:!this.isVertical()||oe||M||(re=Y||1.75*n);var ae=null!==a,ie=!ae&&V,ce=g.BOTTOM_RIGHT;this.isVertical()&&(ce=M?g.TOP_LEFT:g.TOP_RIGHT);var se=J&&f,le=N===E.INFO_POSITION_TOP,ue=N===E.INFO_POSITION_BOTTOM,de=N===E.INFO_POSITION_BEFORE,he=N===E.INFO_POSITION_AFTER,fe=de||he,pe=x&&i.default.createElement("div",o({ref:this.setCalendarInfoRef},(0,u.css)(fe&&K.DayPicker_calendarInfo__horizontal)),x()),be=x&&fe?b:0,ve=this.getFirstVisibleIndex(),me=n*_+2*Q,ye=me+be+1,ge={width:J&&me,height:re},Oe={width:J&&me},ke={width:J&&ye,marginLeft:J&&M?-ye/2:null,marginTop:J&&M?-n/2:null};return i.default.createElement("div",o({role:"application","aria-label":U.calendarLabel},(0,u.css)(K.DayPicker,J&&K.DayPicker__horizontal,oe&&K.DayPicker__verticalScrollable,J&&M&&K.DayPicker_portal__horizontal,this.isVertical()&&M&&K.DayPicker_portal__vertical,ke,!v&&K.DayPicker__hidden,!G&&K.DayPicker__withBorder)),i.default.createElement(p.default,{onOutsideClick:L},(le||de)&&pe,i.default.createElement("div",(0,u.css)(Oe,fe&&J&&K.DayPicker_wrapper__horizontal),i.default.createElement("div",o({},(0,u.css)(K.DayPicker_weekHeaders,J&&K.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),i.default.createElement("div",o({},(0,u.css)(K.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!oe&&this.renderNavigation(),i.default.createElement("div",o({},(0,u.css)(K.DayPicker_transitionContainer,se&&K.DayPicker_transitionContainer__horizontal,this.isVertical()&&K.DayPicker_transitionContainer__vertical,oe&&K.DayPicker_transitionContainer__verticalScrollable,ge),{ref:this.setTransitionContainerRef}),i.default.createElement(m.default,{setMonthTitleHeight:v?void 0:this.setMonthTitleHeight,translationValue:c,enableOutsideDays:k,firstVisibleMonthIndex:ve,initialMonth:r,isAnimating:ae,modifiers:w,orientation:D,numberOfMonths:_*s,onDayClick:S,onDayMouseEnter:j,onDayMouseLeave:C,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:z,renderCalendarDay:T,renderDayContents:I,renderMonthElement:H,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:A,daySize:F,firstDayOfWeek:P,isFocused:ie,focusedDate:l,phrases:U,isRTL:B,dayAriaLabelFormat:$,transitionDuration:q,verticalBorderSpacing:Z,horizontalMonthPadding:X}),oe&&this.renderNavigation()),!h&&!R&&i.default.createElement(O.default,{block:this.isVertical()&&!M,buttonLocation:ce,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:U}))),(ue||he)&&pe))}}()}]),t}();F.propTypes=L,F.defaultProps=A,t.PureDayPicker=F,t.default=(0,u.withStyles)(function(e){var t=e.reactDates,n=t.color,o=t.font,r=t.noScrollBarOnVerticalScrollable,i=t.spacing,c=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:i.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:c+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:o.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,a.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}})(F)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,o.default)(e,i))return!1;var c=t.clone().add(n-1,"months").endOf("month");a&&(c=c.endOf("week"));return!(0,r.default)(e,c)};var o=a(n(78)),r=a(n(90));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default.isMoment(e)?e:(0,r.default)(e,t);return n?n.format(a.DISPLAY_FORMAT):null};var o=i(n(27)),r=i(n(71)),a=n(33);function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";function o(e,t,n){var o="number"==typeof t,r="number"==typeof n,a="number"==typeof e;return o&&r?t+n:o&&a?t+e:o?t:r&&a?n+e:r?n:a?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,r=n.lineHeight,a=n.lineHeight_small,i=e.spacing,c=i.inputPadding,s=i.displayTextPaddingVertical,l=i.displayTextPaddingTop,u=i.displayTextPaddingBottom,d=i.displayTextPaddingVertical_small,h=i.displayTextPaddingTop_small,f=i.displayTextPaddingBottom_small,p=t?a:r,b=t?o(d,h,f):o(s,l,u);return parseInt(p,10)+2*c+b}},function(e,t,n){"use strict";var o=n(65),r=n(159),a=n(158),i=n(278),c=a();o(c,{getPolyfill:a,implementation:r,shim:i}),e.exports=c},function(e,t,n){e.exports=n(283)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var o=function(e){};e.exports=function(e,t,n,r,a,i,c,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,i,c,s],d=0;(l=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var o=n(114),r=n(113),a=n(112);e.exports=function(){function e(e,t,n,o,i,c){c!==a&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=y(n(44)),i=y(n(26)),c=y(n(37)),s=y(n(73)),l=y(n(58)),u=n(39),d=n(52),h=y(n(27)),f=n(43),p=y(n(48)),b=y(n(165)),v=y(n(95)),m=n(33);function y(e){return e&&e.__esModule?e:{default:e}}var g=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:c.default.bool,modifiers:v.default,isFocused:c.default.bool,tabIndex:c.default.oneOf([0,-1]),onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,renderDayContents:c.default.func,ariaLabelFormat:c.default.string,phrases:c.default.shape((0,p.default)(f.CalendarDayPhrases))})),O={day:(0,h.default)(),daySize:m.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){return function(){}}(),onDayMouseEnter:function(){return function(){}}(),onDayMouseLeave:function(){return function(){}}(),renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:f.CalendarDayPhrases},k=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o)));return a.setButtonRef=a.setButtonRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"shouldComponentUpdate",value:function(){return function(e,t){return(0,s.default)(this,e,t)}}()},{key:"componentDidUpdate",value:function(){return function(e){var t=this.props,n=t.isFocused,o=t.tabIndex;0===o&&(n||o!==e.tabIndex)&&this.buttonRef.focus()}}()},{key:"onDayClick",value:function(){return function(e,t){(0,this.props.onDayClick)(e,t)}}()},{key:"onDayMouseEnter",value:function(){return function(e,t){(0,this.props.onDayMouseEnter)(e,t)}}()},{key:"onDayMouseLeave",value:function(){return function(e,t){(0,this.props.onDayMouseLeave)(e,t)}}()},{key:"onKeyDown",value:function(){return function(e,t){var n=this.props.onDayClick,o=t.key;"Enter"!==o&&" "!==o||n(e,t)}}()},{key:"setButtonRef",value:function(){return function(e){this.buttonRef=e}}()},{key:"render",value:function(){return function(){var e=this,t=this.props,n=t.day,r=t.ariaLabelFormat,a=t.daySize,c=t.isOutsideDay,s=t.modifiers,l=t.renderDayContents,u=t.tabIndex,h=t.styles,f=t.phrases;if(!n)return i.default.createElement("td",null);var p=(0,b.default)(n,r,a,s,f),v=p.daySizeStyles,m=p.useDefaultCursor,y=p.selected,g=p.hoveredSpan,O=p.isOutsideRange,k=p.ariaLabel;return i.default.createElement("td",o({},(0,d.css)(h.CalendarDay,m&&h.CalendarDay__defaultCursor,h.CalendarDay__default,c&&h.CalendarDay__outside,s.has("today")&&h.CalendarDay__today,s.has("first-day-of-week")&&h.CalendarDay__firstDayOfWeek,s.has("last-day-of-week")&&h.CalendarDay__lastDayOfWeek,s.has("hovered-offset")&&h.CalendarDay__hovered_offset,s.has("highlighted-calendar")&&h.CalendarDay__highlighted_calendar,s.has("blocked-minimum-nights")&&h.CalendarDay__blocked_minimum_nights,s.has("blocked-calendar")&&h.CalendarDay__blocked_calendar,g&&h.CalendarDay__hovered_span,s.has("selected-span")&&h.CalendarDay__selected_span,s.has("last-in-range")&&h.CalendarDay__last_in_range,s.has("selected-start")&&h.CalendarDay__selected_start,s.has("selected-end")&&h.CalendarDay__selected_end,y&&h.CalendarDay__selected,O&&h.CalendarDay__blocked_out_of_range,v),{role:"button",ref:this.setButtonRef,"aria-label":k,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,s):n.format("D"))}}()}]),t}();k.propTypes=g,k.defaultProps=O,t.PureCalendarDay=k,t.default=(0,d.withStyles)(function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}})(k)},function(e,t,n){var o=n(74).call(Function.call,Object.prototype.hasOwnProperty),r=Object.assign;e.exports=function(e,t){if(r)return r(e,t);for(var n in t)o(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";var o=Function.prototype.toString,r=/^\s*class\b/,a=function(e){try{var t=o.call(e);return r.test(t)}catch(e){return!1}},i=Object.prototype.toString,c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(c)return function(e){try{return!a(e)&&(o.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=i.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(49),r=n.n(o),a=n(26),i=n.n(a),c=n(42),s=n.n(c),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.a.Component),u(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),r.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}();d.propTypes={children:s.a.node.isRequired,node:s.a.any};var h=d,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.a.Component),f(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){r.a.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=i.a.cloneElement(this.props.children)),this.portal=r.a.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(),b=p;p.propTypes={children:s.a.node.isRequired,node:s.a.any};var v=r.a.createPortal?h:b,m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var y=27,g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.a.Component),m(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?i.a.createElement(v,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===y&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}();g.propTypes={children:s.a.func.isRequired,defaultOpen:s.a.bool,node:s.a.any,openByClickOn:s.a.element,closeOnEsc:s.a.bool,closeOnOutsideClick:s.a.bool,onOpen:s.a.func,onClose:s.a.func},g.defaultProps={onOpen:function(){},onClose:function(){}};var O=g;n.d(t,"Portal",function(){return v}),n.d(t,"PortalWithState",function(){return O})},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=m(n(44)),a=m(n(26)),i=m(n(37)),c=n(39),s=n(52),l=n(43),u=m(n(48)),d=m(n(148)),h=m(n(81)),f=m(n(77)),p=m(n(142)),b=m(n(68)),v=n(33);function m(e){return e&&e.__esModule?e:{default:e}}var y=(0,c.forbidExtraProps)((0,r.default)({},s.withStylesPropTypes,{id:i.default.string.isRequired,placeholder:i.default.string,displayValue:i.default.string,screenReaderMessage:i.default.string,focused:i.default.bool,isFocused:i.default.bool,disabled:i.default.bool,required:i.default.bool,readOnly:i.default.bool,openDirection:b.default,showCaret:i.default.bool,showClearDate:i.default.bool,customCloseIcon:i.default.node,showDefaultInputIcon:i.default.bool,inputIconPosition:h.default,customInputIcon:i.default.node,isRTL:i.default.bool,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,onChange:i.default.func,onClearDate:i.default.func,onFocus:i.default.func,onKeyDownShiftTab:i.default.func,onKeyDownTab:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,phrases:i.default.shape((0,u.default)(l.SingleDatePickerInputPhrases))})),g={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:v.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:v.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){return function(){}}(),onClearDate:function(){return function(){}}(),onFocus:function(){return function(){}}(),onKeyDownShiftTab:function(){return function(){}}(),onKeyDownTab:function(){return function(){}}(),onKeyDownArrowDown:function(){return function(){}}(),onKeyDownQuestionMark:function(){return function(){}}(),phrases:l.SingleDatePickerInputPhrases};function O(e){var t=e.id,n=e.placeholder,r=e.displayValue,i=e.focused,c=e.isFocused,l=e.disabled,u=e.required,h=e.readOnly,b=e.showCaret,m=e.showClearDate,y=e.showDefaultInputIcon,g=e.inputIconPosition,O=e.phrases,k=e.onClearDate,_=e.onChange,D=e.onFocus,w=e.onKeyDownShiftTab,M=e.onKeyDownTab,S=e.onKeyDownArrowDown,j=e.onKeyDownQuestionMark,C=e.screenReaderMessage,P=e.customCloseIcon,E=e.customInputIcon,z=e.openDirection,T=e.isRTL,I=e.noBorder,x=e.block,H=e.small,N=e.regular,R=e.verticalSpacing,L=e.styles,A=E||a.default.createElement(p.default,(0,s.css)(L.SingleDatePickerInput_calendarIcon_svg)),F=P||a.default.createElement(f.default,(0,s.css)(L.SingleDatePickerInput_clearDate_svg,H&&L.SingleDatePickerInput_clearDate_svg__small)),V=C||O.keyboardNavigationInstructions,B=(y||null!==E)&&a.default.createElement("button",o({},(0,s.css)(L.SingleDatePickerInput_calendarIcon),{type:"button",disabled:l,"aria-label":O.focusStartDate,onClick:D}),A);return a.default.createElement("div",(0,s.css)(L.SingleDatePickerInput,l&&L.SingleDatePickerInput__disabled,T&&L.SingleDatePickerInput__rtl,!I&&L.SingleDatePickerInput__withBorder,x&&L.SingleDatePickerInput__block,m&&L.SingleDatePickerInput__showClearDate),g===v.ICON_BEFORE_POSITION&&B,a.default.createElement(d.default,{id:t,placeholder:n,displayValue:r,screenReaderMessage:V,focused:i,isFocused:c,disabled:l,required:u,readOnly:h,showCaret:b,onChange:_,onFocus:D,onKeyDownShiftTab:w,onKeyDownTab:M,onKeyDownArrowDown:S,onKeyDownQuestionMark:j,openDirection:z,verticalSpacing:R,small:H,regular:N,block:x}),m&&a.default.createElement("button",o({},(0,s.css)(L.SingleDatePickerInput_clearDate,H&&L.SingleDatePickerInput_clearDate__small,!P&&L.SingleDatePickerInput_clearDate__default,!r&&L.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":O.clearDate,disabled:l,onMouseEnter:this&&this.onClearDateMouseEnter,onMouseLeave:this&&this.onClearDateMouseLeave,onClick:k}),F),g===v.ICON_AFTER_POSITION&&B)}O.propTypes=y,O.defaultProps=g,t.default=(0,s.withStyles)(function(e){var t=e.reactDates,n=t.border,o=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:o.background},SingleDatePickerInput__withBorder:{borderColor:o.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:"rtl"},SingleDatePickerInput__disabled:{backgroundColor:o.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:o.core.border,borderRadius:"50%"},":hover":{background:o.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:o.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:o.core.grayLight,height:15,width:14,verticalAlign:"middle"}}})(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=p(n(37)),r=p(n(58)),a=n(39),i=n(43),c=p(n(48)),s=p(n(81)),l=p(n(155)),u=p(n(154)),d=p(n(68)),h=p(n(64)),f=p(n(80));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:r.default.momentObj,onDateChange:o.default.func.isRequired,focused:o.default.bool,onFocusChange:o.default.func.isRequired,id:o.default.string.isRequired,placeholder:o.default.string,disabled:o.default.bool,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDate:o.default.bool,customCloseIcon:o.default.node,showDefaultInputIcon:o.default.bool,inputIconPosition:s.default,customInputIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,verticalSpacing:a.nonNegativeInteger,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,initialVisibleMonth:o.default.func,firstDayOfWeek:h.default,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDate:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:f.default,hideKeyboardShortcutsPanel:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,horizontalMonthPadding:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,onClose:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.SingleDatePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{!o&&c.return&&c.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=S(n(44)),i=S(n(26)),c=S(n(37)),s=S(n(58)),l=n(39),u=S(n(27)),d=S(n(110)),h=S(n(69)),f=n(43),p=S(n(48)),b=S(n(72)),v=S(n(90)),m=S(n(139)),y=S(n(106)),g=S(n(94)),O=S(n(92)),k=S(n(70)),_=S(n(64)),D=S(n(80)),w=n(33),M=S(n(105));function S(e){return e&&e.__esModule?e:{default:e}}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=(0,l.forbidExtraProps)({date:s.default.momentObj,onDateChange:c.default.func,focused:c.default.bool,onFocusChange:c.default.func,onClose:c.default.func,keepOpenOnDateSelect:c.default.bool,isOutsideRange:c.default.func,isDayBlocked:c.default.func,isDayHighlighted:c.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:c.default.bool,numberOfMonths:c.default.number,orientation:k.default,withPortal:c.default.bool,initialVisibleMonth:c.default.func,firstDayOfWeek:_.default,hideKeyboardShortcutsPanel:c.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:c.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:c.default.node,navNext:c.default.node,onPrevMonthClick:c.default.func,onNextMonthClick:c.default.func,onOutsideClick:c.default.func,renderCalendarDay:c.default.func,renderDayContents:c.default.func,renderCalendarInfo:c.default.func,calendarInfoPosition:D.default,onBlur:c.default.func,isFocused:c.default.bool,showKeyboardShortcuts:c.default.bool,monthFormat:c.default.string,weekDayFormat:c.default.string,phrases:c.default.shape((0,p.default)(f.DayPickerPhrases)),dayAriaLabelFormat:c.default.string,isRTL:c.default.bool}),P={date:void 0,onDateChange:function(){return function(){}}(),focused:!1,onFocusChange:function(){return function(){}}(),onClose:function(){return function(){}}(),keepOpenOnDateSelect:!1,isOutsideRange:function(){return function(){}}(),isDayBlocked:function(){return function(){}}(),isDayHighlighted:function(){return function(){}}(),renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:w.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:w.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){return function(){}}(),onNextMonthClick:function(){return function(){}}(),onOutsideClick:function(){return function(){}}(),renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:w.INFO_POSITION_BOTTOM,onBlur:function(){return function(){}}(),isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:f.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(){return function(e){return n.isToday(e)}}(),blocked:function(){return function(e){return n.isBlocked(e)}}(),"blocked-calendar":function(){return function(t){return e.isDayBlocked(t)}}(),"blocked-out-of-range":function(){return function(t){return e.isOutsideRange(t)}}(),"highlighted-calendar":function(){return function(t){return e.isDayHighlighted(t)}}(),valid:function(){return function(e){return!n.isBlocked(e)}}(),hovered:function(){return function(e){return n.isHovered(e)}}(),selected:function(){return function(e){return n.isSelected(e)}}(),"first-day-of-week":function(){return function(e){return n.isFirstDayOfWeek(e)}}(),"last-day-of-week":function(){return function(e){return n.isLastDayOfWeek(e)}}()};var o=n.getStateForNewMonth(e),r=o.currentMonth,a=o.visibleDays;return n.state={hoverDate:null,currentMonth:r,visibleDays:a},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentDidMount",value:function(){return function(){this.isTouchDevice=(0,h.default)()}}()},{key:"componentWillReceiveProps",value:function(){return function(e){var t=this,n=e.date,o=e.focused,r=e.isOutsideRange,i=e.isDayBlocked,c=e.isDayHighlighted,s=e.initialVisibleMonth,l=e.numberOfMonths,h=e.enableOutsideDays,f=this.props,p=f.isOutsideRange,v=f.isDayBlocked,m=f.isDayHighlighted,y=f.numberOfMonths,g=f.enableOutsideDays,O=f.initialVisibleMonth,k=f.focused,_=f.date,D=this.state.visibleDays,w=!1,M=!1,S=!1;r!==p&&(this.modifiers["blocked-out-of-range"]=function(e){return r(e)},w=!0),i!==v&&(this.modifiers["blocked-calendar"]=function(e){return i(e)},M=!0),c!==m&&(this.modifiers["highlighted-calendar"]=function(e){return c(e)},S=!0);var j=w||M||S;if(l!==y||h!==g||s!==O&&!k&&o){var C=this.getStateForNewMonth(e),P=C.currentMonth;D=C.visibleDays,this.setState({currentMonth:P,visibleDays:D})}var E=o!==k,z={};n!==_&&(z=this.deleteModifier(z,_,"selected"),z=this.addModifier(z,n,"selected")),(E||j)&&(0,d.default)(D).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e);z=t.isBlocked(n)?t.addModifier(z,n,"blocked"):t.deleteModifier(z,n,"blocked"),(E||w)&&(z=r(n)?t.addModifier(z,n,"blocked-out-of-range"):t.deleteModifier(z,n,"blocked-out-of-range")),(E||M)&&(z=i(n)?t.addModifier(z,n,"blocked-calendar"):t.deleteModifier(z,n,"blocked-calendar")),(E||S)&&(z=c(n)?t.addModifier(z,n,"highlighted-calendar"):t.deleteModifier(z,n,"highlighted-calendar"))})});var T=(0,u.default)();(0,b.default)(this.today,T)||(z=this.deleteModifier(z,this.today,"today"),z=this.addModifier(z,T,"today"),this.today=T),Object.keys(z).length>0&&this.setState({visibleDays:(0,a.default)({},D,z)})}}()},{key:"componentWillUpdate",value:function(){return function(){this.today=(0,u.default)()}}()},{key:"onDayClick",value:function(){return function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,o=n.onDateChange,r=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;o(e),r||(a({focused:!1}),i({date:e}))}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,o=t.visibleDays,r=this.deleteModifier({},n,"hovered");r=this.addModifier(r,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},o,r)})}}}()},{key:"onDayMouseLeave",value:function(){return function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var o=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,o)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(1,"month"),u=(0,m.default)(l,1,o);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(l.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n,"month"),u=(0,m.default)(l,1,o),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===w.VERTICAL_SCROLLABLE,a=(0,m.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(r&&(i=r.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,v.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter(function(e){return!t.isBlocked(e)&&(0,v.default)(e,i)});if(u.length>0){var d=o(u,1);i=d[0]}}return i}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,g.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.date,r=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(o?function(){return o}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,m.default)(i,r,a))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,j({},o,(0,a.default)({},r,j({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,m))))}return p}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===w.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,y.default)(t,d,h,i))return e;var f=(0,g.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,j({},o,(0,a.default)({},r,j({},f,i))))},p);else{var b=(0,O.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,j({},b,(0,a.default)({},v,j({},f,m))))}return p}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return(0,b.default)(e,t)}}()},{key:"isSelected",value:function(){return function(e){var t=this.props.date;return(0,b.default)(e,t)}}()},{key:"isToday",value:function(){return function(e){return(0,b.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,h=e.hideKeyboardShortcutsPanel,f=e.daySize,p=e.firstDayOfWeek,b=e.renderCalendarDay,v=e.renderDayContents,m=e.renderCalendarInfo,y=e.renderMonthElement,g=e.calendarInfoPosition,O=e.isFocused,k=e.isRTL,_=e.phrases,D=e.dayAriaLabelFormat,w=e.onBlur,S=e.showKeyboardShortcuts,j=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,E=e.transitionDuration,z=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.visibleDays;return i.default.createElement(M.default,{orientation:n,enableOutsideDays:d,modifiers:H,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:o,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:h,initialVisibleMonth:function(){return x},firstDayOfWeek:p,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:r,renderCalendarDay:b,renderDayContents:v,renderCalendarInfo:m,renderMonthElement:y,calendarInfoPosition:g,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:w,phrases:_,daySize:f,isRTL:k,showKeyboardShortcuts:S,weekDayFormat:j,dayAriaLabelFormat:D,verticalHeight:C,noBorder:P,transitionDuration:E,verticalBorderSpacing:z,horizontalMonthPadding:T})}}()}]),t}();t.default=E,E.propTypes=C,E.defaultProps=P},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!o.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),h=u.clone().endOf("month").hour(12),f=d.clone();if(n)for(var p=0;p<f.weekday();p+=1){var b=f.clone().subtract(p+1,"day");l.unshift(b)}for(;f<h;)l.push(f.clone()),f.add(1,"day");if(n&&0!==f.weekday())for(var v=f.weekday(),m=0;v<7;v+=1,m+=1){var y=f.clone().add(m,"day");l.push(y)}i[(0,r.default)(c)]=l,c=c.clone().add(1,"month")}return i};var o=a(n(27)),r=a(n(92));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!o.default.isMoment(e)||!o.default.isMoment(t))return!1;var n=(0,o.default)(e).add(1,"day");return(0,r.default)(n,t)};var o=a(n(27)),r=a(n(72));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(o=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{!o&&c.return&&c.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=T(n(44)),i=T(n(26)),c=T(n(37)),s=T(n(58)),l=n(39),u=T(n(27)),d=T(n(110)),h=T(n(69)),f=n(43),p=T(n(48)),b=T(n(79)),v=T(n(140)),m=T(n(72)),y=T(n(90)),g=T(n(78)),O=T(n(139)),k=T(n(106)),_=T(n(268)),D=T(n(94)),w=T(n(92)),M=T(n(91)),S=T(n(156)),j=T(n(70)),C=T(n(64)),P=T(n(80)),E=n(33),z=T(n(105));function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=(0,l.forbidExtraProps)({startDate:s.default.momentObj,endDate:s.default.momentObj,onDatesChange:c.default.func,startDateOffset:c.default.func,endDateOffset:c.default.func,focusedInput:S.default,onFocusChange:c.default.func,onClose:c.default.func,keepOpenOnDateSelect:c.default.bool,minimumNights:c.default.number,disabled:M.default,isOutsideRange:c.default.func,isDayBlocked:c.default.func,isDayHighlighted:c.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:c.default.bool,numberOfMonths:c.default.number,orientation:j.default,withPortal:c.default.bool,initialVisibleMonth:c.default.func,hideKeyboardShortcutsPanel:c.default.bool,daySize:l.nonNegativeInteger,noBorder:c.default.bool,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:c.default.node,navNext:c.default.node,noNavButtons:c.default.bool,onPrevMonthClick:c.default.func,onNextMonthClick:c.default.func,onOutsideClick:c.default.func,renderCalendarDay:c.default.func,renderDayContents:c.default.func,renderCalendarInfo:c.default.func,calendarInfoPosition:P.default,firstDayOfWeek:C.default,verticalHeight:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,onBlur:c.default.func,isFocused:c.default.bool,showKeyboardShortcuts:c.default.bool,monthFormat:c.default.string,weekDayFormat:c.default.string,phrases:c.default.shape((0,p.default)(f.DayPickerPhrases)),dayAriaLabelFormat:c.default.string,isRTL:c.default.bool}),H={startDate:void 0,endDate:void 0,onDatesChange:function(){return function(){}}(),startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){return function(){}}(),onClose:function(){return function(){}}(),keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){return function(){}}(),isDayBlocked:function(){return function(){}}(),isDayHighlighted:function(){return function(){}}(),renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:E.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:E.DAY_SIZE,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){return function(){}}(),onNextMonthClick:function(){return function(){}}(),onOutsideClick:function(){return function(){}}(),renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:E.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){return function(){}}(),isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:f.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},N=function(e,t){return t===E.START_DATE?e.chooseAvailableStartDate:t===E.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},R=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=(0,h.default)(),n.today=(0,u.default)(),n.modifiers={today:function(){return function(e){return n.isToday(e)}}(),blocked:function(){return function(e){return n.isBlocked(e)}}(),"blocked-calendar":function(){return function(t){return e.isDayBlocked(t)}}(),"blocked-out-of-range":function(){return function(t){return e.isOutsideRange(t)}}(),"highlighted-calendar":function(){return function(t){return e.isDayHighlighted(t)}}(),valid:function(){return function(e){return!n.isBlocked(e)}}(),"selected-start":function(){return function(e){return n.isStartDate(e)}}(),"selected-end":function(){return function(e){return n.isEndDate(e)}}(),"blocked-minimum-nights":function(){return function(e){return n.doesNotMeetMinimumNights(e)}}(),"selected-span":function(){return function(e){return n.isInSelectedSpan(e)}}(),"last-in-range":function(){return function(e){return n.isLastInRange(e)}}(),hovered:function(){return function(e){return n.isHovered(e)}}(),"hovered-span":function(){return function(e){return n.isInHoveredSpan(e)}}(),"hovered-offset":function(){return function(e){return n.isInHoveredSpan(e)}}(),"after-hovered-start":function(){return function(e){return n.isDayAfterHoveredStartDate(e)}}(),"first-day-of-week":function(){return function(e){return n.isFirstDayOfWeek(e)}}(),"last-day-of-week":function(){return function(e){return n.isLastDayOfWeek(e)}}()};var o=n.getStateForNewMonth(e),r=o.currentMonth,i=o.visibleDays,c=N(e.phrases,e.focusedInput);return n.state={hoverDate:null,currentMonth:r,phrases:(0,a.default)({},e.phrases,{chooseAvailableDate:c}),visibleDays:i},n.onDayClick=n.onDayClick.bind(n),n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.onMultiplyScrollableMonths=n.onMultiplyScrollableMonths.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentWillReceiveProps",value:function(){return function(e){var t=this,n=e.startDate,o=e.endDate,r=e.focusedInput,i=e.minimumNights,c=e.isOutsideRange,s=e.isDayBlocked,l=e.isDayHighlighted,h=e.phrases,f=e.initialVisibleMonth,p=e.numberOfMonths,b=e.enableOutsideDays,v=this.props,y=v.startDate,g=v.endDate,O=v.focusedInput,k=v.minimumNights,_=v.isOutsideRange,D=v.isDayBlocked,w=v.isDayHighlighted,M=v.phrases,S=v.initialVisibleMonth,j=v.numberOfMonths,C=v.enableOutsideDays,P=this.state.visibleDays,z=!1,T=!1,I=!1;c!==_&&(this.modifiers["blocked-out-of-range"]=function(e){return c(e)},z=!0),s!==D&&(this.modifiers["blocked-calendar"]=function(e){return s(e)},T=!0),l!==w&&(this.modifiers["highlighted-calendar"]=function(e){return l(e)},I=!0);var x=z||T||I,H=n!==y,R=o!==g,L=r!==O;if(p!==j||b!==C||f!==S&&!O&&L){var A=this.getStateForNewMonth(e),F=A.currentMonth;P=A.visibleDays,this.setState({currentMonth:F,visibleDays:P})}var V={};if(H&&(V=this.deleteModifier(V,y,"selected-start"),V=this.addModifier(V,n,"selected-start"),y)){var B=y.clone().add(1,"day"),K=y.clone().add(k+1,"days");V=this.deleteModifierFromRange(V,B,K,"after-hovered-start")}if(R&&(V=this.deleteModifier(V,g,"selected-end"),V=this.addModifier(V,o,"selected-end")),(H||R)&&(y&&g&&(V=this.deleteModifierFromRange(V,y,g.clone().add(1,"day"),"selected-span")),n&&o&&(V=this.deleteModifierFromRange(V,n,o.clone().add(1,"day"),"hovered-span"),V=this.addModifierToRange(V,n.clone().add(1,"day"),o,"selected-span"))),!this.isTouchDevice&&H&&n&&!o){var W=n.clone().add(1,"day"),U=n.clone().add(i+1,"days");V=this.addModifierToRange(V,W,U,"after-hovered-start")}if(k>0&&(L||H||i!==k)){var Y=y||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(k,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(k,"days"),"blocked")}(L||x)&&(0,d.default)(P).forEach(function(e){Object.keys(e).forEach(function(e){var n=(0,u.default)(e),o=!1;(L||z)&&(c(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),o=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(L||T)&&(s(n)?(V=t.addModifier(V,n,"blocked-calendar"),o=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=o?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(L||I)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))})}),i>0&&n&&r===E.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(i,"days"),"blocked"));var $=(0,u.default)();if((0,m.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,a.default)({},P,V)}),L||h!==M){var G=N(h,r);this.setState({phrases:(0,a.default)({},h,{chooseAvailableDate:G})})}}}()},{key:"onDayClick",value:function(){return function(e,t){var n=this.props,o=n.keepOpenOnDateSelect,r=n.minimumNights,a=n.onBlur,i=n.focusedInput,c=n.onFocusChange,s=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,h=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var f=this.props,p=f.startDate,v=f.endDate;if(u||d)p=(0,_.default)(u,e),v=(0,_.default)(d,e),o||(c(null),s({startDate:p,endDate:v}));else if(i===E.START_DATE){var m=v&&v.clone().subtract(r,"days"),O=(0,g.default)(m,e)||(0,y.default)(p,v),k=h===E.END_DATE;k&&O||(p=e,O&&(v=null)),k&&!O?(c(null),s({startDate:p,endDate:v})):k||c(E.END_DATE)}else if(i===E.END_DATE){var D=p&&p.clone().add(r,"days");p?(0,b.default)(e,D)?(v=e,o||(c(null),s({startDate:p,endDate:v}))):h!==E.START_DATE&&(p=e,v=null):(v=e,c(E.START_DATE))}l({startDate:p,endDate:v}),a()}}}()},{key:"onDayMouseEnter",value:function(){return function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,o=t.endDate,r=t.focusedInput,i=t.minimumNights,c=t.startDateOffset,s=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,h=null;if(r){var f=c||s,p={};if(f){var b=(0,_.default)(c,e),v=(0,_.default)(s,e,function(e){return e.add(1,"day")});h={start:b,end:v},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,b,v,"hovered-offset")}if(!f){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!o&&r===E.END_DATE){if((0,y.default)(u,n)){var O=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,O,"hovered-span")}if(!this.isBlocked(e)&&(0,y.default)(e,n)){var k=e.clone().add(1,"day");p=this.addModifierToRange(p,n,k,"hovered-span")}}if(!n&&o&&r===E.START_DATE&&((0,g.default)(u,o)&&(p=this.deleteModifierFromRange(p,u,o,"hovered-span")),!this.isBlocked(e)&&(0,g.default)(e,o)&&(p=this.addModifierToRange(p,e,o,"hovered-span"))),n){var D=n.clone().add(1,"day"),w=n.clone().add(i+1,"days");if(p=this.deleteModifierFromRange(p,D,w,"after-hovered-start"),(0,m.default)(e,n)){var M=n.clone().add(1,"day"),S=n.clone().add(i+1,"days");p=this.addModifierToRange(p,M,S,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:h,visibleDays:(0,a.default)({},d,p)})}}}}()},{key:"onDayMouseLeave",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,i=this.state,c=i.hoverDate,s=i.visibleDays,l=i.dateOffset;if(!this.isTouchDevice&&c){var u={};if(u=this.deleteModifier(u,c,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!o&&(0,y.default)(c,n)){var d=c.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&o&&(0,y.default)(o,c)&&(u=this.deleteModifierFromRange(u,c,o,"hovered-span")),n&&(0,m.default)(e,n)){var h=n.clone().add(1,"day"),f=n.clone().add(r+1,"days");u=this.deleteModifierFromRange(u,h,f,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,a.default)({},s,u)})}}}()},{key:"onPrevMonthClick",value:function(){return function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach(function(e){s[e]=c[e]});var l=i.clone().subtract(2,"months"),u=(0,O.default)(l,1,o,!0),d=i.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onNextMonthClick",value:function(){return function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,o=e.enableOutsideDays,r=this.state,i=r.currentMonth,c=r.visibleDays,s={};Object.keys(c).sort().slice(1).forEach(function(e){s[e]=c[e]});var l=i.clone().add(n+1,"month"),u=(0,O.default)(l,1,o,!0),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},function(){t(d.clone())})}}()},{key:"onMonthChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onYearChange",value:function(){return function(e){var t=this.props,n=t.numberOfMonths,o=t.enableOutsideDays,r=t.orientation===E.VERTICAL_SCROLLABLE,a=(0,O.default)(e,n,o,r);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}}()},{key:"onMultiplyScrollableMonths",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,o=this.state,r=o.currentMonth,i=o.visibleDays,c=Object.keys(i).length,s=r.clone().add(c,"month"),l=(0,O.default)(s,t,n,!0);this.setState({visibleDays:(0,a.default)({},i,this.getModifiers(l))})}}()},{key:"getFirstFocusableDay",value:function(){return function(e){var t=this,n=this.props,r=n.startDate,a=n.endDate,i=n.focusedInput,c=n.minimumNights,s=n.numberOfMonths,l=e.clone().startOf("month");if(i===E.START_DATE&&r?l=r.clone():i===E.END_DATE&&!a&&r?l=r.clone().add(c,"days"):i===E.END_DATE&&a&&(l=a.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(s-1,"months").endOf("month"),h=l.clone();!(0,y.default)(h,d);)h=h.clone().add(1,"day"),u.push(h);var f=u.filter(function(e){return!t.isBlocked(e)});f.length>0&&(l=o(f,1)[0])}return l}}()},{key:"getModifiers",value:function(){return function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]={},e[o].forEach(function(e){n[o][(0,D.default)(e)]=t.getModifiersForDay(e)})}),n}}()},{key:"getModifiersForDay",value:function(){return function(e){var t=this;return new Set(Object.keys(this.modifiers).filter(function(n){return t.modifiers[n](e)}))}}()},{key:"getStateForNewMonth",value:function(){return function(e){var t=this,n=e.initialVisibleMonth,o=e.numberOfMonths,r=e.enableOutsideDays,a=e.orientation,i=e.startDate,c=(n||(i?function(){return i}:function(){return t.today}))(),s=a===E.VERTICAL_SCROLLABLE;return{currentMonth:c,visibleDays:this.getModifiers((0,O.default)(c,o,r,s))}}}()},{key:"addModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.add(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.add(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"addModifierToRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.addModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"deleteModifier",value:function(){return function(e,t,n){var o=this.props,r=o.numberOfMonths,i=o.enableOutsideDays,c=o.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,h=r;if(c===E.VERTICAL_SCROLLABLE?h=Object.keys(u).length:(d=d.clone().subtract(1,"month"),h+=2),!t||!(0,k.default)(t,d,h,i))return e;var f=(0,D.default)(t),p=(0,a.default)({},e);if(i)p=Object.keys(u).filter(function(e){return Object.keys(u[e]).indexOf(f)>-1}).reduce(function(t,o){var r=e[o]||u[o],i=new Set(r[f]);return i.delete(n),(0,a.default)({},t,I({},o,(0,a.default)({},r,I({},f,i))))},p);else{var b=(0,w.default)(t),v=e[b]||u[b],m=new Set(v[f]);m.delete(n),p=(0,a.default)({},p,I({},b,(0,a.default)({},v,I({},f,m))))}return p}}()},{key:"deleteModifierFromRange",value:function(){return function(e,t,n,o){for(var r=e,a=t.clone();(0,g.default)(a,n);)r=this.deleteModifier(r,a,o),a=a.clone().add(1,"day");return r}}()},{key:"doesNotMeetMinimumNights",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.isOutsideRange,r=t.focusedInput,a=t.minimumNights;if(r!==E.END_DATE)return!1;if(n){var i=e.diff(n.clone().startOf("day").hour(12),"days");return i<a&&i>=0}return o((0,u.default)(e).subtract(a,"days"))}}()},{key:"isDayAfterHoveredStartDate",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=t.minimumNights,a=(this.state||{}).hoverDate;return!!n&&!o&&!this.isBlocked(e)&&(0,v.default)(a,e)&&r>0&&(0,m.default)(a,n)}}()},{key:"isEndDate",value:function(){return function(e){var t=this.props.endDate;return(0,m.default)(e,t)}}()},{key:"isHovered",value:function(){return function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,m.default)(e,t)}}()},{key:"isInHoveredSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate,r=(this.state||{}).hoverDate,a=!!n&&!o&&(e.isBetween(n,r)||(0,m.default)(r,e)),i=!!o&&!n&&(e.isBetween(r,o)||(0,m.default)(r,e)),c=r&&!this.isBlocked(r);return(a||i)&&c}}()},{key:"isInSelectedSpan",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.endDate;return e.isBetween(n,o)}}()},{key:"isLastInRange",value:function(){return function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,v.default)(e,t)}}()},{key:"isStartDate",value:function(){return function(e){var t=this.props.startDate;return(0,m.default)(e,t)}}()},{key:"isBlocked",value:function(){return function(e){var t=this.props,n=t.isDayBlocked,o=t.isOutsideRange;return n(e)||o(e)||this.doesNotMeetMinimumNights(e)}}()},{key:"isToday",value:function(){return function(e){return(0,m.default)(e,this.today)}}()},{key:"isFirstDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}}()},{key:"isLastDayOfWeek",value:function(){return function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,o=e.monthFormat,r=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,h=e.firstDayOfWeek,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.focusedInput,v=e.renderCalendarDay,m=e.renderDayContents,y=e.renderCalendarInfo,g=e.renderMonthElement,O=e.calendarInfoPosition,k=e.onBlur,_=e.isFocused,D=e.showKeyboardShortcuts,w=e.isRTL,M=e.weekDayFormat,S=e.dayAriaLabelFormat,j=e.verticalHeight,C=e.noBorder,P=e.transitionDuration,E=e.verticalBorderSpacing,T=e.horizontalMonthPadding,I=this.state,x=I.currentMonth,H=I.phrases,N=I.visibleDays;return i.default.createElement(z.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:o,renderMonthText:r,withPortal:u,hidden:!b,initialVisibleMonth:function(){return x},daySize:p,onOutsideClick:l,navPrev:a,navNext:c,noNavButtons:s,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:y,renderMonthElement:g,calendarInfoPosition:O,firstDayOfWeek:h,hideKeyboardShortcutsPanel:f,isFocused:_,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,showKeyboardShortcuts:D,phrases:H,isRTL:w,weekDayFormat:M,dayAriaLabelFormat:S,verticalHeight:j,verticalBorderSpacing:E,noBorder:C,transitionDuration:P,horizontalMonthPadding:T})}}()}]),t}();t.default=R,R.propTypes=x,R.defaultProps=H},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var r=function(){return function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M107.2 1392.9h241.1v-241.1H107.2v241.1zm294.7 0h267.9v-241.1H401.9v241.1zm-294.7-294.7h241.1V830.4H107.2v267.8zm294.7 0h267.9V830.4H401.9v267.8zM107.2 776.8h241.1V535.7H107.2v241.1zm616.2 616.1h267.9v-241.1H723.4v241.1zM401.9 776.8h267.9V535.7H401.9v241.1zm642.9 616.1H1286v-241.1h-241.1v241.1zm-321.4-294.7h267.9V830.4H723.4v267.8zM428.7 375V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.3-5.3 8-11.5 8-18.8zm616.1 723.2H1286V830.4h-241.1v267.8zM723.4 776.8h267.9V535.7H723.4v241.1zm321.4 0H1286V535.7h-241.1v241.1zm26.8-401.8V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.4-5.3 8-11.5 8-18.8zm321.5-53.6v1071.4c0 29-10.6 54.1-31.8 75.3-21.2 21.2-46.3 31.8-75.3 31.8H107.2c-29 0-54.1-10.6-75.3-31.8C10.6 1447 0 1421.9 0 1392.9V321.4c0-29 10.6-54.1 31.8-75.3s46.3-31.8 75.3-31.8h107.2v-80.4c0-36.8 13.1-68.4 39.3-94.6S311.4 0 348.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3 26.2 26.2 39.3 57.8 39.3 94.6v80.4h321.5v-80.4c0-36.8 13.1-68.4 39.3-94.6C922.9 13.1 954.4 0 991.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3s39.3 57.8 39.3 94.6v80.4H1286c29 0 54.1 10.6 75.3 31.8 21.2 21.2 31.8 46.3 31.8 75.3z"}))}}();r.defaultProps={viewBox:"0 0 1393.1 1500"},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var r=function(){return function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))}}();r.defaultProps={viewBox:"0 0 1000 1000"},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var r=function(){return function(e){return o.default.createElement("svg",e,o.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))}}();r.defaultProps={viewBox:"0 0 1000 1000"},t.default=r},function(e,t,n){var o=n(146).Symbol;e.exports=o},function(e,t,n){var o=n(275),r="object"==typeof self&&self&&self.Object===Object&&self,a=o||r||Function("return this")();e.exports=a},function(e,t,n){var o=n(277),r=n(108),a="Expected a function";e.exports=function(e,t,n){var i=!0,c=!0;if("function"!=typeof e)throw new TypeError(a);return r(n)&&(i="leading"in n?!!n.leading:i,c="trailing"in n?!!n.trailing:c),o(e,t,{leading:i,maxWait:t,trailing:c})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=b(n(44)),i=b(n(26)),c=b(n(37)),s=n(39),l=n(52),u=b(n(147)),d=b(n(69)),h=b(n(109)),f=b(n(68)),p=n(33);function b(e){return e&&e.__esModule?e:{default:e}}var v="M0,"+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0z",m="M0,"+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0 "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX),y="M0,0 "+String(p.FANG_WIDTH_PX)+",0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+"z",g="M0,0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+",0",O=(0,s.forbidExtraProps)((0,a.default)({},l.withStylesPropTypes,{id:c.default.string.isRequired,placeholder:c.default.string,displayValue:c.default.string,screenReaderMessage:c.default.string,focused:c.default.bool,disabled:c.default.bool,required:c.default.bool,readOnly:c.default.bool,openDirection:f.default,showCaret:c.default.bool,verticalSpacing:s.nonNegativeInteger,small:c.default.bool,block:c.default.bool,regular:c.default.bool,onChange:c.default.func,onFocus:c.default.func,onKeyDownShiftTab:c.default.func,onKeyDownTab:c.default.func,onKeyDownArrowDown:c.default.func,onKeyDownQuestionMark:c.default.func,isFocused:c.default.bool})),k={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:p.OPEN_DOWN,showCaret:!1,verticalSpacing:p.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){return function(){}}(),onFocus:function(){return function(){}}(),onKeyDownShiftTab:function(){return function(){}}(),onKeyDownTab:function(){return function(){}}(),onKeyDownArrowDown:function(){return function(){}}(),onKeyDownQuestionMark:function(){return function(){}}(),isFocused:!1},_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.setInputRef=n.setInputRef.bind(n),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentDidMount",value:function(){return function(){this.setState({isTouchDevice:(0,d.default)()})}}()},{key:"componentWillReceiveProps",value:function(){return function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})}}()},{key:"componentDidUpdate",value:function(){return function(e){var t=this.props,n=t.focused,o=t.isFocused;e.focused===n&&e.isFocused===o||n&&o&&this.inputRef.focus()}}()},{key:"onChange",value:function(){return function(e){var t=this.props,n=t.onChange,o=t.onKeyDownQuestionMark,r=e.target.value;"?"===r[r.length-1]?o(e):this.setState({dateString:r},function(){return n(r)})}}()},{key:"onKeyDown",value:function(){return function(e){e.stopPropagation(),p.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}}()},{key:"onFinalKeyDown",value:function(){return function(e){var t=this.props,n=t.onKeyDownShiftTab,o=t.onKeyDownTab,r=t.onKeyDownArrowDown,a=t.onKeyDownQuestionMark,i=e.key;"Tab"===i?e.shiftKey?n(e):o(e):"ArrowDown"===i?r(e):"?"===i&&(e.preventDefault(),a(e))}}()},{key:"setInputRef",value:function(){return function(e){this.inputRef=e}}()},{key:"render",value:function(){return function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,r=this.props,a=r.id,c=r.placeholder,s=r.displayValue,u=r.screenReaderMessage,d=r.focused,f=r.showCaret,b=r.onFocus,O=r.disabled,k=r.required,_=r.readOnly,D=r.openDirection,w=r.verticalSpacing,M=r.small,S=r.regular,j=r.block,C=r.styles,P=r.theme.reactDates,E=t||s||"",z="DateInput__screen-reader-message-"+String(a),T=f&&d,I=(0,h.default)(P,M);return i.default.createElement("div",(0,l.css)(C.DateInput,M&&C.DateInput__small,j&&C.DateInput__block,T&&C.DateInput__withFang,O&&C.DateInput__disabled,T&&D===p.OPEN_DOWN&&C.DateInput__openDown,T&&D===p.OPEN_UP&&C.DateInput__openUp),i.default.createElement("input",o({},(0,l.css)(C.DateInput_input,M&&C.DateInput_input__small,S&&C.DateInput_input__regular,_&&C.DateInput_input__readOnly,d&&C.DateInput_input__focused,O&&C.DateInput_input__disabled),{"aria-label":c,type:"text",id:a,name:a,ref:this.setInputRef,value:E,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:b,placeholder:c,autoComplete:"off",disabled:O,readOnly:"boolean"==typeof _?_:n,required:k,"aria-describedby":u&&z})),T&&i.default.createElement("svg",o({role:"presentation",focusable:"false"},(0,l.css)(C.DateInput_fang,D===p.OPEN_DOWN&&{top:I+w-p.FANG_HEIGHT_PX-1},D===p.OPEN_UP&&{bottom:I+w-p.FANG_HEIGHT_PX-1})),i.default.createElement("path",o({},(0,l.css)(C.DateInput_fangShape),{d:D===p.OPEN_DOWN?v:y})),i.default.createElement("path",o({},(0,l.css)(C.DateInput_fangStroke),{d:D===p.OPEN_DOWN?m:g}))),u&&i.default.createElement("p",o({},(0,l.css)(C.DateInput_screenReaderMessage),{id:z}),u))}}()}]),t}();_.propTypes=O,_.defaultProps=k,t.default=(0,l.withStyles)(function(e){var t=e.reactDates,n=t.border,o=t.color,r=t.sizing,a=t.spacing,i=t.font,c=t.zIndex;return{DateInput:{margin:0,padding:a.inputPadding,background:o.background,position:"relative",display:"inline-block",width:r.inputWidth,verticalAlign:"middle"},DateInput__small:{width:r.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:o.disabled,color:o.textDisabled},DateInput_input:{fontWeight:200,fontSize:i.input.size,lineHeight:i.input.lineHeight,color:o.text,backgroundColor:o.background,width:"100%",padding:String(a.displayTextPaddingVertical)+"px "+String(a.displayTextPaddingHorizontal)+"px",paddingTop:a.displayTextPaddingTop,paddingBottom:a.displayTextPaddingBottom,paddingLeft:a.displayTextPaddingLeft,paddingRight:a.displayTextPaddingRight,border:n.input.border,borderTop:n.input.borderTop,borderRight:n.input.borderRight,borderBottom:n.input.borderBottom,borderLeft:n.input.borderLeft,borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:i.input.size_small,lineHeight:i.input.lineHeight_small,letterSpacing:i.input.letterSpacing_small,padding:String(a.displayTextPaddingVertical_small)+"px "+String(a.displayTextPaddingHorizontal_small)+"px",paddingTop:a.displayTextPaddingTop_small,paddingBottom:a.displayTextPaddingBottom_small,paddingLeft:a.displayTextPaddingLeft_small,paddingRight:a.displayTextPaddingRight_small},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:o.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:n.input.borderRightFocused,borderBottom:n.input.borderBottomFocused,borderLeft:n.input.borderLeftFocused},DateInput_input__disabled:{background:o.disabled,fontStyle:i.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:p.FANG_WIDTH_PX,height:p.FANG_HEIGHT_PX,left:22,zIndex:c+2},DateInput_fangShape:{fill:o.background},DateInput_fangStroke:{stroke:o.core.border,fill:"transparent"}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=O(n(44)),a=O(n(26)),i=O(n(37)),c=n(39),s=n(52),l=n(43),u=O(n(48)),d=O(n(68)),h=O(n(148)),f=O(n(81)),p=O(n(91)),b=O(n(144)),v=O(n(143)),m=O(n(77)),y=O(n(142)),g=n(33);function O(e){return e&&e.__esModule?e:{default:e}}var k=(0,c.forbidExtraProps)((0,r.default)({},s.withStylesPropTypes,{startDateId:i.default.string,startDatePlaceholderText:i.default.string,screenReaderMessage:i.default.string,endDateId:i.default.string,endDatePlaceholderText:i.default.string,onStartDateFocus:i.default.func,onEndDateFocus:i.default.func,onStartDateChange:i.default.func,onEndDateChange:i.default.func,onStartDateShiftTab:i.default.func,onEndDateTab:i.default.func,onClearDates:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,startDate:i.default.string,endDate:i.default.string,isStartDateFocused:i.default.bool,isEndDateFocused:i.default.bool,showClearDates:i.default.bool,disabled:p.default,required:i.default.bool,readOnly:i.default.bool,openDirection:d.default,showCaret:i.default.bool,showDefaultInputIcon:i.default.bool,inputIconPosition:f.default,customInputIcon:i.default.node,customArrowIcon:i.default.node,customCloseIcon:i.default.node,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,isFocused:i.default.bool,phrases:i.default.shape((0,u.default)(l.DateRangePickerInputPhrases)),isRTL:i.default.bool})),_={startDateId:g.START_DATE,endDateId:g.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",screenReaderMessage:"",onStartDateFocus:function(){return function(){}}(),onEndDateFocus:function(){return function(){}}(),onStartDateChange:function(){return function(){}}(),onEndDateChange:function(){return function(){}}(),onStartDateShiftTab:function(){return function(){}}(),onEndDateTab:function(){return function(){}}(),onClearDates:function(){return function(){}}(),onKeyDownArrowDown:function(){return function(){}}(),onKeyDownQuestionMark:function(){return function(){}}(),startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:g.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:g.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:l.DateRangePickerInputPhrases,isRTL:!1};function D(e){var t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,i=e.screenReaderMessage,c=e.isStartDateFocused,l=e.onStartDateChange,u=e.onStartDateFocus,d=e.onStartDateShiftTab,f=e.endDate,p=e.endDateId,O=e.endDatePlaceholderText,k=e.isEndDateFocused,_=e.onEndDateChange,D=e.onEndDateFocus,w=e.onEndDateTab,M=e.onKeyDownArrowDown,S=e.onKeyDownQuestionMark,j=e.onClearDates,C=e.showClearDates,P=e.disabled,E=e.required,z=e.readOnly,T=e.showCaret,I=e.openDirection,x=e.showDefaultInputIcon,H=e.inputIconPosition,N=e.customInputIcon,R=e.customArrowIcon,L=e.customCloseIcon,A=e.isFocused,F=e.phrases,V=e.isRTL,B=e.noBorder,K=e.block,W=e.verticalSpacing,U=e.small,Y=e.regular,$=e.styles,G=N||a.default.createElement(y.default,(0,s.css)($.DateRangePickerInput_calendarIcon_svg)),q=R||a.default.createElement(b.default,(0,s.css)($.DateRangePickerInput_arrow_svg));V&&(q=a.default.createElement(v.default,(0,s.css)($.DateRangePickerInput_arrow_svg))),U&&(q="-");var Z=L||a.default.createElement(m.default,(0,s.css)($.DateRangePickerInput_clearDates_svg,U&&$.DateRangePickerInput_clearDates_svg__small)),X=i||F.keyboardNavigationInstructions,Q=(x||null!==N)&&a.default.createElement("button",o({},(0,s.css)($.DateRangePickerInput_calendarIcon),{type:"button",disabled:P,"aria-label":F.focusStartDate,onClick:M}),G),J=P===g.START_DATE||!0===P,ee=P===g.END_DATE||!0===P;return a.default.createElement("div",(0,s.css)($.DateRangePickerInput,P&&$.DateRangePickerInput__disabled,V&&$.DateRangePickerInput__rtl,!B&&$.DateRangePickerInput__withBorder,K&&$.DateRangePickerInput__block,C&&$.DateRangePickerInput__showClearDates),H===g.ICON_BEFORE_POSITION&&Q,a.default.createElement(h.default,{id:n,placeholder:r,displayValue:t,screenReaderMessage:X,focused:c,isFocused:A,disabled:J,required:E,readOnly:z,showCaret:T,openDirection:I,onChange:l,onFocus:u,onKeyDownShiftTab:d,onKeyDownArrowDown:M,onKeyDownQuestionMark:S,verticalSpacing:W,small:U,regular:Y}),a.default.createElement("div",o({},(0,s.css)($.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),q),a.default.createElement(h.default,{id:p,placeholder:O,displayValue:f,screenReaderMessage:X,focused:k,isFocused:A,disabled:ee,required:E,readOnly:z,showCaret:T,openDirection:I,onChange:_,onFocus:D,onKeyDownTab:w,onKeyDownArrowDown:M,onKeyDownQuestionMark:S,verticalSpacing:W,small:U,regular:Y}),C&&a.default.createElement("button",o({type:"button","aria-label":F.clearDates},(0,s.css)($.DateRangePickerInput_clearDates,U&&$.DateRangePickerInput_clearDates__small,!L&&$.DateRangePickerInput_clearDates_default,!(t||f)&&$.DateRangePickerInput_clearDates__hide),{onClick:j,disabled:P}),Z),H===g.ICON_AFTER_POSITION&&Q)}D.propTypes=k,D.defaultProps=_,t.default=(0,s.withStyles)(function(e){var t=e.reactDates,n=t.border,o=t.color,r=t.sizing;return{DateRangePickerInput:{backgroundColor:o.background,display:"inline-block"},DateRangePickerInput__disabled:{background:o.disabled},DateRangePickerInput__withBorder:{borderColor:o.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:"rtl"},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:o.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:o.text,height:r.arrowWidth,width:r.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:o.core.border,borderRadius:"50%"},":hover":{background:o.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:o.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:o.core.grayLight,height:15,width:14,verticalAlign:"middle"}}})(D)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=O(n(26)),a=O(n(37)),i=O(n(27)),c=O(n(58)),s=n(39),l=O(n(68)),u=n(43),d=O(n(48)),h=O(n(149)),f=O(n(81)),p=O(n(91)),b=O(n(71)),v=O(n(107)),m=O(n(79)),y=O(n(78)),g=n(33);function O(e){return e&&e.__esModule?e:{default:e}}var k=(0,s.forbidExtraProps)({startDate:c.default.momentObj,startDateId:a.default.string,startDatePlaceholderText:a.default.string,isStartDateFocused:a.default.bool,endDate:c.default.momentObj,endDateId:a.default.string,endDatePlaceholderText:a.default.string,isEndDateFocused:a.default.bool,screenReaderMessage:a.default.string,showClearDates:a.default.bool,showCaret:a.default.bool,showDefaultInputIcon:a.default.bool,inputIconPosition:f.default,disabled:p.default,required:a.default.bool,readOnly:a.default.bool,openDirection:l.default,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,keepOpenOnDateSelect:a.default.bool,reopenPickerOnClearDates:a.default.bool,withFullScreenPortal:a.default.bool,minimumNights:s.nonNegativeInteger,isOutsideRange:a.default.func,displayFormat:a.default.oneOfType([a.default.string,a.default.func]),onFocusChange:a.default.func,onClose:a.default.func,onDatesChange:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,customInputIcon:a.default.node,customArrowIcon:a.default.node,customCloseIcon:a.default.node,isFocused:a.default.bool,phrases:a.default.shape((0,d.default)(u.DateRangePickerInputPhrases)),isRTL:a.default.bool}),_={startDate:null,startDateId:g.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,endDate:null,endDateId:g.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:g.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:g.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(){return function(e){return!(0,m.default)(e,(0,i.default)())}}(),displayFormat:function(){return function(){return i.default.localeData().longDateFormat("L")}}(),onFocusChange:function(){return function(){}}(),onClose:function(){return function(){}}(),onDatesChange:function(){return function(){}}(),onKeyDownArrowDown:function(){return function(){}}(),onKeyDownQuestionMark:function(){return function(){}}(),customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:u.DateRangePickerInputPhrases,isRTL:!1},D=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onClearFocus=n.onClearFocus.bind(n),n.onStartDateChange=n.onStartDateChange.bind(n),n.onStartDateFocus=n.onStartDateFocus.bind(n),n.onEndDateChange=n.onEndDateChange.bind(n),n.onEndDateFocus=n.onEndDateFocus.bind(n),n.clearDates=n.clearDates.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r["default"].Component),o(t,[{key:"onClearFocus",value:function(){return function(){var e=this.props,t=e.onFocusChange,n=e.onClose,o=e.startDate,r=e.endDate;t(null),n({startDate:o,endDate:r})}}()},{key:"onEndDateChange",value:function(){return function(e){var t=this.props,n=t.startDate,o=t.isOutsideRange,r=t.minimumNights,a=t.keepOpenOnDateSelect,i=t.onDatesChange,c=(0,b.default)(e,this.getDisplayFormat());!c||o(c)||n&&(0,y.default)(c,n.clone().add(r,"days"))?i({startDate:n,endDate:null}):(i({startDate:n,endDate:c}),a||this.onClearFocus())}}()},{key:"onEndDateFocus",value:function(){return function(){var e=this.props,t=e.startDate,n=e.onFocusChange,o=e.withFullScreenPortal,r=e.disabled;t||!o||r&&r!==g.END_DATE?r&&r!==g.START_DATE||n(g.END_DATE):n(g.START_DATE)}}()},{key:"onStartDateChange",value:function(){return function(e){var t=this.props.endDate,n=this.props,o=n.isOutsideRange,r=n.minimumNights,a=n.onDatesChange,i=n.onFocusChange,c=n.disabled,s=(0,b.default)(e,this.getDisplayFormat()),l=s&&(0,y.default)(t,s.clone().add(r,"days"));!s||o(s)||c===g.END_DATE&&l?a({startDate:null,endDate:t}):(l&&(t=null),a({startDate:s,endDate:t}),i(g.END_DATE))}}()},{key:"onStartDateFocus",value:function(){return function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==g.END_DATE||n(g.START_DATE)}}()},{key:"getDisplayFormat",value:function(){return function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}}()},{key:"getDateString",value:function(){return function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,v.default)(e)}}()},{key:"clearDates",value:function(){return function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,o=e.onFocusChange;t({startDate:null,endDate:null}),n&&o(g.START_DATE)}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,a=e.isStartDateFocused,i=e.endDate,c=e.endDateId,s=e.endDatePlaceholderText,l=e.isEndDateFocused,u=e.screenReaderMessage,d=e.showClearDates,f=e.showCaret,p=e.showDefaultInputIcon,b=e.inputIconPosition,v=e.customInputIcon,m=e.customArrowIcon,y=e.customCloseIcon,g=e.disabled,O=e.required,k=e.readOnly,_=e.openDirection,D=e.isFocused,w=e.phrases,M=e.onKeyDownArrowDown,S=e.onKeyDownQuestionMark,j=e.isRTL,C=e.noBorder,P=e.block,E=e.small,z=e.regular,T=e.verticalSpacing,I=this.getDateString(t),x=this.getDateString(i);return r.default.createElement(h.default,{startDate:I,startDateId:n,startDatePlaceholderText:o,isStartDateFocused:a,endDate:x,endDateId:c,endDatePlaceholderText:s,isEndDateFocused:l,isFocused:D,disabled:g,required:O,readOnly:k,openDirection:_,showCaret:f,showDefaultInputIcon:p,inputIconPosition:b,customInputIcon:v,customArrowIcon:m,customCloseIcon:y,phrases:w,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,onEndDateTab:this.onClearFocus,showClearDates:d,onClearDates:this.clearDates,screenReaderMessage:u,onKeyDownArrowDown:M,onKeyDownQuestionMark:S,isRTL:j,noBorder:C,block:P,small:E,regular:z,verticalSpacing:T})}}()}]),t}();t.default=D,D.propTypes=k,D.defaultProps=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=r,t.getScrollAncestorsOverflowY=a,t.default=function(e){var t=a(e),n=function(e){return t.forEach(function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)})};return n(!0),function(){return n(!1)}};var o=function(){return document.scrollingElement||document.documentElement};function r(e){var t=e.parentElement;if(null==t)return o();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:r(t)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=o(),i=r(e);return t.set(i,i.style.overflowY),i===n?t:a(i,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getBoundingClientRect(),a=r.left,i=r.top;e===o.OPEN_UP&&(i=-(window.innerHeight-r.bottom));t===o.ANCHOR_RIGHT&&(a=-(window.innerWidth-r.right));return{transform:"translate3d("+String(Math.round(a))+"px, "+String(Math.round(i))+"px, 0)"}};var o=n(33)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var a="undefined"!=typeof window?window.innerWidth:0,i=e===o.ANCHOR_LEFT?a-n:n,c=r||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+i-c,0))};var o=n(33)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.ANCHOR_LEFT,r.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.HORIZONTAL_ORIENTATION,r.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=n(33);t.default=o.default.oneOf([r.START_DATE,r.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=v(n(37)),r=v(n(58)),a=n(39),i=n(43),c=v(n(48)),s=v(n(156)),l=v(n(81)),u=v(n(155)),d=v(n(91)),h=v(n(154)),f=v(n(68)),p=v(n(64)),b=v(n(80));function v(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:r.default.momentObj,endDate:r.default.momentObj,onDatesChange:o.default.func.isRequired,focusedInput:s.default,onFocusChange:o.default.func.isRequired,onClose:o.default.func,startDateId:o.default.string.isRequired,startDatePlaceholderText:o.default.string,endDateId:o.default.string.isRequired,endDatePlaceholderText:o.default.string,disabled:d.default,required:o.default.bool,readOnly:o.default.bool,screenReaderInputMessage:o.default.string,showClearDates:o.default.bool,showDefaultInputIcon:o.default.bool,inputIconPosition:l.default,customInputIcon:o.default.node,customArrowIcon:o.default.node,customCloseIcon:o.default.node,noBorder:o.default.bool,block:o.default.bool,small:o.default.bool,regular:o.default.bool,keepFocusOnInput:o.default.bool,renderMonthText:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,a.mutuallyExclusiveProps)(o.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:h.default,openDirection:f.default,horizontalMargin:o.default.number,withPortal:o.default.bool,withFullScreenPortal:o.default.bool,appendToBody:o.default.bool,disableScroll:o.default.bool,daySize:a.nonNegativeInteger,isRTL:o.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:o.default.func,numberOfMonths:o.default.number,keepOpenOnDateSelect:o.default.bool,reopenPickerOnClearDates:o.default.bool,renderCalendarInfo:o.default.func,calendarInfoPosition:b.default,hideKeyboardShortcutsPanel:o.default.bool,verticalHeight:a.nonNegativeInteger,transitionDuration:a.nonNegativeInteger,verticalSpacing:a.nonNegativeInteger,navPrev:o.default.node,navNext:o.default.node,onPrevMonthClick:o.default.func,onNextMonthClick:o.default.func,renderCalendarDay:o.default.func,renderDayContents:o.default.func,minimumNights:o.default.number,enableOutsideDays:o.default.bool,isDayBlocked:o.default.func,isOutsideRange:o.default.func,isDayHighlighted:o.default.func,displayFormat:o.default.oneOfType([o.default.string,o.default.func]),monthFormat:o.default.string,weekDayFormat:o.default.string,phrases:o.default.shape((0,c.default)(i.DateRangePickerPhrases)),dayAriaLabelFormat:o.default.string}},function(e,t,n){"use strict";var o=n(159);e.exports=function(){return"function"==typeof Object.values?Object.values:o}},function(e,t,n){"use strict";var o=n(279),r=n(96),a=n(74).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=o.RequireObjectCoercible(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!o.default.isMoment(e)||!o.default.isMoment(t))&&e.month()===t.month()&&e.year()===t.year()};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=j(n(44)),i=j(n(26)),c=j(n(37)),s=j(n(73)),l=j(n(58)),u=n(39),d=n(52),h=j(n(27)),f=n(93),p=n(43),b=j(n(48)),v=j(n(164)),m=j(n(288)),y=j(n(287)),g=j(n(161)),O=j(n(92)),k=j(n(286)),_=j(n(285)),D=j(n(95)),w=j(n(70)),M=j(n(64)),S=n(33);function j(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{enableOutsideDays:c.default.bool,firstVisibleMonthIndex:c.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:c.default.bool,numberOfMonths:c.default.number,modifiers:c.default.objectOf(c.default.objectOf(D.default)),orientation:w.default,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,onMonthTransitionEnd:c.default.func,onMonthChange:c.default.func,onYearChange:c.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:c.default.func,renderDayContents:c.default.func,translationValue:c.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:c.default.bool,firstDayOfWeek:M.default,setMonthTitleHeight:c.default.func,isRTL:c.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:c.default.string,phrases:c.default.shape((0,b.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:c.default.string})),P={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,h.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:S.HORIZONTAL_ORIENTATION,onDayClick:function(){return function(){}}(),onDayMouseEnter:function(){return function(){}}(),onDayMouseLeave:function(){return function(){}}(),onMonthChange:function(){return function(){}}(),onYearChange:function(){return function(){}}(),onMonthTransitionEnd:function(){return function(){}}(),renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:S.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0};function E(e,t,n){var o=e.clone();n||(o=o.subtract(1,"month"));for(var r=[],a=0;a<(n?t:t+2);a+=1)r.push(o),o=o.clone().add(1,"month");return r}var z=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=e.orientation===S.VERTICAL_SCROLLABLE;return n.state={months:E(e.initialMonth,e.numberOfMonths,o)},n.isTransitionEndSupported=(0,m.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=h.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentDidMount",value:function(){return function(){this.removeEventListener=(0,f.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}}()},{key:"componentWillReceiveProps",value:function(){return function(e){var t=this,n=e.initialMonth,o=e.numberOfMonths,r=e.orientation,a=this.state.months,i=this.props,c=i.initialMonth,s=i.numberOfMonths!==o,l=a;c.isSame(n,"month")||s||((0,_.default)(c,n)?(l=a.slice(1)).push(a[a.length-1].clone().add(1,"month")):(0,k.default)(c,n)?(l=a.slice(0,a.length-1)).unshift(a[0].clone().subtract(1,"month")):l=E(n,o,r===S.VERTICAL_SCROLLABLE));s&&(l=E(n,o,r===S.VERTICAL_SCROLLABLE));var u=h.default.locale();this.locale!==u&&(this.locale=u,l=l.map(function(e){return e.locale(t.locale)})),this.setState({months:l})}}()},{key:"shouldComponentUpdate",value:function(){return function(e,t){return(0,s.default)(this,e,t)}}()},{key:"componentDidUpdate",value:function(){return function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,o=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||o()}}()},{key:"componentWillUnmount",value:function(){return function(){this.removeEventListener&&this.removeEventListener()}}()},{key:"onTransitionEnd",value:function(){return function(){(0,this.props.onMonthTransitionEnd)()}}()},{key:"onMonthSelect",value:function(){return function(e,t){var n=e.clone(),o=this.props,r=o.onMonthChange,a=o.orientation,i=this.state.months,c=a===S.VERTICAL_SCROLLABLE,s=i.indexOf(e);c||(s-=1),n.set("month",t).subtract(s,"months"),r(n)}}()},{key:"onYearSelect",value:function(){return function(e,t){var n=e.clone(),o=this.props,r=o.onYearChange,a=o.orientation,i=this.state.months,c=a===S.VERTICAL_SCROLLABLE,s=i.indexOf(e);c||(s-=1),n.set("year",t).subtract(s,"months"),r(n)}}()},{key:"setContainerRef",value:function(){return function(e){this.container=e}}()},{key:"render",value:function(){return function(){var e=this,t=this.props,n=t.enableOutsideDays,r=t.firstVisibleMonthIndex,c=t.horizontalMonthPadding,s=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,h=t.monthFormat,f=t.orientation,p=t.translationValue,b=t.daySize,m=t.onDayMouseEnter,k=t.onDayMouseLeave,_=t.onDayClick,D=t.renderMonthText,w=t.renderCalendarDay,M=t.renderDayContents,j=t.renderMonthElement,C=t.onMonthTransitionEnd,P=t.firstDayOfWeek,E=t.focusedDate,z=t.isFocused,T=t.isRTL,I=t.styles,x=t.phrases,H=t.dayAriaLabelFormat,N=t.transitionDuration,R=t.verticalBorderSpacing,L=t.setMonthTitleHeight,A=this.state.months,F=f===S.VERTICAL_ORIENTATION,V=f===S.VERTICAL_SCROLLABLE,B=f===S.HORIZONTAL_ORIENTATION,K=(0,g.default)(b,c),W=F||V?K:(u+2)*K,U=(F||V?"translateY":"translateX")+"("+String(p)+"px)";return i.default.createElement("div",o({},(0,d.css)(I.CalendarMonthGrid,B&&I.CalendarMonthGrid__horizontal,F&&I.CalendarMonthGrid__vertical,V&&I.CalendarMonthGrid__vertical_scrollable,s&&I.CalendarMonthGrid__animating,s&&N&&{transition:"transform "+String(N)+"ms ease-in-out"},(0,a.default)({},(0,y.default)(U),{width:W})),{ref:this.setContainerRef,onTransitionEnd:C}),A.map(function(t,a){var y=a>=r&&a<r+u,g=0===a&&!y,S=0===a&&s&&y,C=(0,O.default)(t);return i.default.createElement("div",o({key:C},(0,d.css)(B&&I.CalendarMonthGrid_month__horizontal,g&&I.CalendarMonthGrid_month__hideForAnimation,S&&!F&&!T&&{position:"absolute",left:-K},S&&!F&&T&&{position:"absolute",right:0},S&&F&&{position:"absolute",top:-p},!y&&!s&&I.CalendarMonthGrid_month__hidden)),i.default.createElement(v.default,{month:t,isVisible:y,enableOutsideDays:n,modifiers:l[C],monthFormat:h,orientation:f,onDayMouseEnter:m,onDayMouseLeave:k,onDayClick:_,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:D,renderCalendarDay:w,renderDayContents:M,renderMonthElement:j,firstDayOfWeek:P,daySize:b,focusedDate:y?E:null,isFocused:z,phrases:x,setMonthTitleHeight:L,dayAriaLabelFormat:H,verticalBorderSpacing:R,horizontalMonthPadding:c}))}))}}()}]),t}();z.propTypes=C,z.defaultProps=P,t.default=(0,d.withStyles)(function(e){var t=e.reactDates,n=t.color,o=t.noScrollBarOnVerticalScrollable,r=t.spacing,i=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:i},CalendarMonthGrid__animating:{zIndex:i+1},CalendarMonthGrid__horizontal:{position:"absolute",left:r.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,a.default)({margin:"0 auto",overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:i-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}})(z)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var r="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||o?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+r])+parseFloat(i["padding"+a])+parseFloat(i["border"+r+"Width"])+parseFloat(i["border"+a+"Width"]));o&&(l+=parseFloat(i["margin"+r])+parseFloat(i["margin"+a]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=M(n(44)),i=M(n(26)),c=M(n(37)),s=M(n(73)),l=M(n(58)),u=n(39),d=n(52),h=M(n(27)),f=n(43),p=M(n(48)),b=M(n(291)),v=M(n(116)),m=M(n(163)),y=M(n(289)),g=M(n(72)),O=M(n(94)),k=M(n(95)),_=M(n(70)),D=M(n(64)),w=n(33);function M(e){return e&&e.__esModule?e:{default:e}}var S=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:c.default.bool,enableOutsideDays:c.default.bool,modifiers:c.default.objectOf(k.default),orientation:_.default,daySize:u.nonNegativeInteger,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,onMonthSelect:c.default.func,onYearSelect:c.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:c.default.func,renderDayContents:c.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:D.default,setMonthTitleHeight:c.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:c.default.bool,monthFormat:c.default.string,phrases:c.default.shape((0,p.default)(f.CalendarDayPhrases)),dayAriaLabelFormat:c.default.string})),j={month:(0,h.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:w.HORIZONTAL_ORIENTATION,daySize:w.DAY_SIZE,onDayClick:function(){return function(){}}(),onDayMouseEnter:function(){return function(){}}(),onDayMouseLeave:function(){return function(){}}(),onMonthSelect:function(){return function(){}}(),onYearSelect:function(){return function(){}}(),renderMonthText:null,renderCalendarDay:function(){return function(e){return i.default.createElement(v.default,e)}}(),renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:f.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={weeks:(0,y.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?h.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i["default"].Component),r(t,[{key:"componentDidMount",value:function(){return function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}}()},{key:"componentWillReceiveProps",value:function(){return function(e){var t=e.month,n=e.enableOutsideDays,o=e.firstDayOfWeek,r=this.props,a=r.month,i=r.enableOutsideDays,c=r.firstDayOfWeek;t.isSame(a)&&n===i&&o===c||this.setState({weeks:(0,y.default)(t,n,null==o?h.default.localeData().firstDayOfWeek():o)})}}()},{key:"shouldComponentUpdate",value:function(){return function(e,t){return(0,s.default)(this,e,t)}}()},{key:"componentWillUnmount",value:function(){return function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}}()},{key:"setMonthTitleHeight",value:function(){return function(){var e=this.props.setMonthTitleHeight;e&&e((0,m.default)(this.captionRef,"height",!0,!0))}}()},{key:"setCaptionRef",value:function(){return function(e){this.captionRef=e}}()},{key:"render",value:function(){return function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,r=e.focusedDate,a=e.horizontalMonthPadding,c=e.isFocused,s=e.isVisible,l=e.modifiers,u=e.month,h=e.monthFormat,f=e.onDayClick,p=e.onDayMouseEnter,v=e.onDayMouseLeave,m=e.onMonthSelect,y=e.onYearSelect,k=e.orientation,_=e.phrases,D=e.renderCalendarDay,M=e.renderDayContents,S=e.renderMonthElement,j=e.renderMonthText,C=e.styles,P=e.verticalBorderSpacing,E=this.state.weeks,z=j?j(u):u.format(h),T=k===w.VERTICAL_SCROLLABLE;return i.default.createElement("div",o({},(0,d.css)(C.CalendarMonth,{padding:"0 "+String(a)+"px"}),{"data-visible":s}),i.default.createElement("div",o({ref:this.setCaptionRef},(0,d.css)(C.CalendarMonth_caption,T&&C.CalendarMonth_caption__verticalScrollable)),S?S({month:u,onMonthSelect:m,onYearSelect:y}):i.default.createElement("strong",null,z)),i.default.createElement("table",o({},(0,d.css)(!P&&C.CalendarMonth_table,P&&C.CalendarMonth_verticalSpacing,P&&{borderSpacing:"0px "+String(P)+"px"}),{role:"presentation"}),i.default.createElement("tbody",null,E.map(function(e,o){return i.default.createElement(b.default,{key:o},e.map(function(e,o){return D({key:o,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:s&&(0,g.default)(e,r)?0:-1,isFocused:c,onDayMouseEnter:p,onDayMouseLeave:v,onDayClick:f,renderDayContents:M,phrases:_,modifiers:l[(0,O.default)(e)],ariaLabelFormat:t})}))}))))}}()}]),t}();C.propTypes=S,C.defaultProps=j,t.default=(0,d.withStyles)(function(e){var t=e.reactDates,n=t.color,o=t.font,r=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:o.captionSize,textAlign:"center",paddingTop:r.captionPaddingTop,paddingBottom:r.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}})(C)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a,i){var c=i.chooseAvailableDate,s=i.dateIsUnavailable,l=i.dateIsSelected,u={width:n,height:n-1},d=a.has("blocked-minimum-nights")||a.has("blocked-calendar")||a.has("blocked-out-of-range"),h=a.has("selected")||a.has("selected-start")||a.has("selected-end"),f=!h&&(a.has("hovered-span")||a.has("after-hovered-start")),p=a.has("blocked-out-of-range"),b={date:e.format(t)},v=(0,o.default)(c,b);a.has(r.BLOCKED_MODIFIER)?v=(0,o.default)(s,b):h&&(v=(0,o.default)(l,b));return{daySizeStyles:u,useDefaultCursor:d,selected:h,hoveredSpan:f,isOutsideRange:p,ariaLabel:v}};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(292)),r=n(33)},function(e,t,n){"use strict";var o=n(167);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},o=0;o<t.length;++o)n[t[o]]=t[o];var r=Object.assign({},n),a="";for(var i in r)a+=i;return e!==a}()?o:function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?o:Object.assign:o}},function(e,t,n){"use strict";var o=n(180),r=n(74),a=n(310)(),i=Object,c=r.call(Function.call,Array.prototype.push),s=r.call(Function.call,Object.prototype.propertyIsEnumerable),l=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!function(e){return void 0!==e&&null!==e}(e))throw new TypeError("target must be an object");var n,r,u,d,h,f,p,b=i(e);for(n=1;n<arguments.length;++n){r=i(arguments[n]),d=o(r);var v=a&&(Object.getOwnPropertySymbols||l);if(v)for(h=v(r),u=0;u<h.length;++u)p=h[u],s(r,p)&&c(d,p);for(u=0;u<d.length;++u)f=r[p=d[u]],s(r,p)&&(b[p]=f)}return b}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(o.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:o,disabled:o.grayLightest,background:o.white,backgroundDark:"#f2f2f2",backgroundFocused:o.white,border:"rgb(219, 219, 219)",text:o.gray,textDisabled:o.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:o.white,backgroundColor_active:o.white,backgroundColor_hover:o.white,color:o.gray,color_active:o.gray,color_hover:o.gray},highlighted:{backgroundColor:o.yellow,backgroundColor_active:o.yellow_dark,backgroundColor_hover:o.yellow_dark,color:o.gray,color_active:o.gray,color_hover:o.gray},minimumNights:{backgroundColor:o.white,backgroundColor_active:o.white,backgroundColor_hover:o.white,borderColor:o.borderLighter,color:o.grayLighter,color_active:o.grayLighter,color_hover:o.grayLighter},hoveredSpan:{backgroundColor:o.primaryShade_4,backgroundColor_active:o.primaryShade_3,backgroundColor_hover:o.primaryShade_4,borderColor:o.primaryShade_3,borderColor_active:o.primaryShade_3,borderColor_hover:o.primaryShade_3,color:o.secondary,color_active:o.secondary,color_hover:o.secondary},selectedSpan:{backgroundColor:o.primaryShade_2,backgroundColor_active:o.primaryShade_1,backgroundColor_hover:o.primaryShade_1,borderColor:o.primaryShade_1,borderColor_active:o.primary,borderColor_hover:o.primary,color:o.white,color_active:o.white,color_hover:o.white},selected:{backgroundColor:o.primary,backgroundColor_active:o.primary,backgroundColor_hover:o.primary,borderColor:o.primary,borderColor_active:o.primary,borderColor_hover:o.primary,color:o.white,color_active:o.white,color_hover:o.white},blocked_calendar:{backgroundColor:o.grayLighter,backgroundColor_active:o.grayLighter,backgroundColor_hover:o.grayLighter,borderColor:o.grayLighter,borderColor_active:o.grayLighter,borderColor_hover:o.grayLighter,color:o.grayLight,color_active:o.grayLight,color_hover:o.grayLight},blocked_out_of_range:{backgroundColor:o.white,backgroundColor_active:o.white,backgroundColor_hover:o.white,borderColor:o.borderLight,borderColor_active:o.borderLight,borderColor_hover:o.borderLight,color:o.grayLighter,color_active:o.grayLighter,color_hover:o.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=void 0,r=void 0;function a(e,t){var n=t(e(r));return function(){return n}}function i(e){return a(e,o.createLTR||o.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.resolve(t)}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.resolveLTR?o.resolveLTR(t):c(t)}t.default={registerTheme:function(e){r=e},registerInterface:function(e){o=e},create:i,createLTR:i,createRTL:function(e){return a(e,o.createRTL||o.create)},get:function(){return r},resolve:s,resolveLTR:s,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.resolveRTL?o.resolveRTL(t):c(t)},flush:function(){o.flush&&o.flush()}}},function(e,t,n){"use strict";var o=n(179);e.exports=function(){return Array.prototype.flat||o}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";var o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,a=Object.getPrototypeOf||function(e){return e.__proto__},i=void 0,c="undefined"==typeof Uint8Array?void 0:a(Uint8Array),s={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":r?a([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":i&&r&&Symbol.asyncIterator?i[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":r?a(a([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&r?a((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&r?a((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":r?a(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":r?Symbol:void 0,"$ %SymbolPrototype%":r?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":c,"$ %TypedArrayPrototype%":c?c.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in s))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===s[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return s[n]}},function(e,t,n){"use strict";var o=Object.prototype.toString;if("function"==typeof Symbol&&"symbol"==typeof Symbol()){var r=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==o.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(r.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var o=n(324),r=n(117),a=r(r({},o),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=a},function(e,t,n){"use strict";var o=n(325),r=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1;e.exports=function(){var e=o.ToObject(this),t=o.ToLength(o.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=o.ToInteger(arguments[0]));var a=o.ArraySpeciesCreate(e,0);return function e(t,n,a,i,c){for(var s=i,l=0;l<a;){var u=o.ToString(l);if(o.HasProperty(n,u)){var d=o.Get(n,u),h=!1;if(c>0&&(h=o.IsArray(d)),h)s=e(t,d,o.ToLength(o.Get(d,"length")),s,c-1);else{if(s>=r)throw new TypeError("index too large");o.CreateDataPropertyOrThrow(t,o.ToString(s),d),s+=1}}l+=1}return s}(a,e,t,0,n),a}},function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Array.prototype.slice,i=n(328),c=Object.prototype.propertyIsEnumerable,s=!c.call({toString:null},"toString"),l=c.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),a=i(e),c=t&&"[object String]"===r.call(e),h=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var p=l&&n;if(c&&e.length>0&&!o.call(e,0))for(var b=0;b<e.length;++b)h.push(String(b));if(a&&e.length>0)for(var v=0;v<e.length;++v)h.push(String(v));else for(var m in e)p&&"prototype"===m||!o.call(e,m)||h.push(String(m));if(s)for(var y=function(e){if("undefined"==typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}}(e),g=0;g<u.length;++g)y&&"constructor"===u[g]||!o.call(e,u[g])||h.push(u[g]);return h};p.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var e=Object.keys;Object.keys=function(t){return i(t)?e(a.call(t)):e(t)}}}else Object.keys=p;return Object.keys||p},e.exports=p},,,,,,,,,function(e,t,n){e.exports=n(311)},function(e,t,n){var o;!function(r,a,i){if(r){for(var c,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.toString();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!function e(t,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},g.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},g.init=function(){var e=g(a);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),r.Mousetrap=g,void 0!==e&&e.exports&&(e.exports=g),void 0===(o=function(){return g}.call(t,n,t,e))||(e.exports=o)}function f(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function b(e,t){return e.sort().join(",")===t.sort().join(",")}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function y(e,t){var n,o,r,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r<n.length;++r)o=n[r],d[o]&&(o=d[o]),t&&"keypress"!=t&&u[o]&&(o=u[o],a.push("shift")),v(o)&&a.push(o);return{key:o,modifiers:a,action:t=m(o,a,t)}}function g(e){var t=this;if(e=e||a,!(t instanceof g))return new g(e);t.target=e,t._callbacks={},t._directMap={};var n,o={},r=!1,i=!1,c=!1;function s(e){e=e||{};var t,n=!1;for(t in o)e[t]?n=!0:o[t]=0;n||(c=!1)}function l(e,n,r,a,i,c){var s,l,u=[],d=r.type;if(!t._callbacks[e])return[];for("keyup"==d&&v(e)&&(n=[e]),s=0;s<t._callbacks[e].length;++s)if(l=t._callbacks[e][s],(a||!l.seq||o[l.seq]==l.level)&&d==l.action&&("keypress"==d&&!r.metaKey&&!r.ctrlKey||b(n,l.modifiers))){var h=!a&&l.combo==i,f=a&&l.seq==a&&l.level==c;(h||f)&&t._callbacks[e].splice(s,1),u.push(l)}return u}function u(e,n,o,r){t.stopCallback(n,n.target||n.srcElement,o,r)||!1===e(n,o)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which
1
+ this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=218)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return o})},,,,function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(15);function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}},function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(29),r=n(3);function a(e,t){return!t||"object"!==Object(o.a)(t)&&"function"!=typeof t?Object(r.a)(e):t}},function(e,t,n){"use strict";function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return o})},,function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return o})},function(e,t,n){var o;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */