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="2sUP")}({"25BE":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}))},"2sUP":function(e,t,n){"use strict";n.r(t),n.d(t,"focus",(function(){return te})),n.d(t,"isHorizontalEdge",(function(){return S})),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 I})),n.d(t,"isTextField",(function(){return H})),n.d(t,"isNumberInput",(function(){return _})),n.d(t,"documentHasTextSelection",(function(){return B})),n.d(t,"documentHasUncollapsedSelection",(function(){return U})),n.d(t,"documentHasSelection",(function(){return F})),n.d(t,"isEntirelySelected",(function(){return V})),n.d(t,"getScrollContainer",(function(){return W})),n.d(t,"getOffsetParent",(function(){return z})),n.d(t,"replace",(function(){return k})),n.d(t,"remove",(function(){return X})),n.d(t,"insertAfter",(function(){return q})),n.d(t,"unwrap",(function(){return Y})),n.d(t,"replaceTag",(function(){return G})),n.d(t,"wrap",(function(){return K})),n.d(t,"__unstableStripHTML",(function(){return Q})),n.d(t,"isEmpty",(function(){return $})),n.d(t,"removeInvalidHTML",(function(){return J})),n.d(t,"getPhrasingContentSchema",(function(){return w})),n.d(t,"isPhrasingContent",(function(){return T})),n.d(t,"isTextContent",(function(){return j})),n.d(t,"getFilesFromDataTransfer",(function(){return Z})),n.d(t,"safeHTML",(function(){return ee}));var r={};n.r(r),n.d(r,"find",(function(){return u}));var i={};n.r(i),n.d(i,"isTabbableIndex",(function(){return s})),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.querySelectorAll(o);return Array.from(t).filter((function(e){return!(!a(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(e))&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=e.ownerDocument.querySelector('img[usemap="#'+t.name+'"]');return!!n&&a(n)}(e))}))}var c=n("YLtl");function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function s(e){return-1!==l(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function m(e,t){var n=l(e.element),r=l(t.element);return n===r?e.index-t.index:n-r}function b(e){return e.filter(s).map(f).sort(m).map(d).reduce((t={},function(e,n){var r=n.nodeName,i=n.type,o=n.checked,a=n.name;if("INPUT"!==r||"radio"!==i||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!o&&u)return e;if(u){var l=t[a];e=Object(c.without)(e,l)}return t[a]=n,e.concat(n)}),[]);var t}functi