wp-rdnyc/dist/main.min.js

2 lines
43 KiB
JavaScript
Raw Normal View History

/*! For license information please see main.min.js.LICENSE.txt */
2021-10-31 18:05:17 -04:00
!function(){var e={750:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return O},afterRead:function(){return v},afterWrite:function(){return A},applyStyles:function(){return M},arrow:function(){return X},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return w},beforeRead:function(){return y},beforeWrite:function(){return E},bottom:function(){return o},clippingParents:function(){return f},computeStyles:function(){return ee},createPopper:function(){return De},createPopperBase:function(){return Le},createPopperLite:function(){return Te},detectOverflow:function(){return ge},end:function(){return l},eventListeners:function(){return ne},flip:function(){return me},hide:function(){return ve},left:function(){return s},main:function(){return _},modifierPhases:function(){return j},offset:function(){return we},placements:function(){return m},popper:function(){return p},popperGenerator:function(){return Ce},popperOffsets:function(){return _e},preventOverflow:function(){return Oe},read:function(){return b},reference:function(){return h},right:function(){return i},start:function(){return u},top:function(){return r},variationPlacements:function(){return g},viewport:function(){return d},write:function(){return x}});var r="top",o="bottom",i="right",s="left",a="auto",c=[r,o,i,s],u="start",l="end",f="clippingParents",d="viewport",p="popper",h="reference",g=c.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+l])}),[]),m=[].concat(c,[a]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+l])}),[]),y="beforeRead",b="read",v="afterRead",w="beforeMain",_="main",O="afterMain",E="beforeWrite",x="write",A="afterWrite",j=[y,b,v,w,_,O,E,x,A];function C(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function D(e){return e instanceof L(e).Element||e instanceof Element}function T(e){return e instanceof L(e).HTMLElement||e instanceof HTMLElement}function S(e){return"undefined"!=typeof ShadowRoot&&(e instanceof L(e).ShadowRoot||e instanceof ShadowRoot)}var M={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];T(o)&&C(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});T(r)&&C(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function k(e){return e.split("-")[0]}function P(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function N(e){var t=P(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return L(e).getComputedStyle(e)}function $(e){return["table","td","th"].indexOf(C(e))>=0}function B(e){return((D(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||B(e)}function R(e){return T(e)&&"fixed"!==I(e).position?e.offsetParent:null}function W(e){for(var t=L(e),n=R(e);n&&$(n)&&"static"===I(