PageSourceSearch

https://palmyramedicalcentre.com.au/services/files/stacks_page_page3.js?rwcache=775282708

js palmyramedicalcentre.com.au collected 2026-10-07 22:32:23 UTC 241,866 bytes, 3,188 lines download raw bytes

1//
2// wow.js
3//
4
vendor: 15,553 bytes, lines 5-517
5(function() {
6  var MutationObserver, Util, WeakMap, getComputedStyle, getComputedStyleRX,
7    bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
8    indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
9
10  Util = (function() {
11    function Util() {}
12
13    Util.prototype.extend = function(custom, defaults) {
14      var key, value;
15      for (key in defaults) {
16        value = defaults[key];
17        if (custom[key] == null) {
18          custom[key] = value;
19        }
20      }
21      return custom;
22    };
23
24    Util.prototype.isMobile = function(agent) {
25      return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent);
26    };
27
28    Util.prototype.createEvent = function(event, bubble, cancel, detail) {
29      var customEvent;
30      if (bubble == null) {
31        bubble = false;
32      }
33      if (cancel == null) {
34        cancel = false;
35      }
36      if (detail == null) {
37        detail = null;
38      }
39      if (document.createEvent != null) {
40        customEvent = document.createEvent('CustomEvent');
41        customEvent.initCustomEvent(event, bubble, cancel, detail);
42      } else if (document.createEventObject != null) {
43        customEvent = document.createEventObject();
44        customEvent.eventType = event;
45      } else {
46        customEvent.eventName = event;
47      }
48      return customEvent;
49    };
50
51    Util.prototype.emitEvent = function(elem, event) {
52      if (elem.dispatchEvent != null) {
53        return elem.dispatchEvent(event);
54      } else if (event in (elem != null)) {
55        return elem[event]();
56      } else if (("on" + event) in (elem != null)) {
57        return elem["on" + event]();
58      }
59    };
60
61    Util.prototype.addEvent = function(elem, event, fn) {
62      if (elem.addEventListener != null) {
63        return elem.addEventListener(event, fn, false);
64      } else if (elem.attachEvent != null) {
65        return elem.attachEvent("on" + event, fn);
66      } else {
67        return elem[event] = fn;
68      }
69    };
70
71    Util.prototype.removeEvent = function(elem, event, fn) {
72      if (elem.removeEventListener != null) {
73        return elem.removeEventListener(event, fn, false);
74      } else if (elem.detachEvent != null) {
75        return elem.detachEvent("on" + event, fn);
76      } else {
77        return delete elem[event];
78      }
79    };
80
81    Util.prototype.innerHeight = function() {
82      if ('innerHeight' in window) {
83        return window.innerHeight;
84      } else {
85        return document.documentElement.clientHeight;
86      }
87    };
88
89    return Util;
90
91  })();
92
93  WeakMap = this.WeakMap || this.MozWeakMap || (WeakMap = (function() {
94    function WeakMap() {
95      this.keys = [];
96      this.values = [];
97    }
98
99    WeakMap.prototype.get = function(key) {
100      var i, item, j, len, ref;
101      ref = this.keys;
102      for (i = j = 0, len = ref.length; j < len; i = ++j) {
103        item = ref[i];
104        if (item === key) {
105          return this.values[i];
106        }
107      }
108    };
109
110    WeakMap.prototype.set = function(key, value) {
111      var i, item, j, len, ref;
112      ref = this.keys;
113      for (i = j = 0, len = ref.length; j < len; i = ++j) {
114        item = ref[i];
115        if (item === key) {
116          this.values[i] = value;
117          return;
118        }
119      }
120      this.keys.push(key);
121      return this.values.push(value);
122    };
123
124    return WeakMap;
125
126  })());
127
128  MutationObserver = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (MutationObserver = (function() {
129    function MutationObserver() {
130      if (typeof console !== "undefined" && console !== null) {
131        console.warn('MutationObserver is not supported by your browser.');
132      }
133      if (typeof console !== "undefined" && console !== null) {
134        console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.');
135      }
136    }
137
138    MutationObserver.notSupported = true;
139
140    MutationObserver.prototype.observe = function() {};
141
142    return MutationObserver;
143
144  })());
145
146  getComputedStyle = this.getComputedStyle || function(el, pseudo) {
147    this.getPropertyValue = function(prop) {
148      var ref;
149      if (prop === 'float') {
150        prop = 'styleFloat';
151      }
152      if (getComputedStyleRX.test(prop)) {
153        prop.replace(getComputedStyleRX, function(_, _char) {
154          return _char.toUpperCase();
155        });
156      }
157      return ((ref = el.currentStyle) != null ? ref[prop] : void 0) || null;
158    };
159    return this;
160  };
161
162  getComputedStyleRX = /(\-([a-z]){1})/g;
163
164  this.WOW = (function() {
165    WOW.prototype.defaults = {
166      boxClass: 'wow',
167      animateClass: 'animated',
168      offset: 0,
169      mobile: true,
170      live: true,
171      callback: null,
172      scrollContainer: null
173    };
174
175    function WOW(options) {
176      if (options == null) {
177        options = {};
178      }
179      this.scrollCallback = bind(this.scrollCallback, this);
180      this.scrollHandler = bind(this.scrollHandler, this);
181      this.resetAnimation = bind(this.resetAnimation, this);
182      this.start = bind(this.start, this);
183      this.scrolled = true;
184      this.config = this.util().extend(options, this.defaults);
185      if (options.scrollContainer != null) {
186        this.config.scrollContainer = document.querySelector(options.scrollContainer);
187      }
188      this.animationNameCache = new WeakMap();
189      this.wowEvent = this.util().createEvent(this.config.boxClass);
190    }
191
192    WOW.prototype.init = function() {
193      var ref;
194      this.element = window.document.documentElement;
195      if ((ref = document.readyState) === "interactive" || ref === "complete") {
196        this.start();
197      } else {
198        this.util().addEvent(document, 'DOMContentLoaded', this.start);
199      }
200      return this.finished = [];
201    };
202
203    WOW.prototype.start = function() {
204      var box, j, len, ref;
205      this.stopped = false;
206      this.boxes = (function() {
207        var j, len, ref, results;
208        ref = this.element.querySelectorAll("." + this.config.boxClass);
209        results = [];
210        for (j = 0, len = ref.length; j < len; j++) {
211          box = ref[j];
212          results.push(box);
213        }
214        return results;
215      }).call(this);
216      this.all = (function() {
217        var j, len, ref, results;
218        ref = this.boxes;
219        results = [];
220        for (j = 0, len = ref.length; j < len; j++) {
221          box = ref[j];
222          results.push(box);
223        }
224        return results;
225      }).call(this);
226      if (this.boxes.length) {
227        if (this.disabled()) {
228          this.resetStyle();
229        } else {
230          ref = this.boxes;
231          for (j = 0, len = ref.length; j < len; j++) {
232            box = ref[j];
233            this.applyStyle(box, true);
234          }
235        }
236      }
237      if (!this.disabled()) {
238        this.util().addEvent(this.config.scrollContainer || window, 'scroll', this.scrollHandler);
239        this.util().addEvent(window, 'resize', this.scrollHandler);
240        this.interval = setInterval(this.scrollCallback, 50);
241      }
242      if (this.config.live) {
243        return new MutationObserver((function(_this) {
244          return function(records) {
245            var k, len1, node, record, results;
246            results = [];
247            for (k = 0, len1 = records.length; k < len1; k++) {
248              record = records[k];
249              results.push((function() {
250                var l, len2, ref1, results1;
251                ref1 = record.addedNodes || [];
252                results1 = [];
253                for (l = 0, len2 = ref1.length; l < len2; l++) {
254                  node = ref1[l];
255                  results1.push(this.doSync(node));
256                }
257                return results1;
258              }).call(_this));
259            }
260            return results;
261          };
262        })(this)).observe(document.body, {
263          childList: true,
264          subtree: true
265        });
266      }
267    };
268
269    WOW.prototype.stop = function() {
270      this.stopped = true;
271      this.util().removeEvent(this.config.scrollContainer || window, 'scroll', this.scrollHandler);
272      this.util().removeEvent(window, 'resize', this.scrollHandler);
273      if (this.interval != null) {
274        return clearInterval(this.interval);
275      }
276    };
277
278    WOW.prototype.sync = function(element) {
279      if (MutationObserver.notSupported) {
280        return this.doSync(this.element);
281      }
282    };
283
284    WOW.prototype.doSync = function(element) {
285      var box, j, len, ref, results;
286      if (element == null) {
287        element = this.element;
288      }
289      if (element.nodeType !== 1) {
290        return;
291      }
292      element = element.parentNode || element;
293      ref = element.querySelectorAll("." + this.config.boxClass);
294      results = [];
295      for (j = 0, len = ref.length; j < len; j++) {
296        box = ref[j];
297        if (indexOf.call(this.all, box) < 0) {
298          this.boxes.push(box);
299          this.all.push(box);
300          if (this.stopped || this.disabled()) {
301            this.resetStyle();
302          } else {
303            this.applyStyle(box, true);
304          }
305          results.push(this.scrolled = true);
306        } else {
307          results.push(void 0);
308        }
309      }
310      return results;
311    };
312
313    WOW.prototype.show = function(box) {
314      this.applyStyle(box);
315      box.className = box.className + " " + this.config.animateClass;
316      if (this.config.callback != null) {
317        this.config.callback(box);
318      }
319      this.util().emitEvent(box, this.wowEvent);
320      this.util().addEvent(box, 'animationend', this.resetAnimation);
321      this.util().addEvent(box, 'oanimationend', this.resetAnimation);
322      this.util().addEvent(box, 'webkitAnimationEnd', this.resetAnimation);
323      this.util().addEvent(box, 'MSAnimationEnd', this.resetAnimation);
324      return box;
325    };
326
327    WOW.prototype.applyStyle = function(box, hidden) {
328      var delay, duration, iteration;
329      duration = box.getAttribute('data-wow-duration');
330      delay = box.getAttribute('data-wow-delay');
331      iteration = box.getAttribute('data-wow-iteration');
332      return this.animate((function(_this) {
333        return function() {
334          return _this.customStyle(box, hidden, duration, delay, iteration);
335        };
336      })(this));
337    };
338
339    WOW.prototype.animate = (function() {
340      if ('requestAnimationFrame' in window) {
341        return function(callback) {
342          return window.requestAnimationFrame(callback);
343        };
344      } else {
345        return function(callback) {
346          return callback();
347        };
348      }
349    })();
350
351    WOW.prototype.resetStyle = function() {
352      var box, j, len, ref, results;
353      ref = this.boxes;
354      results = [];
355      for (j = 0, len = ref.length; j < len; j++) {
356        box = ref[j];
357        results.push(box.style.visibility = 'visible');
358      }
359      return results;
360    };
361
362    WOW.prototype.resetAnimation = function(event) {
363      var target;
364      if (event.type.toLowerCase().indexOf('animationend') >= 0) {
365        target = event.target || event.srcElement;
366        return target.className = target.className.replace(this.config.animateClass, '').trim();
367      }
368    };
369
370    WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) {
371      if (hidden) {
372        this.cacheAnimationName(box);
373      }
374      box.style.visibility = hidden ? 'hidden' : 'visible';
375      if (duration) {
376        this.vendorSet(box.style, {
377          animationDuration: duration
378        });
379      }
380      if (delay) {
381        this.vendorSet(box.style, {
382          animationDelay: delay
383        });
384      }
385      if (iteration) {
386        this.vendorSet(box.style, {
387          animationIterationCount: iteration
388        });
389      }
390      this.vendorSet(box.style, {
391        animationName: hidden ? 'none' : this.cachedAnimationName(box)
392      });
393      return box;
394    };
395
396    WOW.prototype.vendors = ["moz", "webkit"];
397
398    WOW.prototype.vendorSet = function(elem, properties) {
399      var name, results, value, vendor;
400      results = [];
401      for (name in properties) {
402        value = properties[name];
403        elem["" + name] = value;
404        results.push((function() {
405          var j, len, ref, results1;
406          ref = this.vendors;
407          results1 = [];
408          for (j = 0, len = ref.length; j < len; j++) {
409            vendor = ref[j];
410            results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value);
411          }
412          return results1;
413        }).call(this));
414      }
415      return results;
416    };
417
418    WOW.prototype.vendorCSS = function(elem, property) {
419      var j, len, ref, result, style, vendor;
420      style = getComputedStyle(elem);
421      result = style.getPropertyCSSValue(property);
422      ref = this.vendors;
423      for (j = 0, len = ref.length; j < len; j++) {
424        vendor = ref[j];
425        result = result || style.getPropertyCSSValue("-" + vendor + "-" + property);
426      }
427      return result;
428    };
429
430    WOW.prototype.animationName = function(box) {
431      var animationName, error;
432      try {
433        animationName = this.vendorCSS(box, 'animation-name').cssText;
434      } catch (error) {
435        animationName = getComputedStyle(box).getPropertyValue('animation-name');
436      }
437      if (animationName === 'none') {
438        return '';
439      } else {
440        return animationName;
441      }
442    };
443
444    WOW.prototype.cacheAnimationName = function(box) {
445      return this.animationNameCache.set(box, this.animationName(box));
446    };
447
448    WOW.prototype.cachedAnimationName = function(box) {
449      return this.animationNameCache.get(box);
450    };
451
452    WOW.prototype.scrollHandler = function() {
453      return this.scrolled = true;
454    };
455
456    WOW.prototype.scrollCallback = function() {
457      var box;
458      if (this.scrolled) {
459        this.scrolled = false;
460        this.boxes = (function() {
461          var j, len, ref, results;
462          ref = this.boxes;
463          results = [];
464          for (j = 0, len = ref.length; j < len; j++) {
465            box = ref[j];
466            if (!(box)) {
467              continue;
468            }
469            if (this.isVisible(box)) {
470              this.show(box);
471              continue;
472            }
473            results.push(box);
474          }
475          return results;
476        }).call(this);
477        if (!(this.boxes.length || this.config.live)) {
478          return this.stop();
479        }
480      }
481    };
482
483    WOW.prototype.offsetTop = function(element) {
484      var top;
485      while (element.offsetTop === void 0) {
486        element = element.parentNode;
487      }
488      top = element.offsetTop;
489      while (element = element.offsetParent) {
490        top += element.offsetTop;
491      }
492      return top;
493    };
494
495    WOW.prototype.isVisible = function(box) {
496      var bottom, offset, top, viewBottom, viewTop;
497      offset = box.getAttribute('data-wow-offset') || this.config.offset;
498      viewTop = (this.config.scrollContainer && this.config.scrollContainer.scrollTop) || window.pageYOffset;
499      viewBottom = viewTop + Math.min(this.element.clientHeight, this.util().innerHeight()) - offset;
500      top = this.offsetTop(box);
501      bottom = top + box.clientHeight;
502      return top <= viewBottom && bottom >= viewTop;
503    };
504
505    WOW.prototype.util = function() {
506      return this._util != null ? this._util : this._util = new Util();
507    };
508
509    WOW.prototype.disabled = function() {
510      return !this.config.mobile && this.util().isMobile(navigator.userAgent);
511    };
512
513    return WOW;
514
515  })();
516
517}).call(this);
vendor: 4,325 bytes, lines 518-537
518
519
520//
521// tweenmax
522//
523
524/*!
525 * VERSION: 1.19.0
526 * DATE: 2016-07-14
527 * UPDATES AND DOCS AT: http://greensock.com
528 * 
529 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
530 *
531 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
532 * This work is subject to the terms at http://greensock.com/standard-license or for
533 * Club GreenSock members, the software agreement that was issued with your membership.
534 * 
535 * @author: Jack Doyle, [email protected]
536 **/
537var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},e=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e(c,b[c]):e[c%e.length];delete a.cycle},f=function(a,b,d){c.call(this,a,b,d),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=f.prototype.render},g=1e-10,h=c._internals,i=h.isSelector,j=h.isArray,k=f.prototype=c.to({},.1,{}),l=[];f.version="1.19.0",k.constructor=f,k.kill()._gc=!1,f.killTweensOf=f.killDelayedCallsTo=c.killTweensOf,f.getTweensOf=c.getTweensOf,f.lagSmoothing=c.lagSmoothing,f.ticker=c.ticker,f.render=c.render,k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),c.prototype.invalidate.call(this)},k.updateTo=function(a,b){var d,e=this.ratio,f=this.vars.immediateRender||a.immediateRender;b&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(d in a)this.vars[d]=a[d];if(this._initted||f)if(b)this._initted=!1,f&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&c._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var g=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(g,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||f)for(var h,i=1/(1-e),j=this._firstPT;j;)h=j.s+j.c,j.c*=i,j.s=h-j.c,j=j._next;return this},k.render=function(a,b,c){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var d,e,f,i,j,k,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._totalTime,q=this._cycle,r=this._duration,s=this._rawPrevTime;if(a>=n-1e-7?(this._totalTime=n,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>s||0>=a&&a>=-1e-7||s===g&&"isPause"!==this.data)&&s!==a&&(c=!0,s>g&&(e="onReverseComplete")),this._rawPrevTime=m=!b||a||s===a?a:g)):1e-7>a?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===r&&s>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||c)&&(s>=0&&(c=!0),this._rawPrevTime=m=!b||a||s===a?a:g)),this._initted||(c=!0)):(this._totalTime=this._time=a,0!==this._repeat&&(i=r+this._repeatDelay,this._cycle=this._totalTime/i>>0,0!==this._cycle&&this._cycle===this._totalTime/i&&a>=p&&this._cycle--,this._time=this._totalTime-this._cycle*i,this._yoyo&&0!==(1&this._cycle)&&(this._time=r-this._time),this._time>r?this._time=r:this._time<0&&(this._time=0)),this._easeType?(j=this._time/r,k=this._easeType,l=this._easePower,(1===k||3===k&&j>=.5)&&(j=1-j),3===k&&(j*=2),1===l?j*=j:2===l?j*=j*j:3===l?j*=j*j*j:4===l&&(j*=j*j*j*j),1===k?this.ratio=1-j:2===k?this.ratio=j:this._time/r<.5?this.ratio=j/2:this.ratio=1-j/2):this.ratio=this._ease.getRatio(this._time/r)),o===this._time&&!c&&q===this._cycle)return void(p!==this._totalTime&&this._onUpdate&&(b||this._callback("onUp
537date")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=o,this._totalTime=p,this._rawPrevTime=s,this._cycle=q,h.lazyTweens.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/r):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&a>=0&&(this._active=!0),0===p&&(2===this._initted&&a>0&&this._init(),this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===r)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&this._startTime&&this._startAt.render(a,b,c),b||(this._totalTime!==p||e)&&this._callback("onUpdate")),this._cycle!==q&&(b||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===r&&this._rawPrevTime===g&&m!==g&&(this._rawPrevTime=0))},f.to=function(a,b,c){return new f(a,b,c)},f.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new f(a,b,c)},f.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new f(a,b,d)},f.staggerTo=f.allTo=function(a,b,g,h,k,m,n){h=h||0;var o,p,q,r,s=0,t=[],u=function(){g.onComplete&&g.onComplete.apply(g.onCompleteScope||this,arguments),k.apply(n||g.callbackScope||this,m||l)},v=g.cycle,w=g.startAt&&g.startAt.cycle;for(j(a)||("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a))),a=a||[],0>h&&(a=d(a),a.reverse(),h*=-1),o=a.length-1,q=0;o>=q;q++){p={};for(r in g)p[r]=g[r];if(v&&(e(p,a,q),null!=p.duration&&(b=p.duration,delete p.duration)),w){w=p.startAt={};for(r in g.startAt)w[r]=g.startAt[r];e(p.startAt,a,q)}p.delay=s+(p.delay||0),q===o&&k&&(p.onComplete=u),t[q]=new f(a[q],b,p),s+=h}return t},f.staggerFrom=f.allFrom=function(a,b,c,d,e,g,h){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,f.staggerTo(a,b,c,d,e,g,h)},f.staggerFromTo=f.allFromTo=function(a,b,c,d,e,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,f.staggerTo(a,b,d,e,g,h,i)},f.delayedCall=function(a,b,c,d,e){return new f(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,useFrames:e,overwrite:0})},f.set=function(a,b){return new f(a,0,b)},f.isTweening=function(a){return c.getTweensOf(a,!0).length>0};var m=function(a,b){for(var d=[],e=0,f=a._first;f;)f instanceof c?d[e++]=f:(b&&(d[e++]=f),d=d.concat(m(f,b)),e=d.length),f=f._next;return d},n=f.getAllTweens=function(b){return m(a._rootTimeline,b).concat(m(a._rootFramesTimeline,b))};f.killAll=function(a,c,d,e){null==c&&(c=!0),null==d&&(d=!0);var f,g,h,i=n(0!=e),j=i.length,k=c&&d&&e;for(h=0;j>h;h++)g=i[h],(k||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&(a?g.totalTime(g._reversed?0:g.totalDuration()):g._enabled(!1,!1))},f.killChildTweensOf=function(a,b){if(null!=a){var e,g,k,l,m,n=h.tweenLookup;if("string"==typeof a&&(a=c.selector(a)||a),i(a)&&(a=d(a)),j(a))for(l=a.length;--l>-1;)f.killChildTweensOf(a[l],b);else{e=[];for(k in n)for(g=n[k].target.parentNode;g;)g===a&&(e=e.concat(n[k].tweens)),g=g.parentNode;for(m=e.length,l=0;m>l;l++)b&&e[l].totalTime(e[l].totalDuration()),e[l]._enabled(!1,!1)}}};var o=function(a,c,d,e){c=c!==!1,d=d!==!1,e=e!==!1;for(var f,g,h=n(e),i=c&&d&&e,j=h.length;--j>-1;)g=h[j],(i||g instanceof b||(f=g.target===g.vars.onComplete)&&d||c&&!f)&&g.paused(a)};return f.pauseAll=function(a,b,c){o(!0,a,b,c)},f.resumeAll=function(a,b,c){o(!1,a,b,c)},f.globalTimeScale=function(b){var d=a._rootTimeline,e=c.ticker.time;return arguments.length?(b=b||g,d._startTime=e-(e-d._startTime)*d._timeScale/b,d=a._rootFramesTimeline,e=c.ticker.frame,d._startTime=e-(e-d._startTime)*d._timeScale/b,d._timeScale=a._rootTimeline._timeScale=b,b):d._timeScale},k.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),b):this._time/this.duration()},k.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this._totalTime/this.totalDuration()},k.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.duration=function(b){return arguments.length?a.prototype.duration.call(this,b):this._duration},k.totalDuration=function(a){return arguments.length?-1===this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},f},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(a,b,c){var d=function(a){b.call(this,a),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUp
vendor: 8,080 bytes, line 537
537date;var c,d,e=this.vars;for(d in e)c=e[d],i(c)&&-1!==c.join("").indexOf("{self}")&&(e[d]=this._swapSelfInParams(c));i(e.tweens)&&this.add(e.tweens,0,e.align,e.stagger)},e=1e-10,f=c._internals,g=d._internals={},h=f.isSelector,i=f.isArray,j=f.lazyTweens,k=f.lazyRender,l=_gsScope._gsDefine.globals,m=function(a){var b,c={};for(b in a)c[b]=a[b];return c},n=function(a,b,c){var d,e,f=a.cycle;for(d in f)e=f[d],a[d]="function"==typeof e?e.call(b[c],c):e[c%e.length];delete a.cycle},o=g.pauseCallback=function(){},p=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},q=d.prototype=new b;return d.version="1.19.0",q.constructor=d,q.kill()._gc=q._forcingPlayhead=q._hasPause=!1,q.to=function(a,b,d,e){var f=d.repeat&&l.TweenMax||c;return b?this.add(new f(a,b,d),e):this.set(a,d,e)},q.from=function(a,b,d,e){return this.add((d.repeat&&l.TweenMax||c).from(a,b,d),e)},q.fromTo=function(a,b,d,e,f){var g=e.repeat&&l.TweenMax||c;return b?this.add(g.fromTo(a,b,d,e),f):this.set(a,e,f)},q.staggerTo=function(a,b,e,f,g,i,j,k){var l,o,q=new d({onComplete:i,onCompleteParams:j,callbackScope:k,smoothChildTiming:this.smoothChildTiming}),r=e.cycle;for("string"==typeof a&&(a=c.selector(a)||a),a=a||[],h(a)&&(a=p(a)),f=f||0,0>f&&(a=p(a),a.reverse(),f*=-1),o=0;o<a.length;o++)l=m(e),l.startAt&&(l.startAt=m(l.startAt),l.startAt.cycle&&n(l.startAt,a,o)),r&&(n(l,a,o),null!=l.duration&&(b=l.duration,delete l.duration)),q.to(a[o],b,l,o*f);return this.add(q,g)},q.staggerFrom=function(a,b,c,d,e,f,g,h){return c.immediateRender=0!=c.immediateRender,c.runBackwards=!0,this.staggerTo(a,b,c,d,e,f,g,h)},q.staggerFromTo=function(a,b,c,d,e,f,g,h,i){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,this.staggerTo(a,b,d,e,f,g,h,i)},q.call=function(a,b,d,e){return this.add(c.delayedCall(0,a,b,d),e)},q.set=function(a,b,d){return d=this._parseTimeOrLabel(d,0,!0),null==b.immediateRender&&(b.immediateRender=d===this._time&&!this._paused),this.add(new c(a,0,b),d)},d.exportRoot=function(a,b){a=a||{},null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var e,f,g=new d(a),h=g._timeline;for(null==b&&(b=!0),h._remove(g,!0),g._startTime=0,g._rawPrevTime=g._time=g._totalTime=h._time,e=h._first;e;)f=e._next,b&&e instanceof c&&e.target===e.vars.onComplete||g.add(e,e._startTime-e._delay),e=f;return h.add(g,0),g},q.add=function(e,f,g,h){var j,k,l,m,n,o;if("number"!=typeof f&&(f=this._parseTimeOrLabel(f,0,!0,e)),!(e instanceof a)){if(e instanceof Array||e&&e.push&&i(e)){for(g=g||"normal",h=h||0,j=f,k=e.length,l=0;k>l;l++)i(m=e[l])&&(m=new d({tweens:m})),this.add(m,j),"string"!=typeof m&&"function"!=typeof m&&("sequence"===g?j=m._startTime+m.totalDuration()/m._timeScale:"start"===g&&(m._startTime-=m.delay())),j+=h;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,f);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=c.delayedCall(0,e)}if(b.prototype.add.call(this,e,f),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(n=this,o=n.rawTime()>e._startTime;n._timeline;)o&&n._timeline.smoothChildTiming?n.totalTime(n._totalTime,!0):n._gc&&n._enabled(!0,!1),n=n._timeline;return this},q.remove=function(b){if(b instanceof a){this._remove(b,!1);var c=b._timeline=b.vars.useFrames?a._rootFramesTimeline:a._rootTimeline;return b._startTime=(b._paused?b._pauseTime:c._time)-(b._reversed?b.totalDuration()-b._totalTime:b._totalTime)/b._timeScale,this}if(b instanceof Array||b&&b.push&&i(b)){for(var d=b.length;--d>-1;)this.remove(b[d]);return this}return"string"==typeof b?this.removeLabel(b):this.kill(null,b)},q._remove=function(a,c){b.prototype._remove.call(this,a,c);var d=this._last;return d?this._time>d._startTime+d._totalDuration/d._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},q.append=function(a,b){return this.add(a,this._parseTimeOrLabel(null,b,!0,a))},q.insert=q.insertMultiple=function(a,b,c,d){return this.add(a,b||0,c,d)},q.appendMultiple=function(a,b,c,d){return this.add(a,this._parseTimeOrLabel(null,b,!0,a),c,d)},q.addLabel=function(a,b){return this._labels[a]=this._parseTimeOrLabel(b),this},q.addPause=function(a,b,d,e){var f=c.delayedCall(0,o,d,e||this);return f.vars.onComplete=f.vars.onReverseComplete=b,f.data="isPause",this._hasPause=!0,this.add(f,a)},q.removeLabel=function(a){return delete this._labels[a],this},q.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1},q._parseTimeOrLabel=function(b,c,d,e){var f;if(e instanceof a&&e.timeline===this)this.remove(e);else if(e&&(e instanceof Array||e.push&&i(e)))for(f=e.length;--f>-1;)e[f]instanceof a&&e[f].timeline===this&&this.remove(e[f]);if("string"==typeof c)return this._parseTimeOrLabel(c,d&&"number"==typeof b&&null==this._labels[c]?b-this.duration():0,d);if(c=c||0,"string"!=typeof b||!isNaN(b)&&null==this._labels[b])null==b&&(b=this.duration());else{if(f=b.indexOf("="),-1===f)return null==this._labels[b]?d?this._labels[b]=this.duration()+c:c:this._labels[b]+c;c=parseInt(b.charAt(f-1)+"1",10)*Number(b.substr(f+1)),b=f>1?this._parseTimeOrLabel(b.substr(0,f-1),0,d):this.duration()}return Number(b)+c},q.seek=function(a,b){return this.totalTime("number"==typeof a?a:this._parseTimeOrLabel(a),b!==!1)},q.stop=function(){return this.paused(!0)},q.gotoAndPlay=function(a,b){return this.play(a,b)},q.gotoAndStop=function(a,b){return this.pause(a,b)},q.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,g,h,i,l,m,n=this._dirty?this.totalDuration():this._totalDuration,o=this._time,p=this._startTime,q=this._timeScale,r=this._paused;if(a>=n-1e-7)this._totalTime=this._time=n,this._reversed||this._hasPausedChild()||(f=!0,h="onComplete",i=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===e)&&this._rawPrevTime!==a&&this._first&&(i=!0,this._rawPrevTime>e&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,a=n+1e-4;else if(1e-7>a)if(this._totalTime=this._time=0,(0!==o||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>a&&this._rawPrevTime>=0))&&(h="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(i=f=!0,h="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(i=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(i=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!b){if(a>=o)for(d=this._first;d&&d._startTime<=a&&!l;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(l=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!l;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(l=d),d=d._prev;l&&(this._time=a=l._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=a}if(this._time!==o&&this._first||c||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==o&&a>0&&(this._active=!0),0===o&&this.vars.onStart&&(0===this._time&&this._duration||b||this._callback("onStart")),m=this._time,m>=o)for(d=this._first;d&&(g=d._next,m===this._time&&(!this._paused||r));)(d._active||d._startTime<=m&&!d._paused&&!d._gc)&&(l===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=g;else for(d=this._last;d&&(g=d._prev,m===this._time&&(!this._paused||r));){if(d._active||d._startTime<=o&&!d._paused&&!d._gc){if(l===d){for(l=d._prev;l&&l.endTime()>this._time;)l.render(l._reversed?l.totalDuration()-(a-l._startTime)*l._timeScale:(a-l._startTime)*l._timeScale,b,c),l=l._prev;l=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=g}
vendor: 7,593 bytes, line 537
537this._onUpdate&&(b||(j.length&&k(),this._callback("onUpdate"))),h&&(this._gc||(p===this._startTime||q!==this._timeScale)&&(0===this._time||n>=this.totalDuration())&&(f&&(j.length&&k(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[h]&&this._callback(h)))}},q._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof d&&a._hasPausedChild())return!0;a=a._next}return!1},q.getChildren=function(a,b,d,e){e=e||-9999999999;for(var f=[],g=this._first,h=0;g;)g._startTime<e||(g instanceof c?b!==!1&&(f[h++]=g):(d!==!1&&(f[h++]=g),a!==!1&&(f=f.concat(g.getChildren(!0,b,d)),h=f.length))),g=g._next;return f},q.getTweensOf=function(a,b){var d,e,f=this._gc,g=[],h=0;for(f&&this._enabled(!0,!0),d=c.getTweensOf(a),e=d.length;--e>-1;)(d[e].timeline===this||b&&this._contains(d[e]))&&(g[h++]=d[e]);return f&&this._enabled(!1,!0),g},q.recent=function(){return this._recent},q._contains=function(a){for(var b=a.timeline;b;){if(b===this)return!0;b=b.timeline}return!1},q.shiftChildren=function(a,b,c){c=c||0;for(var d,e=this._first,f=this._labels;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(d in f)f[d]>=c&&(f[d]+=a);return this._uncache(!0)},q._kill=function(a,b){if(!a&&!b)return this._enabled(!1,!1);for(var c=b?this.getTweensOf(b):this.getChildren(!0,!0,!1),d=c.length,e=!1;--d>-1;)c[d]._kill(a,b)&&(e=!0);return e},q.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;--c>-1;)b[c]._enabled(!1,!1);return a!==!1&&(this._labels={}),this._uncache(!0)},q.invalidate=function(){for(var b=this._first;b;)b.invalidate(),b=b._next;return a.prototype.invalidate.call(this)},q._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return b.prototype._enabled.call(this,a,c)},q.totalTime=function(b,c,d){this._forcingPlayhead=!0;var e=a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},q.duration=function(a){return arguments.length?(0!==this.duration()&&0!==a&&this.timeScale(this._duration/a),this):(this._dirty&&this.totalDuration(),this._duration)},q.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b,c,d=0,e=this._last,f=999999999999;e;)b=e._prev,e._dirty&&e.totalDuration(),e._startTime>f&&this._sortChildren&&!e._paused?this.add(e,e._startTime-e._delay):f=e._startTime,e._startTime<0&&!e._paused&&(d-=e._startTime,this._timeline.smoothChildTiming&&(this._startTime+=e._startTime/this._timeScale),this.shiftChildren(-e._startTime,!1,-9999999999),f=0),c=e._startTime+e._totalDuration/e._timeScale,c>d&&(d=c),e=b;this._duration=this._totalDuration=d,this._dirty=!1}return this._totalDuration}return a&&this.totalDuration()?this.timeScale(this._totalDuration/a):this},q.paused=function(b){if(!b)for(var c=this._first,d=this._time;c;)c._startTime===d&&"isPause"===c.data&&(c._rawPrevTime=0),c=c._next;return a.prototype.paused.apply(this,arguments)},q.usesFrames=function(){for(var b=this._timeline;b._timeline;)b=b._timeline;return b===a._rootFramesTimeline},q.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},d},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(a,b,c){var d=function(b){a.call(this,b),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},e=1e-10,f=b._internals,g=f.lazyTweens,h=f.lazyRender,i=_gsScope._gsDefine.globals,j=new c(null,null,1,0),k=d.prototype=new a;return k.constructor=d,k.kill()._gc=!1,d.version="1.19.0",k.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},k.addCallback=function(a,c,d,e){return this.add(b.delayedCall(0,a,d,e),c)},k.removeCallback=function(a,b){if(a)if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,e=this._parseTimeOrLabel(b);--d>-1;)c[d]._startTime===e&&c[d]._enabled(!1,!1);return this},k.removePause=function(b){return this.removeCallback(a._internals.pauseCallback,b)},k.tweenTo=function(a,c){c=c||{};var d,e,f,g={ease:j,useFrames:this.usesFrames(),immediateRender:!1},h=c.repeat&&i.TweenMax||b;for(e in c)g[e]=c[e];return g.time=this._parseTimeOrLabel(a),d=Math.abs(Number(g.time)-this._time)/this._timeScale||.001,f=new h(this,d,g),g.onStart=function(){f.target.paused(!0),f.vars.time!==f.target.time()&&d===f.duration()&&f.duration(Math.abs(f.vars.time-f.target.time())/f.target._timeScale),c.onStart&&f._callback("onStart")},f},k.tweenFromTo=function(a,b,c){c=c||{},a=this._parseTimeOrLabel(a),c.startAt={onComplete:this.seek,onCompleteParams:[a],callbackScope:this},c.immediateRender=c.immediateRender!==!1;var d=this.tweenTo(b,c);return d.duration(Math.abs(d.vars.time-a)/this._timeScale||.001)},k.render=function(a,b,c){this._gc&&this._enabled(!0,!1);var d,f,i,j,k,l,m,n,o=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,q=this._time,r=this._totalTime,s=this._startTime,t=this._timeScale,u=this._rawPrevTime,v=this._paused,w=this._cycle;if(a>=o-1e-7)this._locked||(this._totalTime=o,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(f=!0,j="onComplete",k=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=a&&a>=-1e-7||0>u||u===e)&&u!==a&&this._first&&(k=!0,u>e&&(j="onReverseComplete"))),this._rawPrevTime=this._duration||!b||a||this._rawPrevTime===a?a:e,this._yoyo&&0!==(1&this._cycle)?this._time=a=0:(this._time=p,a=p+1e-4);else if(1e-7>a)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==q||0===p&&u!==e&&(u>0||0>a&&u>=0)&&!this._locked)&&(j="onReverseComplete",f=this._reversed),0>a)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(k=f=!0,j="onReverseComplete"):u>=0&&this._first&&(k=!0),this._rawPrevTime=a;else{if(this._rawPrevTime=p||!b||a||this._rawPrevTime===a?a:e,0===a&&f)for(d=this._first;d&&0===d._startTime;)d._duration||(f=!1),d=d._next;a=0,this._initted||(k=!0)}else if(0===p&&0>u&&(k=!0),this._time=this._rawPrevTime=a,this._locked||(this._totalTime=a,0!==this._repeat&&(l=p+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&a>=r&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=p-this._time),this._time>p?(this._time=p,a=p+1e-4):this._time<0?this._time=a=0:a=this._time)),this._hasPause&&!this._forcingPlayhead&&!b){if(a=this._time,a>=q)for(d=this._first;d&&d._startTime<=a&&!m;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(m=d),d=d._next;else for(d=this._last;d&&d._startTime>=a&&!m;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(m=d),d=d._prev;m&&(this._time=a=m._startTime,this._totalTime=a+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==w&&!this._locked){var x=this._yoyo&&0!==(1&w),y=x===(this._yoyo&&0!==(1&this._cycle)),z=this._totalTime,A=this._cycle,B=this._rawPrevTime,C=this._time;if(this._totalTime=w*p,this._cycle<w?x=!x:this._totalTime+=p,this._time=q,this._rawPrevTime=0===p?u-1e-4:u,this._cycle=w,this._locked=!0,q=x?0:p,this.render(q,b,0===p),b||this._gc||this.vars.onRepeat&&this._callback("onRepeat"),q!==this._time)return;if(y&&(q=x?p+1e-4:-1e-4,this.render(q,!0,!1)),this._locked=!1,this._paused&&!v)return;this._time=C,this._totalTime=z,this._cycle=A,this._rawPrevTime=B}if(!(this._time!==q&&this._first||c||k||m))return void(r!==this._totalTime&&this._onUpdate&&(b||this._callback("onUp
537date")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==r&&a>0&&(this._active=!0),0===r&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||b||this._callback("onStart")),n=this._time,n>=q)for(d=this._first;d&&(i=d._next,n===this._time&&(!this._paused||v));)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(m===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)),d=i;else for(d=this._last;d&&(i=d._prev,n===this._time&&(!this._paused||v));){if(d._active||d._startTime<=q&&!d._paused&&!d._gc){if(m===d){for(m=d._prev;m&&m.endTime()>this._time;)m.render(m._reversed?m.totalDuration()-(a-m._startTime)*m._timeScale:(a-m._startTime)*m._timeScale,b,c),m=m._prev;m=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(a-d._startTime)*d._timeScale,b,c):d.render((a-d._startTime)*d._timeScale,b,c)}d=i}this._onUpdate&&(b||(g.length&&h(),this._callback("onUpdate"))),j&&(this._locked||this._gc||(s===this._startTime||t!==this._timeScale)&&(0===this._time||o>=this.totalDuration())&&(f&&(g.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[j]&&this._callback(j)))},k.getActive=function(a,b,c){null==a&&(a=!0),null==b&&(b=!0),null==c&&(c=!1);var d,e,f=[],g=this.getChildren(a,b,c),h=0,i=g.length;for(d=0;i>d;d++)e=g[d],e.isActive()&&(f[h++]=e);return f},k.getLabelAfter=function(a){a||0!==a&&(a=this._time);var b,c=this.getLabelsArray(),d=c.length;for(b=0;d>b;b++)if(c[b].time>a)return c[b].name;return null},k.getLabelBefore=function(a){null==a&&(a=this._time);for(var b=this.getLabelsArray(),c=b.length;--c>-1;)if(b[c].time<a)return b[c].name;return null},k.getLabelsArray=function(){var a,b=[],c=0;for(a in this._labels)b[c++]={time:this._labels[a],name:a};return b.sort(function(a,b){return a.time-b.time}),b},k.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),b):this._time/this.duration()},k.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this._totalTime/this.totalDuration()},k.totalDuration=function(b){return arguments.length?-1!==this._repeat&&b?this.timeScale(this.totalDuration()/b):this:(this._dirty&&(a.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},k.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),a>this._duration&&(a=this._duration),this._yoyo&&0!==(1&this._cycle)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(a,b)):this._time},k.repeat=function(a){return arguments.length?(this._repeat=a,this._uncache(!0)):this._repeat},k.repeatDelay=function(a){return arguments.length?(this._repeatDelay=a,this._uncache(!0)):this._repeatDelay},k.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},k.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.getLabelBefore(this._time+1e-8)},d},!0),function(){var a=180/Math.PI,b=[],c=[],d=[],e={},f=_gsScope._gsDefine.globals,g=function(a,b,c,d){c===d&&(c=d-(d-b)/1e6),a===b&&(b=a+(c-a)/1e6),this.a=a,this.b=b,this.c=c,this.d=d,this.da=d-a,this.ca=c-a,this.ba=b-a},h=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",i=function(a,b,c,d){var e={a:a},f={},g={},h={c:d},i=(a+b)/2,j=(b+c)/2,k=(c+d)/2,l=(i+j)/2,m=(j+k)/2,n=(m-l)/8;return e.b=i+(a-i)/4,f.b=l+n,e.c=f.a=(e.b+f.b)/2,f.c=g.a=(l+m)/2,g.b=m-n,h.b=k+(d-k)/4,g.c=h.a=(g.b+h.b)/2,[e,f,g,h]},j=function(a,e,f,g,h){var j,k,l,m,n,o,p,q,r,s,t,u,v,w=a.length-1,x=0,y=a[0].a;for(j=0;w>j;j++)n=a[x],k=n.a,l=n.d,m=a[x+1].d,h?(t=b[j],u=c[j],v=(u+t)*e*.25/(g?.5:d[j]||.5),o=l-(l-k)*(g?.5*e:0!==t?v/t:0),p=l+(m-l)*(g?.5*e:0!==u?v/u
vendor: 52,674 bytes, lines 537-539
537:0),q=l-(o+((p-o)*(3*t/(t+u)+.5)/4||0))):(o=l-(l-k)*e*.5,p=l+(m-l)*e*.5,q=l-(o+p)/2),o+=q,p+=q,n.c=r=o,0!==j?n.b=y:n.b=y=n.a+.6*(n.c-n.a),n.da=l-k,n.ca=r-k,n.ba=y-k,f?(s=i(k,y,r,l),a.splice(x,1,s[0],s[1],s[2],s[3]),x+=4):x++,y=p;n=a[x],n.b=y,n.c=y+.4*(n.d-y),n.da=n.d-n.a,n.ca=n.c-n.a,n.ba=y-n.a,f&&(s=i(n.a,y,n.c,n.d),a.splice(x,1,s[0],s[1],s[2],s[3]))},k=function(a,d,e,f){var h,i,j,k,l,m,n=[];if(f)for(a=[f].concat(a),i=a.length;--i>-1;)"string"==typeof(m=a[i][d])&&"="===m.charAt(1)&&(a[i][d]=f[d]+Number(m.charAt(0)+m.substr(2)));if(h=a.length-2,0>h)return n[0]=new g(a[0][d],0,0,a[-1>h?0:1][d]),n;for(i=0;h>i;i++)j=a[i][d],k=a[i+1][d],n[i]=new g(j,0,0,k),e&&(l=a[i+2][d],b[i]=(b[i]||0)+(k-j)*(k-j),c[i]=(c[i]||0)+(l-k)*(l-k));return n[i]=new g(a[i][d],0,0,a[i+1][d]),n},l=function(a,f,g,i,l,m){var n,o,p,q,r,s,t,u,v={},w=[],x=m||a[0];l="string"==typeof l?","+l+",":h,null==f&&(f=1);for(o in a[0])w.push(o);if(a.length>1){for(u=a[a.length-1],t=!0,n=w.length;--n>-1;)if(o=w[n],Math.abs(x[o]-u[o])>.05){t=!1;break}t&&(a=a.concat(),m&&a.unshift(m),a.push(a[1]),m=a[a.length-3])}for(b.length=c.length=d.length=0,n=w.length;--n>-1;)o=w[n],e[o]=-1!==l.indexOf(","+o+","),v[o]=k(a,o,e[o],m);for(n=b.length;--n>-1;)b[n]=Math.sqrt(b[n]),c[n]=Math.sqrt(c[n]);if(!i){for(n=w.length;--n>-1;)if(e[o])for(p=v[w[n]],s=p.length-1,q=0;s>q;q++)r=p[q+1].da/c[q]+p[q].da/b[q]||0,d[q]=(d[q]||0)+r*r;for(n=d.length;--n>-1;)d[n]=Math.sqrt(d[n])}for(n=w.length,q=g?4:1;--n>-1;)o=w[n],p=v[o],j(p,f,g,i,e[o]),t&&(p.splice(0,q),p.splice(p.length-q,q));return v},m=function(a,b,c){b=b||"soft";var d,e,f,h,i,j,k,l,m,n,o,p={},q="cubic"===b?3:2,r="soft"===b,s=[];if(r&&c&&(a=[c].concat(a)),null==a||a.length<q+1)throw"invalid Bezier data";for(m in a[0])s.push(m);for(j=s.length;--j>-1;){for(m=s[j],p[m]=i=[],n=0,l=a.length,k=0;l>k;k++)d=null==c?a[k][m]:"string"==typeof(o=a[k][m])&&"="===o.charAt(1)?c[m]+Number(o.charAt(0)+o.substr(2)):Number(o),r&&k>1&&l-1>k&&(i[n++]=(d+i[n-2])/2),i[n++]=d;for(l=n-q+1,n=0,k=0;l>k;k+=q)d=i[k],e=i[k+1],f=i[k+2],h=2===q?0:i[k+3],i[n++]=o=3===q?new g(d,e,f,h):new g(d,(2*e+d)/3,(2*e+f)/3,f);i.length=n}return p},n=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,m,n,o=1/c,p=a.length;--p>-1;)for(m=a[p],f=m.a,g=m.d-f,h=m.c-f,i=m.b-f,d=e=0,k=1;c>=k;k++)j=o*k,l=1-j,d=e-(e=(j*j*g+3*l*(j*h+l*i))*j),n=p*c+k-1,b[n]=(b[n]||0)+d*d},o=function(a,b){b=b>>0||6;var c,d,e,f,g=[],h=[],i=0,j=0,k=b-1,l=[],m=[];for(c in a)n(a[c],g,b);for(e=g.length,d=0;e>d;d++)i+=Math.sqrt(g[d]),f=d%b,m[f]=i,f===k&&(j+=i,f=d/b>>0,l[f]=m,h[f]=j,i=0,m=[]);return{length:j,lengths:h,
538segments:l}},p=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,global:!0,init:function(a,b,c){this._target=a,b instanceof Array&&(b={values:b}),this._func={},this._mod={},this._props=[],this._timeRes=null==b.timeResolution?6:parseInt(b.timeResolution,10);var d,e,f,g,h,i=b.values||[],j={},k=i[0],n=b.autoRotate||c.vars.orientToBezier;this._autoRotate=n?n instanceof Array?n:[["x","y","rotation",n===!0?0:Number(n)||0]]:null;for(d in k)this._props.push(d);for(f=this._props.length;--f>-1;)d=this._props[f],this._overwriteProps.push(d),e=this._func[d]="function"==typeof a[d],j[d]=e?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]():parseFloat(a[d]),h||j[d]!==i[0][d]&&(h=j);if(this._beziers="cubic"!==b.type&&"quadratic"!==b.type&&"soft"!==b.type?l(i,isNaN(b.curviness)?1:b.curviness,!1,"thruBasic"===b.type,b.correlate,h):m(i,b.type,j),this._segCount=this._beziers[d].length,this._timeRes){var p=o(this._beziers,this._timeRes);this._length=p.length,this._lengths=p.lengths,this._segments=p.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(n=this._autoRotate)for(this._initialRotations=[],n[0]instanceof Array||(this._autoRotate=n=[n]),f=n.length;--f>-1;){for(g=0;3>g;g++)d=n[f][g],this._func[d]="function"==typeof a[d]?a[d.indexOf("set")||"function"!=typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1;d=n[f][2],this._initialRotations[f]=(this._func[d]?this._func[d].call(this._target):this._target[d])||0,this._overwriteProps.push(d)}return this._startRatio=c.vars.runBackwards?1:0,!0},set:function(b){var c,d,e,f,g,h,i,j,k,l,m=this._segCount,n=this._func,o=this._target,p=b!==this._startRatio;if(this._timeRes){if(k=this._lengths,l=this._curSeg,b*=this._length,e=this._li,b>this._l2&&m-1>e){for(j=m-1;j>e&&(this._l2=k[++e])<=b;);this._l1=k[e-1],this._li=e,this._curSeg=l=this._segments[e],this._s2=l[this._s1=this._si=0]}else if(b<this._l1&&e>0){for(;e>0&&(this._l1=k[--e])>=b;);0===e&&b<this._l1?this._l1=0:e++,this._l2=k[e],this._li=e,this._curSeg=l=this._segments[e],this._s1=l[(this._si=l.length-1)-1]||0,this._s2=l[this._si]}if(c=e,b-=this._l1,e=this._si,b>this._s2&&e<l.length-1){for(j=l.length-1;j>e&&(this._s2=l[++e])<=b;);this._s1=l[e-1],this._si=e}else if(b<this._s1&&e>0){for(;e>0&&(this._s1=l[--e])>=b;);0===e&&b<this._s1?this._s1=0:e++,this._s2=l[e],this._si=e}h=(e+(b-this._s1)/(this._s2-this._s1))*this._prec||0}else c=0>b?0:b>=1?m-1:m*b>>0,h=(b-c*(1/m))*m;for(d=1-h,e=this._props.length;--e>-1;)f=this._props[e],g=this._beziers[f][c],i=(h*h*g.da+3*d*(h*g.ca+d*g.ba))*h+g.a,this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i;if(this._autoRotate){var q,r,s,t,u,v,w,x=this._autoRotate;for(e=x.length;--e>-1;)f=x[e][2],v=x[e][3]||0,w=x[e][4]===!0?1:a,g=this._beziers[x[e][0]],q=this._beziers[x[e][1]],g&&q&&(g=g[c],q=q[c],r=g.a+(g.b-g.a)*h,t=g.b+(g.c-g.b)*h,r+=(t-r)*h,t+=(g.c+(g.d-g.c)*h-t)*h,s=q.a+(q.b-q.a)*h,u=q.b+(q.c-q.b)*h,s+=(u-s)*h,u+=(q.c+(q.d-q.c)*h-u)*h,i=p?Math.atan2(u-s,t-r)*w+v:this._initialRotations[e],this._mod[f]&&(i=this._mod[f](i,o)),n[f]?o[f](i):o[f]=i)}}}),q=p.prototype;p.bezierThrough=l,p.cubicToQuadratic=i,p._autoCSS=!0,p.quadraticToCubic=function(a,b,c){return new g(a,(2*b+a)/3,(2*b+c)/3,c)},p._cssRegister=function(){var a=f.CSSPlugin;if(a){var b=a._internals,c=b._parseToProxy,d=b._setPluginRatio,e=b.CSSPropTween;b._registerComplexSpecialProp("bezier",{parser:function(a,b,f,g,h,i){b instanceof Array&&(b={values:b}),i=new p;var j,k,l,m=b.values,n=m.length-1,o=[],q={};if(0>n)return h;for(j=0;n>=j;j++)l=c(a,m[j],g,h,i,n!==j),o[j]=l.end;for(k in b)q[k]=b[k];return q.values=o,h=new e(a,"bezier",0,0,l.pt,2),h.data=l,h.plugin=i,h.setRatio=d,0===q.autoRotate&&(q.autoRotate=!0),!q.autoRotate||q.autoRotate instanceof Array||(j=q.autoRotate===!0?0:Number(q.autoRotate),q.autoRotate=null!=l.end.left?[["left","top","rotation",j,!1]]:null!=l.end.x?[["x","y","rotation",j,!1]]:!1),q.autoRotate&&(g._transform||g._enableTransforms(!1),l.autoRotate=g._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,g._overwriteProps.push("rotation")),i._onInitTween(l.proxy,q,g._tween),h}})}},q._mod=function(a){for(var b,c=this._overwriteProps,d=c.length;--d>-1;)b=a[c[d]],b&&"function"==typeof b&&(this._mod[c[d]]=b)},q._kill=function(a){var b,c,d=this._props;for(b in this._beziers)if(b in a)for(delete this._beziers[b],delete this._func[b],c=d.length;--c>-1;)d[c]===b&&d.splice(c,1);if(d=this._autoRotate)for(c=d.length;--c>-1;)a[d[c][2]]&&d.splice(c,1);return this._super._kill.call(this,a)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.0",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N=document,O=function(a){return N.createElementNS?N.createElementNS("http://www.w3.org/1999/xhtml",a):N.createElement(a)},P=O("div"),Q=O("img"),R=g._internals={_specialProps:i},S=navigator.userAgent,T=function(){var a=S.indexOf("Android"),b=O("a");return m=-1!==S.indexOf("Safari")&&-1===S.indexOf("Chrome")&&(-1===a||Number(S.substr(a+8,1))>3),o=m&&Number(S.substr(S.indexOf("Version/")+8,1))<6,n=-1!==S.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(S)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(S))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),U=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},V=function(a){window.console&&console.log(a)},W="",X="",Y=function(a,b){b=b||P;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(X=3===d?"ms":c[d],W="-"+X.toLowerCase()+"-",X+a):null},Z=N.defaultView?N.defaultView.getComputedStyle:function(){},$=g.getStyle=function(a,b,c,d,e){var f;return T||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||Z(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):U(a)},_=R.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=P.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+$(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||N.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(P),h=parseFloat(P[k?"offsetWidth":"offsetHeight"]),l.removeChild(P),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=_(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},aa=R.calculateOffset=function(a,b,c){if("absolute"!==$(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=$(a,"margin"+d,c);return a["offset"+d]-(_(a,b,parseFloat(e),e.replace(w,""))||0)},ba=function(a,b){var c,d,e,f={};if(b=b||Z(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Ca===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ba===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return T||(f.opacity=U(a)),d=Pa(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Ea&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},ca=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:aa(a,g),void 0!==j[g]&&(h=new ra(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},da={width:["Left","Right"],height:["Top","Bottom"]},ea=["marginLeft","marginRight","marginTop","marginBottom"],fa=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||Z(a))[b]||0;if(a.getBBox&&Ma(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=da[b],f=e.length;for(c=c||Z(a,null);--f>-1;)d-=parseFloat($(a,"padding"+e[f],c,!0))||0,d-=parseFloat($(a,"border"+e[f]+"Width",c,!0))||0;return d},ga=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c<d.length;c++)a.push(ga(d[c]));return a.join(",")}return null==f?f="center"===e?"50%":"0":"center"===f&&(f="50%"),("center"===e||isNaN(parseFloat(e))&&-1===(e+"").indexOf("="))&&(e="50%"),a=e+" "+f+(d.length>2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ha=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ja=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},ka={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},la=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},ma=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),ka[a])c=ka[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=la(g+1/3,d,e),c[1]=la(g,d,e),c[2]=la(g-1/3,d,e);else c=a.match(s)||ka.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=ka.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},na=function(a,b){var c,d,e,f=a.match(oa)||[],g=0,h=f.length?"":a;for(c=0;c<f.length;c++)d=f[c],e=a.substr(g,a.indexOf(d,g)-g),g+=e.length+d.length,d=ma(d,b),3===d.length&&d.push(1),h+=e+(b?"hsla("+d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:"rgba("+d.join(","))+")";return h+a.substr(g)},oa="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(j in ka)oa+="|"+j+"\\b";oa=new RegExp(oa+")","gi"),g.colorStringFilter=function(a){var b,c=a[0]+a[1];oa.test(c)&&(b=-1!==c.indexOf("hsl(")||-1!==c.indexOf("hsla("),a[0]=na(a[0],b),a[1]=na(a[1],b)),oa.lastIndex=0},b.defaultStringFilter||(b.defaultStringFilter=g.colorStringFilter);var pa=function(a,b,c,d){if(null==a)return function(a){return a};var e,f=b?(a.match(oa)||[""])[0]:"",g=a.split(f).join("").match(u)||[],h=a.substr(0,a.indexOf(g[0])),i=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=g.length,l=k>0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;n<o.length;n++)o[n]=e(o[n]);return o.join(",")}if(b=(a.match(oa)||[f])[0],m=a.split(b).join("").match(u)||[],n=m.length,k>n--)for(;++n<k;)m[n]=c?m[(n-1)/2|0]:g[n];return h+m.join(j)+j+b+i+(-1!==a.indexOf("inset")?" inset":"")}:function(a){var b,f,m;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(f=a.replace(I,"|").split("|"),m=0;m<f.length;m++)f[m]=e(f[m]);return f.join(",")}if(b=a.match(u)||[],m=b.length,k>m--)for(;++m<k;)b[m]=c?b[(m-1)/2|0]:g[m];return h+b.join(j)+i}:function(a){return a}},qa=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var i,j=(c+"").split(" ");for(h={},i=0;4>i;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},ra=(R._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d<c.l;d++)e+=c["xn"+d]+c["xs"+(d+1)];c[f]=e}}else c[f]=c.s+c.xs0;i=i._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),sa=(R._parseToProxy=function(a,b,c,d,e,f){var g,h,i,j,k,l=d,m={},n={},o=c._transform,p=M;for(c._transform=null,M=b,d=k=c.parse(a,b,d,e),M=p,f&&(c._transform=o,l&&(l._prev=null,l._prev&&(l._prev._next=null)));d&&d!==l;){if(d.type<=1&&(h=d.p,n[h]=d.s+d.c,m[h]=d.s,f||(j=new ra(d,"s",h,j,d.r),d.c=0),1===d.type))for(g=d.l;--g>0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new ra(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},R.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof sa||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ta=function(a,b,c,d,e,f){var g=new sa(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},ua=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new sa(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&oa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,oa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ha(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&oa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&T,p=ma(p,C),u=ma(u,C),y=p.length+u.length>6,y&&!T&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(T||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ha(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ha(u[1],p[1]),"%,",!1).appendXtra("",p[2],ha(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),oa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n<v.length;n++)A=v[n],z=p.indexOf(A,o),h.appendXtra(p.substr(o,z-o),Number(A),ha(w[n],A),"",G&&"px"===p.substr(z+A.length,2),0===n),o=z+A.length;h["xs"+h.l]+=p.substr(o)}else h["xs"+h.l]+=h.l||h["xs"+h.l]?" "+u:u;if(-1!==d.indexOf("=")&&h.data){for(B=h.xs0+h.data.s,m=1;m<h.l;m++)B+=h["xs"+m]+h.data["xn"+m];h.e=B+h["xs"+m]}return h.l||(h.type=-1,h.xs0=h.e),h.xfirst||h},va=9;for(j=sa.prototype,j.l=j.pr=0;--va>0;)j["xn"+va]=0,j["xs"+va]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new sa(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var wa=function(a,b){b=b||{},this.p=b.prefix?Y(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||pa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},xa=R._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;d<f.length;d++)b.prefix=0===d&&b.prefix,b.defaultValue=c[d]||g,e=new wa(f[d],b)},ya=R._registerPluginProp=function(a){if(!i[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";xa(a,{parser:function(a,c,d,e,f,g,j){var k=h.com.greensock.plugins[b];return k?(k._cssRegister(),i[d].parse(a,c,d,e,f,g,j)):(V("Error: "+b+" js file not loaded."),f)}})}};j=wa.prototype,j.parseComplex=function(a,b,c,d,e,f){var g,h,i,j,k,l,m=this.keyword;if(this.multi&&(I.test(c)||I.test(b)?(h=b.replace(I,"|").split("|"),i=c.replace(I,"|").split("|")):m&&(h=[b],i=[c])),i){for(j=i.length>h.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return ua(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format($(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){xa(a,{parser:function(a,d,e,f,g,h,i){var j=new sa(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=m||n;var za,Aa="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ba=Y("transform"),Ca=W+"transform",Da=Y("transformOrigin"),Ea=null!==Y("perspective"),Fa=R.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Ea?g.defaultForce3D||"auto":!1},Ga=window.SVGElement,Ha=function(a,b,c){var d,e=N.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ia=N.documentElement,Ja=function(){var a,b,c,d=p||/Android/i.test(S)&&!window.chrome;return N.createElementNS&&!d&&(a=Ha("svg",Ia),b=Ha("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Da]="50% 50%",b.style[Ba]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Ea),Ia.removeChild(a)),d}(),Ka=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Oa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),b=ga(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Na&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},La=function(a){try{return a.getBBox()}catch(a){}},Ma=function(a){return!!(Ga&&a.getBBox&&a.getCTM&&La(a)&&(!a.parentNode||a.parentNode.getBBox&&a.parentNode.getCTM))},Na=[1,0,0,1,0,0],Oa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Fa,j=1e5,k=a.style;if(Ba?d=$(a,Ca,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ba&&((h="none"===Z(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ia.appendChild(a)),d=$(a,Ca,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Ta(k,"display"),g&&Ia.removeChild(a)),(i.svg||a.getBBox&&Ma(a))&&(c&&-1!==(k[Ba]+"").indexOf("matrix")&&(d=k[Ba],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Na;for(e=(d||"").match(s)||[],va=e.length;--va>-1;)f=Number(e[va]),e[va]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Pa=R.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Fa:new Fa,n=m.scaleX<0,o=2e-5,p=1e5,q=Ea?parseFloat($(a,Da,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getBBox||!Ma(a)),m.svg&&(Ka(a,$(a,Da,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),za=g.useSVGTransformAttr||Ja),f=Oa(a),f!==Na){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Ea||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Ea&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]<o&&m[h]>-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(za&&a.style[Ba]?b.delayedCall(.001,function(){Ta(a.style,Ba)}):!za&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Qa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),va=0;4>va;va++)z=ea[va],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):_(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>va?-d.ieOffsetX:-d.ieOffsetY:2>va?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===va||2===va?1:B)))+"px"}}},Ra=R.set3DTransformRatio=R.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D;if(((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||za&&L||!Ea)return void(B||z.skewX||L?(B*=K,x=z.skewX*K,y=1e5,b=Math.cos(B)*E,e=Math.sin(B)*E,c=Math.sin(B-x)*-F,f=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(s=Math.tan(x-z.skewY*K),s=Math.sqrt(1+s*s),c*=s,f*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s)),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset,za&&(z.xPercent||z.yPercent)&&(p=this.t.getBBox(),H+=.01*z.xPercent*p.width,I+=.01*z.yPercent*p.height),p=1e-6,p>H&&H>-p&&(H=0),p>I&&I>-p&&(I=0)),u=(b*y|0)/y+","+(e*y|0)/y+","+(c*y|0)/y+","+(f*y|0)/y+","+H+","+I+")",L&&za?this.t.setAttribute("transform","matrix("+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(p=1e-4,p>E&&E>-p&&(E=G=2e-5),p>F&&F>-p&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||z.skewX)B*=K,q=b=Math.cos(B),r=e=Math.sin(B),z.skewX&&(B-=z.skewX*K,q=Math.cos(B),r=Math.sin(B),"simple"===z.skewType&&(s=Math.tan((z.skewX-z.skewY)*K),s=Math.sqrt(1+s*s),q*=s,r*=s,z.skewY&&(s=Math.tan(z.skewY*K),s=Math.sqrt(1+s*s),b*=s,e*=s))),c=-r,f=q;else{if(!(D||C||1!==G||M||L))return void(A[Ba]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));b=f=1,c=e=0}j=1,d=g=h=i=k=l=0,m=M?-1/M:0,o=z.zOrigin,p=1e-6,v=",",w="0",B=D*K,B&&(q=Math.cos(B),r=Math.sin(B),h=-r,k=m*-r,d=b*r,g=e*r,j=q,m*=q,b*=q,e*=q),B=C*K,B&&(q=Math.cos(B),r=Math.sin(B),s=c*q+d*r,t=f*q+g*r,i=j*r,l=m*r,d=c*-r+d*q,g=f*-r+g*q,j*=q,m*=q,c=s,f=t),1!==G&&(d*=G,g*=G,j*=G,m*=G),1!==F&&(c*=F,f*=F,i*=F,l*=F),1!==E&&(b*=E,e*=E,h*=E,k*=E),(o||L)&&(o&&(H+=d*-o,I+=g*-o,J+=j*-o+o),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,I+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset),p>H&&H>-p&&(H=w),p>I&&I>-p&&(I=w),p>J&&J>-p&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(p>b&&b>-p?w:b)+v+(p>e&&e>-p?w:e)+v+(p>h&&h>-p?w:h),u+=v+(p>k&&k>-p?w:k)+v+(p>c&&c>-p?w:c)+v+(p>f&&f>-p?w:f),C||D||1!==G?(u+=v+(p>i&&i>-p?w:i)+v+(p>l&&l>-p?w:l)+v+(p>d&&d>-p?w:d),u+=v+(p>g&&g>-p?w:g)+v+(p>j&&j>-p?w:j)+v+(p>m&&m>-p?w:m)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ba]=u};j=Fa.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,xa("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j;"function"==typeof i[c]&&(j=i[c],i[c]=b);var k,l,m,n,o,p,s,t,u,v=a._gsTransform,w=a.style,x=1e-6,y=Aa.length,z=i,A={},B="transformOrigin",C=Pa(a,e,!0,z.parseTransform),D=z.transform&&("function"==typeof z.transform?z.transform(r,q):z.transform);if(d._transform=C,D&&"string"==typeof D&&Ba)l=P.style,l[Ba]=D,l.display="block",l.position="absolute",N.body.appendChild(P),k=Pa(P,null,!1),C.svg&&(p=C.xOrigin,s=C.yOrigin,k.x-=C.xOffset,k.y-=C.yOffset,(z.transformOrigin||z.svgOrigin)&&(D={},Ka(a,ga(z.transformOrigin),D,z.svgOrigin,z.smoothOrigin,!0),p=D.xOrigin,s=D.yOrigin,k.x-=D.xOffset-C.xOffset,k.y-=D.yOffset-C.yOffset),(p||s)&&(t=Oa(P,!0),k.x-=p-(p*t[0]+s*t[2]),k.y-=s-(p*t[1]+s*t[3]))),N.body.removeChild(P),k.perspective||(k.perspective=C.perspective),null!=z.xPercent&&(k.xPercent=ia(z.xPercent,C.xPercent)),null!=z.yPercent&&(k.yPercent=ia(z.yPercent,C.yPercent));else if("object"==typeof z){if(k={scaleX:ia(null!=z.scaleX?z.scaleX:z.scale,C.scaleX),scaleY:ia(null!=z.scaleY?z.scaleY:z.scale,C.scaleY),scaleZ:ia(z.scaleZ,C.scaleZ),x:ia(z.x,C.x),y:ia(z.y,C.y),z:ia(z.z,C.z),xPercent:ia(z.xPercent,C.xPercent),yPercent:ia(z.yPercent,C.yPercent),perspective:ia(z.transformPerspective,C.perspective)},o=z.directionalRotation,null!=o)if("object"==typeof o)for(l in o)z[l]=o[l];else z.rotation=o;"string"==typeof z.x&&-1!==z.x.indexOf("%")&&(k.x=0,k.xPercent=ia(z.x,C.xPercent)),"string"==typeof z.y&&-1!==z.y.indexOf("%")&&(k.y=0,k.yPercent=ia(z.y,C.yPercent)),k.rotation=ja("rotation"in z?z.rotation:"shortRotation"in z?z.shortRotation+"_short":"rotationZ"in z?z.rotationZ:C.rotation-C.skewY,C.rotation-C.skewY,"rotation",A),Ea&&(k.rotationX=ja("rotationX"in z?z.rotationX:"shortRotationX"in z?z.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",A),k.rotationY=ja("rotationY"in z?z.rotationY:"shortRotationY"in z?z.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",A)),k.skewX=ja(z.skewX,C.skewX-C.skewY),(k.skewY=ja(z.skewY,C.skewY))&&(k.skewX+=k.skewY,k.rotation+=k.skewY)}for(Ea&&null!=z.force3D&&(C.force3D=z.force3D,n=!0),C.skewType=z.skewType||C.skewType||g.defaultSkewType,m=C.force3D||C.z||C.rotationX||C.rotationY||k.z||k.rotationX||k.rotationY||k.perspective,m||null==z.scale||(k.scaleZ=1);--y>-1;)u=Aa[y],D=k[u]-C[u],(D>x||-x>D||null!=z[u]||null!=M[u])&&(n=!0,
539f=new sa(C,u,C[u],D,f),u in A&&(f.e=A[u]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return D=z.transformOrigin,C.svg&&(D||z.svgOrigin)&&(p=C.xOffset,s=C.yOffset,Ka(a,ga(D),k,z.svgOrigin,z.smoothOrigin),f=ta(C,"xOrigin",(v?C:k).xOrigin,k.xOrigin,f,B),f=ta(C,"yOrigin",(v?C:k).yOrigin,k.yOrigin,f,B),(p!==C.xOffset||s!==C.yOffset)&&(f=ta(C,"xOffset",v?p:C.xOffset,C.xOffset,f,B),f=ta(C,"yOffset",v?s:C.yOffset,C.yOffset,f,B)),D=za?null:"0px 0px"),(D||Ea&&m&&C.zOrigin)&&(Ba?(n=!0,u=Da,D=(D||$(a,u,e,!1,"50% 50%"))+"",f=new sa(w,u,0,0,f,-1,B),f.b=w[u],f.plugin=h,Ea?(l=C.zOrigin,D=D.split(" "),C.zOrigin=(D.length>2&&(0===l||"0px"!==D[2])?parseFloat(D[2]):l)||0,f.xs0=f.e=D[0]+" "+(D[1]||"50%")+" 0px",f=new sa(C,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=C.zOrigin):f.xs0=f.e=D):ga(D+"",C)),n&&(d._transformType=C.svg&&za||!m&&3!==this._transformType?2:3),j&&(i[c]=j),f},prefix:!0}),xa("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),xa("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;j<y.length;j++)this.p.indexOf("border")&&(y[j]=Y(y[j])),m=l=$(a,y[j],e,!1,"0px"),-1!==m.indexOf(" ")&&(l=m.split(" "),m=l[0],l=l[1]),n=k=i[j],o=parseFloat(m),t=m.substr((o+"").length),u="="===n.charAt(1),u?(p=parseInt(n.charAt(0)+"1",10),n=n.substr(2),p*=parseFloat(n),s=n.substr((p+"").length-(0>p?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=_(a,"borderLeft",o,t),w=_(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=_(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=ua(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:pa("0px 0px 0px 0px",!1,!0)}),xa("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return ua(a.style,c,this.format($(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:pa("0px 0px",!1,!0)}),xa("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||Z(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=$(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),Q.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-Q.width:a.offsetHeight-Q.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ga}),xa("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ga(-1===a.indexOf(" ")?a+" "+a:a)}}),xa("perspective",{defaultValue:"0px",prefix:!0}),xa("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xa("transformStyle",{prefix:!0}),xa("backfaceVisibility",{prefix:!0}),xa("userSelect",{prefix:!0}),xa("margin",{parser:qa("marginTop,marginRight,marginBottom,marginLeft")}),xa("padding",{parser:qa("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xa("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",b=this.format(b).split(",").join(j)):(h=this.format($(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),xa("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xa("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),xa("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=$(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/_(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+$(a,"borderTopStyle",e,!1,"solid")+" "+$(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(oa)||["#000"])[0]}}),xa("borderWidth",{parser:qa("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xa("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new sa(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Sa=function(a){var b,c=this.t,d=c.filter||$(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!$(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};xa("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat($(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===$(a,"visibility",e)&&0!==b&&(h=0),T?f=new sa(i,"opacity",h,b-h,f):(f=new sa(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Sa),j&&(f=new sa(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Ta=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Ua=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Ta(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};xa("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new sa(a,d,0,0,g,2),g.setRatio=Ua,g.pr=-11,c=!0,g.b=o,k=ba(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=ca(a,k,ba(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Va=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Da:i[c].p),Ta(g,c);e&&(Ta(g,Ba),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(xa("clearProps",{parser:function(a,b,d,e,f){return f=new sa(a,d,0,0,f,2),f.setRatio=Va,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),va=j.length;va--;)ya(j[va]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=Z(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=$(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ba(a,e),A.cssText=t+";"+b,n=ca(a,n,ba(a)).difs,!T&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ba?m&&(l=!0,""===A.zIndex&&(w=$(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new sa(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ba?Ra:Qa,x.data=this._transform||Pa(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=$(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=ma(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=ua(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=ua(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=fa(a,g,e),o="px"):"left"===g||"top"===g?(j=aa(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=_(a,g,j,o),"%"===p?(j/=_(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=_(a,g,1,p):"px"!==p&&(l=_(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new sa(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):V("invalid "+g+" tween value: "+b[g]):(c=new sa(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next;else for(;e;){if(2!==e.type)if(e.r&&-1!==e.type)if(b=Math.round(e.s+e.c),e.type){if(1===e.type){for(d=e.l,c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}}else e.t[e.p]=b+e.xs0;else e.t[e.p]=e.e;else e.setRatio(a);e=e._next}},j._enableTransforms=function(a){this._transform=this._transform||Pa(this._target,e,!0),this._transformType=this._transform.svg&&za||!a&&3!==this._transformType?2:3};var Wa=function(a){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};j._addLazySet=function(a,b,c){var d=this._firstPT=new sa(a,b,0,0,this._firstPT,2);d.e=c,d.setRatio=Wa,d.data=this},j._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next,d=!0),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._next=b,a._prev=c),a},j._mod=function(a){for(var b=this._firstPT;b;)"function"==typeof a[b.p]&&a[b.p]===Math.round&&(b.r=1),b=b._next},j._kill=function(b){var c,d,e,f=b;if(b.autoAlpha||b.alpha){f={};for(d in b)f[d]=b[d];f.opacity=1,f.autoAlpha&&(f.visibility=1)}for(b.className&&(c=this._classNamePT)&&(e=c.xfirst,e&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=c._next),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._classNamePT=null),c=this._firstPT;c;)c.plugin&&c.plugin!==d&&c.plugin._kill&&(c.plugin._kill(b),d=c.plugin),c=c._next;return a.prototype._kill.call(this,f)};var Xa=function(a,b,c){var d,e,f,g;if(a.slice)for(e=a.length;--e>-1;)Xa(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ba(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Xa(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Xa(a,k,m),i.render(c,!0,!0),Xa(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=ca(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0),function(){var a=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(a,b,c){return this._tween=c,!0}}),b=function(a){for(;a;)a.f||a.blob||(a.m=Math.round),a=a._next},c=a.prototype;c._onInitAllProps=function(){for(var a,c,d,e=this._tween,f=e.vars.roundProps.join?e.vars.roundProps:e.vars.roundProps.split(","),g=f.length,h={},i=e._propLookup.roundProps;--g>-1;)h[f[g]]=Math.round;for(g=f.length;--g>-1;)for(a=f[g],c=e._firstPT;c;)d=c._next,c.pg?c.t._mod(h):c.n===a&&(2===c.f&&c.t?b(c.t._firstPT):(this._add(c.t,a,c.s,c.c),d&&(d._prev=c._prev),c._prev?c._prev._next=d:e._firstPT===c&&(e._firstPT=d),c._next=c._prev=null,e._propLookup[a]=i)),c=d;return!1},c._add=function(a,b,c,d){this._addTween(a,b,c,c+d,b,Math.round),this._overwriteProps.push(b)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.0",init:function(a,b,c,d){var e,f;if("function"!=typeof a.setAttribute)return!1;for(e in b)f=b[e],"function"==typeof f&&(f=f(d,a)),this._addTween(a,"setAttribute",a.getAttribute(e)+"",f+"",e,!1,e),this._overwriteProps.push(e);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.0",API:2,init:function(a,b,c,d){"object"!=typeof b&&(b={rotation:b}),this.finals={};var e,f,g,h,i,j,k=b.useRadians===!0?2*Math.PI:360,l=1e-6;for(e in b)"useRadians"!==e&&(h=b[e],"function"==typeof h&&(h=h(d,a)),j=(h+"").split("_"),f=j[0],g=parseFloat("function"!=typeof a[e]?a[e]:a[e.indexOf("set")||"function"!=typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)]()),h=this.finals[e]="string"==typeof f&&"="===f.charAt(1)?g+parseInt(f.charAt(0)+"1",10)*Number(f.substr(2)):Number(f)||0,i=h-g,j.length&&(f=j.join("_"),-1!==f.indexOf("short")&&(i%=k,i!==i%(k/2)&&(i=0>i?i+k:i-k)),-1!==f.indexOf("_cw")&&0>i?i=(i+9999999999*k)%k-(i/k|0)*k:-1!==f.indexOf("ccw")&&i>0&&(i=(i-9999999999*k)%k-(i/k|0)*k)),(i>l||-l>i)&&(this._addTween(a,e,g,g+i,e),this._overwriteProps.push(e)));return!0},set:function(a){var b;if(1!==a)this._super.setRatio.call(this,a);else for(b=this._firstPT;b;)b.f?b.t[b.p](this.finals[b.p]):b.t[b.p]=this.finals[b.p],b=b._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>
vendor: 26,610 bytes, lines 539-540
539a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a,b){"use strict";var c={},d=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!d.TweenLite){var e,f,g,h,i,j=function(a){var b,c=a.split("."),e=d;for(b=0;b<c.length;b++)e[c[b]]=e=e[c[b]]||{};return e},k=j("com.greensock"),l=1e-10,m=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},n=function(){},o=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),p={},q=function(e,f,g,h){this.sc=p[e]?p[e].sc:[],p[e]=this,this.gsClass=null,this.func=g;var i=[];this.check=function(k){for(var l,m,n,o,r,s=f.length,t=s;--s>-1;)(l=p[f[s]]||new q(f[s],[])).gsClass?(i[s]=l.gsClass,t--):k&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+e).split("."),n=m.pop(),o=j(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(d[n]=c[n]=o,r="undefined"!=typeof module&&module.exports,!r&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return o});else if(r)if(e===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},r=a._gsDefine=function(a,b,c,d){return new q(a,b,c,d)},s=k._class=function(a,b,c){return b=b||function(){},r(a,[],function(){return b},c),b};r.globals=d;var t=[0,0,1,1],u=s("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?t.concat(b):t},!0),v=u.map={},w=u.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(","),j=i.length,l=(c||"easeIn,easeOut,easeInOut").split(",");--j>-1;)for(f=i[j],e=d?s("easing."+f,null,!0):k.easing[f]||{},g=l.length;--g>-1;)h=l[g],v[f+"."+h]=v[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(g=u.prototype,g._calcEnd=!1,g.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=e.length;--f>-1;)g=e[f]+",Power"+f,w(new u(null,null,1,f),g,"easeOut",!0),w(new u(null,null,2,f),g,"easeIn"+(0===f?",easeNone":"")),w(new u(null,null,3,f),g,"easeInOut");v.linear=k.easing.Linear.easeIn,v.swing=k.easing.Quad.easeInOut;var x=s("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});g=x.prototype,g.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,j=this._listeners[a],k=0;for(this!==h||i||h.wake(),null==j&&(this._listeners[a]=j=[]),g=j.length;--g>-1;)f=j[g],f.c===b&&f.s===c?j.splice(g,1):0===k&&f.pr<e&&(k=g+1);j.splice(k,0,{c:b,s:c,up:d,pr:e})},g.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;--c>-1;)if(d[c].c===b)return void d.splice(c,1)},g.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var y=a.requestAnimationFrame,z=a.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},B=A();for(e=["ms","moz","webkit","o"],f=e.length;--f>-1&&!y;)y=a[e[f]+"RequestAnimationFrame"],z=a[e[f]+"CancelAnimationFrame"]||a[e[f]+"CancelRequestAnimationFrame"];s("Ticker",function(a,b){var c,d,e,f,g,j=this,k=A(),m=b!==!1&&y?"auto":!1,o=500,p=33,q="tick",r=function(a){var b,h,i=A()-B;i>o&&(k+=i-p),B+=i,j.time=(B-k)/1e3,b=j.time-g,(!c||b>0||a===!0)&&(j.frame++,g+=b+(b>=f?.004:f-b),h=!0),a!==!0&&(e=d(r)),h&&j.dispatchEvent(q)};x.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagSmoothing=function(a,b){o=a||1/l,p=Math.min(b,o,0)},j.sleep=function(){null!=e&&(m&&z?z(e):clearTimeout(e),d=n,e=null,j===h&&(i=!1))},j.wake=function(a){null!==e?j.sleep():a?k+=-B+(B=A()):j.frame>10&&(B=A()-o+5),d=0===c?n:m&&y?y:function(a){return setTimeout(a,1e3*(g-j.time)+1|0)},j===h&&(i=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),g=this.time+f,void j.wake()):c},j.useRAF=function(a){return arguments.length?(j.sleep(),m=a,void j.fps(c)):m},j.fps(a),setTimeout(function(){"auto"===m&&j.frame<5&&"hidden"!==document.visibilityState&&j.useRAF(!1)},1500)}),g=k.Ticker.prototype=new k.events.EventDispatcher,g.constructor=k.Ticker;var C=s("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,V){i||h.wake();var c=this.vars.useFrames?U:V;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});h=C.ticker=new k.Ticker,g=C.prototype,g._dirty=g._gc=g._initted=g._paused=!1,g._totalTime=g._time=0,g._rawPrevTime=-1,g._next=g._last=g._onUpdate=g._timeline=g.timeline=null,g._paused=!1;var D=function(){i&&A()-B>2e3&&h.wake(),setTimeout(D,2e3)};D(),g.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},g.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},g.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},g.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},g.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},g.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},g.render=function(a,b,c){},g.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},g.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&a<c+this.totalDuration()/this._timeScale},g._enabled=function(a,b){return i||h.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},g._kill=function(a,b){return this._enabled(!1,!1)},g.kill=function(a,b){return this._kill(a,b),this},g._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},g._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();--b>-1;)"{self}"===a[b]&&(c[b]=this);return c},g._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},g.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=o(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},g.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},g.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},g.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},g.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},g.totalTime=function(a,b,c){if(i||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(I.length&&X(),this.render(a,b,!1),I.length&&X())}return this},g.progress=g.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},g.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},g.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},g.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||l,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},g.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},g.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(i||a||h.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var E=s("core.SimpleTimeline",function(a){C.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});g=E.prototype=new C,g.constructor=E,g.kill()._gc=!1,g._first=g._last=g._recent=null,g._sortChildren=!1,g.add=g.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},g._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},g.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},g.rawTime=function(){return i||h.wake(),this._totalTime};var F=s("TweenLite",function(b,c,d){if(C.call(this,c,d),this.render=F.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:F.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?T[F.defaultOverwrite]:"number"==typeof i?i>>0:T[i],(h||b instanceof Array||b.push&&o(b))&&"number"!=typeof b[0])for(this._targets=g=m(b),this._propLookup=[],this._siblings=[],e=0;e<g.length;e++)f=g[e],f?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(m(f))):(this._siblings[e]=Y(f,this,!1),1===i&&this._siblings[e].length>1&&$(f,this,null,1,this._siblings[e])):(f=g[e--]=F.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Y(b,this,!1),1===i&&this._siblings.length>1&&$(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-l,this.render(Math.min(0,-this._delay)))},!0),G=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType);
540},H=function(a,b){var c,d={};for(c in a)S[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!P[c]||P[c]&&P[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};g=F.prototype=new C,g.constructor=F,g.kill()._gc=!1,g.ratio=0,g._firstPT=g._targets=g._overwrittenProps=g._startAt=null,g._notifyPluginsOfEnabled=g._lazy=!1,F.version="1.19.0",F.defaultEase=g._ease=new u(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(a,b){h.lagSmoothing(a,b)},F.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(F.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)};var I=[],J={},K=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},M=function(a,b,c,d){var e,f,g,h,i,j,k,l=[a,b],m=0,n="",o=0;for(l.start=a,c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(K)||[],f=b.match(K)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=L,l},N=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k,l="get"===c?a[b]:c,m=typeof a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:l,f:"function"===m,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-l||0};return"number"!==m&&("function"===m&&"get"===c&&(k=b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),o.s=l=g?a[k](g):a[k]()),"string"==typeof l&&(g||isNaN(l))?(o.fp=g,j=M(l,d,h||F.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):n||(o.s=parseFloat(l),o.c=parseFloat(d)-o.s||0)),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},O=F._internals={isArray:o,isSelector:G,lazyTweens:I,blobDif:M},P=F._plugins={},Q=O.tweenLookup={},R=0,S=O.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},T={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},U=C._rootFramesTimeline=new E,V=C._rootTimeline=new E,W=30,X=O.lazyRender=function(){var a,b=I.length;for(J={};--b>-1;)a=I[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);I.length=0};V._startTime=h.time,U._startTime=h.frame,V._active=U._active=!0,setTimeout(X,1),C._updateRoot=F.render=function(){var a,b,c;if(I.length&&X(),V.render((h.time-V._startTime)*V._timeScale,!1,!1),U.render((h.frame-U._startTime)*U._timeScale,!1,!1),I.length&&X(),h.frame>=W){W=h.frame+(parseInt(F.autoSleep,10)||120);for(c in Q){for(b=Q[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete Q[c]}if(c=V._first,(!c||c._paused)&&F.autoSleep&&!U._first&&1===h._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||h.sleep()}}},h.addEventListener("tick",C._updateRoot);var Y=function(a,b,c){var d,e,f=a._gsTweenID;if(Q[f||(a._gsTweenID=f="t"+R++)]||(Q[f]={target:a,tweens:[]}),b&&(d=Q[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return Q[f].tweens},Z=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=F.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},$=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+l,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||_(b,0,o),0===_(h,j,o)&&(m[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(m[n++]=h)));for(f=n;--f>-1;)if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!Z(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},_=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*l>f-b?l:(f+=a.totalDuration()/a._timeScale/e)>b+l?0:f-b-l};g._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=F.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)S[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=F.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof u?k:"function"==typeof k?new u(k,g.easeParams):v[k]||F.defaultEase:F.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&F._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},g._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;J[b._gsTweenID]&&X(),this.vars.css||b.style&&b!==a&&b.nodeType&&P.css&&this.vars.autoCSS!==!1&&H(this.vars,b);for(g in this.vars)if(l=this.vars[g],S[g])l&&(l instanceof Array||l.push&&o(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(P[g]&&(j=new P[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=N.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&$(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(J[b._gsTweenID]=!0),i)},g.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===l&&"isPause"!==this.data)&&j!==a&&(c=!0,j>l&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:l);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==l||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:l)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&k>=.5)&&(k=1-k),3===m&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===m?this.ratio=1-k:2===m?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,I.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===l&&g!==l&&(this._rawPrevTime=0))}},g._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:F.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((o(b)||G(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(F.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!Z(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},g.invalidate=function(){return this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-l,this.render(Math.min(0,-this._delay))),this},g._enabled=function(a,b){if(i||h.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Y(d[c],this,!0);else this._siblings=Y(this.target,this,!0)}return C.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?F._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},F.to=function(a,b,c){return new F(a,b,c)},F.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new F(a,b,c)},F.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new F(a,b,d)},F.delayedCall=function(a,b,c,d,e){return new F(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},F.set=function(a,b){return new F(a,0,b)},F.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:F.selector(a)||a;var c,d,e,f;if((o(a)||G(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;
540)d=d.concat(F.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Y(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},F.killTweensOf=F.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=F.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var aa=s("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=aa.prototype},!0);if(g=aa.prototype,aa.version="1.19.0",aa.API=2,g._firstPT=null,g._addTween=N,g.setRatio=L,g._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},g._mod=g._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},F._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},aa.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===aa.API&&(P[(new a[b])._propName]=a[b]);return!0},r.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=s("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){aa.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new aa(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,aa.activate([g]),g},e=a._gsQueue){for(f=0;f<e.length;f++)e[f]();for(g in p)p[g].func||a.console.log("GSAP encountered missing dependency: "+g)}i=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");
541
542//
543// stuck
544//
545
546(function() {
547  (function($) {
548    return $.fn.stuck = function(opts) {
549      var Stuck;
550      Stuck = (function() {
551        Stuck.prototype.elements = [];
552
553        Stuck.prototype.resizing = false;
554
555        function Stuck(w, opts) {
556          this.window = w;
557          this.body = $("body");
558          this.loadElements();
559          this.calculateTopOffset();
560          if (this.isIOS()) {
561            this.body.on({
562              touchmove: (function(_this) {
563                return function() {
564                  return _this.update();
565                };
566              })(this)
567            });
568          }
569          this.window.scroll(((function(_this) {
570            return function() {
571              return _this.update();
572            };
573          })(this)));
574          this.window.resize(((function(_this) {
575            return function() {
576              return _this.resize();
577            };
578          })(this)));
579          this.update();
580          this;
581        }
582
583        Stuck.prototype.isIOS = function() {
584          return this._isIOS || (this._isIOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent));
585        };
586
587        Stuck.prototype.resize = function() {
588          this.resizing = true;
589          this.calculateTopOffset();
590          this.update();
591        };
592
593        Stuck.prototype.loadElements = function() {
594          var classes, container, divs, i, name, node, release, spacer, top, x, y;
595          divs = $(".stuck");
596          i = divs.length;
597          y = 0;
598          while (i--) {
599            node = divs.eq(y);
600            y++;
601            release = false;
602            container = '';
603            classes = node.attr("class").split(/\s+/);
604            spacer = $("<div/>");
605            x = classes.length;
606            while (x--) {
607              name = classes[x];
608              if (name === "release") {
609                release = true;
610                container = node.closest(".release-container");
611              }
612              if (!(name === "stuck" || name === "release")) {
613                spacer.addClass(name);
614              }
615            }
616            spacer.height(node.outerHeight()).hide().css("background-color", "transparent").insertBefore(node);
617            top = node.offset().top - parseInt(node.css('margin-top'));
618            this.elements.push({
619              node: node,
620              spacer: spacer,
621              top: top,
622              top_offset: 0,
623              fixed: false,
624              release: release,
625              container: container,
626              contained: false
627            });
628          }
629        };
630
631        Stuck.prototype.calculateTopOffset = function() {
632          var collide_flag, collide_y, collision, el, elements, i, matrix, max_height, row_element, value, x, y, z;
633          matrix = [];
634          i = this.elements.length;
635          x = 0;
636          while (i--) {
637            el = this.elements[x];
638            x++;
639            y = matrix.length;
640            if (y === 0) {
641              if (!el.release) {
642                matrix.push([el]);
643              }
644            } else {
645              collide_flag = false;
646              while (y-- && !collide_flag) {
647                max_height = 0;
648                elements = matrix[y];
649                z = elements.length;
650                while (z--) {
651                  row_element = elements[z];
652                  collision = this.collide(row_element.node, el.node);
653                  if (collision) {
654                    value = row_element.top_offset + row_element.node.outerHeight(true);
655                    if (value > max_height) {
656                      max_height = value;
657                    }
658                    collide_flag = true;
659                    if (matrix[y + 1] != null) {
660                      collide_y = y + 1;
661                    } else {
662                      collide_y = -1;
663                    }
664                  } else {
665                    if (y === 0) {
666                      collide_y = 0;
667                    }
668                  }
669                }
670              }
671              if (collide_flag) {
672                el.top_offset = max_height;
673                if (!el.release) {
674                  if (collide_y >= 0) {
675                    matrix[collide_y].push(el);
676                  } else {
677                    matrix.push([el]);
678                  }
679                }
680              } else {
681                el.top_offset = 0;
682                if (!el.release) {
683                  matrix[0].push(el);
684                }
685              }
686            }
687          }
688        };
689
690        Stuck.prototype.collide = function(node1, node2) {
691          var n1l, n2l;
692          n1l = node1.offset().left;
693          n2l = node2.offset().left;
694          if (n1l === n2l) {
695            return true;
696          } else if (n1l < n2l) {
697            if (Math.floor(n1l) + node1.width() > Math.ceil(n2l)) {
698              return true;
699            } else {
700              return false;
701            }
702          } else {
703            if (Math.floor(n2l) + node2.width() > Math.ceil(n1l)) {
704              return true;
705            } else {
706              return false;
707            }
708          }
709        };
710
711        Stuck.prototype.update = function() {
712          var el, i, window_top;
713          window_top = this.window.scrollTop();
714          i = this.elements.length;
715          while (i--) {
716            el = this.elements[i];
717            if (this.resizing) {
718              if (el.fixed) {
719                el.top = el.spacer.offset().top - parseInt(el.spacer.css('margin-top'));
720              } else {
721                el.top = el.node.offset().top - parseInt(el.node.css('margin-top'));
722              }
723              if (el.fixed) {
724                el.node.css({
725                  top: el.top_offset,
726                  left: el.spacer.offset().left,
727                  width: el.spacer.outerWidth()
728                });
729              }
730              if (el.contained && window_top > (el.container.offset().top + el.container.height() - el.node.height() - el.top_offset)) {
731                el.node.css({
732                  position: "absolute",
733                  top: el.container.height() - el.node.height(),
734                  left: '',
735                  width: '',
736                  "z-index": ''
737                });
738              }
739            }
740            if (el.fixed && el.release && !el.contained && window_top > (el.container.offset().top + el.container.height() - el.node.height() - el.top_offset)) {
741              el.contained = true;
742              el.container.css("position", "relative");
743              el.node.css({
744                position: "absolute",
745                top: el.container.height() - el.node.height(),
746                left: '',
747                width: '',
748                "z-index": ''
749              });
750            }
751            if (el.contained && window_top < (el.container.offset().top + el.container.height() - el.node.height() - el.top_offset)) {
752              el.contained = false;
753              el.container.css("position", '');
754              el.node.css({
755                position: "fixed",
756                top: el.top_offset,
757                left: el.spacer.offset().left,
758                width: el.spacer.outerWidth(),
759                "z-index": 999
760              });
761            }
762            if (!el.fixed && window_top > el.top - el.top_offset) {
763              el.fixed = true;
764              el.spacer.show();
765              el.node.css({
766                position: "fixed",
767                top: el.top_offset,
768                left: el.spacer.offset().left,
769                width: el.spacer.outerWidth(),
770                "z-index": 999
771              });
772            }
773            if (el.fixed && window_top < el.top - el.top_offset) {
774              el.fixed = false;
775              el.spacer.hide();
776              el.node.css({
777                position: "relative",
778                top: '',
779                left: '',
780                width: '',
781                "z-index": ''
782              });
783            }
784          }
785          this.resizing = false;
786        };
787
788        Stuck.prototype.destroy = function() {
789          var i;
790          i = this.elements.length;
791          while (i--) {
792            this.elements[i].spacer.remove();
793          }
794          this.window.unbind('scroll');
795          this.window.unbind('resize');
796          this.window = this.elements = null;
797        };
798
799        return Stuck;
800
801      })();
802      return new Stuck(this, opts);
803    };
804  })(jQuery);
805
806}).call(this);
807
808
809//
810// jarallax js
811//
812
813/*!
814 * Name    : Just Another Parallax [Jarallax]
815 * Version : 1.12.3
816 * Author  : nK <https://nkdev.info>
817 * GitHub  : https://github.com/nk-o/jarallax
818 */
819/******/ (function(modules) { // webpackBootstrap
820/******/ 	// The module cache
821/******/ 	var installedModules = {};
822/******/
823/******/ 	// The require function
824/******/ 	function __webpack_require__(moduleId) {
825/******/
826/******/ 		// Check if module is in cache
827/******/ 		if(installedModules[moduleId]) {
828/******/ 			return installedModules[moduleId].exports;
829/******/ 		}
830/******/ 		// Create a new module (and put it into the cache)
831/******/ 		var module = installedModules[moduleId] = {
832/******/ 			i: moduleId,
833/******/ 			l: false,
834/******/ 			exports: {}
835/******/ 		};
836/******/
837/******/ 		// Execute the module function
838/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
839/******/
840/******/ 		// Flag the module as loaded
841/******/ 		module.l = true;
842/******/
843/******/ 		// Return the exports of the module
844/******/ 		return module.exports;
845/******/ 	}
846/******/
847/******/
848/******/ 	// expose the modules object (__webpack_modules__)
849/******/ 	__webpack_require__.m = modules;
850/******/
851/******/ 	// expose the module cache
852/******/ 	__webpack_require__.c = installedModules;
853/******/
854/******/ 	// define getter function for harmony exports
855/******/ 	__webpack_require__.d = function(exports, name, getter) {
856/******/ 		if(!__webpack_require__.o(exports, name)) {
857/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
858/******/ 		}
859/******/ 	};
860/******/
861/******/ 	// define __esModule on exports
862/******/ 	__webpack_require__.r = function(exports) {
863/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
864/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
865/******/ 		}
866/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
867/******/ 	};
868/******/
869/******/ 	// create a fake namespace object
870/******/ 	// mode & 1: value is a module id, require it
871/******/ 	// mode & 2: merge all properties of value into the ns
872/******/ 	// mode & 4: return value when already ns object
873/******/ 	// mode & 8|1: behave like require
874/******/ 	__webpack_require__.t = function(value, mode) {
875/******/ 		if(mode & 1) value = __webpack_require__(value);
876/******/ 		if(mode & 8) return value;
877/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
878/******/ 		var ns = Object.create(null);
879/******/ 		__webpack_require__.r(ns);
880/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
881/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
882/******/ 		return ns;
883/******/ 	};
884/******/
885/******/ 	// getDefaultExport function for compatibility with non-harmony modules
886/******/ 	__webpack_require__.n = function(module) {
887/******/ 		var getter = module && module.__esModule ?
888/******/ 			function getDefault() { return module['default']; } :
889/******/ 			function getModuleExports() { return module; };
890/******/ 		__webpack_require__.d(getter, 'a', getter);
891/******/ 		return getter;
892/******/ 	};
893/******/
894/******/ 	// Object.prototype.hasOwnProperty.call
895/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
896/******/
897/******/ 	// __webpack_public_path__
898/******/ 	__webpack_require__.p = "";
899/******/
900/******/
901/******/ 	// Load entry module and return exports
902/******/ 	return __webpack_require__(__webpack_require__.s = 10);
903/******/ })
904/************************************************************************/
905/******/ ([
906/* 0 */,
907/* 1 */,
908/* 2 */
909/***/ (function(module, exports) {
910
911module.exports = function (callback) {
912  if (document.readyState === 'complete' || document.readyState === 'interactive') {
913    // Already ready or interactive, execute callback
914    callback.call();
915  } else if (document.attachEvent) {
916    // Old browsers
917    document.attachEvent('onreadystatechange', function () {
918      if (document.readyState === 'interactive') callback.call();
919    });
920  } else if (document.addEventListener) {
921    // Modern browsers
922    document.addEventListener('DOMContentLoaded', callback);
923  }
924};
925
926/***/ }),
927/* 3 */
928/***/ (function(module, exports, __webpack_require__) {
929
930/* WEBPACK VAR INJECTION */(function(global) {var win;
931
932if (typeof window !== "undefined") {
933  win = window;
934} else if (typeof global !== "undefined") {
935  win = global;
936} else if (typeof self !== "undefined") {
937  win = self;
938} else {
939  win = {};
940}
941
942module.exports = win;
943/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(4)))
944
945/***/ }),
946/* 4 */
947/***/ (function(module, exports) {
948
949function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
950
951var g; // This works in non-strict mode
952
953g = function () {
954  return this;
955}();
956
957try {
958  // This works if eval is allowed (see CSP)
959  g = g || new Function("return this")();
960} catch (e) {
961  // This works if the window reference is available
962  if ((typeof window === "undefined" ? "undefined" : _typeof(window)) === "object") g = window;
963} // g can still be undefined, but nothing to do about it...
964// We return undefined, instead of nothing here, so it's
965// easier to handle this case. if(!global) { ...}
966
967
968module.exports = g;
969
970/***/ }),
971/* 5 */,
972/* 6 */,
973/* 7 */,
974/* 8 */,
975/* 9 */,
976/* 10 */
977/***/ (function(module, exports, __webpack_require__) {
978
979module.exports = __webpack_require__(11);
980
981
982/***/ }),
983/* 11 */
984/***/ (function(module, __webpack_exports__, __webpack_require__) {
985
986"use strict";
987__webpack_require__.r(__webpack_exports__);
988/* harmony import */ var lite_ready__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
989/* harmony import */ var lite_ready__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lite_ready__WEBPACK_IMPORTED_MODULE_0__);
990/* harmony import */ var global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
991/* harmony import */ var global__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_1__);
992/* harmony import */ var _jarallax_esm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12);
993function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
994
995
996
997 // no conflict
998
999var oldPlugin = global__WEBPACK_IMPORTED_MODULE_1__["window"].jarallax;
1000global__WEBPACK_IMPORTED_MODULE_1__["window"].jarallax = _jarallax_esm__WEBPACK_IMPORTED_MODULE_2__["default"];
1001
1002global__WEBPACK_IMPORTED_MODULE_1__["window"].jarallax.noConflict = function () {
1003  global__WEBPACK_IMPORTED_MODULE_1__["window"].jarallax = oldPlugin;
1004  return this;
1005}; // jQuery support
1006
1007
1008if ('undefined' !== typeof global__WEBPACK_IMPORTED_MODULE_1__["jQuery"]) {
1009  var jQueryPlugin = function jQueryPlugin() {
1010    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1011      args[_key] = arguments[_key];
1012    }
1013
1014    Array.prototype.unshift.call(args, this);
1015    var res = _jarallax_esm__WEBPACK_IMPORTED_MODULE_2__["default"].apply(global__WEBPACK_IMPORTED_MODULE_1__["window"], args);
1016    return 'object' !== _typeof(res) ? res : this;
1017  };
1018
1019  jQueryPlugin.constructor = _jarallax_esm__WEBPACK_IMPORTED_MODULE_2__["default"].constructor; // no conflict
1020
1021  var oldJqPlugin = global__WEBPACK_IMPORTED_MODULE_1__["jQuery"].fn.jarallax;
1022  global__WEBPACK_IMPORTED_MODULE_1__["jQuery"].fn.jarallax = jQueryPlugin;
1023
1024  global__WEBPACK_IMPORTED_MODULE_1__["jQuery"].fn.jarallax.noConflict = function () {
1025    global__WEBPACK_IMPORTED_MODULE_1__["jQuery"].fn.jarallax = oldJqPlugin;
1026    return this;
1027  };
1028} // data-jarallax initialization
1029
1030
1031lite_ready__WEBPACK_IMPORTED_MODULE_0___default()(function () {
1032  Object(_jarallax_esm__WEBPACK_IMPORTED_MODULE_2__["default"])(document.querySelectorAll('[data-jarallax]'));
1033});
1034
1035/***/ }),
1036/* 12 */
1037/***/ (function(module, __webpack_exports__, __webpack_require__) {
1038
1039"use strict";
1040__webpack_require__.r(__webpack_exports__);
1041/* harmony import */ var lite_ready__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1042/* harmony import */ var lite_ready__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lite_ready__WEBPACK_IMPORTED_MODULE_0__);
1043/* harmony import */ var global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
1044/* harmony import */ var global__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_1__);
1045function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1046
1047function _nonIterableRest() { throw new TypeError("Invalid attempt to de
1047structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1048
1049function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1050
1051function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1052
1053function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1054
1055function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1056
1057function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1058
1059function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1060
1061function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1062
1063function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1064
1065
1066
1067var navigator = global__WEBPACK_IMPORTED_MODULE_1__["window"].navigator;
1068var isIE = -1 < navigator.userAgent.indexOf('MSIE ') || -1 < navigator.userAgent.indexOf('Trident/') || -1 < navigator.userAgent.indexOf('Edge/');
1069var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1070
1071var supportTransform = function () {
1072  var prefixes = 'transform WebkitTransform MozTransform'.split(' ');
1073  var div = document.createElement('div');
1074
1075  for (var i = 0; i < prefixes.length; i += 1) {
1076    if (div && div.style[prefixes[i]] !== undefined) {
1077      return prefixes[i];
1078    }
1079  }
1080
1081  return false;
1082}();
1083
1084var $deviceHelper;
1085/**
1086 * The most popular mobile browsers changes height after page scroll and this generates image jumping.
1087 * We can fix it using this workaround with vh units.
1088 */
1089
1090function getDeviceHeight() {
1091  if (!$deviceHelper && document.body) {
1092    $deviceHelper = document.createElement('div');
1093    $deviceHelper.style.cssText = 'position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;';
1094    document.body.appendChild($deviceHelper);
1095  }
1096
1097  return ($deviceHelper ? $deviceHelper.clientHeight : 0) || global__WEBPACK_IMPORTED_MODULE_1__["window"].innerHeight || document.documentElement.clientHeight;
1098} // Window height data
1099
1100
1101var wndH;
1102
1103function updateWndVars() {
1104  if (isMobile) {
1105    wndH = getDeviceHeight();
1106  } else {
1107    wndH = global__WEBPACK_IMPORTED_MODULE_1__["window"].innerHeight || document.documentElement.clientHeight;
1108  }
1109}
1110
1111updateWndVars();
1112global__WEBPACK_IMPORTED_MODULE_1__["window"].addEventListener('resize', updateWndVars);
1113global__WEBPACK_IMPORTED_MODULE_1__["window"].addEventListener('orientationchange', updateWndVars);
1114global__WEBPACK_IMPORTED_MODULE_1__["window"].addEventListener('load', updateWndVars);
1115lite_ready__WEBPACK_IMPORTED_MODULE_0___default()(function () {
1116  updateWndVars({
1117    type: 'dom-loaded'
1118  });
1119}); // list with all jarallax instances
1120// need to render all in one scroll/resize event
1121
1122var jarallaxList = []; // get all parents of the element.
1123
1124function getParents(elem) {
1125  var parents = [];
1126
1127  while (null !== elem.parentElement) {
1128    elem = elem.parentElement;
1129
1130    if (1 === elem.nodeType) {
1131      parents.push(elem);
1132    }
1133  }
1134
1135  return parents;
1136}
1137
1138function updateParallax() {
1139  if (!jarallaxList.length) {
1140    return;
1141  }
1142
1143  jarallaxList.forEach(function (data, k) {
1144    var instance = data.instance,
1145        oldData = data.oldData;
1146    var clientRect = instance.$item.getBoundingClientRect();
1147    var newData = {
1148      width: clientRect.width,
1149      height: clientRect.height,
1150      top: clientRect.top,
1151      bottom: clientRect.bottom,
1152      wndW: global__WEBPACK_IMPORTED_MODULE_1__["window"].innerWidth,
1153      wndH: wndH
1154    };
1155    var isResized = !oldData || oldData.wndW !== newData.wndW || oldData.wndH !== newData.wndH || oldData.width !== newData.width || oldData.height !== newData.height;
1156    var isScrolled = isResized || !oldData || oldData.top !== newData.top || oldData.bottom !== newData.bottom;
1157    jarallaxList[k].oldData = newData;
1158
1159    if (isResized) {
1160      instance.onResize();
1161    }
1162
1163    if (isScrolled) {
1164      instance.onScroll();
1165    }
1166  });
1167  global__WEBPACK_IMPORTED_MODULE_1__["window"].requestAnimationFrame(updateParallax);
1168}
1169
1170var instanceID = 0; // Jarallax class
1171
1172var Jarallax = /*#__PURE__*/function () {
1173  function Jarallax(item, userOptions) {
1174    _classCallCheck(this, Jarallax);
1175
1176    var self = this;
1177    self.instanceID = instanceID;
1178    instanceID += 1;
1179    self.$item = item;
1180    self.defaults = {
1181      type: 'scroll',
1182      // type of parallax: scroll, scale, opacity, scale-opacity, scroll-opacity
1183      speed: 0.5,
1184      // supported value from -1 to 2
1185      imgSrc: null,
1186      imgElement: '.jarallax-img',
1187      imgSize: 'cover',
1188      imgPosition: '50% 50%',
1189      imgRepeat: 'no-repeat',
1190      // supported only for background, not for <img> tag
1191      keepImg: false,
1192      // keep <img> tag in it's default place
1193      elementInViewport: null,
1194      zIndex: -100,
1195      disableParallax: false,
1196      disableVideo: false,
1197      // video
1198      videoSrc: null,
1199      videoStartTime: 0,
1200      videoEndTime: 0,
1201      videoVolume: 0,
1202      videoLoop: true,
1203      videoPlayOnlyVisible: true,
1204      videoLazyLoading: true,
1205      // events
1206      onScroll: null,
1207      // function(calculations) {}
1208      onInit: null,
1209      // function() {}
1210      onDestroy: null,
1211      // function() {}
1212      onCoverImage: null // function() {}
1213
1214    }; // prepare data-options
1215
1216    var dataOptions = self.$item.dataset || {};
1217    var pureDataOptions = {};
1218    Object.keys(dataOptions).forEach(function (key) {
1219      var loweCaseOption = key.substr(0, 1).toLowerCase() + key.substr(1);
1220
1221      if (loweCaseOption && 'undefined' !== typeof self.defaults[loweCaseOption]) {
1222        pureDataOptions[loweCaseOption] = dataOptions[key];
1223      }
1224    });
1225    self.options = self.extend({}, self.defaults, pureDataOptions, userOptions);
1226    self.pureOptions = self.extend({}, self.options); // prepare 'true' and 'false' strings to boolean
1227
1228    Object.keys(self.options).forEach(function (key) {
1229      if ('true' === self.options[key]) {
1230        self.options[key] = true;
1231      } else if ('false' === self.options[key]) {
1232        self.options[key] = false;
1233      }
1234    }); // fix speed option [-1.0, 2.0]
1235
1236    self.options.speed = Math.min(2, Math.max(-1, parseFloat(self.options.speed))); // prepare disableParallax callback
1237
1238    if ('string' === typeof self.options.disableParallax) {
1239      self.options.disableParallax = new RegExp(self.options.disableParallax);
1240    }
1241
1242    if (self.options.disableParallax instanceof RegExp) {
1243      var disableParallaxRegexp = self.options.disableParallax;
1244
1245      self.options.disableParallax = function () {
1246        return disableParallaxRegexp.test(navigator.userAgent);
1247      };
1248    }
1249
1250    if ('function' !== typeof self.options.disableParallax) {
1251      self.options.disableParallax = function () {
1252        return false;
1253      };
1254    } // prepare disableVideo callback
1255
1256
1257    if ('string' === typeof self.options.disableVideo) {
1258      self.options.disableVideo = new RegExp(self.options.disableVideo);
1259    }
1260
1261    if (self.options.disableVideo instanceof RegExp) {
1262      var disableVideoRegexp = self.options.disableVideo;
1263
1264      self.options.disableVideo = function () {
1265        return disableVideoRegexp.test(navigator.userAgent);
1266      };
1267    }
1268
1269    if ('function' !== typeof self.options.disableVideo) {
1270      self.options.disableVideo = function () {
1271        return false;
1272      };
1273    } // custom element to check if parallax in viewport
1274
1275
1276    var elementInVP = self.options.elementInViewport; // get first item from array
1277
1278    if (elementInVP && 'object' === _typeof(elementInVP) && 'undefined' !== typeof elementInVP.length) {
1279      var _elementInVP = elementInVP;
1280
1281      var _elementInVP2 = _slicedToArray(_elementInVP, 1);
1282
1283      elementInVP = _elementInVP2[0];
1284    } // check if dom element
1285
1286
1287    if (!(elementInVP instanceof Element)) {
1288      elementInVP = null;
1289    }
1290
1291    self.options.elementInViewport = elementInVP;
1292    self.image = {
1293      src: self.options.imgSrc || null,
1294      $container: null,
1295      useImgTag: false,
1296      // position fixed is needed for the most of browsers because absolute position have glitches
1297      // on MacOS with smooth scroll there is a huge lags with absolute position - https://github.com/nk-o/jarallax/issues/75
1298      // on mobile devices better scrolled with absolute position
1299      position: /iPad|iPhone|iPod|Android/.test(navigator.userAgent) ? 'absolute' : 'fixed'
1300    };
1301
1302    if (self.initImg() && self.canInitParallax()) {
1303      self.init();
1304    }
1305  } // add styles to element
1306  // eslint-disable-next-line class-methods-use-this
1307
1308
1309  _createClass(Jarallax, [{
1310    key: "css",
1311    value: function css(el, styles) {
1312      if ('string' === typeof styles) {
1313        return global__WEBPACK_IMPORTED_MODULE_1__["window"].getComputedStyle(el).getPropertyValue(styles);
1314      } // add transform property with vendor prefix
1315
1316
1317      if (styles.transform && supportTransform) {
1318        styles[supportTransform] = styles.transform;
1319      }
1320
1321      Object.keys(styles).forEach(function (key) {
1322        el.style[key] = styles[key];
1323      });
1324      return el;
1325    } // Extend like jQuery.extend
1326    // eslint-disable-next-line class-methods-use-this
1327
1328  }, {
1329    key: "extend",
1330    value: function extend(out) {
1331      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1332        args[_key - 1] = arguments[_key];
1333      }
1334
1335      out = out || {};
1336      Object.keys(args).forEach(function (i) {
1337        if (!args[i]) {
1338          return;
1339        }
1340
1341        Object.keys(args[i]).forEach(function (key) {
1342          out[key] = args[i][key];
1343        });
1344      });
1345      return out;
1346    } // get window size and scroll position. Useful for extensions
1347    // eslint-disable-next-line class-methods-use-this
1348
1349  }, {
1350    key: "getWindowData",
1351    value: function getWindowData() {
1352      return {
1353        width: global__WEBPACK_IMPORTED_MODULE_1__["window"].innerWidth || document.documentElement.clientWidth,
1354        height: wndH,
1355        y: document.documentElement.scrollTop
1356      };
1357    } // Jarallax functions
1358
1359  }, {
1360    key: "initImg",
1361    value: function initImg() {
1362      var self = this; // find image element
1363
1364      var $imgElement = self.options.imgElement;
1365
1366      if ($imgElement && 'string' === typeof $imgElement) {
1367        $imgElement = self.$item.querySelector($imgElement);
1368      } // check if dom element
1369
1370
1371      if (!($imgElement instanceof Element)) {
1372        if (self.options.imgSrc) {
1373          $imgElement = new Image();
1374          $imgElement.src = self.options.imgSrc;
1375        } else {
1376          $imgElement = null;
1377        }
1378      }
1379
1380      if ($imgElement) {
1381        if (self.options.keepImg) {
1382          self.image.$item = $imgElement.cloneNode(true);
1383        } else {
1384          self.image.$item = $imgElement;
1385          self.image.$itemParent = $imgElement.parentNode;
1386        }
1387
1388        self.image.useImgTag = true;
1389      } // true if there is img tag
1390
1391
1392      if (self.image.$item) {
1393        return true;
1394      } // get image src
1395
1396
1397      if (null === self.image.src) {
1398        self.image.src = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';
1399        self.image.bgImage = self.css(self.$item, 'background-image');
1400      }
1401
1402      return !(!self.image.bgImage || 'none' === self.image.bgImage);
1403    }
1404  }, {
1405    key: "canInitParallax",
1406    value: function canInitParallax() {
1407      return supportTransform && !this.options.disableParallax();
1408    }
1409  }, {
1410    key: "init",
1411    value: function init() {
1412      var self = this;
1413      var containerStyles = {
1414        position: 'absolute',
1415        top: 0,
1416        left: 0,
1417        width: '100%',
1418        height: '100%',
1419        overflow: 'hidden'
1420      };
1421      var imageStyles = {
1422        pointerEvents: 'none',
1423        transformStyle: 'preserve-3d',
1424        backfaceVisibility: 'hidden',
1425        willChange: 'transform,opacity'
1426      };
1427
1428      if (!self.options.keepImg) {
1429        // save default user styles
1430        var curStyle = self.$item.getAttribute('style');
1431
1432        if (curStyle) {
1433          self.$item.setAttribute('data-jarallax-original-styles', curStyle);
1434        }
1435
1436        if (self.image.useImgTag) {
1437          var curImgStyle = self.image.$item.getAttribute('style');
1438
1439          if (curImgStyle) {
1440            self.image.$item.setAttribute('data-jarallax-original-styles', curImgStyle);
1441          }
1442        }
1443      } // set relative position and z-index to the parent
1444
1445
1446      if ('static' === self.css(self.$item, 'position')) {
1447        self.css(self.$item, {
1448          position: 'relative'
1449        });
1450      }
1451
1452      if ('auto' === self.css(self.$item, 'z-index')) {
1453        self.css(self.$item, {
1454          zIndex: 0
1455        });
1456      } // container for parallax image
1457
1458
1459      self.image.$container = document.createElement('div');
1460      self.css(self.image.$container, containerStyles);
1461      self.css(self.image.$container, {
1462        'z-index': self.options.zIndex
1463      }); // fix for IE https://github.com/nk-o/jarallax/issues/110
1464
1465      if (isIE) {
1466        self.css(self.image.$container, {
1467          opacity: 0.9999
1468        });
1469      }
1470
1471      self.image.$container.setAttribute('id', "jarallax-container-".concat(self.instanceID));
1472      self.$item.appendChild(self.image.$container); // use img tag
1473
1474      if (self.image.useImgTag) {
1475        imageStyles = self.extend({
1476          'object-fit': self.options.imgSize,
1477          'object-position': self.options.imgPosition,
1478          // support for plugin https://github.com/bfred-it/object-fit-images
1479          'font-family': "object-fit: ".concat(self.options.imgSize, "; object-position: ").concat(self.options.imgPosition, ";"),
1480          'max-width': 'none'
1481        }, containerStyles, imageStyles); // use div with background image
1482      } else {
1483        self.image.$item = document.createElement('div');
1484
1485        if (self.image.src) {
1486          imageStyles = self.extend({
1487            'background-position': self.options.imgPosition,
1488            'background-size': self.options.imgSize,
1489            'background-repeat': self.options.imgRepeat,
1490            'background-image': self.image.bgImage || "url(\"".concat(self.image.src, "\")")
1491          }, containerStyles, imageStyles);
1492        }
1493      }
1494
1495      if ('opacity' === self.options.type || 'scale' === self.options.type || 'scale-opacity' === self.options.type || 1 === self.options.speed) {
1496        self.image.position = 'absolute';
1497      } // 1. Check if one of parents have transform style (without this check, scroll transform will be inverted if used parallax with position fixed)
1498      //    discussion - https://github.com/nk-o/jarallax/issues/9
1499      // 2. Check if parents have overflow scroll
1500
1501
1502      if ('fixed' === self.image.position) {
1503        var $parents = getParents(self.$item).filter(function (el) {
1504          var styles = global__WEBPACK_IMPORTED_MODULE_1__["window"].getComputedStyle(el);
1505          var parentTransform = styles['-webkit-transform'] || styles['-moz-transform'] || styles.transform;
1506          var overflowRegex = /(auto|scroll)/;
1507          return parentTransform && 'none' !== parentTransform || overflowRegex.test(styles.overflow + styles['overflow-y'] + styles['overflow-x']);
1508        });
1509        self.image.position = $parents.length ? 'absolute' : 'fixed';
1510      } // add position to parallax block
1511
1512
1513      imageStyles.position = self.image.position; // insert parallax image
1514
1515      self.css(self.image.$item, imageStyles);
1516      self.image.$container.appendChild(self.image.$item); // set initial position and size
1517
1518      self.onResize();
1519      self.onScroll(true); // call onInit event
1520
1521      if (self.options.onInit) {
1522        self.options.onInit.call(self);
1523      } // remove default user background
1524
1525
1526      if ('none' !== self.css(self.$item, 'background-image')) {
1527        self.css(self.$item, {
1528          'background-image': 'none'
1529        });
1530      }
1531
1532      self.addToParallaxList();
1533    } // add to parallax instances list
1534
1535  }, {
1536    key: "addToParallaxList",
1537    value: function addToParallaxList() {
1538      jarallaxList.push({
1539        instance: this
1540      });
1541
1542      if (1 === jarallaxList.length) {
1543        global__WEBPACK_IMPORTED_MODULE_1__["window"].requestAnimationFrame(updateParallax);
1544      }
1545    } // remove from parallax instances list
1546
1547  }, {
1548    key: "removeFromParallaxList",
1549    value: function removeFromParallaxList() {
1550      var self = this;
1551      jarallaxList.forEach(function (data, key) {
1552        if (data.instance.instanceID === self.instanceID) {
1553          jarallaxList.splice(key, 1);
1554        }
1555      });
1556    }
1557  }, {
1558    key: "destroy",
1559    value: function destroy() {
1560      var self = this;
1561      self.removeFromParallaxList(); // return styles on container as before jarallax init
1562
1563      var originalStylesTag = self.$item.getAttribute('data-jarallax-original-styles');
1564      self.$item.removeAttribute('data-jarallax-original-styles'); // null occurs if there is no style tag before jarallax init
1565
1566      if (!originalStylesTag) {
1567        self.$item.removeAttribute('style');
1568      } else {
1569        self.$item.setAttribute('style', originalStylesTag);
1570      }
1571
1572      if (self.image.useImgTag) {
1573        // return styles on img tag as before jarallax init
1574        var originalStylesImgTag = self.image.$item.getAttribute('data-jarallax-original-styles');
1575        self.image.$item.removeAttribute('data-jarallax-original-styles'); // null occurs if there is no style tag before jarallax init
1576
1577        if (!originalStylesImgTag) {
1578          self.image.$item.removeAttribute('style');
1579        } else {
1580          self.image.$item.setAttribute('style', originalStylesTag);
1581        } // move img tag to its default position
1582
1583
1584        if (self.image.$itemParent) {
1585          self.image.$itemParent.appendChild(self.image.$item);
1586        }
1587      } // remove additional dom elements
1588
1589
1590      if (self.$clipStyles) {
1591        self.$clipStyles.parentNode.removeChild(self.$clipStyles);
1592      }
1593
1594      if (self.image.$container) {
1595        self.image.$container.parentNode.removeChild(self.image.$container);
1596      } // call onDestroy event
1597
1598
1599      if (self.options.onDestroy) {
1600        self.options.onDestroy.call(self);
1601      } // delete jarallax from item
1602
1603
1604      delete self.$item.jarallax;
1605    } // it will remove some image overlapping
1606    // overlapping occur due to an image position fixed inside absolute position element
1607
1608  }, {
1609    key: "clipContainer",
1610    value: function clipContainer() {
1611      // needed only when background in fixed position
1612      if ('fixed' !== this.image.position) {
1613        return;
1614      }
1615
1616      var self = this;
1617      var rect = self.image.$container.getBoundingClientRect();
1618      var width = rect.width,
1619          height = rect.height;
1620
1621      if (!self.$clipStyles) {
1622        self.$clipStyles = document.createElement('style');
1623        self.$clipStyles.setAttribute('type', 'text/css');
1624        self.$clipStyles.setAttribute('id', "jarallax-clip-".concat(self.instanceID));
1625        var head = document.head || document.getElementsByTagName('head')[0];
1626        head.appendChild(self.$clipStyles);
1627      } // clip is used for old browsers.
1628      // clip-path for modern browsers (also fixes Safari v14 bug https://github.com/nk-o/jarallax/issues/181 ).
1629
1630
1631      var styles = "#jarallax-container-".concat(self.instanceID, " {\n            clip: rect(0 ").concat(width, "px ").concat(height, "px 0);\n            clip: rect(0, ").concat(width, "px, ").concat(height, "px, 0);\n            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n        }"); // add clip styles inline (this method need for support IE8 and less browsers)
1632
1633      if (self.$clipStyles.styleSheet) {
1634        self.$clipStyles.styleSheet.cssText = styles;
1635      } else {
1636        self.$clipStyles.innerHTML = styles;
1637      }
1638    }
1639  }, {
1640    key: "coverImage",
1641    value: function coverImage() {
1642      var self = this;
1643      var rect = self.image.$container.getBoundingClientRect();
1644      var contH = rect.height;
1645      var speed = self.options.speed;
1646      var isScroll = 'scroll' === self.options.type || 'scroll-opacity' === self.options.type;
1647      var scrollDist = 0;
1648      var resultH = contH;
1649      var resultMT = 0; // scroll parallax
1650
1651      if (isScroll) {
1652        // scroll distance and height for image
1653        if (0 > speed) {
1654          scrollDist = speed * Math.max(contH, wndH);
1655
1656          if (wndH < contH) {
1657            scrollDist -= speed * (contH - wndH);
1658          }
1659        } else {
1660          scrollDist = speed * (contH + wndH);
1661        } // size for scroll parallax
1662
1663
1664        if (1 < speed) {
1665          resultH = Math.abs(scrollDist - wndH);
1666        } else if (0 > speed) {
1667          resultH = scrollDist / speed + Math.abs(scrollDist);
1668        } else {
1669          resultH += (wndH - contH) * (1 - speed);
1670        }
1671
1672        scrollDist /= 2;
1673      } // store scroll distance
1674
1675
1676      self.parallaxScrollDistance = scrollDist; // vertical center
1677
1678      if (isScroll) {
1679        resultMT = (wndH - resultH) / 2;
1680      } else {
1681        resultMT = (contH - resultH) / 2;
1682      } // apply result to item
1683
1684
1685      self.css(self.image.$item, {
1686        height: "".concat(resultH, "px"),
1687        marginTop: "".concat(resultMT, "px"),
1688        left: 'fixed' === self.image.position ? "".concat(rect.left, "px") : '0',
1689        width: "".concat(rect.width, "px")
1690      }); // call onCoverImage event
1691
1692      if (self.options.onCoverImage) {
1693        self.options.onCoverImage.call(self);
1694      } // return some useful data. Used in the video cover function
1695
1696
1697      return {
1698        image: {
1699          height: resultH,
1700          marginTop: resultMT
1701        },
1702        container: rect
1703      };
1704    }
1705  }, {
1706    key: "isVisible",
1707    value: function isVisible() {
1708      return this.isElementInViewport || false;
1709    }
1710  }, {
1711    key: "onScroll",
1712    value: function onScroll(force) {
1713      var self = this;
1714      var rect = self.$item.getBoundingClientRect();
1715      var contT = rect.top;
1716      var contH = rect.height;
1717      var styles = {}; // check if in viewport
1718
1719      var viewportRect = rect;
1720
1721      if (self.options.elementInViewport) {
1722        viewportRect = self.options.elementInViewport.getBoundingClientRect();
1723      }
1724
1725      self.isElementInViewport = 0 <= viewportRect.bottom && 0 <= viewportRect.right && viewportRect.top <= wndH && viewportRect.left <= global__WEBPACK_IMPORTED_MODULE_1__["window"].innerWidth; // stop calculations if item is not in viewport
1726
1727      if (force ? false : !self.isElementInViewport) {
1728        return;
1729      } // calculate parallax helping variables
1730
1731
1732      var beforeTop = Math.max(0, contT);
1733      var beforeTopEnd = Math.max(0, contH + contT);
1734      var afterTop = Math.max(0, -contT);
1735      var beforeBottom = Math.max(0, contT + contH - wndH);
1736      var beforeBottomEnd = Math.max(0, contH - (contT + contH - wndH));
1737      var afterBottom = Math.max(0, -contT + wndH - contH);
1738      var fromViewportCenter = 1 - 2 * ((wndH - contT) / (wndH + contH)); // calculate on how percent of section is visible
1739
1740      var visiblePercent = 1;
1741
1742      if (contH < wndH) {
1743        visiblePercent = 1 - (afterTop || beforeBottom) / contH;
1744      } else if (beforeTopEnd <= wndH) {
1745        visiblePercent = beforeTopEnd / wndH;
1746      } else if (beforeBottomEnd <= wndH) {
1747        visiblePercent = beforeBottomEnd / wndH;
1748      } // opacity
1749
1750
1751      if ('opacity' === self.options.type || 'scale-opacity' === self.options.type || 'scroll-opacity' === self.options.type) {
1752        styles.transform = 'translate3d(0,0,0)';
1753        styles.opacity = visiblePercent;
1754      } // scale
1755
1756
1757      if ('scale' === self.options.type || 'scale-opacity' === self.options.type) {
1758        var scale = 1;
1759
1760        if (0 > self.options.speed) {
1761          scale -= self.options.speed * visiblePercent;
1762        } else {
1763          scale += self.options.speed * (1 - visiblePercent);
1764        }
1765
1766        styles.transform = "scale(".concat(scale, ") translate3d(0,0,0)");
1767      } // scroll
1768
1769
1770      if ('scroll' === self.options.type || 'scroll-opacity' === self.options.type) {
1771        var positionY = self.parallaxScrollDistance * fromViewportCenter; // fix if parallax block in absolute position
1772
1773        if ('absolute' === self.image.position) {
1774          positionY -= contT;
1775        }
1776
1777        styles.transform = "translate3d(0,".concat(positionY, "px,0)");
1778      }
1779
1780      self.css(self.image.$item, styles); // call onScroll event
1781
1782      if (self.options.onScroll) {
1783        self.options.onScroll.call(self, {
1784          section: rect,
1785          beforeTop: beforeTop,
1786          beforeTopEnd: beforeTopEnd,
1787          afterTop: afterTop,
1788          beforeBottom: beforeBottom,
1789          beforeBottomEnd: beforeBottomEnd,
1790          afterBottom: afterBottom,
1791          visiblePercent: visiblePercent,
1792          fromViewportCenter: fromViewportCenter
1793        });
1794      }
1795    }
1796  }, {
1797    key: "onResize",
1798    value: function onResize() {
1799      this.coverImage();
1800      this.clipContainer();
1801    }
1802  }]);
1803
1804  return Jarallax;
1805}(); // global definition
1806
1807
1808var plugin = function plugin(items, options) {
1809  // check for dom element
1810  // thanks: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object
1811  if ('object' === (typeof HTMLElement === "undefined" ? "undefined" : _typeof(HTMLElement)) ? items instanceof HTMLElement : items && 'object' === _typeof(items) && null !== items && 1 === items.nodeType && 'string' === typeof items.nodeName) {
1812    items = [items];
1813  }
1814
1815  var len = items.length;
1816  var k = 0;
1817  var ret;
1818
1819  for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
1820    args[_key2 - 2] = arguments[_key2];
1821  }
1822
1823  for (k; k < len; k += 1) {
1824    if ('object' === _typeof(options) || 'undefined' === typeof options) {
1825      if (!items[k].jarallax) {
1826        items[k].jarallax = new Jarallax(items[k], options);
1827      }
1828    } else if (items[k].jarallax) {
1829      // eslint-disable-next-line prefer-spread
1830      ret = items[k].jarallax[options].apply(items[k].jarallax, args);
1831    }
1832
1833    if ('undefined' !== typeof ret) {
1834      return ret;
1835    }
1836  }
1837
1838  return items;
1839};
1840
1841plugin.constructor = Jarallax;
1842/* harmony default export */ __webpack_exports__["default"] = (plugin);
1843
1844/***/ })
1845/******/ ]);
1846
1847//
1848// matchheight
1849//
1850
1851/**
1852* jquery-match-height master by @liabru
1853* http://brm.io/jquery-match-height/
1854* License: MIT
1855*/
1856
1857;(function(factory) { // eslint-disable-line no-extra-semi
1858    'use strict';
1859    if (typeof define === 'function' && define.amd) {
1860        // AMD
1861        define(['jquery'], factory);
1862    } else if (typeof module !== 'undefined' && module.exports) {
1863        // CommonJS
1864        module.exports = factory(require('jquery'));
1865    } else {
1866        // Global
1867        factory(jQuery);
1868    }
1869})(function($) {
1870    /*
1871    *  internal
1872    */
1873
1874    var _previousResizeWidth = -1,
1875        _updateTimeout = -1;
1876
1877    /*
1878    *  _parse
1879    *  value parse utility function
1880    */
1881
1882    var _parse = function(value) {
1883        // parse value and convert NaN to 0
1884        return parseFloat(value) || 0;
1885    };
1886
1887    /*
1888    *  _rows
1889    *  utility function returns array of jQuery selections representing each row
1890    *  (as displayed after float wrapping applied by browser)
1891    */
1892
1893    var _rows = function(elements) {
1894        var tolerance = 1,
1895            $elements = $(elements),
1896            lastTop = null,
1897            rows = [];
1898
1899        // group elements by their top position
1900        $elements.each(function(){
1901            var $that = $(this),
1902                top = $that.offset().top - _parse($that.css('margin-top')),
1903                lastRow = rows.length > 0 ? rows[rows.length - 1] : null;
1904
1905            if (lastRow === null) {
1906                // first item on the row, so just push it
1907                rows.push($that);
1908            } else {
1909                // if the row top is the same, add to the row group
1910                if (Math.floor(Math.abs(lastTop - top)) <= tolerance) {
1911                    rows[rows.length - 1] = lastRow.add($that);
1912                } else {
1913                    // otherwise start a new row group
1914                    rows.push($that);
1915                }
1916            }
1917
1918            // keep track of the last row top
1919            lastTop = top;
1920        });
1921
1922        return rows;
1923    };
1924
1925    /*
1926    *  _parseOptions
1927    *  handle plugin options
1928    */
1929
1930    var _parseOptions = function(options) {
1931        var opts = {
1932            byRow: true,
1933            property: 'height',
1934            target: null,
1935            remove: false
1936        };
1937
1938        if (typeof options === 'object') {
1939            return $.extend(opts, options);
1940        }
1941
1942        if (typeof options === 'boolean') {
1943            opts.byRow = options;
1944        } else if (options === 'remove') {
1945            opts.remove = true;
1946        }
1947
1948        return opts;
1949    };
1950
1951    /*
1952    *  matchHeight
1953    *  plugin definition
1954    */
1955
1956    var matchHeight = $.fn.matchHeight = function(options) {
1957        var opts = _parseOptions(options);
1958
1959        // handle remove
1960        if (opts.remove) {
1961            var that = this;
1962
1963            // remove fixed height from all selected elements
1964            this.css(opts.property, '');
1965
1966            // remove selected elements from all groups
1967            $.each(matchHeight._groups, function(key, group) {
1968                group.elements = group.elements.not(that);
1969            });
1970
1971            // TODO: cleanup empty groups
1972
1973            return this;
1974        }
1975
1976        if (this.length <= 1 && !opts.target) {
1977            return this;
1978        }
1979
1980        // keep track of this group so we can re-apply later on load and resize events
1981        matchHeight._groups.push({
1982            elements: this,
1983            options: opts
1984        });
1985
1986        // match each element's height to the tallest element in the selection
1987        matchHeight._apply(this, opts);
1988
1989        return this;
1990    };
1991
1992    /*
1993    *  plugin global options
1994    */
1995
1996    matchHeight.version = 'master';
1997    matchHeight._groups = [];
1998    matchHeight._throttle = 80;
1999    matchHeight._maintainScroll = false;
vendor: 8,299 bytes, lines 2000-2246
2000    matchHeight._beforeUpdate = null;
2001    matchHeight._afterUpdate = null;
2002    matchHeight._rows = _rows;
2003    matchHeight._parse = _parse;
2004    matchHeight._parseOptions = _parseOptions;
2005
2006    /*
2007    *  matchHeight._apply
2008    *  apply matchHeight to given elements
2009    */
2010
2011    matchHeight._apply = function(elements, options) {
2012        var opts = _parseOptions(options),
2013            $elements = $(elements),
2014            rows = [$elements];
2015
2016        // take note of scroll position
2017        var scrollTop = $(window).scrollTop(),
2018            htmlHeight = $('html').outerHeight(true);
2019
2020        // get hidden parents
2021        var $hiddenParents = $elements.parents().filter(':hidden');
2022
2023        // cache the original inline style
2024        $hiddenParents.each(function() {
2025            var $that = $(this);
2026            $that.data('style-cache', $that.attr('style'));
2027        });
2028
2029        // temporarily must force hidden parents visible
2030        $hiddenParents.css('display', 'block');
2031
2032        // get rows if using byRow, otherwise assume one row
2033        if (opts.byRow && !opts.target) {
2034
2035            // must first force an arbitrary equal height so floating elements break evenly
2036            $elements.each(function() {
2037                var $that = $(this),
2038                    display = $that.css('display');
2039
2040                // temporarily force a usable display value
2041                if (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex') {
2042                    display = 'block';
2043                }
2044
2045                // cache the original inline style
2046                $that.data('style-cache', $that.attr('style'));
2047
2048                $that.css({
2049                    'display': display,
2050                    'padding-top': '0',
2051                    'padding-bottom': '0',
2052                    'margin-top': '0',
2053                    'margin-bottom': '0',
2054                    'border-top-width': '0',
2055                    'border-bottom-width': '0',
2056                    'height': '100px',
2057                    'overflow': 'hidden'
2058                });
2059            });
2060
2061            // get the array of rows (based on element top position)
2062            rows = _rows($elements);
2063
2064            // revert original inline styles
2065            $elements.each(function() {
2066                var $that = $(this);
2067                $that.attr('style', $that.data('style-cache') || '');
2068            });
2069        }
2070
2071        $.each(rows, function(key, row) {
2072            var $row = $(row),
2073                targetHeight = 0;
2074
2075            if (!opts.target) {
2076                // skip apply to rows with only one item
2077                if (opts.byRow && $row.length <= 1) {
2078                    $row.css(opts.property, '');
2079                    return;
2080                }
2081
2082                // iterate the row and find the max height
2083                $row.each(function(){
2084                    var $that = $(this),
2085                        style = $that.attr('style'),
2086                        display = $that.css('display');
2087
2088                    // temporarily force a usable display value
2089                    if (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex') {
2090                        display = 'block';
2091                    }
2092
2093                    // ensure we get the correct actual height (and not a previously set height value)
2094                    var css = { 'display': display };
2095                    css[opts.property] = '';
2096                    $that.css(css);
2097
2098                    // find the max height (including padding, but not margin)
2099                    if ($that.outerHeight(false) > targetHeight) {
2100                        targetHeight = $that.outerHeight(false);
2101                    }
2102
2103                    // revert styles
2104                    if (style) {
2105                        $that.attr('style', style);
2106                    } else {
2107                        $that.css('display', '');
2108                    }
2109                });
2110            } else {
2111                // if target set, use the height of the target element
2112                targetHeight = opts.target.outerHeight(false);
2113            }
2114
2115            // iterate the row and apply the height to all elements
2116            $row.each(function(){
2117                var $that = $(this),
2118                    verticalPadding = 0;
2119
2120                // don't apply to a target
2121                if (opts.target && $that.is(opts.target)) {
2122                    return;
2123                }
2124
2125                // handle padding and border correctly (required when not using border-box)
2126                if ($that.css('box-sizing') !== 'border-box') {
2127                    verticalPadding += _parse($that.css('border-top-width')) + _parse($that.css('border-bottom-width'));
2128                    verticalPadding += _parse($that.css('padding-top')) + _parse($that.css('padding-bottom'));
2129                }
2130
2131                // set the height (accounting for padding and border)
2132                $that.css(opts.property, (targetHeight - verticalPadding) + 'px');
2133            });
2134        });
2135
2136        // revert hidden parents
2137        $hiddenParents.each(function() {
2138            var $that = $(this);
2139            $that.attr('style', $that.data('style-cache') || null);
2140        });
2141
2142        // restore scroll position if enabled
2143        if (matchHeight._maintainScroll) {
2144            $(window).scrollTop((scrollTop / htmlHeight) * $('html').outerHeight(true));
2145        }
2146
2147        return this;
2148    };
2149
2150    /*
2151    *  matchHeight._applyDataApi
2152    *  applies matchHeight to all elements with a data-match-height attribute
2153    */
2154
2155    matchHeight._applyDataApi = function() {
2156        var groups = {};
2157
2158        // generate groups by their groupId set by elements using data-match-height
2159        $('[data-match-height], [data-mh]').each(function() {
2160            var $this = $(this),
2161                groupId = $this.attr('data-mh') || $this.attr('data-match-height');
2162
2163            if (groupId in groups) {
2164                groups[groupId] = groups[groupId].add($this);
2165            } else {
2166                groups[groupId] = $this;
2167            }
2168        });
2169
2170        // apply matchHeight to each group
2171        $.each(groups, function() {
2172            this.matchHeight(true);
2173        });
2174    };
2175
2176    /*
2177    *  matchHeight._update
2178    *  updates matchHeight on all current groups with their correct options
2179    */
2180
2181    var _update = function(event) {
2182        if (matchHeight._beforeUpdate) {
2183            matchHeight._beforeUpdate(event, matchHeight._groups);
2184        }
2185
2186        $.each(matchHeight._groups, function() {
2187            matchHeight._apply(this.elements, this.options);
2188        });
2189
2190        if (matchHeight._afterUpdate) {
2191            matchHeight._afterUpdate(event, matchHeight._groups);
2192        }
2193    };
2194
2195    matchHeight._update = function(throttle, event) {
2196        // prevent update if fired from a resize event
2197        // where the viewport width hasn't actually changed
2198        // fixes an event looping bug in IE8
2199        if (event && event.type === 'resize') {
2200            var windowWidth = $(window).width();
2201            if (windowWidth === _previousResizeWidth) {
2202                return;
2203            }
2204            _previousResizeWidth = windowWidth;
2205        }
2206
2207        // throttle updates
2208        if (!throttle) {
2209            _update(event);
2210        } else if (_updateTimeout === -1) {
2211            _updateTimeout = setTimeout(function() {
2212                _update(event);
2213                _updateTimeout = -1;
2214            }, matchHeight._throttle);
2215        }
2216    };
2217
2218    /*
2219    *  bind events
2220    */
2221
2222    // apply on DOM ready event
2223    $(matchHeight._applyDataApi);
2224
2225    // use on or bind where supported
2226    var on = $.fn.on ? 'on' : 'bind';
2227
2228    // update heights on load and resize events
2229    $(window)[on]('load', function(event) {
2230        matchHeight._update(false, event);
2231    });
2232
2233    // throttled update heights on resize events
2234    $(window)[on]('resize orientationchange', function(event) {
2235        matchHeight._update(true, event);
2236    });
2237
2238});
2239
2240//
2241// tablesorter
2242//
2243
2244
2245(function($){$.extend({tablesorter:new
2246function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,
vendor: 9,897 bytes, lines 2246-2247
2246sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'/\.|\,/g',onRenderHeader:null,selectorHeaders:'thead th',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}if(table.tBodies.length==0)return;var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,rows,-1,i);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,rows,rowIndex,cellIndex){var l=parsers.length,node=false,nodeValue=false,keepLooking=true;while(nodeValue==''&&keepLooking){rowIndex++;if(rows[rowIndex]){node=getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex);nodeValue=trimAndGetNodeText(table.config,node);if(table.config.debug){log('Checking if value was empty on row:'+rowIndex);}}else{keepLooking=false;}}for(var i=1;i<l;i++){if(parsers[i].is(nodeValue,table,node)){return parsers[i];}}return parsers[0];}function getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex){return rows[rowIndex].cells[cellIndex];}function trimAndGetNodeText(config,node){return $.trim(getElementText(config,node));}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=$(table.tBodies[0].rows[i]),cols=[];if(c.hasClass(table.config.cssChildRow)){cache.row[cache.row.length-1]=cache.row[cache.row.length-1].add(c);continue;}cache.row.push(c);for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c[0].cells[j]),table,c[0].cells[j]));}cols.push(cache.normalized.length);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){var text="";if(!node)return"";if(!config.supportsTextContent)config.supportsTextContent=node.textContent||false;if(config.textExtraction=="simple"){if(config.supportsTextContent){text=node.textContent;}else{if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){text=node.childNodes[0].innerHTML;}else{text=node.innerHTML;}}}else{if(typeof(config.textExtraction)=="function"){text=config.textExtraction(node);}else{text=$(node).text();}}return text;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){var pos=n[i][checkCell];rows.push(r[pos]);if(!table.config.appender){var l=r[pos].length;for(var j=0;j<l;j++){tableBody[0].appendChild(r[pos][j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false;var header_index=computeTableHeaderCellIndexes(table);$tableHeaders=$(table.config.selectorHeaders,table).each(function(index){this.column=header_index[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=formatSortingOrder(table.config.sortInitialOrder);this.count=this.order;if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(checkHeaderOptionsSortingLocked(table,index))this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(table,index);if(!this.sortDisabled){var $th=$(this).addClass(table.config.cssHeader);if(table.config.onRenderHeader)table.config.onRenderHeader.apply($th);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};function computeTableHeaderCellIndexes(t){var matrix=[];var lookup={};var thead=t.getElementsByTagName('THEAD')[0];var trs=thead.getElementsByTagName('TR');for(var i=0;i<trs.length;i++){var cells=trs[i].cells;for(var j=0;j<cells.length;j++){var c=cells[j];var rowIndex=c.parentNode.rowIndex;var cellId=rowIndex+"-"+c.cellIndex;var rowSpan=c.rowSpan||1;var colSpan=c.colSpan||1
2247var firstAvailCol;if(typeof(matrix[rowIndex])=="undefined"){matrix[rowIndex]=[];}for(var k=0;k<matrix[rowIndex].length+1;k++){if(typeof(matrix[rowIndex][k])=="undefined"){firstAvailCol=k;break;}}lookup[cellId]=firstAvailCol;for(var k=rowIndex;k<rowIndex+rowSpan;k++){if(typeof(matrix[k])=="undefined"){matrix[k]=[];}var matrixrow=matrix[k];for(var l=firstAvailCol;l<firstAvailCol+colSpan;l++){matrixrow[l]="x";}}}}return lookup;}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function checkHeaderOptionsSortingLocked(table,i){if((table.config.headers[i])&&(table.config.headers[i].lockedOrder))return table.config.headers[i].lockedOrder;return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){return(v.toLowerCase()=="desc")?1:0;}else{return(v==1)?1:0;}}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date());}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function makeSortFunction(type,direction,index){var a="a["+index+"]",b="b["+index+"]";if(type=='text'&&direction=='asc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+b+") ? -1 : 1 )));";}else if(type=='text'&&direction=='desc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+b+" < "+a+") ? -1 : 1 )));";}else if(type=='numeric'&&direction=='asc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+b+"));";}else if(type=='numeric'&&direction=='desc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+b+" - "+a+"));";}};function makeSortText(i){return"((a["+i+"] < b["+i+"]) ? -1 : ((a["+i+"] > b["+i+"]) ? 1 : 0));";};function makeSortTextDesc(i){return"((b["+i+"] < a["+i+"]) ? -1 : ((b["+i+"] > a["+i+"]) ? 1 : 0));";};function makeSortNumeric(i){return"a["+i+"]-b["+i+"];";};function makeSortNumericDesc(i){return"b["+i+"]-a["+i+"];";};function sortText(a,b){if(table.config.sortLocaleCompare)return a.localeCompare(b);return((a<b)?-1:((a>b)?1:0));};function sortTextDesc(a,b){if(table.config.sortLocaleCompare)return b.localeCompare(a);return((b<a)?-1:((b>a)?1:0));};function sortNumeric(a,b){return a-b;};
2247function sortNumericDesc(a,b){return b-a;};function getCachedSortType(parsers,i){return parsers[i].type;};this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies)return;var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$.data(this,"tablesorter",config);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){$this.trigger("sortStart");var $cell=$(this);var i=this.column;this.order=this.count++%2;if(this.lockedOrder)this.order=this.lockedOrder;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j]);}}}config.sortList.push([i,this.order]);}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2;}}}else{config.sortList.push([i,this.order]);}};setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache));},1);return false;}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false;}});$this.bind("update",function(){var me=this;setTimeout(function(){me.config.parsers=buildParserCache(me,$headers);cache=buildCache(me);},1);}).bind("updateCell",function(e,cell){var config=this.config;var pos=[(cell.parentNode.rowIndex-1),cell.cellIndex];cache.normalized[pos[0]][pos[1]]=config.parsers[pos[1]].format(getElementText(config,cell),cell);}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache));}).bind("appendCache",function(){appendToTable(this,cache);}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this);}).bind("applyWidgets",function(){applyWidget(this);});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist;}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList]);}applyWidget(this);});};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false;}}if(a){parsers.push(parser);};};this.addWidget=function(widget){widgets.push(widget);};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i;};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i;};this.isDigit=function(s,config){return/^[-+]?\d*$/.test($.trim(s.replace(/[,.']/g,'')));};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild)this.removeChild(this.firstChild);}empty.apply(table.tBodies[0]);}else{table.tBodies[0].innerHTML="";}};}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true;},format:function(s){return $.trim(s.toLocaleLowerCase());},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c);},format:function(s){return $.tablesorter.formatFloat(s);},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s);},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[£$€]/g),""));},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s);},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item;}else{r+=item;}}return $.tablesorter.formatFloat(r);},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s);},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),''));},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s);},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0");},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s));},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""));},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/));},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2");}else if (c.dateFormat == "pt") {s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/, "$3/$2/$1");} else if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1");}else if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3");}return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s);},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime());},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false;},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?'sortValue':c.parserMetadataName;return $(cell).metadata()[p];},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date();}var $tr,row=-1,odd;$("tr:visible",table.tBodies[0]).each(function(i){$tr=$(this);if(!$tr.hasClass(table.config.cssChildRow))row++;odd=(row%2==0);$tr.removeClass(table.config.widgetZebra.css[odd?0:1]).addClass(table.config.widgetZebra.css[odd?1:0])});if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time);}}});})(jQuery);
2248
2249
2250/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2251jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.no
vendor: 5,736 bytes, lines 2251-2253
2251deName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
2252var stacks = {};
2253stacks.jQuery = jQuery.noConflict(true);
2254stacks.com_elixir_stacks_foundryBanner = {};
2255stacks.com_elixir_stacks_foundryBanner = (function(stack) {
2256var jQuery = stacks.jQuery;var $ = jQuery;/*
2257 * jQuery Easing v1.3.2 - http://gsgd.co.uk/sandbox/jquery/easing/
2258 * Open source under the BSD License.
2259 * Copyright © 2008 George McGinley Smith
2260 * All rights reserved.
2261 * https://raw.github.com/gdsmith/jquery-easing/master/LICENSE
2262*/
2263(function(h){h.easing.jswing=h.easing.swing;h.extend(h.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return h.easing[h.easing.def](e,a,c,b,d)},easeInQuad:function(e,a,c,b,d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a+c:-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*a+1)+c},easeInOutCubic:function(e,a,c,b,d){return 1>
2264(a/=d/2)?b/2*a*a*a+c:b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a+c:-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){return 1>(a/=d/2)?b/2*a*a*a*a*a+c:b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,a,
2265c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},easeInExpo:function(e,a,c,b,d){return 0==a?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){return 0==a?c:a==d?c+b:1>(a/=d/2)?b/2*Math.pow(2,10*(a-1))+c:b/2*(-Math.pow(2,-10*--a)+2)+c},easeInCirc:function(e,a,c,b,d){return-b*
2266(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){return 1>(a/=d/2)?-b/2*(Math.sqrt(1-a*a)-1)+c:b/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(0==a)return c;if(1==(a/=d))return c+b;f||(f=.3*d);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return-(g*Math.pow(2,10*--a)*Math.sin(2*(a*d-e)*Math.PI/f))+c},easeOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(0==
2267a)return c;if(1==(a/=d))return c+b;f||(f=.3*d);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin(2*(a*d-e)*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(0==a)return c;if(2==(a/=d/2))return c+b;f||(f=.3*d*1.5);g<Math.abs(b)?(g=b,e=f/4):e=f/(2*Math.PI)*Math.asin(b/g);return 1>a?-.5*g*Math.pow(2,10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)+c:g*Math.pow(2,-10*--a)*Math.sin(2*(a*d-e)*Math.PI/f)*.5+b+c},easeInBack:function(e,a,c,b,d,f){void 0==
2268f&&(f=1.70158);return b*(a/=d)*a*((f+1)*a-f)+c},easeOutBack:function(e,a,c,b,d,f){void 0==f&&(f=1.70158);return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){void 0==f&&(f=1.70158);return 1>(a/=d/2)?b/2*a*a*(((f*=1.525)+1)*a-f)+c:b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,a,c,b,d){return b-h.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=d)<1/2.75?7.5625*b*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+.75)+c:a<2.5/2.75?b*(7.5625*
2269(a-=2.25/2.75)*a+.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+.984375)+c},easeInOutBounce:function(e,a,c,b,d){return a<d/2?.5*h.easing.easeInBounce(e,2*a,0,b,d)+c:.5*h.easing.easeOutBounce(e,2*a-d,0,b,d)+.5*b+c}})})(jQuery);
2270return stack;})(stacks.com_elixir_stacks_foundryBanner);
2271stacks.com_elixir_stacks_foundryMegaMenu = {};
2272stacks.com_elixir_stacks_foundryMegaMenu = (function(stack) {
2273var jQuery = stacks.jQuery;var $ = jQuery;// Sticky Plugin v1.0.4 for jQuery
2274// =============
2275// Author: Anthony Garand
2276// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
2277// Improvements by Leonardo C. Daronco (daronco)
2278// Created: 02/14/2011
2279// Date: 07/20/2015
2280// Website: http://stickyjs.com/
2281// Description: Makes an element on the page stick on the screen as you scroll
2282//              It will only set the 'top' and 'position' of your element, you
2283//              might need to adjust the width in some cases.
2284
2285(function (factory) {
2286    if (typeof define === 'function' && define.amd) {
2287        // AMD. Register as an anonymous module.
2288        define(['jquery'], factory);
2289    } else if (typeof module === 'object' && module.exports) {
2290        // Node/CommonJS
2291        module.exports = factory(require('jquery'));
2292    } else {
2293        // Browser globals
2294        factory(jQuery);
2295    }
2296}(function ($) {
2297    var slice = Array.prototype.slice; // save ref to original slice()
2298    var splice = Array.prototype.splice; // save ref to original slice()
2299
2300  var defaults = {
2301      topSpacing: 0,
2302      bottomSpacing: 0,
2303      className: 'is-sticky',
2304      wrapperClassName: 'sticky-wrapper',
2305      center: false,
2306      getWidthFrom: '',
2307      widthFromWrapper: true, // works only when .getWidthFrom is empty
2308      responsiveWidth: false,
2309      zIndex: 'auto'
2310    },
2311    $window = $(window),
2312    $document = $(document),
2313    sticked = [],
2314    windowHeight = $window.height(),
2315    scroller = function() {
2316      var scrollTop = $window.scrollTop(),
2317        documentHeight = $document.height(),
2318        dwh = documentHeight - windowHeight,
2319        extra = (scrollTop > dwh) ? dwh - scrollTop : 0;
2320
2321      for (var i = 0, l = sticked.length; i < l; i++) {
2322        var s = sticked[i],
2323          elementTop = s.stickyWrapper.offset().top,
2324          etse = elementTop - s.topSpacing - extra;
2325
2326        //update height in case of dynamic content
2327        s.stickyWrapper.css('height', s.stickyElement.outerHeight());
2328        s.stickyElement.css('transform', 'translate3d(0px, 0px, 0px)');
2329
2330        if (scrollTop <= etse) {
2331          if (s.currentTop !== null) {
2332            s.stickyElement
2333              .css({
2334                'width': '',
2335                'position': '',
2336                'top': '',
2337                'left': '',
2338                'right': '',
2339                'z-index': ''
2340              });
2341            s.stickyElement.parent().removeClass(s.className);
2342            s.stickyElement.trigger('sticky-end', [s]);
2343            s.currentTop = null;
2344          }
2345        }
2346        else {
2347          var newTop = documentHeight - s.stickyElement.outerHeight()
2348            - s.topSpacing - s.bottomSpacing - scrollTop - extra;
2349          if (newTop < 0) {
2350            newTop = newTop + s.topSpacing;
2351          } else {
2352            newTop = s.topSpacing;
2353          }
2354          if (s.currentTop !== newTop) {
2355            var newWidth;
2356            if (s.getWidthFrom) {
2357                newWidth = $(s.getWidthFrom).width() || null;
2358            } else if (s.widthFromWrapper) {
2359                newWidth = s.stickyWrapper.width();
2360            }
2361            if (newWidth == null) {
2362                newWidth = s.stickyElement.width();
2363            }
2364            s.stickyElement
2365              .css('width', newWidth)
2366              .css('position', 'fixed')
2367              .css('top', newTop)
2368              .css('left', '0')
2369              .css('right', '0')
2370              .css('z-index', s.zIndex);
2371
2372            s.stickyElement.parent().addClass(s.className);
2373
2374            if (s.currentTop === null) {
2375              s.stickyElement.trigger('sticky-start', [s]);
2376            } else {
2377              // sticky is started but it have to be repositioned
2378              s.stickyElement.trigger('sticky-update', [s]);
2379            }
2380
2381            if (s.currentTop === s.topSpacing && s.currentTop > newTop || s.currentTop === null && newTop < s.topSpacing) {
2382              // just reached bottom || just started to stick but bottom is already reached
2383              s.stickyElement.trigger('sticky-bottom-reached', [s]);
2384            } else if(s.currentTop !== null && newTop === s.topSpacing && s.currentTop < newTop) {
2385              // sticky is started && sticked at topSpacing && overflowing from top just finished
2386              s.stickyElement.trigger('sticky-bottom-unreached', [s]);
2387            }
2388
2389            s.currentTop = newTop;
2390          }
2391
2392          // Check if sticky has reached end of container and stop sticking
2393          var stickyWrapperContainer = s.stickyWrapper.parent();
2394          var unstick = (s.stickyElement.offset().top + s.stickyElement.outerHeight() >= stickyWrapperContainer.offset().top + stickyWrapperContainer.outerHeight()) && (s.stickyElement.offset().top < s.topSpacing);
2395
2396          if( unstick ) {
2397            s.stickyElement
2398              .css('position', 'relative')
2399              .css('top', '')
2400              .css('left', '')
2401              .css('right', '')
2402              .css('bottom', 0)
2403              .css('z-index', '');
2404          } else {
2405            s.stickyElement
2406              .css('position', 'fixed')
2407              .css('top', newTop)
2408              .css('left', '0')
2409              .css('right', '0')
2410              .css('bottom', '')
2411              .css('z-index', s.zIndex);
2412          }
2413        }
2414      }
2415    },
2416    resizer = function() {
2417      windowHeight = $window.height();
2418
2419      for (var i = 0, l = sticked.length; i < l; i++) {
2420        var s = sticked[i];
2421        var newWidth = null;
2422        if (s.getWidthFrom) {
2423            if (s.responsiveWidth) {
2424                newWidth = $(s.getWidthFrom).width();
2425            }
2426        } else if(s.widthFromWrapper) {
2427            newWidth = s.stickyWrapper.width();
2428        }
2429        if (newWidth != null) {
2430            s.stickyElement.css('width', newWidth);
2431        }
2432      }
2433
2434      scroller();
2435
2436    },
2437    methods = {
2438      init: function(options) {
2439        var o = $.extend({}, defaults, options);
2440        return this.each(function() {
2441          var stickyElement = $(this);
2442
2443          var stickyId = stickyElement.attr('id');
2444          var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName;
2445          var wrapper = $('<div></div>')
2446            .attr('id', wrapperId)
2447            .addClass(o.wrapperClassName);
2448
2449          stickyElement.wrapAll(function() {
2450            if ($(this).parent("#" + wrapperId).length == 0) {
2451                    return wrapper;
2452            }
2453});
2454
2455          var stickyWrapper = stickyElement.parent();
2456
2457          if (o.center) {
2458            stickyWrapper.css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"});
2459          }
2460
2461          if (stickyElement.css("float") === "right") {
2462            stickyElement.css({"float":"none"}).parent().css({"float":"right"});
2463          }
2464
2465          o.stickyElement = stickyElement;
2466          o.stickyWrapper = stickyWrapper;
2467          o.currentTop    = null;
2468
2469          sticked.push(o);
2470
2471          methods.setWrapperHeight(this);
2472          methods.setupChangeListeners(this);
2473        });
2474      },
2475
2476      setWrapperHeight: function(stickyElement) {
2477        var element = $(stickyElement);
2478        var stickyWrapper = element.parent();
2479        if (stickyWrapper) {
2480          stickyWrapper.css('height', element.outerHeight());
2481        }
2482      },
2483
2484      setupChangeListeners: function(stickyElement) {
2485        if (window.MutationObserver) {
2486          var mutationObserver = new window.MutationObserver(function(mutations) {
2487            if (mutations[0].addedNodes.length || mutations[0].removedNodes.length) {
2488              methods.setWrapperHeight(stickyElement);
2489            }
2490          });
2491          mutationObserver.observe(stickyElement, {subtree: true, childList: true});
2492        } else {
2493          if (window.addEventListener) {
2494            stickyElement.addEventListener('DOMNodeInserted', function() {
2495              methods.setWrapperHeight(stickyElement);
2496            }, false);
2497            stickyElement.addEventListener('DOMNodeRemoved', function() {
2498              methods.setWrapperHeight(stickyElement);
2499            }, false);
2500          } else if (window.attachEvent) {
2501            stickyElement.attachEvent('onDOMNodeInserted', function() {
2502              methods.setWrapperHeight(stickyElement);
2503            });
2504            stickyElement.attachEvent('onDOMNodeRemoved', function() {
2505              methods.setWrapperHeight(stickyElement);
2506            });
2507          }
2508        }
2509      },
2510      update: scroller,
2511      unstick: function(options) {
2512        return this.each(function() {
2513          var that = this;
2514          var unstickyElement = $(that);
2515
2516          var removeIdx = -1;
2517          var i = sticked.length;
2518          while (i-- > 0) {
2519            if (sticked[i].stickyElement.get(0) === that) {
2520                splice.call(sticked,i,1);
2521                removeIdx = i;
2522            }
2523          }
2524          if(removeIdx !== -1) {
2525            unstickyElement.unwrap();
2526            unstickyElement
2527              .css({
2528                'width': '',
2529                'position': '',
2530                'top': '',
2531                'left': '',
2532                'right': '',
2533                'float': '',
2534                'z-index': ''
2535              });
2536          }
2537        });
2538      }
2539    };
2540
2541  // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer):
2542  if (window.addEventListener) {
2543    window.addEventListener('scroll', scroller, false);
2544    window.addEventListener('resize', resizer, false);
2545  } else if (window.attachEvent) {
2546    window.attachEvent('onscroll', scroller);
2547    window.attachEvent('onresize', resizer);
2548  }
2549
2550  $.fn.sticky = function(method) {
2551    if (methods[method]) {
2552      return methods[method].apply(this, slice.call(arguments, 1));
2553    } else if (typeof method === 'object' || !method ) {
2554      return methods.init.apply( this, arguments );
2555    } else {
2556      $.error('Method ' + method + ' does not exist on jQuery.sticky');
2557    }
2558  };
2559
2560  $.fn.unstick = function(method) {
2561    if (methods[method]) {
2562      return methods[method].apply(this, slice.call(arguments, 1));
2563    } else if (typeof method === 'object' || !method ) {
2564      return methods.unstick.apply( this, arguments );
2565    } else {
2566      $.error('Method ' + method + ' does not exist on jQuery.sticky');
2567    }
2568  };
2569  $(function() {
2570    setTimeout(scroller, 0);
2571  });
2572}));
2573
2574return stack;}
2574)(stacks.com_elixir_stacks_foundryMegaMenu);
2575stacks.stacks_in_970_2 = {};
2576stacks.stacks_in_970_2 = (function(stack) {
2577var jQuery = stacks.jQuery;var $ = jQuery;// Set Language for Document
2578document.documentElement.lang = "en";
2579
2580$(document).ready(function(){
2581  
2582    $('body').addClass('foundry-typeface-one');
2583  
2584
2585  
2586    $('body').addClass('foundry-typeface-two-page-wide-headers');
2587  
2588});
2589
2590$.fn.elementRealHeight = function () {
2591   $clone = this.clone()
2592       .css("visibility","hidden")
2593       .appendTo($('body'));
2594   var $height = $clone.outerHeight();
2595   $clone.remove();
2596   return $height;
2597 };
2598
2599 $.fn.elementRealWidth = function () {
2600    $clone = this.clone()
2601        .css("visibility","hidden")
2602        .appendTo($('body'));
2603    var $width = $clone.outerWidth();
2604    $clone.remove();
2605    return $width;
2606  };
2607
2608
2609  // Handles offsets for anchor tags
2610  // (function(document, history, location) {
2611  //   var HISTORY_SUPPORT = !!(history && history.pushState);
2612  //
2613  //   var anchorScrolls = {
2614  //     ANCHOR_REGEX: /^#[^ ]+$/,
2615  //     OFFSET_HEIGHT_PX: 0,
2616  //
2617  //     /**
2618  //      * Establish events, and fix initial scroll position if a hash is provided.
2619  //      */
2620  //     init: function() {
2621  //       this.scrollToCurrent();
2622  //       window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
2623  //       document.body.addEventListener('click', this.delegateAnchors.bind(this));
2624  //     },
2625  //
2626  //     /**
2627  //      * Return the offset amount to deduct from the normal scroll position.
2628  //      * Modify as appropriate to allow for dynamic calculations
2629  //      */
2630  //     getFixedOffset: function() {
2631  //       return this.OFFSET_HEIGHT_PX;
2632  //     },
2633  //
2634  //     /**
2635  //      * If the provided href is an anchor which resolves to an element on the
2636  //      * page, scroll to it.
2637  //      * @param  {String} href
2638  //      * @return {Boolean} - Was the href an anchor.
2639  //      */
2640  //     scrollIfAnchor: function(href, pushToHistory) {
2641  //       var match, rect, anchorOffset;
2642  //
2643  //       if(!this.ANCHOR_REGEX.test(href)) {
2644  //         return false;
2645  //       }
2646  //
2647  //       match = document.getElementById(href.slice(1));
2648  //
2649  //       if(match) {
2650  //         rect = match.getBoundingClientRect();
2651  //         anchorOffset = window.pageYOffset + rect.top - this.getFixedOffset();
2652  //         window.scrollTo(window.pageXOffset, anchorOffset);
2653  //
2654  //         // Add the state to history as-per normal anchor links
2655  //         if(HISTORY_SUPPORT && pushToHistory) {
2656  //           history.pushState({}, document.title, location.pathname + href);
2657  //         }
2658  //       }
2659  //
2660  //       return !!match;
2661  //     },
2662  //
2663  //     /**
2664  //      * Attempt to scroll to the current location's hash.
2665  //      */
2666  //     scrollToCurrent: function() {
2667  //       this.scrollIfAnchor(window.location.hash);
2668  //     },
2669  //
2670  //     /**
2671  //      * If the click event's target was an anchor, fix the scroll position.
2672  //      */
2673  //     delegateAnchors: function(e) {
2674  //       var elem = e.target;
2675  //
2676  //       if(
2677  //         elem.nodeName === 'A' &&
2678  //         this.scrollIfAnchor(elem.getAttribute('href'), true)
2679  //       ) {
2680  //         e.preventDefault();
2681  //       }
2682  //     }
2683  //   };
2684  //
2685  //   window.addEventListener(
2686  //     'DOMContentLoaded', anchorScrolls.init.bind(anchorScrolls)
2687  //   );
2688  // })(window.document, window.history, window.location);
2689
2690return stack;})(stacks.stacks_in_970_2);
2691stacks.stacks_in_971_2 = {};
2692stacks.stacks_in_971_2 = (function(stack) {
2693var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2694});
2695
2696return stack;})(stacks.stacks_in_971_2);
2697stacks.stacks_in_972_2 = {};
2698stacks.stacks_in_972_2 = (function(stack) {
2699var jQuery = stacks.jQuery;var $ = jQuery;
2700
2701return stack;})(stacks.stacks_in_972_2);
2702stacks.stacks_in_972_20 = {};
2703stacks.stacks_in_972_20 = (function(stack) {
2704var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2705	
2706});
2707return stack;})(stacks.stacks_in_972_20);
2708stacks.stacks_in_972_22 = {};
2709stacks.stacks_in_972_22 = (function(stack) {
2710var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2711	
2712});
2713return stack;})(stacks.stacks_in_972_22);
2714stacks.stacks_in_972_13 = {};
2715stacks.stacks_in_972_13 = (function(stack) {
2716var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2717	
2718});
2719return stack;})(stacks.stacks_in_972_13);
2720stacks.stacks_in_972_26 = {};
2721stacks.stacks_in_972_26 = (function(stack) {
2722var jQuery = stacks.jQuery;var $ = jQuery;function megaMenu() {
2723  	$('#stacks_in_972_26 .foundry-mega-menu').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
2724  	$('.stacks_top').css({'overflow' : 'visible'});
2725
2726    $('#stacks_in_972_26 .drop-down-container').addClass('animated fadeIn');
2727
2728    
2729
2730    
2731      $('#stacks_in_972_26 .nav > li.parent').hover(function(){
2732        $(this).find("> .drop-down-container").toggleClass('show-drop-down');
2733        $("#stacks_in_972_26 .nav > li.toggleClosedAgain").removeClass('toggleClosedAgain').find(".drop-down-container").toggleClass('show-drop-down');
2734
2735      });
2736    
2737
2738    // Show and hide navigation on Mobile breakpoint
2739    $('#stacks_in_972_26 .foundry-mega-menu-toggle').click(function(){
2740      $('#stacks_in_972_26 .foundry-mega-menu').slideToggle(300);
2741    });
2742
2743
2744      $('#stacks_in_972_26 [class*="-anchor-scroll"]').click(function(){
2745        if ($('#stacks_in_972_26 .foundry-mega-menu-toggle').is(":visible")) {
2746          $('#stacks_in_972_26 .foundry-mega-menu').slideToggle(300);
2747        }
2748      });
2749
2750  
2751    
2752    // Auto detect active (.selected) page
2753    // Site _MUST_ use Tidy Links for this to be used.
2754    $('#stacks_in_972_26 .nav li a').each(function (index){
2755      if ($(this).attr('href') == "./") {
2756        $(this).parent().addClass('selected');
2757        $(this).closest('li.parent').addClass('selected');
2758      }
2759    });
2760    
2761
2762    //
2763  	// Handles pairing navigation with parent banner
2764  	//
2765  	
2766
2767}
2768
2769  
2770
2771  $(document).ready(function(){
2772    megaMenu();
2773  });
2774
2775
2776return stack;})(stacks.stacks_in_972_26);
2777stacks.stacks_in_347 = {};
2778stacks.stacks_in_347 = (function(stack) {
2779var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2780
2781
2782
2783
2784
2785
2786
2787
2788	// Load parallax effect
2789	
2790
2791});
2792
2793
2794// $(window).load(function(){
2795// });
2796
2797return stack;})(stacks.stacks_in_347);
2798stacks.stacks_in_356 = {};
2799stacks.stacks_in_356 = (function(stack) {
2800var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2801	
2802		$('#stacks_in_356 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
2803		$('.stacks_top').css({'overflow' : 'visible'});
2804	
2805});
2806
2807return stack;})(stacks.stacks_in_356);
2808stacks.stacks_in_1141 = {};
2809stacks.stacks_in_1141 = (function(stack) {
2810var jQuery = stacks.jQuery;var $ = jQuery;var wow = new WOW(
2811  {
2812    boxClass:     'stacks_in_1141_foundry_reveal',      // animated element css class (default is wow)
2813    animateClass: 'animated', // animation css class (default is animated)
2814    offset:       100,          // distance to the element when triggering the animation (default is 0)
2815    
2816    mobile:       true,       // trigger animations on mobile devices (default is true)
2817    
2818  }
2819);
2820wow.init();
2821
2822$(document).ready(function(){
2823	$('#stacks_in_1141 .foundry_reveal').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
2824	$('.stacks_top').css({'overflow' : 'visible'});
2825});
2826
2827return stack;})(stacks.stacks_in_1141);
2828stacks.stacks_in_365 = {};
2829stacks.stacks_in_365 = (function(stack) {
2830var jQuery = stacks.jQuery;var $ = jQuery;(function($) {
2831  $.fn.isOnScreen = function(x_offset, y_offset) {
2832    if(x_offset == null || typeof x_offset == 'undefined') x_offset = 1;
2833    if(y_offset == null || typeof y_offset == 'undefined') y_offset = 1;
2834
2835    var win = $(window),
2836        viewport = {
2837          top : win.scrollTop(),
2838          left : win.scrollLeft()
2839        },
2840        height = this.outerHeight(),
2841        width = this.outerWidth(),
2842        bounds = this.offset(),
2843        visible,
2844        deltas;
2845    
2846    viewport.right = viewport.left + win.width();
2847    viewport.bottom = viewport.top + win.height();
2848
2849    if(!width || !height) return false;
2850
2851    bounds.right = bounds.left + width;
2852    bounds.bottom = bounds.top + height;
2853
2854    visible = (
2855      !(viewport.right < bounds.left || 
2856      viewport.left > bounds.right || 
2857      viewport.bottom < bounds.top || 
2858      viewport.top > bounds.bottom)
2859    );
2860
2861    if(!visible) return false;
2862
2863    deltas = {
2864      top:    Math.min(1, (bounds.bottom - viewport.top) / height),
2865      bottom: Math.min(1, (viewport.bottom - bounds.top) / height),
2866      left:   Math.min(1, (bounds.right - viewport.left) / width),
2867      right:  Math.min(1, (viewport.right - bounds.left) / width)
2868    };
2869
2870    return (deltas.left * deltas.right) >= x_offset && (deltas.top * deltas.bottom) >= y_offset;
2871  };
2872})(jQuery);
2873
2874
2875function animateDivider () {
2876  if ($('#stacks_in_365 .animated-divider').isOnScreen()) {
2877
2878    if ($('#stacks_in_365 .animated-divider').hasClass('anim-complete')) {
2879
2880    } else {
2881      var tween = TweenMax.to($('#stacks_in_365 .animated-divider'), 3.00, { delay: 0.50, startAt:{ opacity:0, width: "30%" }, opacity:1, width: "60%", ease:  Back.easeOut.config(1.7) },0);
2882      $('#stacks_in_365 .animated-divider').addClass('anim-complete');
2883    }
2884
2885  } else {
2886    if ($('#stacks_in_365 .animated-divider').hasClass('anim-complete')) {
2887      $('#stacks_in_365 .animated-divider').removeClass('anim-complete').css({'opacity' : '0'});
2888    }
2889  }
2890}
2891
2892$(document).ready(function(){
2893  animateDivider();
2894});
2895
2896$(window).scroll(function(){
2897  animateDivider();
2898});
2899
2900return stack;})(stacks.stacks_in_365);
2901stacks.stacks_in_973 = {};
2902stacks.stacks_in_973 = (function(stack) {
2903var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2904
2905});
2906
2907return stack;})(stacks.stacks_in_973);
2908stacks.stacks_in_1342 = {};
2909stacks.stacks_in_1342 = (function(stack) {
2910var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2911	$('#stacks_in_1342 > .anchor').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
2912	$('.stacks_top').css({'overflow' : 'visible'});
2913});
2914
2915return stack;})(stacks.stacks_in_1342);
2916stacks.stacks_in_1159 = {};
2917stacks.stacks_in_1159 = (function(stack) {
2918var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2919	
2920		$('#stacks_in_1159 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
2921		$('.stacks_top').css({'overflow' : 'visible'});
2922	
2923});
2924
2925return stack;})(stacks.stacks_in_1159);
2926stacks.stacks_in_1154 = {};
2927stacks.stacks_in_1154 = (function(stack) {
2928var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2929	$('#stacks_in_1154 h5').parentsUntil('.stacks_top').css('overflow', 'visible');	
2930});
2931
2932
2933
2934return stack;})(stacks.stacks_in_1154);
2935stacks.stacks_in_1179 = {};
2936stacks.stacks_in_1179 = (function(stack) {
2937var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2938  $('#stacks_in_1179 *').removeClass('stacks_out').removeClass('stacks_in');
2939});
2940
2941return stack;})(stacks.stacks_in_1179);
2942stacks.stacks_in_1186 = {};
2943stacks.stacks_in_1186 = (function(stack) {
2944var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2945  
2946});
2947
2948return stack;})(stacks.stacks_in_1186);
2949stacks.stacks_in_1242 = {};
2950stacks.stacks_in_1242 = (function(stack) {
2951var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() {
2952  
2953});
2954
2955return stack;})(stacks.stacks_in_1242);
2956stacks.stacks_in_1059 = {};
2957stacks.stacks_in_1059 = (function(stack) {
2958var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2959	
2960		$('#stacks_in_1059 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
2961		$('.stacks_top').css({'overflow' : 'visible'});
2962	
2963});
2964
2965return stack;})(stacks.stacks_in_1059);
2966stacks.stacks_in_1065 = {};
2967stacks.stacks_in_1065 = (function(stack) {
2968var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2969
2970    $(function() {
2971        $('.foundry-eq-group-Two').matchHeight({
2972            byRow: true,
2973        });
2974    });
2975
2976});
2977
2978
2979
2980$(window).load(function () {
2981    $.fn.matchHeight._update();
2982});
2983
2984
2985
2986return stack;})(stacks.stacks_in_1065);
2987stacks.stacks_in_1067 = {};
2988stacks.stacks_in_1067 = (function(stack) {
2989var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
2990
2991      
2992});
2993return stack;})(stacks.stacks_in_1067);
2994stacks.stacks_in_1076 = {};
2995stacks.stacks_in_1076 = (function(stack) {
2996var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() {
2997	
2998});
2999
3000return stack;})(stacks.stacks_in_1076);
3001stacks.stacks_in_1084 = {};
3002stacks.stacks_in_1084 = (function(stack) {
3003var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3004	
3005});
3006return stack;})(stacks.stacks_in_1084);
3007stacks.stacks_in_1093 = {};
3008stacks.stacks_in_1093 = (function(stack) {
3009var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() {
3010	
3011});
3012
3013return stack;})(stacks.stacks_in_1093);
3014stacks.stacks_in_1101 = {};
3015stacks.stacks_in_1101 = (function(stack) {
3016var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3017	
3018});
3019return stack;})(stacks.stacks_in_1101);
3020stacks.stacks_in_1110 = {};
3021stacks.stacks_in_1110 = (function(stack) {
3022var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function() {
3023	
3024});
3025
3026return stack;})(stacks.stacks_in_1110);
3027stacks.stacks_in_1118 = {};
3028stacks.stacks_in_1118 = (function(stack) {
3029var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3030	
3031});
3032return stack;})(stacks.stacks_in_1118);
3033stacks.stacks_in_1133 = {};
3034stacks.stacks_in_1133 = (function(stack) {
3035var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3036	
3037		$('#stacks_in_1133 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
3038		$('.stacks_top').css({'overflow' : 'visible'});
3039	
3040});
3041
3042return stack;})(stacks.stacks_in_1133);
3043stacks.stacks_in_1353_4 = {};
3044stacks.stacks_in_1353_4 = (function(stack) {
3045var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3046	
3047		$('#stacks_in_1353_4 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
3048		$('.stacks_top').css({'overflow' : 'visible'});
3049	
3050});
3051
3052return stack;})(stacks.stacks_in_1353_4);
3053stacks.stacks_in_1353_6 = {};
3054stacks.stacks_in_1353_6 = (function(stack) {
3055var jQuery = stacks.jQuery;var $ = jQuery;var wow = new WOW(
3056  {
3057    boxClass:     'stacks_in_1353_6_foundry_reveal',      // animated element css class (default is wow)
3058    animateClass: 'animated', // animation css class (default is animated)
3059    offset:       100,          // distance to the element when triggering the animation (default is 0)
3060    
3061    mobile:       true,       // trigger animations on mobile devices (default is true)
3062    
3063  }
3064);
3065wow.init();
3066
3067$(document).ready(function(){
3068	$('#stacks_in_1353_6 .foundry_reveal').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
3069	$('.stacks_top').css({'overflow' : 'visible'});
3070});
3071
3072return stack;})(stacks.stacks_in_1353_6);
3073stacks.stacks_in_1353_10 = {};
3074stacks.stacks_in_1353_10 = (function(stack) {
3075var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3076	
3077	$('#stacks_in_1353_10 .btn').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
3078	
3079});
3080return stack;})(stacks.stacks_in_1353_10);
3081stacks.stacks_in_944 = {};
3082stacks.stacks_in_944 = (function(stack) {
3083var jQuery = stacks.jQuery;var $ = jQuery;var wow = new WOW(
3084  {
3085    boxClass:     'stacks_in_944_foundry_reveal',      // animated element css class (default is wow)
3086    animateClass: 'animated', // animation css class (default is animated)
3087    offset:       100,          // distance to the element when triggering the animation (default is 0)
3088    
3089    mobile:       true,       // trigger animations on mobile devices (default is true)
3090    
3091  }
3092);
3093wow.init();
3094
3095$(document).ready(function(){
3096	$('#stacks_in_944 .foundry_reveal').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
3097	$('.stacks_top').css({'overflow' : 'visible'});
3098});
3099
3100return stack;})(stacks.stacks_in_944);
3101stacks.stacks_in_948 = {};
3102stacks.stacks_in_948 = (function(stack) {
3103var jQuery = stacks.jQuery;var $ = jQuery;var wow = new WOW(
3104  {
3105    boxClass:     'stacks_in_948_foundry_reveal',      // animated element css class (default is wow)
3106    animateClass: 'animated', // animation css class (default is animated)
3107    offset:       100,          // distance to the element when triggering the animation (default is 0)
3108    
3109    mobile:       true,       // trigger animations on mobile devices (default is true)
3110    
3111  }
3112);
3113wow.init();
3114
3115$(document).ready(function(){
3116	$('#stacks_in_948 .foundry_reveal').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
3117	$('.stacks_top').css({'overflow' : 'visible'});
3118});
3119
3120return stack;})(stacks.stacks_in_948);
3121stacks.stacks_in_952 = {};
3122stacks.stacks_in_952 = (function(stack) {
3123var jQuery = stacks.jQuery;var $ = jQuery;var wow = new WOW(
3124  {
3125    boxClass:     'stacks_in_952_foundry_reveal',      // animated element css class (default is wow)
3126    animateClass: 'animated', // animation css class (default is animated)
3127    offset:       100,          // distance to the element when triggering the animation (default is 0)
3128    
3129    mobile:       true,       // trigger animations on mobile devices (default is true)
3130    
3131  }
3132);
3133wow.init();
3134
3135$(document).ready(function(){
3136	$('#stacks_in_952 .foundry_reveal').parentsUntil('.stacks_top').css({'overflow' : 'visible'});
3137	$('.stacks_top').css({'overflow' : 'visible'});
3138});
3139
3140return stack;})(stacks.stacks_in_952);
3141stacks.stacks_in_966 = {};
3142stacks.stacks_in_966 = (function(stack) {
3143var jQuery = stacks.jQuery;var $ = jQuery;
3144$(document).ready(function() {
3145
3146    $('#scrollToTopButton').hide().prependTo('.blur_wrapper');
3147
3148    // Scroll to top behavior
3149    $('#scrollToTopButton').click(function() {
3150      $('html, body').animate({ scrollTop: 0 }, 600);
3151    });
3152
3153    var startY = 400;
3154        $(window).scroll(function(){
3155        checkY();
3156    });
3157
3158    function checkY(){
3159        if( $(window).scrollTop() > startY ){
3160            $('#scrollToTopButton').show().removeClass('bounceOutDown').addClass('bounceInUp');
3161        } else {
3162            $('#scrollToTopButton').removeClass('bounceInUp').addClass('bounceOutDown');
3163        }
3164    }
3165
3166});
3167
3168return stack;})(stacks.stacks_in_966);
3169stacks.stacks_in_1139_2 = {};
3170stacks.stacks_in_1139_2 = (function(stack) {
3171var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3172	
3173		$('#stacks_in_1139_2 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
3174		$('.stacks_top').css({'overflow' : 'visible'});
3175	
3176});
3177
3178return stack;})(stacks.stacks_in_1139_2);
3179stacks.stacks_in_1139_5 = {};
3180stacks.stacks_in_1139_5 = (function(stack) {
3181var jQuery = stacks.jQuery;var $ = jQuery;$(document).ready(function(){
3182	
3183		$('#stacks_in_1139_5 > .container').parentsUntil('.stacks_top').css('overflow', 'visible');
3184		$('.stacks_top').css({'overflow' : 'visible'});
3185	
3186});
3187
3188return stack;})(stacks.stacks_in_1139_5);

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.