mirror of https://github.com/Aidaho12/haproxy-wi
v-masterman
6 years ago
committed by
GitHub
8 changed files with 31501 additions and 0 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,373 @@
|
||||
/* |
||||
== malihu jquery custom scrollbar plugin == |
||||
Plugin URI: http://manos.malihu.gr/jquery-custom-content-scroller |
||||
*/ |
||||
|
||||
|
||||
|
||||
/* |
||||
CONTENTS: |
||||
1. BASIC STYLE - Plugin's basic/essential CSS properties (normally, should not be edited). |
||||
2. VERTICAL SCROLLBAR - Positioning and dimensions of vertical scrollbar. |
||||
3. HORIZONTAL SCROLLBAR - Positioning and dimensions of horizontal scrollbar. |
||||
4. VERTICAL AND HORIZONTAL SCROLLBARS - Positioning and dimensions of 2-axis scrollbars. |
||||
5. TRANSITIONS - CSS3 transitions for hover events, auto-expanded and auto-hidden scrollbars. |
||||
6. SCROLLBAR COLORS, OPACITY AND BACKGROUNDS |
||||
6.1 THEMES - Scrollbar colors, opacity, dimensions, backgrounds etc. via ready-to-use themes. |
||||
|
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
1. BASIC STYLE |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
.mCustomScrollbar{ -ms-touch-action: none; touch-action: none; /* MSPointer events - direct all pointer events to js */ } |
||||
.mCustomScrollbar.mCS_no_scrollbar{ -ms-touch-action: auto; touch-action: auto; } |
||||
|
||||
.mCustomScrollBox{ /* contains plugin's markup */ |
||||
position: relative; |
||||
overflow: hidden; |
||||
height: 100%; |
||||
max-width: 100%; |
||||
outline: none; |
||||
direction: ltr; |
||||
} |
||||
|
||||
.mCSB_container{ /* contains the original content */ |
||||
overflow: hidden; |
||||
width: auto; |
||||
height: auto; |
||||
} |
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
2. VERTICAL SCROLLBAR |
||||
y-axis |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
.mCSB_inside > .mCSB_container{ margin-right: 30px; } |
||||
|
||||
.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{ margin-right: 0; } /* non-visible scrollbar */ |
||||
|
||||
.mCS-dir-rtl > .mCSB_inside > .mCSB_container{ /* RTL direction/left-side scrollbar */ |
||||
margin-right: 0; |
||||
margin-left: 30px; |
||||
} |
||||
|
||||
.mCS-dir-rtl > .mCSB_inside > .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden{ margin-left: 0; } /* RTL direction/left-side scrollbar */ |
||||
|
||||
.mCSB_scrollTools{ /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */ |
||||
position: absolute; |
||||
width: 16px; |
||||
height: auto; |
||||
left: auto; |
||||
top: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
} |
||||
|
||||
.mCSB_outside + .mCSB_scrollTools{ right: -26px; } /* scrollbar position: outside */ |
||||
|
||||
.mCS-dir-rtl > .mCSB_inside > .mCSB_scrollTools, |
||||
.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools{ /* RTL direction/left-side scrollbar */ |
||||
right: auto; |
||||
left: 0; |
||||
} |
||||
|
||||
.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools{ left: -26px; } /* RTL direction/left-side scrollbar (scrollbar position: outside) */ |
||||
|
||||
.mCSB_scrollTools .mCSB_draggerContainer{ /* contains the draggable element and dragger rail markup */ |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
bottom: 0; |
||||
right: 0; |
||||
height: auto; |
||||
} |
||||
|
||||
.mCSB_scrollTools a + .mCSB_draggerContainer{ margin: 20px 0; } |
||||
|
||||
.mCSB_scrollTools .mCSB_draggerRail{ |
||||
width: 2px; |
||||
height: 100%; |
||||
margin: 0 auto; |
||||
-webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px; |
||||
} |
||||
|
||||
.mCSB_scrollTools .mCSB_dragger{ /* the draggable element */ |
||||
cursor: pointer; |
||||
width: 100%; |
||||
height: 30px; /* minimum dragger height */ |
||||
z-index: 1; |
||||
} |
||||
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ /* the dragger element */ |
||||
position: relative; |
||||
width: 4px; |
||||
height: 100%; |
||||
margin: 0 auto; |
||||
-webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px; |
||||
text-align: center; |
||||
} |
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar, |
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{ width: 12px; /* auto-expanded scrollbar */ } |
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail, |
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{ width: 8px; /* auto-expanded scrollbar */ } |
||||
|
||||
.mCSB_scrollTools .mCSB_buttonUp, |
||||
.mCSB_scrollTools .mCSB_buttonDown{ |
||||
display: block; |
||||
position: absolute; |
||||
height: 20px; |
||||
width: 100%; |
||||
overflow: hidden; |
||||
margin: 0 auto; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.mCSB_scrollTools .mCSB_buttonDown{ bottom: 0; } |
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
3. HORIZONTAL SCROLLBAR |
||||
x-axis |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
.mCSB_horizontal.mCSB_inside > .mCSB_container{ |
||||
margin-right: 0; |
||||
margin-bottom: 30px; |
||||
} |
||||
|
||||
.mCSB_horizontal.mCSB_outside > .mCSB_container{ min-height: 100%; } |
||||
|
||||
.mCSB_horizontal > .mCSB_container.mCS_no_scrollbar_x.mCS_x_hidden{ margin-bottom: 0; } /* non-visible scrollbar */ |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal{ |
||||
width: auto; |
||||
height: 16px; |
||||
top: auto; |
||||
right: 0; |
||||
bottom: 0; |
||||
left: 0; |
||||
} |
||||
|
||||
.mCustomScrollBox + .mCSB_scrollTools.mCSB_scrollTools_horizontal, |
||||
.mCustomScrollBox + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal{ bottom: -26px; } /* scrollbar position: outside */ |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal a + .mCSB_draggerContainer{ margin: 0 20px; } |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{ |
||||
width: 100%; |
||||
height: 2px; |
||||
margin: 7px 0; |
||||
} |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{ |
||||
width: 30px; /* minimum dragger width */ |
||||
height: 100%; |
||||
left: 0; |
||||
} |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar{ |
||||
width: 100%; |
||||
height: 4px; |
||||
margin: 6px auto; |
||||
} |
||||
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded .mCSB_dragger_bar, |
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_dragger .mCSB_dragger_bar{ |
||||
height: 12px; /* auto-expanded scrollbar */ |
||||
margin: 2px auto; |
||||
} |
||||
|
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger.mCSB_dragger_onDrag_expanded + .mCSB_draggerRail, |
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerContainer:hover .mCSB_draggerRail{ |
||||
height: 8px; /* auto-expanded scrollbar */ |
||||
margin: 4px 0; |
||||
} |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft, |
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{ |
||||
display: block; |
||||
position: absolute; |
||||
width: 20px; |
||||
height: 100%; |
||||
overflow: hidden; |
||||
margin: 0 auto; |
||||
cursor: pointer; |
||||
} |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft{ left: 0; } |
||||
|
||||
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{ right: 0; } |
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
4. VERTICAL AND HORIZONTAL SCROLLBARS |
||||
yx-axis |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
.mCSB_container_wrapper{ |
||||
position: absolute; |
||||
height: auto; |
||||
width: auto; |
||||
overflow: hidden; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
margin-right: 30px; |
||||
margin-bottom: 30px; |
||||
} |
||||
|
||||
.mCSB_container_wrapper > .mCSB_container{ |
||||
padding-right: 30px; |
||||
padding-bottom: 30px; |
||||
} |
||||
|
||||
.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_vertical{ bottom: 20px; } |
||||
|
||||
.mCSB_vertical_horizontal > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ right: 20px; } |
||||
|
||||
/* non-visible horizontal scrollbar */ |
||||
.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden + .mCSB_scrollTools.mCSB_scrollTools_vertical{ bottom: 0; } |
||||
|
||||
/* non-visible vertical scrollbar/RTL direction/left-side scrollbar */ |
||||
.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal, |
||||
.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ right: 0; } |
||||
|
||||
/* RTL direction/left-side scrollbar */ |
||||
.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_scrollTools.mCSB_scrollTools_horizontal{ left: 20px; } |
||||
|
||||
/* non-visible scrollbar/RTL direction/left-side scrollbar */ |
||||
.mCS-dir-rtl > .mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden + .mCSB_scrollTools ~ .mCSB_scrollTools.mCSB_scrollTools_horizontal{ left: 0; } |
||||
|
||||
.mCS-dir-rtl > .mCSB_inside > .mCSB_container_wrapper{ /* RTL direction/left-side scrollbar */ |
||||
margin-right: 0; |
||||
margin-left: 30px; |
||||
} |
||||
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden > .mCSB_container{ |
||||
padding-right: 0; |
||||
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; |
||||
} |
||||
|
||||
.mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden > .mCSB_container{ |
||||
padding-bottom: 0; |
||||
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; |
||||
} |
||||
|
||||
.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden{ |
||||
margin-right: 0; /* non-visible scrollbar */ |
||||
margin-left: 0; |
||||
} |
||||
|
||||
/* non-visible horizontal scrollbar */ |
||||
.mCustomScrollBox.mCSB_vertical_horizontal.mCSB_inside > .mCSB_container_wrapper.mCS_no_scrollbar_x.mCS_x_hidden{ margin-bottom: 0; } |
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
5. TRANSITIONS |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
|
||||
.mCSB_scrollTools, |
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, |
||||
.mCSB_scrollTools .mCSB_buttonUp, |
||||
.mCSB_scrollTools .mCSB_buttonDown, |
||||
.mCSB_scrollTools .mCSB_buttonLeft, |
||||
.mCSB_scrollTools .mCSB_buttonRight{ |
||||
-webkit-transition: opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
-moz-transition: opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
-o-transition: opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
transition: opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
} |
||||
|
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar, /* auto-expanded scrollbar */ |
||||
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail, |
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_dragger_bar, |
||||
.mCSB_scrollTools_horizontal.mCSB_scrollTools_onDrag_expand .mCSB_draggerRail{ |
||||
-webkit-transition: width .2s ease-out .2s, height .2s ease-out .2s, |
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s, |
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s, |
||||
opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
-moz-transition: width .2s ease-out .2s, height .2s ease-out .2s, |
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s, |
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s, |
||||
opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
-o-transition: width .2s ease-out .2s, height .2s ease-out .2s, |
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s, |
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s, |
||||
opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
transition: width .2s ease-out .2s, height .2s ease-out .2s, |
||||
margin-left .2s ease-out .2s, margin-right .2s ease-out .2s, |
||||
margin-top .2s ease-out .2s, margin-bottom .2s ease-out .2s, |
||||
opacity .2s ease-in-out, background-color .2s ease-in-out; |
||||
} |
||||
|
||||
|
||||
|
||||
/* |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
6. SCROLLBAR COLORS, OPACITY AND BACKGROUNDS |
||||
------------------------------------------------------------------------------------------------------------------------ |
||||
*/ |
||||
|
||||
/* |
||||
---------------------------------------- |
||||
6.1 THEMES |
||||
---------------------------------------- |
||||
*/ |
||||
|
||||
/* theme: "minimal", "minimal-dark" */ |
||||
|
||||
.mCSB_outside + .mCS-minimal.mCSB_scrollTools_vertical, |
||||
.mCSB_outside + .mCS-minimal-dark.mCSB_scrollTools_vertical{ |
||||
right: 0; |
||||
margin: 12px 0; |
||||
} |
||||
|
||||
.mCustomScrollBox.mCS-minimal + .mCSB_scrollTools.mCSB_scrollTools_horizontal, |
||||
.mCustomScrollBox.mCS-minimal + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal, |
||||
.mCustomScrollBox.mCS-minimal-dark + .mCSB_scrollTools.mCSB_scrollTools_horizontal, |
||||
.mCustomScrollBox.mCS-minimal-dark + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal{ |
||||
bottom: 0; |
||||
margin: 0 12px; |
||||
} |
||||
|
||||
/* RTL direction/left-side scrollbar */ |
||||
.mCS-dir-rtl > .mCSB_outside + .mCS-minimal.mCSB_scrollTools_vertical, |
||||
.mCS-dir-rtl > .mCSB_outside + .mCS-minimal-dark.mCSB_scrollTools_vertical{ |
||||
left: 0; |
||||
right: auto; |
||||
} |
||||
|
||||
.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail, |
||||
.mCS-minimal-dark.mCSB_scrollTools .mCSB_draggerRail{ background-color: transparent; } |
||||
|
||||
.mCS-minimal.mCSB_scrollTools_vertical .mCSB_dragger, |
||||
.mCS-minimal-dark.mCSB_scrollTools_vertical .mCSB_dragger{ height: 50px; } |
||||
|
||||
.mCS-minimal.mCSB_scrollTools_horizontal .mCSB_dragger, |
||||
.mCS-minimal-dark.mCSB_scrollTools_horizontal .mCSB_dragger{ width: 50px; } |
||||
|
||||
.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ |
||||
background-color: #fff; background-color: rgba(255,255,255,0.2); |
||||
filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)"; |
||||
} |
||||
|
||||
.mCS-minimal.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, |
||||
.mCS-minimal.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{ |
||||
background-color: #fff; background-color: rgba(255,255,255,0.5); |
||||
filter: "alpha(opacity=50)"; -ms-filter: "alpha(opacity=50)"; |
||||
} |
||||
|
||||
|
||||
/* theme: "minimal-dark" */ |
||||
|
||||
.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{ |
||||
background-color: #000; background-color: rgba(0,0,0,0.2); |
||||
filter: "alpha(opacity=20)"; -ms-filter: "alpha(opacity=20)"; |
||||
} |
||||
|
||||
.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, |
||||
.mCS-minimal-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{ |
||||
background-color: #000; background-color: rgba(0,0,0,0.5); |
||||
filter: "alpha(opacity=50)"; -ms-filter: "alpha(opacity=50)"; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
/*! |
||||
* jQuery Mousewheel 3.1.13 |
||||
* |
||||
* Copyright 2015 jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license
|
||||
*/ |
||||
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}); |
@ -0,0 +1,8 @@
|
||||
/** |
||||
* Minified by jsDelivr using Terser v3.14.1. |
||||
* Original file: /npm/js-cookie@2.2.0/src/js.cookie.js |
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/ |
||||
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}return function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var f in i)i[f]&&(s+="; "+f,!0!==i[f]&&(s+="="+i[f]));return document.cookie=n+"="+r+s}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");this.json||'"'!==C.charAt(0)||(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(e){}if(n===g){c=C;break}n||(c[g]=C)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}(function(){})}); |
||||
//# sourceMappingURL=/sm/203d9606ffea7a776ef56994ac4d4a1ab0a18611bf5f22fd2f82e9b682eea54f.map
|
Loading…
Reference in new issue