2 lines
9.0 KiB
JavaScript
2 lines
9.0 KiB
JavaScript
|
/*! This file is auto-generated */
|
||
|
this.wp=this.wp||{},this.wp.element=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="o/Ny")}({Vx3V:function(e,t){e.exports=window.wp.escapeHtml},YLtl:function(e,t){e.exports=window.lodash},cDcd:function(e,t){e.exports=window.React},faye:function(e,t){e.exports=window.ReactDOM},"o/Ny":function(e,t,n){"use strict";n.r(t),n.d(t,"createInterpolateElement",(function(){return m})),n.d(t,"Children",(function(){return r.Children})),n.d(t,"cloneElement",(function(){return r.cloneElement})),n.d(t,"Component",(function(){return r.Component})),n.d(t,"createContext",(function(){return r.createContext})),n.d(t,"createElement",(function(){return r.createElement})),n.d(t,"createRef",(function(){return r.createRef})),n.d(t,"forwardRef",(function(){return r.forwardRef})),n.d(t,"Fragment",(function(){return r.Fragment})),n.d(t,"isValidElement",(function(){return r.isValidElement})),n.d(t,"memo",(function(){return r.memo})),n.d(t,"StrictMode",(function(){return r.StrictMode})),n.d(t,"useCallback",(function(){return r.useCallback})),n.d(t,"useContext",(function(){return r.useContext})),n.d(t,"useDebugValue",(function(){return r.useDebugValue})),n.d(t,"useEffect",(function(){return r.useEffect})),n.d(t,"useImperativeHandle",(function(){return r.useImperativeHandle})),n.d(t,"useLayoutEffect",(function(){return r.useLayoutEffect})),n.d(t,"useMemo",(function(){return r.useMemo})),n.d(t,"useReducer",(function(){return r.useReducer})),n.d(t,"useRef",(function(){return r.useRef})),n.d(t,"useState",(function(){return r.useState})),n.d(t,"lazy",(function(){return r.lazy})),n.d(t,"Suspense",(function(){return r.Suspense})),n.d(t,"concatChildren",(function(){return b})),n.d(t,"switchChildrenNodeName",(function(){return y})),n.d(t,"createPortal",(function(){return g.createPortal})),n.d(t,"findDOMNode",(function(){return g.findDOMNode})),n.d(t,"render",(function(){return g.render})),n.d(t,"unmountComponentAtNode",(function(){return g.unmountComponentAtNode})),n.d(t,"isEmptyElement",(function(){return O})),n.d(t,"Platform",(function(){return w})),n.d(t,"renderToString",(function(){return $})),n.d(t,"RawHTML",(function(){return S}));var r=n("cDcd");let o,u,c,i;const s=/<(\/)?(\w+)\s*(\/)?>/g;function a(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}const l=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every(e=>Object(r.isValidElement)(e))};function f(e){const t=function(){const e=s.exec(o);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,u,c]=e,i=n.length;if(c)return["self-closed",u,t,i];if(r)return["closer",u,t,i];return["opener",u,t,i]}(),[n,l,f,m]=t,h=i.length,b=f>u?u:null;if(!e[l])return d(),!1;switch(n){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=i.pop();c.push(o.substr(e,t))}return d(),!1;case"self-closed":return 0===h?(null!==b&&c.push(o.substr(b,f-b)),c.push(e[l]),u=f+m,!0):(p(a(e[l],f,m)),u=f+m,!0);case"opener":return i.push(a(e[l],f,m,f+m,b)),u=f+m,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:n,prevOffset:u,tokenStart:s,children:a}=i.pop(),l=e?o.substr(u,e-u):o.substr(u);l&&a.push(l);null!==n&&c.push(o.substr(n,s-n));c.push(Object(r.cloneElement)(t,nu
|