WordPress/wp-includes/js/dist/blocks.min.js

3 lines
155 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="0ATp")}({"0ATp":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return lt})),r.d(t,"createBlock",(function(){return ve})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return je})),r.d(t,"cloneBlock",(function(){return Oe})),r.d(t,"__experimentalCloneSanitizedBlock",(function(){return Te})),r.d(t,"getPossibleBlockTransformations",(function(){return Ee})),r.d(t,"switchToBlockType",(function(){return Ae})),r.d(t,"getBlockTransforms",(function(){return Ne})),r.d(t,"findTransform",(function(){return Be})),r.d(t,"getBlockFromExample",(function(){return Pe})),r.d(t,"parse",(function(){return Ar})),r.d(t,"getBlockAttributes",(function(){return Sr})),r.d(t,"parseWithAttributeSchema",(function(){return xr})),r.d(t,"pasteHandler",(function(){return mn})),r.d(t,"rawHandler",(function(){return yn})),r.d(t,"getPhrasingContentSchema",(function(){return kn})),r.d(t,"serialize",(function(){return Ct})),r.d(t,"getBlockContent",(function(){return jt})),r.d(t,"getBlockDefaultClassName",(function(){return ft})),r.d(t,"getBlockMenuDefaultClassName",(function(){return gt})),r.d(t,"getSaveElement",(function(){return yt})),r.d(t,"getSaveContent",(function(){return wt})),r.d(t,"__unstableGetBlockProps",(function(){return _t})),r.d(t,"__unstableGetInnerBlocksProps",(function(){return kt})),r.d(t,"__unstableSerializeAndClean",(function(){return Ot})),r.d(t,"isValidBlockContent",(function(){return cr})),r.d(t,"getCategories",(function(){return wn})),r.d(t,"setCategories",(function(){return vn})),r.d(t,"updateCategory",(function(){return jn})),r.d(t,"registerBlockType",(function(){return Q})),r.d(t,"registerBlockCollection",(function(){return Z})),r.d(t,"unregisterBlockType",(function(){return X})),r.d(t,"setFreeformContentHandlerName",(function(){return J})),r.d(t,"getFreeformContentHandlerName",(function(){return ee})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return re})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return ne})),r.d(t,"setDefaultBlockName",(function(){return ae})),r.d(t,"getDefaultBlockName",(function(){return ie})),r.d(t,"setGroupingBlockName",(function(){return oe})),r.d(t,"getGroupingBlockName",(function(){return te})),r.d(t,"getBlockType",(function(){return se})),r.d(t,"getBlockTypes",(function(){return ce})),r.d(t,"getBlockSupport",(function(){return le})),r.d(t,"hasBlockSupport",(function(){return ue})),r.d(t,"getBlockVariations",(function(){return _e})),r.d(t,"isReusableBlock",(function(){return de})),r.d(t,"isTemplatePart",(function(){return pe})),r.d(t,"getChildBlockNames",(function(){return he})),r.d(t,"hasChildBlocks",(function(){return fe})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return ge})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return W})),r.d(t,"registerBlockStyle",(function(){return me})),r.d(t,"unregisterBlockStyle",(function(){return be})),r.d(t,"registerBlockVariation",(function(){return ke})),r.d(t,"unregisterBlockVariation",(function(){return ye})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return Le})),r.d(t,"normalizeIconObject",(function(){return ze})),r.d(t,"isValidIcon",(function(){return D
(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined