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

2 lines
31 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
!function(){"use strict";var t,e={754:function(t,e,n){n.d(e,{c4:function(){return Ve},tL:function(){return De},h:function(){return le}});var r,o,i,s,_,u,c,l,a,f={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function v(t,e){for(var n in e)t[n]=e[n];return t}function y(t){var e=t.parentNode;e&&e.removeChild(t)}function m(t,e,n){var o,i,s,_={};for(s in e)"key"==s?o=e[s]:"ref"==s?i=e[s]:_[s]=e[s];if(arguments.length>2&&(_.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===_[s]&&(_[s]=t.defaultProps[s]);return g(t,_,o,i,null)}function g(t,e,n,r,s){var _={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++i:s};return null==s&&null!=o.vnode&&o.vnode(_),_}function b(t){return t.children}function w(t,e){this.props=t,this.context=e}function x(t,e){if(null==e)return t.__?x(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__d||n.__e;return"function"==typeof t.type?x(t):null}function k(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return k(t)}}function S(t){(!t.__d&&(t.__d=!0)&&_.push(t)&&!P.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||c)(P)}function P(){var t,e,n,r,o,i,s,u,c;for(_.sort(l);t=_.shift();)t.__d&&(e=_.length,r=void 0,o=void 0,i=void 0,u=(s=(n=t).__v).__e,(c=n.__P)&&(r=[],o=[],(i=v({},s)).__v=s.__v+1,U(c,s,i,n.__n,void 0!==c.ownerSVGElement,null!=s.__h?[u]:null,r,null==u?x(s):u,s.__h,o),j(r,s,o),s.__e!=u&&k(s)),_.length>e&&_.sort(l));P.__r=0}function $(t,e,n,r,o,i,s,_,u,c,l){var a,h,v,y,m,w,k,S,P,$=0,N=r&&r.__k||p,A=N.length,T=A,H=e.length;for(n.__k=[],a=0;a<H;a++)null!=(y=n.__k[a]=null==(y=e[a])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?g(null,y,null,null,y):d(y)?g(b,{children:y},null,null,null):y.__b>0?g(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)?(y.__=n,y.__b=n.__b+1,-1===(S=O(y,N,k=a+$,T))?v=f:(v=N[S]||f,N[S]=void 0,T--),U(t,y,v,o,i,s,_,u,c,l),m=y.__e,(h=y.ref)&&v.ref!=h&&(v.ref&&W(v.ref,null,y),l.push(h,y.__c||m,y)),null!=m&&(null==w&&(w=m),(P=v===f||null===v.__v)?-1==S&&$--:S!==k&&(S===k+1?$++:S>k?T>H-k?$+=S-k:$--:$=S<k&&S==k-1?S-k:0),k=a+$,"function"!=typeof y.type||S===k&&v.__k!==y.__k?"function"==typeof y.type||S===k&&!P?void 0!==y.__d?(u=y.__d,y.__d=void 0):u=m.nextSibling:u=C(t,m,u):u=E(y,u,t),"function"==typeof n.type&&(n.__d=u))):(v=N[a])&&null==v.key&&v.__e&&(v.__e==u&&(v.__=r,u=x(v)),M(v,v,!1),N[a]=null);for(n.__e=w,a=A;a--;)null!=N[a]&&("function"==typeof n.type&&null!=N[a].__e&&N[a].__e==n.__d&&(n.__d=N[a].__e.nextSibling),M(N[a],N[a]))}function E(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?E(r,e,n):C(n,r.__e,e));return e}function C(t,e,n){return null==n||n.parentNode!==t?t.insertBefore(e,null):e==n&&null!=e.parentNode||t.insertBefore(e,n),e.nextSibling}function O(t,e,n,r){var o=t.key,i=t.type,s=n-1,_=n+1,u=e[n];if(null===u||u&&o==u.key&&i===u.type)return n;if(r>(null!=u?1:0))for(;s>=0||_<e.length;){if(s>=0){if((u=e[s])&&o==u.key&&i===u.type)return s;s--}if(_<e.length){if((u=e[_])&&o==u.key&&i===u.type)return _;_++}}return-1}function N(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||h.test(e)?n:n+"px"}function A(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||N(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||N(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?H:T,i)):t.removeEventListener(e,i?H:T,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("