PageSourceSearch

http://express-diplom.ru/wp-content/themes/OneTouch/assets/js/app.js

js express-diplom.ru collected 2026-10-04 21:50:34 UTC 13,296 bytes, 294 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13(function ($, window, undefined) {
14    'use strict';
15
16    var $doc = $(document),
17        Modernizr = window.Modernizr;
18
19    $(document).ready(function () {
20        $.fn.foundationAlerts ? $doc.foundationAlerts() : null;
21        $.fn.foundationButtons ? $doc.foundationButtons() : null;
22        $.fn.foundationAccordion ? $doc.foundationAccordion() : null;
23        $.fn.foundationNavigation ? $doc.foundationNavigation() : null;
24        $.fn.foundationTopBar ? $doc.foundationTopBar() : null;
25        $.fn.foundationCustomForms ? $doc.foundationCustomForms() : null;
26        $.fn.foundationMediaQueryViewer ? $doc.foundationMediaQueryViewer() : null;
27        $.fn.foundationTabs ? $doc.foundationTabs({callback:$.foundation.customForms.appendCustomMarkup}) : null;
28        $.fn.foundationTooltips ? $doc.foundationTooltips() : null;
29        $.fn.foundationMagellan ? $doc.foundationMagellan() : null;
30        $.fn.foundationClearing ? $doc.foundationClearing() : null;
31
32
33    });
34
35    // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
36    // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
37    // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
38    // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
39    // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
40
41    // Hide address bar on mobile devices (except if #hash present, so we don't mess up deep linking).
42    if (Modernizr.touch && !window.location.hash) {
43        $(window).load(function () {
44            setTimeout(function () {
45                window.scrollTo(0, 1);
46            }, 0);
47        });
48    }
49
50})(jQuery, this);
51
52/*! Picturefill - Responsive Images that work today. (and mimic the proposed Picture element with divs). Author: Scott Jehl, Filament Group, 2012 | License: MIT/GPLv2 */
53
54(function( w ){
55
56    // Enable strict mode
57    "use strict";
58
59    w.picturefill = function() {
60        var ps = w.document.getElementsByTagName( "div" );
61
62        // Loop the pictures
63        for( var i = 0, il = ps.length; i < il; i++ ){
64            if( ps[ i ].getAttribute( "data-picture" ) !== null ){
65
66                var sources = ps[ i ].getElementsByTagName( "div" ),
67                    matches = [];
68
69                // See if which sources match
70                for( var j = 0, jl = sources.length; j < jl; j++ ){
71                    var media = sources[ j ].getAttribute( "data-media" );
72                    // if there's no media specified, OR w.matchMedia is supported
73                    if( !media || ( w.matchMedia && w.matchMedia( media ).matches ) ){
74                        matches.push( sources[ j ] );
75                    }
76                }
77
78                // Find any existing img element in the picture element
79                var picImg = ps[ i ].getElementsByTagName( "img" )[ 0 ];
80
81                if( matches.length ){
82                    if( !picImg ){
83                        picImg = w.document.createElement( "img" );
84                        picImg.alt = ps[ i ].getAttribute( "data-alt" );
85                        ps[ i ].appendChild( picImg );
86                    }
87
88                    picImg.src =  matches.pop().getAttribute( "data-src" );
89                }
90                else if( picImg ){
91                    ps[ i ].removeChild( picImg );
92                }
93            }
94        }
95    };
96
97    // Run on resize and domready (w.load as a fallback)
98    if( w.addEventListener ){
99        w.addEventListener( "resize", w.picturefill, false );
100        w.addEventListener( "DOMContentLoaded", function(){
101            w.picturefill();
102            // Run once only
103            w.removeEventListener( "load", w.picturefill, false );
104        }, false );
105        w.addEventListener( "load", w.picturefill, false );
106    }
107    else if( w.attachEvent ){
108        w.attachEvent( "onload", w.picturefill );
109    }
110
111}( this ));
112
113/*
114 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
115 *
116 * Uses the built in easing capabilities added In jQuery 1.1
117 * to offer multiple easing options
118 *
119 * TERMS OF USE - jQuery Easing
120 *
121 * Open source under the BSD License.
122 *
123 * Copyright © 2008 George McGinley Smith
124 * All rights reserved.
125 *
126 * Redistribution and use in source and binary forms, with or without modification,
127 * are permitted provided that the following conditions are met:
128 *
129 * Redistributions of source code must retain the above copyright notice, this list of
130 * conditions and the following disclaimer.
131 * Redistributions in binary form must reproduce the above copyright notice, this list
132 * of conditions and the following disclaimer in the documentation and/or other materials
133 * provided with the distribution.
134 *
135 * Neither the name of the author nor the names of contributors may be used to endorse
136 * or promote products derived from this software without specific prior written permission.
137 *
138 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
139 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
140 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
141 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
142 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
143 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
144 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
145 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
146 * OF THE POSSIBILITY OF SUCH DAMAGE.
147 *
148 */
149
150// t: current time, b: begInnIng value, c: change In value, d: duration
151jQuery.easing['jswing'] = jQuery.easing['swing'];
152
153jQuery.extend( jQuery.easing,
154    {
155        def: 'easeOutQuad',
156        swing: function (x, t, b, c, d) {
157            //alert(jQuery.easing.default);
158            return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
159        },
160        easeInQuad: function (x, t, b, c, d) {
161            return c*(t/=d)*t + b;
162        },
163        easeOutQuad: function (x, t, b, c, d) {
164            return -c *(t/=d)*(t-2) + b;
165        },
166        easeInOutQuad: function (x, t, b, c, d) {
167            if ((t/=d/2) < 1) return c/2*t*t + b;
168            return -c/2 * ((--t)*(t-2) - 1) + b;
169        },
170        easeInCubic: function (x, t, b, c, d) {
171            return c*(t/=d)*t*t + b;
172        },
173        easeOutCubic: function (x, t, b, c, d) {
174            return c*((t=t/d-1)*t*t + 1) + b;
175        },
176        easeInOutCubic: function (x, t, b, c, d) {
177            if ((t/=d/2) < 1) return c/2*t*t*t + b;
178            return c/2*((t-=2)*t*t + 2) + b;
179        },
180        easeInQuart: function (x, t, b, c, d) {
181            return c*(t/=d)*t*t*t + b;
182        },
183        easeOutQuart: function (x, t, b, c, d) {
184            return -c * ((t=t/d-1)*t*t*t - 1) + b;
185        },
186        easeInOutQuart: function (x, t, b, c, d) {
187            if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
188            return -c/2 * ((t-=2)*t*t*t - 2) + b;
189        },
190        easeInQuint: function (x, t, b, c, d) {
191            return c*(t/=d)*t*t*t*t + b;
192        },
193        easeOutQuint: function (x, t, b, c, d) {
194            return c*((t=t/d-1)*t*t*t*t + 1) + b;
195        },
196        easeInOutQuint: function (x, t, b, c, d) {
197            if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
198            return c/2*((t-=2)*t*t*t*t + 2) + b;
199        },
200        easeInSine: function (x, t, b, c, d) {
201            return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
202        },
203        easeOutSine: function (x, t, b, c, d) {
204            return c * Math.sin(t/d * (Math.PI/2)) + b;
205        },
206        easeInOutSine: function (x, t, b, c, d) {
207            return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
208        },
209        easeInExpo: function (x, t, b, c, d) {
210            return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
211        },
212        easeOutExpo: function (x, t, b, c, d) {
213            return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
214        },
215        easeInOutExpo: function (x, t, b, c, d) {
216            if (t==0) return b;
217            if (t==d) return b+c;
218            if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
219            return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
220        },
221        easeInCirc: function (x, t, b, c, d) {
222            return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
223        },
224        easeOutCirc: function (x, t, b, c, d) {
225            return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
226        },
227        easeInOutCirc: function (x, t, b, c, d) {
228            if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
229            return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
230        },
231        easeInElastic: function (x, t, b, c, d) {
232            var s=1.70158;var p=0;var a=c;
233            if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
234            if (a < Math.abs(c)) { a=c; var s=p/4; }
235            else var s = p/(2*Math.PI) * Math.asin (c/a);
236            return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
237        },
238        easeOutElastic: function (x, t, b, c, d) {
239            var s=1.70158;var p=0;var a=c;
240            if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
241            if (a < Math.abs(c)) { a=c; var s=p/4; }
242            else var s = p/(2*Math.PI) * Math.asin (c/a);
243            return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
244        },
245        easeInOutElastic: function (x, t, b, c, d) {
246            var s=1.70158;var p=0;var a=c;
247            if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
248            if (a < Math.abs(c)) { a=c; var s=p/4; }
249            else var s = p/(2*Math.PI) * Math.asin (c/a);
250            if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
251            return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
252        },
253        easeInBack: function (x, t, b, c, d, s) {
254            if (s == undefined) s = 1.70158;
255            return c*(t/=d)*t*((s+1)*t - s) + b;
256        },
257        easeOutBack: function (x, t, b, c, d, s) {
258            if (s == undefined) s = 1.70158;
259            return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
260        },
261        easeInOutBack: function (x, t, b, c, d, s) {
262            if (s == undefined) s = 1.70158;
263            if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
264            return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
265        },
266        easeInBounce: function (x, t, b, c, d) {
267            return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
268        },
269        easeOutBounce: function (x, t, b, c, d) {
270            if ((t/=d) < (1/2.75)) {
271                return c*(7.5625*t*t) + b;
272            } else if (t < (2/2.75)) {
273                return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
274            } else if (t < (2.5/2.75)) {
275                return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
276            } else {
277                return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
278            }
279        },
280        easeInOutBounce: function (x, t, b, c, d) {
281            if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
282            return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
283        }
284    });
285
286
287
288(function(c,n){var l="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";c.fn.imagesLoaded=function(f){function m(){var b=c(i),a=c(h);d&&(h.length?d.reject(e,b,a):d.resolve(e));c.isFunction(f)&&f.call(g,e,b,a)}function j(b,a){b.src===l||-1!==c.inArray(b,k)||(k.push(b),a?h.push(b):i.push(b),c.data(b,"imagesLoaded",{isBroken:a,src:b.src}),o&&d.notifyWith(c(b),[a,e,c(i),c(h)]),e.length===k.length&&(setTimeout(m),e.unbind(".imagesLoaded")))}var g=this,d=c.isFunction(c.Deferred)?c.Deferred():
289    0,o=c.isFunction(d.notify),e=g.find("img").add(g.filter("img")),k=[],i=[],h=[];c.isPlainObject(f)&&c.each(f,function(b,a){if("callback"===b)f=a;else if(d)d[b](a)});e.length?e.bind("load.imagesLoaded error.imagesLoaded",function(b){j(b.target,"error"===b.type)}).each(function(b,a){var d=a.src,e=c.data(a,"imagesLoaded");
289if(e&&e.src===d)j(a,e.isBroken);else if(a.complete&&a.naturalWidth!==n)j(a,0===a.naturalWidth||0===a.naturalHeight);else if(a.readyState||a.complete)a.src=l,a.src=d}):m();return d?d.promise(g):
290    g}})(jQuery);
291
292
293}
294

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.