wp-73k/dist/main.min.js

2 lines
94 KiB
JavaScript
Raw Normal View History

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