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

2 lines
14 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.dom=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=476)}({15:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(24);var i=n(37),o=n(31);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(i.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2:function(e,t){e.exports=window.lodash},24:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(24);function i(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},37:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},476:function(e,t,n){"use strict";n.r(t),n.d(t,"focus",(function(){return ee})),n.d(t,"isHorizontalEdge",(function(){return P})),n.d(t,"isVerticalEdge",(function(){return R})),n.d(t,"getRectangleFromRange",(function(){return x})),n.d(t,"computeCaretRect",(function(){return D})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return M})),n.d(t,"placeCaretAtVerticalEdge",(function(){return L})),n.d(t,"isTextField",(function(){return _})),n.d(t,"isNumberInput",(function(){return H})),n.d(t,"documentHasTextSelection",(function(){return F})),n.d(t,"documentHasUncollapsedSelection",(function(){return U})),n.d(t,"documentHasSelection",(function(){return V})),n.d(t,"isEntirelySelected",(function(){return B})),n.d(t,"getScrollContainer",(function(){return z})),n.d(t,"getOffsetParent",(function(){return k})),n.d(t,"replace",(function(){return X})),n.d(t,"remove",(function(){return q})),n.d(t,"insertAfter",(function(){return G})),n.d(t,"unwrap",(function(){return W})),n.d(t,"replaceTag",(function(){return Y})),n.d(t,"wrap",(function(){return $})),n.d(t,"__unstableStripHTML",(function(){return J})),n.d(t,"isEmpty",(function(){return K})),n.d(t,"removeInvalidHTML",(function(){return Q})),n.d(t,"getPhrasingContentSchema",(function(){return w})),n.d(t,"isPhrasingContent",(function(){return j})),n.d(t,"isTextContent",(function(){return A})),n.d(t,"getFilesFromDataTransfer",(function(){return Z}));var r={};n.r(r),n.d(r,"find",(function(){return u}));var i={};n.r(i),n.d(i,"isTabbableIndex",(function(){return f})),n.d(i,"find",(function(){return p})),n.d(i,"findPrevious",(function(){return h})),n.d(i,"findNext",(function(){return v}));var o=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.