/
home
/
henzagold
/
apps
/
export
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/apps/export/assets/styleChecker.ecf5c2ff.js
import{O as p}from"./index.9069a9f2.js";import{p as u}from"./useConfigInject.9698d759.js";function m(t,e,i,r){for(var n=t.length,l=i+(r?1:-1);r?l--:++l<n;)if(e(t[l],l,t))return l;return-1}function h(t){return t!==t}function d(t,e,i){for(var r=i-1,n=t.length;++r<n;)if(t[r]===e)return r;return-1}function v(t,e,i){return e===e?d(t,e,i):m(t,h,i)}function L(t,e){var i=t==null?0:t.length;return!!i&&v(t,e,0)>-1}function w(t,e,i){for(var r=-1,n=t==null?0:t.length;++r<n;)if(i(e,t[r]))return!0;return!1}function o(t,e){if(t.classList)return t.classList.contains(e);var i=t.className;return" ".concat(i," ").indexOf(" ".concat(e," "))>-1}function s(t,e){t.classList?t.classList.add(e):o(t,e)||(t.className="".concat(t.className," ").concat(e))}function a(t,e){if(t.classList)t.classList.remove(e);else if(o(t,e)){var i=t.className;t.className=" ".concat(i," ").replace(" ".concat(e," ")," ")}}var g=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:i,css:!0,onBeforeEnter:function(n){n.style.height="0px",n.style.opacity="0",s(n,e)},onEnter:function(n){p(function(){n.style.height="".concat(n.scrollHeight,"px"),n.style.opacity="1"})},onAfterEnter:function(n){n&&(a(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:function(n){s(n,e),n.style.height="".concat(n.offsetHeight,"px"),n.style.opacity=null},onLeave:function(n){setTimeout(function(){n.style.height="0px",n.style.opacity="0"})},onAfterLeave:function(n){n&&(a(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}};const A=g;var y=function(){return u()&&window.document.documentElement},f=function(e){if(u()&&window.document.documentElement){var i=Array.isArray(e)?e:[e],r=window.document.documentElement;return i.some(function(n){return n in r.style})}return!1},x=function(e,i){if(!f(e))return!1;var r=document.createElement("div"),n=r.style[e];return r.style[e]=i,r.style[e]!==n};function C(t,e){return!Array.isArray(t)&&e!==void 0?x(t,e):f(t)}var c,b=function(){if(!y())return!1;if(c!==void 0)return c;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),c=e.scrollHeight===1,document.body.removeChild(e),c};export{L as a,w as b,y as c,A as d,b as e,m as f,C as i};
Copyright ©2k19 -
Hexid
|
Tex7ure