mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 09:49:37 +01:00
cc17fee089
The following package versions were changed: @wordpress/annotations: 1.12.0 -> 1.12.1 @wordpress/block-directory: 1.5.2 -> 1.5.3 @wordpress/block-editor: 3.7.2 -> 3.7.3 @wordpress/block-library: 2.14.2 -> 2.14.3 @wordpress/blocks: 6.12.0 -> 6.12.1 @wordpress/components: 9.2.2 -> 9.2.3 @wordpress/core-data: 2.12.0 -> 2.12.1 @wordpress/data: 4.14.0 -> 4.14.1 @wordpress/data-controls: 1.8.0 -> 1.8.1 @wordpress/edit-post: 3.13.2 -> 3.13.3 @wordpress/editor: 9.12.2 -> 9.12.3 @wordpress/format-library: 1.14.2 -> 1.14.3 @wordpress/keyboard-shortcuts: 1.1.0 -> 1.1.1 @wordpress/list-reusable-blocks: 1.13.2 -> 1.13.3 @wordpress/notices: 2.0.0 -> 2.0.1 @wordpress/nux: 3.12.2 -> 3.12.3 @wordpress/priority-queue: 1.5.0 -> 1.5.1 @wordpress/rich-text: 3.12.0 -> 3.12.1 @wordpress/server-side-render: 1.8.2 -> 1.8.3 @wordpress/viewport: 2.13.0 -> 2.13.1 Props aduth. Fixes: #49567. Built from https://develop.svn.wordpress.org/trunk@47408 git-svn-id: http://core.svn.wordpress.org/trunk@47195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
14 KiB
JavaScript
2 lines
14 KiB
JavaScript
/*! This file is auto-generated */
|
|
this.wp=this.wp||{},this.wp.element=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));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=434)}({18:function(e,t,r){"use strict";var n=r(32);function o(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 o}))},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(41);function o(e,t){if(null==e)return{};var r,o,u=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)r=c[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u}},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.React}()},22:function(e,t,r){"use strict";var n=r(36);var o=r(37);function u(e,t){return Object(n.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,o=!1,u=void 0;try{for(var c,i=e[Symbol.iterator]();!(n=(c=i.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,u=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw u}}return r}}(e,t)||Object(o.a)()}r.d(t,"a",(function(){return u}))},32: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}))},34: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)}r.d(t,"a",(function(){return n}))},36:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},37:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",(function(){return n}))},41:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)r=u[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},434:function(e,t,r){"use strict";r.r(t);var n,o,u,c,i=r(22),a=r(34),f=r(18),l=r(20),s=/<(\/)?(\w+)\s*(\/)?>/g;function d(e,t,r,n,o){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:o,children:[]}}var p=function(e){var t="object"===Object(a.a)(e),r=t&&Object.values(e);return t&&r.length&&r.every((function(e){return Object(l.isValidElement)(e)}))};function b(e){var t=function(){var e=s.exec(n);if(null===e)return["no-more-tokens"];var t=e.index,r=Object(i.a)(e,4),o=r[0],u=r[1],c=r[2],a=r[3],f=o.length;if(a)return["self-closed",c,t,f];if(u)return["closer",c,t,f];return["opener",c,t,f]}(),r=Object(i.a)(t,4),a=r[0],p=r[1],b=r[2],h=r[3],m=c.length,v=b>o?o:null;if(!e[p])return y(),!1;switch(a){case"no-more-tokens":if(0!==m){var g=c.pop(),j=g.leadingTextStart,w=g.tokenStart;u.push(n.substr(j,w))}return y(),!1;case"self-closed":return 0===m?(null!==v&&u.push(n.substr(v,b-v)),u.push(e[p]),o=b+h,!0):(O(new d(e[p],b,h)),o=b+h,!0);case"opener":return c.push(new d(e[p],b,h,b+h,v)),o=b+h,!0;case"closer":if(1===m)return function(e){var t=c.pop(),r=t.element,o=t.leadingTextStart,i=t.prevOffset,a=t.tokenStart,s=t.children,d=e?n.substr(i,e-i):n.substr(i);d&&s.push(d);null!==o&&u.push(n.substr(o,a-o));u.push(l.cloneElement.apply(void 0,[r,null].concat(Object(f.a)(s))))}(b),o=b+h,!0;var S=c.pop(),P=n.substr(S.prevOffset,b-S.prevOffset);S.children.push(P),S.prevOffset=b+h;var E=new d(S.element,S.tokenStart,S.tokenLength,b+h);return E.children=S.children,O(E),o=b+h,!0;default:return y(),!1}}function y(){var e=n.length-o;0!==e&&u.push(n.substr(o,e))}function O(e){var t=e.element,r=e.tokenStart,o=e.tokenLength,u=e.prevOffset,i=e.children,a=c[c.length-1],s=n.substr(a.prevOffset,r-a.prevOffset);s&&a.children.push(s),a.children.push(l.cloneElement.apply(void 0,[t,null].concat(Object(f.a)(i)))),a.prevOffset=u||r+o}var h=function(e,t){if(n=e,o=0,u=[],c=[],s.lastIndex=0,!p(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(b(t));return l.createElement.apply(void 0,[l.Fragment,null].concat(Object(f.a)(u)))},m=r(5),v=r(19),g=r(2);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return l.Children.forEach(t,(function(t,n){t&&"string"!=typeof t&&(t=Object(l.cloneElement)(t,{key:[r,n].join()})),e.push(t)})),e}),[])}function S(e,t){return e&&l.Children.map(e,(function(e,r){if(Object(g.isString)(e))return Object(l.createElement)(t,{key:r},e);var n=e.props,o=n.children,u=Object(v.a)(n,["children"]);return Object(l.createElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){Object(m.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({key:r},u),o)}))}var P=r(64),E=function(e){return!Object(g.isNumber)(e)&&(Object(g.isString)(e)||Object(g.isArray)(e)?!e.length:!e)},k={OS:"web",select:function(e){return"web"in e?e.web:e.default}},x=r(66);function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){var t=e.children,r=Object(v.a)(e,["children"]);return Object(l.createElement)("div",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){Object(m.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({dangerouslySetInnerHTML:{__html:t}},r))}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var I=Object(l.createContext)(),T=I.Provider,A=I.Consumer,_=Object(l.forwardRef)((function(){return null})),R=new Set(["string","boolean","number"]),L=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),H=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),N=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),$=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function z(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function V(e){return"key"===e||"children"===e}function W(e,t){switch(e){case"style":return function(e){if(!Object(g.isPlainObject)(e))return e;var t;for(var r in e){var n=e[r];if(null!=n){t?t+=";":t="";var o=q(r),u=G(r,n);t+=o+":"+u}}return t}(t)}return t}function F(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function q(e){return Object(g.startsWith)(e,"--")?e:z(e,["ms","O","Moz","Webkit"])?"-"+Object(g.kebabCase)(e):Object(g.kebabCase)(e)}function G(e,t){return"number"!=typeof t||0===t||$.has(e)?t:t+"px"}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return K(e,t,r);switch(Object(a.a)(e)){case"string":return Object(x.escapeHTML)(e);case"number":return e.toString()}var n=e.type,o=e.props;switch(n){case l.StrictMode:case l.Fragment:return K(o.children,t,r);case M:var u=o.children,c=Object(v.a)(o,["children"]);return J(Object(g.isEmpty)(c)?null:"div",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){Object(m.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},c,{dangerouslySetInnerHTML:{__html:u}}),t,r)}switch(Object(a.a)(n)){case"string":return J(n,o,t,r);case"function":return n.prototype&&"function"==typeof n.prototype.render?function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,n);"function"==typeof o.getChildContext&&Object.assign(n,o.getChildContext());return B(o.render(),r,n)}(n,o,t,r):B(n(o,r),t,r)}switch(n&&n.$$typeof){case T.$$typeof:return K(o.children,o.value,r);case A.$$typeof:return B(o.children(t||n._currentValue),t,r);case _.$$typeof:return B(n.render(o),t,r)}return""}function J(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=K(t.value,r,n),t=Object(g.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=K(t.children,r,n)),!e)return o;var u=function(e){var t="";for(var r in e){var n=F(r);if(Object(x.isValidAttributeName)(n)){var o=W(r,e[r]);if(R.has(Object(a.a)(o))&&!V(r)){var u=H.has(n);if(!u||!1!==o){var c=u||z(r,["data-","aria-"])||N.has(n);("boolean"!=typeof o||c)&&(t+=" "+n,u||("string"==typeof o&&(o=Object(x.escapeAttribute)(o)),t+='="'+o+'"'))}}}}return t}(t);return L.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+"</"+e+">"}function K(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n="";e=Object(g.castArray)(e);for(var o=0;o<e.length;o++){n+=B(e[o],t,r)}return n}var Q=B;r.d(t,"__experimentalCreateInterpolateElement",(function(){return h})),r.d(t,"Children",(function(){return l.Children})),r.d(t,"cloneElement",(function(){return l.cloneElement})),r.d(t,"Component",(function(){return l.Component})),r.d(t,"createContext",(function(){return l.createContext})),r.d(t,"createElement",(function(){return l.createElement})),r.d(t,"createRef",(function(){return l.createRef})),r.d(t,"forwardRef",(function(){return l.forwardRef})),r.d(t,"Fragment",(function(){return l.Fragment})),r.d(t,"isValidElement",(function(){return l.isValidElement})),r.d(t,"memo",(function(){return l.memo})),r.d(t,"StrictMode",(function(){return l.StrictMode})),r.d(t,"useCallback",(function(){return l.useCallback})),r.d(t,"useContext",(function(){return l.useContext})),r.d(t,"useDebugValue",(function(){return l.useDebugValue})),r.d(t,"useEffect",(function(){return l.useEffect})),r.d(t,"useImperativeHandle",(function(){return l.useImperativeHandle})),r.d(t,"useLayoutEffect",(function(){return l.useLayoutEffect})),r.d(t,"useMemo",(function(){return l.useMemo})),r.d(t,"useReducer",(function(){return l.useReducer})),r.d(t,"useRef",(function(){return l.useRef})),r.d(t,"useState",(function(){return l.useState})),r.d(t,"lazy",(function(){return l.lazy})),r.d(t,"Suspense",(function(){return l.Suspense})),r.d(t,"concatChildren",(function(){return w})),r.d(t,"switchChildrenNodeName",(function(){return S})),r.d(t,"createPortal",(function(){return P.createPortal})),r.d(t,"findDOMNode",(function(){return P.findDOMNode})),r.d(t,"render",(function(){return P.render})),r.d(t,"unmountComponentAtNode",(function(){return P.unmountComponentAtNode})),r.d(t,"isEmptyElement",(function(){return E})),r.d(t,"Platform",(function(){return k})),r.d(t,"renderToString",(function(){return Q})),r.d(t,"RawHTML",(function(){return M}))},5: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}))},64:function(e,t){!function(){e.exports=this.ReactDOM}()},66:function(e,t){!function(){e.exports=this.wp.escapeHtml}()}}); |