/
home
/
liman
/
app
/
assets
/
File Upload :
llllll
Current File: /home/liman/app/assets/index.f9b67dcd.js
import{s as H,v as N,u as w,x as T,y as L,z as j,j as b}from"./index.e8f13b70.js";function I(e){return H()?(N(e),!0):!1}var E;const _=typeof window!="undefined",A=e=>typeof e=="string",h=()=>{};_&&((E=window==null?void 0:window.navigator)==null?void 0:E.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function x(e,o){function t(...r){e(()=>o.apply(this,r),{fn:o,thisArg:this,args:r})}return t}function C(e,o={}){let t,r;return n=>{const i=w(e),u=w(o.maxWait);if(t&&clearTimeout(t),i<=0||u!==void 0&&u<=0)return r&&(clearTimeout(r),r=null),n();u&&!r&&(r=setTimeout(()=>{t&&clearTimeout(t),r=null,n()},u)),t=setTimeout(()=>{r&&clearTimeout(r),r=null,n()},i)}}function G(e,o=!0,t=!0){let r=0,l,n=!0;const i=()=>{l&&(clearTimeout(l),l=void 0)};return s=>{const c=w(e),a=Date.now()-r;if(i(),c<=0)return r=Date.now(),s();a>c&&(t||!n)?(r=Date.now(),s()):o&&(l=setTimeout(()=>{r=Date.now(),n=!0,i(),s()},c)),!t&&!l&&(l=setTimeout(()=>n=!0,c)),n=!1}}function R(e,o=200,t={}){return x(C(o,t),e)}function U(e,o=200,t=!0,r=!0){return x(G(o,t,r),e)}function z(e){var o;const t=w(e);return(o=t==null?void 0:t.$el)!=null?o:t}const K=_?window:void 0;_&&window.document;_&&window.navigator;_&&window.location;function V(...e){let o,t,r,l;if(A(e[0])?([t,r,l]=e,o=K):[o,t,r,l]=e,!o)return h;let n=h;const i=L(()=>z(o),s=>{n(),s&&(s.addEventListener(t,r,l),n=()=>{s.removeEventListener(t,r,l),n=h})},{immediate:!0,flush:"post"}),u=()=>{i(),n()};return I(u),u}const y=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},O="__vueuse_ssr_handlers__";y[O]=y[O]||{};y[O];function q(e,o={}){const{throttle:t=0,idle:r=200,onStop:l=h,onScroll:n=h,offset:i={left:0,right:0,top:0,bottom:0},eventListenerOptions:u={capture:!1,passive:!0}}=o,s=b(0),c=b(0),a=b(!1),d=T({left:!0,right:!1,top:!0,bottom:!1}),f=T({left:!1,right:!1,top:!1,bottom:!1});if(e){const F=R(p=>{a.value=!1,f.left=!1,f.right=!1,f.top=!1,f.bottom=!1,l(p)},t+r),P=p=>{const v=p.target===document?p.target.documentElement:p.target,m=v.scrollLeft;f.left=m<s.value,f.right=m>s.value,d.left=m<=0+(i.left||0),d.right=m+v.clientWidth>=v.scrollWidth-(i.right||0),s.value=m;const g=v.scrollTop;f.top=g<c.value,f.bottom=g>c.value,d.top=g<=0+(i.top||0),d.bottom=g+v.clientHeight>=v.scrollHeight-(i.bottom||0),c.value=g,a.value=!0,F(p),n(p)};V(e,"scroll",t?U(P,t):P,u)}return{x:s,y:c,isScrolling:a,arrivedState:d,directions:f}}var B=Object.defineProperty,J=Object.defineProperties,M=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,W=(e,o,t)=>o in e?B(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,$=(e,o)=>{for(var t in o||(o={}))Q.call(o,t)&&W(e,t,o[t]);if(S)for(var t of S(o))X.call(o,t)&&W(e,t,o[t]);return e},Y=(e,o)=>J(e,M(o));function k(e,o,t={}){var r,l;const n=(r=t.direction)!=null?r:"bottom",i=T(q(e,Y($({},t),{offset:$({[n]:(l=t.distance)!=null?l:0},t.offset)})));L(()=>i.arrivedState[n],async u=>{var s,c;if(u){const a=w(e),d={height:(s=a==null?void 0:a.scrollHeight)!=null?s:0,width:(c=a==null?void 0:a.scrollWidth)!=null?c:0};await o(i),t.preserveScrollPosition&&a&&j(()=>{a.scrollTo({top:a.scrollHeight-d.height,left:a.scrollWidth-d.width})})}})}var D;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(D||(D={}));export{k as u};
Copyright ©2k19 -
Hexid
|
Tex7ure