|
|
|
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(st,vt,Ti,n){"use strict";var i,o,dt,u,f,L,R,t,r,e,a,c,l,ht,pt="object",bt="function",mt="array",yt="string",gt="boolean",wt="number",s="null",xt="class",Oi="style",_t="id",ki="length",St="prototype",Ci="offsetHeight",Ai="clientHeight",Ni="scrollHeight",Hi="offsetWidth",Li="clientWidth",Ri="scrollWidth",zt="hasOwnProperty",Tt={e:{},o:{},u:["-webkit-","-moz-","-o-","-ms-"],s:["WebKit","Moz","O","MS"],v:function(n){var t=this.o;if(t[n])return t[n];for(var r,e,i=this.u,o=this.d(n),a=vt.createElement("div")[Oi],u=0,f=0;u<i.length;u++)for(e=i[u].replace(/-/g,""),r=[n,i[u]+n,e+o,this.d(e)+o],f=0;f<r[ki];f++)if(a[r[f]]!==Ti)return t[n]=r[f],r[f];return null},p:function(n,t,r){var e=this.s,i=this.e,o=0,a=i[n];if(!a){for(a=st[n];o<e[ki];o++)a=a||st[(t?e[o]:e[o].toLowerCase())+this.d(n)];i[n]=a}return a||r},d:function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},Di={wW:function(){return st.innerWidth||vt.documentElement[Li]||vt.body[Li]},wH:function(){return st.innerHeight||vt.documentElement[Ai]||vt.body[Ai]},mO:function(){return Tt.p("MutationObserver",!0)},rO:function(){return Tt.p("ResizeObserver",!0)},rAF:function(){return Tt.p("requestAnimationFrame",!1,function(n){return st.setTimeout(n,1e3/60)})},cAF:function(){return Tt.p("cancelAnimationFrame",!1,function(n){return st.clearTimeout(n)})},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||vt).ownerDocument||vt,o=i.documentElement,a=i.body;if(n.touches===Ti)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===Ti?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[ki];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==mt},type:function(n){return n===Ti?n+"":null===n?n+"":Object[St].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=bt)throw"Can't bind function!";function r(){}function e(){return n.apply(this instanceof r?this:t,o.concat(Array[i].slice.call(arguments)))}var i=St,o=Array[i].slice.call(arguments,2);return n[i]&&(r[i]=n[i]),e[i]=new r,e}},Ii=Math,Ot=n,Mi=(n.easing,n),kt=(i=[],o="__overlayScrollbars__",function(n,t){var r=arguments[ki];if(r<1)return i;if(t)n[o]=t,i.push(n);else{var e=Di.inA(n,i);if(-1<e){if(!(1<r))return i[e][o];delete n[o],i.splice(e,1)}}}),v=(l=[],L=Di.type,c={className:["os-theme-dark",[s,yt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:t=[!0,gt],clipAlways:t,normalizeRTL:t,paddingAbsolute:r=[!(R=[gt,wt,yt,mt,pt,bt,s]),gt],autoUpdate:[null,[s,gt]],autoUpdateInterval:[33,wt],nativeScrollbarsOverlaid:{showNativeScrollbars:r,initialize:t},overflowBehavior:{x:["scroll",a="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",a]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,wt],dragScrolling:t,clickScrolling:r,touchSupport:t,snapHandle:r},textarea:{dynWidth:r,dynHeight:r,inheritedAttrs:[["style","class"],[yt,mt,s]]},callbacks:{onInitialized:e=[null,[s,bt]],onInitializationWithdrawn:e,onDestroyed:e,onScrollStart:e,onScroll:e,onScrollStop:e,onOverflowChanged:e,onOverflowAmountChanged:e,onDirectionChanged:e,onContentSizeChanged:e,onHostSizeChanged:e,onUpda
|