HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/gutenberg/build/format-library/index.min.js
!function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);var t=window.wp.richText,n=window.wp.element,r=window.wp.i18n,o=window.wp.blockEditor,a=window.wp.primitives,l=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"}));const i="core/bold",c=(0,r.__)("Bold"),s={name:i,title:c,tagName:"strong",className:null,edit(e){let{isActive:r,value:a,onChange:s,onFocus:u}=e;function m(){s((0,t.toggleFormat)(a,{type:i,title:c}))}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.RichTextShortcut,{type:"primary",character:"b",onUse:m}),(0,n.createElement)(o.RichTextToolbarButton,{name:"bold",icon:l,title:c,onClick:function(){s((0,t.toggleFormat)(a,{type:i})),u()},isActive:r,shortcutType:"primary",shortcutCharacter:"b"}),(0,n.createElement)(o.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:m}))}};var u=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));const m="core/code",h=(0,r.__)("Inline code"),p={name:m,title:h,tagName:"code",className:null,__unstableInputRule(e){const{start:n,text:r}=e;if("`"!==r.slice(n-1,n))return e;const o=r.slice(0,n-1).lastIndexOf("`");if(-1===o)return e;const a=o,l=n-2;return a===l?e:(e=(0,t.remove)(e,a,a+1),e=(0,t.remove)(e,l,l+1),e=(0,t.applyFormat)(e,{type:m},a,l))},edit(e){let{value:r,onChange:a,onFocus:l,isActive:i}=e;return(0,n.createElement)(o.RichTextToolbarButton,{icon:u,title:h,onClick:function(){a((0,t.toggleFormat)(r,{type:m,title:h})),l()},isActive:i,role:"menuitemcheckbox"})}};var g=window.wp.components,d=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,n.createElement)(a.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));const v=["image"],w="core/image",f=(0,r.__)("Inline image"),b={name:w,title:f,keywords:[(0,r.__)("photo"),(0,r.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(e){let{value:r,onChange:a,onFocus:l,isObjectActive:i,activeObjectAttributes:c,contentRef:s}=e;const[u,m]=(0,n.useState)(!1);function h(){m(!1)}return(0,n.createElement)(o.MediaUploadCheck,null,(0,n.createElement)(o.RichTextToolbarButton,{icon:(0,n.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(g.Path,{d:"M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"})),title:f,onClick:function(){m(!0)},isActive:i}),u&&(0,n.createElement)(o.MediaUpload,{allowedTypes:v,onSelect:e=>{let{id:n,url:o,alt:i,width:c}=e;h(),a((0,t.insertObject)(r,{type:w,attributes:{className:`wp-image-${n}`,style:`width: ${Math.min(c,150)}px;`,url:o,alt:i}})),l()},onClose:h,render:e=>{let{open:t}=e;return t(),null}}),i&&(0,n.createElement)(y,{value:r,onChange:a,activeObjectAttributes:c,contentRef:s}))}};function y(e){let{value:o,onChange:a,activeObjectAttributes:l,contentRef:i}=e;const{style:c}=l,[s,u]=(0,n.useState)(null==c?void 0:c.replace(/\D/g,"")),m=(0,t.useAnchorRef)({ref:i,value:o,settings:b});return(0,n.createElement)(g.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:m,className:"block-editor-format-toolbar__image-popover"},(0,n.createElement)("form",{className:"block-editor-format-toolbar__image-container-content",onSubmit:e=>{const t=o.replacements.slice();t[o.start]={type:w,attributes:{...l,style:s?`width: ${s}px;`:""}},a({...o,replacements:t}),e.preventDefault()}},(0,n.createElement)(g.TextControl,{className:"block-editor-format-toolbar__image-container-value",type:"number",label:(0,r.__)("Width"),value:s,min:1,onChange:e=>u(e)}),(0,n.createElement)(g.Button,{icon:d,label:(0,r.__)("Apply"),type:"submit"})))}var k=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"}));const E="core/italic",C=(0,r.__)("Italic"),_={name:E,title:C,tagName:"em",className:null,edit(e){let{isActive:r,value:a,onChange:l,onFocus:i}=e;function c(){l((0,t.toggleFormat)(a,{type:E,title:C}))}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.RichTextShortcut,{type:"primary",character:"i",onUse:c}),(0,n.createElement)(o.RichTextToolbarButton,{name:"italic",icon:k,title:C,onClick:function(){l((0,t.toggleFormat)(a,{type:E})),i()},isActive:r,shortcutType:"primary",shortcutCharacter:"i"}),(0,n.createElement)(o.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:c}))}};var x=window.wp.url,T=window.wp.htmlEntities,S=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"})),F=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),R=window.wp.a11y,A=window.wp.data,N=window.lodash;function P(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,x.getProtocol)(t);if(!(0,x.isValidProtocol)(e))return!1;if((0,N.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const n=(0,x.getAuthority)(t);if(!(0,x.isValidAuthority)(n))return!1;const r=(0,x.getPath)(t);if(r&&!(0,x.isValidPath)(r))return!1;const o=(0,x.getQueryString)(t);if(o&&!(0,x.isValidQueryString)(o))return!1;const a=(0,x.getFragment)(t);if(a&&!(0,x.isValidFragment)(a))return!1}return!((0,N.startsWith)(t,"#")&&!(0,x.isValidFragment)(t))}function V(e,t,n,r,o){let a=t;const l={forwards:1,backwards:-1}[o]||1,i=-1*l;for(;e[a]&&e[a][r]===n;)a+=l;return a+=i,a}const B=(0,N.partialRight)(V,"backwards"),M=(0,N.partialRight)(V,"forwards"),z=new WeakMap;let H=-1;function L(e){return`link-control-instance-${e}`}var I=(0,g.withSpokenMessages)((function(e){let{isActive:a,activeAttributes:l,addingLink:i,value:c,onChange:s,speak:u,stopAddingLink:m,contentRef:h}=e;const p=function(e,n){let r=e.start,o=e.end;if(n){const t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const o={start:null,end:null},{formats:a}=e;let l,i;if(null==a||!a.length)return o;const c=a.slice(),s=(0,N.find)(c[n],{type:t.type}),u=(0,N.find)(c[r],{type:t.type}),m=(0,N.find)(c[r-1],{type:t.type});if(s)l=s,i=n;else if(u)l=u,i=r;else{if(!m)return o;l=m,i=r-1}const h=c[i].indexOf(l),p=[c,i,l,h];return n=B(...p),r=M(...p),n=n<0?0:n,{start:n,end:r}}(e,{type:"core/link"});r=t.start,o=t.end+1}return(0,t.slice)(e,r,o)}(c,a).text,[d,v]=(0,n.useState)(),{createPageEntity:w,userCanCreatePages:f}=(0,A.useSelect)((e=>{const{getSettings:t}=e(o.store),n=t();return{createPageEntity:n.__experimentalCreatePageEntity,userCanCreatePages:n.__experimentalUserCanCreatePages}}),[]),b={url:l.url,type:l.type,id:l.id,opensInNewTab:"_blank"===l.target,title:p,...d},y=(0,t.useAnchorRef)({ref:h,value:c,settings:U}),k=function(e){if(e)return z.has(e)?L(z.get(e)):(H+=1,z.set(e,H),L(H))}(y),E=(0,n.useRef)(!!i&&"firstElement");return(0,n.createElement)(g.Popover,{anchorRef:y,focusOnMount:E.current,onClose:m,position:"bottom center"},(0,n.createElement)(o.__experimentalLinkControl,{key:k,value:b,onChange:function(e){e={...d,...e};const n=b.opensInNewTab!==e.opensInNewTab&&b.url===e.url,o=n&&void 0===e.url;if(v(o?e:void 0),o)return;const l=(0,x.prependHTTP)(e.url),i=function(e){let{url:t,type:n,id:r,opensInNewWindow:o}=e;const a={type:"core/link",attributes:{url:t}};return n&&(a.attributes.type=n),r&&(a.attributes.id=r),o&&(a.attributes.target="_blank",a.attributes.rel="noreferrer noopener"),a}({url:l,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab}),h=e.title||l;if((0,t.isCollapsed)(c)&&!a){const e=(0,t.applyFormat)((0,t.create)({text:h}),i,0,h.length);s((0,t.insert)(c,e))}else{let e;h===p?e=(0,t.applyFormat)(c,i):(e=(0,t.create)({text:h}),e=(0,t.applyFormat)(e,i,0,h.length),e=(0,t.replace)(c,p,e)),e.start=e.end,e.activeFormats=[],s(e)}n||m(),P(l)?u(a?(0,r.__)("Link edited."):(0,r.__)("Link inserted."),"assertive"):u((0,r.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")},onRemove:function(){const e=(0,t.removeFormat)(c,"core/link");s(e),m(),u((0,r.__)("Link removed."),"assertive")},forceIsEditingLink:i,hasRichPreviews:!0,createSuggestion:w&&async function(e){const t=await w({title:e,status:"draft"});return{id:t.id,type:t.type,title:t.title.rendered,url:t.link,kind:"post-type"}},withCreateSuggestion:f,createSuggestionButtonText:function(e){return(0,n.createInterpolateElement)((0,r.sprintf)(
/* translators: %s: search term. */
(0,r.__)("Create Page: <mark>%s</mark>"),e),{mark:(0,n.createElement)("mark",null)})},hasTextControl:!0}))}));const j="core/link",O=(0,r.__)("Link"),U={name:j,title:O,tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",target:"target"},__unstablePasteRule(e,n){let{html:r,plainText:o}=n;if((0,t.isCollapsed)(e))return e;const a=(r||o).replace(/<[^>]+>/g,"").trim();return(0,x.isURL)(a)?(window.console.log("Created link:\n\n",a),(0,t.applyFormat)(e,{type:j,attributes:{url:(0,T.decodeEntities)(a)}})):e},edit:function(e){let{isActive:a,activeAttributes:l,value:i,onChange:c,onFocus:s,contentRef:u}=e;const[m,h]=(0,n.useState)(!1);function p(){const e=(0,t.getTextContent)((0,t.slice)(i));e&&(0,x.isURL)(e)&&P(e)?c((0,t.applyFormat)(i,{type:j,attributes:{url:e}})):e&&(0,x.isEmail)(e)?c((0,t.applyFormat)(i,{type:j,attributes:{url:`mailto:${e}`}})):h(!0)}function g(){c((0,t.removeFormat)(i,j)),(0,R.speak)((0,r.__)("Link removed."),"assertive")}return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.RichTextShortcut,{type:"primary",character:"k",onUse:p}),(0,n.createElement)(o.RichTextShortcut,{type:"primaryShift",character:"k",onUse:g}),a&&(0,n.createElement)(o.RichTextToolbarButton,{name:"link",icon:S,title:(0,r.__)("Unlink"),onClick:g,isActive:a,shortcutType:"primaryShift",shortcutCharacter:"k"}),!a&&(0,n.createElement)(o.RichTextToolbarButton,{name:"link",icon:F,title:O,onClick:p,isActive:a,shortcutType:"primary",shortcutCharacter:"k"}),(m||a)&&(0,n.createElement)(I,{addingLink:m,stopAddingLink:function(){h(!1),s()},isActive:a,activeAttributes:l,value:i,onChange:c,contentRef:u}))}};var G=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"}));const W="core/strikethrough",$=(0,r.__)("Strikethrough"),D={name:W,title:$,tagName:"s",className:null,edit(e){let{isActive:r,value:a,onChange:l,onFocus:i}=e;return(0,n.createElement)(o.RichTextToolbarButton,{icon:G,title:$,onClick:function(){l((0,t.toggleFormat)(a,{type:W,title:$})),i()},isActive:r,role:"menuitemcheckbox"})}},Q="core/underline",K=(0,r.__)("Underline"),q={name:Q,title:K,tagName:"span",className:null,attributes:{style:"style"},edit(e){let{value:r,onChange:a}=e;const l=()=>{a((0,t.toggleFormat)(r,{type:Q,attributes:{style:"text-decoration: underline;"},title:K}))};return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.RichTextShortcut,{type:"primary",character:"u",onUse:l}),(0,n.createElement)(o.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:l}))}};var J=function(e){let{icon:t,size:r=24,...o}=e;return(0,n.cloneElement)(t,{width:r,height:r,...o})},X=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"}));function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(";").reduce(((e,t)=>{if(t){const[n,r]=t.split(":");"color"===n&&(e.color=r),"background-color"===n&&r!==re&&(e.backgroundColor=r)}return e}),{})}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.split(" ").reduce(((e,n)=>{if(n.startsWith("has-")&&n.endsWith("-color")){const r=n.replace(/^has-/,"").replace(/-color$/,""),a=(0,o.getColorObjectByAttributeValues)(t,r);e.color=a.color}return e}),{})}function ee(e,n,r){const o=(0,t.getActiveFormat)(e,n);return o?{...Y(o.attributes.style),...Z(o.attributes.class,r)}:{}}function te(e){let{name:r,property:a,value:l,onChange:i}=e;const c=(0,A.useSelect)((e=>{const{getSettings:t}=e(o.store);return(0,N.get)(t(),["colors"],[])}),[]),s=(0,n.useCallback)((e=>{i(function(e,n,r,a){const{color:l,backgroundColor:i}={...ee(e,n,r),...a};if(!l&&!i)return(0,t.removeFormat)(e,n);const c=[],s=[],u={};if(i?c.push(["background-color",i].join(":")):c.push(["background-color",re].join(":")),l){const e=(0,o.getColorObjectByColorValue)(r,l);e?s.push((0,o.getColorClassName)("color",e.slug)):c.push(["color",l].join(":"))}return c.length&&(u.style=c.join(";")),s.length&&(u.class=s.join(" ")),(0,t.applyFormat)(e,{type:n,attributes:u})}(l,r,c,{[a]:e}))}),[c,i,a]),u=(0,n.useMemo)((()=>ee(l,r,c)),[r,l,c]);return(0,n.createElement)(o.ColorPalette,{value:u[a],onChange:s})}function ne(e){let{name:a,value:l,onChange:i,onClose:c,contentRef:s}=e;const u=(0,o.useCachedTruthy)((0,t.useAnchorRef)({ref:s,value:l,settings:ce}));return(0,n.createElement)(g.Popover,{onClose:c,className:"components-inline-color-popover",anchorRef:u},(0,n.createElement)(g.TabPanel,{tabs:[{name:"color",title:(0,r.__)("Text")},{name:"backgroundColor",title:(0,r.__)("Background")}]},(e=>(0,n.createElement)(te,{name:a,property:e.name,value:l,onChange:i}))))}const re="rgba(0, 0, 0, 0)",oe="core/text-color",ae=(0,r.__)("Highlight"),le=[];function ie(e,t){const{ownerDocument:n}=e,{defaultView:r}=n,o=r.getComputedStyle(e).getPropertyValue(t);return"background-color"===t&&o===re&&e.parentElement?ie(e.parentElement,t):o}const ce={name:oe,title:ae,tagName:"mark",className:"has-inline-color",attributes:{style:"style",class:"class"},__unstableFilterAttributeValue(e,t){if("style"!==e)return t;if(t&&t.includes("background-color"))return t;const n=["background-color",re].join(":");return t?[n,t].join(";"):n},edit:function(e){let{value:r,onChange:a,isActive:l,activeAttributes:i,contentRef:c}=e;const s=(0,o.useSetting)("color.custom"),u=(0,o.useSetting)("color.palette")||le,[m,h]=(0,n.useState)(!1),p=(0,n.useCallback)((()=>h(!0)),[h]),g=(0,n.useCallback)((()=>h(!1)),[h]),d=(0,n.useMemo)((()=>function(e,t){let{color:n,backgroundColor:r}=t;if(n||r)return{color:n||ie(e,"color"),backgroundColor:r===re?ie(e,"background-color"):r}}(c.current,ee(r,oe,u))),[r,u]),v=!(0,N.isEmpty)(u)||!s;return v||l?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.RichTextToolbarButton,{className:"format-library-text-color-button",isActive:l,icon:(0,n.createElement)(J,{icon:X,style:d}),title:ae,onClick:v?p:()=>a((0,t.removeFormat)(r,oe)),role:"menuitemcheckbox"}),m&&(0,n.createElement)(ne,{name:oe,onClose:g,activeAttributes:i,value:r,onChange:a,contentRef:c})):null}};var se=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const ue="core/subscript",me=(0,r.__)("Subscript"),he={name:ue,title:me,tagName:"sub",className:null,edit(e){let{isActive:r,value:a,onChange:l,onFocus:i}=e;return(0,n.createElement)(o.RichTextToolbarButton,{icon:se,title:me,onClick:function(){l((0,t.toggleFormat)(a,{type:ue,title:me})),i()},isActive:r,role:"menuitemcheckbox"})}};var pe=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const ge="core/superscript",de=(0,r.__)("Superscript"),ve={name:ge,title:de,tagName:"sup",className:null,edit(e){let{isActive:r,value:a,onChange:l,onFocus:i}=e;return(0,n.createElement)(o.RichTextToolbarButton,{icon:pe,title:de,onClick:function(){l((0,t.toggleFormat)(a,{type:ge,title:de})),i()},isActive:r,role:"menuitemcheckbox"})}};var we=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));const fe="core/keyboard",be=(0,r.__)("Keyboard input");[s,p,b,_,U,D,q,ce,he,ve,{name:fe,title:be,tagName:"kbd",className:null,edit(e){let{isActive:r,value:a,onChange:l,onFocus:i}=e;return(0,n.createElement)(o.RichTextToolbarButton,{icon:we,title:be,onClick:function(){l((0,t.toggleFormat)(a,{type:fe,title:be})),i()},isActive:r,role:"menuitemcheckbox"})}}].forEach((e=>{let{name:n,...r}=e;return(0,t.registerFormatType)(n,r)})),(window.wp=window.wp||{}).formatLibrary=e}();