PATH:
home
/
letacommog
/
newpuissanceelec
/
wp-includes
/
js
/
dist
this.wp=this.wp||{},this.wp.richText=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=307)}({0:function(e,t){!function(){e.exports=this.wp.element}()},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}))},18:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(33);function a(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(n.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}},2:function(e,t){!function(){e.exports=this.lodash}()},23:function(e,t){!function(){e.exports=this.wp.hooks}()},28:function(e,t,r){"use strict";function n(e){return(n="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 a(e){return(a="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}r.d(t,"a",(function(){return a}))},307:function(e,t,r){"use strict";r.r(t),r.d(t,"applyFormat",(function(){return b})),r.d(t,"charAt",(function(){return x})),r.d(t,"concat",(function(){return T})),r.d(t,"create",(function(){return W})),r.d(t,"getActiveFormat",(function(){return V})),r.d(t,"getSelectionEnd",(function(){return R})),r.d(t,"getSelectionStart",(function(){return z})),r.d(t,"getTextContent",(function(){return B})),r.d(t,"isCollapsed",(function(){return H})),r.d(t,"isEmpty",(function(){return N})),r.d(t,"isEmptyLine",(function(){return E})),r.d(t,"join",(function(){return G})),r.d(t,"registerFormatType",(function(){return Q})),r.d(t,"removeFormat",(function(){return ee})),r.d(t,"remove",(function(){return ne})),r.d(t,"replace",(function(){return ae})),r.d(t,"insert",(function(){return re})),r.d(t,"insertLineSeparator",(function(){return oe})),r.d(t,"insertObject",(function(){return ie})),r.d(t,"slice",(function(){return ce})),r.d(t,"split",(function(){return ue})),r.d(t,"apply",(function(){return _e})),r.d(t,"unstableToDom",(function(){return Ee})),r.d(t,"toHTMLString",(function(){return Se})),r.d(t,"toggleFormat",(function(){return Re})),r.d(t,"LINE_SEPARATOR",(function(){return w})),r.d(t,"unregisterFormatType",(function(){return ze})),r.d(t,"indentListItems",(function(){return He})),r.d(t,"outdentListItems",(function(){return Ye})),r.d(t,"changeListType",(function(){return qe}));var n={};r.r(n),r.d(n,"getFormatTypes",(function(){return s})),r.d(n,"getFormatType",(function(){return f})),r.d(n,"getFormatTypeForBareElement",(function(){return d})),r.d(n,"getFormatTypeForClassName",(function(){return p}));var a={};r.r(a),r.d(a,"addFormatTypes",(function(){return m})),r.d(a,"removeFormatTypes",(function(){return v}));var o=r(5),i=r(8),c=r(2);var u=Object(o.combineReducers)({formatTypes: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_FORMAT_TYPES":return Object(i.a)({},e,Object(c.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(c.omit)(e,t.names)}return e}}),l=r(31),s=Object(l.a)((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function f(e,t){return e.formatTypes[t]}function d(e,t){return Object(c.find)(s(e),(function(e){var r=e.tagName;return t===r}))}function p(e,t){return Object(c.find)(s(e),(function(e){var r=e.className;return null!==r&&" ".concat(t," ").indexOf(" ".concat(r," "))>=0}))}function m(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(c.castArray)(e)}}function v(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(c.castArray)(e)}}function g(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var r=e.attributes,n=t.attributes;if(r===n)return!0;if(!r||!n)return!1;var a=Object.keys(r),o=Object.keys(n);if(a.length!==o.length)return!1;for(var i=a.length,c=0;c<i;c++){var u=a[c];if(r[u]!==n[u])return!1}return!0}function h(e){var t=e.formats,r=e.text,n=e.start,a=e.end,o=[];return{formats:t.map((function(e){return e.map((function(e){var t=Object(c.find)(o,(function(t){return g(t,e)}));return t||(o.push(e),e)}))})),text:r,start:n,end:a}}function b(e,t){var r=e.formats,n=e.text,a=e.start,o=e.end,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o,l=r.slice(0);if(i===u){var s=Object(c.find)(l[i],{type:t.type});if(!s){var f=l[i-1]||[],d=Object(c.find)(f,{type:t.type});return{formats:r,text:n,start:a,end:o,formatPlaceholder:{index:i,format:d?void 0:t}}}for(;Object(c.find)(l[i],s);)y(l,i,t),i--;for(u++;Object(c.find)(l[u],s);)y(l,u,t),u++}else for(var p=i;p<u;p++)y(l,p,t);return h({formats:l,text:n,start:a,end:o})}function y(e,t,r){if(e[t]){var n=e[t].filter((function(e){return e.type!==r.type}));n.push(r),e[t]=n}else e[t]=[r]}function x(e,t){return e.text[t]}function T(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h(t.reduce((function(e,t){var r=t.formats,n=t.text;return{text:e.text+n,formats:e.formats.concat(r)}})))}Object(o.registerStore)("core/rich-text",{reducer:u,selectors:n,actions:a});var O=r(19),j=r(28),w="\u2028";function N(e){return 0===e.text.length}function E(e){var t=e.text,r=e.start,n=e.end;return r===n&&(0===t.length||(0===r&&t.slice(0,1)===w||(r===t.length&&t.slice(-1)===w||t.slice(r-1,n+1)==="".concat(w).concat(w))))}function _(e,t){var r=e.implementation;return _.body||(_.body=r.createHTMLDocument("").body),_.body.innerHTML=t,_.body}var C=window.Node,S=C.TEXT_NODE,F=C.ELEMENT_NODE;function A(e,t){for(var r in e)if(e[r]===t)return r}function P(e){var t,r=e.type,n=e.attributes;if(n&&n.class&&(t=Object(o.select)("core/rich-text").getFormatTypeForClassName(n.class))&&(n.class=" ".concat(n.class," ").replace(" ".concat(t.className," ")," ").trim(),n.class||delete n.class),t||(t=Object(o.select)("core/rich-text").getFormatTypeForBareElement(r)),!t)return n?{type:r,attributes:n}:{type:r};if(!n)return{type:t.name};var a={},i={};for(var c in n){var u=A(t.attributes,c);u?a[u]=n[c]:i[c]=n[c]}return{type:t.name,attributes:a,unregisteredAttributes:i}}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,r=e.text,n=e.html,a=e.range,o=e.multilineTag,i=e.multilineWrapperTags,c=e.removeNode,u=e.unwrapNode,l=e.filterString,s=e.removeAttribute;return"string"==typeof r&&r.length>0?{formats:Array(r.length),text:r}:("string"==typeof n&&n.length>0&&(t=_(document,n)),"object"!==Object(j.a)(t)?{formats:[],text:""}:o?M({element:t,range:a,multilineTag:o,multilineWrapperTags:i,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s}):I({element:t,range:a,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s}))}function D(e,t,r,n){if(r){var a=t.parentNode,o=r.startContainer,i=r.startOffset,c=r.endContainer,u=r.endOffset,l=e.text.length;void 0!==n.start?e.start=l+n.start:t===o&&t.nodeType===S?e.start=l+i:a===o&&t===o.childNodes[i]?e.start=l:a===o&&t===o.childNodes[i-1]?e.start=l+n.text.length:t===o&&(e.start=l),void 0!==n.end?e.end=l+n.end:t===c&&t.nodeType===S?e.end=l+u:a===c&&t===c.childNodes[u-1]?e.end=l+n.text.length:a===c&&t===c.childNodes[u]?e.end=l:t===c&&(e.end=l+u)}}function L(e,t,r){if(t){var n=t.startContainer,a=t.endContainer,o=t.startOffset,i=t.endOffset;return e===n&&(o=r(e.nodeValue.slice(0,o)).length),e===a&&(i=r(e.nodeValue.slice(0,i)).length),{startContainer:n,startOffset:o,endContainer:a,endOffset:i}}}function I(e){var t=e.element,r=e.range,n=e.multilineTag,a=e.multilineWrapperTags,o=e.currentWrapperTags,i=void 0===o?[]:o,c=e.removeNode,u=e.unwrapNode,l=e.filterString,s=e.removeAttribute,f={formats:[],text:""};if(!t)return f;if(!t.hasChildNodes())return D(f,t,r,{formats:[],text:""}),f;for(var d=t.childNodes.length,p=function(e){return e=e.replace(/[\n\r\t]+/g," "),l&&(e=l(e)),e},m=0;m<d;m++){var v=t.childNodes[m],h=v.nodeName.toLowerCase();if(v.nodeType!==S){if(v.nodeType===F)if(c&&c(v)||u&&u(v)&&!v.hasChildNodes())D(f,v,r,{formats:[],text:""});else if("br"!==h){var b=f.formats[f.formats.length-1],y=b&&b[b.length-1],x=void 0,T=void 0;if(!u||!u(v)){var j=P({type:h,attributes:k({element:v,removeAttribute:s})});j&&(x=g(j,y)?y:j)}a&&-1!==a.indexOf(h)?(T=M({element:v,range:r,multilineTag:n,multilineWrapperTags:a,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s,currentWrapperTags:Object(O.a)(i).concat([x])}),x=void 0):T=I({element:v,range:r,multilineTag:n,multilineWrapperTags:a,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s});var w=T.text,E=f.text.length;if(D(f,v,r,T),!N(T)||!x||x.attributes){var _=f.formats;if(x&&x.attributes&&0===w.length)x.object=!0,f.text+="",_[E]?_[E].unshift(x):_[E]=[x];else{f.text+=w,f.formats.length+=w.length;for(var C=T.formats.length;C--;){var A,W=E+C;if(x&&(_[W]?_[W].push(x):_[W]=[x]),T.formats[C])if(_[W])(A=_[W]).push.apply(A,Object(O.a)(T.formats[C]));else _[W]=T.formats[C]}}}}else D(f,v,r,{formats:[],text:""}),f.text+="\n",f.formats.length+=1}else{var V=p(v.nodeValue);D(f,v,r=L(v,r,p),{text:V}),f.text+=V,f.formats.length+=V.length}}return f}function M(e){var t=e.element,r=e.range,n=e.multilineTag,a=e.multilineWrapperTags,o=e.removeNode,i=e.unwrapNode,c=e.filterString,u=e.removeAttribute,l=e.currentWrapperTags,s=void 0===l?[]:l,f={formats:[],text:""};if(!t||!t.hasChildNodes())return f;for(var d=t.children.length,p=0;p<d;p++){var m=t.children[p];if(m.nodeName.toLowerCase()===n){var v=I({element:m,range:r,multilineTag:n,multilineWrapperTags:a,currentWrapperTags:s,removeNode:o,unwrapNode:i,filterString:c,removeAttribute:u});if("\n"===v.text){var g=v.start,h=v.end;v={formats:[],text:""},void 0!==g&&(v.start=0),void 0!==h&&(v.end=0)}if(0!==p||s.length>0){var b=s.length>0?[s]:[,];f.formats=f.formats.concat(b),f.text+=w}D(f,m,r,v),f.formats=f.formats.concat(v.formats),f.text+=v.text}}return f}function k(e){var t=e.element,r=e.removeAttribute;if(t.hasAttributes()){for(var n,a=t.attributes.length,o=0;o<a;o++){var i=t.attributes[o],c=i.name,u=i.value;r&&r(c)||((n=n||{})[c]=u)}return n}}function V(e,t){var r=e.formats,n=e.start;if(void 0!==n)return Object(c.find)(r[n],{type:t})}function R(e){return e.end}function z(e){return e.start}function B(e){return e.text}function H(e){var t=e.start,r=e.end;if(void 0!==t&&void 0!==r)return t===r}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=W({text:t})),h(e.reduce((function(e,r){var n=r.formats,a=r.text;return{text:e.text+t.text+a,formats:e.formats.concat(t.formats,n)}})))}var Y=r(15),q=r(18),$=r(0),U=r(41),X=r.n(U),Z=r(23),K=r(7),J=[];function Q(e,t){if("string"==typeof(t=Object(i.a)({name:e},t)).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(o.select)("core/rich-text").getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){var r=Object(o.select)("core/rich-text").getFormatTypeForBareElement(t.tagName);if(r)return void window.console.error('Format "'.concat(r.name,'" is already registered to handle bare tag name "').concat(t.tagName,'".'))}else{var n=Object(o.select)("core/rich-text").getFormatTypeForClassName(t.className);if(n)return void window.console.error('Format "'.concat(n.name,'" is already registered to handle class name "').concat(t.className,'".'))}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title){Object(o.dispatch)("core/rich-text").addFormatTypes(t);var a=X()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0;return Object(O.a)(e).concat([t])}));return t.__experimentalGetPropsForEditableTreePreparation&&Object(Z.addFilter)("experimentalRichText",e,(function(r){var n=r;(t.__experimentalCreatePrepareEditableTree||t.__experimentalCreateFormatToValue||t.__experimentalCreateValueToFormat)&&(n=function(n){var o={};if(t.__experimentalCreatePrepareEditableTree&&(o.prepareEditableTree=a(n.prepareEditableTree,t.__experimentalCreatePrepareEditableTree(n["format_".concat(e)],{richTextIdentifier:n.identifier,blockClientId:n.clientId}))),t.__experimentalCreateOnChangeEditableValue){var c=Object.keys(n).reduce((function(t,r){var a=n[r],o="format_".concat(e,"_dispatch_");r.startsWith(o)&&(t[r.replace(o,"")]=a);return t}),{});o.onChangeEditableValue=a(n.onChangeEditableValue,t.__experimentalCreateOnChangeEditableValue(Object(i.a)({},n["format_".concat(e)],c),{richTextIdentifier:n.identifier,blockClientId:n.clientId}))}return Object($.createElement)(r,Object(q.a)({},n,o))});var u=[Object(o.withSelect)((function(r,n){var a=n.clientId,o=n.identifier;return Object(Y.a)({},"format_".concat(e),t.__experimentalGetPropsForEditableTreePreparation(r,{richTextIdentifier:o,blockClientId:a}))}))];return t.__experimentalGetPropsForEditableTreeChangeHandler&&u.push(Object(o.withDispatch)((function(r,n){var a=n.clientId,o=n.identifier,i=t.__experimentalGetPropsForEditableTreeChangeHandler(r,{richTextIdentifier:o,blockClientId:a});return Object(c.mapKeys)(i,(function(t,r){return"format_".concat(e,"_dispatch_").concat(r)}))}))),Object(K.compose)(u)(n)})),t}window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function ee(e,t){var r=e.formats,n=e.text,a=e.start,o=e.end,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o,l=r.slice(0);if(i===u){for(var s=Object(c.find)(l[i],{type:t});Object(c.find)(l[i],s);)te(l,i,t),i--;for(u++;Object(c.find)(l[u],s);)te(l,u,t),u++}else for(var f=i;f<u;f++)l[f]&&te(l,f,t);return h({formats:l,text:n,start:a,end:o})}function te(e,t,r){var n=e[t].filter((function(e){return e.type!==r}));n.length?e[t]=n:delete e[t]}function re(e,t){var r=e.formats,n=e.text,a=e.start,o=e.end,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o;"string"==typeof t&&(t=W({text:t}));var u=i+t.text.length;return h({formats:r.slice(0,i).concat(t.formats,r.slice(c)),text:n.slice(0,i)+t.text+n.slice(c),start:u,end:u})}function ne(e,t,r){return re(e,W(),t,r)}function ae(e,t,r){var n=e.formats,a=e.text,o=e.start,i=e.end;return a=a.replace(t,(function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),c=1;c<t;c++)a[c-1]=arguments[c];var u,l=a[a.length-2],s=r;return"function"==typeof s&&(s=r.apply(void 0,[e].concat(a))),"object"===Object(j.a)(s)?(u=s.formats,s=s.text):(u=Array(s.length),n[l]&&(u=u.fill(n[l]))),n=n.slice(0,l).concat(u,n.slice(l+e.length)),o&&(o=i=l+s.length),s})),h({formats:n,text:a,start:o,end:i})}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,n=B(e).slice(0,t),a=n.lastIndexOf(w),o=e.formats[a],i=[,];o&&(i=[o]);var c={formats:i,text:w};return re(e,c,t,r)}function ie(e,t,r,n){return re(e,{text:"",formats:[[Object(i.a)({},t,{object:!0})]]},r,n)}function ce(e){var t=e.formats,r=e.text,n=e.start,a=e.end,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;return void 0===o||void 0===i?{formats:t,text:r}:{formats:t.slice(o,i),text:r.slice(o,i)}}function ue(e,t){var r=e.formats,n=e.text,a=e.start,o=e.end;if("string"!=typeof t)return le.apply(void 0,arguments);var i=0;return n.split(t).map((function(e){var n=i,c={formats:r.slice(n,n+e.length),text:e};return i+=t.length+e.length,void 0!==a&&void 0!==o&&(a>=n&&a<i?c.start=a-n:a<n&&o>n&&(c.start=0),o>=n&&o<i?c.end=o-n:a<i&&o>i&&(c.end=e.length)),c}))}function le(e){var t=e.formats,r=e.text,n=e.start,a=e.end,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,c={formats:t.slice(0,o),text:r.slice(0,o)},u={formats:t.slice(i),text:r.slice(i),start:0,end:0};return[ae(c,/\u2028+$/,""),ae(u,/^\u2028+/,"")]}function se(e){var t=e.type,r=e.attributes,n=e.unregisteredAttributes,a=e.object,c=function(e){return Object(o.select)("core/rich-text").getFormatType(e)}(t);if(!c)return{type:t,attributes:r,object:a};var u=Object(i.a)({},n);for(var l in r){var s=c.attributes[l];s?u[s]=r[l]:u[l]=r[l]}return c.className&&(u.class?u.class="".concat(c.className," ").concat(u.class):u.class=c.className),{type:c.tagName,object:c.object,attributes:u}}function fe(e){var t,r,n,a=e.value,o=e.multilineTag,i=e.multilineWrapperTags,c=void 0===i?[]:i,u=e.createEmpty,l=e.append,s=e.getLastChild,f=e.getParent,d=e.isText,p=e.getText,m=e.remove,v=e.appendText,g=e.onStartIndex,h=e.onEndIndex,b=e.isEditableTree,y=a.formats,x=a.text,T=a.start,j=a.end,N=a.formatPlaceholder,E=y.length+1,_=u(),C={type:o};function S(e,t){if(b&&N&&N.index===t){var r=f(e);e=void 0===N.format?f(r):l(r,se(N.format)),e=l(e,"\ufeff")}return e}o?(l(l(_,{type:o}),""),r=t=[C]):l(_,"");for(var F=function(e){var a=x.charAt(e),i=y[e];o&&(i=a===w?t=(i||[]).reduce((function(e,t){return a===w&&-1!==c.indexOf(t.type)&&(e.push(t),e.push(C)),e}),[C]):Object(O.a)(t).concat(Object(O.a)(i||[])));var u=s(_);if(n===w){for(var b=u;!d(b);)b=s(b);g&&T===e&&g(_,b),h&&j===e&&h(_,b)}if(i&&i.forEach((function(e,t){if(!u||!r||e!==r[t]||a===w&&i.length-1===t){var n=f(u),o=l(n,se(e));d(u)&&0===p(u).length&&m(u),u=l(e.object?n:o,"")}else u=s(u)})),a===w)return r=i,n=a,"continue";u=S(u,0),0===e&&(g&&0===T&&g(_,u),h&&0===j&&h(_,u)),""!==a&&("\n"===a?(u=l(f(u),{type:"br",object:!0}),u=l(f(u),"")):d(u)?v(u,a):u=l(f(u),a)),u=S(u,e+1),g&&T===e+1&&g(_,u),h&&j===e+1&&h(_,u),r=i,n=a},A=0;A<E;A++)F(A);return _}var de=window.Node,pe=de.TEXT_NODE,me=de.ELEMENT_NODE;function ve(e,t,r){for(var n=e.parentNode,a=0;e=e.previousSibling;)a++;return r=[a].concat(Object(O.a)(r)),n!==t&&(r=ve(n,t,r)),r}function ge(e,t){for(t=Object(O.a)(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var he=function(){return _(document,"")};function be(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var r=t,n=r.type,a=r.attributes;if(n)for(var o in t=e.ownerDocument.createElement(n),a)t.setAttribute(o,a[o]);return e.appendChild(t)}function ye(e,t){e.appendData(t)}function xe(e){return e.lastChild}function Te(e){return e.parentNode}function Oe(e){return e.nodeType===pe}function je(e){return e.nodeValue}function we(e){return e.parentNode.removeChild(e)}function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return e.reduce((function(e,r){return r(e,t.text)}),t.formats)}function Ee(e){var t=e.value,r=e.multilineTag,n=e.multilineWrapperTags,a=e.createLinePadding,o=e.prepareEditableTree,c=[],u=[],l=fe({value:Object(i.a)({},t,{formats:Ne(o,t)}),multilineTag:r,multilineWrapperTags:n,createEmpty:he,append:be,getLastChild:xe,getParent:Te,isText:Oe,getText:je,remove:we,appendText:ye,onStartIndex:function(e,t){c=ve(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){u=ve(t,e,[t.nodeValue.length])},isEditableTree:!0});return a&&function e(t){for(var r=t.element,n=t.createLinePadding,a=t.multilineWrapperTags,o=r.childNodes.length,i=r.ownerDocument,c=0;c<o;c++){var u=r.childNodes[c];u.nodeType===pe?1!==o||u.nodeValue||r.appendChild(n(i)):(a&&!u.previousSibling&&-1!==a.indexOf(u.nodeName.toLowerCase())&&r.insertBefore(n(i),u),e({element:u,createLinePadding:n,multilineWrapperTags:a}))}}({element:l,createLinePadding:a,multilineWrapperTags:n}),{body:l,selection:{startPath:c,endPath:u}}}function _e(e){var t=e.value,r=e.current,n=Ee({value:t,multilineTag:e.multilineTag,multilineWrapperTags:e.multilineWrapperTags,createLinePadding:e.createLinePadding,prepareEditableTree:e.prepareEditableTree}),a=n.body,o=n.selection;!function(e,t){var r,n=0;for(;r=e.firstChild;){var a=t.childNodes[n];a?a.isEqualNode(r)?e.removeChild(r):t.replaceChild(r,a):t.appendChild(r),n++}for(;t.childNodes[n];)t.removeChild(t.childNodes[n])}(a,r),void 0!==t.start&&function(e,t){var r=ge(t,e.startPath),n=r.node,a=r.offset,o=ge(t,e.endPath),i=o.node,c=o.offset,u=window.getSelection(),l=t.ownerDocument.createRange(),s=n===i&&a===c;s&&0===a&&n.previousSibling&&n.previousSibling.nodeType===me&&"BR"!==n.previousSibling.nodeName||s&&0===a&&n===pe&&0===n.nodeValue.length?(n.insertData(0,"\ufeff"),l.setStart(n,1),l.setEnd(i,1)):(l.setStart(n,a),l.setEnd(i,c));if(u.rangeCount>0){if(f=l,d=u.getRangeAt(0),f.startContainer===d.startContainer&&f.startOffset===d.startOffset&&f.endContainer===d.endContainer&&f.endOffset===d.endOffset)return;u.removeAllRanges()}var f,d;u.addRange(l)}(o,r)}var Ce=r(61);function Se(e){return Ve(fe({value:e.value,multilineTag:e.multilineTag,multilineWrapperTags:e.multilineWrapperTags,createEmpty:Fe,append:Pe,getLastChild:Ae,getParent:De,isText:Le,getText:Ie,remove:Me,appendText:We}).children)}function Fe(){return{}}function Ae(e){var t=e.children;return t&&t[t.length-1]}function Pe(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function We(e,t){e.text+=t}function De(e){return e.parent}function Le(e){return"string"==typeof e.text}function Ie(e){return e.text}function Me(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function ke(e){var t=e.type,r=e.attributes,n=e.object,a=e.children,o="";for(var i in r)Object(Ce.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(Ce.escapeAttribute)(r[i]),'"'));return n?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Ve(a),"</").concat(t,">")}function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return void 0===e.text?ke(e):Object(Ce.escapeHTML)(e.text)})).join("")}function Re(e,t){return V(e,t.type)?ee(e,t.type):b(e,t)}function ze(e){var t=Object(o.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&t.__experimentalGetPropsForEditableTreePreparation&&Object(Z.removeFilter)("experimentalRichText",e),Object(o.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function Be(e){for(var t=e.start,r=e.text,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,a=n;a--;)if(r[a]===w)return a}function He(e,t){var r=Be(e);if(void 0===r)return e;var n=e.text,a=e.formats,o=e.start,i=e.end,c=Be(e,r),u=a[r]||[],l=a[c]||[];if(u.length>l.length)return e;for(var s=a.slice(),f=function(e,t){for(var r=e.text,n=e.formats,a=n[t]||[],o=t;o-- >=0;)if(r[o]===w){var i=n[o]||[];if(i.length===a.length+1)return o;if(i.length<=a.length)return}}(e,r),d=r;d<i;d++)if(n[d]===w)if(f){var p=a[f]||[];s[d]=p.concat((s[d]||[]).slice(p.length-1))}else{var m=a[c]||[],v=m[m.length-1]||t;s[d]=m.concat([v],(s[d]||[]).slice(m.length))}return h({text:n,formats:s,start:o,end:i})}function Ge(e,t){for(var r=e.text,n=e.formats,a=n[t]||[],o=t;o-- >=0;){if(r[o]===w)if((n[o]||[]).length===a.length-1)return o}}function Ye(e){var t=e.text,r=e.formats,n=e.start,a=e.end,o=Be(e,n);if(void 0===r[o])return e;for(var i=r.slice(0),c=r[Ge(e,o)]||[],u=function(e,t){for(var r=e.text,n=e.formats,a=n[t]||[],o=t,i=t||0;i<r.length;i++)if(r[i]===w){if(!((n[i]||[]).length>=a.length))return o;o=i}return o}(e,Be(e,a)),l=o;l<=u;l++)if(t[l]===w){var s=i[l]||[];i[l]=c.concat(s.slice(c.length+1)),0===i[l].length&&delete i[l]}return h({text:t,formats:i,start:n,end:a})}function qe(e,t){for(var r,n=e.text,a=e.formats,o=e.start,i=e.end,c=Be(e,o),u=a[c]||[],l=a[Be(e,i)]||[],s=Ge(e,c),f=a.slice(0),d=u.length-1,p=l.length-1,m=s+1||0;m<n.length;m++)if(n[m]===w){if((f[m]||[]).length<=d)break;f[m]&&(r=!0,f[m]=f[m].map((function(e,r){return r<d||r>p?e:t})))}return r?h({text:n,formats:f,start:o,end:i}):e}},31:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,t.a=function(e,t){var r,u;function l(){r=a?new WeakMap:i()}function s(){var r,n,a,o,i,l=arguments.length;for(o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];for(i=t.apply(null,o),(r=u(i)).isUniqueByDependants||(r.lastDependants&&!c(i,r.lastDependants,0)&&r.clear(),r.lastDependants=i),n=r.head;n;){if(c(n.args,o,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,o)},o[0]=null,n.args=o,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=o),u=a?function(e){var t,a,o,c,u,l=r,s=!0;for(t=0;t<e.length;t++){if(a=e[t],!(u=a)||"object"!=typeof u){s=!1;break}l.has(a)?l=l.get(a):(o=new WeakMap,l.set(a,o),l=o)}return l.has(n)||((c=i()).isUniqueByDependants=s,l.set(n,c)),l.get(n)}:function(){return r},s.getDependants=t,s.clear=l,l(),s}},33:function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},41:function(e,t,r){e.exports=function(e,t){var r,n,a,o=0;function i(){var t,i,c=n,u=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(i=0;i<u;i++)if(c.args[i]!==arguments[i]){c=c.next;continue e}return c!==n&&(c===a&&(a=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(t=new Array(u),i=0;i<u;i++)t[i]=arguments[i];return c={args:t,val:e.apply(null,t)},n?(n.prev=c,c.next=n):a=c,o===r?(a=a.prev).next=null:o++,n=c,c.val}return t&&t.maxSize&&(r=t.maxSize),i.clear=function(){n=null,a=null,o=0},i}},5:function(e,t){!function(){e.exports=this.wp.data}()},61:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},7:function(e,t){!function(){e.exports=this.wp.compose}()},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}}});
[+]
..
[-] components.js
[edit]
[-] i18n.js
[edit]
[-] url.min.js
[edit]
[-] blob.js
[edit]
[-] i18n.min.js
[edit]
[-] block-serialization-default-parser.js
[edit]
[-] plugins.js
[edit]
[-] deprecated.js
[edit]
[-] url.js
[edit]
[-] edit-post.min.js
[edit]
[-] format-library.min.js
[edit]
[-] redux-routine.min.js
[edit]
[-] blob.min.js
[edit]
[-] a11y.min.js
[edit]
[-] redux-routine.js
[edit]
[-] rich-text.min.js
[edit]
[-] autop.min.js
[edit]
[-] rich-text.js
[edit]
[-] keycodes.min.js
[edit]
[-] token-list.js
[edit]
[-] escape-html.js
[edit]
[-] editor.js
[edit]
[-] api-fetch.js
[edit]
[-] wordcount.js
[edit]
[-] escape-html.min.js
[edit]
[-] html-entities.min.js
[edit]
[-] wordcount.min.js
[edit]
[-] element.min.js
[edit]
[-] dom-ready.min.js
[edit]
[-] compose.min.js
[edit]
[+]
vendor
[-] notices.js
[edit]
[-] shortcode.min.js
[edit]
[-] dom.js
[edit]
[-] html-entities.js
[edit]
[-] blocks.min.js
[edit]
[-] plugins.min.js
[edit]
[-] core-data.js
[edit]
[-] annotations.min.js
[edit]
[-] token-list.min.js
[edit]
[-] dom-ready.js
[edit]
[-] a11y.js
[edit]
[-] list-reusable-blocks.js
[edit]
[-] viewport.min.js
[edit]
[-] deprecated.min.js
[edit]
[-] is-shallow-equal.js
[edit]
[-] notices.min.js
[edit]
[-] data.js
[edit]
[-] blocks.js
[edit]
[-] viewport.js
[edit]
[-] date.min.js
[edit]
[-] dom.min.js
[edit]
[-] hooks.js
[edit]
[-] autop.js
[edit]
[-] nux.min.js
[edit]
[-] is-shallow-equal.min.js
[edit]
[-] list-reusable-blocks.min.js
[edit]
[-] block-library.min.js
[edit]
[-] block-serialization-default-parser.min.js
[edit]
[-] compose.js
[edit]
[-] keycodes.js
[edit]
[-] element.js
[edit]
[-] date.js
[edit]
[-] hooks.min.js
[edit]
[-] edit-post.js
[edit]
[-] shortcode.js
[edit]
[-] block-library.js
[edit]
[-] core-data.min.js
[edit]
[-] annotations.js
[edit]
[-] api-fetch.min.js
[edit]
[-] format-library.js
[edit]
[-] components.min.js
[edit]
[-] data.min.js
[edit]
[-] editor.min.js
[edit]
[-] nux.js
[edit]