Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/rich-text.min.js.tar
Arrière
home/wwgoat/public_html/blog/wp-includes/js/dist/rich-text.min.js 0000644 00000072155 14720702566 0021114 0 ustar 00 /*! This file is auto-generated */ (()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{RichTextData:()=>j,__experimentalRichText:()=>Xe,__unstableCreateElement:()=>y,__unstableToDom:()=>be,__unstableUseRichText:()=>Be,applyFormat:()=>h,concat:()=>Y,create:()=>V,getActiveFormat:()=>G,getActiveFormats:()=>T,getActiveObject:()=>Z,getTextContent:()=>H,insert:()=>oe,insertObject:()=>ie,isCollapsed:()=>J,isEmpty:()=>Q,join:()=>ee,registerFormatType:()=>te,remove:()=>ae,removeFormat:()=>ne,replace:()=>se,slice:()=>ce,split:()=>le,store:()=>f,toHTMLString:()=>_,toggleFormat:()=>Le,unregisterFormatType:()=>Ce,useAnchor:()=>De,useAnchorRef:()=>Se});var n={};e.r(n),e.d(n,{getFormatType:()=>i,getFormatTypeForBareElement:()=>c,getFormatTypeForClassName:()=>l,getFormatTypes:()=>s});var r={};e.r(r),e.d(r,{addFormatTypes:()=>u,removeFormatTypes:()=>d});const o=window.wp.data;const a=(0,o.combineReducers)({formatTypes:function(e={},t){switch(t.type){case"ADD_FORMAT_TYPES":return{...e,...t.formatTypes.reduce(((e,t)=>({...e,[t.name]:t})),{})};case"REMOVE_FORMAT_TYPES":return Object.fromEntries(Object.entries(e).filter((([e])=>!t.names.includes(e))))}return e}}),s=(0,o.createSelector)((e=>Object.values(e.formatTypes)),(e=>[e.formatTypes]));function i(e,t){return e.formatTypes[t]}function c(e,t){const n=s(e);return n.find((({className:e,tagName:n})=>null===e&&t===n))||n.find((({className:e,tagName:t})=>null===e&&"*"===t))}function l(e,t){return s(e).find((({className:e})=>null!==e&&` ${t} `.indexOf(` ${e} `)>=0))}function u(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Array.isArray(e)?e:[e]}}function d(e){return{type:"REMOVE_FORMAT_TYPES",names:Array.isArray(e)?e:[e]}}const f=(0,o.createReduxStore)("core/rich-text",{reducer:a,selectors:n,actions:r});function m(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;const n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;const o=Object.keys(n),a=Object.keys(r);if(o.length!==a.length)return!1;const s=o.length;for(let e=0;e<s;e++){const t=o[e];if(n[t]!==r[t])return!1}return!0}function p(e){const t=e.formats.slice();return t.forEach(((e,n)=>{const r=t[n-1];if(r){const o=e.slice();o.forEach(((e,t)=>{const n=r[t];m(e,n)&&(o[t]=n)})),t[n]=o}})),{...e,formats:t}}function g(e,t,n){return(e=e.slice())[t]=n,e}function h(e,t,n=e.start,r=e.end){const{formats:o,activeFormats:a}=e,s=o.slice();if(n===r){const e=s[n]?.find((({type:e})=>e===t.type));if(e){const o=s[n].indexOf(e);for(;s[n]&&s[n][o]===e;)s[n]=g(s[n],o,t),n--;for(r++;s[r]&&s[r][o]===e;)s[r]=g(s[r],o,t),r++}}else{let e=1/0;for(let o=n;o<r;o++)if(s[o]){s[o]=s[o].filter((({type:e})=>e!==t.type));const n=s[o].length;n<e&&(e=n)}else s[o]=[],e=0;for(let o=n;o<r;o++)s[o].splice(e,0,t)}return p({...e,formats:s,activeFormats:[...a?.filter((({type:e})=>e!==t.type))||[],t]})}function y({implementation:e},t){return y.body||(y.body=e.createHTMLDocument("").body),y.body.innerHTML=t,y.body}(0,o.register)(f);const v="",E="\ufeff",b=window.wp.escapeHtml;function T(e,t=[]){const{formats:n,start:r,end:o,activeFormats:a}=e;if(void 0===r)return t;if(r===o){if(a)return a;const e=n[r-1]||t,o=n[r]||t;return e.length<o.length?e:o}if(!n[r])return t;const s=n.slice(r,o),i=[...s[0]];let c=s.length;for(;c--;){const e=s[c];if(!e)return t;let n=i.length;for(;n--;){const t=i[n];e.find((e=>m(t,e)))||i.splice(n,1)}if(0===i.length)return t}return i||t}function x(e){return(0,o.select)(f).getFormatType(e)}function w(e,t){if(t)return e;const n={};for(const t in e){let r=t;t.startsWith("data-disable-rich-text-")&&(r=t.slice(23)),n[r]=e[t]}return n}function N({type:e,tagName:t,attributes:n,unregisteredAttributes:r,object:o,boundaryClass:a,isEditableTree:s}){const i=x(e);let c={};if(a&&s&&(c["data-rich-text-format-boundary"]="true"),!i)return n&&(c={...n,...c}),{type:e,attributes:w(c,s),object:o};c={...r,...c};for(const e in n){const t=!!i.attributes&&i.attributes[e];t?c[t]=n[e]:c[e]=n[e]}return i.className&&(c.class?c.class=`${i.className} ${c.class}`:c.class=i.className),s&&!1===i.contentEditable&&(c.contenteditable="false"),{type:t||i.tagName,object:i.object,attributes:w(c,s)}}function L(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}function C({value:e,preserveWhiteSpace:t,createEmpty:n,append:r,getLastChild:o,getParent:a,isText:s,getText:i,remove:c,appendText:l,onStartIndex:u,onEndIndex:d,isEditableTree:f,placeholder:m}){const{formats:p,replacements:g,text:h,start:y,end:b}=e,w=p.length+1,C=n(),_=T(e),F=_[_.length-1];let O,S;r(C,"");for(let e=0;e<w;e++){const n=h.charAt(e),T=f&&(!S||"\n"===S),w=p[e];let _=o(C);if(w&&w.forEach(((e,t)=>{if(_&&O&&L(w,O,t))return void(_=o(_));const{type:n,tagName:l,attributes:u,unregisteredAttributes:d}=e,m=f&&e===F,p=a(_),g=r(p,N({type:n,tagName:l,attributes:u,unregisteredAttributes:d,boundaryClass:m,isEditableTree:f}));s(_)&&0===i(_).length&&c(_),_=r(g,"")})),0===e&&(u&&0===y&&u(C,_),d&&0===b&&d(C,_)),n===v){const t=g[e];if(!t)continue;const{type:n,attributes:o,innerHTML:s}=t,i=x(n);f||"script"!==n?!1===i?.contentEditable?(_=r(a(_),N({...t,isEditableTree:f,boundaryClass:y===e&&b===e+1})),s&&r(_,{html:s})):_=r(a(_),N({...t,object:!0,isEditableTree:f})):(_=r(a(_),N({type:"script",isEditableTree:f})),r(_,{html:decodeURIComponent(o["data-rich-text-script"])})),_=r(a(_),"")}else t||"\n"!==n?s(_)?l(_,n):_=r(a(_),n):(_=r(a(_),{type:"br",attributes:f?{"data-rich-text-line-break":"true"}:void 0,object:!0}),_=r(a(_),""));u&&y===e+1&&u(C,_),d&&b===e+1&&d(C,_),T&&e===h.length&&(r(a(_),E),m&&0===h.length&&r(a(_),{type:"span",attributes:{"data-rich-text-placeholder":m,style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),O=w,S=n}return C}function _({value:e,preserveWhiteSpace:t}){return $(C({value:e,preserveWhiteSpace:t,createEmpty:F,append:S,getLastChild:O,getParent:R,isText:D,getText:M,remove:k,appendText:A}).children)}function F(){return{}}function O({children:e}){return e&&e[e.length-1]}function S(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function A(e,t){e.text+=t}function R({parent:e}){return e}function D({text:e}){return"string"==typeof e}function M({text:e}){return e}function k(e){const t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function $(e=[]){return e.map((e=>void 0!==e.html?e.html:void 0===e.text?function({type:e,attributes:t,object:n,children:r}){let o="";for(const e in t)(0,b.isValidAttributeName)(e)&&(o+=` ${e}="${(0,b.escapeAttribute)(t[e])}"`);return n?`<${e}${o}>`:`<${e}${o}>${$(r)}</${e}>`}(e):(0,b.escapeEditableHTML)(e.text))).join("")}function H({text:e}){return e.replace(v,"")}function P({tagName:e,attributes:t}){let n;if(t&&t.class&&(n=(0,o.select)(f).getFormatTypeForClassName(t.class),n&&(t.class=` ${t.class} `.replace(` ${n.className} `," ").trim(),t.class||delete t.class)),n||(n=(0,o.select)(f).getFormatTypeForBareElement(e)),!n)return t?{type:e,attributes:t}:{type:e};if(n.__experimentalCreatePrepareEditableTree&&!n.__experimentalCreateOnChangeEditableValue)return null;if(!t)return{formatType:n,type:n.name,tagName:e};const r={},a={},s={...t};for(const e in n.attributes){const t=n.attributes[e];r[e]=s[t],delete s[t],void 0===r[e]&&delete r[e]}for(const e in s)a[e]=t[e];return!1===n.contentEditable&&delete a.contenteditable,{formatType:n,type:n.name,tagName:e,attributes:r,unregisteredAttributes:a}}class j{#e;static empty(){return new j}static fromPlainText(e){return new j(V({text:e}))}static fromHTMLString(e){return new j(V({html:e}))}static fromHTMLElement(e,t={}){const{preserveWhiteSpace:n=!1}=t,r=n?e:z(e),o=new j(V({element:r}));return Object.defineProperty(o,"originalHTML",{value:e.innerHTML}),o}constructor(e={formats:[],replacements:[],text:""}){this.#e=e}toPlainText(){return H(this.#e)}toHTMLString({preserveWhiteSpace:e}={}){return this.originalHTML||_({value:this.#e,preserveWhiteSpace:e})}valueOf(){return this.toHTMLString()}toString(){return this.toHTMLString()}toJSON(){return this.toHTMLString()}get length(){return this.text.length}get formats(){return this.#e.formats}get replacements(){return this.#e.replacements}get text(){return this.#e.text}}for(const e of Object.getOwnPropertyNames(String.prototype))j.prototype.hasOwnProperty(e)||Object.defineProperty(j.prototype,e,{value(...t){return this.toHTMLString()[e](...t)}});function V({element:e,text:t,html:n,range:r,__unstableIsEditableTree:o}={}){return n instanceof j?{text:n.text,formats:n.formats,replacements:n.replacements}:"string"==typeof t&&t.length>0?{formats:Array(t.length),replacements:Array(t.length),text:t}:("string"==typeof n&&n.length>0&&(e=y(document,n)),"object"!=typeof e?{formats:[],replacements:[],text:""}:K({element:e,range:r,isEditableTree:o}))}function I(e,t,n,r){if(!n)return;const{parentNode:o}=t,{startContainer:a,startOffset:s,endContainer:i,endOffset:c}=n,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===a&&t.nodeType===t.TEXT_NODE?e.start=l+s:o===a&&t===a.childNodes[s]?e.start=l:o===a&&t===a.childNodes[s-1]?e.start=l+r.text.length:t===a&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===i&&t.nodeType===t.TEXT_NODE?e.end=l+c:o===i&&t===i.childNodes[c-1]?e.end=l+r.text.length:o===i&&t===i.childNodes[c]?e.end=l:t===i&&(e.end=l+c)}function W(e,t,n){if(!t)return;const{startContainer:r,endContainer:o}=t;let{startOffset:a,endOffset:s}=t;return e===r&&(a=n(e.nodeValue.slice(0,a)).length),e===o&&(s=n(e.nodeValue.slice(0,s)).length),{startContainer:r,startOffset:a,endContainer:o,endOffset:s}}function z(e,t=!0){const n=e.cloneNode(!0);return n.normalize(),Array.from(n.childNodes).forEach(((e,n,r)=>{if(e.nodeType===e.TEXT_NODE){let o=e.nodeValue;/[\n\t\r\f]/.test(o)&&(o=o.replace(/[\n\t\r\f]+/g," ")),-1!==o.indexOf(" ")&&(o=o.replace(/ {2,}/g," ")),0===n&&o.startsWith(" ")?o=o.slice(1):t&&n===r.length-1&&o.endsWith(" ")&&(o=o.slice(0,-1)),e.nodeValue=o}else e.nodeType===e.ELEMENT_NODE&&z(e,!1)})),n}const B="\r";function X(e){return e.replace(new RegExp(`[${E}${v}${B}]`,"gu"),"")}function K({element:e,range:t,isEditableTree:n}){const r={formats:[],replacements:[],text:""};if(!e)return r;if(!e.hasChildNodes())return I(r,e,t,{formats:[],replacements:[],text:""}),r;const o=e.childNodes.length;for(let a=0;a<o;a++){const s=e.childNodes[a],i=s.nodeName.toLowerCase();if(s.nodeType===s.TEXT_NODE){const u=X(s.nodeValue);I(r,s,t=W(s,t,X),{text:u}),r.formats.length+=u.length,r.replacements.length+=u.length,r.text+=u;continue}if(s.nodeType!==s.ELEMENT_NODE)continue;if(n&&"br"===i&&!s.getAttribute("data-rich-text-line-break")){I(r,s,t,{formats:[],replacements:[],text:""});continue}if("script"===i){const d={formats:[,],replacements:[{type:i,attributes:{"data-rich-text-script":s.getAttribute("data-rich-text-script")||encodeURIComponent(s.innerHTML)}}],text:v};I(r,s,t,d),U(r,d);continue}if("br"===i){I(r,s,t,{formats:[],replacements:[],text:""}),U(r,V({text:"\n"}));continue}const c=P({tagName:i,attributes:q({element:s})});if(!1===c?.formatType?.contentEditable){delete c.formatType,I(r,s,t,{formats:[],replacements:[],text:""}),U(r,{formats:[,],replacements:[{...c,innerHTML:s.innerHTML}],text:v});continue}c&&delete c.formatType;const l=K({element:s,range:t,isEditableTree:n});if(I(r,s,t,l),!c||s.getAttribute("data-rich-text-placeholder"))U(r,l);else if(0===l.text.length)c.attributes&&U(r,{formats:[,],replacements:[c],text:v});else{function f(e){if(f.formats===e)return f.newFormats;const t=e?[c,...e]:[c];return f.formats=e,f.newFormats=t,t}f.newFormats=[c],U(r,{...l,formats:Array.from(l.formats,f)})}}return r}function q({element:e}){if(!e.hasAttributes())return;const t=e.attributes.length;let n;for(let r=0;r<t;r++){const{name:t,value:o}=e.attributes[r];if(0===t.indexOf("data-rich-text-"))continue;n=n||{},n[/^on/i.test(t)?"data-disable-rich-text-"+t:t]=o}return n}function U(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function Y(...e){return p(e.reduce(U,V()))}function G(e,t){return T(e).find((({type:e})=>e===t))}function Z({start:e,end:t,replacements:n,text:r}){if(e+1===t&&r[e]===v)return n[e]}function J({start:e,end:t}){if(void 0!==e&&void 0!==t)return e===t}function Q({text:e}){return 0===e.length}function ee(e,t=""){return"string"==typeof t&&(t=V({text:t})),p(e.reduce(((e,{formats:n,replacements:r,text:o})=>({formats:e.formats.concat(t.formats,n),replacements:e.replacements.concat(t.replacements,r),text:e.text+t.text+o}))))}function te(e,t){if("string"==typeof(t={name:e,...t}).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if((0,o.select)(f).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){const e=(0,o.select)(f).getFormatTypeForBareElement(t.tagName);if(e&&"core/unknown"!==e.name)return void window.console.error(`Format "${e.name}" is already registered to handle bare tag name "${t.tagName}".`)}else{const e=(0,o.select)(f).getFormatTypeForClassName(t.className);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle class name "${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)return(0,o.dispatch)(f).addFormatTypes(t),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, underscores, 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 ne(e,t,n=e.start,r=e.end){const{formats:o,activeFormats:a}=e,s=o.slice();if(n===r){const e=s[n]?.find((({type:e})=>e===t));if(e){for(;s[n]?.find((t=>t===e));)re(s,n,t),n--;for(r++;s[r]?.find((t=>t===e));)re(s,r,t),r++}}else for(let e=n;e<r;e++)s[e]&&re(s,e,t);return p({...e,formats:s,activeFormats:a?.filter((({type:e})=>e!==t))||[]})}function re(e,t,n){const r=e[t].filter((({type:e})=>e!==n));r.length?e[t]=r:delete e[t]}function oe(e,t,n=e.start,r=e.end){const{formats:o,replacements:a,text:s}=e;"string"==typeof t&&(t=V({text:t}));const i=n+t.text.length;return p({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:a.slice(0,n).concat(t.replacements,a.slice(r)),text:s.slice(0,n)+t.text+s.slice(r),start:i,end:i})}function ae(e,t,n){return oe(e,V(),t,n)}function se({formats:e,replacements:t,text:n,start:r,end:o},a,s){return n=n.replace(a,((n,...a)=>{const i=a[a.length-2];let c,l,u=s;return"function"==typeof u&&(u=s(n,...a)),"object"==typeof u?(c=u.formats,l=u.replacements,u=u.text):(c=Array(u.length),l=Array(u.length),e[i]&&(c=c.fill(e[i]))),e=e.slice(0,i).concat(c,e.slice(i+n.length)),t=t.slice(0,i).concat(l,t.slice(i+n.length)),r&&(r=o=i+u.length),u})),p({formats:e,replacements:t,text:n,start:r,end:o})}function ie(e,t,n,r){return oe(e,{formats:[,],replacements:[t],text:v},n,r)}function ce(e,t=e.start,n=e.end){const{formats:r,replacements:o,text:a}=e;return void 0===t||void 0===n?{...e}:{formats:r.slice(t,n),replacements:o.slice(t,n),text:a.slice(t,n)}}function le({formats:e,replacements:t,text:n,start:r,end:o},a){if("string"!=typeof a)return function({formats:e,replacements:t,text:n,start:r,end:o},a=r,s=o){if(void 0===r||void 0===o)return;const i={formats:e.slice(0,a),replacements:t.slice(0,a),text:n.slice(0,a)},c={formats:e.slice(s),replacements:t.slice(s),text:n.slice(s),start:0,end:0};return[i,c]}(...arguments);let s=0;return n.split(a).map((n=>{const i=s,c={formats:e.slice(i,i+n.length),replacements:t.slice(i,i+n.length),text:n};return s+=a.length+n.length,void 0!==r&&void 0!==o&&(r>=i&&r<s?c.start=r-i:r<i&&o>i&&(c.start=0),o>=i&&o<s?c.end=o-i:r<s&&o>s&&(c.end=n.length)),c}))}function ue(e,t){return e===t||e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}function de(e,t,n){const r=e.parentNode;let o=0;for(;e=e.previousSibling;)o++;return n=[o,...n],r!==t&&(n=de(r,t,n)),n}function fe(e,t){for(t=[...t];e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}function me(e,t){if(void 0!==t.html)return e.innerHTML+=t.html;"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));const{type:n,attributes:r}=t;if(n){t=e.ownerDocument.createElement(n);for(const e in r)t.setAttribute(e,r[e])}return e.appendChild(t)}function pe(e,t){e.appendData(t)}function ge({lastChild:e}){return e}function he({parentNode:e}){return e}function ye(e){return e.nodeType===e.TEXT_NODE}function ve({nodeValue:e}){return e}function Ee(e){return e.parentNode.removeChild(e)}function be({value:e,prepareEditableTree:t,isEditableTree:n=!0,placeholder:r,doc:o=document}){let a=[],s=[];t&&(e={...e,formats:t(e)});return{body:C({value:e,createEmpty:()=>y(o,""),append:me,getLastChild:ge,getParent:he,isText:ye,getText:ve,remove:Ee,appendText:pe,onStartIndex(e,t){a=de(t,e,[t.nodeValue.length])},onEndIndex(e,t){s=de(t,e,[t.nodeValue.length])},isEditableTree:n,placeholder:r}),selection:{startPath:a,endPath:s}}}function Te({value:e,current:t,prepareEditableTree:n,__unstableDomOnly:r,placeholder:o}){const{body:a,selection:s}=be({value:e,prepareEditableTree:n,placeholder:o,doc:t.ownerDocument});xe(a,t),void 0===e.start||r||function({startPath:e,endPath:t},n){const{node:r,offset:o}=fe(n,e),{node:a,offset:s}=fe(n,t),{ownerDocument:i}=n,{defaultView:c}=i,l=c.getSelection(),u=i.createRange();u.setStart(r,o),u.setEnd(a,s);const{activeElement:d}=i;if(l.rangeCount>0){if(ue(u,l.getRangeAt(0)))return;l.removeAllRanges()}l.addRange(u),d!==i.activeElement&&d instanceof c.HTMLElement&&d.focus()}(s,t)}function xe(e,t){let n,r=0;for(;n=e.firstChild;){const o=t.childNodes[r];if(o)if(o.isEqualNode(n))e.removeChild(n);else if(o.nodeName!==n.nodeName||o.nodeType===o.TEXT_NODE&&o.data!==n.data)t.replaceChild(n,o);else{const t=o.attributes,r=n.attributes;if(t){let e=t.length;for(;e--;){const{name:r}=t[e];n.getAttribute(r)||o.removeAttribute(r)}}if(r)for(let e=0;e<r.length;e++){const{name:t,value:n}=r[e];o.getAttribute(t)!==n&&o.setAttribute(t,n)}xe(n,o),e.removeChild(n)}else t.appendChild(n);r++}for(;t.childNodes[r];)t.removeChild(t.childNodes[r])}const we=window.wp.a11y,Ne=window.wp.i18n;function Le(e,t){return G(e,t.type)?(t.title&&(0,we.speak)((0,Ne.sprintf)((0,Ne.__)("%s removed."),t.title),"assertive"),ne(e,t.type)):(t.title&&(0,we.speak)((0,Ne.sprintf)((0,Ne.__)("%s applied."),t.title),"assertive"),h(e,t))}function Ce(e){const t=(0,o.select)(f).getFormatType(e);if(t)return(0,o.dispatch)(f).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}const _e=window.wp.element,Fe=window.wp.deprecated;var Oe=e.n(Fe);function Se({ref:e,value:t,settings:n={}}){Oe()("`useAnchorRef` hook",{since:"6.1",alternative:"`useAnchor` hook"});const{tagName:r,className:o,name:a}=n,s=a?G(t,a):void 0;return(0,_e.useMemo)((()=>{if(!e.current)return;const{ownerDocument:{defaultView:t}}=e.current,n=t.getSelection();if(!n.rangeCount)return;const a=n.getRangeAt(0);if(!s)return a;let i=a.startContainer;for(i=i.nextElementSibling||i;i.nodeType!==i.ELEMENT_NODE;)i=i.parentNode;return i.closest(r+(o?"."+o:""))}),[s,t.start,t.end,r,o])}const Ae=window.wp.compose;function Re(e,t,n){if(!e)return;const{ownerDocument:r}=e,{defaultView:o}=r,a=o.getSelection();if(!a)return;if(!a.rangeCount)return;const s=a.getRangeAt(0);if(!s||!s.startContainer)return;const i=function(e,t,n,r){let o=e.startContainer;if(o.nodeType===o.TEXT_NODE&&e.startOffset===o.length&&o.nextSibling)for(o=o.nextSibling;o.firstChild;)o=o.firstChild;if(o.nodeType!==o.ELEMENT_NODE&&(o=o.parentElement),!o)return;if(o===t)return;if(!t.contains(o))return;const a=n+(r?"."+r:"");for(;o!==t;){if(o.matches(a))return o;o=o.parentElement}}(s,e,t,n);return i||function(e,t){return{contextElement:t,getBoundingClientRect:()=>t.contains(e.startContainer)?e.getBoundingClientRect():t.getBoundingClientRect()}}(s,e)}function De({editableContentElement:e,settings:t={}}){const{tagName:n,className:r,isActive:o}=t,[a,s]=(0,_e.useState)((()=>Re(e,n,r))),i=(0,Ae.usePrevious)(o);return(0,_e.useLayoutEffect)((()=>{if(!e)return;function t(){s(Re(e,n,r))}function a(){l.addEventListener("selectionchange",t)}function c(){l.removeEventListener("selectionchange",t)}const{ownerDocument:l}=e;return(e===l.activeElement||!i&&o||i&&!o)&&(s(Re(e,n,r)),a()),e.addEventListener("focusin",a),e.addEventListener("focusout",c),()=>{c(),e.removeEventListener("focusin",a),e.removeEventListener("focusout",c)}}),[e,n,r,o,i]),a}const Me="pre-wrap",ke="1px";function $e({record:e}){const t=(0,_e.useRef)(),{activeFormats:n=[],replacements:r,start:o}=e.current,a=r[o];return(0,_e.useEffect)((()=>{if(!(n&&n.length||a))return;const e="*[data-rich-text-format-boundary]",r=t.current.querySelector(e);if(!r)return;const{ownerDocument:o}=r,{defaultView:s}=o,i=`${`.rich-text:focus ${e}`} {${`background-color: ${s.getComputedStyle(r).color.replace(")",", 0.2)").replace("rgb","rgba")}`}}`,c="rich-text-boundary-style";let l=o.getElementById(c);l||(l=o.createElement("style"),l.id=c,o.head.appendChild(l)),l.innerHTML!==i&&(l.innerHTML=i)}),[n,a]),t}const He=window.wp.keycodes,Pe=[];const je=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),Ve=[],Ie="data-rich-text-placeholder";const We=[e=>t=>{function n(n){const{record:r}=e.current,{ownerDocument:o}=t;if(J(r.current)||!t.contains(o.activeElement))return;const a=ce(r.current),s=H(a),i=_({value:a});n.clipboardData.setData("text/plain",s),n.clipboardData.setData("text/html",i),n.clipboardData.setData("rich-text","true"),n.preventDefault(),"cut"===n.type&&o.execCommand("delete")}const{defaultView:r}=t.ownerDocument;return r.addEventListener("copy",n),r.addEventListener("cut",n),()=>{r.removeEventListener("copy",n),r.removeEventListener("cut",n)}},()=>e=>{function t(t){const{target:n}=t;if(n===e||n.textContent&&n.isContentEditable)return;const{ownerDocument:r}=n,{defaultView:o}=r,a=o.getSelection();if(a.containsNode(n))return;const s=r.createRange(),i=n.isContentEditable?n:n.closest("[contenteditable]");s.selectNode(i),a.removeAllRanges(),a.addRange(s),t.preventDefault()}function n(n){n.relatedTarget&&!e.contains(n.relatedTarget)&&"A"===n.relatedTarget.tagName&&t(n)}return e.addEventListener("click",t),e.addEventListener("focusin",n),()=>{e.removeEventListener("click",t),e.removeEventListener("focusin",n)}},e=>t=>{function n(n){const{keyCode:r,shiftKey:o,altKey:a,metaKey:s,ctrlKey:i}=n;if(o||a||s||i||r!==He.LEFT&&r!==He.RIGHT)return;const{record:c,applyRecord:l,forceRender:u}=e.current,{text:d,formats:f,start:m,end:p,activeFormats:g=[]}=c.current,h=J(c.current),{ownerDocument:y}=t,{defaultView:v}=y,{direction:E}=v.getComputedStyle(t),b="rtl"===E?He.RIGHT:He.LEFT,T=n.keyCode===b;if(h&&0===g.length){if(0===m&&T)return;if(p===d.length&&!T)return}if(!h)return;const x=f[m-1]||Pe,w=f[m]||Pe,N=T?x:w,L=g.every(((e,t)=>e===N[t]));let C=g.length;if(L?C<N.length&&C++:C--,C===g.length)return void(c.current._newActiveFormats=N);n.preventDefault();const _=(L?N:T?w:x).slice(0,C),F={...c.current,activeFormats:_};c.current=F,l(F),u()}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},e=>t=>{function n(t){const{keyCode:n}=t,{createRecord:r,handleChange:o}=e.current;if(t.defaultPrevented)return;if(n!==He.DELETE&&n!==He.BACKSPACE)return;const a=r(),{start:s,end:i,text:c}=a;0===s&&0!==i&&i===c.length&&(o(ae(a)),t.preventDefault())}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},e=>t=>{const{ownerDocument:n}=t,{defaultView:r}=n;let o=!1;function a(t){if(o)return;let n;t&&(n=t.inputType);const{record:r,applyRecord:a,createRecord:s,handleChange:i}=e.current;if(n&&(0===n.indexOf("format")||je.has(n)))return void a(r.current);const c=s(),{start:l,activeFormats:u=[]}=r.current,d=function({value:e,start:t,end:n,formats:r}){const o=Math.min(t,n),a=Math.max(t,n),s=e.formats[o-1]||[],i=e.formats[a]||[];for(e.activeFormats=r.map(((e,t)=>{if(s[t]){if(m(e,s[t]))return s[t]}else if(i[t]&&m(e,i[t]))return i[t];return e}));--n>=t;)e.activeFormats.length>0?e.formats[n]=e.activeFormats:delete e.formats[n];return e}({value:c,start:l,end:c.start,formats:u});i(d)}function s(){const{record:i,applyRecord:c,createRecord:l,onSelectionChange:u}=e.current;if("true"!==t.contentEditable)return;if(n.activeElement!==t)return void n.removeEventListener("selectionchange",s);if(o)return;const{start:d,end:f,text:m}=l(),p=i.current;if(m!==p.text)return void a();if(d===p.start&&f===p.end)return void(0===p.text.length&&0===d&&function(e){const t=e.getSelection(),{anchorNode:n,anchorOffset:r}=t;if(n.nodeType!==n.ELEMENT_NODE)return;const o=n.childNodes[r];o&&o.nodeType===o.ELEMENT_NODE&&o.hasAttribute(Ie)&&t.collapseToStart()}(r));const g={...p,start:d,end:f,activeFormats:p._newActiveFormats,_newActiveFormats:void 0},h=T(g,Ve);g.activeFormats=h,i.current=g,c(g,{domOnly:!0}),u(d,f)}function i(){o=!0,n.removeEventListener("selectionchange",s),t.querySelector(`[${Ie}]`)?.remove()}function c(){o=!1,a({inputType:"insertText"}),n.addEventListener("selectionchange",s)}function l(){const{record:r,isSelected:o,onSelectionChange:a,applyRecord:i}=e.current;if(!t.parentElement.closest('[contenteditable="true"]')){if(o)i(r.current,{domOnly:!0});else{const e=void 0;r.current={...r.current,start:e,end:e,activeFormats:Ve}}a(r.current.start,r.current.end),window.queueMicrotask(s),n.addEventListener("selectionchange",s)}}return t.addEventListener("input",a),t.addEventListener("compositionstart",i),t.addEventListener("compositionend",c),t.addEventListener("focus",l),()=>{t.removeEventListener("input",a),t.removeEventListener("compositionstart",i),t.removeEventListener("compositionend",c),t.removeEventListener("focus",l)}},()=>e=>{const{ownerDocument:t}=e,{defaultView:n}=t,r=n?.getSelection();let o;function a(){return r.rangeCount?r.getRangeAt(0):null}function s(e){const n="keydown"===e.type?"keyup":"pointerup";function r(){t.removeEventListener(n,s),t.removeEventListener("selectionchange",r),t.removeEventListener("input",r)}function s(){r(),ue(o,a())||t.dispatchEvent(new Event("selectionchange"))}t.addEventListener(n,s),t.addEventListener("selectionchange",r),t.addEventListener("input",r),o=a()}return e.addEventListener("pointerdown",s),e.addEventListener("keydown",s),()=>{e.removeEventListener("pointerdown",s),e.removeEventListener("keydown",s)}}];function ze(e){const t=(0,_e.useRef)(e);t.current=e;const n=(0,_e.useMemo)((()=>We.map((e=>e(t)))),[t]);return(0,Ae.useRefEffect)((e=>{const t=n.map((t=>t(e)));return()=>{t.forEach((e=>e()))}}),[n])}function Be({value:e="",selectionStart:t,selectionEnd:n,placeholder:r,onSelectionChange:a,preserveWhiteSpace:s,onChange:i,__unstableDisableFormats:c,__unstableIsSelected:l,__unstableDependencies:u=[],__unstableAfterParse:d,__unstableBeforeSerialize:f,__unstableAddInvisibleFormats:m}){const p=(0,o.useRegistry)(),[,g]=(0,_e.useReducer)((()=>({}))),h=(0,_e.useRef)();function y(e,{domOnly:t}={}){Te({value:e,current:h.current,prepareEditableTree:m,__unstableDomOnly:t,placeholder:r})}const v=(0,_e.useRef)(e),E=(0,_e.useRef)();function b(){v.current=e,E.current=e,e instanceof j||(E.current=e?j.fromHTMLString(e,{preserveWhiteSpace:s}):j.empty()),E.current={text:E.current.text,formats:E.current.formats,replacements:E.current.replacements},c&&(E.current.formats=Array(e.length),E.current.replacements=Array(e.length)),d&&(E.current.formats=d(E.current)),E.current.start=t,E.current.end=n}const T=(0,_e.useRef)(!1);function x(t){if(E.current=t,y(t),c)v.current=t.text;else{const n=f?f(t):t.formats;t={...t,formats:n},v.current="string"==typeof e?_({value:t,preserveWhiteSpace:s}):new j(t)}const{start:n,end:r,formats:o,text:l}=E.current;p.batch((()=>{a(n,r),i(v.current,{__unstableFormats:o,__unstableText:l})})),g()}function w(){b(),y(E.current)}E.current?t===E.current.start&&n===E.current.end||(T.current=l,E.current={...E.current,start:t,end:n,activeFormats:void 0}):(T.current=l,b());const N=(0,_e.useRef)(!1);(0,_e.useLayoutEffect)((()=>{N.current&&e!==v.current&&(w(),g())}),[e]),(0,_e.useLayoutEffect)((()=>{T.current&&(h.current.ownerDocument.activeElement!==h.current&&h.current.focus(),y(E.current),T.current=!1)}),[T.current]);const L=(0,Ae.useMergeRefs)([h,(0,_e.useCallback)((e=>{e&&(e.style.whiteSpace=Me,e.style.minWidth=ke)}),[]),$e({record:E}),ze({record:E,handleChange:x,applyRecord:y,createRecord:function(){const{ownerDocument:{defaultView:e}}=h.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return V({element:h.current,range:n,__unstableIsEditableTree:!0})},isSelected:l,onSelectionChange:a,forceRender:g}),(0,Ae.useRefEffect)((()=>{w(),N.current=!0}),[r,...u])]);return{value:E.current,getValue:()=>E.current,onChange:x,ref:L}}function Xe(){}(window.wp=window.wp||{}).richText=t})(); var/softaculous/sitepad/editor/site-inc/js/dist/rich-text.min.js 0000644 00000067015 14756456103 0020767 0 ustar 00 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";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")}()}r.d(t,"a",function(){return a})},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);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]||[];return{formats:r,text:n,start:a,end:o,formatPlaceholder:{index:i,format:Object(c.find)(f,{type:t.type})?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 d=i;d<u;d++)y(l,d,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",N="",E="\ufeff";function _(e){return 0===e.text.length}function C(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 S(e,t){var r=e.implementation;return S.body||(S.body=r.createHTMLDocument("").body),S.body.innerHTML=t,S.body}var F=window.Node,A=F.TEXT_NODE,P=F.ELEMENT_NODE;function D(e,t){for(var r in e)if(e[r]===t)return r}function W(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=D(t.attributes,c);u?a[u]=n[c]:i[c]=n[c]}return{type:t.name,attributes:a,unregisteredAttributes:i}}function L(){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=S(document,n)),"object"!==Object(j.a)(t)?{formats:[],text:""}:o?V({element:t,range:a,multilineTag:o,multilineWrapperTags:i,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s}):k({element:t,range:a,removeNode:c,unwrapNode:u,filterString:l,removeAttribute:s}))}function I(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===A?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===A?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 M(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 k(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 I(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!==A){if(v.nodeType===P)if(c&&c(v)||u&&u(v)&&!v.hasChildNodes())I(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=W({type:h,attributes:R({element:v,removeAttribute:s})});j&&(x=g(j,y)?y:j)}a&&-1!==a.indexOf(h)?(T=V({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=k({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(I(f,v,r,T),!_(T)||!x||x.attributes){var C=f.formats;if(x&&x.attributes&&0===w.length)x.object=!0,f.text+=N,C[E]?C[E].unshift(x):C[E]=[x];else{f.text+=w,f.formats.length+=w.length;for(var S=T.formats.length;S--;){var F,D=E+S;if(x&&(C[D]?C[D].push(x):C[D]=[x]),T.formats[S])if(C[D])(F=C[D]).push.apply(F,Object(O.a)(T.formats[S]));else C[D]=T.formats[S]}}}}else I(f,v,r,{formats:[],text:""}),f.text+="\n",f.formats.length+=1}else{var L=p(v.nodeValue);I(f,v,r=M(v,r,p),{text:L}),f.text+=L,f.formats.length+=L.length}}return f}function V(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=k({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}I(f,m,r,v),f.formats=f.formats.concat(v.formats),f.text+=v.text}}return f}function R(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 z(e,t){var r=e.formats,n=e.start;if(void 0!==n)return Object(c.find)(r[n],{type:t})}function B(e){return e.end}function H(e){return e.start}function G(e){return e.text}function Y(e){var t=e.start,r=e.end;if(void 0!==t&&void 0!==r)return t===r}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=L({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 $=r(15),U=r(18),X=r(0),Z=r(41),K=r.n(Z),J=r(23),Q=r(7),ee=[];function te(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=K()(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee,t=arguments.length>1?arguments[1]:void 0;return Object(O.a)(e).concat([t])});return t.__experimentalGetPropsForEditableTreePreparation&&Object(J.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(X.createElement)(r,Object(U.a)({},n,o))});var u=[Object(o.withSelect)(function(r,n){var a=n.clientId,o=n.identifier;return Object($.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(Q.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 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,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);)ne(l,i,t),i--;for(u++;Object(c.find)(l[u],s);)ne(l,u,t),u++}else for(var f=i;f<u;f++)l[f]&&ne(l,f,t);return h({formats:l,text:n,start:a,end:o})}function ne(e,t,r){var n=e[t].filter(function(e){return e.type!==r});n.length?e[t]=n:delete e[t]}function ae(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=L({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 oe(e,t,r){return ae(e,L(),t,r)}function ie(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 ce(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=G(e).slice(0,t).lastIndexOf(w),a=e.formats[n],o=[,];return a&&(o=[a]),ae(e,{formats:o,text:w},t,r)}var ue="";function le(e,t,r,n){return ae(e,{text:ue,formats:[[Object(i.a)({},t,{object:!0})]]},r,n)}function se(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 fe(e,t){var r=e.formats,n=e.text,a=e.start,o=e.end;if("string"!=typeof t)return function(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[ie(c,/\u2028+$/,""),ie(u,/^\u2028+/,"")]}.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 de(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 pe(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,_=a.formatPlaceholder,C=y.length+1,S=u(),F={type:o};function A(e,t){if(b&&_&&_.index===t){var r=f(e);e=void 0===_.format?f(r):l(r,de(_.format)),e=l(e,E)}return e}o?(l(l(S,{type:o}),""),r=t=[F]):l(S,"");for(var P=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(F)),e},[F]):Object(O.a)(t).concat(Object(O.a)(i||[])));var u=s(S);if(n===w){for(var b=u;!d(b);)b=s(b);g&&T===e&&g(S,b),h&&j===e&&h(S,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,de(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=A(u,0),0===e&&(g&&0===T&&g(S,u),h&&0===j&&h(S,u)),a!==N&&("\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=A(u,e+1),g&&T===e+1&&g(S,u),h&&j===e+1&&h(S,u),r=i,n=a},D=0;D<C;D++)P(D);return S}var me=window.Node,ve=me.TEXT_NODE,ge=me.ELEMENT_NODE;function he(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=he(n,t,r)),r}function be(e,t){for(t=Object(O.a)(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var ye=function(){return S(document,"")};function xe(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 Te(e,t){e.appendData(t)}function Oe(e){return e.lastChild}function je(e){return e.parentNode}function we(e){return e.nodeType===ve}function Ne(e){return e.nodeValue}function Ee(e){return e.parentNode.removeChild(e)}function _e(){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 Ce(e){var t=e.value,r=e.multilineTag,n=e.multilineWrapperTags,a=e.createLinePadding,o=e.prepareEditableTree,c=[],u=[],l=pe({value:Object(i.a)({},t,{formats:_e(o,t)}),multilineTag:r,multilineWrapperTags:n,createEmpty:ye,append:xe,getLastChild:Oe,getParent:je,isText:we,getText:Ne,remove:Ee,appendText:Te,onStartIndex:function(e,t){c=he(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){u=he(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===ve?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 Se(e){var t=e.value,r=e.current,n=Ce({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=be(t,e.startPath),n=r.node,a=r.offset,o=be(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===ge&&"BR"!==n.previousSibling.nodeName?(n.insertData(0,"\ufeff"),l.setStart(n,1),l.setEnd(i,1)):s&&0===a&&n===ve&&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 Fe=r(61);function Ae(e){return Re(pe({value:e.value,multilineTag:e.multilineTag,multilineWrapperTags:e.multilineWrapperTags,createEmpty:Pe,append:We,getLastChild:De,getParent:Ie,isText:Me,getText:ke,remove:Ve,appendText:Le}).children)}function Pe(){return{}}function De(e){var t=e.children;return t&&t[t.length-1]}function We(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Le(e,t){e.text+=t}function Ie(e){return e.parent}function Me(e){return"string"==typeof e.text}function ke(e){return e.text}function Ve(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Re(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){return void 0===e.text?function(e){var t=e.type,r=e.attributes,n=e.object,a=e.children,o="";for(var i in r)Object(Fe.isValidAttributeName)(i)&&(o+=" ".concat(i,'="').concat(Object(Fe.escapeAttribute)(r[i]),'"'));return n?"<".concat(t).concat(o,">"):"<".concat(t).concat(o,">").concat(Re(a),"</").concat(t,">")}(e):Object(Fe.escapeHTML)(e.text)}).join("")}function ze(e,t){return z(e,t.type)?re(e,t.type):b(e,t)}function Be(e){var t=Object(o.select)("core/rich-text").getFormatType(e);if(t)return t.__experimentalCreatePrepareEditableTree&&t.__experimentalGetPropsForEditableTreePreparation&&Object(J.removeFilter)("experimentalRichText",e),Object(o.dispatch)("core/rich-text").removeFormatTypes(e),t;window.console.error("Format ".concat(e," is not registered."))}function He(e){for(var t=e.start,r=e.text,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;n--;)if(r[n]===w)return n}function Ge(e,t){var r=He(e);if(void 0===r)return e;var n=e.text,a=e.formats,o=e.start,i=e.end,c=He(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 Ye(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 qe(e){var t=e.text,r=e.formats,n=e.start,a=e.end,o=He(e,n);if(void 0===r[o])return e;for(var i=r.slice(0),c=r[Ye(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,He(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 $e(e,t){for(var r,n=e.text,a=e.formats,o=e.start,i=e.end,c=He(e,o),u=a[c]||[],l=a[He(e,i)]||[],s=Ye(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}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 L}),r.d(t,"getActiveFormat",function(){return z}),r.d(t,"getSelectionEnd",function(){return B}),r.d(t,"getSelectionStart",function(){return H}),r.d(t,"getTextContent",function(){return G}),r.d(t,"isCollapsed",function(){return Y}),r.d(t,"isEmpty",function(){return _}),r.d(t,"isEmptyLine",function(){return C}),r.d(t,"join",function(){return q}),r.d(t,"registerFormatType",function(){return te}),r.d(t,"removeFormat",function(){return re}),r.d(t,"remove",function(){return oe}),r.d(t,"replace",function(){return ie}),r.d(t,"insert",function(){return ae}),r.d(t,"insertLineSeparator",function(){return ce}),r.d(t,"insertObject",function(){return le}),r.d(t,"slice",function(){return se}),r.d(t,"split",function(){return fe}),r.d(t,"apply",function(){return Se}),r.d(t,"unstableToDom",function(){return Ce}),r.d(t,"toHTMLString",function(){return Ae}),r.d(t,"toggleFormat",function(){return ze}),r.d(t,"LINE_SEPARATOR",function(){return w}),r.d(t,"unregisterFormatType",function(){return Be}),r.d(t,"indentListItems",function(){return Ge}),r.d(t,"outdentListItems",function(){return qe}),r.d(t,"changeListType",function(){return $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}}});
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages